From e386cfd9bf5cb87e959723b78ca22e14806cc51c Mon Sep 17 00:00:00 2001 From: RomainzZ Date: Sat, 6 Jul 2024 05:16:16 +0800 Subject: [PATCH] Lamp Bloom, Exposure and Glare (#24534) * Light Update * Not failing tests I hope * Whitespace Removal * Tweaking here and there * Merge Conflict Fix * Rebuild TGUI Bundle to Fix Merge Conflict * Settings are now in "Game Preferences" too * ColorMatrix formatting and removal of unused procs * A little mistake on matrices * A little mistake x2 (last I hope) * Moving Glare under every other effect, tweaking values, playing with blending * Update TGUI Bundle for Merge Conflict * Apply suggestions from code reviews * Fuck it, it just works * No tabs cool * Remove unused * Am I retarded * We better return * Whitespace we need * oh * New SQL update version * Missing comma fix and recompiled tgui.bundle * Updating SQL version in misc_defines and config * Remove datum in holder * BloomEdit empty lines removal * No more unneeded functions calls * Tgui.bundle rebuild * SQL Changes * SQL Version = 56 now * Documentation and some formatting * tgui.bundle.js rebuild * Remove unused layers and variables * Allow cameras to render backdrops * Possible runtime issue fix * Remove "baked" bloom from the lamps * Revert the "remove". Make it low on alpha channel * Shuttle rotation light update fix * We don't need this * Possible runtime issue fix x2 * tgui.bundle.js update * tgui.bundle.js update * tgui.bundle.js update * Revert config.toml changes * Revert the revertion of config.toml changes * Bring that config changes back! * Entry added * tgui.bundle.js update * Prettier possible fix (?) * Runtime fix (and broken tubes now have light after reinstalling them) * config update --------- Co-authored-by: Mikhail Dzianishchyts --- code/__DEFINES/layers.dm | 51 +++--- code/__DEFINES/preferences_defines.dm | 18 +- code/__HELPERS/filters.dm | 10 ++ code/__HELPERS/global_lists.dm | 2 +- code/__HELPERS/matrices.dm | 113 ++++++++++++ code/_onclick/hud/plane_master.dm | 79 +++++++++ code/_onclick/hud/plane_master_controller.dm | 12 +- .../configuration/configuration_core.dm | 4 + .../lighting_effects_configuration.dm | 29 ++++ code/game/atoms.dm | 11 ++ .../game/machinery/computer/camera_console.dm | 14 +- code/modules/admin/admin_verbs.dm | 3 +- code/modules/admin/verbs/bloom_edit.dm | 71 ++++++++ .../login_processing/10-load_preferences.dm | 2 + .../client/preference/link_processing.dm | 17 +- code/modules/client/preference/preferences.dm | 28 ++- .../client/preference/preferences_mysql.dm | 38 ++-- .../client/preference/preferences_toggles.dm | 80 +++++++++ code/modules/lighting/lighting_atom.dm | 45 +++++ code/modules/lighting/lighting_source.dm | 3 + code/modules/power/lights.dm | 5 + config/example/config.toml | 25 +++ icons/effects/exposures.dmi | Bin 0 -> 3719 bytes icons/obj/lamps.dmi | Bin 0 -> 922 bytes icons/obj/lighting.dmi | Bin 92701 -> 92321 bytes paradise.dme | 2 + tgui/packages/tgui/interfaces/BloomEdit.js | 162 ++++++++++++++++++ tgui/public/tgui.bundle.js | 4 +- 28 files changed, 774 insertions(+), 54 deletions(-) create mode 100644 code/controllers/configuration/sections/lighting_effects_configuration.dm create mode 100644 code/modules/admin/verbs/bloom_edit.dm create mode 100644 icons/effects/exposures.dmi create mode 100644 icons/obj/lamps.dmi create mode 100644 tgui/packages/tgui/interfaces/BloomEdit.js diff --git a/code/__DEFINES/layers.dm b/code/__DEFINES/layers.dm index bdd5ac8e110..5b460ff9340 100644 --- a/code/__DEFINES/layers.dm +++ b/code/__DEFINES/layers.dm @@ -110,37 +110,44 @@ #define LIGHTING_PLANE 15 #define LIGHTING_LAYER 15 -#define RAD_TEXT_LAYER 15.1 +#define LIGHTING_LAMPS_GLARE 16 // Light glare (optional setting) +#define LIGHTING_EXPOSURE_PLANE 17 // Light sources "cones" +#define LIGHTING_LAMPS_SELFGLOW 18 // Light sources glow (lamps, doors overlay, etc.) +#define LIGHTING_LAMPS_PLANE 19 // Light sources themselves (lamps, screens, etc.) -#define ABOVE_LIGHTING_PLANE 16 -#define ABOVE_LIGHTING_LAYER 16 +#define LIGHTING_LAMPS_RENDER_TARGET "*LIGHTING_LAMPS_RENDER_TARGET" -#define FLOOR_OPENSPACE_PLANE 17 -#define OPENSPACE_LAYER 17 +#define RAD_TEXT_LAYER 19.1 -#define BYOND_LIGHTING_PLANE 18 -#define BYOND_LIGHTING_LAYER 18 +#define ABOVE_LIGHTING_PLANE 20 +#define ABOVE_LIGHTING_LAYER 20 -#define CAMERA_STATIC_PLANE 19 -#define CAMERA_STATIC_LAYER 19 +#define FLOOR_OPENSPACE_PLANE 21 +#define OPENSPACE_LAYER 21 + +#define BYOND_LIGHTING_PLANE 22 +#define BYOND_LIGHTING_LAYER 22 + +#define CAMERA_STATIC_PLANE 23 +#define CAMERA_STATIC_LAYER 23 //HUD layer defines -#define FULLSCREEN_PLANE 20 -#define FLASH_LAYER 20 -#define FULLSCREEN_LAYER 20.1 -#define UI_DAMAGE_LAYER 20.2 -#define BLIND_LAYER 20.3 -#define CRIT_LAYER 20.4 -#define CURSE_LAYER 20.5 +#define FULLSCREEN_PLANE 24 +#define FLASH_LAYER 24 +#define FULLSCREEN_LAYER 24.1 +#define UI_DAMAGE_LAYER 24.2 +#define BLIND_LAYER 24.3 +#define CRIT_LAYER 24.4 +#define CURSE_LAYER 24.5 -#define HUD_PLANE 21 -#define HUD_LAYER 21 -#define ABOVE_HUD_PLANE 22 -#define ABOVE_HUD_LAYER 22 +#define HUD_PLANE 25 +#define HUD_LAYER 25 +#define ABOVE_HUD_PLANE 26 +#define ABOVE_HUD_LAYER 26 -#define SPLASHSCREEN_LAYER 23 -#define SPLASHSCREEN_PLANE 23 +#define SPLASHSCREEN_LAYER 27 +#define SPLASHSCREEN_PLANE 27 #define HUD_PLANE_BUILDMODE 30 diff --git a/code/__DEFINES/preferences_defines.dm b/code/__DEFINES/preferences_defines.dm index 162df1bb973..f4fc5baecb5 100644 --- a/code/__DEFINES/preferences_defines.dm +++ b/code/__DEFINES/preferences_defines.dm @@ -13,6 +13,12 @@ #define SOUND_DEFAULT (SOUND_ADMINHELP|SOUND_MIDI|SOUND_AMBIENCE|SOUND_LOBBY|SOUND_HEARTBEAT|SOUND_BUZZ|SOUND_INSTRUMENTS|SOUND_MENTORHELP|SOUND_DISCO|SOUND_AI_VOICE|SOUND_PRAYERNOTIFY) +#define LIGHT_NEW_LIGHTING (1<<0) +#define LIGHT_EXPOSURE (1<<1) +#define LIGHT_GLARE (1<<2) + +#define LIGHT_DEFAULT (LIGHT_NEW_LIGHTING|LIGHT_EXPOSURE|LIGHT_GLARE) + #define PREFTOGGLE_CHAT_OOC (1<<0) #define PREFTOGGLE_CHAT_DEAD (1<<1) #define PREFTOGGLE_CHAT_GHOSTEARS (1<<2) @@ -92,10 +98,12 @@ #define PREFTOGGLE_SPECIAL 0 /// Interacts with the sound bitflag #define PREFTOGGLE_SOUND 1 +/// Interacts with the light bitflag +#define PREFTOGGLE_LIGHT 2 /// Interacts with the toggles bitflag -#define PREFTOGGLE_TOGGLE1 2 +#define PREFTOGGLE_TOGGLE1 3 /// Interacts with the toggles2 bitflag -#define PREFTOGGLE_TOGGLE2 3 +#define PREFTOGGLE_TOGGLE2 4 // Admin attack logs filter system, see /proc/add_attack_logs and /proc/msg_admin_attack @@ -121,6 +129,12 @@ #define EXP_DEPT_TYPE_LIST list(EXP_TYPE_SUPPLY, EXP_TYPE_SERVICE, EXP_TYPE_MEDICAL, EXP_TYPE_ENGINEERING, EXP_TYPE_SCIENCE, EXP_TYPE_SECURITY, EXP_TYPE_COMMAND, EXP_TYPE_SILICON, EXP_TYPE_SPECIAL, EXP_TYPE_GHOST) +// Defines for the glow level preference for the lighting. +#define GLOW_HIGH 0 +#define GLOW_MED 1 // Default. +#define GLOW_LOW 2 +#define GLOW_DISABLE 3 + // Defines just for parallax because its levels make storing it in the regular prefs a pain in the ass // These dont need to be bitflags because there isnt going to be more than one at a time of these active // But its gonna piss off my OCD if it isnt bitflags, so deal with it, -affected diff --git a/code/__HELPERS/filters.dm b/code/__HELPERS/filters.dm index 9550f4c9bfc..c086658a614 100644 --- a/code/__HELPERS/filters.dm +++ b/code/__HELPERS/filters.dm @@ -321,3 +321,13 @@ GLOBAL_LIST_INIT(master_filter_info, list( /atom/proc/ray_filter_helper(_priority = 1, _size = 40, _color = "#FFFFFF", _factor = 6, _density = 20, _y = 0) add_filter(name = "ray", priority = _priority, params = list(type = "rays", size = _size, color = _color , factor = _factor, density = _density, y = _y)) +/proc/bloom_filter(threshold, size, offset, alpha) + . = list("type" = "bloom") + if(!isnull(threshold)) + .["threshold"] = threshold + if(!isnull(size)) + .["size"] = size + if(!isnull(offset)) + .["offset"] = offset + if(!isnull(alpha)) + .["alpha"] = alpha diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index 174ecddda53..50618189a48 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -142,7 +142,7 @@ for(var/path in subtypesof(/datum/preference_toggle)) var/datum/preference_toggle/pref_toggle = path if(initial(pref_toggle.name)) - GLOB.preference_toggles += new path() + GLOB.preference_toggles[path] = new path() for(var/path in subtypesof(/datum/objective)) var/datum/objective/O = path diff --git a/code/__HELPERS/matrices.dm b/code/__HELPERS/matrices.dm index e77b730404a..08a9967b7c1 100644 --- a/code/__HELPERS/matrices.dm +++ b/code/__HELPERS/matrices.dm @@ -1,3 +1,8 @@ +// Brightness (Luminance) of RGB on grayscale. Used for saturation matrix +#define LUM_R 0.3086 // or 0.2125 +#define LUM_G 0.6094 // or 0.7154 +#define LUM_B 0.0820 // or 0.0721 + /matrix/proc/TurnTo(old_angle, new_angle) . = new_angle - old_angle Turn(.) //BYOND handles cases such as -270, 360, 540 etc. DOES NOT HANDLE 180 TURNS WELL, THEY TWEEN AND LOOK LIKE SHIT @@ -63,3 +68,111 @@ //The Y pixel offset of this matrix /matrix/proc/get_y_shift() . = f + +/// A color matrix allows us to set the color of an atom in a list form, thus allowing us to change color in more flexible ways. For example, we can set the brightness and contrast of the bloom and exposure of lamps +/datum/color_matrix + var/list/matrix + +/// Value can be color as text (e.g. "#735184") that will set matrix to be the same color / number that will set the saturation of matrix / the color list itself, contrast as number, brightness as number +/datum/color_matrix/New(value, contrast = 1, brightness = null) + ..() + if(istext(value)) + set_color(value, contrast, brightness) + else if(isnum(value)) + set_saturation(value, contrast, brightness) + else + matrix = value + +/datum/color_matrix/proc/reset() + matrix = list(1, 0, 0, + 0, 1, 0, + 0, 0, 1) + +/datum/color_matrix/proc/get(contrast = 1) + var/list/mat = matrix + mat = mat.Copy() + + for(var/i = 1 to min(length(mat), 12)) + mat[i] *= contrast + return mat + +/datum/color_matrix/proc/set_saturation(saturation, contrast = 1, brightness = null) + var/r_adjustment = (1 - saturation) * LUM_R + var/g_adjustment = (1 - saturation) * LUM_G + var/b_adjustment = (1 - saturation) * LUM_B + + matrix = list(contrast * (r_adjustment + saturation), contrast * (r_adjustment), contrast * (r_adjustment), + contrast * (g_adjustment), contrast * (g_adjustment + saturation), contrast * (g_adjustment), + contrast * (b_adjustment), contrast * (b_adjustment), contrast * (b_adjustment + saturation)) + set_brightness(brightness) + +/datum/color_matrix/proc/set_brightness(brightness) + if(isnull(brightness)) + return + + if(!matrix) + reset() + + var/matrix_length = length(matrix) + + // Here we have CCM matrix of type: + // | rr rg rb | + // | gr gg gb | + // | br bg bb | + // with no brightness row, just append it. + if(matrix_length == 9) + matrix += list(brightness, brightness, brightness) + return + + // Here we have CCM matrix of type: + // | rr rg rb ra | + // | gr gg gb ga | + // | br bg bb ba | + // | ar ag ab aa | + // with no brightness row, just append it. + if(matrix_length == 16) + matrix += list(brightness, brightness, brightness, 0) + return + + // We already have brightness row, just override. + if(matrix_length == 12) + for(var/i = matrix_length to matrix_length - 3 step -1) + matrix[i] = brightness + return + + // Just brightness matrix, override. + if(matrix_length == 3) + for(var/i = 1 to matrix_length) + matrix[i] = brightness + return + + CRASH("Couldn't figure out how to apply brightness to a matrix of length: [matrix_length]") + +/// Handles values from 00 to FF. +/datum/color_matrix/proc/hex2value(hex) + var/const/radix = 16 + var/num1 = text2num(hex[1], radix) + var/num2 = text2num(hex[2], radix) + if(!isnum(num1) || !isnum(num2)) + CRASH("Invalid hex value: [hex]") + + return num1 * radix + num2 + +/datum/color_matrix/proc/set_color(color_hex, contrast = 1, brightness = null) + var/rr = hex2value(copytext(color_hex, 2, 4)) / 255 + var/gg = hex2value(copytext(color_hex, 4, 6)) / 255 + var/bb = hex2value(copytext(color_hex, 6, 8)) / 255 + + rr = round(rr * 1000) / 1000 * contrast + gg = round(gg * 1000) / 1000 * contrast + bb = round(bb * 1000) / 1000 * contrast + + matrix = list(rr, gg, bb, + rr, gg, bb, + rr, gg, bb) + + set_brightness(brightness) + +#undef LUM_R +#undef LUM_G +#undef LUM_B diff --git a/code/_onclick/hud/plane_master.dm b/code/_onclick/hud/plane_master.dm index bc7ae0dca0f..4ac17efb7f9 100644 --- a/code/_onclick/hud/plane_master.dm +++ b/code/_onclick/hud/plane_master.dm @@ -110,3 +110,82 @@ plane = SMOKE_PLANE appearance_flags = PLANE_MASTER blend_mode = BLEND_OVERLAY + +/atom/movable/screen/plane_master/lamps + name = "lamps plane master" + plane = LIGHTING_LAMPS_PLANE + blend_mode = BLEND_OVERLAY + mouse_opacity = MOUSE_OPACITY_TRANSPARENT + render_target = LIGHTING_LAMPS_RENDER_TARGET + +/atom/movable/screen/plane_master/exposure + name = "exposure plane master" + plane = LIGHTING_EXPOSURE_PLANE + appearance_flags = parent_type::appearance_flags | PIXEL_SCALE //should use client color + blend_mode = BLEND_ADD + mouse_opacity = MOUSE_OPACITY_TRANSPARENT + +/atom/movable/screen/plane_master/exposure/backdrop(mob/mymob) + remove_filter("blur_exposure") + if(!istype(mymob) || !(mymob?.client?.prefs?.light & LIGHT_NEW_LIGHTING)) + return + var/enabled = mymob?.client?.prefs?.light & LIGHT_EXPOSURE + + if(enabled) + alpha = 255 + add_filter("blur_exposure", 1, gauss_blur_filter(size = 20)) // by refs such blur is heavy, but tests were okay and this allow us more flexibility with setup. Possible point for improvements + else + alpha = 0 + +/atom/movable/screen/plane_master/lamps_selfglow + name = "lamps selfglow plane master" + plane = LIGHTING_LAMPS_SELFGLOW + appearance_flags = PLANE_MASTER //should use client color + blend_mode = BLEND_ADD + mouse_opacity = MOUSE_OPACITY_TRANSPARENT + +/atom/movable/screen/plane_master/lamps_selfglow/backdrop(mob/mymob) + remove_filter("add_lamps_to_selfglow") + remove_filter("lamps_selfglow_bloom") + + if(!istype(mymob) || !(mymob?.client?.prefs?.light & LIGHT_NEW_LIGHTING)) + return + var/level = mymob?.client?.prefs?.glowlevel + + if(isnull(level)) + return + var/bloomsize = 0 + var/bloomoffset = 0 + switch(level) + if(GLOW_LOW) + bloomsize = 2 + bloomoffset = 1 + if(GLOW_MED) + bloomsize = 3 + bloomoffset = 2 + if(GLOW_HIGH) + bloomsize = 5 + bloomoffset = 3 + else + return + + add_filter("add_lamps_to_selfglow", 1, layering_filter(render_source = LIGHTING_LAMPS_RENDER_TARGET, blend_mode = BLEND_OVERLAY)) + add_filter("lamps_selfglow_bloom", 1, bloom_filter(threshold = "#777777", size = bloomsize, offset = bloomoffset, alpha = 80)) + +/atom/movable/screen/plane_master/lamps_glare + name = "lamps glare plane master" + plane = LIGHTING_LAMPS_GLARE + mouse_opacity = MOUSE_OPACITY_TRANSPARENT + +/atom/movable/screen/plane_master/lamps_glare/backdrop(mob/mymob) + remove_filter("add_lamps_to_glare") + remove_filter("lamps_glare") + + if(!istype(mymob) || !(mymob?.client?.prefs?.light & LIGHT_NEW_LIGHTING)) + return + + var/enabled = mymob?.client?.prefs?.light & LIGHT_GLARE + + if(enabled) + add_filter("add_lamps_to_glare", 1, layering_filter(render_source = LIGHTING_LAMPS_RENDER_TARGET, blend_mode = BLEND_ADD)) + add_filter("lamps_glare", 1, radial_blur_filter(size = 0.035)) diff --git a/code/_onclick/hud/plane_master_controller.dm b/code/_onclick/hud/plane_master_controller.dm index c5bbbb743d2..1e3d317fc1a 100644 --- a/code/_onclick/hud/plane_master_controller.dm +++ b/code/_onclick/hud/plane_master_controller.dm @@ -74,4 +74,14 @@ /atom/movable/plane_master_controller/game name = PLANE_MASTERS_GAME - controlled_planes = list(FLOOR_PLANE, GAME_PLANE, LIGHTING_PLANE, PLANE_SPACE_PARALLAX, PLANE_SPACE) + controlled_planes = list( + FLOOR_PLANE, + GAME_PLANE, + LIGHTING_PLANE, + PLANE_SPACE_PARALLAX, + PLANE_SPACE, + LIGHTING_EXPOSURE_PLANE, + LIGHTING_LAMPS_SELFGLOW, + LIGHTING_LAMPS_PLANE, + LIGHTING_LAMPS_GLARE + ) diff --git a/code/controllers/configuration/configuration_core.dm b/code/controllers/configuration/configuration_core.dm index 0ace31c5bd8..8619c03c26c 100644 --- a/code/controllers/configuration/configuration_core.dm +++ b/code/controllers/configuration/configuration_core.dm @@ -22,6 +22,8 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new()) var/datum/configuration_section/gamemode_configuration/gamemode /// Holder for the general configuration datum var/datum/configuration_section/general_configuration/general + /// Holder for the lighting effects configuration datum + var/datum/configuration_section/lighting_effects_configuration/lighting_effects /// Holder for the IPIntel configuration datum var/datum/configuration_section/ipintel_configuration/ipintel /// Holder for the job configuration datum @@ -82,6 +84,7 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new()) event = new() gamemode = new() general = new() + lighting_effects = new() ipintel = new() jobs = new() logging = new() @@ -120,6 +123,7 @@ GLOBAL_DATUM_INIT(configuration, /datum/server_configuration, new()) safe_load(event, "event_configuration") safe_load(gamemode, "gamemode_configuration") safe_load(general, "general_configuration") + safe_load(lighting_effects, "lighting_effects_configuration") safe_load(ipintel, "ipintel_configuration") safe_load(jobs, "job_configuration") safe_load(logging, "logging_configuration") diff --git a/code/controllers/configuration/sections/lighting_effects_configuration.dm b/code/controllers/configuration/sections/lighting_effects_configuration.dm new file mode 100644 index 00000000000..c173497d429 --- /dev/null +++ b/code/controllers/configuration/sections/lighting_effects_configuration.dm @@ -0,0 +1,29 @@ +/// Config holder for all ligting effect related things +/datum/configuration_section/lighting_effects_configuration + /// Brightness of bloom effect independent of light_power + var/glow_brightness_base = 0 + /// Brightness of bloom effect that depends on light_power + var/glow_brightness_power = -0.25 + /// Contrast of bloom effect independent of light_power + var/glow_contrast_base = 0 + /// Contrast of bloom effect that depends on light_power + var/glow_contrast_power = 0.5 + /// Brightness of exposure effect independent of light_power + var/exposure_brightness_base = 0.01 + /// Brightness of exposure effect that depends on light_power + var/exposure_brightness_power = 0 + /// Contrast of exposure effect independent of light_power + var/exposure_contrast_base = 9.5 + /// Contrast of exposure effect that depends on light_power + var/exposure_contrast_power = 0 + +/datum/configuration_section/lighting_effects_configuration/load_data(list/data) + // Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line + CONFIG_LOAD_NUM(glow_brightness_base, data["glow_brightness_base"]) + CONFIG_LOAD_NUM(glow_brightness_power, data["glow_brightness_power"]) + CONFIG_LOAD_NUM(glow_contrast_base, data["glow_contrast_base"]) + CONFIG_LOAD_NUM(glow_contrast_power, data["glow_contrast_power"]) + CONFIG_LOAD_NUM(exposure_brightness_base, data["exposure_brightness_base"]) + CONFIG_LOAD_NUM(exposure_brightness_power, data["exposure_brightness_power"]) + CONFIG_LOAD_NUM(exposure_contrast_base, data["exposure_contrast_base"]) + CONFIG_LOAD_NUM(exposure_contrast_power, data["exposure_contrast_power"]) diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 78d92c6673d..1ea76eade0a 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -104,6 +104,17 @@ var/tmp/datum/light_source/light // Any light sources that are "inside" of us, for example, if src here was a mob that's carrying a flashlight, that flashlight's light source would be part of this list. var/tmp/list/light_sources + // Variables for bloom and exposure + var/glow_icon = 'icons/obj/lamps.dmi' + var/exposure_icon = 'icons/effects/exposures.dmi' + + var/glow_icon_state + var/glow_colored = TRUE + var/exposure_icon_state + var/exposure_colored = TRUE + + var/image/glow_overlay + var/image/exposure_overlay /// The alternate appearances we own. Lazylist var/list/alternate_appearances /// The alternate appearances we're viewing, stored here to reestablish them after Logout()s. Lazylist diff --git a/code/game/machinery/computer/camera_console.dm b/code/game/machinery/computer/camera_console.dm index ae5764d4da3..4fb418a35b7 100644 --- a/code/game/machinery/computer/camera_console.dm +++ b/code/game/machinery/computer/camera_console.dm @@ -40,11 +40,7 @@ cam_screen.screen_loc = "[map_name]:1,1" cam_plane_masters = list() for(var/plane in subtypesof(/atom/movable/screen/plane_master)) - var/atom/movable/screen/instance = new plane() - instance.assigned_map = map_name - instance.del_on_map_removal = FALSE - instance.screen_loc = "[map_name]:CENTER" - cam_plane_masters += instance + cam_plane_masters += plane cam_background = new cam_background.assigned_map = map_name cam_background.del_on_map_removal = FALSE @@ -79,7 +75,13 @@ // Register map objects user.client.register_map_obj(cam_screen) for(var/plane in cam_plane_masters) - user.client.register_map_obj(plane) + var/atom/movable/screen/plane_master/instance = new plane() + instance.assigned_map = map_name + instance.del_on_map_removal = FALSE + instance.screen_loc = "[map_name]:CENTER" + instance.backdrop(user) + + user.client.register_map_obj(instance) user.client.register_map_obj(cam_background) // Open UI ui = new(user, src, "CameraConsole", name) diff --git a/code/modules/admin/admin_verbs.dm b/code/modules/admin/admin_verbs.dm index 249816bc388..fce20414789 100644 --- a/code/modules/admin/admin_verbs.dm +++ b/code/modules/admin/admin_verbs.dm @@ -176,7 +176,8 @@ GLOBAL_LIST_INIT(admin_verbs_debug, list( /client/proc/teleport_interesting_turf, /client/proc/visualize_interesting_turfs, /client/proc/profile_code, - /client/proc/debug_atom_init + /client/proc/debug_atom_init, + /client/proc/debug_bloom )) GLOBAL_LIST_INIT(admin_verbs_possess, list( /proc/possess, diff --git a/code/modules/admin/verbs/bloom_edit.dm b/code/modules/admin/verbs/bloom_edit.dm new file mode 100644 index 00000000000..864c7f17911 --- /dev/null +++ b/code/modules/admin/verbs/bloom_edit.dm @@ -0,0 +1,71 @@ +/client/proc/debug_bloom() + set name = "Bloom Edit" + set category = "Debug" + + if(!check_rights(R_DEBUG)) + return + var/datum/bloom_edit/editor = new() + editor.ui_interact(usr) + + message_admins("[key_name(src)] opened Bloom Edit panel.") + log_admin("[key_name(src)] opened Bloom Edit panel.") + +/datum/bloom_edit + +/datum/bloom_edit/ui_interact(mob/user, datum/tgui/ui = null) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "BloomEdit", "Bloom Edit") + ui.open() + +/datum/bloom_edit/ui_data(mob/user) + var/list/data = list() + + data["glow_brightness_base"] = GLOB.configuration.lighting_effects.glow_brightness_base + data["glow_brightness_power"] = GLOB.configuration.lighting_effects.glow_brightness_power + data["glow_contrast_base"] = GLOB.configuration.lighting_effects.glow_contrast_base + data["glow_contrast_power"] = GLOB.configuration.lighting_effects.glow_contrast_power + data["exposure_brightness_base"] = GLOB.configuration.lighting_effects.exposure_brightness_base + data["exposure_brightness_power"] = GLOB.configuration.lighting_effects.exposure_brightness_power + data["exposure_contrast_base"] = GLOB.configuration.lighting_effects.exposure_contrast_base + data["exposure_contrast_power"] = GLOB.configuration.lighting_effects.exposure_contrast_power + return data + +/datum/bloom_edit/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state) + . = ..() + if(.) + return + switch(action) + if("glow_brightness_base") + GLOB.configuration.lighting_effects.glow_brightness_base = clamp(params["value"], -10, 10) + if("glow_brightness_power") + GLOB.configuration.lighting_effects.glow_brightness_power = clamp(params["value"], -10, 10) + if("glow_contrast_base") + GLOB.configuration.lighting_effects.glow_contrast_base = clamp(params["value"], -10, 10) + if("glow_contrast_power") + GLOB.configuration.lighting_effects.glow_contrast_power = clamp(params["value"], -10, 10) + if("exposure_brightness_base") + GLOB.configuration.lighting_effects.exposure_brightness_base = clamp(params["value"], -10, 10) + if("exposure_brightness_power") + GLOB.configuration.lighting_effects.exposure_brightness_power = clamp(params["value"], -10, 10) + if("exposure_contrast_base") + GLOB.configuration.lighting_effects.exposure_contrast_base = clamp(params["value"], -10, 10) + if("exposure_contrast_power") + GLOB.configuration.lighting_effects.exposure_contrast_power = clamp(params["value"], -10, 10) + if("default") + GLOB.configuration.lighting_effects.glow_brightness_base = initial(GLOB.configuration.lighting_effects.glow_brightness_base) + GLOB.configuration.lighting_effects.glow_brightness_power = initial(GLOB.configuration.lighting_effects.glow_brightness_power) + GLOB.configuration.lighting_effects.glow_contrast_base = initial(GLOB.configuration.lighting_effects.glow_contrast_base) + GLOB.configuration.lighting_effects.glow_contrast_power = initial(GLOB.configuration.lighting_effects.glow_contrast_power) + GLOB.configuration.lighting_effects.exposure_brightness_base = initial(GLOB.configuration.lighting_effects.exposure_brightness_base) + GLOB.configuration.lighting_effects.exposure_brightness_power = initial(GLOB.configuration.lighting_effects.exposure_brightness_power) + GLOB.configuration.lighting_effects.exposure_contrast_base = initial(GLOB.configuration.lighting_effects.exposure_contrast_base) + GLOB.configuration.lighting_effects.exposure_contrast_power = initial(GLOB.configuration.lighting_effects.exposure_contrast_power) + if("update_lamps") + for(var/obj/machinery/light/L in GLOB.machines) + if(L.glow_overlay || L.exposure_overlay) + L.update_bloom() + return TRUE + +/datum/bloom_edit/ui_state(mob/user) + return GLOB.admin_state diff --git a/code/modules/client/login_processing/10-load_preferences.dm b/code/modules/client/login_processing/10-load_preferences.dm index 94ff3027223..0ef03d03c4c 100644 --- a/code/modules/client/login_processing/10-load_preferences.dm +++ b/code/modules/client/login_processing/10-load_preferences.dm @@ -14,6 +14,8 @@ toggles, toggles_2, sound, + light, + glowlevel, volume_mixer, lastchangelog, exp, diff --git a/code/modules/client/preference/link_processing.dm b/code/modules/client/preference/link_processing.dm index 961b6394074..4d75ceea471 100644 --- a/code/modules/client/preference/link_processing.dm +++ b/code/modules/client/preference/link_processing.dm @@ -896,7 +896,6 @@ return switch(newgender) if("Male") - active_character.gender = MALE if("Female") active_character.gender = FEMALE @@ -954,6 +953,22 @@ if("ghost_att_anim") toggles2 ^= PREFTOGGLE_2_ITEMATTACK + if("enablelighting") + var/datum/preference_toggle/special_toggle/toggle = GLOB.preference_toggles[/datum/preference_toggle/toggle_new_lighting] + toggle.set_toggles(user.client) + + if("glowlevel") + var/datum/preference_toggle/special_toggle/toggle = GLOB.preference_toggles[/datum/preference_toggle/special_toggle/set_glow_level] + toggle.set_toggles(user.client) + + if("exposure") + var/datum/preference_toggle/special_toggle/toggle = GLOB.preference_toggles[/datum/preference_toggle/toggle_lamp_exposure] + toggle.set_toggles(user.client) + + if("glare") + var/datum/preference_toggle/special_toggle/toggle = GLOB.preference_toggles[/datum/preference_toggle/toggle_lamps_glare] + toggle.set_toggles(user.client) + if("winflash") toggles2 ^= PREFTOGGLE_2_WINDOWFLASHING diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index bb2816be556..1c27e42e130 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -63,11 +63,15 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/toggles = TOGGLES_DEFAULT var/toggles2 = TOGGLES_2_DEFAULT // Created because 1 column has a bitflag limit of 24 (BYOND limitation not MySQL) var/sound = SOUND_DEFAULT + var/light = LIGHT_DEFAULT + /// Glow level for the lighting. Takes values from GLOW_HIGH to GLOW_DISABLE. + var/glowlevel = GLOW_MED var/UI_style_color = "#ffffff" var/UI_style_alpha = 255 var/clientfps = 63 var/atklog = ATKLOG_ALL - var/fuid // forum userid + /// Forum userid + var/fuid /// Volume mixer, indexed by channel as TEXT (numerical indexes will not work). Volume goes from 0 to 100. var/list/volume_mixer = list( @@ -437,6 +441,23 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "View Range: [viewrange]
" dat += "Window Flashing: [(toggles2 & PREFTOGGLE_2_WINDOWFLASHING) ? "Yes" : "No"]
" dat += "Modsuit Activation Method: [(toggles2 & PREFTOGGLE_2_MOD_ACTIVATION_METHOD) ? "Middle Click" : "Alt Click"]
" + dat += "Lighting settings:
" + dat += " - New Lighting: [(light & LIGHT_NEW_LIGHTING) ? "Yes" : "No"]
" + dat += " - Glow Level: " + switch(glowlevel) + if(GLOW_LOW) + dat += "Low" + if(GLOW_MED) + dat += "Medium" + if(GLOW_HIGH) + dat += "High" + if(GLOW_DISABLE) + dat += "Disabled" + else + dat += "Medium" + dat += "
" + dat += " - Lamp Exposure: [(light & LIGHT_EXPOSURE) ? "Yes" : "No"]
" + dat += " - Lamp Glare: [(light & LIGHT_GLARE) ? "Yes" : "No"]
" // RIGHT SIDE OF THE PAGE dat += "" dat += "

Interface Settings

" @@ -603,7 +624,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/static/list/pref_toggles_by_category if(!pref_toggles_by_category) pref_toggles_by_category = list() - for(var/datum/preference_toggle/toggle as anything in GLOB.preference_toggles) + for(var/toggle_type in GLOB.preference_toggles) + var/datum/preference_toggle/toggle = GLOB.preference_toggles[toggle_type] pref_toggles_by_category["[toggle.preftoggle_category]"] += list(toggle) for(var/category in GLOB.preference_toggle_groups) @@ -627,6 +649,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts dat += "[(toggles2 & toggle.preftoggle_bitflag) ? "Enabled" : "Disabled"]" if(PREFTOGGLE_SOUND) dat += "[(sound & toggle.preftoggle_bitflag) ? "Enabled" : "Disabled"]" + if(PREFTOGGLE_LIGHT) + dat += "[(light & toggle.preftoggle_bitflag) ? "Enabled" : "Disabled"]" dat += "" dat += "
" diff --git a/code/modules/client/preference/preferences_mysql.dm b/code/modules/client/preference/preferences_mysql.dm index aafd6f6bce2..0b2cb801f3d 100644 --- a/code/modules/client/preference/preferences_mysql.dm +++ b/code/modules/client/preference/preferences_mysql.dm @@ -14,22 +14,24 @@ toggles = text2num(query.item[7]) toggles2 = text2num(query.item[8]) sound = text2num(query.item[9]) - volume_mixer = deserialize_volume_mixer(query.item[10]) - lastchangelog = query.item[11] - exp = query.item[12] - clientfps = text2num(query.item[13]) - atklog = text2num(query.item[14]) - fuid = text2num(query.item[15]) - parallax = text2num(query.item[16]) - _2fa_status = query.item[17] - screentip_mode = query.item[18] - screentip_color = query.item[19] - ghost_darkness_level = query.item[20] - colourblind_mode = query.item[21] - keybindings = init_keybindings(raw = query.item[22]) - server_region = query.item[23] - raw_muted_admins = query.item[24] - viewrange = query.item[25] + light = text2num(query.item[10]) + glowlevel = query.item[11] + volume_mixer = deserialize_volume_mixer(query.item[12]) + lastchangelog = query.item[13] + exp = query.item[14] + clientfps = text2num(query.item[15]) + atklog = text2num(query.item[16]) + fuid = text2num(query.item[17]) + parallax = text2num(query.item[18]) + _2fa_status = query.item[19] + screentip_mode = query.item[20] + screentip_color = query.item[21] + ghost_darkness_level = query.item[22] + colourblind_mode = query.item[23] + keybindings = init_keybindings(raw = query.item[24]) + server_region = query.item[25] + raw_muted_admins = query.item[26] + viewrange = query.item[27] lastchangelog_2 = lastchangelog // Clone please @@ -88,6 +90,8 @@ toggles_2=:toggles2, atklog=:atklog, sound=:sound, + light=:light, + glowlevel=:glowlevel, volume_mixer=:volume_mixer, lastchangelog=:lastchangelog, clientfps=:clientfps, @@ -114,6 +118,8 @@ "toggles2" = num2text(toggles2, CEILING(log(10, (TOGGLES_2_TOTAL)), 1)), "atklog" = atklog, "sound" = sound, + "light" = light, + "glowlevel" = glowlevel, "volume_mixer" = serialize_volume_mixer(volume_mixer), "lastchangelog" = lastchangelog, "clientfps" = clientfps, diff --git a/code/modules/client/preference/preferences_toggles.dm b/code/modules/client/preference/preferences_toggles.dm index 55d7166c525..27551821878 100644 --- a/code/modules/client/preference/preferences_toggles.dm +++ b/code/modules/client/preference/preferences_toggles.dm @@ -39,6 +39,9 @@ if(PREFTOGGLE_SOUND) our_prefs.sound ^= preftoggle_bitflag to_chat(user, "[(our_prefs.sound & preftoggle_bitflag) ? enable_message : disable_message]") + if(PREFTOGGLE_LIGHT) + our_prefs.light ^= preftoggle_bitflag + to_chat(user, "[(our_prefs.light & preftoggle_bitflag) ? enable_message : disable_message]") SSblackbox.record_feedback("tally", "toggle_verbs", 1, blackbox_message) our_prefs.save_preferences(user) @@ -516,3 +519,80 @@ user.prefs.atklog = ATKLOG_NONE to_chat(usr, "Your attack logs preference is now: show NO attack logs") return ..() + +/datum/preference_toggle/toggle_new_lighting + name = "Toggle New Lighting" + description = "Toggles new lighting" + preftoggle_bitflag = LIGHT_NEW_LIGHTING + preftoggle_toggle = PREFTOGGLE_LIGHT + preftoggle_category = PREFTOGGLE_CATEGORY_GENERAL + enable_message = "You've enabled new lighting." + disable_message = "You've disabled new lighting." + blackbox_message = "New lighting toggled" + +/datum/preference_toggle/toggle_new_lighting/set_toggles(client/user) + . = ..() + if(length(user.screen)) + var/atom/movable/screen/plane_master/exposure/exposure_master = locate() in user.screen + var/atom/movable/screen/plane_master/lamps_selfglow/glow_master = locate() in user.screen + var/atom/movable/screen/plane_master/lamps_glare/glare_master = locate() in user.screen + + exposure_master.alpha = user.prefs.light & LIGHT_NEW_LIGHTING ? 255 : 0 + exposure_master.backdrop(user.mob) + glow_master.backdrop(user.mob) + glare_master.backdrop(user.mob) + +/datum/preference_toggle/special_toggle/set_glow_level + name = "Set Glow Level" + description = "Changes glow level of light sources" + preftoggle_category = PREFTOGGLE_CATEGORY_GENERAL + blackbox_message = "Changed glow level of light sources" + +/datum/preference_toggle/special_toggle/set_glow_level/set_toggles(client/user) + var/glow_levels = list( + "Disable" = GLOW_DISABLE, + "Low" = GLOW_LOW, + "Medium (Default)" = GLOW_MED, + "High" = GLOW_HIGH, + ) + var/new_level = tgui_input_list(user, "Set glow level of light sources", "Glow Level", glow_levels) + if(!new_level) + return + user.prefs.glowlevel = glow_levels[new_level] + to_chat(usr, "Glow level: [new_level].") + if(length(user.screen)) + var/atom/movable/screen/plane_master/lamps_selfglow/glow_master = locate() in user.screen + glow_master.backdrop(user.mob) + return ..() + +/datum/preference_toggle/toggle_lamp_exposure + name = "Toggle Lamp Exposure" + description = "Toggles lamp exposure" + preftoggle_bitflag = LIGHT_EXPOSURE + preftoggle_toggle = PREFTOGGLE_LIGHT + preftoggle_category = PREFTOGGLE_CATEGORY_GENERAL + enable_message = "You've enabled lamp exposure." + disable_message = "You've disabled lamp exposure." + blackbox_message = "Lamp exposure toggled" + +/datum/preference_toggle/toggle_lamp_exposure/set_toggles(client/user) + . = ..() + if(length(user.screen)) + var/atom/movable/screen/plane_master/exposure/exposure_master = locate() in user.screen + exposure_master.backdrop(user.mob) + +/datum/preference_toggle/toggle_lamps_glare + name = "Toggle Lamp Glare" + description = "Toggles lamp glare" + preftoggle_bitflag = LIGHT_GLARE + preftoggle_toggle = PREFTOGGLE_LIGHT + preftoggle_category = PREFTOGGLE_CATEGORY_GENERAL + enable_message = "You've enabled lamp glare." + disable_message = "You've disabled lamp glare." + blackbox_message = "Lamp glare toggled" + +/datum/preference_toggle/toggle_lamps_glare/set_toggles(client/user) + . = ..() + if(length(user.screen)) + var/atom/movable/screen/plane_master/lamps_glare/glare_master = locate() in user.screen + glare_master.backdrop(user.mob) diff --git a/code/modules/lighting/lighting_atom.dm b/code/modules/lighting/lighting_atom.dm index 36f64c43272..834f58222a4 100644 --- a/code/modules/lighting/lighting_atom.dm +++ b/code/modules/lighting/lighting_atom.dm @@ -120,3 +120,48 @@ /mob/living/proc/mob_light(_color, _range, _power, _duration) var/obj/effect/dummy/lighting_obj/moblight/mob_light_obj = new (src, _color, _range, _power, _duration) return mob_light_obj + +/atom/proc/update_bloom() + cut_overlay(glow_overlay) + cut_overlay(exposure_overlay) + + if(glow_icon && glow_icon_state) + glow_overlay = image(icon = glow_icon, icon_state = glow_icon_state, dir = dir, layer = 1) + glow_overlay.plane = LIGHTING_LAMPS_PLANE + glow_overlay.blend_mode = BLEND_ADD + + if(glow_colored) + var/datum/color_matrix/mat = new( + light_color, + GLOB.configuration.lighting_effects.glow_contrast_base + GLOB.configuration.lighting_effects.glow_contrast_power * light_power, + GLOB.configuration.lighting_effects.glow_brightness_base + GLOB.configuration.lighting_effects.glow_brightness_power * light_power) + glow_overlay.color = mat.get() + add_overlay(glow_overlay) + + if(exposure_icon && exposure_icon_state) + exposure_overlay = image(icon = exposure_icon, icon_state = exposure_icon_state, dir = dir, layer = -1) + exposure_overlay.plane = LIGHTING_EXPOSURE_PLANE + exposure_overlay.blend_mode = BLEND_ADD + exposure_overlay.appearance_flags = RESET_ALPHA | RESET_COLOR | KEEP_APART + + var/datum/color_matrix/mat = new( + 1, + GLOB.configuration.lighting_effects.exposure_contrast_base + GLOB.configuration.lighting_effects.exposure_contrast_power * light_power, + GLOB.configuration.lighting_effects.exposure_brightness_base + GLOB.configuration.lighting_effects.exposure_brightness_power * light_power) + if(exposure_colored) + mat.set_color( + light_color, + GLOB.configuration.lighting_effects.exposure_contrast_base + GLOB.configuration.lighting_effects.exposure_contrast_power * light_power, + GLOB.configuration.lighting_effects.exposure_brightness_base + GLOB.configuration.lighting_effects.exposure_brightness_power * light_power) + exposure_overlay.color = mat.get() + + var/icon/EX = icon(icon = exposure_icon, icon_state = exposure_icon_state) + exposure_overlay.pixel_x = 16 - EX.Width() / 2 + exposure_overlay.pixel_y = 16 - EX.Height() / 2 + add_overlay(exposure_overlay) + +/atom/proc/delete_lights() + cut_overlay(glow_overlay) + cut_overlay(exposure_overlay) + QDEL_NULL(glow_overlay) + QDEL_NULL(exposure_overlay) diff --git a/code/modules/lighting/lighting_source.dm b/code/modules/lighting/lighting_source.dm index dcc6c89cdaa..9302b1fc56b 100644 --- a/code/modules/lighting/lighting_source.dm +++ b/code/modules/lighting/lighting_source.dm @@ -57,6 +57,7 @@ /datum/light_source/Destroy(force) remove_lum() if(source_atom) + source_atom.delete_lights() LAZYREMOVE(source_atom.light_sources, src) if(top_atom) @@ -217,6 +218,8 @@ if(update) needs_update = LIGHTING_CHECK_UPDATE applied = TRUE + if(source_atom) + source_atom.update_bloom() else if(needs_update == LIGHTING_CHECK_UPDATE) return //nothing's changed diff --git a/code/modules/power/lights.dm b/code/modules/power/lights.dm index 9b232c1a0cb..84089bcc89a 100644 --- a/code/modules/power/lights.dm +++ b/code/modules/power/lights.dm @@ -167,6 +167,8 @@ desc = "Industrial-grade light fixture for brightening up dark corners of the station." icon = 'icons/obj/lighting.dmi' icon_state = "tube1" + glow_icon_state = "tube" + exposure_icon_state = "cone" anchored = TRUE layer = 5 max_integrity = 100 @@ -233,6 +235,8 @@ icon_state = "bulb1" desc = "A compact and cheap light fixture, perfect for keeping maintenance tunnels appropriately spooky." fitting = "bulb" + glow_icon_state = "bulb" + exposure_icon_state = "circle" base_state = "bulb" brightness_range = 4 brightness_color = "#a0a080" @@ -887,6 +891,7 @@ base_state = "ltube" item_state = "c_tube" brightness_range = 8 + brightness_color = "#ffffff" /obj/item/light/tube/large w_class = WEIGHT_CLASS_SMALL diff --git a/config/example/config.toml b/config/example/config.toml index 7237fe20030..846ba5bc816 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -20,6 +20,7 @@ # - event_configuration # - gamemode_configuration # - general_configuration +# - lighting_effects_configuration # - ipintel_configuration # - job_configuration # - logging_configuration @@ -378,6 +379,30 @@ random_ai_lawset = true ################################################################ +[lighting_effects_configuration] +# Settings that allow you to change light effects (bloom / exposure intensity) + +# Brightness of bloom effect independent of light_power +glow_brightness_base = 0 +# Brightness of bloom effect that depends on light_power +glow_brightness_power = -0.25 +# Contrast of bloom effect independent of light_power +glow_contrast_base = 0 +# Contrast of bloom effect that depends on light_power +glow_contrast_power = 0.5 +# Brightness of exposure effect independent of light_power +exposure_brightness_base = 0.01 +# Brightness of exposure effect that depends on light_power +exposure_brightness_power = 0 +# Contrast of exposure effect independent of light_power +exposure_contrast_base = 9.5 +# Contrast of exposure effect that depends on light_power +exposure_contrast_power = 0 + + +################################################################ + + [ipintel_configuration] # This section contains all the information for IPIntel (The Anti VPN system) diff --git a/icons/effects/exposures.dmi b/icons/effects/exposures.dmi new file mode 100644 index 0000000000000000000000000000000000000000..5c24d4c42602760ab2c376a019ca038c37bb1b22 GIT binary patch literal 3719 zcmZ`+dpMK-8{V9@oHmt0F`|+~Id&k&(WK-!nsO$mh)~$DGA89z_~m?Nm_xK;SK40D#D4GZPyC z04VzxU;zLCa4@zO%e@6f+FcJd@e1*{>l+m6dnXV82+y^(54sz+v1S|en?0{|MOA5N zfNEQhR2$KpnN^`)J@p=NS7os2yrzxjM@@6t+}WpHPwixFPhBuLgM9Q@^LQgcq7?sF zvqn+Q;U0-^D{fP;++6Bnlc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iH~`FOu|iRAZgslv2U=hz6vwgZ>r@SbPWbPT^eR12s)=m zs#5LURDR$Hms>QB&Sf-Z-|Qu9-tU;AcaGm*JE{^rD$%=7-1cQd*D-*~0)S&sa}~Cc zY*nf7l-86)Oi0u6ZJaq5#F2V2o~`Q3=^>NK6erM!0V6N0#IB8viWjzek4YK)^p8i~ zOsOf$_1Pg=JI(^&?JqH*6gQrp=0rVwMOnm#CnNgK0DjzPS!*e-DSXeGB z { + const { act, data } = useBackend(context); + + const { + glow_brightness_base, + glow_brightness_power, + glow_contrast_base, + glow_contrast_power, + exposure_brightness_base, + exposure_brightness_power, + exposure_contrast_base, + exposure_contrast_power, + } = data; + + return ( + + +
+ + + Base Lamp Brightness + + act('glow_brightness_base', { + value: value, + }) + } + /> + + + Lamp Brightness * Light Power + + act('glow_brightness_power', { + value: value, + }) + } + /> + + + Base Lamp Contrast + + act('glow_contrast_base', { + value: value, + }) + } + /> + + + Lamp Contrast * Light Power + + act('glow_contrast_power', { + value: value, + }) + } + /> + + + Base Exposure Brightness + + act('exposure_brightness_base', { + value: value, + }) + } + /> + + + Exposure Brightness * Light Power + + act('exposure_brightness_power', { + value: value, + }) + } + /> + + + Base Exposure Contrast + + act('exposure_contrast_base', { + value: value, + }) + } + /> + + + Exposure Contrast * Light Power + + act('exposure_contrast_power', { + value: value, + }) + } + /> + + + +
+
+
+ ); +}; diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index 81f67faff51..a79c3e23a94 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -238,7 +238,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var V=(0,t.createLogger)("hotkeys"),k={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],b={},h=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},l=function(i){var C=String(i);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){C==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var v=h(i.code);if(v){var g=k[v];if(g)return V.debug("macro",g),Byond.command(g);if(i.isDown()&&!b[v]){b[v]=!0;var p='Key_Down "'+v+'"';return V.debug(p),Byond.command(p)}if(i.isUp()&&b[v]){b[v]=!1;var N='Key_Up "'+v+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var C=S.indexOf(i);C>=0&&S.splice(C,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var i=0,C=Object.keys(b);i=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function m(){return h("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function m(){return h("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return V}()},78468:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AIFixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var m=null;l.integrity>=75?m="green":l.integrity>=25?m="yellow":m="red";var d=!0;return l.integrity>=100&&l.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(u,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:u},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function u(){return h("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function u(){return h("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||l.active,content:!d||l.active?"Already Repaired":"Repair",onClick:function(){function u(){return h("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},73544:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.APC=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return h}(),k={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"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.locked&&!u.siliconUser,i=u.normallyLocked,C=k[u.externalPower]||k[0],v=k[u.chargingStatus]||k[0],g=u.powerChannels||[],p=S[u.malfStatus]||S[0],N=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:C.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.isOperating?"power-off":"times",content:u.isOperating?"On":"Off",selected:u.isOperating&&!s,color:u.isOperating?"":"bad",disabled:s,onClick:function(){function y(){return d("breaker")}return y}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:N})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.chargeMode?"sync":"times",content:u.chargeMode?"Auto":"Off",selected:u.chargeMode,disabled:s,onClick:function(){function y(){return d("charge")}return y}()}),children:["[ ",v.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(y){var B=y.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:y.status>=2?"good":"bad",children:y.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(y.status===1||y.status===3),disabled:s,onClick:function(){function I(){return d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&y.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&y.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[y.powerLoad," W"]},y.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[u.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!u.siliconUser&&(0,e.createFragment)([!!u.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function y(){return d(p.action)}return y}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function y(){return d("overload")}return y}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:u.coverLocked?"lock":"unlock",content:u.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function y(){return d("cover")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:u.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function y(){return d("emergency_lighting")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:u.nightshiftLights?"Enabled":"Disabled",onClick:function(){function y(){return d("toggle_nightshift")}return y}()})})]})})],4)}},79098:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ATM=function(){function m(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.view_screen,g=C.authenticated_account,p=C.ticks_left_locked_down,N=C.linked_db,y;if(p>0)y=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)y=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(v){case 1:y=(0,e.createComponentVNode)(2,k);break;case 2:y=(0,e.createComponentVNode)(2,S);break;case 3:y=(0,e.createComponentVNode)(2,l);break;default:y=(0,e.createComponentVNode)(2,b)}else y=(0,e.createComponentVNode)(2,h);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:y})]})})}return m}(),V=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.machine_id,g=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function p(){return i("insert_card")}return p}()})})})]})},k=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function g(){return i("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===2,onClick:function(){function g(){return i("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"targetAccNumber",0),g=v[0],p=v[1],N=(0,a.useLocalState)(u,"fundsAmount",0),y=N[0],B=N[1],I=(0,a.useLocalState)(u,"purpose",0),L=I[0],T=I[1],A=C.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,M){return p(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,M){return B(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,M){return T(M)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return i("transfer",{target_acc_number:g,funds_amount:y,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},b=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"fundsAmount",0),g=v[0],p=v[1],N=C.owner_name,y=C.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return i("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",y]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return i("withdrawal",{funds_amount:g})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return i("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return i("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return i("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return i("balance_statement")}return B}()})})]})],4)},h=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"accountID",null),g=v[0],p=v[1],N=(0,a.useLocalState)(u,"accountPin",null),y=N[0],B=N[1],I=C.machine_id,L=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return p(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return B(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return i("attempt_auth",{account_num:g,account_pin:y})}return T}()})})]})})},l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return i("view_screen",{view_screen:0})}return v}()})}},64613:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(5126),V=n(45493),k=n(68159),S=n(27527),b=r.AccountsUplinkTerminal=function(){function C(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.loginState,I=y.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,l):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return C}(),h=function(v,g){var p=(0,t.useBackend)(g),N=p.data,y=(0,t.useLocalState)(g,"tabIndex",0),B=y[0],I=y[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},l=function(v,g){var p=(0,t.useLocalState)(g,"tabIndex",0),N=p[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.accounts,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1],A=(0,t.useLocalState)(g,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(g,"sortOrder",!0),j=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,D){var F=j?1:-1;return R[x].localeCompare(D[x])*F}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function D(){return N("view_account_detail",{account_num:R.account_number})}return D}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",R.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",R.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.money})]},R.account_number)})]})})})]})},m=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(v,g){var p=(0,t.useLocalState)(g,"sortId","name"),N=p[0],y=p[1],B=(0,t.useLocalState)(g,"sortOrder",!0),I=B[0],L=B[1],T=v.id,A=v.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function x(){N===T?L(!I):(y(T),L(!0))}return x}(),children:[A,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.is_printing,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return N("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return T(E)}return A}()})})]})},s=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.account_number,I=y.owner_name,L=y.money,T=y.suspended,A=y.transactions,x=y.account_pin,E=y.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return N("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return N("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return N("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=(0,t.useLocalState)(g,"accName",""),I=B[0],L=B[1],T=(0,t.useLocalState)(g,"accDeposit",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return L(j)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return N("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},56839:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],u=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:u.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return k}()},5565:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.AirAlarm=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)],4)]})})}return u}(),k=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.air,N=g.mode,y=g.atmos_alarm,B=g.locked,I=g.alarmActivated,L=g.rcon,T=g.target_temp,A;return p.danger.overall===0?y===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function x(){return v("mode",{mode:N===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:k(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:k(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:k(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:k(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:k(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:k(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function x(){return v("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function x(){return v("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.overall),children:[A,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return v(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function x(){return v("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return v("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function x(){return v("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},b=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),v=C[0],g=C[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function p(){return g(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function p(){return g(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function p(){return g(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===3,onClick:function(){function p(){return g(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},h=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),v=C[0],g=C[1];switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.vents;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function y(){return v("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function y(){return v("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function y(){return v("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function y(){return v("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function y(){return v("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.scrubbers;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function y(){return v("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function y(){return v("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function y(){return v("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function y(){return v("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function y(){return v("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function y(){return v("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function y(){return v("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.modes,N=g.presets,y=g.emagged,B=g.mode,I=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:p.map(function(L){return(!L.emagonly||L.emagonly&&!!y)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return v("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return v("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(y){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:y.selected===-1?"Off":y.selected,onClick:function(){function B(){return v("command",{cmd:"set_threshold",env:y.env,var:y.val})}return B}()})},y.val)})]},N.name)})]})})}},82915:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AirlockAccessController=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.exterior_status,m=l.interior_status,d=l.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function i(){return h("force_ext")}return i}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function i(){return h("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function i(){return h("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function i(){return h("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return V}()},14962:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=1,k=2,S=4,b=8,h=r.AirlockElectronics=function(){function m(d,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return m}(),l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:v&S?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:v&k?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:v&b?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:b})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:v&V?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:V})}return g}()})})]})]})})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.selected_accesses,g=C.one_access,p=C.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function N(){return i("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function N(){return i("set_one_access",{access:"all"})}return N}()})],4),accesses:p,selectedList:v,accessMod:function(){function N(y){return i("set",{access:y})}return N}(),grantAll:function(){function N(){return i("grant_all")}return N}(),denyAll:function(){function N(){return i("clear_all")}return N}(),grantDep:function(){function N(y){return i("grant_region",{region:y})}return N}(),denyDep:function(){function N(y){return i("deny_region",{region:y})}return N}()})}},99327:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(96524),a=n(14299),t=n(17899),o=n(68100),f=n(24674),V=n(45493),k=-1,S=1,b=r.AlertModal=function(){function c(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.autofocus,v=i.buttons,g=v===void 0?[]:v,p=i.large_buttons,N=i.message,y=N===void 0?"":N,B=i.timeout,I=i.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],A=L[1],x=110+(y.length>30?Math.ceil(y.length/4):0)+(y.length&&p?5:0),E=325+(g.length>2?100:0),M=function(){function j(P){T===0&&P===k?A(g.length-1):T===g.length-1&&P===S?A(0):A(T+P)}return j}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function j(P){var R=window.event?P.which:P.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:g[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(P.preventDefault(),M(k)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(P.preventDefault(),M(S))}return j}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:y})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!C&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,h,{selected:T})]})]})})})]})}return c}(),h=function(m,d){var u=(0,t.useBackend)(d),s=u.data,i=s.buttons,C=i===void 0?[]:i,v=s.large_buttons,g=s.swapped_buttons,p=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:C==null?void 0:C.map(function(N,y){return v&&C.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:N,id:y.toString(),selected:p===y})},y):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:v?1:0,children:(0,e.createComponentVNode)(2,l,{button:N,id:y.toString(),selected:p===y})},y)})})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.large_buttons,v=m.button,g=m.selected,p=v.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:C?1:0,pt:C?.33:0,content:v,fluid:!!C,onClick:function(){function N(){return s("choose",{choice:v})}return N}(),selected:g,textAlign:"center",height:!!C&&2,width:!C&&p})}},88642:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AppearanceChanger=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.change_race,d=c.species,u=c.specimen,s=c.change_gender,i=c.gender,C=c.change_eye_color,v=c.change_skin_tone,g=c.change_skin_color,p=c.change_head_accessory_color,N=c.change_hair_color,y=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,A=c.change_tail_marking_color,x=c.change_head_accessory,E=c.head_accessory_styles,M=c.head_accessory_style,j=c.change_hair,P=c.hair_styles,R=c.hair_style,D=c.change_hair_gradient,F=c.change_facial_hair,U=c.facial_hair_styles,_=c.facial_hair_style,z=c.change_head_markings,G=c.head_marking_styles,X=c.head_marking_style,Y=c.change_body_markings,J=c.body_marking_styles,ie=c.body_marking_style,ae=c.change_tail_markings,fe=c.tail_marking_styles,pe=c.tail_marking_style,be=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,ne=c.change_alt_head,me=c.alt_head_styles,ce=c.alt_head_style,ue=!1;return(C||v||g||p||N||y||B||I||L||T||A)&&(ue=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.specimen,selected:oe.specimen===u,onClick:function(){function ke(){return l("race",{race:oe.specimen})}return ke}()},oe.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function oe(){return l("gender",{gender:"male"})}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function oe(){return l("gender",{gender:"female"})}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function oe(){return l("gender",{gender:"plural"})}return oe}()})]}),!!ue&&(0,e.createComponentVNode)(2,V),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.headaccessorystyle,selected:oe.headaccessorystyle===M,onClick:function(){function ke(){return l("head_accessory",{head_accessory:oe.headaccessorystyle})}return ke}()},oe.headaccessorystyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:P.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.hairstyle,selected:oe.hairstyle===R,onClick:function(){function ke(){return l("hair",{hair:oe.hairstyle})}return ke}()},oe.hairstyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function oe(){return l("hair_gradient")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function oe(){return l("hair_gradient_offset")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function oe(){return l("hair_gradient_colour")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function oe(){return l("hair_gradient_alpha")}return oe}()})]}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.facialhairstyle,selected:oe.facialhairstyle===_,onClick:function(){function ke(){return l("facial_hair",{facial_hair:oe.facialhairstyle})}return ke}()},oe.facialhairstyle)})}),!!z&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:G.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.headmarkingstyle,selected:oe.headmarkingstyle===X,onClick:function(){function ke(){return l("head_marking",{head_marking:oe.headmarkingstyle})}return ke}()},oe.headmarkingstyle)})}),!!Y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:J.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.bodymarkingstyle,selected:oe.bodymarkingstyle===ie,onClick:function(){function ke(){return l("body_marking",{body_marking:oe.bodymarkingstyle})}return ke}()},oe.bodymarkingstyle)})}),!!ae&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:fe.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.tailmarkingstyle,selected:oe.tailmarkingstyle===pe,onClick:function(){function ke(){return l("tail_marking",{tail_marking:oe.tailmarkingstyle})}return ke}()},oe.tailmarkingstyle)})}),!!be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.bodyaccessorystyle,selected:oe.bodyaccessorystyle===Q,onClick:function(){function ke(){return l("body_accessory",{body_accessory:oe.bodyaccessorystyle})}return ke}()},oe.bodyaccessorystyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:me.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.altheadstyle,selected:oe.altheadstyle===ce,onClick:function(){function ke(){return l("alt_head",{alt_head:oe.altheadstyle})}return ke}()},oe.altheadstyle)})})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function u(){return l(d.action)}return u}()},d.key)})})}},51731:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosAlertConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.priority||[],m=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},57467:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(5126),f=n(45493),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},k=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=(0,a.useLocalState)(m,"tabIndex",0),C=i[0],v=i[1],g=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,b);case 1:return(0,e.createComponentVNode)(2,h);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:C===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===0,onClick:function(){function p(){return v(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,onClick:function(){function p(){return v(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(C)]})})})}return l}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:C.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:V(C.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function v(){return u("open_alarm",{aref:C.ref})}return v}()})})]},C.name)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=(0,a.useLocalState)(m,"zoom",1),i=s[0],C=s[1],v=u.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function g(p){return C(p)}return g}(),children:v.filter(function(g){return g.z===2}).map(function(g){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:g.x,y:g.y,zoom:i,icon:"circle",tooltip:g.name,color:k(g.danger)},g.ref)})})})}},41550:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosFilter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.on,m=l.pressure,d=l.max_pressure,u=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function i(C,v){return h("custom_pressure",{pressure:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return h("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===u,content:i.label,onClick:function(){function C(){return h("set_filter",{filter:i.gas_type})}return C}()},i.label)})})]})})})})}return V}()},70151:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosMixer=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.on,d=c.pressure,u=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:d===0,width:2.2,onClick:function(){function C(){return l("min_pressure")}return C}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:d,onDrag:function(){function C(v,g){return l("custom_pressure",{pressure:g})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===u,width:2.2,onClick:function(){function C(){return l("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:i})]})})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d-10)/100})}return u}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:d,onChange:function(){function u(s,i){return l("set_node",{node_name:m,concentration:i/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d+10)/100})}return u}()})]})}},54090:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosPump=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.on,m=l.rate,d=l.max_rate,u=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function i(C,v){return h("custom_rate",{rate:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return h("max_rate")}return i}()})]})]})})})})}return V}()},31335:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(36121),f=n(38424),V=n(45493),k=r.AtmosTankControl=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[u].pressure," kpa"]}):"",Object.keys(d[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[u][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},u)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"inlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:m.inlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"inlet",val:i})}return u}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"outlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:m.outlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"outlet",val:i})}return u}()})})]})}):""]})})}return S}()},85909:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),k=n(78234),S=function(l,c,m,d){return l.requirements===null?!0:!(l.requirements.metal*d>c||l.requirements.glass*d>m)},b=r.Autolathe=function(){function h(l,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.total_amount,i=u.max_amount,C=u.metal_amount,v=u.glass_amount,g=u.busyname,p=u.busyamt,N=u.showhacked,y=u.buildQueue,B=u.buildQueueLen,I=u.recipes,L=u.categories,T=(0,o.useSharedState)(c,"category",0),A=T[0],x=T[1];A===0&&(A="Tools");var E=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),R=P[0],D=P[1],F=(0,k.createSearch)(R,function(G){return G.name}),U="";B>0&&(U=y.map(function(G,X){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:y[X][0],onClick:function(){function Y(){return d("remove_from_queue",{remove_from_queue:y.indexOf(G)+1})}return Y}()},G)},X)}));var _=(0,a.flow)([(0,t.filter)(function(G){return(G.category.indexOf(A)>-1||R)&&(u.showhacked||!G.hacked)}),R&&(0,t.filter)(F),(0,t.sortBy)(function(G){return G.name.toLowerCase()})])(I),z="Build";return R?z="Results for: '"+R+"':":A&&(z="Build ("+A+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:z,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function G(X){return x(X)}return G}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function G(X,Y){return D(Y)}return G}(),mb:1}),_.map(function(G){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+G.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===1,disabled:!S(G,u.metal_amount,u.glass_amount,1),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:1})}return X}(),children:(0,k.toTitleCase)(G.name)}),G.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===10,disabled:!S(G,u.metal_amount,u.glass_amount,10),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:10})}return X}(),children:"10x"}),G.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===25,disabled:!S(G,u.metal_amount,u.glass_amount,25),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:25})}return X}(),children:"25x"}),G.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===G.max_multiplier,disabled:!S(G,u.metal_amount,u.glass_amount,G.max_multiplier),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:G.max_multiplier})}return X}(),children:[G.max_multiplier,"x"]}),G.requirements&&Object.keys(G.requirements).map(function(X){return(0,k.toTitleCase)(X)+": "+G.requirements[X]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},G.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[U,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function G(){return d("clear_queue")}return G}()})]})]})]})})})}return h}()},81617:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BioChipPad=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.implant,m=l.contains_case,d=l.gps,u=l.tag,s=(0,a.useLocalState)(S,"newTag",u),i=s[0],C=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function v(){return h("eject_case")}return v}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function v(){return h("tag",{newtag:i})}return v}(),onInput:function(){function v(g,p){return C(p)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===i,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function v(){return h("tag",{newtag:i})}return v}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return V}()},26215:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.Biogenerator=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.config,i=u.container,C=u.processing,v=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:C,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),i?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,k)]})})})}return l}(),k=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,C=s.container,v=s.container_curr_reagents,g=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),C?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+g+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.has_plants,C=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return u("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!C,tooltip:C?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return u("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return u("eject_plants")}return v}()})})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,C=s.product_list,v=(0,a.useSharedState)(m,"vendAmount",1),g=v[0],p=v[1],N=Object.entries(C).map(function(y,B){var I=Object.entries(y[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:y[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:iu&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!p&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),u>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:d===0,tooltip:"Set to 0",onClick:function(){function I(){return l("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return l("set",{set_level:u})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return l("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:u,minValue:0,color:B,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return l("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return l("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return l("set",{set_level:g})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(C)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(y)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(v)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return l("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return k}()},71736:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(96524),a=n(36121),t=n(78234),o=n(17899),f=n(24674),V=n(45493),k=[["good","Alive"],["average","Critical"],["bad","DEAD"]],S=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],b=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],h={average:[.25,.5],bad:[.5,1/0]},l=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function y(B,I){var L=(0,o.useBackend)(I),T=L.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:M})})}return y}(),u=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,C,{occupant:I}),(0,e.createComponentVNode)(2,g,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:k[x.stat][0],children:k[x.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},i=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},C=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:l(b,function(L,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,v,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},p=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},99449:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(18963),k=r.BookBinder=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.selectedbook,u=m.book_categories,s=[];return u.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:u.map(function(i){return i.description}),onSelected:function(){function i(C){return c("toggle_binder_category",{category_id:s[C]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(i){return d.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function C(){return c("toggle_binder_category",{category_id:i.category_id})}return C}()},i.category_id)})]})})]})})})]})}return S}()},85951:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(l){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(l)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],C=s[1],v={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},g=function(){function p(N){return v[N]?(0,e.createComponentVNode)(2,k,{model:v[N]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===N,onClick:function(){function y(){return C(N)}return y}(),children:v[N]},N)})})}),g(i)]})})})}return h}(),k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return s[l.model]!==void 0?(0,e.createComponentVNode)(2,b,{model:[l.model]}):(0,e.createComponentVNode)(2,S,{model:[l.model]})},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[l.model]," detected"]})})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[l.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?f(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function C(){return d("interface",{botref:i.UID})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function C(){return d("call",{botref:i.UID})}return C}()})})]},i.UID)})]})})})}},43506:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotClean=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,C=c.canhack,v=c.emagged,g=c.remote_disabled,p=c.painame,N=c.cleanblood,y=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return l("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:y?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return l("area")}return B}()}),y!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:y})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function B(){return l("ejectpai")}return B}()})})]})})}return k}()},89593:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotFloor=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.hullplating,s=c.replace,i=c.eat,C=c.make,v=c.fixfloor,g=c.nag_empty,p=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:m,onClick:function(){function y(){return l("autotile")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function y(){return l("replacetiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function y(){return l("fixfloors")}return y}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:m,onClick:function(){function y(){return l("eattiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function y(){return l("maketiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Transmit notice when empty",disabled:m,onClick:function(){function y(){return l("nagonempty")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:m,onClick:function(){function y(){return l("anchored")}return y}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function y(){return l("ejectpai")}return y}()})})]})})}return k}()},89513:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotHonk=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return k}()},19297:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotMed=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,C=c.canhack,v=c.emagged,g=c.remote_disabled,p=c.painame,N=c.shut_up,y=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,T=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:y,disabled:d,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,j){return l("set_heal_threshold",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,j){return l("set_injection_amount",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:d,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:d,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:d,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return k}()},4249:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotSecurity=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.check_id,s=c.check_weapons,i=c.check_warrant,C=c.arrest_mode,v=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Unidentifiable Persons",disabled:m,onClick:function(){function g(){return l("authid")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function g(){return l("authweapon")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:m,onClick:function(){function g(){return l("authwarrant")}return g}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function g(){return l("arrtype")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function g(){return l("arrdeclare")}return g}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function g(){return l("ejectpai")}return g}()})})]})})}return k}()},27267:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(96524),a=n(45493),t=n(24674),o=n(17899),f=function(b,h){var l=b.cell,c=(0,o.useBackend)(h),m=c.act,d=l.cell_id,u=l.occupant,s=l.crimes,i=l.brigged_by,C=l.time_left_seconds,v=l.time_set_seconds,g=l.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var N=function(){m("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:C})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:N,children:"Release"})})]})},V=function(b){var h=b.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),h.map(function(l){return(0,e.createComponentVNode)(2,f,{cell:l},l.ref)})]})},k=r.BrigCells=function(){function S(b,h){var l=(0,o.useBackend)(h),c=l.act,m=l.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},26623:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BrigTimer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var b=function(d,u){var s,i;if(!u)return[];var C=d.findIndex(function(v){return v.name===u.name});return[(s=d[C-1])==null?void 0:s.name,(i=d[C+1])==null?void 0:i.name]},h=function(d,u){u===void 0&&(u="");var s=(0,f.createSearch)(u,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(d)},l=r.CameraConsole=function(){function m(d,u){var s=(0,V.useBackend)(u),i=s.act,C=s.data,v=s.config,g=C.mapRef,p=C.activeCamera,N=h(C.cameras),y=b(N,p),B=y[0],I=y[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return i("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,k.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,u){var s=(0,V.useBackend)(u),i=s.act,C=s.data,v=(0,V.useLocalState)(u,"searchText",""),g=v[0],p=v[1],N=C.activeCamera,y=h(C.cameras,g);return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,scrollable:!0,children:y.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return i("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},95513:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(92986),V=n(45493),k=r.Canister=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.portConnected,u=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,C=m.minReleasePressure,v=m.maxReleasePressure,g=m.valveOpen,p=m.name,N=m.canLabel,y=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=y.prim.options[B.prim].name);var A="";B.sec&&(A=y.sec.options[B.sec].name);var x="";B.ter&&(x=y.ter.options[B.ter].name);var E="";B.quart&&(E=y.quart.options[B.quart].name);var M=[],j=[],P=[],R=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!p.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function N(){return s("make_job_available",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:p.title})}return N}()})})]},p.title)})]})})]}):g=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):i.modify_name?g=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(N){return s("set",{access:N})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(N){return s("grant_region",{region:N})}return p}(),denyDep:function(){function p(N){return s("deny_region",{region:N})}return p}()}):g=(0,e.createComponentVNode)(2,b);break;case 3:i.authenticated?i.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):g=(0,e.createComponentVNode)(2,h):g=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:p.name})}return N}()})})]},p.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:C}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},16377:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),k=n(78234),S=r.CargoConsole=function(){function u(s,i){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return u}(),b=function(s,i){var C=(0,o.useLocalState)(i,"contentsModal",null),v=C[0],g=C[1],p=(0,o.useLocalState)(i,"contentsModalTitle",null),N=p[0],y=p[1];if(v!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:v.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){g(null),y(null)}return B}()})})]})},h=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.is_public,N=g.timeleft,y=g.moving,B=g.at_station,I,L;return!y&&!B?(I="Docked off-station",L="Call Shuttle"):!y&&B?(I="Docked at the station",L="Return Shuttle"):y&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:y,onClick:function(){function T(){return v("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return v("showMessages")}return T}()})]})]})})})},l=function(s,i){var C,v=(0,o.useBackend)(i),g=v.act,p=v.data,N=p.accounts,y=(0,o.useLocalState)(i,"selectedAccount"),B=y[0],I=y[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(C=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:C.name,onSelected:function(){function T(A){return I(L[A])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.requests,N=g.categories,y=g.supply_packs,B=(0,o.useSharedState)(i,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(i,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],j=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),R=P[0],D=P[1],F=(0,k.createSearch)(A,function(Y){return Y.name}),U=(0,o.useLocalState)(i,"selectedAccount"),_=U[0],z=U[1],G=(0,a.flow)([(0,t.filter)(function(Y){return Y.cat===N.filter(function(J){return J.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(y),X="Crate Catalogue";return A?X="Results for '"+A+"':":I&&(X="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:X,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(Y){return Y.name}),selected:I,onSelected:function(){function Y(J){return L(J)}return Y}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(J,ie){return x(ie)}return Y}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:G.map(function(Y){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[Y.name," (",Y.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!1,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||Y.singleton,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!0,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){j(Y.contents),D(Y.name)}return J}()})]})]},Y.name)})})})]})})},m=function(s,i){var C=s.request,v,g;switch(C.department){case"Engineering":g="CE",v="orange";break;case"Medical":g="CMO",v="teal";break;case"Science":g="RD",v="purple";break;case"Supply":g="CT",v="brown";break;case"Service":g="HOP",v="olive";break;case"Security":g="HOS",v="red";break;case"Command":g="CAP",v="blue";break;case"Assistant":g="Any Head",v="grey";break}return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!C.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!C.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:v,content:g,disabled:C.req_cargo_approval,icon:"user-tie",tooltip:C.req_cargo_approval?"This Order first requires approval from the QM before the "+g+" can approve it":"This Order requires approval from the "+g+" still"})})]})},d=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.requests,N=g.orders,y=g.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:p.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return v("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return v("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:y.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},89917:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ChangelogView=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],u=l.cl_data,s=l.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},C=function(){function v(g){return g in i?i[g]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function v(){return d(!m)}return v}()}),children:u.map(function(v){return!m&&v.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:v.author+" - Merged on "+v.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+v.num,onClick:function(){function g(){return h("open_pr",{pr_number:v.num})}return g}()}),children:v.entries.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[C(g.etype)," ",g.etext]},g)})},v)})})})})}return V}()},71254:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(1496),f=n(45493),V=[1,5,10,20,30,50],k=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+C.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l)]})})})}return c}(),b=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.amount,v=i.energy,g=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[v," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:V.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:C===p,content:p,onClick:function(){function y(){return s("amount",{amount:p})}return y}()})},N)})})})]})})})},h=function(m,d){for(var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.chemicals,v=C===void 0?[]:C,g=[],p=0;p<(v.length+1)%3;p++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[v.map(function(N,y){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},y)}),g.map(function(N,y){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},y)})]})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.isBeakerLoaded,v=i.beakerCurrentVolume,g=i.beakerMaxVolume,p=i.beakerContents,N=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!C&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!C,onClick:function(){function y(){return s("ejectBeaker")}return y}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:N,buttons:function(){function y(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),k.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return y}()})})})}},27004:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(1496),V=n(45493),k=r.ChemHeater=function(){function h(l,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.targetTemp,i=u.targetTempReached,C=u.autoEject,v=u.isActive,g=u.currentTemp,p=u.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){function N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:v?"On":"Off",icon:"power-off",selected:v,disabled:!p,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(y,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function N(y){return(0,a.toFixed)(y)+" K"}return N}()})||"\u2014"})]})})})},b=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerCurrentVolume,C=u.beakerMaxVolume,v=u.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",C," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return d("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:v})})})}},41099:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(1496),V=n(99665),k=n(28234),S=["icon"];function b(I,L){if(I==null)return{};var T={},A=Object.keys(I),x,E;for(E=0;E=0)&&(T[x]=I[x]);return T}function h(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,l(I,L)}function l(I,L){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function T(A,x){return A.__proto__=x,A}return T}(),l(I,L)}var c=[1,5,10],m=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:M.idx,beaker:L.args.beaker})}return j}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),u=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.beaker,j=E.beaker_reagents,P=E.buffer_reagents,R=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(F,U){return(0,e.createComponentVNode)(2,t.Box,{mb:U0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function P(R,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(R=P.map(function(D){var F=D.id,U=D.sprite;return(0,e.createComponentVNode)(2,N,{icon:U,color:"translucent",onClick:function(){function _(){return x("set_sprite_style",{production_mode:M,style:F})}return _}(),selected:j===F},F)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.loaded_pill_bottle_style,j=E.containerstyles,P=E.loaded_pill_bottle,R={width:"20px",height:"20px"},D=j.map(function(F){var U=F.color,_=F.name,z=M===U;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function G(){return x("set_container_style",{style:U})}return G}(),icon:z&&"check",iconStyle:{position:"relative","z-index":1},tooltip:_,tooltipPosition:"top",children:[!z&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":U,opacity:.6,filter:"alpha(opacity=60)"}})]},U)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return x("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function F(){return x("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},51327:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(17442),V=1,k=32,S=128,b=r.CloningConsole=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.tab,N=g.has_scanner,y=g.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:y})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,icon:"home",onClick:function(){function B(){return v("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===2,icon:"user",onClick:function(){function B(){return v("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,h)})]})})}return u}(),h=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.tab,p;return g===1?p=(0,e.createComponentVNode)(2,l):g===2&&(p=(0,e.createComponentVNode)(2,c)),p},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.pods,N=g.pod_amount,y=g.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&p.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:y===B.uid,onClick:function(){function L(){return v("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.selected_pod_data,N=g.has_scanned,y=g.scanner_has_patient,B=g.feedback,I=g.scan_successful,L=g.cloning_cost,T=g.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function A(){return v("scan")}return A}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function A(){return v("eject")}return A}(),children:"Eject Patient"})]}),children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:y?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_all")}return A}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_none")}return A}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("clone")}return A}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.patient_limb_data,N=g.limb_list,y=g.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0]+y[B][1],maxValue:p[B][5],ranges:{good:[0,p[B][5]/3],average:[p[B][5]/3,2*p[B][5]/3],bad:[2*p[B][5]/3,p[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+y[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+y[B][1]]})}),p[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][3],onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][0]||p[B][1]),checked:!(y[B][0]||y[B][1]),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&V),checked:!(y[B][2]&V),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&k),checked:!(y[B][2]&k),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&S),checked:!(y[B][2]&S),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.patient_organ_data,N=g.organ_list,y=g.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[B][3],":"," "]}),p[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][2]&&!y[B][1],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!p[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[B][0],checked:!y[B][0],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][3]," is missing!"]}),!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0],maxValue:p[B][4],ranges:{good:[0,p[B][4]/3],average:[p[B][4]/3,2*p[B][4]/3],bad:[2*p[B][4]/3,p[B][4]]},children:"Post-Cloning Damage: "+y[B][0]})]})]})},B)})})}},66373:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CloningPod=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.biomass,m=l.biomass_storage_capacity,d=l.sanguine_reagent,u=l.osseous_reagent,s=l.organs,i=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function C(v,g){return h("remove_reagent",{reagent:"sanguine_reagent",amount:g})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return h("purge_reagent",{reagent:"sanguine_reagent"})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function C(v,g){return h("remove_reagent",{reagent:"osseous_reagent",amount:g})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return h("purge_reagent",{reagent:"osseous_reagent"})}return C}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(C){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:C.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function v(){return h("eject_organ",{organ_ref:C.ref})}return v}()})})]},C)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},38781:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.CoinMint=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.materials,d=c.moneyBag,u=c.moneyBagContent,s=c.moneyBagMaxContent,i=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function C(){return l("activate")}return C}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function C(){return l("ejectMat")}return C}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:C.id===c.chosenMaterial,tooltip:C.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.amount})]}),onClick:function(){function v(){return l("selectMaterial",{material:C.id})}return v}()},C.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function C(){return l("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:u,children:[u," / ",s]})})})]})})})}return k}()},11866:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ColourMatrixTester=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.colour_data,m=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[u.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[u.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,C){return h("setvalue",{idx:u.idx+1,value:C})}return s}()})]},u.name)})},d)})})})})})}return V}()},22420:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),f(p)]})})})}return u}(),k=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.authenticated,N=g.noauthbutton,y=g.esc_section,B=g.esc_callable,I=g.esc_recallable,L=g.esc_status,T=g.authhead,A=g.is_ai,x=g.lastCallLoc,E=!1,M;return p?p===1?M="Command":p===2?M="Captain":p===3?M="CentComm Officer":p===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:p?"sign-out-alt":"id-card",selected:p,disabled:N,content:p?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return v("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!y&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function j(){return v("callshuttle")}return j}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||A,onClick:function(){function j(){return v("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin;return p?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,h)},b=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin,N=g.gamma_armory_location,y=g.admin_levels,B=g.authenticated,I=g.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:y,required_access:p,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!p,onClick:function(){function L(){return v("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return v("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return v("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return v("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return v("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return v("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return v("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return v("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,h)})]})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.msg_cooldown,N=g.emagged,y=g.cc_cooldown,B=g.security_level_color,I=g.str_security_level,L=g.levels,T=g.authcapt,A=g.authhead,x=g.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var M=N?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return y>0&&(M+=" ("+y+"s)",j+=" ("+y+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||p>0,onClick:function(){function P(){return v("announce")}return P}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||y>0,onClick:function(){function P(){return v("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function P(){return v("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||y>0,onClick:function(){function P(){return v("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!T||y>0,onClick:function(){function P(){return v("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function P(){return v("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function P(){return v("messagelist")}return P}()})})]})})})],4)},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.stat_display,N=g.authhead,y=g.current_message_title,B=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:L.name})}return T}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return v("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!N,onClick:function(){function L(){return v("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!N,onClick:function(){function L(){return v("setmsg2")}return L}()})})]})})})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.authhead,N=g.current_message_title,y=g.current_message,B=g.messages,I=g.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,onClick:function(){function A(){return v("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:y})})});else{var T=B.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!p||N===A.title,onClick:function(){function x(){return v("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!p,onClick:function(){function x(){return v("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return v("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=s.levels,N=s.required_access,y=s.use_confirm,B=g.security_level;return y?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin,N=g.possible_cc_sounds;if(!p)return v("main");var y=(0,a.useLocalState)(i,"subtitle",""),B=y[0],I=y[1],L=(0,a.useLocalState)(i,"text",""),T=L[0],A=L[1],x=(0,a.useLocalState)(i,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(i,"beepsound","Beep"),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function D(){return v("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function D(F,U){return I(U)}return D}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function D(F,U){return A(U)}return D}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function D(){return v("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:P})}return D}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:N,selected:P,onSelected:function(){function D(F){return R(F)}return D}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function D(){return v("test_sound",{sound:P})}return D}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function D(){return M(!E)}return D}()})})]})]})})}},46868:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CompostBin=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.biomass,m=l.compost,d=l.biomass_capacity,u=l.compost_capacity,s=l.potassium,i=l.potassium_capacity,C=l.potash,v=l.potash_capacity,g=(0,a.useSharedState)(S,"vendAmount",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[m," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:C,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[C," / ",v," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function y(B,I){return N(I)}return y}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*p,icon:"arrow-circle-down",onClick:function(){function y(){return h("create",{amount:p})}return y}()})})})]})})})}return V}()},64707:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(99509),V=n(45493);function k(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,S(v,g)}function S(v,g){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function p(N,y){return N.__proto__=y,N}return p}(),S(v,g)}var b={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},h=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function v(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function x(){return y("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),T=L[0],A=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return v}(),c=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.tc_available,L=B.tc_paid_out,T=B.completed_contracts,A=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return y("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return y("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return y("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,A=!!L&&I.filter(function(P){return P.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A.time_left,format:function(){function P(R,D){return" ("+D.substr(3)+")"}return P}()})],onClick:function(){function P(){return y("extract")}return P}()})},g,{children:I.slice().sort(function(P,R){return P.status===1?-1:R.status===1?1:P.status-R.status}).map(function(P){var R;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+P.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!b[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:b[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:b[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return y("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",u(P)]}),(R=P.difficulties)==null?void 0:R.map(function(D,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function U(){return y("activate",{uid:P.uid,difficulty:F+1})}return U}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},u=function(g){if(!(!g.objective||g.status>1)){var p=g.objective.locs.user_area_id,N=g.objective.locs.user_coords,y=g.objective.locs.target_area_id,B=g.objective.locs.target_coords,I=p===y;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},i=function(v){function g(N){var y;return y=v.call(this,N)||this,y.timer=null,y.state={currentIndex:0,currentDisplay:[]},y}k(g,v);var p=g.prototype;return p.tick=function(){function N(){var y=this.props,B=this.state;if(B.currentIndex<=y.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(y.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(y.onFinished,y.finishedTimeout)}return N}(),p.componentDidMount=function(){function N(){var y=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return y.tick()},1e3/I)}return N}(),p.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),p.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(y){return(0,e.createFragment)([y,(0,e.createVNode)(1,"br")],0,y)})})}return N}(),g}(e.Component),C=function(g,p){var N=(0,t.useLocalState)(p,"viewingPhoto",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:y}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},52141:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ConveyorSwitch=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.slowFactor,m=l.oneWay,d=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function u(){return h("toggleOneWay")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function u(){return h("slowFactor",{value:c-5})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function u(){return h("slowFactor",{value:c-1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function u(s){return s+"x"}return u}(),onChange:function(){function u(s,i){return h("slowFactor",{value:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function u(){return h("slowFactor",{value:c+1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function u(){return h("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return V}()},94187:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(96524),a=n(50640),t=n(78234),o=n(17899),f=n(24674),V=n(5126),k=n(38424),S=n(45493),b=function(u,s){return u.dead?"Deceased":parseInt(u.health,10)<=s?"Critical":parseInt(u.stat,10)===1?"Unconscious":"Living"},h=function(u,s){return u.dead?"red":parseInt(u.health,10)<=s?"orange":parseInt(u.stat,10)===1?"blue":"green"},l=r.CrewMonitor=function(){function d(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,o.useLocalState)(s,"tabIndex",0),p=g[0],N=g[1],y=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:p===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:p===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),y(p)]})})})}return d}(),c=function(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,a.sortBy)(function(A){return A.name})(v.crewmembers||[]),p=v.possible_levels,N=v.viewing_current_z_level,y=v.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return L(E)}return A}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:y?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:p,selected:N,onSelected:function(){function A(x){return C("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),g.filter(T).map(function(A){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(A,v.critThreshold),children:b(A,v.critThreshold)}),A.sensor_type>=2||v.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:A.sensor_type===3||v.ignoreSensors?v.isAI||v.isObserver?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:A.area+" ("+A.x+", "+A.y+")",onClick:function(){function x(){return C("track",{track:A.ref})}return x}()}):A.area+" ("+A.x+", "+A.y+")":(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},m=function(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,o.useLocalState)(s,"zoom",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function y(B){return N(B)}return y}(),children:v.crewmembers.filter(function(y){return y.sensor_type===3||v.ignoreSensors}).map(function(y){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:y.x,y:y.y,zoom:p,icon:"circle",tooltip:y.name+" ("+y.assignment+")",color:h(y,v.critThreshold),onClick:function(){function B(){return v.isObserver?C("track",{track:y.ref}):null}return B}()},y.ref)})})})}},60561:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=r.Cryo=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isOperating,i=u.hasOccupant,C=u.occupant,v=C===void 0?[]:C,g=u.cellTemperature,p=u.cellTemperatureStatus,N=u.isBeakerLoaded,y=u.cooldownProgress,B=u.auto_eject_healthy,I=u.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:v.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:y,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerLabel,C=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!C&&"bad",ml:1,children:C?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C,format:function(){function v(g){return Math.round(g)+" units remaining"}return v}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},27889:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=r.CryopodConsole=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.account_name,u=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,k),!!u&&(0,e.createComponentVNode)(2,S)]})})}return b}(),k=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(u,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:u.name,children:u.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.frozen_items,s=function(C){var v=C.toString();return v.startsWith("the ")&&(v=v.slice(4,v.length)),(0,f.toTitleCase)(v)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:u.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:i.uid})}return C}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},81434:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],b=r.DNAModifier=function(){function p(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.irradiating,A=L.dnaBlockSize,x=L.occupant;y.dnaBlockSize=A,y.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,v,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return p}(),h=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[x.stat][0],children:V[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),y.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedMenuKey,A=L.hasOccupant,x=L.occupant;if(A){if(y.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,u):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:k.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},j)})}),E]})},c=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:A,blockSize:y.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function M(j){return j.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(j,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:x.structuralEnzymes,selectedBlock:T,selectedSubblock:A,blockSize:y.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationIntensity",{value:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationDuration",{value:M})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},u=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.buffers,A=T.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.id,A=N.name,x=N.buffer,E=L.isInjectorReady,M=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function j(){return I("bufferOption",{option:"clear",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function j(){return I("bufferOption",{option:"changeLabel",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function j(){return I("bufferOption",{option:"saveDisk",id:T})}return j}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUI",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveSE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"loadDisk",id:T})}return j}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"transfer",id:T})}return j}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:T?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},C=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function j(){return I("injectRejuvenators",{amount:E})}return j}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},v=function(N,y){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},g=function(N,y){for(var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.dnaString,A=N.selectedBlock,x=N.selectedSubblock,E=N.blockSize,M=N.action,j=T.split(""),P=0,R=[],D=function(){for(var _=F/E+1,z=[],G=function(){var J=X+1;z.push((0,e.createComponentVNode)(2,t.Button,{selected:A===_&&x===J,content:j[F+X],mb:"0",onClick:function(){function ie(){return I(M,{block:_,subblock:J})}return ie}()}))},X=0;Xi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:g})}return N}()})})]})})})},h=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:C&&C.length?C.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function g(){return s("view_player_panel",{uid:v.sender_uid})}return g}(),tooltip:"View player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=(0,a.useLocalState)(d,"text",""),v=C[0],g=C[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:v,onChange:function(){function p(N,y){return g(y)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:v})}return p}()})]})})}},24503:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.EconomyManager=function(){function S(b,h){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return S}(),k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"global"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department_members"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"crew_member"})}return u}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",d," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function u(){return c("delay_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function u(){return c("set_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function u(){return c("accelerate_payroll")}return u}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},15543:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Electropack=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.power,d=c.code,u=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:u/10,format:function(){function C(v){return(0,a.toFixed)(v,1)}return C}(),width:"80px",onChange:function(){function C(v,g){return l("freq",{freq:g})}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function C(v,g){return l("code",{code:g})}return C}()})})]})})})})}return k}()},57013:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.Emojipedia=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.data,m=c.emoji_list,d=(0,t.useLocalState)(h,"searchText",""),u=d[0],s=d[1],i=m.filter(function(C){return C.name.toLowerCase().includes(u.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:u,onInput:function(){function C(v,g){return s(g)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+C.name]),style:{transform:"scale(1.5)"},tooltip:C.name,onClick:function(){function v(){k(C.name)}return v}()},C.name)})})})})}return S}(),k=function(b){var h=document.createElement("input"),l=":"+b+":";h.value=l,document.body.appendChild(h),h.select(),document.execCommand("copy"),document.body.removeChild(h)}},99012:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(74041),k=n(50640),S=r.EvolutionMenu=function(){function l(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})})})}return l}(),b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,C=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!C,content:"Readapt",icon:"sync",onClick:function(){function v(){return u("readapt")}return v}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,C=s.ability_tabs,v=s.purchased_abilities,g=s.view_mode,p=(0,t.useLocalState)(m,"selectedTab",C[0]),N=p[0],y=p[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",C[0].abilities),A=T[0],x=T[1],E=function(R,D){if(D===void 0&&(D=""),!R||R.length===0)return[];var F=(0,a.createSearch)(D,function(U){return U.name+"|"+U.description});return(0,V.flow)([(0,k.filter)(function(U){return U==null?void 0:U.name}),(0,k.filter)(F),(0,k.sortBy)(function(U){return U==null?void 0:U.name})])(R)},M=function(R){if(L(R),R==="")return x(N.abilities);x(E(C.map(function(D){return D.abilities}).flat(),R))},j=function(R){y(R),x(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(R,D){M(D)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"square-o":"check-square-o",selected:!g,content:"Compact",onClick:function(){function P(){return u("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"check-square-o":"square-o",selected:g,content:"Expanded",onClick:function(){function P(){return u("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:C.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===P,onClick:function(){function R(){j(P)}return R}(),children:P.category},P)})}),A.map(function(P,R){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),v.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||v.includes(P.power_path),content:"Evolve",onClick:function(){function D(){return u("purchase",{power_path:P.power_path})}return D}()})})]}),!!g&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},R)})]})})}},37504:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(96524),a=n(28234),t=n(78234),o=n(17899),f=n(24674),V=n(99509),k=n(45493),S=["id","amount","lineDisplay","onClick"];function b(v,g){if(v==null)return{};var p={},N=Object.keys(v),y,B;for(B=0;B=0)&&(p[y]=v[y]);return p}var h=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function v(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,k.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,k.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return v}(),m=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,i,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return y("withdraw",{id:A})}return x}()},A)})})},d=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(p,"searchText",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(R){return R.name}),P=T.filter(j);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(D){return y("category",{cat:D})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return y("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return y("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(D,F){return M(F)}return R}()}),P.map(function(R){return(0,e.createComponentVNode)(2,C,{design:R},R.id)}),P.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},u=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:A,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,M){return M.substr(3)}return x}()}),")"]})]})})})},s=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.queue,L=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(x){return x[1]<0}),A=I.reduce(function(x,E){return x+E.time},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return y("process")}return x}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return y("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,f.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function M(){return y("queueswap",{from:E+1,to:E})}return M}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},i=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=g.id,L=g.amount,T=g.lineDisplay,A=g.onClick,x=b(g,S),E=B.materials[I]||0,M=L||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var j=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:j&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/h*10)/10," ","sheets)"]})]})],4)})))}},C=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=g.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return y("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return y("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},9466:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),k=r.ExperimentConsole=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.open,u=m.feedback,s=m.occupant,i=m.occupant_name,C=m.occupant_status,v=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(C)}return B}(),y=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:y.color,children:y.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return p}(),g=v();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){function p(){return c("door")}return p}()}),children:g})]})})}return S}()},77284:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=0,V=1013,k=function(h){var l="good",c=80,m=95,d=110,u=120;return hd?l="average":h>u&&(l="bad"),l},S=r.ExternalAirlockController=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.chamber_pressure,s=d.exterior_status,i=d.interior_status,C=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:k(u),value:u,minValue:f,maxValue:V,children:[u," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!C,onClick:function(){function v(){return m("abort")}return v}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:C,onClick:function(){function v(){return m("cycle_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:C,onClick:function(){function v(){return m("cycle_int")}return v}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function v(){return m("force_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function v(){return m("force_int")}return v}()})]})]})]})})}return b}()},52516:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FaxMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return h("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return h("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return h("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return h("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return h("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return h("send")}return c}()})})]})})]})})}return V}()},24777:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FilingCabinet=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=b.config,m=l.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:u.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return h("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return V}()},88361:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.image,d=S.isSelected,u=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:u})},V=r.FloorPainter=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.availableStyles,d=c.selectedStyle,u=c.selectedDir,s=c.directionsPreview,i=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function C(){return l("cycle_style",{offset:-1})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function C(v){return l("select_style",{style:v})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function C(){return l("cycle_style",{offset:1})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:i[C],isSelected:d===C,onSelect:function(){function v(){return l("select_style",{style:C})}return v}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[C+"west",C,C+"east"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:v===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{image:s[v],isSelected:v===u,onSelect:function(){function g(){return l("select_direction",{direction:v})}return g}()})},v)})},C)})})})})]})})})}return k}()},70078:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},k=function(d,u){if(!(!d||!u)){if(d[2]!==u[2])return null;var s=Math.atan2(u[1]-d[1],u[0]-d[0]),i=Math.sqrt(Math.pow(u[1]-d[1],2)+Math.pow(u[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},S=r.GPS=function(){function m(d,u){var s=(0,t.useBackend)(u),i=s.data,C=i.emped,v=i.active,g=i.area,p=i.position,N=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:C?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,b,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:g,position:p})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,b)],0)})})})}return m}(),b=function(d,u){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},h=function(d,u){var s=(0,t.useBackend)(u),i=s.act,C=s.data,v=C.active,g=C.tag,p=C.same_z,N=(0,t.useLocalState)(u,"newTag",g),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function I(){return i("tag",{newtag:y})}return I}(),onInput:function(){function I(L,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===y,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:y})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},l=function(d,u){var s=d.title,i=d.area,C=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),V(C)]})})},c=function(d,u){var s=(0,t.useBackend)(u),i=s.data,C=i.position,v=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:v.map(function(g){return Object.assign({},g,k(C,g.position))}).map(function(g,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:g.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:g.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:g.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(g.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:g.distance>0?"arrow-right":"circle",rotation:-g.angle}),"\xA0",Math.floor(g.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:V(g.position)})]},p)})})})))}},92246:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(99665),f=n(45493),V=r.GeneModder=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,d,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),g===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})}),2)]})}return u}(),k=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},S=function(s,i){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},b=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.has_seed,N=g.seed,y=g.has_disk,B=g.disk,I,L;return p?I=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:N.name,onClick:function(){function T(){return v("eject_seed")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function T(){return v("variant_name")}return T}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function T(){return v("eject_seed")}return T}()})}),y?L=B.name:L="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:L,tooltip:"Select Empty Disk",onClick:function(){function T(){return v("select_empty_disk")}return T}()})})})]})})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.disk,N=g.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[N.map(function(y){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:y.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function B(){return v("extract",{id:y.id})}return B}()})})]},y)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function y(){return v("bulk_extract_core")}return y}()})})})]},"Core Genes")},l=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.reagent_genes,p=v.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:g,do_we_show:p})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.trait_genes,p=v.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:g,do_we_show:p})},m=function(s,i){var C=s.title,v=s.gene_set,g=s.do_we_show,p=(0,a.useBackend)(i),N=p.act,y=p.data,B=y.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:C,open:!0,children:g?v.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(B!=null&&B.can_extract),icon:"save",onClick:function(){function L(){return N("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return N("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},C)},d=function(s,i){var C=s.title,v=s.gene_set,g=s.do_we_show,p=(0,a.useBackend)(i),N=p.act,y=p.data,B=y.has_seed,I=y.empty_disks,L=y.stat_disks,T=y.trait_disks,A=y.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return N("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!B,icon:"arrow-circle-down",onClick:function(){function E(){return N("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!B,content:"Replace",onClick:function(){function E(){return N("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[T.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},27163:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(96524),a=n(24674),t=n(45493),o=n(98444),f=r.GenericCrewManifest=function(){function V(k,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},53808:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GhostHudPanel=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.security,m=l.medical,d=l.diagnostic,u=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=S.label,m=S.type,d=m===void 0?null:m,u=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,C=S.act_off,v=C===void 0?"hud_off":C;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:u?"On":"Off",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){function g(){return l(u?v:i,{hud_type:d})}return g}()})})]})}},32035:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GlandDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function u(){return h("dispense",{gland_id:d.id})}return u}()},d.id)})})})})}return V}()},33004:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GravityGen=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.charging_state,m=l.charge_count,d=l.breaker,u=l.ext_power,s=function(){function C(v){return v>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",v===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:u?"good":"bad",children:["[ ",u?"Powered":"Unpowered"," ]"]})}return C}(),i=function(){function C(v){if(v>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function C(){return h("breaker")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:u?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},39775:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=r.GuestPass=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return l("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return l("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function m(){return l("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return l("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return l("access",{access:d})}return m}(),grantAll:function(){function m(){return l("grant_all")}return m}(),denyAll:function(){function m(){return l("clear_all")}return m}(),grantDep:function(){function m(d){return l("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return l("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return l("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return k}()},22480:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[1,5,10,20,30,50],V=null,k=r.HandheldChemDispenser=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.amount,i=u.energy,C=u.maxEnergy,v=u.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[i," / ",C," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(g,p){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===g,content:g,onClick:function(){function N(){return d("amount",{amount:g})}return N}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"isolate"})}return g}()})]})})]})})})},b=function(l,c){for(var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.chemicals,i=s===void 0?[]:s,C=u.current_reagent,v=[],g=0;g<(i.length+1)%3;g++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(p,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:C===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function y(){return d("dispense",{reagent:p.id})}return y}()},N)}),v.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},22616:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.HealthSensor=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.on,u=m.user_health,s=m.minHealth,i=m.maxHealth,C=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function v(){return c("scan_toggle")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:C,format:function(){function v(g){return(0,a.toFixed)(g,1)}return v}(),width:"80px",onDrag:function(){function v(g,p){return c("alarm_health",{alarm_health:p})}return v}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:k(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return S}(),k=function(b){return b>50?"green":b>0?"orange":"red"}},76861:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Holodeck=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=(0,a.useLocalState)(b,"currentDeck",""),d=m[0],u=m[1],s=(0,a.useLocalState)(b,"showReload",!1),i=s[0],C=s[1],v=c.decks,g=c.ai_override,p=c.emagged,N=function(){function y(B){l("select_deck",{deck:B}),u(B),C(!0),setTimeout(function(){C(!1)},3e3)}return y}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[v.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:y,selected:y===d,onClick:function(){function B(){return N(y)}return B}()},y)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function y(){return l("ai_override")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function y(){return l("wildlifecarp")}return y}()})]})})]})]})})]})})]})}return k}(),V=function(S,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},96729:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Instrument=function(){function l(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return l}(),k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function C(){return u("help")}return C}()})]})})})},S=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.lines,C=s.playing,v=s.repeat,g=s.maxRepeats,p=s.tempo,N=s.minTempo,y=s.maxTempo,B=s.tickLag,I=s.volume,L=s.minVolume,T=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return u("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return u("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return u("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:C,disabled:i.length===0||v<0,icon:"play",content:"Play",onClick:function(){function x(){return u("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C,icon:"stop",content:"Stop",onClick:function(){function x(){return u("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:v,stepPixelSize:59,onChange:function(){function x(E,M){return u("repeat",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:p>=y,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p+B})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return u("setvolume",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,b)]})},b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.allowedInstrumentNames,C=s.instrumentLoaded,v=s.instrument,g=s.canNoteShift,p=s.noteShift,N=s.noteShiftMin,y=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,T=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,M;return B===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function j(P){return(0,a.round)(P*100)/100+" seconds"}return j}(),onChange:function(){function j(P,R){return u("setlinearfalloff",{new:R/10})}return j}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(P,R){return u("setexpfalloff",{new:R})}return j}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:C?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:v,width:"50%",onSelected:function(){function j(P){return u("switchinstrument",{name:P})}return j}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:N,maxValue:y,value:p,stepPixelSize:2,format:function(){function j(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return j}(),onChange:function(){function j(P,R){return u("setnoteshift",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function j(P){return u("setsustainmode",{new:P})}return j}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function j(P,R){return u("setdropoffvolume",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function j(){return u("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return u("reset")}return j}()})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.playing,C=s.lines,v=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!v||i,icon:"plus",content:"Add Line",onClick:function(){function g(){return u("newline",{line:C.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"chevron-up":"chevron-down",onClick:function(){function g(){return u("edit")}return g}()})],4),children:!!v&&(C.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:C.map(function(g,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function N(){return u("modifyline",{line:p+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function N(){return u("deleteline",{line:p+1})}return N}()})],4),children:g},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},53385:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.KeycardAuth=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function d(){return h("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function d(){return h("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function d(){return h("reset")}return d}()}),children:m})]})})}return V}()},58553:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.KitchenMachine=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=l.config,d=c.ingredients,u=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:u,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return S}(),k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.inactive,u=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},14047:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.LawManager=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.isAdmin,s=d.isSlaved,i=d.isMalf,C=d.isAIMalf,v=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(u&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||C)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:v===0,onClick:function(){function g(){return m("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:v===1,onClick:function(){function g(){return m("set_view",{set_view:1})}return g}()})]}),v===0&&(0,e.createComponentVNode)(2,V),v===1&&(0,e.createComponentVNode)(2,k)]})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.has_zeroth_laws,s=d.zeroth_laws,i=d.has_ion_laws,C=d.ion_laws,v=d.ion_law_nr,g=d.has_inherent_laws,p=d.inherent_laws,N=d.has_supplied_laws,y=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,A=d.zeroth_law,x=d.ion_law,E=d.inherent_law,M=d.supplied_law,j=d.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!i&&(0,e.createComponentVNode)(2,S,{title:v,laws:C,ctx:l}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:l}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:y,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:P.channel})}return R}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return m("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return m("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!u)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:j,onClick:function(){function P(){return m("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_supplied_law")}return P}()})]})]})]})})],0)},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(h,l){var c=(0,a.useBackend)(h.ctx),m=c.act,d=c.data,u=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:h.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),h.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},5872:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryComputer=function(){function v(g,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return v}(),k=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return y("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"rate_info",{bookid:I.id})}return T}()})]})},S=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.selected_report,T=B.report_categories,A=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===L,onClick:function(){function M(){return y("set_report",{report_type:x.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return y("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},b=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(T,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function x(){return y("set_rating",{rating_value:T})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},h=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return y("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},l=function(g,p){var N=(0,a.useBackend)(p),y=N.data,B=(0,a.useLocalState)(p,"tabIndex",0),I=B[0],L=B[1],T=y.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(g,p){var N=(0,a.useLocalState)(p,"tabIndex",0),y=N[0];switch(y){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,C);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},m=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return y("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return y("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return y("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return y("find_users_books",{user_ckey:T})}return x}()})]})]})},d=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.external_booklist,L=B.archive_pagenumber,T=B.num_pages,A=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function x(){return y("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return y("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,f.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function x(){return y("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function x(){return y("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return y("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return y("order_programmatic_book",{bookid:T.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,f.modalOpen)(p,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return y("uploadbook",{user_ckey:T})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return y("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return y("reportlost",{libraryid:L.libraryid})}return A}()})})]},T)})]})})},C=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",k),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",h)},37782:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryManager=function(){function l(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return l}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,h);case 3:return(0,e.createComponentVNode)(2,b);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return u("view_reported_books")}return i}()})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function C(){return u("return")}return C}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),C.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function v(){return u("delete_book",{bookid:C.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function v(){return u("unflag_book",{bookid:C.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return u("view_book",{bookid:C.id})}return v}()})]})]},C.id)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.ckey,C=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function v(){return u("return")}return v}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),C.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),v.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:v.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function g(){return u("delete_book",{bookid:v.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return u("view_book",{bookid:v.id})}return g}()})]})]},v.id)})]})})}},26133:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(24674),f=n(17899),V=n(68100),k=n(45493),S=r.ListInputModal=function(){function l(c,m){var d=(0,f.useBackend)(m),u=d.act,s=d.data,i=s.items,C=i===void 0?[]:i,v=s.message,g=v===void 0?"":v,p=s.init_value,N=s.timeout,y=s.title,B=(0,f.useLocalState)(m,"selected",C.indexOf(p)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=T[0],x=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],j=E[1],P=function(){function X(Y){var J=z.length-1;if(Y===V.KEY_DOWN)if(I===null||I===J){var ie;L(0),(ie=document.getElementById("0"))==null||ie.scrollIntoView()}else{var ae;L(I+1),(ae=document.getElementById((I+1).toString()))==null||ae.scrollIntoView()}else if(Y===V.KEY_UP)if(I===null||I===0){var fe;L(J),(fe=document.getElementById(J.toString()))==null||fe.scrollIntoView()}else{var pe;L(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return X}(),R=function(){function X(Y){Y!==I&&L(Y)}return X}(),D=function(){function X(){x(!1),x(!0)}return X}(),F=function(){function X(Y){var J=String.fromCharCode(Y),ie=C.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ie){var ae,fe=C.indexOf(ie);L(fe),(ae=document.getElementById(fe.toString()))==null||ae.scrollIntoView()}}return X}(),U=function(){function X(Y){var J;Y!==M&&(j(Y),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return X}(),_=function(){function X(){x(!A),j("")}return X}(),z=C.filter(function(X){return X==null?void 0:X.toLowerCase().includes(M.toLowerCase())}),G=330+Math.ceil(g.length/3);return A||setTimeout(function(){var X;return(X=document.getElementById(I.toString()))==null?void 0:X.focus()},1),(0,e.createComponentVNode)(2,k.Window,{title:y,width:325,height:G,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function X(Y){var J=window.event?Y.which:Y.keyCode;(J===V.KEY_DOWN||J===V.KEY_UP)&&(Y.preventDefault(),P(J)),J===V.KEY_ENTER&&(Y.preventDefault(),u("submit",{entry:z[I]})),!A&&J>=V.KEY_A&&J<=V.KEY_Z&&(Y.preventDefault(),F(J)),J===V.KEY_ESCAPE&&(Y.preventDefault(),u("cancel"))}return X}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function X(){return _()}return X}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b,{filteredItems:z,onClick:R,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:z,onSearch:U,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:z[I]})})]})})})]})}return l}(),b=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onClick,C=c.onFocusSearch,v=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function y(){return i(N)}return y}(),onDblClick:function(){function y(B){B.preventDefault(),u("submit",{entry:s[g]})}return y}(),onKeyDown:function(){function y(B){var I=window.event?B.which:B.keyCode;v&&I>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),C())}return y}(),selected:N===g,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(y){return y.toUpperCase()})},N)})})},h=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onSearch,C=c.searchQuery,v=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(p){p.preventDefault(),u("submit",{entry:s[v]})}return g}(),onInput:function(){function g(p,N){return i(N)}return g}(),placeholder:"Search...",value:C})}},71963:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(P,R){return M("configure",{key:T,value:R,ref:x})}return j}()})},V=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return M("configure",{key:T,value:!A,ref:x})}return j}()})},k=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:T,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,L){var T=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(L),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function P(R){return j("configure",{key:T,value:R,ref:E})}return P}()})},b=function(I,L){var T=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,k,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",P[x]]})},h=function(I,L){var T=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&A?"bad":"good",children:T&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&M?"bad":"good",bold:!0,children:T&&M?M:0})})]})},l=function(I,L){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})})]})],4)},c=function(I,L){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,P=I.statusburn,R=I.statustoxin,D=I.statusoxy,F=I.statustemp,U=I.statusnutrition,_=I.statusfingerprints,z=I.statusdna,G=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?R/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:R})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:D})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?U:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?z:"???"})]})}),!!T&&!!G&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),G.map(function(X){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[X.stage,"/",X.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.cure})]},X.name)})]})})],0)},m={rad_counter:h,health_analyzer:l,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var T=I.configuration_data,A=I.module_ref,x=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var M=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:A})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},C=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.malfunctioning,j=x.locked,P=x.open,R=x.selected_module,D=x.complexity,F=x.complexity_max,U=x.wearer_name,_=x.wearer_job,z=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function G(){return A("activate")}return G}()}),children:z}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:j?"lock-open":"lock",content:j?"Unlock":"Lock",onClick:function(){function G(){return A("lock")}return G}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[D," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[U,", ",_]})]})})},v=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.control,j=x.helmet,P=x.chestplate,R=x.gauntlets,D=x.boots,F=x.core,U=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:D||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:U/100,content:U+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},g=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.modules,j=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:j.length!==0&&j.map(function(P){var R=m[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(D){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:D.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function F(){return R(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.cooldown>0&&D.cooldown/10||"0","/",D.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:D.ref})}return F}(),icon:"bullseye",selected:D.module_active,tooltip:i(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return R(D.ref)}return F}(),icon:"cog",selected:P===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:D.ref})}return F}(),icon:"thumbtack",selected:D.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!D.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:D.description})]})})},D.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,d)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})]})})}return B}(),y=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return B}()},84274:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(99665),k=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.autolink,s=d.code,i=d.frequency,C=d.linkedMagnets,v=d.magnetConfiguration,g=d.path,p=d.pathPosition,N=d.probing,y=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:y?"power-off":"times",content:y?"On":"Off",selected:y,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(k.entries()).map(function(I){var L=I[0],T=I[1],A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:g.map(function(I,L){var T=k.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),C.map(function(I,L){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return m("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:v.electricityLevel.min,maxValue:v.electricityLevel.max,onChange:function(){function M(j,P){return m("set_electricity_level",{id:T,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:v.magneticField.min,maxValue:v.magneticField.max,onChange:function(){function M(j,P){return m("set_magnetic_field",{id:T,magneticField:P})}return M}()})})]})},T)})]})]})}return b}()},95752:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.MechBayConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.recharge_port,m=c&&c.mech,d=m&&m.cell,u=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return h("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},53668:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(78234),k=r.MechaControlConsole=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.beacons,u=m.stored_data;return u.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:u.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},96467:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(99665),V=n(45493),k=n(68159),S=n(27527),b=n(84537),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,f.modalOpen)(A,"edit",{field:x.edit,value:x.value})},m=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:h[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,P=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,u):P===3?R=(0,e.createComponentVNode)(2,s):P===4?R=(0,e.createComponentVNode)(2,i):P===5?R=(0,e.createComponentVNode)(2,p):P===6?R=(0,e.createComponentVNode)(2,N):P===7&&(R=(0,e.createComponentVNode)(2,y)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),u=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.records,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],U=(0,t.useLocalState)(x,"sortId","name"),_=U[0],z=U[1],G=(0,t.useLocalState)(x,"sortOrder",!0),X=G[0],Y=G[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ie,ae){return F(ae)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ie){var ae=X?1:-1;return J[_].localeCompare(ie[_])*ae}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[J.p_stat],onClick:function(){function ie(){return M("view_record",{view_record:J.ref})}return ie}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function j(){return M("del_all_med_records")}return j}()})})]})})},i=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical,R=j.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function D(){return M("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,C)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function D(){return M("new_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,g)],4)],0)},C=function(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.general;return!j||!j.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:j.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function D(){return c(x,P)}return D}()})]},R)})})}),!!j.has_photos&&j.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function F(){return c(x,R)}return F}()})]},D)})})})})},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,f.modalOpen)(x,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:D+1})}return F}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.virus,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],U=(0,t.useLocalState)(x,"sortId2","name"),_=U[0],z=U[1],G=(0,t.useLocalState)(x,"sortOrder2",!0),X=G[0],Y=G[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ie,ae){return F(ae)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ie){var ae=X?1:-1;return J[_].localeCompare(ie[_])*ae}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ie(){return M("vir",{vir:J.D})}return ie}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[J.severity],children:J.severity})]},J.id)})]})})})})],4)},N=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(R){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:R.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:R.delivered,minValue:0,maxValue:R.deliverygoal,ranges:{good:[R.deliverygoal*.5,1/0],average:[R.deliverygoal*.25,R.deliverygoal*.5],bad:[-1/0,R.deliverygoal*.25]},children:[R.delivered," / ",R.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:R.report})]})},R.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},y=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},B=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder",!0),R=P[0],D=P[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[U,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder2",!0),R=P[0],D=P[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[U,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.screen,R=j.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function D(){M("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},68211:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=h.product,s=h.productImage,i=h.productCategory,C=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:u.price>C,icon:"shopping-cart",content:u.price,textAlign:"left",onClick:function(){function v(){return m("purchase",{name:u.name,category:i})}return v}()})})]})},V=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=m.products,i=m.imagelist,C=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[C[u]].map(function(v){return(0,e.createComponentVNode)(2,f,{product:v,productImage:i[v.path],productCategory:C[u]},v.name)})})},k=r.MerchVendor=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return m("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",u!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[u||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,V)]})})]})})})}return b}(),S=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=d[1],i=m.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:u===1,onClick:function(){function C(){return s(1)}return C}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:u===2,onClick:function(){function C(){return s(2)}return C}(),children:"Decorations"})]})}},14162:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=["title","items"];function k(d,u){if(d==null)return{};var s={},i=Object.keys(d),C,v;for(v=0;v=0)&&(s[C]=d[C]);return s}var S={Alphabetical:function(){function d(u,s){return u-s}return d}(),Availability:function(){function d(u,s){return-(u.affordable-s.affordable)}return d}(),Price:function(){function d(u,s){return u.price-s.price}return d}()},b=r.MiningVendor=function(){function d(u,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return d}(),h=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.has_id,p=v.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return C("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.has_id,p=v.id,N=v.items,y=(0,t.useLocalState)(s,"search",""),B=y[0],I=y[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(B,function(D){return D[0]}),P=!1,R=Object.entries(N).map(function(D,F){var U=Object.entries(D[1]).filter(j).map(function(_){return _[1].affordable=g&&p.points>=_[1].price,_[1]}).sort(S[T]);if(U.length!==0)return E&&(U=U.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:D[0],items:U},D[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],v=i[1],g=(0,t.useLocalState)(s,"sort",""),p=g[0],N=g[1],y=(0,t.useLocalState)(s,"descending",!1),B=y[0],I=y[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(T,A){return v(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=u.title,p=u.items,N=k(u,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},N,{children:p.map(function(y){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:y.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v.has_id||v.id.points=0)&&(T[x]=I[x]);return T}var c=128,m=["security","engineering","medical","science","service","supply"],d={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},u=r.Newscaster=function(){function I(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.is_security,j=E.is_admin,P=E.is_silent,R=E.is_printing,D=E.screen,F=E.channels,U=E.channel_idx,_=U===void 0?-1:U,z=(0,t.useLocalState)(T,"menuOpen",!1),G=z[0],X=z[1],Y=(0,t.useLocalState)(T,"viewingPhoto",""),J=Y[0],ie=Y[1],ae=(0,t.useLocalState)(T,"censorMode",!1),fe=ae[0],pe=ae[1],be;D===0||D===2?be=(0,e.createComponentVNode)(2,i):D===1&&(be=(0,e.createComponentVNode)(2,C));var te=F.reduce(function(Q,ne){return Q+ne.unread},0);return(0,e.createComponentVNode)(2,V.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,k.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",G&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function Q(){return X(!G)}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:D===0,onClick:function(){function Q(){return x("headlines")}return Q}(),children:te>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function Q(){return x("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:D===2&&F[_-1]===Q,onClick:function(){function ne(){return x("channel",{uid:Q.uid})}return ne}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"wanted_notice")}return Q}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:fe?"minus-square":"minus-square-o",title:"Censor Mode: "+(fe?"On":"Off"),mb:"0.5rem",onClick:function(){function Q(){return pe(!fe)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return x("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function Q(){return x("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),be]})]})})]})}return I}(),s=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=L.icon,M=E===void 0?"":E,j=L.iconSpin,P=L.selected,R=P===void 0?!1:P,D=L.security,F=D===void 0?!1:D,U=L.onClick,_=L.title,z=L.children,G=l(L,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:U},G,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),z]})))},i=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.screen,j=E.is_admin,P=E.channel_idx,R=E.channel_can_manage,D=E.channels,F=E.stories,U=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"censorMode",!1),Y=X[0],J=X[1],ie=M===2&&P>-1?D[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!U&&(0,e.createComponentVNode)(2,v,{story:U,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ie?ie.icon:"newspaper",mr:"0.5rem"}),ie?ie.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ae){return!z.includes(ae.uid)&&ae.body.length+3>c?Object.assign({},ae,{body_short:ae.body.substr(0,c-4)+"..."}):ae}).map(function(ae,fe){return(0,e.createComponentVNode)(2,v,{story:ae},fe)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ie&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Y&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ie.admin&&!j,selected:ie.censored,icon:ie.censored?"comment-slash":"comment",content:ie.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ae(){return x("censor_channel",{uid:ie.uid})}return ae}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ae(){return(0,k.modalOpen)(T,"manage_channel",{uid:ie.uid})}return ae}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ie.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ie.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ie.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ie.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ae,fe){return ae+fe.view_count},0).toLocaleString()]})]})})]})},C=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.jobs,j=E.wanted,P=Object.entries(M).reduce(function(R,D){var F=D[0],U=D[1];return R+U.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,v,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!D.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",D.title]},D.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},v=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=L.story,j=L.wanted,P=j===void 0?!1:j,R=E.is_admin,D=(0,t.useLocalState)(T,"fullStories",[]),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"censorMode",!1),z=_[0],G=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&z&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function X(){return x("censor_story",{uid:M.uid})}return X}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(X,Y){return(0,e.createComponentVNode)(2,o.Box,{children:X||(0,e.createVNode)(1,"br")},Y)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function X(){return U([].concat(F,[M.uid]))}return X}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(L,T){var A=L.name,x=l(L,h),E=(0,t.useLocalState)(T,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function P(){return j(A)}return P}()},x)))},p=function(L,T){var A=(0,t.useLocalState)(T,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},N=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=!!L.args.uid&&E.channels.filter(function(ce){return ce.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,k.modalClose)(T);return}var j=L.id==="manage_channel",P=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),ae=ie[0],fe=ie[1],pe=(0,t.useLocalState)(T,"isPublic",j?!!(M!=null&&M.public):!1),be=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),ne=Q[0],me=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function ce(ue,oe){return U(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:z,onInput:function(){function ce(ue,oe){return G(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Y,onInput:function(){function ce(ue,oe){return J(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ae,width:"35%",mr:"0.5rem",onInput:function(){function ce(ue,oe){return fe(oe)}return ce}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ae,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:be,icon:be?"toggle-on":"toggle-off",content:be?"Yes":"No",onClick:function(){function ce(){return te(!be)}return ce}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ce(){return me(!ne)}return ce}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ce(){(0,k.modalAnswer)(T,L.id,"",{author:F,name:z.substr(0,49),description:Y.substr(0,128),icon:ae,public:be?1:0,admin_locked:ne?1:0})}return ce}()})]})},y=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.channels,P=E.channel_idx,R=P===void 0?-1:P,D=!!L.args.is_admin,F=L.args.scanned_user,U=j.slice().sort(function(ce,ue){if(R<0)return 0;var oe=j[R-1];if(oe.uid===ce.uid)return-1;if(oe.uid===ue.uid)return 1}).filter(function(ce){return D||!ce.frozen&&(ce.author===F||!!ce.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"channel",U.length>0?U[0].name:""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"title",""),ae=ie[0],fe=ie[1],pe=(0,t.useLocalState)(T,"body",""),be=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),ne=Q[0],me=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:z,onInput:function(){function ce(ue,oe){return G(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Y,options:U.map(function(ce){return ce.name}),mb:"0",width:"100%",onSelected:function(){function ce(ue){return J(ue)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ae,onInput:function(){function ce(ue,oe){return fe(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:be,onInput:function(){function ce(ue,oe){return te(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function ce(){return x(M?"eject_photo":"attach_photo")}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ae,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"}),be.split("\n").map(function(ce,ue){return(0,e.createComponentVNode)(2,o.Box,{children:ce||(0,e.createVNode)(1,"br")},ue)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ce(){return me(!ne)}return ce}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:z.trim().length===0||Y.trim().length===0||ae.trim().length===0||be.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ce(){(0,k.modalAnswer)(T,"create_story","",{author:z,channel:Y,title:ae.substr(0,127),body:be.substr(0,1023),admin_locked:ne?1:0})}return ce}()})]})},B=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.wanted,P=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(j==null?void 0:j.author)||R||"Unknown"),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"name",(j==null?void 0:j.title.substr(8))||""),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"description",(j==null?void 0:j.body)||""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ae=ie[0],fe=ie[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function pe(be,te){return U(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:z,maxLength:"128",onInput:function(){function pe(be,te){return G(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Y,maxLength:"512",rows:"4",onInput:function(){function pe(be,te){return J(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return x(M?"eject_photo":"attach_photo")}return pe}()}),!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return fe(!ae)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!j,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){x("clear_wanted_notice"),(0,k.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0||Y.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,k.modalAnswer)(T,L.id,"",{author:F,name:z.substr(0,127),description:Y.substr(0,511),admin_locked:ae?1:0})}return pe}()})]})};(0,k.modalRegisterBodyOverride)("create_channel",N),(0,k.modalRegisterBodyOverride)("manage_channel",N),(0,k.modalRegisterBodyOverride)("create_story",y),(0,k.modalRegisterBodyOverride)("wanted_notice",B)},26148:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=r.Noticeboard=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function u(){return l("interact",{paper:d.ref})}return u}(),onContextMenu:function(){function u(s){s.preventDefault(),l("showFull",{paper:d.ref})}return u}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return k}()},46940:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NuclearBomb=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return h("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return h("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return h("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return h("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return h("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return h("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return h("deploy")}return c}()})})})})}return V}()},35478:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(68100),f=n(17899),V=n(24674),k=n(45493),S=r.NumberInputModal=function(){function h(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.init_value,i=u.large_buttons,C=u.message,v=C===void 0?"":C,g=u.timeout,p=u.title,N=(0,f.useLocalState)(c,"input",s),y=N[0],B=N[1],I=function(){function A(x){x!==y&&B(x)}return A}(),L=function(){function A(x){x!==y&&B(x)}return A}(),T=140+Math.max(Math.ceil(v.length/3),v.length>0&&i?5:0);return(0,e.createComponentVNode)(2,k.Window,{title:p,width:270,height:T,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&d("submit",{entry:y}),E===o.KEY_ESCAPE&&d("cancel")}return A}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{input:y,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:y})})]})})})]})}return h}(),b=function(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.min_value,i=u.max_value,C=u.init_value,v=u.round_value,g=l.input,p=l.onClick,N=l.onChange,y=Math.round(g!==s?Math.max(g/2,s):i/2),B=g===s&&s>0||g===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:g===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!v,minValue:s,maxValue:i,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===i,icon:"angle-double-right",onClick:function(){function I(){return p(i)}return I}(),tooltip:g===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return p(y)}return I}(),tooltip:B?"Split":"Split ("+y+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===C,icon:"redo",onClick:function(){function I(){return p(C)}return I}(),tooltip:C?"Reset ("+C+")":"Reset"})})]})}},98476:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(45493),f=n(24674),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function d(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.hasOccupant,p=v.choice,N;return p?N=(0,e.createComponentVNode)(2,m):N=g?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function y(){return C("choiceOff")}return y}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function y(){return C("choiceOn")}return y}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),l=function(u,s){var i=(0,t.useBackend)(s),C=i.data,v=C.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:v.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxHealth,value:v.health/v.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),k.map(function(g,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:v[g[1]]/100,ranges:S,children:(0,a.round)(v[g[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxTemp,value:v.bodyTemperature/v.maxTemp,color:b[v.temperatureSuitability+3],children:[(0,a.round)(v.btCelsius),"\xB0C, ",(0,a.round)(v.btFaren),"\xB0F"]})}),!!v.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.bloodMax,value:v.bloodLevel/v.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[v.bloodPercent,"%, ",v.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Pulse",children:[v.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:v.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:v.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:v.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.verbose,p=v.health,N=v.healthAlarm,y=v.oxy,B=v.oxyAlarm,I=v.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return C(g?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:y,icon:y?"toggle-on":"toggle-off",content:y?"On":"Off",onClick:function(){function L(){return C(y?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return C(I?"critOff":"critOn")}return L}()})})]})}},98702:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(28234);function k(i,C){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=S(i))||C&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(i,C){if(i){if(typeof i=="string")return b(i,C);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return b(i,C)}}function b(i,C){(C==null||C>i.length)&&(C=i.length);for(var v=0,g=new Array(C);vv},m=function(C,v){var g=C.name,p=v.name;if(!g||!p)return 0;var N=g.match(h),y=p.match(h);if(N&&y&&g.replace(h,"")===p.replace(h,"")){var B=parseInt(N[1],10),I=parseInt(y[1],10);return B-I}return c(g,p)},d=function(C,v){var g=C.searchText,p=C.source,N=C.title,y=C.color,B=C.sorted,I=p.filter(l(g));return B&&I.sort(m),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,u,{thing:L,color:y},L.name)})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.color,y=C.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:y.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",y.assigned_role_sprite])})," ",y.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return p("orbit",{ref:y.ref})}return B}(),children:[y.name,y.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",y.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(C,v){for(var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.auto_observe,A=N.dead,x=N.ssd,E=N.ghosts,M=N.misc,j=N.npcs,P=(0,t.useLocalState)(v,"searchText",""),R=P[0],D=P[1],F={},U=k(B),_;!(_=U()).done;){var z=_.value;F[z.antag]===void 0&&(F[z.antag]=[]),F[z.antag].push(z)}var G=Object.entries(F);G.sort(function(Y,J){return c(Y[0],J[0])});var X=function(){function Y(J){for(var ie=0,ae=[G.map(function(be){var te=be[0],Q=be[1];return Q}),I,y,E,x,A,j,M];ie0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:G.map(function(Y){var J=Y[0],ie=Y[1];return(0,e.createComponentVNode)(2,o.Section,{title:J+" - ("+ie.length+")",level:2,children:ie.filter(l(R)).sort(m).map(function(ae){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:ae},ae.name)})},J)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:R,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:R,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:y,searchText:R,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:E,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:x,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:A,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:j,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:M,searchText:R,sorted:!1})]})})}return i}()},74015:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(81856);function k(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,V.createLogger)("OreRedemption"),b=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function i(C,v){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return i}(),l=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.id,B=N.points,I=N.disk,L=Object.assign({},(k(C),C));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:b(B)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return p("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return p("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.sheets,B=Object.assign({},(k(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},m=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.alloys,B=Object.assign({},(k(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(C,v){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:C.title}),(g=C.columns)==null?void 0:g.map(function(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})},s=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})}},48824:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(70752),k=function(h){var l;try{l=V("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var c=l[h];return c||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.app_template,s=d.app_icon,i=d.app_title,C=k(u);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,u!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function v(){return m("Back")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function v(){return m("MASTER_back")}return v}()})],4)]}),children:(0,e.createComponentVNode)(2,C)})})})})})}return b}()},41565:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(59395),k=function(c){var m;try{m=V("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw u}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app,C=s.owner;if(!C)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var v=k(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return l}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.idInserted,C=s.idLink,v=s.stationTime,g=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function p(){return u("Authenticate")}return p}(),content:i?C:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function p(){return u("Eject")}return p}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:v})]})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function C(){return u("Back")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){u("Home")}return C}()})})]})})}},78704:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(92986),V=r.Pacman=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.active,d=c.anchored,u=c.broken,s=c.emagged,i=c.fuel_type,C=c.fuel_usage,v=c.fuel_stored,g=c.fuel_cap,p=c.is_ai,N=c.tmp_current,y=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,A=c.has_fuel,x=v/g,E=N/y,M=T*L,j=Math.round(v/C),P=Math.round(j/60),R=j>120?P+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:m,onClick:function(){function D(){return l("toggle_power")}return D}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function D(F,U){return l("change_power",{change_power:U})}return D}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||p||!A,onClick:function(){function D(){return l("eject_fuel")}return D}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[C/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(C?R:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return k}()},6887:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PanDEMIC=function(){function d(u,s){var i=(0,a.useBackend)(s),C=i.data,v=C.beakerLoaded,g=C.beakerContainsBlood,p=C.beakerContainsVirus,N=C.resistances,y=N===void 0?[]:N,B;return v?g?g&&!p&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:B}),(y==null?void 0:y.length)>0&&(0,e.createComponentVNode)(2,m)]}),!!p&&(0,e.createComponentVNode)(2,b)]})})})}return d}(),V=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!g,onClick:function(){function p(){return C("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!g,onClick:function(){function p(){return C("destroy_eject_beaker")}return p}()})],4)},k=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.beakerContainsVirus,p=u.strain,N=p.commonName,y=p.description,B=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,T=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!g)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return x&&(N!=null&&N!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return C("print_release_forms",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return C("name_strain",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",M]})}),y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:y}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(u,s){var i,C=(0,a.useBackend)(s),v=C.act,g=C.data,p=!!g.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function y(){return v("clone_strain",{strain_index:u.strainIndex})}return y}()}),u.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=u.sectionTitle)!=null?i:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,k,{strain:u.strain,strainIndex:u.strainIndex})})})},b=function(u,s){var i,C=(0,a.useBackend)(s),v=C.act,g=C.data,p=g.selectedStrainIndex,N=g.strains,y=N[p-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,l,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===T,onClick:function(){function x(){return v("switch_strain",{strain_index:T+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:y,strainIndex:p}),((i=y.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,l,{className:"remove-section-bottom-padding",strain:y})]})})})},h=function(u){return u.reduce(function(s,i){return s+i},0)},l=function(u){var s=u.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:u.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},C)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.synthesisCooldown,p=v.beakerContainsVirus,N=v.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(y,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!g,onClick:function(){function I(){return C("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),y]},B)})})})})}},78643:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ParticleAccelerator=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.assembled,m=l.power,d=l.strength,u=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return h("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return h("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return h("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===u,onClick:function(){function s(){return h("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},34026:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PdaPainter=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,V)})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return m("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+u[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return m("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return m("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},81378:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PersonalCrafting=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.busy,u=m.category,s=m.display_craftable_only,i=m.display_compact,C=m.prev_cat,v=m.next_cat,g=m.subcategory,p=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:u,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function y(){return c("toggle_recipes")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function y(){return c("toggle_compact")}return y}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function y(){return c("backwardCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-right",onClick:function(){function y(){return c("forwardCat")}return y}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function y(){return c("backwardSubCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function y(){return c("forwardSubCat")}return y}()})]}),i?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})]})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:i.ref})}return C}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:i.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},58792:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Photocopier=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,k)]})})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function u(){return c("copy")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function u(){return c("scandocument")}return u}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function u(){return c("ai_text")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function u(){return c("ai_pic")}return u}()})],4)],0)},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:d.uid})}return u}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function u(){return c("deletefile",{uid:d.uid})}return u}()})]})},d.name)})})}},27902:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=["tempKey"];function V(h,l){if(h==null)return{};var c={},m=Object.keys(h),d,u;for(u=0;u=0)&&(c[d]=h[d]);return c}var k={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(l,c){var m=l.tempKey,d=V(l,f),u=k[m];if(!u)return null;var s=(0,a.useBackend)(c),i=s.data,C=s.act,v=i.currentTemp,g=u.label,p=u.icon,N=m===v,y=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:y},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),g]})))},b=r.PoolController=function(){function h(l,c){for(var m=(0,a.useBackend)(c),d=m.data,u=d.emagged,s=d.currentTemp,i=k[s]||k.normal,C=i.label,v=i.color,g=[],p=0,N=Object.entries(k);p50?"battery-half":"battery-quarter")||v==="C"&&"bolt"||v==="F"&&"battery-full"||v==="M"&&"slash",color:v==="N"&&(g>50?"yellow":"red")||v==="C"&&"yellow"||v==="F"&&"green"||v==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};u.defaultHooks=f.pureComponentHooks;var s=function(C){var v,g,p=C.status;switch(p){case"AOn":v=!0,g=!0;break;case"AOff":v=!0,g=!1;break;case"On":v=!1,g=!0;break;case"Off":v=!1,g=!1;break}var N=(g?"On":"Off")+(" ["+(v?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:g?"good":"bad",content:v?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},27262:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(91097),f=n(99665),V=n(68159),k=n(27527),S=n(45493),b=r.PrisonerImplantManager=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.loginState,i=u.prisonerInfo,C=u.chemicalInfo,v=u.trackingInfo,g;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:v.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function y(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return y}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:C.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),p.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:v.imageID,title:v.name,content:v.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:g&&"gray",content:v.cost,icon:"ticket",iconSize:1.6,iconColor:g?"bad":"good",tooltip:g&&"Not enough tickets",disabled:g,onClick:function(){function p(){return h("purchase",{purchase:v.itemID})}return p}()})},v.name)})})})})})})}return V}()},87963:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(57842),k=r.RCD=function(){function d(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(u,s){var i=(0,a.useBackend)(s),C=i.data,v=C.matter,g=C.max_matter,p=g*.7,N=g*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[p,1/0],average:[N,p],bad:[-1/0,N]},value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:v+" / "+g+" units"})})})})},b=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,h,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,h,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,h,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,h,{mode_type:"Deconstruction"})]})})})},h=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=u.mode_type,p=v.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:g,selected:p===g?1:0,onClick:function(){function N(){return C("mode",{mode:g})}return N}()})})},l=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.door_name,p=v.electrochromic,N=v.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,g,0)],0),onClick:function(){function y(){return(0,f.modalOpen)(s,"renameAirlock")}return y}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function y(){return C("electrochromic")}return y}()})})]})})})},c=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.tab,p=v.locked,N=v.one_access,y=v.selected_accesses,B=v.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:g===1,onClick:function(){function I(){return C("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,icon:"list",onClick:function(){function I(){return C("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):g===2&&p?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return C("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,V.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return C("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:N,content:"One",onClick:function(){function I(){return C("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return C("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:y,accessMod:function(){function I(L){return C("set",{access:L})}return I}(),grantAll:function(){function I(){return C("grant_all")}return I}(),denyAll:function(){function I(){return C("clear_all")}return I}(),grantDep:function(){function I(L){return C("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return C("deny_region",{region:L})}return I}()})})],4)},m=function(u,s){for(var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.door_types_ui_list,p=v.door_type,N=u.check_number,y=[],B=0;B0?"envelope-open-text":"envelope",onClick:function(){function B(){return C("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return C("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return C("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return C("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return C("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:10})}return B}()})]})}),!!p&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return C("setScreen",{setScreen:8})}return B}()})})]})})},k=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.department,p=[],N;switch(u.purpose){case"ASSISTANCE":p=v.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":p=v.supply_dept,N="Request supplies from another department";break;case"INFO":p=v.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function y(){return C("setScreen",{setScreen:0})}return y}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.filter(function(y){return y!==g}).map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return C("writeInput",{write:y,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return C("writeInput",{write:y,priority:"2"})}return B}()})]},y)})})})})},S=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g;switch(u.type){case"SUCCESS":g="Message sent successfully";break;case"FAIL":g="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function p(){return C("setScreen",{setScreen:0})}return p}()})})},b=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g,p;switch(u.type){case"MESSAGES":g=v.message_log,p="Message Log";break;case"SHIPPING":g=v.shipping_log,p="Shipping label print log";break}return g.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:g.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(y,B){return(0,e.createVNode)(1,"div",null,y,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},h=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.recipient,p=v.message,N=v.msgVerified,y=v.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return C("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:y})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return C("department",{department:g})}return B}()})})})],4)},l=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.message,p=v.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return C("writeAnnouncement")}return N}()})],4),children:g})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(p&&g),onClick:function(){function N(){return C("sendAnnouncement")}return N}()})]})})],4)},c=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.shipDest,p=v.msgVerified,N=v.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function y(){return C("setScreen",{setScreen:0})}return y}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:p})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(g&&p),onClick:function(){function y(){return C("printLabel")}return y}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:g===y?"Selected":"Select",selected:g===y,onClick:function(){function B(){return C("shipSelect",{shipSelect:y})}return B}()})},y)})})})})],4)},m=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.secondaryGoalAuth,p=v.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?g?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(g&&p),onClick:function(){function N(){return C("requestSecondaryGoal")}return N}()})]})})],4)}},89641:function(w,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(3422),V=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},k=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,f.RndNavbar),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.MAIN,render:function(){function u(){return(0,e.createComponentVNode)(2,f.MainMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.LEVELS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DISK,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DESTROY,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function u(s){return s===V.LATHE||s===V.IMPRINTER}return u}(),render:function(){function u(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.SETTINGS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return u}()}),d?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:d})})}):null]})})})}return b}()},19348:function(w,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.CurrentLevels=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),h.map(function(l,c){var m=l.name,d=l.level,u=l.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",d]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",u]})]},m)})]})}return f}()},338:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V="design",k="tech",S=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_data;return p?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:p.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:p.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:p.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function N(){return g("updt_tech")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function N(){return g("clear_tech")}return N}()}),(0,e.createComponentVNode)(2,l)]})]}):null},b=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_data;if(!p)return null;var N=p.name,y=p.lathe_types,B=p.materials,I=y.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:N}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,l)]})]})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===k?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,l)]})]})},l=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_type;return p?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function N(){var y=p===k?"eject_tech":"eject_design";g(y)}return N}()}):null},c=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_data,p=v.disk_type,N=function(){if(!g)return(0,e.createComponentVNode)(2,h);switch(p){case V:return(0,e.createComponentVNode)(2,b);case k:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:N()})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_type,N=v.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.sort(function(y,B){return y.name.localeCompare(B.name)}).map(function(y){var B=y.name,I=y.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){p===k?g("copy_tech",{id:I}):g("copy_design",{id:I})}return L}()})},I)})})})})},d=r.DataDiskMenu=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function p(){return(0,e.createComponentVNode)(2,c)}return p}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.DISK_COPY,render:function(){function p(){return(0,e.createComponentVNode)(2,m)}return p}()})],4):null}return u}()},90785:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_item,c=b.linked_destroy;return c?l?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",l.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){h("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){h("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return f}()},34492:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheCategory=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,l=b.act,c=h.category,m=h.matching_designs,d=h.menu,u=d===4,s=u?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var C=i.id,v=i.name,g=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:v,disabled:g<1,onClick:function(){function N(){return l(s,{id:C,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return l(s,{id:C,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return l(s,{id:C,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},C)})})]})}return V}()},84275:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_chemicals,c=b.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";h(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(m){var d=m.volume,u=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var C=c?"disposeP":"disposeI";h(C,{id:s})}return i}()})},s)})})]})}return f}()},12638:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheMainMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,l=b.act,c=h.menu,m=h.categories,d=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:u,onClick:function(){function s(){l("setCategory",{category:u})}return s}()})},u)})})]})}return V}()},89004:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var m=c.id,d=c.amount,u=c.name,s=function(){function g(p){var N=b.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(N,{id:m,amount:p})}return g}(),i=Math.floor(d/2e3),C=d<1,v=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:C?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",d," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",v,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return s(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return s("custom")}return g}()}),d>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return s(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return s(50)}return g}()})],0):null})]},m)})})})}return f}()},73856:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterials=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.total_materials,l=b.max_materials,c=b.max_chemicals,m=b.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},75955:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),a=n(17899),t=n(78345),o=n(3422),f=n(24674),V=n(89641),k=r.LatheMenu=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=c.menu,d=c.linked_lathe,u=c.linked_imprinter;return m===4&&!d?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!u?(0,e.createComponentVNode)(2,f.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},72880:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheSearch=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(l,c){return b("search",{to_search:c})}return h}()})})}return f}()},62306:function(w,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.MainMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.disk_type,m=l.linked_destroy,d=l.linked_lathe,u=l.linked_imprinter,s=l.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:f.MENU.DISK,submenu:f.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:f.MENU.DESTROY,submenu:f.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var C=i.name,v=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:v},C)})})]})}return k}()},99941:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.RndNavButton=function(){function f(V,k){var S=V.icon,b=V.children,h=V.disabled,l=V.content,c=(0,a.useBackend)(k),m=c.data,d=c.act,u=m.menu,s=m.submenu,i=u,C=s;return V.menu!==null&&V.menu!==void 0&&(i=V.menu),V.submenu!==null&&V.submenu!==void 0&&(C=V.submenu),(0,e.createComponentVNode)(2,t.Button,{content:l,icon:S,disabled:h,onClick:function(){function v(){d("nav",{menu:i,submenu:C})}return v}(),children:b})}return f}()},24448:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),a=n(3422),t=n(24674),o=n(89641),f=r.RndNavbar=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S!==o.MENU.MAIN}return k}(),render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function k(S){return S!==o.SUBMENU.MAIN}return k}(),render:function(){function k(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return k}(),submenu:o.SUBMENU.MAIN,render:function(){function k(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return k}()})]})}return V}()},78345:function(w,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),a=r.RndRoute=function(){function t(o,f){var V=o.render,k=(0,e.useBackend)(f),S=k.data,b=S.menu,h=S.submenu,l=function(){function m(d,u){return d==null?!0:typeof d=="function"?d(u):d===u}return m}(),c=l(o.menu,b)&&l(o.submenu,h);return c?V():null}return t}()},56454:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.SettingsMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=h.act,m=l.sync,d=l.admin,u=l.linked_destroy,s=l.linked_lathe,i=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function v(){c("sync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function v(){return c("maxresearch")}return v}()}):null]})})}return C}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.SETTINGS_DEVICES,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function v(){return c("find_device")}return v}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[u?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"destroy"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){c("disconnect",{item:"lathe"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"imprinter"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return C}()})]})}return k}()},3422:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var a=n(338);r.DataDiskMenu=a.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var f=n(84275);r.LatheChemicalStorage=f.LatheChemicalStorage;var V=n(12638);r.LatheMainMenu=V.LatheMainMenu;var k=n(73856);r.LatheMaterials=k.LatheMaterials;var S=n(89004);r.LatheMaterialStorage=S.LatheMaterialStorage;var b=n(75955);r.LatheMenu=b.LatheMenu;var h=n(72880);r.LatheSearch=h.LatheSearch;var l=n(62306);r.MainMenu=l.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var m=n(99941);r.RndNavButton=m.RndNavButton;var d=n(78345);r.RndRoute=d.RndRoute;var u=n(56454);r.SettingsMenu=u.SettingsMenu},71123:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=function(b,h){var l=b/h;return l<=.2?"good":l<=.5?"average":"bad"},k=r.RobotSelfDiagnosis=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},u)})})})}return S}()},98951:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.RoboticsControlConsole=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.can_hack,d=c.safety,u=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function C(){return l("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function C(){return l("masslock",{})}return C}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:i,can_hack:m})]})})}return k}(),V=function(S,b){var h=S.cyborgs,l=S.can_hack,c=(0,a.useBackend)(b),m=c.act,d=c.data,u="Detonate";return d.detonate_cooldown>0&&(u+=" ("+d.detonate_cooldown+"s)"),h.length?h.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return m("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function i(){return m("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return m("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},2289:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Safe=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,C=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*u+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,C=function(g,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!i,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+g,iconRight:p,onClick:function(){function N(){return m(p?"turnleft":"turnright",{num:g})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return m("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[C(50),C(10),C(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[C(1,!0),C(10,!0),C(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:u})]})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function C(){return m("retrieve",{index:i+1})}return C}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(h,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SatelliteControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.satellites,m=l.notice,d=l.meteor_shield,u=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,i=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:u,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+C.id,children:[C.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:C.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function v(){return h("toggle",{id:C.id})}return v}()})]},C.id)})]})})]})})}return V}()},54892:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(5126),k=n(68100),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})})})})}return c}(),b=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=window.event?m.which:m.keyCode;if(i===k.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(i===k.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(i===k.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(i>=k.KEY_0&&i<=k.KEY_9){m.preventDefault(),s("keypad",{digit:i-k.KEY_0});return}if(i>=k.KEY_NUMPAD_0&&i<=k.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:i-k.KEY_NUMPAD_0});return}},h=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.locked,v=i.no_passcode,g=i.emagged,p=i.user_entered_code,N=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],y=v?"":C?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return b(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+y]),height:"100%",children:g?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},B[0])})})]})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=m.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:C,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+C]),onClick:function(){function v(){return s("keypad",{digit:C})}return v}()})}},56798:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665),k=n(68159),S=n(27527),b=n(84537),h={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(p,N){(0,V.modalOpen)(p,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function g(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.loginState,T=I.currentPage,A;if(L.logged_in)T===1?A=(0,e.createComponentVNode)(2,d):T===2&&(A=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,m),A]})})]})}return g}(),m=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(N,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(N,"sortOrder",!0),R=P[0],D=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,u,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,u,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,u,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,u,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,U){var _=R?1:-1;return F[M].localeCompare(U[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[F.status],onClick:function(){function U(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},u=function(p,N){var y=(0,t.useLocalState)(N,"sortId","name"),B=y[0],I=y[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],A=L[1],x=p.id,E=p.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==x&&"transparent",fluid:!0,onClick:function(){function M(){B===x?A(!T):(I(x),A(!0))}return M}(),children:[E,B===x&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},i=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.isPrinting,T=I.general,A=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function x(){return B("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return B("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,C)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return B("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return B("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function M(){return l(N,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=function(p,N){var y=(0,t.useBackend)(N),B=y.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return l(N,L)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},v=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},59981:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665);function k(u,s){var i=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(i)return(i=i.call(u)).next.bind(i);if(Array.isArray(u)||(i=S(u))||s&&u&&typeof u.length=="number"){i&&(u=i);var C=0;return function(){return C>=u.length?{done:!0}:{done:!1,value:u[C++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(u,s){if(u){if(typeof u=="string")return b(u,s);var i=Object.prototype.toString.call(u).slice(8,-1);if(i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set")return Array.from(u);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return b(u,s)}}function b(u,s){(s==null||s>u.length)&&(s=u.length);for(var i=0,C=new Array(s);i=A},v=function(T,A){return T<=A},g=s.split(" "),p=[],N=function(){var T=I.value,A=T.split(":");if(A.length===0)return 0;if(A.length===1)return p.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function M(j){return!1}return M}()};var x,E=i;if(A[1][A[1].length-1]==="-"?(E=v,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=C,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function M(j){return!1}return M}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":p.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(M){return E(M.production,x)});break;case"y":case"yield":p.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":p.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},y,B=k(g),I;!(I=B()).done;)if(y=N(),y!==0&&y)return y.v;return function(L){for(var T=0,A=p;T=1?Number(E):1)}return A}()})]})]})}},33454:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return h("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return h("request")}return c}()})})],0))]})})})})}return V}()},50451:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleManipulator=function(){function b(h,l){var c=(0,a.useLocalState)(l,"tabIndex",0),m=c[0],d=c[1],u=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(m)]})})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.templates_tabs,s=d.existing_shuttle,i=d.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===s.id,icon:"file",onClick:function(){function v(){return m("select_template_category",{cat:C})}return v}(),children:C},C)})}),!!s&&i[s.id].templates.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[C.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:C.description}),C.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:C.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function v(){return m("select_template",{shuttle_id:C.shuttle_id})}return v}()})})]})},C.name)})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.existing_shuttle,s=d.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[u?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+u.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u.status}),u.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:u.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:u.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function i(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.hasOccupant,B=y?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return i}(),l=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4)},c=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:y.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxHealth,value:y.health/y.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(y.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[y.stat][0],children:V[y.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxTemp,value:y.bodyTemperature/y.maxTemp,color:b[y.temperatureSuitability+3],children:[(0,a.round)(y.btCelsius,0),"\xB0C,",(0,a.round)(y.btFaren,0),"\xB0F"]})}),!!y.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.bloodMax,value:y.bloodLevel/y.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[y.bloodPercent,"%, ",y.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[y.pulse," BPM"]})],4)]})})},m=function(C,v){var g=(0,t.useBackend)(v),p=g.data,N=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:k.map(function(y,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:y[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[y[1]]/100,ranges:S,children:(0,a.round)(N[y[1]],0)},B)},B)})})})},d=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,A=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!y,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return p("removebeaker")}return x}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,A){var x="",E;return T.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),L.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||y.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return p("chemical",{chemid:T.id,amount:M})}return P}()},j)})]})})},A)})})},s=function(C,v){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SlotMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return V}()},26654:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Smartfridge=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.secure,m=l.can_dry,d=l.drying,u=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return h("drying")}return s}()}),children:[!u&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!u&&u.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return h("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(C,v){return h("vend",{index:s.vend,amount:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return h("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return V}()},71124:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(92986),f=n(45493),V=1e3,k=r.Smes=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.capacityPercent,u=m.capacity,s=m.charge,i=m.inputAttempt,C=m.inputting,v=m.inputLevel,g=m.inputLevelMax,p=m.inputAvailable,N=m.outputPowernet,y=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,A=d>=100&&"good"||C&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:d>=100&&"Fully Charged"||C&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:v===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:v===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:v/V,fillValue:p/V,minValue:0,maxValue:g/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:v===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:v===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(p)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:y?"power-off":"times",selected:y,onClick:function(){function E(){return c("tryoutput")}return E}(),children:y?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},21786:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SolarControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=0,m=1,d=2,u=l.generated,s=l.generated_ratio,i=l.tracking_state,C=l.tracking_rate,v=l.connected_panels,g=l.connected_tracker,p=l.cdir,N=l.direction,y=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return h("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:v>0?"good":"bad",children:v})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",y,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function B(I,L){return h("cdir",{cdir:L})}return B}()}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function B(){return h("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function B(){return h("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===d,disabled:!g,onClick:function(){function B(){return h("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:C,format:function(){function B(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return h("tdir",{tdir:L})}return B}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},31202:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpawnersMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return h("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return h("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},84800:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpecMenu=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),V=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},46501:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.StationAlertConsole=function(){function k(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return k}(),V=r.StationAlertConsoleContent=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.alarms||[],m=c.Fire||[],d=c.Atmosphere||[],u=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return k}()},18565:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(96524),a=n(50640),t=n(67765),o=n(17899),f=n(24674),V=n(45493),k=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(k||{}),S=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data,i=s.future_station_traits,C=(0,o.useLocalState)(m,"selectedFutureTrait",null),v=C[0],g=C[1],p=Object.fromEntries(s.valid_station_traits.map(function(y){return[y.name,y.path]})),N=Object.keys(p);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!v&&"Select trait to add...",onSelected:g,options:N,selected:v,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function y(){if(v){var B=p[v],I=[B];if(i){var L,T=i.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}u("setup_future_traits",{station_traits:I})}}return y}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:i.map(function(y){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:y.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){u("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==y.path)return I.path})})}return B}(),children:"Delete"})})]})},y.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function y(){return u("clear_future_traits")}return y}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function y(){return u("setup_future_traits",{station_traits:[]})}return y}(),children:"Prevent station traits from running next round"})]})]})},b=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function C(){return u("revert",{ref:i.ref})}return C}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},h=r.StationTraitsPanel=function(){function l(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",k.ViewStationTraits),u=d[0],s=d[1],i;switch(u){case k.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,S);break;case k.ViewStationTraits:i=(0,e.createComponentVNode)(2,b);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:u===k.ViewStationTraits,onClick:function(){function C(){return s(k.ViewStationTraits)}return C}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:u===k.SetupFutureStationTraits,onClick:function(){function C(){return s(k.SetupFutureStationTraits)}return C}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),i]})]})})})}return l}()},95147:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),a=n(50640),t=n(17442),o=n(17899),f=n(24674),V=n(45493),k=5,S=5,b="64px",h=function(i){return i[0]+"/"+i[1]},l=function(i){var C=i.align,v=i.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:C==="left"?"6px":"48px","text-align":C,"text-shadow":"2px 2px 2px #000",top:"2px"},children:v})},c={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},m={eyes:{displayName:"eyewear",gridSpot:h([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:h([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:h([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:h([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:h([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:h([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:h([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:h([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:h([1,4])},jumpsuit:{displayName:"uniform",gridSpot:h([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:h([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:h([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:h([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:h([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:h([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:h([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:h([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:h([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:h([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:h([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:h([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:h([4,4]),image:"inventory-pda.png"}},d=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(d||{}),u=r.StripMenu=function(){function s(i,C){for(var v=(0,o.useBackend)(C),g=v.act,p=v.data,N=new Map,y=0,B=Object.keys(p.items);y=.01})},(0,a.sortBy)(function(T){return-T.amount})])(v.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:l(y),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(y)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:l(B),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return C("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,k.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,k.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},30047:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SyndicateComputerSimple=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return h(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},28830:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return l("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K, ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K, ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K, ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K, ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return k}()},39903:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TachyonArray=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.records,d=m===void 0?[]:m,u=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!d.length||i,align:"center",onClick:function(){function C(){return l("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function C(){return l("delete_logs")}return C}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return k}(),V=r.TachyonArrayContent=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return k}()},17068:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Tank=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function m(){return h("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function m(d,u){return h("pressure",{pressure:u})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},69161:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TankDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.o_tanks,m=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("plasma")}return d}()})})]})})})}return V}()},87394:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsCore=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.ion,i=(0,a.useLocalState)(c,"tabIndex",0),C=i[0],v=i[1],g=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:C===0,onClick:function(){function p(){return v(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:C===1,onClick:function(){function p(){return v(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:C===2,onClick:function(){function p(){return v(2)}return p}(),children:"User Filtering"},"FilterPage")]}),g(C)]})})}return h}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.active,i=u.sectors_available,C=u.nttc_toggle_jobs,v=u.nttc_toggle_job_color,g=u.nttc_toggle_name_color,p=u.nttc_toggle_command_bold,N=u.nttc_job_indicator_type,y=u.nttc_setting_language,B=u.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"clipboard-list",onClick:function(){function I(){return d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:y||"Unset",selected:y,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.link_password,i=u.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function C(){return d("change_password")}return C}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function v(){return d("unlink",{addr:C.addr})}return v}()})})]},C.addr)})]})]})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return d("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return d("remove_filter",{user:i})}return C}()})})]},i)})]})})}},55684:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsRelay=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.linked,u=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.linked_core_id,u=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:u.addr})}return s}()})})]},u.addr)})]})})}},81088:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Teleporter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.targetsTeleport?l.targetsTeleport:{},m=0,d=1,u=2,s=l.calibrated,i=l.calibrating,C=l.powerstation,v=l.regime,g=l.teleporterhub,p=l.target,N=l.locked,y=l.adv_beacon_allowed,B=l.advanced_beacon_locking;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!C||!g)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[g,!C&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),C&&!g&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),C&&g&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",buttons:(0,e.createFragment)(!!y&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"Enabled":"Disabled",onClick:function(){function I(){return h("advanced_beacon_locking",{on:B?0:1})}return I}()})],4),0),children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[v===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),v===u&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:v===d?"good":null,onClick:function(){function I(){return h("setregime",{regime:d})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:v===m?"good":null,onClick:function(){function I(){return h("setregime",{regime:m})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:v===u?"good":null,disabled:!N,onClick:function(){function I(){return h("setregime",{regime:u})}return I}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[p!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function I(){return h("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&C&&g&&v===u)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function I(){return h("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return h("eject")}return I}()})]})})]})})})})}return V}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TelescienceConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.last_msg,m=l.linked_pad,d=l.held_gps,u=l.lastdata,s=l.power_levels,i=l.current_max_power,C=l.current_power,v=l.current_bearing,g=l.current_elevation,p=l.current_sector,N=l.working,y=l.max_z,B=(0,a.useLocalState)(S,"dummyrot",v),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(u.length>0)||(0,e.createVNode)(1,"ul",null,u.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:v,onDrag:function(){function T(A,x){return L(x)}return T}(),onChange:function(){function T(A,x){return h("setbear",{bear:x})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:g,onChange:function(){function T(A,x){return h("setelev",{elev:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,A){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:C===T,disabled:A>=i-1||N,onClick:function(){function x(){return h("setpwr",{pwr:A+1})}return x}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:y,value:p,disabled:N,onChange:function(){function T(A,x){return h("setz",{newz:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return h("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return h("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return h("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return h("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return h("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return h("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},96150:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.TempGun=function(){function h(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.target_temperature,i=u.temperature,C=u.max_temp,v=u.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:v,maxValue:C,value:s,format:function(){function g(p){return(0,a.toFixed)(p,2)}return g}(),width:"50px",onDrag:function(){function g(p,N){return d("target_temperature",{target_temperature:N})}return g}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:b(i),children:S(i)})})]})})})})}return h}(),k=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},S=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},b=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},95484:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(17899),f=n(68100),V=n(24674),k=n(45493),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),b=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),h=r.TextInputModal=function(){function c(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,C=i.max_length,v=i.message,g=v===void 0?"":v,p=i.multiline,N=i.placeholder,y=i.timeout,B=i.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],A=function(){function M(j){if(j!==L){var P=p?S(j):b(j);T(P)}}return M}(),x=p||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,k.Window,{title:B,width:325,height:E,children:[y&&(0,e.createComponentVNode)(2,a.Loader,{value:y}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function M(j){var P=window.event?j.which:j.keyCode;P===f.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),P===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:L,onType:A})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return c}(),l=function(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,C=i.max_length,v=i.multiline,g=m.input,p=m.onType,N=v||g.length>=40;return(0,e.createComponentVNode)(2,V.TextArea,{autoFocus:!0,autoSelect:!0,height:v||g.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function y(){return s("cancel")}return y}(),onEnter:function(){function y(B){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:g}))}return y}(),onInput:function(){function y(B,I){return p(I)}return y}(),placeholder:"Type something...",value:g})}},378:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.ThermoMachine=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return l("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return l("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return l("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function m(d,u){return l("target",{target:u})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return l("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return l("target",{target:c.initial})}return m}()})]})]})})]})})}return k}()},3365:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TransferValve=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.tank_one,m=l.tank_two,d=l.attached_device,u=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"unlock":"lock",content:u?"Open":"Closed",disabled:!c||!m,onClick:function(){function s(){return h("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return h("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return h("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return h("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return h("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},13860:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=r.TurbineComputer=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.compressor,s=d.compressor_broken,i=d.turbine,C=d.turbine_broken,v=d.online,g=!!(u&&!s&&i&&!C);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:v?"power-off":"times",content:v?"Online":"Offline",selected:v,disabled:!g,onClick:function(){function p(){return m("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return m("disconnect")}return p}()})],4),children:g?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)})})})}return b}(),k=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.compressor,u=m.compressor_broken,s=m.turbine,i=m.turbine_broken,C=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||u?"bad":"good",children:u?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.rpm,u=m.temperature,s=m.power,i=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[u," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(i)+"%"})})]})}},22169:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(78234),f=n(17899),V=n(24674),k=n(45493),S=n(99665),b=function(v){switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},h=r.Uplink=function(){function C(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cart,I=(0,f.useLocalState)(g,"tabIndex",0),L=I[0],T=I[1],A=(0,f.useLocalState)(g,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,k.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:b(L)})]})})]})}return C}(),l=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.crystals,I=y.cats,L=(0,f.useLocalState)(g,"uplinkItems",I[0].items),T=L[0],A=L[1],x=(0,f.useLocalState)(g,"searchText",""),E=x[0],M=x[1],j=function(_,z){z===void 0&&(z="");var G=(0,o.createSearch)(z,function(X){var Y=X.hijack_only===1?"|hijack":"";return X.name+"|"+X.desc+"|"+X.cost+"tc"+Y});return(0,t.flow)([(0,a.filter)(function(X){return X==null?void 0:X.name}),z&&(0,a.filter)(G),(0,a.sortBy)(function(X){return X==null?void 0:X.name})])(_)},P=function(_){if(M(_),_==="")return A(I[0].items);A(j(I.map(function(z){return z.items}).flat(),_))},R=(0,f.useLocalState)(g,"showDesc",1),D=R[0],F=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function U(){return F(!D)}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(_,z){P(z)}return U}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(U){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:U.items===T,onClick:function(){function _(){A(U.items),M("")}return _}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(U){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:D},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},c=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cart,I=y.crystals,L=y.cart_price,T=(0,f.useLocalState)(g,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cats,I=y.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(v,g){var p=v.i,N=v.showDecription,y=N===void 0?1:N,B=v.buttons,I=B===void 0?(0,e.createComponentVNode)(2,u,{i:p}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:y,buttons:I,children:y?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},u=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=v.i,I=y.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=v.i,I=y.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,A){return N("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},i=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.exploitable,I=(0,f.useLocalState)(g,"selectedRecord",B[0]),L=I[0],T=I[1],A=(0,f.useLocalState)(g,"searchText",""),x=A[0],E=A[1],M=function(R,D){D===void 0&&(D="");var F=(0,o.createSearch)(D,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),D&&(0,a.filter)(F),(0,a.sortBy)(function(U){return U.name})])(R)},j=M(B,x);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(R,D){return E(D)}return P}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:j.map(function(P){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:P===L,onClick:function(){function R(){return T(P)}return R}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},70547:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.product,d=S.productStock,u=S.productImage,s=c.chargesMoney,i=c.user,C=c.usermoney,v=c.inserted_cash,g=c.vend_ready,p=c.inserted_item_name,N=!s||m.price===0,y="ERROR!",B="";N?(y="FREE",B="arrow-circle-down"):(y=m.price,B="shopping-cart");var I=!g||d===0||!N&&m.price>C&&m.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:y,textAlign:"left",onClick:function(){function L(){return l("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.user,d=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,i=c.product_records,C=i===void 0?[]:i,v=c.hidden_records,g=v===void 0?[]:v,p=c.stock,N=c.vend_ready,y=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=c.imagelist,T;return T=[].concat(C),c.extended_inventory&&(T=[].concat(T,g)),T=T.filter(function(A){return!!A}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!y&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,y,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function A(){return l("eject_item",{})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u,icon:"money-bill-wave-alt",content:u?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,u,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:u?"Dispense Change":null,textAlign:"left",onClick:function(){function A(){return l("change")}return A}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),", ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return l("toggle_voice",{})}return A}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(A){return(0,e.createComponentVNode)(2,f,{product:A,productStock:p[A.name],productImage:L[A.path]},A.name)})})})})]})})})}return k}()},33045:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VolumeMixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.num,volume:0})}return u}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function u(s,i){return h("volume",{channel:m.num,volume:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.num,volume:100})}return u}()})})})]})})],4,m.num)})})})})}return V}()},53792:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VotePanel=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.remaining,m=l.question,d=l.choices,u=l.user_vote,s=l.counts,i=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:C,content:C+(i?" ("+(s[C]||0)+")":""),onClick:function(){function v(){return h("vote",{target:C})}return v}(),selected:C===u})},C)})]})})})}return V}()},64860:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Wires=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.wires||[],m=l.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:u.color_name,labelColor:u.seen_color,color:u.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:u.cut?"Mend":"Cut",onClick:function(){function s(){return h("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return h("attach",{wire:u.color})}return s}()})],4),children:!!u.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),u.wire,(0,e.createTextVNode)(")")],0)},u.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return V}()},78262:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.WizardApprenticeContract=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},57842:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674);function f(h,l){var c=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(c)return(c=c.call(h)).next.bind(c);if(Array.isArray(h)||(c=V(h))||l&&h&&typeof h.length=="number"){c&&(h=c);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(h,l){if(h){if(typeof h=="string")return k(h,l);var c=Object.prototype.toString.call(h).slice(8,-1);if(c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set")return Array.from(h);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return k(h,l)}}function k(h,l){(l==null||l>h.length)&&(l=h.length);for(var c=0,m=new Array(l);c0&&!y.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function F(){return B(D.ref)}return F}()},D.desc)})]})]})})}return h}()},79449:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=function(S,b,h,l,c){return Sl?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function k(S,b){var h=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(h).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:f(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return k}()},1496:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),a=n(24674),t=n(56099),o=function(k){return k+" unit"+(k===1?"":"s")},f=r.BeakerContents=function(){function V(k){var S=k.beakerLoaded,b=k.beakerContents,h=b===void 0?[]:b,l=k.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),h.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},69521:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.BotStatus=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.locked,c=h.noaccess,m=h.maintpanel,d=h.on,u=h.autopatrol,s=h.canhack,i=h.emagged,C=h.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function v(){return b("power")}return v}()})}),u!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Auto Patrol",disabled:c,onClick:function(){function v(){return b("autopatrol")}return v}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function v(){return b("hack")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!C,content:"AI Remote Control",disabled:c,onClick:function(){function v(){return b("disableremote")}return v}()})})]})})],4)}return f}()},99665:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),a=n(17899),t=n(24674),o={},f=r.modalOpen=function(){function h(l,c,m){var d=(0,a.useBackend)(l),u=d.act,s=d.data,i=Object.assign(s.modal?s.modal.args:{},m||{});u("modal_open",{id:c,arguments:JSON.stringify(i)})}return h}(),V=r.modalRegisterBodyOverride=function(){function h(l,c){o[l]=c}return h}(),k=r.modalAnswer=function(){function h(l,c,m,d){var u=(0,a.useBackend)(l),s=u.act,i=u.data;if(i.modal){var C=Object.assign(i.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(l,c){var m=(0,a.useBackend)(l),d=m.act;d("modal_close",{id:c})}return h}(),b=r.ComplexModal=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var u=d.modal,s=u.id,i=u.text,C=u.type,v,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),p,N,y="auto";if(o[s])p=o[s](d.modal,c);else if(C==="input"){var B=d.modal.value;v=function(){function L(T){return k(c,s,B)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,A){B=A}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return k(c,s,T)}return L}()}),y="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function A(){return k(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):C==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return k(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:v,mx:"auto",overflowY:y,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&g,p,N]})}}return h}()},98444:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(78234),f=n(38424),V=f.COLORS.department,k=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return k.indexOf(m)!==-1?"green":"orange"},b=function(m){if(k.indexOf(m)!==-1)return!0},h=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:b(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},l=r.CrewManifest=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i;if(m.data)i=m.data;else{var C=(0,a.useBackend)(d),v=C.data;i=v}var g=i,p=g.manifest,N=p.heads,y=p.sec,B=p.eng,I=p.med,L=p.sci,T=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:h(y)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:h(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:h(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:h(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:h(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:h(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:h(x)})]})}return c}()},15113:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),a=n(24674),t=n(17899),o=r.InputButtons=function(){function f(V,k){var S=(0,t.useBackend)(k),b=S.act,h=S.data,l=h.large_buttons,c=h.swapped_buttons,m=V.input,d=V.message,u=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function C(){return b("submit",{entry:m})}return C}(),textAlign:"center",tooltip:l&&d,disabled:u,width:!l&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function C(){return b("cancel")}return C}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!l&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},26893:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=V.siliconUser,c=l===void 0?h.siliconUser:l,m=V.locked,d=m===void 0?h.locked:m,u=V.normallyLocked,s=u===void 0?h.normallyLocked:u,i=V.onLockStatusChange,C=i===void 0?function(){return b("lock")}:i,v=V.accessText,g=v===void 0?"an ID card":v;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function p(){C&&C(!d)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",d?"unlock":"lock"," this interface."]})}return f}()},14299:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),a=n(36121),t=n(24674),o=r.Loader=function(){function f(V){var k=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(k)*100+"%"}}),2)}return f}()},68159:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginInfo=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.loginState;if(h)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return b("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return b("login_logout")}return c}()})]})]})})}return f}()},27527:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginScreen=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.loginState,c=h.isAI,m=h.isRobot,d=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function u(){return b("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function u(){return b("login_login",{login_type:1})}return u}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function u(){return b("login_login",{login_type:2})}return u}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return b("login_login",{login_type:3})}return u}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return b("login_login",{login_type:4})}return u}()})]})})})}return f}()},75201:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),a=n(24674),t=n(56099),o=r.Operating=function(){function f(V){var k=V.operating,S=V.name;if(k)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},65435:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.Signaler=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,l=k.data,c=l.code,m=l.frequency,d=l.minFrequency,u=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:u/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,C){return h("freq",{freq:C})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,C){return h("code",{code:C})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return h("signal")}return s}()})]})}return V}()},77534:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),a=n(17899),t=n(78234),o=n(74041),f=n(50640),V=n(24674),k=r.SimpleRecords=function(){function h(l,c){var m=l.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,b,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,S,{data:l.data})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],C=s[1],v=function(N,y){y===void 0&&(y="");var B=(0,t.createSearch)(y,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),y&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(u)},g=v(u,i);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(N,y){return C(y)}return p}()}),g.map(function(p){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:p.uid})}return N}()})},p)})]})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.records,s=u.general,i=u.medical,C=u.security,v;switch(l.recordType){case"MED":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),v]})}},84537:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function f(V,k){var S,b=(0,a.useBackend)(k),h=b.act,l=b.data,c=l.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return h("cleartemp")}return d}()})})]})})))}}return f}()},24704:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:h.app_data})}return f}()},4209:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_bioscan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.holder,m=l.dead,d=l.health,u=l.brute,s=l.oxy,i=l.tox,C=l.burn,v=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},44430:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_directives=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.master,m=l.dna,d=l.prime,u=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return b("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return f}()},3367:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_doorjack=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.cable,m=l.machine,d=l.inprogress,u=l.progress,s=l.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function v(){return b("cable")}return v}()});var C;return m&&(C=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:u,maxValue:100}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function v(){return b("cancel")}return v}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function v(){return b("jack")}return v}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),C]})}return f}()},73395:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_main_menu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.available_software,m=l.installed_software,d=l.installed_toggles,u=l.available_ram,s=l.emotions,i=l.current_emotion,C=l.speech_verbs,v=l.current_speech_verb,g=l.available_chassises,p=l.current_chassis,N=[];return m.map(function(y){return N[y.key]=y.name}),d.map(function(y){return N[y.key]=y.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(y){return!N[y.key]}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name+" ("+y.cost+")",icon:y.icon,disabled:y.cost>u,onClick:function(){function B(){return b("purchaseSoftware",{key:y.key})}return B}()},y.key)}),c.filter(function(y){return!N[y.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(y){return y.key!=="mainmenu"}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,onClick:function(){function B(){return b("startSoftware",{software_key:y.key})}return B}()},y.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,selected:y.active,onClick:function(){function B(){return b("setToggle",{toggle_key:y.key})}return B}()},y.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.id===i,onClick:function(){function B(){return b("setEmotion",{emotion:y.id})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:C.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.name===v,onClick:function(){function B(){return b("setSpeechStyle",{speech_state:y.name})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:g.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.icon===p,onClick:function(){function B(){return b("setChassis",{chassis_to_change:y.icon})}return B}()},y.id)})})]})})}return f}()},37645:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pai_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:h.app_data})}return f}()},15836:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_medrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"MED"})}return f}()},91737:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),a=n(17899),t=n(30709),o=r.pai_messenger=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:h.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:h.app_data})}return f}()},94077:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),a=n(17899),t=n(36121),o=n(24674),f=r.pai_radio=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.app_data,m=c.minFrequency,d=c.maxFrequency,u=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:d/10,value:u/10,format:function(){function i(C){return(0,t.toFixed)(C,1)}return i}(),onChange:function(){function i(C,v){return h("freq",{freq:v})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return h("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return h("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},72621:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_secrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"SEC"})}return f}()},53483:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pai_signaler=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h.app_data})}return f}()},21606:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:b})}return f}()},12339:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_janitor=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.janitor,c=l.user_loc,m=l.mops,d=l.buckets,u=l.cleanbots,s=l.carts,i=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.direction_from_user,")"]},C)})})]})}return f}()},36615:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.pda_main_menu=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,l=b.data,c=l.owner,m=l.ownjob,d=l.idInserted,u=l.categories,s=l.pai,i=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function C(){return h("UpdateInfo")}return C}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:u.map(function(C){var v=l.apps[C];return!v||!v.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C,children:v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in i?g.notify_icon:g.icon,iconSpin:g.uid in i,color:g.uid in i?"red":"transparent",content:g.name,onClick:function(){function p(){return h("StartProgram",{program:g.uid})}return p}()},g.uid)})},C)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function C(){return h("pai",{option:1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function C(){return h("pai",{option:2})}return C}()})]})})]})}return V}()},99737:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pda_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},61597:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_medical=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b,recordType:"MED"})}return f}()},30709:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=r.pda_messenger=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.active_convo;return u?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,k,{data:d})}return b}(),V=r.ActiveConversation=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=d.convo_name,s=d.convo_job,i=d.messages,C=d.active_convo,v=(0,t.useLocalState)(l,"clipboardMode",!1),g=v[0],p=v[1],N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function y(){return p(!g)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(i).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:y.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:y.sent?"#4d9121":"#cd7a0d",position:"absolute",left:y.sent?null:"0px",right:y.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:y.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:y.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:y.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[y.sent?"You:":"Them:"," ",y.message]})]},B)})});return g&&(N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function y(){return p(!g)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(i).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{color:y.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[y.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:y.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function y(){return m("Clear",{option:"Convo"})}return y}()})})})}),N]})}return b}(),k=r.MessengerList=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=d.convopdas,s=d.pdas,i=d.charges,C=d.silent,v=d.toff,g=d.ringtone_list,p=d.ringtone,N=(0,t.useLocalState)(l,"searchTerm",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function I(){return m("Toggle Ringer")}return I}(),children:["Ringer: ",C?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:v?"bad":"green",icon:"power-off",onClick:function(){function I(){return m("Toggle Messenger")}return I}(),children:["Messenger: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(g),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!v&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!u.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:y,onInput:function(){function I(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:u,msgAct:"Select Conversation",searchTerm:y}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:y})]})}return b}(),S=function(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=h.pdas,s=h.title,i=h.msgAct,C=h.searchTerm,v=d.charges,g=d.plugins;return!u||!u.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:u.filter(function(p){return p.Name.toLowerCase().includes(C.toLowerCase())}).map(function(p){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:p.Name,onClick:function(){function N(){return m(i,{target:p.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!v&&g.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function y(){return m("Messenger Plugin",{plugin:N.uid,target:p.uid})}return y}()},N.uid)})})]},p.uid)})})}},68053:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_mule=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return k}(),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.bots;return d.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:u.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:u.uid})}return s}()})},u.Name)})},V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.botstatus,u=m.active,s=d.mode,i=d.loca,C=d.load,v=d.powr,g=d.dest,p=d.home,N=d.retn,y=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[v,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:C?C+" (Unload)":"None",disabled:!C,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:y?"Yes":"No",selected:y,onClick:function(){function I(){return l("set_pickup_type",{autopick:y?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return l("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},31728:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=r.pda_nanobank=function(){function d(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.logged_in,p=v.owner_name,N=v.money;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",N]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})],4):(0,e.createComponentVNode)(2,l)}return d}(),V=function(u,s){var i=(0,t.useBackend)(s),C=i.data,v=C.is_premium,g=(0,t.useLocalState)(s,"tabIndex",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function y(){return N(1)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function y(){return N(2)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function y(){return N(3)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!v&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function y(){return N(4)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},k=function(u,s){var i=(0,t.useLocalState)(s,"tabIndex",1),C=i[0],v=(0,t.useBackend)(s),g=v.data,p=g.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(C){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);case 3:return(0,e.createComponentVNode)(2,h);case 4:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(u,s){var i,C=(0,t.useBackend)(s),v=C.act,g=C.data,p=g.requests,N=g.available_accounts,y=g.money,B=(0,t.useLocalState)(s,"selectedAccount"),I=B[0],L=B[1],T=(0,t.useLocalState)(s,"transferAmount"),A=T[0],x=T[1],E=(0,t.useLocalState)(s,"searchText",""),M=E[0],j=E[1],P=[];return N.map(function(R){return P[R.name]=R.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function R(D,F){return j(F)}return R}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:N.filter((0,a.createSearch)(M,function(R){return R.name})).map(function(R){return R.name}),selected:(i=N.filter(function(R){return R.UID===I})[0])==null?void 0:i.name,onSelected:function(){function R(D){return L(P[D])}return R}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function R(D,F){return x(F)}return R}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:y0&&i.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.OrderedBy,'"']},v)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&u.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.ApprovedBy,'"']},v)})})]})}return f}()},61255:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(92700),f=["className","theme","children"],V=["className","scrollable","children"];/** + */var V=(0,t.createLogger)("hotkeys"),k={},S=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],b={},h=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},l=function(i){var C=String(i);if(C==="Ctrl+F5"||C==="Ctrl+R"){location.reload();return}if(C!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||S.includes(i.code))){C==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var v=h(i.code);if(v){var g=k[v];if(g)return V.debug("macro",g),Byond.command(g);if(i.isDown()&&!b[v]){b[v]=!0;var p='Key_Down "'+v+'"';return V.debug(p),Byond.command(p)}if(i.isUp()&&b[v]){b[v]=!1;var N='Key_Up "'+v+'"';return V.debug(N),Byond.command(N)}}}},c=r.acquireHotKey=function(){function s(i){S.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var C=S.indexOf(i);C>=0&&S.splice(C,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var i=0,C=Object.keys(b);i=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function m(){return h("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function m(){return h("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return h("wipe")}return m}()})})]})})})]})})})}return V}()},78468:function(w,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AIFixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var m=null;l.integrity>=75?m="green":l.integrity>=25?m="yellow":m="red";var d=!0;return l.integrity>=100&&l.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(u,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:u},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function u(){return h("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function u(){return h("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||l.active,content:!d||l.active?"Already Repaired":"Repair",onClick:function(){function u(){return h("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return V}()},73544:function(w,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.APC=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,b)})})}return h}(),k={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"}},S={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.locked&&!u.siliconUser,i=u.normallyLocked,C=k[u.externalPower]||k[0],v=k[u.chargingStatus]||k[0],g=u.powerChannels||[],p=S[u.malfStatus]||S[0],N=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:C.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.isOperating?"power-off":"times",content:u.isOperating?"On":"Off",selected:u.isOperating&&!s,color:u.isOperating?"":"bad",disabled:s,onClick:function(){function y(){return d("breaker")}return y}()}),children:["[ ",C.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:N})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.chargeMode?"sync":"times",content:u.chargeMode?"Auto":"Off",selected:u.chargeMode,disabled:s,onClick:function(){function y(){return d("charge")}return y}()}),children:["[ ",v.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(y){var B=y.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:y.status>=2?"good":"bad",children:y.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(y.status===1||y.status===3),disabled:s,onClick:function(){function I(){return d("channel",B.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&y.status===2,disabled:s,onClick:function(){function I(){return d("channel",B.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&y.status===0,disabled:s,onClick:function(){function I(){return d("channel",B.off)}return I}()})],4),children:[y.powerLoad," W"]},y.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[u.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!u.siliconUser&&(0,e.createFragment)([!!u.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function y(){return d(p.action)}return y}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function y(){return d("overload")}return y}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:u.coverLocked?"lock":"unlock",content:u.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function y(){return d("cover")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:u.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function y(){return d("emergency_lighting")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:u.nightshiftLights?"Enabled":"Disabled",onClick:function(){function y(){return d("toggle_nightshift")}return y}()})})]})})],4)}},79098:function(w,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ATM=function(){function m(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.view_screen,g=C.authenticated_account,p=C.ticks_left_locked_down,N=C.linked_db,y;if(p>0)y=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!N)y=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(v){case 1:y=(0,e.createComponentVNode)(2,k);break;case 2:y=(0,e.createComponentVNode)(2,S);break;case 3:y=(0,e.createComponentVNode)(2,l);break;default:y=(0,e.createComponentVNode)(2,b)}else y=(0,e.createComponentVNode)(2,h);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Section,{children:y})]})})}return m}(),V=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.machine_id,g=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function p(){return i("insert_card")}return p}()})})})]})},k=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:v===0,onClick:function(){function g(){return i("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:v===2,onClick:function(){function g(){return i("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"targetAccNumber",0),g=v[0],p=v[1],N=(0,a.useLocalState)(u,"fundsAmount",0),y=N[0],B=N[1],I=(0,a.useLocalState)(u,"purpose",0),L=I[0],T=I[1],A=C.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,M){return p(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,M){return B(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,M){return T(M)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return i("transfer",{target_acc_number:g,funds_amount:y,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},b=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"fundsAmount",0),g=v[0],p=v[1],N=C.owner_name,y=C.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function B(){return i("logout")}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",y]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function B(){return i("withdrawal",{funds_amount:g})}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function B(){return i("view_screen",{view_screen:1})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function B(){return i("view_screen",{view_screen:2})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function B(){return i("view_screen",{view_screen:3})}return B}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function B(){return i("balance_statement")}return B}()})})]})],4)},h=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=(0,a.useLocalState)(u,"accountID",null),g=v[0],p=v[1],N=(0,a.useLocalState)(u,"accountPin",null),y=N[0],B=N[1],I=C.machine_id,L=C.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return p(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function T(A,x){return B(x)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function T(){return i("attempt_auth",{account_num:g,account_pin:y})}return T}()})})]})})},l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function v(){return i("view_screen",{view_screen:0})}return v}()})}},64613:function(w,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(5126),V=n(45493),k=n(68159),S=n(27527),b=r.AccountsUplinkTerminal=function(){function C(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.loginState,I=y.currentPage,L;if(B.logged_in)I===1?L=(0,e.createComponentVNode)(2,l):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S.LoginScreen)})})});return(0,e.createComponentVNode)(2,V.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return C}(),h=function(v,g){var p=(0,t.useBackend)(g),N=p.data,y=(0,t.useLocalState)(g,"tabIndex",0),B=y[0],I=y[1],L=N.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===0,onClick:function(){function T(){return I(0)}return T}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:B===1,onClick:function(){function T(){return I(1)}return T}(),children:"Department Accounts"})]})})})},l=function(v,g){var p=(0,t.useLocalState)(g,"tabIndex",0),N=p[0];switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.accounts,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1],A=(0,t.useLocalState)(g,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(g,"sortOrder",!0),j=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),B.filter((0,a.createSearch)(L,function(R){return R.owner_name+"|"+R.account_number+"|"+R.suspended+"|"+R.money})).sort(function(R,D){var F=j?1:-1;return R[x].localeCompare(D[x])*F}).map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+R.suspended,onClick:function(){function D(){return N("view_account_detail",{account_num:R.account_number})}return D}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",R.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",R.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.money})]},R.account_number)})]})})})]})},m=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),B.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return N("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(v,g){var p=(0,t.useLocalState)(g,"sortId","name"),N=p[0],y=p[1],B=(0,t.useLocalState)(g,"sortOrder",!0),I=B[0],L=B[1],T=v.id,A=v.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:N!==T&&"transparent",width:"100%",onClick:function(){function x(){N===T?L(!I):(y(T),L(!0))}return x}(),children:[A,N===T&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.is_printing,I=(0,t.useLocalState)(g,"searchText",""),L=I[0],T=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return N("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return T(E)}return A}()})})]})},s=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=y.account_number,I=y.owner_name,L=y.money,T=y.suspended,A=y.transactions,x=y.account_pin,E=y.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+B+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return N("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",B]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return N("set_account_pin",{account_number:B})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:T?"red":"green",children:[T?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:T?"Unsuspend":"Suspend",icon:T?"unlock":"lock",onClick:function(){function M(){return N("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(v,g){var p=(0,t.useBackend)(g),N=p.act,y=p.data,B=(0,t.useLocalState)(g,"accName",""),I=B[0],L=B[1],T=(0,t.useLocalState)(g,"accDeposit",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return N("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return L(j)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return N("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},56839:function(w,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},V=r.AiAirlock=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],u=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:u.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return k}()},5565:function(w,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(26893),V=r.AirAlarm=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,S),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)],4)]})})}return u}(),k=function(s){return s===0?"green":s===1?"orange":"red"},S=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.air,N=g.mode,y=g.atmos_alarm,B=g.locked,I=g.alarmActivated,L=g.rcon,T=g.target_temp,A;return p.danger.overall===0?y===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:N===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:N===3,icon:"exclamation-triangle",onClick:function(){function x(){return v("mode",{mode:N===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:k(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:k(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:k(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:k(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:k(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:k(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:T+" C",onClick:function(){function x(){return v("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function x(){return v("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:k(p.danger.overall),children:[A,!B&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return v(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function x(){return v("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return v("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function x(){return v("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},b=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),v=C[0],g=C[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function p(){return g(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function p(){return g(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function p(){return g(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===3,onClick:function(){function p(){return g(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},h=function(s,i){var C=(0,a.useLocalState)(i,"tabIndex",0),v=C[0],g=C[1];switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.vents;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.direction?"Blowing":"Siphoning",icon:N.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function y(){return v("command",{cmd:"direction",val:!N.direction,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:N.checks===1,onClick:function(){function y(){return v("command",{cmd:"checks",val:1,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:N.checks===2,onClick:function(){function y(){return v("command",{cmd:"checks",val:2,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:N.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function y(){return v("command",{cmd:"set_external_pressure",id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function y(){return v("command",{cmd:"set_external_pressure",val:101.325,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.scrubbers;return p.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:N.power?"On":"Off",selected:N.power,icon:"power-off",onClick:function(){function y(){return v("command",{cmd:"power",val:!N.power,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N.scrubbing?"Scrubbing":"Siphoning",icon:N.scrubbing?"filter":"sign-in-alt",onClick:function(){function y(){return v("command",{cmd:"scrubbing",val:!N.scrubbing,id_tag:N.id_tag})}return y}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:N.widenet?"Extended":"Normal",selected:N.widenet,icon:"expand-arrows-alt",onClick:function(){function y(){return v("command",{cmd:"widenet",val:!N.widenet,id_tag:N.id_tag})}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:N.filter_co2,onClick:function(){function y(){return v("command",{cmd:"co2_scrub",val:!N.filter_co2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:N.filter_toxins,onClick:function(){function y(){return v("command",{cmd:"tox_scrub",val:!N.filter_toxins,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:N.filter_n2o,onClick:function(){function y(){return v("command",{cmd:"n2o_scrub",val:!N.filter_n2o,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:N.filter_o2,onClick:function(){function y(){return v("command",{cmd:"o2_scrub",val:!N.filter_o2,id_tag:N.id_tag})}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:N.filter_n2,onClick:function(){function y(){return v("command",{cmd:"n2_scrub",val:!N.filter_n2,id_tag:N.id_tag})}return y}()})]})]})},N.name)})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.modes,N=g.presets,y=g.emagged,B=g.mode,I=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:p.map(function(L){return(!L.emagonly||L.emagonly&&!!y)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function T(){return v("mode",{mode:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:N.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function T(){return v("preset",{preset:L.id})}return T}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),p.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.name}),N.settings.map(function(y){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:y.selected===-1?"Off":y.selected,onClick:function(){function B(){return v("command",{cmd:"set_threshold",env:y.env,var:y.val})}return B}()})},y.val)})]},N.name)})]})})}},82915:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AirlockAccessController=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.exterior_status,m=l.interior_status,d=l.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function i(){return h("force_ext")}return i}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function i(){return h("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function i(){return h("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function i(){return h("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return V}()},14962:function(w,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=1,k=2,S=4,b=8,h=r.AirlockElectronics=function(){function m(d,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return m}(),l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:v&S?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:v&k?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:v&b?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:b})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:v&V?"selected":null,onClick:function(){function g(){return i("unrestricted_access",{unres_dir:V})}return g}()})})]})]})})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,C=s.data,v=C.selected_accesses,g=C.one_access,p=C.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function N(){return i("set_one_access",{access:"one"})}return N}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function N(){return i("set_one_access",{access:"all"})}return N}()})],4),accesses:p,selectedList:v,accessMod:function(){function N(y){return i("set",{access:y})}return N}(),grantAll:function(){function N(){return i("grant_all")}return N}(),denyAll:function(){function N(){return i("clear_all")}return N}(),grantDep:function(){function N(y){return i("grant_region",{region:y})}return N}(),denyDep:function(){function N(y){return i("deny_region",{region:y})}return N}()})}},99327:function(w,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(96524),a=n(14299),t=n(17899),o=n(68100),f=n(24674),V=n(45493),k=-1,S=1,b=r.AlertModal=function(){function c(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.autofocus,v=i.buttons,g=v===void 0?[]:v,p=i.large_buttons,N=i.message,y=N===void 0?"":N,B=i.timeout,I=i.title,L=(0,t.useLocalState)(d,"selected",0),T=L[0],A=L[1],x=110+(y.length>30?Math.ceil(y.length/4):0)+(y.length&&p?5:0),E=325+(g.length>2?100:0),M=function(){function j(P){T===0&&P===k?A(g.length-1):T===g.length-1&&P===S?A(0):A(T+P)}return j}();return(0,e.createComponentVNode)(2,V.Window,{title:I,height:x,width:E,children:[!!B&&(0,e.createComponentVNode)(2,a.Loader,{value:B}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function j(P){var R=window.event?P.which:P.keyCode;R===o.KEY_SPACE||R===o.KEY_ENTER?s("choose",{choice:g[T]}):R===o.KEY_ESCAPE?s("cancel"):R===o.KEY_LEFT?(P.preventDefault(),M(k)):(R===o.KEY_TAB||R===o.KEY_RIGHT)&&(P.preventDefault(),M(S))}return j}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:y})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!C&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,h,{selected:T})]})]})})})]})}return c}(),h=function(m,d){var u=(0,t.useBackend)(d),s=u.data,i=s.buttons,C=i===void 0?[]:i,v=s.large_buttons,g=s.swapped_buttons,p=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:C==null?void 0:C.map(function(N,y){return v&&C.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:N,id:y.toString(),selected:p===y})},y):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:v?1:0,children:(0,e.createComponentVNode)(2,l,{button:N,id:y.toString(),selected:p===y})},y)})})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.large_buttons,v=m.button,g=m.selected,p=v.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:C?1:0,pt:C?.33:0,content:v,fluid:!!C,onClick:function(){function N(){return s("choose",{choice:v})}return N}(),selected:g,textAlign:"center",height:!!C&&2,width:!C&&p})}},88642:function(w,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AppearanceChanger=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.change_race,d=c.species,u=c.specimen,s=c.change_gender,i=c.gender,C=c.change_eye_color,v=c.change_skin_tone,g=c.change_skin_color,p=c.change_head_accessory_color,N=c.change_hair_color,y=c.change_secondary_hair_color,B=c.change_facial_hair_color,I=c.change_secondary_facial_hair_color,L=c.change_head_marking_color,T=c.change_body_marking_color,A=c.change_tail_marking_color,x=c.change_head_accessory,E=c.head_accessory_styles,M=c.head_accessory_style,j=c.change_hair,P=c.hair_styles,R=c.hair_style,D=c.change_hair_gradient,F=c.change_facial_hair,U=c.facial_hair_styles,_=c.facial_hair_style,z=c.change_head_markings,G=c.head_marking_styles,X=c.head_marking_style,Y=c.change_body_markings,J=c.body_marking_styles,ie=c.body_marking_style,ae=c.change_tail_markings,fe=c.tail_marking_styles,pe=c.tail_marking_style,be=c.change_body_accessory,te=c.body_accessory_styles,Q=c.body_accessory_style,ne=c.change_alt_head,me=c.alt_head_styles,ce=c.alt_head_style,ue=!1;return(C||v||g||p||N||y||B||I||L||T||A)&&(ue=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.specimen,selected:oe.specimen===u,onClick:function(){function ke(){return l("race",{race:oe.specimen})}return ke}()},oe.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function oe(){return l("gender",{gender:"male"})}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function oe(){return l("gender",{gender:"female"})}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function oe(){return l("gender",{gender:"plural"})}return oe}()})]}),!!ue&&(0,e.createComponentVNode)(2,V),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:E.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.headaccessorystyle,selected:oe.headaccessorystyle===M,onClick:function(){function ke(){return l("head_accessory",{head_accessory:oe.headaccessorystyle})}return ke}()},oe.headaccessorystyle)})}),!!j&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:P.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.hairstyle,selected:oe.hairstyle===R,onClick:function(){function ke(){return l("hair",{hair:oe.hairstyle})}return ke}()},oe.hairstyle)})}),!!D&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function oe(){return l("hair_gradient")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function oe(){return l("hair_gradient_offset")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function oe(){return l("hair_gradient_colour")}return oe}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function oe(){return l("hair_gradient_alpha")}return oe}()})]}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.facialhairstyle,selected:oe.facialhairstyle===_,onClick:function(){function ke(){return l("facial_hair",{facial_hair:oe.facialhairstyle})}return ke}()},oe.facialhairstyle)})}),!!z&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:G.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.headmarkingstyle,selected:oe.headmarkingstyle===X,onClick:function(){function ke(){return l("head_marking",{head_marking:oe.headmarkingstyle})}return ke}()},oe.headmarkingstyle)})}),!!Y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:J.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.bodymarkingstyle,selected:oe.bodymarkingstyle===ie,onClick:function(){function ke(){return l("body_marking",{body_marking:oe.bodymarkingstyle})}return ke}()},oe.bodymarkingstyle)})}),!!ae&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:fe.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.tailmarkingstyle,selected:oe.tailmarkingstyle===pe,onClick:function(){function ke(){return l("tail_marking",{tail_marking:oe.tailmarkingstyle})}return ke}()},oe.tailmarkingstyle)})}),!!be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:te.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.bodyaccessorystyle,selected:oe.bodyaccessorystyle===Q,onClick:function(){function ke(){return l("body_accessory",{body_accessory:oe.bodyaccessorystyle})}return ke}()},oe.bodyaccessorystyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:me.map(function(oe){return(0,e.createComponentVNode)(2,t.Button,{content:oe.altheadstyle,selected:oe.altheadstyle===ce,onClick:function(){function ke(){return l("alt_head",{alt_head:oe.altheadstyle})}return ke}()},oe.altheadstyle)})})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function u(){return l(d.action)}return u}()},d.key)})})}},51731:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosAlertConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.priority||[],m=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return V}()},57467:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(5126),f=n(45493),V=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},k=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},S=r.AtmosControl=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=(0,a.useLocalState)(m,"tabIndex",0),C=i[0],v=i[1],g=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,b);case 1:return(0,e.createComponentVNode)(2,h);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:C===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===0,onClick:function(){function p(){return v(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===1,onClick:function(){function p(){return v(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(C)]})})})}return l}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:C.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:V(C.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function v(){return u("open_alarm",{aref:C.ref})}return v}()})})]},C.name)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=(0,a.useLocalState)(m,"zoom",1),i=s[0],C=s[1],v=u.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function g(p){return C(p)}return g}(),children:v.filter(function(g){return g.z===2}).map(function(g){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:g.x,y:g.y,zoom:i,icon:"circle",tooltip:g.name,color:k(g.danger)},g.ref)})})})}},41550:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosFilter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.on,m=l.pressure,d=l.max_pressure,u=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function i(C,v){return h("custom_pressure",{pressure:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return h("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===u,content:i.label,onClick:function(){function C(){return h("set_filter",{filter:i.gas_type})}return C}()},i.label)})})]})})})})}return V}()},70151:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosMixer=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.on,d=c.pressure,u=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:d===0,width:2.2,onClick:function(){function C(){return l("min_pressure")}return C}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:d,onDrag:function(){function C(v,g){return l("custom_pressure",{pressure:g})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===u,width:2.2,onClick:function(){function C(){return l("max_pressure")}return C}()})]}),(0,e.createComponentVNode)(2,V,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,V,{node_name:"Node 2",node_ref:i})]})})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.node_name,d=S.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d-10)/100})}return u}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:d,onChange:function(){function u(s,i){return l("set_node",{node_name:m,concentration:i/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d+10)/100})}return u}()})]})}},54090:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.AtmosPump=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.on,m=l.rate,d=l.max_rate,u=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return h("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return h("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function i(C,v){return h("custom_rate",{rate:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return h("max_rate")}return i}()})]})]})})})})}return V}()},31335:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(36121),f=n(38424),V=n(45493),k=r.AtmosTankControl=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,V.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[u].pressure," kpa"]}):"",Object.keys(d[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[u][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},u)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"inlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:m.inlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"inlet",val:i})}return u}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"outlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:m.outlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"outlet",val:i})}return u}()})})]})}):""]})})}return S}()},85909:function(w,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),k=n(78234),S=function(l,c,m,d){return l.requirements===null?!0:!(l.requirements.metal*d>c||l.requirements.glass*d>m)},b=r.Autolathe=function(){function h(l,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.total_amount,i=u.max_amount,C=u.metal_amount,v=u.glass_amount,g=u.busyname,p=u.busyamt,N=u.showhacked,y=u.buildQueue,B=u.buildQueueLen,I=u.recipes,L=u.categories,T=(0,o.useSharedState)(c,"category",0),A=T[0],x=T[1];A===0&&(A="Tools");var E=C.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),R=P[0],D=P[1],F=(0,k.createSearch)(R,function(G){return G.name}),U="";B>0&&(U=y.map(function(G,X){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:y[X][0],onClick:function(){function Y(){return d("remove_from_queue",{remove_from_queue:y.indexOf(G)+1})}return Y}()},G)},X)}));var _=(0,a.flow)([(0,t.filter)(function(G){return(G.category.indexOf(A)>-1||R)&&(u.showhacked||!G.hacked)}),R&&(0,t.filter)(F),(0,t.sortBy)(function(G){return G.name.toLowerCase()})])(I),z="Build";return R?z="Results for: '"+R+"':":A&&(z="Build ("+A+")"),(0,e.createComponentVNode)(2,V.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:z,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function G(X){return x(X)}return G}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function G(X,Y){return D(Y)}return G}(),mb:1}),_.map(function(G){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+G.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===1,disabled:!S(G,u.metal_amount,u.glass_amount,1),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:1})}return X}(),children:(0,k.toTitleCase)(G.name)}),G.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===10,disabled:!S(G,u.metal_amount,u.glass_amount,10),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:10})}return X}(),children:"10x"}),G.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===25,disabled:!S(G,u.metal_amount,u.glass_amount,25),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:25})}return X}(),children:"25x"}),G.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===G.name&&u.busyamt===G.max_multiplier,disabled:!S(G,u.metal_amount,u.glass_amount,G.max_multiplier),onClick:function(){function X(){return d("make",{make:G.uid,multiplier:G.max_multiplier})}return X}(),children:[G.max_multiplier,"x"]}),G.requirements&&Object.keys(G.requirements).map(function(X){return(0,k.toTitleCase)(X)+": "+G.requirements[X]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},G.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[U,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function G(){return d("clear_queue")}return G}()})]})]})]})})})}return h}()},81617:function(w,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BioChipPad=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.implant,m=l.contains_case,d=l.gps,u=l.tag,s=(0,a.useLocalState)(S,"newTag",u),i=s[0],C=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function v(){return h("eject_case")}return v}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function v(){return h("tag",{newtag:i})}return v}(),onInput:function(){function v(g,p){return C(p)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===i,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function v(){return h("tag",{newtag:i})}return v}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return V}()},26215:function(w,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.Biogenerator=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.config,i=u.container,C=u.processing,v=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:C,name:v}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),i?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,k)]})})})}return l}(),k=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,C=s.container,v=s.container_curr_reagents,g=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),C?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+g+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.has_plants,C=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return u("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!C,tooltip:C?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return u("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return u("eject_plants")}return v}()})})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,C=s.product_list,v=(0,a.useSharedState)(m,"vendAmount",1),g=v[0],p=v[1],N=Object.entries(C).map(function(y,B){var I=Object.entries(y[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:y[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:iu&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!p&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),u>N&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:d===0,tooltip:"Set to 0",onClick:function(){function I(){return l("set",{set_level:0})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:d===0,onClick:function(){function I(){return l("set",{set_level:u})}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:d===0,tooltip:"Decrease one step",onClick:function(){function I(){return l("decrease")}return I}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:d,fillValue:u,minValue:0,color:B,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function I(L,T){return l("set",{set_level:T})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:d===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function I(){return l("increase")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:d===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function I(){return l("set",{set_level:g})}return I}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,f.formatPower)(C)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,f.formatPower)(y)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(v)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:i})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(I){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:I.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:I.price>=s,onClick:function(){function L(){return l("vend",{target:I.key})}return L}(),content:I.price})},I.key)})})})})]})})]})})})}return k}()},71736:function(w,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(96524),a=n(36121),t=n(78234),o=n(17899),f=n(24674),V=n(45493),k=[["good","Alive"],["average","Critical"],["bad","DEAD"]],S=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],b=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],h={average:[.25,.5],bad:[.5,1/0]},l=function(B,I){for(var L=[],T=0;T0?B.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(B){if(B>100){if(B<300)return"mild infection";if(B<400)return"mild infection+";if(B<500)return"mild infection++";if(B<700)return"acute infection";if(B<800)return"acute infection+";if(B<900)return"acute infection++";if(B>=900)return"septic"}return""},d=r.BodyScanner=function(){function y(B,I){var L=(0,o.useBackend)(I),T=L.data,A=T.occupied,x=T.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,N);return(0,e.createComponentVNode)(2,V.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:M})})}return y}(),u=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,C,{occupant:I}),(0,e.createComponentVNode)(2,g,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(B,I){var L=(0,o.useBackend)(I),T=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return T("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return T("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:k[x.stat][0],children:k[x.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},i=function(B){var I=B.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:S.map(function(L,T){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},C=function(B){var I=B.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:l(b,function(L,T,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!T&&T[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,v,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:h,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(T){return T.known?T.name:"Unknown object"}))]})]})]},L)})]})})},p=function(B){return B.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),B.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:h,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},N=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},99449:function(w,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(18963),k=r.BookBinder=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.selectedbook,u=m.book_categories,s=[];return u.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:u.map(function(i){return i.description}),onSelected:function(){function i(C){return c("toggle_binder_category",{category_id:s[C]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,f.modalOpen)(h,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(i){return d.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function C(){return c("toggle_binder_category",{category_id:i.category_id})}return C}()},i.category_id)})]})})]})})})]})}return S}()},85951:function(w,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(l){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(l)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},V=r.BotCall=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],C=s[1],v={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},g=function(){function p(N){return v[N]?(0,e.createComponentVNode)(2,k,{model:v[N]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,N){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===N,onClick:function(){function y(){return C(N)}return y}(),children:v[N]},N)})})}),g(i)]})})})}return h}(),k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return s[l.model]!==void 0?(0,e.createComponentVNode)(2,b,{model:[l.model]}):(0,e.createComponentVNode)(2,S,{model:[l.model]})},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[l.model]," detected"]})})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[l.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?f(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function C(){return d("interface",{botref:i.UID})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function C(){return d("call",{botref:i.UID})}return C}()})})]},i.UID)})]})})})}},43506:function(w,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotClean=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,C=c.canhack,v=c.emagged,g=c.remote_disabled,p=c.painame,N=c.cleanblood,y=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Clean Blood",disabled:d,onClick:function(){function B(){return l("blood")}return B}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:y?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function B(){return l("area")}return B}()}),y!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:y})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function B(){return l("ejectpai")}return B}()})})]})})}return k}()},89593:function(w,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotFloor=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.hullplating,s=c.replace,i=c.eat,C=c.make,v=c.fixfloor,g=c.nag_empty,p=c.magnet,N=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:N})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:m,onClick:function(){function y(){return l("autotile")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function y(){return l("replacetiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function y(){return l("fixfloors")}return y}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:m,onClick:function(){function y(){return l("eattiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function y(){return l("maketiles")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Transmit notice when empty",disabled:m,onClick:function(){function y(){return l("nagonempty")}return y}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:m,onClick:function(){function y(){return l("anchored")}return y}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function y(){return l("ejectpai")}return y}()})})]})})}return k}()},89513:function(w,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotHonk=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return k}()},19297:function(w,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotMed=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,C=c.canhack,v=c.emagged,g=c.remote_disabled,p=c.painame,N=c.shut_up,y=c.declare_crit,B=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,T=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!N,disabled:d,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:y,disabled:d,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,j){return l("set_heal_threshold",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,j){return l("set_injection_amount",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:T?"Beaker":"Internal Synthesizer",icon:T?"flask":"cogs",disabled:d,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:d,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:d,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:B,disabled:d,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return k}()},4249:function(w,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(69521),V=r.BotSecurity=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.noaccess,d=c.painame,u=c.check_id,s=c.check_weapons,i=c.check_warrant,C=c.arrest_mode,v=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Unidentifiable Persons",disabled:m,onClick:function(){function g(){return l("authid")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function g(){return l("authweapon")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:m,onClick:function(){function g(){return l("authwarrant")}return g}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function g(){return l("arrtype")}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function g(){return l("arrdeclare")}return g}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function g(){return l("ejectpai")}return g}()})})]})})}return k}()},27267:function(w,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(96524),a=n(45493),t=n(24674),o=n(17899),f=function(b,h){var l=b.cell,c=(0,o.useBackend)(h),m=c.act,d=l.cell_id,u=l.occupant,s=l.crimes,i=l.brigged_by,C=l.time_left_seconds,v=l.time_set_seconds,g=l.ref,p="";C>0&&(p+=" BrigCells__listRow--active");var N=function(){m("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:C})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:N,children:"Release"})})]})},V=function(b){var h=b.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),h.map(function(l){return(0,e.createComponentVNode)(2,f,{cell:l},l.ref)})]})},k=r.BrigCells=function(){function S(b,h){var l=(0,o.useBackend)(h),c=l.act,m=l.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V,{cells:d})})})})})}return S}()},26623:function(w,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.BrigTimer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var b=function(d,u){var s,i;if(!u)return[];var C=d.findIndex(function(v){return v.name===u.name});return[(s=d[C-1])==null?void 0:s.name,(i=d[C+1])==null?void 0:i.name]},h=function(d,u){u===void 0&&(u="");var s=(0,f.createSearch)(u,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(d)},l=r.CameraConsole=function(){function m(d,u){var s=(0,V.useBackend)(u),i=s.act,C=s.data,v=s.config,g=C.mapRef,p=C.activeCamera,N=h(C.cameras),y=b(N,p),B=y[0],I=y[1];return(0,e.createComponentVNode)(2,S.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-left",disabled:!B,onClick:function(){function L(){return i("switch_camera",{name:B})}return L}()}),(0,e.createComponentVNode)(2,k.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,k.ByondUi,{className:"CameraConsole__map",params:{id:g,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,u){var s=(0,V.useBackend)(u),i=s.act,C=s.data,v=(0,V.useLocalState)(u,"searchText",""),g=v[0],p=v[1],N=C.activeCamera,y=h(C.cameras,g);return(0,e.createComponentVNode)(2,k.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.Stack.Item,{children:(0,e.createComponentVNode)(2,k.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function B(I,L){return p(L)}return B}()})}),(0,e.createComponentVNode)(2,k.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,k.Section,{fill:!0,scrollable:!0,children:y.map(function(B){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",N&&B.name===N.name&&"Button--selected"]),B.name.trimLongStr(23),0,{title:B.name,onClick:function(){function I(){return i("switch_camera",{name:B.name})}return I}()},B.name)})})})]})}return m}()},95513:function(w,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(92986),V=n(45493),k=r.Canister=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.portConnected,u=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,C=m.minReleasePressure,v=m.maxReleasePressure,g=m.valveOpen,p=m.name,N=m.canLabel,y=m.colorContainer,B=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,T="";B.prim&&(T=y.prim.options[B.prim].name);var A="";B.sec&&(A=y.sec.options[B.sec].name);var x="";B.ter&&(x=y.ter.options[B.ter].name);var E="";B.quart&&(E=y.quart.options[B.quart].name);var M=[],j=[],P=[],R=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!p.can_close,onClick:function(){function N(){return s("make_job_unavailable",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function N(){return s("make_job_available",{job:p.title})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function N(){return s("prioritize_job",{job:p.title})}return N}()})})]},p.title)})]})})]}):g=(0,e.createComponentVNode)(2,S);break;case 2:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):i.modify_name?g=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(N){return s("set",{access:N})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(N){return s("grant_region",{region:N})}return p}(),denyDep:function(){function p(N){return s("deny_region",{region:N})}return p}()}):g=(0,e.createComponentVNode)(2,b);break;case 3:i.authenticated?i.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):g=(0,e.createComponentVNode)(2,h):g=(0,e.createComponentVNode)(2,S);break;case 4:!i.authenticated||!i.scan_name?g=(0,e.createComponentVNode)(2,S):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function N(){return s("remote_demote",{remote_demote:p.name})}return N}()})})]},p.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:C}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},16377:function(w,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(96524),a=n(74041),t=n(50640),o=n(17899),f=n(24674),V=n(45493),k=n(78234),S=r.CargoConsole=function(){function u(s,i){return(0,e.createComponentVNode)(2,V.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return u}(),b=function(s,i){var C=(0,o.useLocalState)(i,"contentsModal",null),v=C[0],g=C[1],p=(0,o.useLocalState)(i,"contentsModalTitle",null),N=p[0],y=p[1];if(v!==null&&N!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:v.map(function(B){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",B]},B)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function B(){g(null),y(null)}return B}()})})]})},h=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.is_public,N=g.timeleft,y=g.moving,B=g.at_station,I,L;return!y&&!B?(I="Docked off-station",L="Call Shuttle"):!y&&B?(I="Docked at the station",L="Return Shuttle"):y&&(L="In Transit...",N!==1?I="Shuttle is en route (ETA: "+N+" minutes)":I="Shuttle is en route (ETA: "+N+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:y,onClick:function(){function T(){return v("moveShuttle")}return T}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function T(){return v("showMessages")}return T}()})]})]})})})},l=function(s,i){var C,v=(0,o.useBackend)(i),g=v.act,p=v.data,N=p.accounts,y=(0,o.useLocalState)(i,"selectedAccount"),B=y[0],I=y[1],L=[];return N.map(function(T){return L[T.name]=T.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(T){return T.name}),selected:(C=N.filter(function(T){return T.account_UID===B})[0])==null?void 0:C.name,onSelected:function(){function T(A){return I(L[A])}return T}()}),N.filter(function(T){return T.account_UID===B}).map(function(T){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:T.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:T.balance})})]},T.account_UID)})]})})},c=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.requests,N=g.categories,y=g.supply_packs,B=(0,o.useSharedState)(i,"category","Emergency"),I=B[0],L=B[1],T=(0,o.useSharedState)(i,"search_text",""),A=T[0],x=T[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],j=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),R=P[0],D=P[1],F=(0,k.createSearch)(A,function(Y){return Y.name}),U=(0,o.useLocalState)(i,"selectedAccount"),_=U[0],z=U[1],G=(0,a.flow)([(0,t.filter)(function(Y){return Y.cat===N.filter(function(J){return J.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(Y){return Y.name.toLowerCase()})])(y),X="Crate Catalogue";return A?X="Results for '"+A+"':":I&&(X="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:X,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:N.map(function(Y){return Y.name}),selected:I,onSelected:function(){function Y(J){return L(J)}return Y}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Y(J,ie){return x(ie)}return Y}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:G.map(function(Y){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[Y.name," (",Y.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!_,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!1,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!_||Y.singleton,onClick:function(){function J(){return v("order",{crate:Y.ref,multiple:!0,account:_})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){j(Y.contents),D(Y.name)}return J}()})]})]},Y.name)})})})]})})},m=function(s,i){var C=s.request,v,g;switch(C.department){case"Engineering":g="CE",v="orange";break;case"Medical":g="CMO",v="teal";break;case"Science":g="RD",v="purple";break;case"Supply":g="CT",v="brown";break;case"Service":g="HOP",v="olive";break;case"Security":g="HOS",v="red";break;case"Command":g="CAP",v="blue";break;case"Assistant":g="Any Head",v="grey";break}return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!C.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!C.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:v,content:g,disabled:C.req_cargo_approval,icon:"user-tie",tooltip:C.req_cargo_approval?"This Order first requires approval from the QM before the "+g+" can approve it":"This Order requires approval from the "+g+" still"})})]})},d=function(s,i){var C=(0,o.useBackend)(i),v=C.act,g=C.data,p=g.requests,N=g.orders,y=g.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:p.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",B.ordernum,": ",B.supply_type," (",B.cost," credits) for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)," with"," ",B.department?"The "+B.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]}),(0,e.createComponentVNode)(2,m,{request:B})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!B.can_approve,onClick:function(){function I(){return v("approve",{ordernum:B.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!B.can_deny,onClick:function(){function I(){return v("deny",{ordernum:B.ordernum})}return I}()})]})]},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:N.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:y.map(function(B){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",B.ordernum,": ",B.supply_type," for ",(0,e.createVNode)(1,"b",null,B.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",B.comment]})]})},B.ordernum)})})]})}},89917:function(w,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ChangelogView=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=(0,a.useLocalState)(S,"onlyRecent",0),m=c[0],d=c[1],u=l.cl_data,s=l.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},C=function(){function v(g){return g in i?i[g]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function v(){return d(!m)}return v}()}),children:u.map(function(v){return!m&&v.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:v.author+" - Merged on "+v.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+v.num,onClick:function(){function g(){return h("open_pr",{pr_number:v.num})}return g}()}),children:v.entries.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[C(g.etype)," ",g.etext]},g)})},v)})})})})}return V}()},71254:function(w,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(1496),f=n(45493),V=[1,5,10,20,30,50],k=[1,5,10],S=r.ChemDispenser=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+C.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l)]})})})}return c}(),b=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.amount,v=i.energy,g=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[v," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:V.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:C===p,content:p,onClick:function(){function y(){return s("amount",{amount:p})}return y}()})},N)})})})]})})})},h=function(m,d){for(var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.chemicals,v=C===void 0?[]:C,g=[],p=0;p<(v.length+1)%3;p++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[v.map(function(N,y){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:N.title,style:{"margin-left":"2px"},onClick:function(){function B(){return s("dispense",{reagent:N.id})}return B}()},y)}),g.map(function(N,y){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},y)})]})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.isBeakerLoaded,v=i.beakerCurrentVolume,g=i.beakerMaxVolume,p=i.beakerContents,N=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!C&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[v," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!C,onClick:function(){function y(){return s("ejectBeaker")}return y}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:C,beakerContents:N,buttons:function(){function y(B){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:-1})}return I}()}),k.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function T(){return s("remove",{reagent:B.id,amount:I})}return T}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:B.id,amount:B.volume})}return I}()})],0)}return y}()})})})}},27004:function(w,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(1496),V=n(45493),k=r.ChemHeater=function(){function h(l,c){return(0,e.createComponentVNode)(2,V.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.targetTemp,i=u.targetTempReached,C=u.autoEject,v=u.isActive,g=u.currentTemp,p=u.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:C?"toggle-on":"toggle-off",selected:C,onClick:function(){function N(){return d("toggle_autoeject")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{content:v?"On":"Off",icon:"power-off",selected:v,disabled:!p,onClick:function(){function N(){return d("toggle_on")}return N}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function N(y,B){return d("adjust_temperature",{target:B})}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function N(y){return(0,a.toFixed)(y)+" K"}return N}()})||"\u2014"})]})})})},b=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerCurrentVolume,C=u.beakerMaxVolume,v=u.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",C," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return d("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:v})})})}},41099:function(w,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(1496),V=n(99665),k=n(28234),S=["icon"];function b(I,L){if(I==null)return{};var T={},A=Object.keys(I),x,E;for(E=0;E=0)&&(T[x]=I[x]);return T}function h(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,l(I,L)}function l(I,L){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function T(A,x){return A.__proto__=x,A}return T}(),l(I,L)}var c=[1,5,10],m=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:M.idx,beaker:L.args.beaker})}return j}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),u=r.ChemMaster=function(){function I(L,T){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,B)]})})]})}return I}(),s=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.beaker,j=E.beaker_reagents,P=E.buffer_reagents,R=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:R?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(F,U){return(0,e.createComponentVNode)(2,t.Box,{mb:U0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function P(R,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(R=P.map(function(D){var F=D.id,U=D.sprite;return(0,e.createComponentVNode)(2,N,{icon:U,color:"translucent",onClick:function(){function _(){return x("set_sprite_style",{production_mode:M,style:F})}return _}(),selected:j===F},F)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:R})})},B=function(L,T){var A=(0,a.useBackend)(T),x=A.act,E=A.data,M=E.loaded_pill_bottle_style,j=E.containerstyles,P=E.loaded_pill_bottle,R={width:"20px",height:"20px"},D=j.map(function(F){var U=F.color,_=F.name,z=M===U;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:R.width,height:R.height},onClick:function(){function G(){return x("set_container_style",{style:U})}return G}(),icon:z&&"check",iconStyle:{position:"relative","z-index":1},tooltip:_,tooltipPosition:"top",children:[!z&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:R.width,height:R.height,"background-color":U,opacity:.6,filter:"alpha(opacity=60)"}})]},U)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return x("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:R.width,height:R.height},icon:"tint-slash",onClick:function(){function F(){return x("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,V.modalRegisterBodyOverride)("analyze",m)},51327:function(w,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(17442),V=1,k=32,S=128,b=r.CloningConsole=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.tab,N=g.has_scanner,y=g.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:N?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:y})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,icon:"home",onClick:function(){function B(){return v("menu",{tab:1})}return B}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===2,icon:"user",onClick:function(){function B(){return v("menu",{tab:2})}return B}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,h)})]})})}return u}(),h=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.tab,p;return g===1?p=(0,e.createComponentVNode)(2,l):g===2&&(p=(0,e.createComponentVNode)(2,c)),p},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.pods,N=g.pod_amount,y=g.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!N&&p.map(function(B,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(B.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:y===B.uid,onClick:function(){function L(){return v("select_pod",{uid:B.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!B.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!B.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:B.biomass,ranges:{good:[2*B.biomass_storage_capacity/3,B.biomass_storage_capacity],average:[B.biomass_storage_capacity/3,2*B.biomass_storage_capacity/3],bad:[0,B.biomass_storage_capacity/3]},minValue:0,maxValue:B.biomass_storage_capacity,children:[B.biomass,"/",B.biomass_storage_capacity+" ("+100*B.biomass/B.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:B.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:B.osseous_reagent})]})})]})},B)})]})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.selected_pod_data,N=g.has_scanned,y=g.scanner_has_patient,B=g.feedback,I=g.scan_successful,L=g.cloning_cost,T=g.has_scanner;return(0,e.createComponentVNode)(2,t.Box,{children:[!T&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!T&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function A(){return v("scan")}return A}(),children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function A(){return v("eject")}return A}(),children:"Eject Patient"})]}),children:[!N&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:y?"No scan detected for current patient.":"No patient is in the scanner."}),!!N&&(0,e.createComponentVNode)(2,t.Box,{color:B.color,children:B.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!N)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_all")}return A}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("fix_none")}return A}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function A(){return v("clone")}return A}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.patient_limb_data,N=g.limb_list,y=g.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[B][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[B][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0]+y[B][1],maxValue:p[B][5],ranges:{good:[0,p[B][5]/3],average:[p[B][5]/3,2*p[B][5]/3],bad:[2*p[B][5]/3,p[B][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+y[B][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+y[B][1]]})}),p[B][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][3],onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[B][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][0]||p[B][1]),checked:!(y[B][0]||y[B][1]),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&V),checked:!(y[B][2]&V),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&k),checked:!(y[B][2]&k),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[B][2]&S),checked:!(y[B][2]&S),onClick:function(){function L(){return v("toggle_limb_repair",{limb:B,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},B)})})},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.patient_organ_data,N=g.organ_list,y=g.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:N.map(function(B,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[B][3],":"," "]}),p[B][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!y[B][2]&&!y[B][1],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"replace"})}return L}(),children:"Replace Organ"}),!p[B][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[B][0],checked:!y[B][0],onClick:function(){function L(){return v("toggle_organ_repair",{organ:B,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[B][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[B][3]," is missing!"]}),!p[B][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:y[B][0],maxValue:p[B][4],ranges:{good:[0,p[B][4]/3],average:[p[B][4]/3,2*p[B][4]/3],bad:[2*p[B][4]/3,p[B][4]]},children:"Post-Cloning Damage: "+y[B][0]})]})]})},B)})})}},66373:function(w,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CloningPod=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.biomass,m=l.biomass_storage_capacity,d=l.sanguine_reagent,u=l.osseous_reagent,s=l.organs,i=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function C(v,g){return h("remove_reagent",{reagent:"sanguine_reagent",amount:g})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return h("purge_reagent",{reagent:"sanguine_reagent"})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function C(v,g){return h("remove_reagent",{reagent:"osseous_reagent",amount:g})}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function C(){return h("purge_reagent",{reagent:"osseous_reagent"})}return C}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(C){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:C.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function v(){return h("eject_organ",{organ_ref:C.ref})}return v}()})})]},C)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return V}()},38781:function(w,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.CoinMint=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.materials,d=c.moneyBag,u=c.moneyBagContent,s=c.moneyBagMaxContent,i=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function C(){return l("activate")}return C}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function C(){return l("ejectMat")}return C}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,m:.2,textAlign:"center",color:"translucent",selected:C.id===c.chosenMaterial,tooltip:C.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.amount})]}),onClick:function(){function v(){return l("selectMaterial",{material:C.id})}return v}()},C.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function C(){return l("ejectBag")}return C}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:u,children:[u," / ",s]})})})]})})})}return k}()},11866:function(w,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ColourMatrixTester=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.colour_data,m=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[u.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[u.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,C){return h("setvalue",{idx:u.idx+1,value:C})}return s}()})]},u.name)})},d)})})})})})}return V}()},22420:function(w,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},V=r.CommunicationsComputer=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),f(p)]})})})}return u}(),k=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.authenticated,N=g.noauthbutton,y=g.esc_section,B=g.esc_callable,I=g.esc_recallable,L=g.esc_status,T=g.authhead,A=g.is_ai,x=g.lastCallLoc,E=!1,M;return p?p===1?M="Command":p===2?M="Captain":p===3?M="CentComm Officer":p===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:p?"sign-out-alt":"id-card",selected:p,disabled:N,content:p?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return v("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!y&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!B&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!T,onClick:function(){function j(){return v("callshuttle")}return j}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!T||A,onClick:function(){function j(){return v("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},S=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin;return p?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,h)},b=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin,N=g.gamma_armory_location,y=g.admin_levels,B=g.authenticated,I=g.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:y,required_access:p,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!p,onClick:function(){function L(){return v("send_to_cc_announcement_page")}return L}()}),B===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return v("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return v("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return v("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return v("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:N?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return v("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return v("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return v("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,h)})]})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.msg_cooldown,N=g.emagged,y=g.cc_cooldown,B=g.security_level_color,I=g.str_security_level,L=g.levels,T=g.authcapt,A=g.authhead,x=g.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var M=N?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return y>0&&(M+=" ("+y+"s)",j+=" ("+y+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:B,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:T})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!T||p>0,onClick:function(){function P(){return v("announce")}return P}()})}),!!N&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!T||y>0,onClick:function(){function P(){return v("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!T,onClick:function(){function P(){return v("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!T||y>0,onClick:function(){function P(){return v("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!T||y>0,onClick:function(){function P(){return v("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function P(){return v("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function P(){return v("messagelist")}return P}()})})]})})})],4)},l=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.stat_display,N=g.authhead,y=g.current_message_title,B=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:L.name})}return T}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!N,onClick:function(){function T(){return v("setstat",{statdisp:3,alert:L.alert})}return T}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return v("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!N,onClick:function(){function L(){return v("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!N,onClick:function(){function L(){return v("setmsg2")}return L}()})})]})})})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.authhead,N=g.current_message_title,y=g.current_message,B=g.messages,I=g.security_level,L;if(N)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,onClick:function(){function A(){return v("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:y})})});else{var T=B.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!p||N===A.title,onClick:function(){function x(){return v("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!p,onClick:function(){function x(){return v("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return v("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:T})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=s.levels,N=s.required_access,y=s.use_confirm,B=g.security_level;return y?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!N||I.id===B,tooltip:I.tooltip,onClick:function(){function L(){return v("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.is_admin,N=g.possible_cc_sounds;if(!p)return v("main");var y=(0,a.useLocalState)(i,"subtitle",""),B=y[0],I=y[1],L=(0,a.useLocalState)(i,"text",""),T=L[0],A=L[1],x=(0,a.useLocalState)(i,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(i,"beepsound","Beep"),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function D(){return v("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:B,onChange:function(){function D(F,U){return I(U)}return D}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:T,onChange:function(){function D(F,U){return A(U)}return D}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function D(){return v("make_cc_announcement",{subtitle:B,text:T,classified:E,beepsound:P})}return D}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:N,selected:P,onSelected:function(){function D(F){return R(F)}return D}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function D(){return v("test_sound",{sound:P})}return D}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function D(){return M(!E)}return D}()})})]})]})})}},46868:function(w,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.CompostBin=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.biomass,m=l.compost,d=l.biomass_capacity,u=l.compost_capacity,s=l.potassium,i=l.potassium_capacity,C=l.potash,v=l.potash_capacity,g=(0,a.useSharedState)(S,"vendAmount",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[m," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:C,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[C," / ",v," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function y(B,I){return N(I)}return y}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*p,icon:"arrow-circle-down",onClick:function(){function y(){return h("create",{amount:p})}return y}()})})})]})})})}return V}()},64707:function(w,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(99509),V=n(45493);function k(v,g){v.prototype=Object.create(g.prototype),v.prototype.constructor=v,S(v,g)}function S(v,g){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(){function p(N,y){return N.__proto__=y,N}return p}(),S(v,g)}var b={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},h=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function v(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I;B.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):B.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:B.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:h,finishedTimeout:3e3,onFinished:function(){function x(){return y("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),T=L[0],A=L[1];return(0,e.createComponentVNode)(2,V.Window,{theme:"syndicate",width:500,height:600,children:[T&&(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return v}(),c=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.tc_available,L=B.tc_paid_out,T=B.completed_contracts,A=B.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return y("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:T})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return y("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return y("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.contracts,L=B.contract_active,T=B.can_extract,A=!!L&&I.filter(function(P){return P.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!T||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A.time_left,format:function(){function P(R,D){return" ("+D.substr(3)+")"}return P}()})],onClick:function(){function P(){return y("extract")}return P}()})},g,{children:I.slice().sort(function(P,R){return P.status===1?-1:R.status===1?1:P.status-R.status}).map(function(P){var R;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+P.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!b[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:b[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:b[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return y("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",u(P)]}),(R=P.difficulties)==null?void 0:R.map(function(D,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function U(){return y("activate",{uid:P.uid,difficulty:F+1})}return U}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},u=function(g){if(!(!g.objective||g.status>1)){var p=g.objective.locs.user_area_id,N=g.objective.locs.user_coords,y=g.objective.locs.target_area_id,B=g.objective.locs.target_coords,I=p===y;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(B[1]-N[1],B[0]-N[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(g,p){var N=(0,t.useBackend)(p),y=N.act,B=N.data,I=B.rep,L=B.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:L.map(function(T){return(0,e.createComponentVNode)(2,o.Section,{title:T.name,children:[T.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:T.stock===0?"bad":"good",ml:"0.5rem",children:[T.stock," in stock"]})]},T.uid)})})))},i=function(v){function g(N){var y;return y=v.call(this,N)||this,y.timer=null,y.state={currentIndex:0,currentDisplay:[]},y}k(g,v);var p=g.prototype;return p.tick=function(){function N(){var y=this.props,B=this.state;if(B.currentIndex<=y.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=B.currentDisplay;I.push(y.allMessages[B.currentIndex])}else clearTimeout(this.timer),setTimeout(y.onFinished,y.finishedTimeout)}return N}(),p.componentDidMount=function(){function N(){var y=this,B=this.props.linesPerSecond,I=B===void 0?2.5:B;this.timer=setInterval(function(){return y.tick()},1e3/I)}return N}(),p.componentWillUnmount=function(){function N(){clearTimeout(this.timer)}return N}(),p.render=function(){function N(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(y){return(0,e.createFragment)([y,(0,e.createVNode)(1,"br")],0,y)})})}return N}(),g}(e.Component),C=function(g,p){var N=(0,t.useLocalState)(p,"viewingPhoto",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:y}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return B("")}return I}()})]})}},52141:function(w,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ConveyorSwitch=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.slowFactor,m=l.oneWay,d=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function u(){return h("toggleOneWay")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function u(){return h("slowFactor",{value:c-5})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function u(){return h("slowFactor",{value:c-1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function u(s){return s+"x"}return u}(),onChange:function(){function u(s,i){return h("slowFactor",{value:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function u(){return h("slowFactor",{value:c+1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function u(){return h("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return V}()},94187:function(w,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(96524),a=n(50640),t=n(78234),o=n(17899),f=n(24674),V=n(5126),k=n(38424),S=n(45493),b=function(u,s){return u.dead?"Deceased":parseInt(u.health,10)<=s?"Critical":parseInt(u.stat,10)===1?"Unconscious":"Living"},h=function(u,s){return u.dead?"red":parseInt(u.health,10)<=s?"orange":parseInt(u.stat,10)===1?"blue":"green"},l=r.CrewMonitor=function(){function d(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,o.useLocalState)(s,"tabIndex",0),p=g[0],N=g[1],y=function(){function B(I){switch(I){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return B}();return(0,e.createComponentVNode)(2,S.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:p===0,onClick:function(){function B(){return N(0)}return B}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:p===1,onClick:function(){function B(){return N(1)}return B}(),children:"Map View"},"MapView")]})}),y(p)]})})})}return d}(),c=function(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,a.sortBy)(function(A){return A.name})(v.crewmembers||[]),p=v.possible_levels,N=v.viewing_current_z_level,y=v.is_advanced,B=(0,o.useLocalState)(s,"search",""),I=B[0],L=B[1],T=(0,t.createSearch)(I,function(A){return A.name+"|"+A.assignment+"|"+A.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function A(x,E){return L(E)}return A}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:y?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:p,selected:N,onSelected:function(){function A(x){return C("switch_level",{new_level:x})}return A}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),g.filter(T).map(function(A){return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!A.is_command,children:[(0,e.createComponentVNode)(2,V.TableCell,{children:[A.name," (",A.assignment,")"]}),(0,e.createComponentVNode)(2,V.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:h(A,v.critThreshold),children:b(A,v.critThreshold)}),A.sensor_type>=2||v.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.oxy,children:A.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.toxin,children:A.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.burn,children:A.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:k.COLORS.damageType.brute,children:A.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,V.TableCell,{children:A.sensor_type===3||v.ignoreSensors?v.isAI||v.isObserver?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:A.area+" ("+A.x+", "+A.y+")",onClick:function(){function x(){return C("track",{track:A.ref})}return x}()}):A.area+" ("+A.x+", "+A.y+")":(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},A.name)})]})]})},m=function(u,s){var i=(0,o.useBackend)(s),C=i.act,v=i.data,g=(0,o.useLocalState)(s,"zoom",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{onZoom:function(){function y(B){return N(B)}return y}(),children:v.crewmembers.filter(function(y){return y.sensor_type===3||v.ignoreSensors}).map(function(y){return(0,e.createComponentVNode)(2,f.NanoMap.Marker,{x:y.x,y:y.y,zoom:p,icon:"circle",tooltip:y.name+" ("+y.assignment+")",color:h(y,v.critThreshold),onClick:function(){function B(){return v.isObserver?C("track",{track:y.ref}):null}return B}()},y.ref)})})})}},60561:function(w,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=r.Cryo=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,S)})})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isOperating,i=u.hasOccupant,C=u.occupant,v=C===void 0?[]:C,g=u.cellTemperature,p=u.cellTemperatureStatus,N=u.isBeakerLoaded,y=u.cooldownProgress,B=u.auto_eject_healthy,I=u.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:v.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:v.health,max:v.maxHealth,value:v.health/v.maxHealth,color:v.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:v[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(v[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!N&&"average",value:y,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:B?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerLabel,C=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!C&&"bad",ml:1,children:C?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C,format:function(){function v(g){return Math.round(g)+" units remaining"}return v}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},27889:function(w,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=r.CryopodConsole=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.account_name,u=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,k),!!u&&(0,e.createComponentVNode)(2,S)]})})}return b}(),k=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(u,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:u.name,children:u.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.frozen_items,s=function(C){var v=C.toString();return v.startsWith("the ")&&(v=v.slice(4,v.length)),(0,f.toTitleCase)(v)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:u.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function C(){return m("one_item",{item:i.uid})}return C}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},81434:function(w,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],S=[5,10,20,30,50],b=r.DNAModifier=function(){function p(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.irradiating,A=L.dnaBlockSize,x=L.occupant;y.dnaBlockSize=A,y.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return T&&(E=(0,e.createComponentVNode)(2,v,{duration:T})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return p}(),h=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||T,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V[x.stat][0],children:V[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),y.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedMenuKey,A=L.hasOccupant,x=L.occupant;if(A){if(y.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return T==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):T==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):T==="buffer"?E=(0,e.createComponentVNode)(2,u):T==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:k.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:T===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},j)})}),E]})},c=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:T,selectedSubblock:A,blockSize:y.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function M(j){return j.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(j,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:x.structuralEnzymes,selectedBlock:T,selectedSubblock:A,blockSize:y.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:T,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationIntensity",{value:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationDuration",{value:M})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},u=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.buffers,A=T.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.id,A=N.name,x=N.buffer,E=L.isInjectorReady,M=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function j(){return I("bufferOption",{option:"clear",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function j(){return I("bufferOption",{option:"changeLabel",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function j(){return I("bufferOption",{option:"saveDisk",id:T})}return j}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUI",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUIAndUE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveSE",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"loadDisk",id:T})}return j}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:T,block:1})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"transfer",id:T})}return j}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:T?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},C=function(N,y){var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!T,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:T?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[S.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function j(){return I("injectRejuvenators",{amount:E})}return j}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},v=function(N,y){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),N.duration,(0,e.createTextVNode)(" second"),N.duration===1?"":"s"],0)})]})},g=function(N,y){for(var B=(0,a.useBackend)(y),I=B.act,L=B.data,T=N.dnaString,A=N.selectedBlock,x=N.selectedSubblock,E=N.blockSize,M=N.action,j=T.split(""),P=0,R=[],D=function(){for(var _=F/E+1,z=[],G=function(){var J=X+1;z.push((0,e.createComponentVNode)(2,t.Button,{selected:A===_&&x===J,content:j[F+X],mb:"0",onClick:function(){function ie(){return I(M,{block:_,subblock:J})}return ie}()}))},X=0;Xi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function N(){return s("dispatch_ert",{silent:g})}return N}()})})]})})})},h=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:C&&C.length?C.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:v.sender_real_name,onClick:function(){function g(){return s("view_player_panel",{uid:v.sender_uid})}return g}(),tooltip:"View player panel"}),children:v.message},(0,f.decodeHtmlEntities)(v.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,C=(0,a.useLocalState)(d,"text",""),v=C[0],g=C[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:v,onChange:function(){function p(N,y){return g(y)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:v})}return p}()})]})})}},24503:function(w,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.EconomyManager=function(){function S(b,h){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return S}(),k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"global"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department_members"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"crew_member"})}return u}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",d," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function u(){return c("delay_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function u(){return c("set_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function u(){return c("accelerate_payroll")}return u}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},15543:function(w,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Electropack=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.power,d=c.code,u=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function C(){return l("power")}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"freq"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:u/10,format:function(){function C(v){return(0,a.toFixed)(v,1)}return C}(),width:"80px",onChange:function(){function C(v,g){return l("freq",{freq:g})}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function C(){return l("reset",{reset:"code"})}return C}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function C(v,g){return l("code",{code:g})}return C}()})})]})})})})}return k}()},57013:function(w,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=r.Emojipedia=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.data,m=c.emoji_list,d=(0,t.useLocalState)(h,"searchText",""),u=d[0],s=d[1],i=m.filter(function(C){return C.name.toLowerCase().includes(u.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:u,onInput:function(){function C(v,g){return s(g)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+C.name]),style:{transform:"scale(1.5)"},tooltip:C.name,onClick:function(){function v(){k(C.name)}return v}()},C.name)})})})})}return S}(),k=function(b){var h=document.createElement("input"),l=":"+b+":";h.value=l,document.body.appendChild(h),h.select(),document.execCommand("copy"),document.body.removeChild(h)}},99012:function(w,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(74041),k=n(50640),S=r.EvolutionMenu=function(){function l(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,h)]})})})}return l}(),b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,C=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!C,content:"Readapt",icon:"sync",onClick:function(){function v(){return u("readapt")}return v}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,C=s.ability_tabs,v=s.purchased_abilities,g=s.view_mode,p=(0,t.useLocalState)(m,"selectedTab",C[0]),N=p[0],y=p[1],B=(0,t.useLocalState)(m,"searchText",""),I=B[0],L=B[1],T=(0,t.useLocalState)(m,"ability_tabs",C[0].abilities),A=T[0],x=T[1],E=function(R,D){if(D===void 0&&(D=""),!R||R.length===0)return[];var F=(0,a.createSearch)(D,function(U){return U.name+"|"+U.description});return(0,V.flow)([(0,k.filter)(function(U){return U==null?void 0:U.name}),(0,k.filter)(F),(0,k.sortBy)(function(U){return U==null?void 0:U.name})])(R)},M=function(R){if(L(R),R==="")return x(N.abilities);x(E(C.map(function(D){return D.abilities}).flat(),R))},j=function(R){y(R),x(R.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(R,D){M(D)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"square-o":"check-square-o",selected:!g,content:"Compact",onClick:function(){function P(){return u("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:g?"check-square-o":"square-o",selected:g,content:"Expanded",onClick:function(){function P(){return u("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:C.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&N===P,onClick:function(){function R(){j(P)}return R}(),children:P.category},P)})}),A.map(function(P,R){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),v.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||v.includes(P.power_path),content:"Evolve",onClick:function(){function D(){return u("purchase",{power_path:P.power_path})}return D}()})})]}),!!g&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},R)})]})})}},37504:function(w,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(96524),a=n(28234),t=n(78234),o=n(17899),f=n(24674),V=n(99509),k=n(45493),S=["id","amount","lineDisplay","onClick"];function b(v,g){if(v==null)return{};var p={},N=Object.keys(v),y,B;for(B=0;B=0)&&(p[y]=v[y]);return p}var h=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function v(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building;return(0,e.createComponentVNode)(2,k.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,k.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),I&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})})})}return v}(),m=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.materials,L=B.capacity,T=Object.values(I).reduce(function(A,x){return A+x},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(T/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,i,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function x(){return y("withdraw",{id:A})}return x}()},A)})})},d=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.curCategory,L=B.categories,T=B.designs,A=B.syncing,x=(0,o.useLocalState)(p,"searchText",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(R){return R.name}),P=T.filter(j);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:I,options:L,onSelected:function(){function R(D){return y("category",{cat:D})}return R}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function R(){return y("queueall")}return R}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function R(){return y("sync")}return R}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function R(D,F){return M(F)}return R}()}),P.map(function(R){return(0,e.createComponentVNode)(2,C,{design:R},R.id)}),P.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},u=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.building,L=B.buildStart,T=B.buildEnd,A=B.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:L,current:A,end:T,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",I,"\xA0(",(0,e.createComponentVNode)(2,V.Countdown,{current:A,timeLeft:T-A,format:function(){function x(E,M){return M.substr(3)}return x}()}),")"]})]})})})},s=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=B.queue,L=B.processingQueue,T=Object.entries(B.queueDeficit).filter(function(x){return x[1]<0}),A=I.reduce(function(x,E){return x+E.time},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function x(){return y("process")}return x}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:I.length===0,icon:"eraser",content:"Clear",onClick:function(){function x(){return y("unqueueall")}return x}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:I.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:I.map(function(x,E){return(0,e.createComponentVNode)(2,f.Box,{color:x.notEnough&&"bad",children:[E+1,". ",x.name,E>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function M(){return y("queueswap",{from:E+1,to:E})}return M}()}),E0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(T).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",T.map(function(x){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:x[0],amount:-x[1],lineDisplay:!0})},x[0])})]})],0)})})},i=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=g.id,L=g.amount,T=g.lineDisplay,A=g.onClick,x=b(g,S),E=B.materials[I]||0,M=L||E;if(!(M<=0&&!(I==="metal"||I==="glass"))){var j=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",T&&"Exofab__material--line"])},x,{children:T?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",I])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:j&&"bad",ml:0,mr:1,children:M.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",I])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:I}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[M.toLocaleString("en-US")," cm\xB3 (",Math.round(M/h*10)/10," ","sheets)"]})]})],4)})))}},C=function(g,p){var N=(0,o.useBackend)(p),y=N.act,B=N.data,I=g.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:I.notEnough||B.building,icon:"cog",content:I.name,onClick:function(){function L(){return y("build",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function L(){return y("queue",{id:I.id})}return L}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(I.cost).map(function(L){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),I.time>0?(0,e.createFragment)([I.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},9466:function(w,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),V=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),k=r.ExperimentConsole=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.open,u=m.feedback,s=m.occupant,i=m.occupant_name,C=m.occupant_status,v=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var N=function(){function B(){return f.get(C)}return B}(),y=N();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:y.color,children:y.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(B){return(0,e.createComponentVNode)(2,t.Button,{icon:V.get(B).icon,content:V.get(B).label,onClick:function(){function I(){return c("experiment",{experiment_type:B})}return I}()},B)})})]})}return p}(),g=v();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){function p(){return c("door")}return p}()}),children:g})]})})}return S}()},77284:function(w,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=0,V=1013,k=function(h){var l="good",c=80,m=95,d=110,u=120;return hd?l="average":h>u&&(l="bad"),l},S=r.ExternalAirlockController=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.chamber_pressure,s=d.exterior_status,i=d.interior_status,C=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:k(u),value:u,minValue:f,maxValue:V,children:[u," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!C,onClick:function(){function v(){return m("abort")}return v}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:C,onClick:function(){function v(){return m("cycle_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:C,onClick:function(){function v(){return m("cycle_int")}return v}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function v(){return m("force_ext")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":C?"yellow":null,onClick:function(){function v(){return m("force_int")}return v}()})]})]})]})})}return b}()},52516:function(w,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FaxMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return h("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return h("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return h("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return h("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return h("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return h("send")}return c}()})})]})})]})})}return V}()},24777:function(w,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.FilingCabinet=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=b.config,m=l.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:u.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return h("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return V}()},88361:function(w,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.image,d=S.isSelected,u=S.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":d&&"solid"||"none","border-width":"2px","border-color":"orange",padding:d&&"2px"||"4px"},onClick:u})},V=r.FloorPainter=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.availableStyles,d=c.selectedStyle,u=c.selectedDir,s=c.directionsPreview,i=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function C(){return l("cycle_style",{offset:-1})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function C(v){return l("select_style",{style:v})}return C}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function C(){return l("cycle_style",{offset:1})}return C}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{image:i[C],isSelected:d===C,onSelect:function(){function v(){return l("select_style",{style:C})}return v}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[C+"west",C,C+"east"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:v===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{image:s[v],isSelected:v===u,onSelect:function(){function g(){return l("select_direction",{direction:v})}return g}()})},v)})},C)})})})})]})})})}return k}()},70078:function(w,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=function(d){return d?"("+d.join(", ")+")":"ERROR"},k=function(d,u){if(!(!d||!u)){if(d[2]!==u[2])return null;var s=Math.atan2(u[1]-d[1],u[0]-d[0]),i=Math.sqrt(Math.pow(u[1]-d[1],2)+Math.pow(u[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},S=r.GPS=function(){function m(d,u){var s=(0,t.useBackend)(u),i=s.data,C=i.emped,v=i.active,g=i.area,p=i.position,N=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:C?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,b,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:g,position:p})}),N&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:N})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,b)],0)})})})}return m}(),b=function(d,u){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},h=function(d,u){var s=(0,t.useBackend)(u),i=s.act,C=s.data,v=C.active,g=C.tag,p=C.same_z,N=(0,t.useLocalState)(u,"newTag",g),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function I(){return i("tag",{newtag:y})}return I}(),onInput:function(){function I(L,T){return B(T)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===y,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:y})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},l=function(d,u){var s=d.title,i=d.area,C=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),V(C)]})})},c=function(d,u){var s=(0,t.useBackend)(u),i=s.data,C=i.position,v=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:v.map(function(g){return Object.assign({},g,k(C,g.position))}).map(function(g,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:g.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:g.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:g.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(g.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:g.distance>0?"arrow-right":"circle",rotation:-g.angle}),"\xA0",Math.floor(g.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:V(g.position)})]},p)})})})))}},92246:function(w,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(99665),f=n(45493),V=r.GeneModder=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,d,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),g===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})}),2)]})}return u}(),k=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},S=function(s,i){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},b=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.has_seed,N=g.seed,y=g.has_disk,B=g.disk,I,L;return p?I=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:N.name,onClick:function(){function T(){return v("eject_seed")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function T(){return v("variant_name")}return T}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function T(){return v("eject_seed")}return T}()})}),y?L=B.name:L="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:L,tooltip:"Select Empty Disk",onClick:function(){function T(){return v("select_empty_disk")}return T}()})})})]})})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.act,g=C.data,p=g.disk,N=g.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[N.map(function(y){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:y.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function B(){return v("extract",{id:y.id})}return B}()})})]},y)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function y(){return v("bulk_extract_core")}return y}()})})})]},"Core Genes")},l=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.reagent_genes,p=v.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:g,do_we_show:p})},c=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.trait_genes,p=v.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:g,do_we_show:p})},m=function(s,i){var C=s.title,v=s.gene_set,g=s.do_we_show,p=(0,a.useBackend)(i),N=p.act,y=p.data,B=y.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:C,open:!0,children:g?v.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(B!=null&&B.can_extract),icon:"save",onClick:function(){function L(){return N("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return N("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},C)},d=function(s,i){var C=s.title,v=s.gene_set,g=s.do_we_show,p=(0,a.useBackend)(i),N=p.act,y=p.data,B=y.has_seed,I=y.empty_disks,L=y.stat_disks,T=y.trait_disks,A=y.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return N("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!B,icon:"arrow-circle-down",onClick:function(){function E(){return N("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!B,content:"Replace",onClick:function(){function E(){return N("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[T.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return N("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return N("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return N("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},27163:function(w,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(96524),a=n(24674),t=n(45493),o=n(98444),f=r.GenericCrewManifest=function(){function V(k,S){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return V}()},53808:function(w,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GhostHudPanel=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.security,m=l.medical,d=l.diagnostic,u=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,V,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,V,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,V,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,V,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return k}(),V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=S.label,m=S.type,d=m===void 0?null:m,u=S.is_active,s=S.act_on,i=s===void 0?"hud_on":s,C=S.act_off,v=C===void 0?"hud_off":C;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:u?"On":"Off",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){function g(){return l(u?v:i,{hud_type:d})}return g}()})})]})}},32035:function(w,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GlandDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function u(){return h("dispense",{gland_id:d.id})}return u}()},d.id)})})})})}return V}()},33004:function(w,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.GravityGen=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.charging_state,m=l.charge_count,d=l.breaker,u=l.ext_power,s=function(){function C(v){return v>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",v===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:u?"good":"bad",children:["[ ",u?"Powered":"Unpowered"," ]"]})}return C}(),i=function(){function C(v){if(v>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function C(){return h("breaker")}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:u?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return V}()},39775:function(w,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(57842),V=r.GuestPass=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return l("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return l("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function m(){return l("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return l("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return l("access",{access:d})}return m}(),grantAll:function(){function m(){return l("grant_all")}return m}(),denyAll:function(){function m(){return l("clear_all")}return m}(),grantDep:function(){function m(d){return l("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return l("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return l("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return k}()},22480:function(w,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=[1,5,10,20,30,50],V=null,k=r.HandheldChemDispenser=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.amount,i=u.energy,C=u.maxEnergy,v=u.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:C,ranges:{good:[C*.5,1/0],average:[C*.25,C*.5],bad:[-1/0,C*.25]},children:[i," / ",C," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(g,p){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===g,content:g,onClick:function(){function N(){return d("amount",{amount:g})}return N}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:v==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return d("mode",{mode:"isolate"})}return g}()})]})})]})})})},b=function(l,c){for(var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.chemicals,i=s===void 0?[]:s,C=u.current_reagent,v=[],g=0;g<(i.length+1)%3;g++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(p,N){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:C===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function y(){return d("dispense",{reagent:p.id})}return y}()},N)}),v.map(function(p,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},N)})]})})}},22616:function(w,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.HealthSensor=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.on,u=m.user_health,s=m.minHealth,i=m.maxHealth,C=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function v(){return c("scan_toggle")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:C,format:function(){function v(g){return(0,a.toFixed)(g,1)}return v}(),width:"80px",onDrag:function(){function v(g,p){return c("alarm_health",{alarm_health:p})}return v}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:k(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return S}(),k=function(b){return b>50?"green":b>0?"orange":"red"}},76861:function(w,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Holodeck=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=(0,a.useLocalState)(b,"currentDeck",""),d=m[0],u=m[1],s=(0,a.useLocalState)(b,"showReload",!1),i=s[0],C=s[1],v=c.decks,g=c.ai_override,p=c.emagged,N=function(){function y(B){l("select_deck",{deck:B}),u(B),C(!0),setTimeout(function(){C(!1)},3e3)}return y}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[v.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:y,selected:y===d,onClick:function(){function B(){return N(y)}return B}()},y)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function y(){return l("ai_override")}return y}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function y(){return l("wildlifecarp")}return y}()})]})})]})]})})]})})]})}return k}(),V=function(S,b){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},96729:function(w,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.Instrument=function(){function l(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,h)]})})]})}return l}(),k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function C(){return u("help")}return C}()})]})})})},S=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.lines,C=s.playing,v=s.repeat,g=s.maxRepeats,p=s.tempo,N=s.minTempo,y=s.maxTempo,B=s.tickLag,I=s.volume,L=s.minVolume,T=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return u("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return u("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return u("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:C,disabled:i.length===0||v<0,icon:"play",content:"Play",onClick:function(){function x(){return u("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C,icon:"stop",content:"Stop",onClick:function(){function x(){return u("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:v,stepPixelSize:59,onChange:function(){function x(E,M){return u("repeat",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:p>=y,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p+B})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=N,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p-B})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:T,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return u("setvolume",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,b)]})},b=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.allowedInstrumentNames,C=s.instrumentLoaded,v=s.instrument,g=s.canNoteShift,p=s.noteShift,N=s.noteShiftMin,y=s.noteShiftMax,B=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,T=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,M;return B===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function j(P){return(0,a.round)(P*100)/100+" seconds"}return j}(),onChange:function(){function j(P,R){return u("setlinearfalloff",{new:R/10})}return j}()})):B===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(P,R){return u("setexpfalloff",{new:R})}return j}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:T?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:C?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:v,width:"50%",onSelected:function(){function j(P){return u("switchinstrument",{name:P})}return j}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!T&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:N,maxValue:y,value:p,stepPixelSize:2,format:function(){function j(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return j}(),onChange:function(){function j(P,R){return u("setnoteshift",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function j(P){return u("setsustainmode",{new:P})}return j}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function j(P,R){return u("setdropoffvolume",{new:R})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function j(){return u("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return u("reset")}return j}()})]})})})},h=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.playing,C=s.lines,v=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!v||i,icon:"plus",content:"Add Line",onClick:function(){function g(){return u("newline",{line:C.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"chevron-up":"chevron-down",onClick:function(){function g(){return u("edit")}return g}()})],4),children:!!v&&(C.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:C.map(function(g,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function N(){return u("modifyline",{line:p+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function N(){return u("deleteline",{line:p+1})}return N}()})],4),children:g},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},53385:function(w,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.KeycardAuth=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function d(){return h("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return h("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function d(){return h("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function d(){return h("reset")}return d}()}),children:m})]})})}return V}()},58553:function(w,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(75201),V=r.KitchenMachine=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=l.config,d=c.ingredients,u=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:u,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return S}(),k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.inactive,u=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},14047:function(w,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.LawManager=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.isAdmin,s=d.isSlaved,i=d.isMalf,C=d.isAIMalf,v=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(u&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||C)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:v===0,onClick:function(){function g(){return m("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:v===1,onClick:function(){function g(){return m("set_view",{set_view:1})}return g}()})]}),v===0&&(0,e.createComponentVNode)(2,V),v===1&&(0,e.createComponentVNode)(2,k)]})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.has_zeroth_laws,s=d.zeroth_laws,i=d.has_ion_laws,C=d.ion_laws,v=d.ion_law_nr,g=d.has_inherent_laws,p=d.inherent_laws,N=d.has_supplied_laws,y=d.supplied_laws,B=d.channels,I=d.channel,L=d.isMalf,T=d.isAdmin,A=d.zeroth_law,x=d.ion_law,E=d.inherent_law,M=d.supplied_law,j=d.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,S,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!i&&(0,e.createComponentVNode)(2,S,{title:v,laws:C,ctx:l}),!!g&&(0,e.createComponentVNode)(2,S,{title:"Inherent",laws:p,ctx:l}),!!N&&(0,e.createComponentVNode)(2,S,{title:"Supplied",laws:y,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:B.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function R(){return m("law_channel",{law_channel:P.channel})}return R}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return m("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return m("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(T&&!u)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:j,onClick:function(){function P(){return m("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_supplied_law")}return P}()})]})]})]})})],0)},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},S=function(h,l){var c=(0,a.useBackend)(h.ctx),m=c.act,d=c.data,u=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:h.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),h.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},5872:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryComputer=function(){function v(g,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return v}(),k=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return y("delete_book",{bookid:I.id,user_ckey:L})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"report_book",{bookid:I.id})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function T(){return(0,f.modalOpen)(p,"rate_info",{bookid:I.id})}return T}()})]})},S=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.selected_report,T=B.report_categories,A=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:T.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===L,onClick:function(){function M(){return y("set_report",{report_type:x.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return y("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},b=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selected_rating,L=Array(10).fill().map(function(T,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(T,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=T?"caution":"default",onClick:function(){function x(){return y("set_rating",{rating_value:T})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},h=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=g.args,L=B.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function T(){return y("rate_book",{bookid:I.id,user_ckey:L})}return T}()})]})},l=function(g,p){var N=(0,a.useBackend)(p),y=N.data,B=(0,a.useLocalState)(p,"tabIndex",0),I=B[0],L=B[1],T=y.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),T===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(g,p){var N=(0,a.useLocalState)(p,"tabIndex",0),y=N[0];switch(y){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,C);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},m=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.searchcontent,L=B.book_categories,T=B.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return y("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return y("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return y("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return y("find_users_books",{user_ckey:T})}return x}()})]})]})},d=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.external_booklist,L=B.archive_pagenumber,T=B.num_pages,A=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function x(){return y("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return y("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,f.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===T,onClick:function(){function x(){return y("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===T,onClick:function(){function x(){return y("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return y("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.programmatic_booklist,L=B.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(T,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:T.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),T.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:T.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return y("order_programmatic_book",{bookid:T.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,f.modalOpen)(p,"expand_info",{bookid:T.id})}return x}()})]})]},A)})]})})},s=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.selectedbook,L=B.book_categories,T=B.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return y("uploadbook",{user_ckey:T})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return y("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return y("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return y("reportlost",{libraryid:L.libraryid})}return A}()})})]},T)})]})})},C=function(g,p){var N=(0,a.useBackend)(p),y=N.act,B=N.data,I=B.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,T){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},T)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",k),(0,f.modalRegisterBodyOverride)("report_book",S),(0,f.modalRegisterBodyOverride)("rate_info",h)},37782:function(w,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=r.LibraryManager=function(){function l(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,k)})]})}return l}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,h);case 3:return(0,e.createComponentVNode)(2,b);default:return"WE SHOULDN'T BE HERE!"}},S=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return u("view_reported_books")}return i}()})]})},b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function C(){return u("return")}return C}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),C.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:C.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:C.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function v(){return u("delete_book",{bookid:C.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function v(){return u("unflag_book",{bookid:C.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return u("view_book",{bookid:C.id})}return v}()})]})]},C.id)})]})})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.ckey,C=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function v(){return u("return")}return v}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),C.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),v.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:v.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function g(){return u("delete_book",{bookid:v.id})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function g(){return u("view_book",{bookid:v.id})}return g}()})]})]},v.id)})]})})}},26133:function(w,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(24674),f=n(17899),V=n(68100),k=n(45493),S=r.ListInputModal=function(){function l(c,m){var d=(0,f.useBackend)(m),u=d.act,s=d.data,i=s.items,C=i===void 0?[]:i,v=s.message,g=v===void 0?"":v,p=s.init_value,N=s.timeout,y=s.title,B=(0,f.useLocalState)(m,"selected",C.indexOf(p)),I=B[0],L=B[1],T=(0,f.useLocalState)(m,"searchBarVisible",C.length>10),A=T[0],x=T[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],j=E[1],P=function(){function X(Y){var J=z.length-1;if(Y===V.KEY_DOWN)if(I===null||I===J){var ie;L(0),(ie=document.getElementById("0"))==null||ie.scrollIntoView()}else{var ae;L(I+1),(ae=document.getElementById((I+1).toString()))==null||ae.scrollIntoView()}else if(Y===V.KEY_UP)if(I===null||I===0){var fe;L(J),(fe=document.getElementById(J.toString()))==null||fe.scrollIntoView()}else{var pe;L(I-1),(pe=document.getElementById((I-1).toString()))==null||pe.scrollIntoView()}}return X}(),R=function(){function X(Y){Y!==I&&L(Y)}return X}(),D=function(){function X(){x(!1),x(!0)}return X}(),F=function(){function X(Y){var J=String.fromCharCode(Y),ie=C.find(function(pe){return pe==null?void 0:pe.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ie){var ae,fe=C.indexOf(ie);L(fe),(ae=document.getElementById(fe.toString()))==null||ae.scrollIntoView()}}return X}(),U=function(){function X(Y){var J;Y!==M&&(j(Y),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return X}(),_=function(){function X(){x(!A),j("")}return X}(),z=C.filter(function(X){return X==null?void 0:X.toLowerCase().includes(M.toLowerCase())}),G=330+Math.ceil(g.length/3);return A||setTimeout(function(){var X;return(X=document.getElementById(I.toString()))==null?void 0:X.focus()},1),(0,e.createComponentVNode)(2,k.Window,{title:y,width:325,height:G,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function X(Y){var J=window.event?Y.which:Y.keyCode;(J===V.KEY_DOWN||J===V.KEY_UP)&&(Y.preventDefault(),P(J)),J===V.KEY_ENTER&&(Y.preventDefault(),u("submit",{entry:z[I]})),!A&&J>=V.KEY_A&&J<=V.KEY_Z&&(Y.preventDefault(),F(J)),J===V.KEY_ESCAPE&&(Y.preventDefault(),u("cancel"))}return X}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function X(){return _()}return X}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b,{filteredItems:z,onClick:R,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,h,{filteredItems:z,onSearch:U,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:z[I]})})]})})})]})}return l}(),b=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onClick,C=c.onFocusSearch,v=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,N){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:N,onClick:function(){function y(){return i(N)}return y}(),onDblClick:function(){function y(B){B.preventDefault(),u("submit",{entry:s[g]})}return y}(),onKeyDown:function(){function y(B){var I=window.event?B.which:B.keyCode;v&&I>=V.KEY_A&&I<=V.KEY_Z&&(B.preventDefault(),C())}return y}(),selected:N===g,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(y){return y.toUpperCase()})},N)})})},h=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onSearch,C=c.searchQuery,v=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(p){p.preventDefault(),u("submit",{entry:s[v]})}return g}(),onInput:function(){function g(p,N){return i(N)}return g}(),placeholder:"Search...",value:C})}},71963:function(w,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(P,R){return M("configure",{key:T,value:R,ref:x})}return j}()})},V=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return M("configure",{key:T,value:!A,ref:x})}return j}()})},k=function(I,L){var T=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:T,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},S=function(I,L){var T=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(L),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function P(R){return j("configure",{key:T,value:R,ref:E})}return P}()})},b=function(I,L){var T=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,V,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,k,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,S,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",P[x]]})},h=function(I,L){var T=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:T&&A?"bad":"good",children:T&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:T&&M?"bad":"good",bold:!0,children:T&&M?M:0})})]})},l=function(I,L){var T=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})})]})],4)},c=function(I,L){var T=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,P=I.statusburn,R=I.statustoxin,D=I.statusoxy,F=I.statustemp,U=I.statusnutrition,_=I.statusfingerprints,z=I.statusdna,G=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:T?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:T?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:T?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?R/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:R})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:D})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:T?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:T?U:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:T?_:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:T?z:"???"})]})}),!!T&&!!G&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),G.map(function(X){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[X.stage,"/",X.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:X.cure})]},X.name)})]})})],0)},m={rad_counter:h,health_analyzer:l,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var T=I.configuration_data,A=I.module_ref,x=Object.keys(T);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var M=T[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:A})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},C=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.malfunctioning,j=x.locked,P=x.open,R=x.selected_module,D=x.complexity,F=x.complexity_max,U=x.wearer_name,_=x.wearer_job,z=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function G(){return A("activate")}return G}()}),children:z}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:j?"lock-open":"lock",content:j?"Unlock":"Lock",onClick:function(){function G(){return A("lock")}return G}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[D," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[U,", ",_]})]})})},v=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.control,j=x.helmet,P=x.chestplate,R=x.gauntlets,D=x.boots,F=x.core,U=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:R||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:D||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:U/100,content:U+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},g=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.active,M=x.modules,j=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:j.length!==0&&j.map(function(P){var R=m[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,R,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),P=j[0],R=j[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(D){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:D.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function F(){return R(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.cooldown>0&&D.cooldown/10||"0","/",D.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:D.ref})}return F}(),icon:"bullseye",selected:D.module_active,tooltip:i(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return R(D.ref)}return F}(),icon:"cog",selected:P===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:D.ref})}return F}(),icon:"thumbtack",selected:D.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!D.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:D.description})]})})},D.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},N=r.MODsuitContent=function(){function B(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,d)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,g)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})]})})}return B}(),y=r.MODsuit=function(){function B(I,L){var T=(0,a.useBackend)(L),A=T.act,x=T.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,N)})})})}return B}()},84274:function(w,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(99665),k=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),S=r.MagnetController=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.autolink,s=d.code,i=d.frequency,C=d.linkedMagnets,v=d.magnetConfiguration,g=d.path,p=d.pathPosition,N=d.probing,y=d.powerState,B=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:N?"spinner":"sync",iconSpin:!!N,disabled:N,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:y?"power-off":"times",content:y?"On":"Off",selected:y,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:B.value,minValue:B.min,maxValue:B.max,onChange:function(){function I(L,T){return m("set_speed",{speed:T})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(k.entries()).map(function(I){var L=I[0],T=I[1],A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,V.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:g.map(function(I,L){var T=k.get(I)||{icon:"question"},A=T.icon,x=T.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),C.map(function(I,L){var T=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return m("toggle_magnet_power",{id:T})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:v.electricityLevel.min,maxValue:v.electricityLevel.max,onChange:function(){function M(j,P){return m("set_electricity_level",{id:T,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:v.magneticField.min,maxValue:v.magneticField.max,onChange:function(){function M(j,P){return m("set_magnetic_field",{id:T,magneticField:P})}return M}()})})]})},T)})]})]})}return b}()},95752:function(w,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.MechBayConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.recharge_port,m=c&&c.mech,d=m&&m.cell,u=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return h("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return V}()},53668:function(w,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=n(78234),k=r.MechaControlConsole=function(){function S(b,h){var l=(0,t.useBackend)(h),c=l.act,m=l.data,d=m.beacons,u=m.stored_data;return u.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:u.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,V.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,V.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return S}()},96467:function(w,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(99665),V=n(45493),k=n(68159),S=n(27527),b=n(84537),h={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,f.modalOpen)(A,"edit",{field:x.edit,value:x.value})},m=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:h[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function T(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,P=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,u):P===3?R=(0,e.createComponentVNode)(2,s):P===4?R=(0,e.createComponentVNode)(2,i):P===5?R=(0,e.createComponentVNode)(2,p):P===6?R=(0,e.createComponentVNode)(2,N):P===7&&(R=(0,e.createComponentVNode)(2,y)),(0,e.createComponentVNode)(2,V.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,L),R]})})]})}return T}(),u=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.records,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],U=(0,t.useLocalState)(x,"sortId","name"),_=U[0],z=U[1],G=(0,t.useLocalState)(x,"sortOrder",!0),X=G[0],Y=G[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ie,ae){return F(ae)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,B,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,B,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,B,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,B,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,B,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ie){var ae=X?1:-1;return J[_].localeCompare(ie[_])*ae}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[J.p_stat],onClick:function(){function ie(){return M("view_record",{view_record:J.ref})}return ie}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function j(){return M("del_all_med_records")}return j}()})})]})})},i=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical,R=j.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function D(){return M("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,C)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function D(){return M("new_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,g)],4)],0)},C=function(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.general;return!j||!j.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:j.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function D(){return c(x,P)}return D}()})]},R)})})}),!!j.has_photos&&j.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function F(){return c(x,R)}return F}()})]},D)})})})})},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,f.modalOpen)(x,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:D+1})}return F}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.virus,R=(0,t.useLocalState)(x,"searchText",""),D=R[0],F=R[1],U=(0,t.useLocalState)(x,"sortId2","name"),_=U[0],z=U[1],G=(0,t.useLocalState)(x,"sortOrder2",!0),X=G[0],Y=G[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ie,ae){return F(ae)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ie){var ae=X?1:-1;return J[_].localeCompare(ie[_])*ae}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ie(){return M("vir",{vir:J.D})}return ie}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:h[J.severity],children:J.severity})]},J.id)})]})})})})],4)},N=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(R){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:R.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:R.delivered,minValue:0,maxValue:R.deliverygoal,ranges:{good:[R.deliverygoal*.5,1/0],average:[R.deliverygoal*.25,R.deliverygoal*.5],bad:[-1/0,R.deliverygoal*.25]},children:[R.delivered," / ",R.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:R.report})]})},R.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},y=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},B=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder",!0),R=P[0],D=P[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[U,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder2",!0),R=P[0],D=P[1],F=A.id,U=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function _(){M===F?D(!R):(j(F),D(!0))}return _}(),children:[U,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.screen,R=j.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function D(){M("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},68211:function(w,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=h.product,s=h.productImage,i=h.productCategory,C=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:u.price>C,icon:"shopping-cart",content:u.price,textAlign:"left",onClick:function(){function v(){return m("purchase",{name:u.name,category:i})}return v}()})})]})},V=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=m.products,i=m.imagelist,C=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[C[u]].map(function(v){return(0,e.createComponentVNode)(2,f,{product:v,productImage:i[v.path],productCategory:C[u]},v.name)})})},k=r.MerchVendor=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return m("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",u!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[u||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,V)]})})]})})})}return b}(),S=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=d[1],i=m.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:u===1,onClick:function(){function C(){return s(1)}return C}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:u===2,onClick:function(){function C(){return s(2)}return C}(),children:"Decorations"})]})}},14162:function(w,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=["title","items"];function k(d,u){if(d==null)return{};var s={},i=Object.keys(d),C,v;for(v=0;v=0)&&(s[C]=d[C]);return s}var S={Alphabetical:function(){function d(u,s){return u-s}return d}(),Availability:function(){function d(u,s){return-(u.affordable-s.affordable)}return d}(),Price:function(){function d(u,s){return u.price-s.price}return d}()},b=r.MiningVendor=function(){function d(u,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return d}(),h=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.has_id,p=v.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function N(){return C("logoff")}return N}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.has_id,p=v.id,N=v.items,y=(0,t.useLocalState)(s,"search",""),B=y[0],I=y[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),T=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(B,function(D){return D[0]}),P=!1,R=Object.entries(N).map(function(D,F){var U=Object.entries(D[1]).filter(j).map(function(_){return _[1].affordable=g&&p.points>=_[1].price,_[1]}).sort(S[T]);if(U.length!==0)return E&&(U=U.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:D[0],items:U},D[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?R:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var i=(0,t.useLocalState)(s,"search",""),C=i[0],v=i[1],g=(0,t.useLocalState)(s,"sort",""),p=g[0],N=g[1],y=(0,t.useLocalState)(s,"descending",!1),B=y[0],I=y[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(T,A){return v(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(S),width:"100%",onSelected:function(){function L(T){return N(T)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"arrow-down":"arrow-up",height:"21px",tooltip:B?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!B)}return L}()})})]})})},m=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=u.title,p=u.items,N=k(u,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},N,{children:p.map(function(y){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:y.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v.has_id||v.id.points=0)&&(T[x]=I[x]);return T}var c=128,m=["security","engineering","medical","science","service","supply"],d={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},u=r.Newscaster=function(){function I(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.is_security,j=E.is_admin,P=E.is_silent,R=E.is_printing,D=E.screen,F=E.channels,U=E.channel_idx,_=U===void 0?-1:U,z=(0,t.useLocalState)(T,"menuOpen",!1),G=z[0],X=z[1],Y=(0,t.useLocalState)(T,"viewingPhoto",""),J=Y[0],ie=Y[1],ae=(0,t.useLocalState)(T,"censorMode",!1),fe=ae[0],pe=ae[1],be;D===0||D===2?be=(0,e.createComponentVNode)(2,i):D===1&&(be=(0,e.createComponentVNode)(2,C));var te=F.reduce(function(Q,ne){return Q+ne.unread},0);return(0,e.createComponentVNode)(2,V.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,k.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,V.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",G&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function Q(){return X(!G)}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:D===0,onClick:function(){function Q(){return x("headlines")}return Q}(),children:te>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:te>=10?"9+":te})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function Q(){return x("jobs")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(Q){return(0,e.createComponentVNode)(2,s,{icon:Q.icon,title:Q.name,selected:D===2&&F[_-1]===Q,onClick:function(){function ne(){return x("channel",{uid:Q.uid})}return ne}(),children:Q.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Q.unread>=10?"9+":Q.unread})},Q)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"wanted_notice")}return Q}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:fe?"minus-square":"minus-square-o",title:"Censor Mode: "+(fe?"On":"Off"),mb:"0.5rem",onClick:function(){function Q(){return pe(!fe)}return Q}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_story")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function Q(){return(0,k.modalOpen)(T,"create_channel")}return Q}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:R?"spinner":"print",iconSpin:R,title:R?"Printing...":"Print Newspaper",onClick:function(){function Q(){return x("print_newspaper")}return Q}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function Q(){return x("toggle_mute")}return Q}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,S.TemporaryNotice),be]})]})})]})}return I}(),s=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=L.icon,M=E===void 0?"":E,j=L.iconSpin,P=L.selected,R=P===void 0?!1:P,D=L.security,F=D===void 0?!1:D,U=L.onClick,_=L.title,z=L.children,G=l(L,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",R&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:U},G,{children:[R&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:_}),z]})))},i=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.screen,j=E.is_admin,P=E.channel_idx,R=E.channel_can_manage,D=E.channels,F=E.stories,U=E.wanted,_=(0,t.useLocalState)(T,"fullStories",[]),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"censorMode",!1),Y=X[0],J=X[1],ie=M===2&&P>-1?D[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!U&&(0,e.createComponentVNode)(2,v,{story:U,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ie?ie.icon:"newspaper",mr:"0.5rem"}),ie?ie.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ae){return!z.includes(ae.uid)&&ae.body.length+3>c?Object.assign({},ae,{body_short:ae.body.substr(0,c-4)+"..."}):ae}).map(function(ae,fe){return(0,e.createComponentVNode)(2,v,{story:ae},fe)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ie&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Y&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ie.admin&&!j,selected:ie.censored,icon:ie.censored?"comment-slash":"comment",content:ie.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ae(){return x("censor_channel",{uid:ie.uid})}return ae}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!R,icon:"cog",content:"Manage",onClick:function(){function ae(){return(0,k.modalOpen)(T,"manage_channel",{uid:ie.uid})}return ae}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ie.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ie.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ie.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ie.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ae,fe){return ae+fe.view_count},0).toLocaleString()]})]})})]})},C=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.jobs,j=E.wanted,P=Object.entries(M).reduce(function(R,D){var F=D[0],U=D[1];return R+U.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,v,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?m.map(function(R){return Object.assign({},d[R],{id:R,jobs:M[R]})}).filter(function(R){return!!R&&R.jobs.length>0}).map(function(R){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+R.id]),title:R.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:R.fluff_text}),children:R.jobs.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!D.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",D.title]},D.title)})},R.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},v=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=L.story,j=L.wanted,P=j===void 0?!1:j,R=E.is_admin,D=(0,t.useLocalState)(T,"fullStories",[]),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"censorMode",!1),z=_[0],G=_[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&z&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function X(){return x("censor_story",{uid:M.uid})}return X}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!R&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(X,Y){return(0,e.createComponentVNode)(2,o.Box,{children:X||(0,e.createVNode)(1,"br")},Y)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function X(){return U([].concat(F,[M.uid]))}return X}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(L,T){var A=L.name,x=l(L,h),E=(0,t.useLocalState)(T,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function P(){return j(A)}return P}()},x)))},p=function(L,T){var A=(0,t.useLocalState)(T,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},N=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=!!L.args.uid&&E.channels.filter(function(ce){return ce.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,k.modalClose)(T);return}var j=L.id==="manage_channel",P=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(M==null?void 0:M.author)||R||"Unknown"),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"name",(M==null?void 0:M.name)||""),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"description",(M==null?void 0:M.description)||""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"icon",(M==null?void 0:M.icon)||"newspaper"),ae=ie[0],fe=ie[1],pe=(0,t.useLocalState)(T,"isPublic",j?!!(M!=null&&M.public):!1),be=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",(M==null?void 0:M.admin)===1||!1),ne=Q[0],me=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function ce(ue,oe){return U(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:z,onInput:function(){function ce(ue,oe){return G(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Y,onInput:function(){function ce(ue,oe){return J(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ae,width:"35%",mr:"0.5rem",onInput:function(){function ce(ue,oe){return fe(oe)}return ce}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ae,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:be,icon:be?"toggle-on":"toggle-off",content:be?"Yes":"No",onClick:function(){function ce(){return te(!be)}return ce}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ce(){return me(!ne)}return ce}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ce(){(0,k.modalAnswer)(T,L.id,"",{author:F,name:z.substr(0,49),description:Y.substr(0,128),icon:ae,public:be?1:0,admin_locked:ne?1:0})}return ce}()})]})},y=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.channels,P=E.channel_idx,R=P===void 0?-1:P,D=!!L.args.is_admin,F=L.args.scanned_user,U=j.slice().sort(function(ce,ue){if(R<0)return 0;var oe=j[R-1];if(oe.uid===ce.uid)return-1;if(oe.uid===ue.uid)return 1}).filter(function(ce){return D||!ce.frozen&&(ce.author===F||!!ce.public)}),_=(0,t.useLocalState)(T,"author",F||"Unknown"),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"channel",U.length>0?U[0].name:""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"title",""),ae=ie[0],fe=ie[1],pe=(0,t.useLocalState)(T,"body",""),be=pe[0],te=pe[1],Q=(0,t.useLocalState)(T,"adminLocked",!1),ne=Q[0],me=Q[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:z,onInput:function(){function ce(ue,oe){return G(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Y,options:U.map(function(ce){return ce.name}),mb:"0",width:"100%",onSelected:function(){function ce(ue){return J(ue)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ae,onInput:function(){function ce(ue,oe){return fe(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:be,onInput:function(){function ce(ue,oe){return te(oe)}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function ce(){return x(M?"eject_photo":"attach_photo")}return ce}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ae,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"}),be.split("\n").map(function(ce,ue){return(0,e.createComponentVNode)(2,o.Box,{children:ce||(0,e.createVNode)(1,"br")},ue)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ne,icon:ne?"lock":"lock-open",content:ne?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ce(){return me(!ne)}return ce}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:z.trim().length===0||Y.trim().length===0||ae.trim().length===0||be.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ce(){(0,k.modalAnswer)(T,"create_story","",{author:z,channel:Y,title:ae.substr(0,127),body:be.substr(0,1023),admin_locked:ne?1:0})}return ce}()})]})},B=function(L,T){var A=(0,t.useBackend)(T),x=A.act,E=A.data,M=E.photo,j=E.wanted,P=!!L.args.is_admin,R=L.args.scanned_user,D=(0,t.useLocalState)(T,"author",(j==null?void 0:j.author)||R||"Unknown"),F=D[0],U=D[1],_=(0,t.useLocalState)(T,"name",(j==null?void 0:j.title.substr(8))||""),z=_[0],G=_[1],X=(0,t.useLocalState)(T,"description",(j==null?void 0:j.body)||""),Y=X[0],J=X[1],ie=(0,t.useLocalState)(T,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ae=ie[0],fe=ie[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function pe(be,te){return U(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:z,maxLength:"128",onInput:function(){function pe(be,te){return G(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Y,maxLength:"512",rows:"4",onInput:function(){function pe(be,te){return J(te)}return pe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function pe(){return x(M?"eject_photo":"attach_photo")}return pe}()}),!!M&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ae,icon:ae?"lock":"lock-open",content:ae?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function pe(){return fe(!ae)}return pe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!j,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function pe(){x("clear_wanted_notice"),(0,k.modalClose)(T)}return pe}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||z.trim().length===0||Y.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function pe(){(0,k.modalAnswer)(T,L.id,"",{author:F,name:z.substr(0,127),description:Y.substr(0,511),admin_locked:ae?1:0})}return pe}()})]})};(0,k.modalRegisterBodyOverride)("create_channel",N),(0,k.modalRegisterBodyOverride)("manage_channel",N),(0,k.modalRegisterBodyOverride)("create_story",y),(0,k.modalRegisterBodyOverride)("wanted_notice",B)},26148:function(w,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=r.Noticeboard=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function u(){return l("interact",{paper:d.ref})}return u}(),onContextMenu:function(){function u(s){s.preventDefault(),l("showFull",{paper:d.ref})}return u}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return k}()},46940:function(w,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.NuclearBomb=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return h("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return h("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return h("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return h("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return h("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return h("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return h("deploy")}return c}()})})})})}return V}()},35478:function(w,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(68100),f=n(17899),V=n(24674),k=n(45493),S=r.NumberInputModal=function(){function h(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.init_value,i=u.large_buttons,C=u.message,v=C===void 0?"":C,g=u.timeout,p=u.title,N=(0,f.useLocalState)(c,"input",s),y=N[0],B=N[1],I=function(){function A(x){x!==y&&B(x)}return A}(),L=function(){function A(x){x!==y&&B(x)}return A}(),T=140+Math.max(Math.ceil(v.length/3),v.length>0&&i?5:0);return(0,e.createComponentVNode)(2,k.Window,{title:p,width:270,height:T,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&d("submit",{entry:y}),E===o.KEY_ESCAPE&&d("cancel")}return A}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,b,{input:y,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:y})})]})})})]})}return h}(),b=function(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.min_value,i=u.max_value,C=u.init_value,v=u.round_value,g=l.input,p=l.onClick,N=l.onChange,y=Math.round(g!==s?Math.max(g/2,s):i/2),B=g===s&&s>0||g===1;return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:g===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!v,minValue:s,maxValue:i,onChange:function(){function I(L,T){return N(T)}return I}(),onEnter:function(){function I(L,T){return d("submit",{entry:T})}return I}(),value:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===i,icon:"angle-double-right",onClick:function(){function I(){return p(i)}return I}(),tooltip:g===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:B,icon:"divide",onClick:function(){function I(){return p(y)}return I}(),tooltip:B?"Split":"Split ("+y+")"})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Button,{disabled:g===C,icon:"redo",onClick:function(){function I(){return p(C)}return I}(),tooltip:C?"Reset ("+C+")":"Reset"})})]})}},98476:function(w,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(45493),f=n(24674),V=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.OperatingComputer=function(){function d(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.hasOccupant,p=v.choice,N;return p?N=(0,e.createComponentVNode)(2,m):N=g?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function y(){return C("choiceOff")}return y}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function y(){return C("choiceOn")}return y}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:N})})]})})})}return d}(),l=function(u,s){var i=(0,t.useBackend)(s),C=i.data,v=C.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:v.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:V[v.stat][0],children:V[v.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxHealth,value:v.health/v.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),k.map(function(g,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:v[g[1]]/100,ranges:S,children:(0,a.round)(v[g[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.maxTemp,value:v.bodyTemperature/v.maxTemp,color:b[v.temperatureSuitability+3],children:[(0,a.round)(v.btCelsius),"\xB0C, ",(0,a.round)(v.btFaren),"\xB0F"]})}),!!v.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:v.bloodMax,value:v.bloodLevel/v.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[v.bloodPercent,"%, ",v.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Pulse",children:[v.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:v.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:v.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:v.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.verbose,p=v.health,N=v.healthAlarm,y=v.oxy,B=v.oxyAlarm,I=v.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return C(g?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return C(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:N,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:y,icon:y?"toggle-on":"toggle-off",content:y?"On":"Off",onClick:function(){function L(){return C(y?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:B,stepPixelSize:5,ml:"0",onChange:function(){function L(T,A){return C("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return C(I?"critOff":"critOn")}return L}()})})]})}},98702:function(w,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(28234);function k(i,C){var v=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(v)return(v=v.call(i)).next.bind(v);if(Array.isArray(i)||(v=S(i))||C&&i&&typeof i.length=="number"){v&&(i=v);var g=0;return function(){return g>=i.length?{done:!0}:{done:!1,value:i[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(i,C){if(i){if(typeof i=="string")return b(i,C);var v=Object.prototype.toString.call(i).slice(8,-1);if(v==="Object"&&i.constructor&&(v=i.constructor.name),v==="Map"||v==="Set")return Array.from(i);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return b(i,C)}}function b(i,C){(C==null||C>i.length)&&(C=i.length);for(var v=0,g=new Array(C);vv},m=function(C,v){var g=C.name,p=v.name;if(!g||!p)return 0;var N=g.match(h),y=p.match(h);if(N&&y&&g.replace(h,"")===p.replace(h,"")){var B=parseInt(N[1],10),I=parseInt(y[1],10);return B-I}return c(g,p)},d=function(C,v){var g=C.searchText,p=C.source,N=C.title,y=C.color,B=C.sorted,I=p.filter(l(g));return B&&I.sort(m),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,u,{thing:L,color:y},L.name)})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.color,y=C.thing;return(0,e.createComponentVNode)(2,o.Button,{color:N,tooltip:y.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,V.classes)(["orbit_job16x16",y.assigned_role_sprite])})," ",y.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function B(){return p("orbit",{ref:y.ref})}return B}(),children:[y.name,y.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",y.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(C,v){for(var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.alive,B=N.antagonists,I=N.highlights,L=N.response_teams,T=N.auto_observe,A=N.dead,x=N.ssd,E=N.ghosts,M=N.misc,j=N.npcs,P=(0,t.useLocalState)(v,"searchText",""),R=P[0],D=P[1],F={},U=k(B),_;!(_=U()).done;){var z=_.value;F[z.antag]===void 0&&(F[z.antag]=[]),F[z.antag].push(z)}var G=Object.entries(F);G.sort(function(Y,J){return c(Y[0],J[0])});var X=function(){function Y(J){for(var ie=0,ae=[G.map(function(be){var te=be[0],Q=be[1];return Q}),I,y,E,x,A,j,M];ie0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:G.map(function(Y){var J=Y[0],ie=Y[1];return(0,e.createComponentVNode)(2,o.Section,{title:J+" - ("+ie.length+")",level:2,children:ie.filter(l(R)).sort(m).map(function(ae){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:ae},ae.name)})},J)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:R,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:R,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:y,searchText:R,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:E,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:x,searchText:R,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:A,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:j,searchText:R,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:M,searchText:R,sorted:!1})]})})}return i}()},74015:function(w,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(81856);function k(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var S=(0,V.createLogger)("OreRedemption"),b=function(C){return C.toLocaleString("en-US")+" pts"},h=r.OreRedemption=function(){function i(C,v){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return i}(),l=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.id,B=N.points,I=N.disk,L=Object.assign({},(k(C),C));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:B>0?"good":"grey",bold:B>0&&"good",children:b(B)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function T(){return p("eject_disk")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function T(){return p("download")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.sheets,B=Object.assign({},(k(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},m=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.alloys,B=Object.assign({},(k(C),C));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},B,{children:[(0,e.createComponentVNode)(2,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),y.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(C,v){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:C.title}),(g=C.columns)==null?void 0:g.map(function(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.ore;if(!(N.value&&N.amount<=0&&!(["metal","glass"].indexOf(N.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",N.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:N.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:N.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})},s=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=C.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",N.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:N.amount>=1?"good":"gray",align:"center",children:N.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:N.amount>=1?"good":"gray",bold:N.amount>=1,align:"center",children:N.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(N.amount,50),stepPixelSize:6,onChange:function(){function y(B,I){return p(N.value?"sheet":"alloy",{id:N.id,amount:I})}return y}()})})]})})}},48824:function(w,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(70752),k=function(h){var l;try{l=V("./"+h+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",h);throw m}var c=l[h];return c||(0,f.routingError)("missingExport",h)},S=r.PAI=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.app_template,s=d.app_icon,i=d.app_title,C=k(u);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,u!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function v(){return m("Back")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function v(){return m("MASTER_back")}return v}()})],4)]}),children:(0,e.createComponentVNode)(2,C)})})})})})}return b}()},41565:function(w,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(91807),V=n(59395),k=function(c){var m;try{m=V("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw u}var d=m[c];return d||(0,f.routingError)("missingExport",c)},S=r.PDA=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app,C=s.owner;if(!C)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var v=k(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,v)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,h)})]})})})}return l}(),b=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.idInserted,C=s.idLink,v=s.stationTime,g=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function p(){return u("Authenticate")}return p}(),content:i?C:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function p(){return u("Eject")}return p}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:v})]})},h=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function C(){return u("Back")}return C}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function C(){u("Home")}return C}()})})]})})}},78704:function(w,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(92986),V=r.Pacman=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.active,d=c.anchored,u=c.broken,s=c.emagged,i=c.fuel_type,C=c.fuel_usage,v=c.fuel_stored,g=c.fuel_cap,p=c.is_ai,N=c.tmp_current,y=c.tmp_max,B=c.tmp_overheat,I=c.output_max,L=c.power_gen,T=c.output_set,A=c.has_fuel,x=v/g,E=N/y,M=T*L,j=Math.round(v/C),P=Math.round(j/60),R=j>120?P+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:m,onClick:function(){function D(){return l("toggle_power")}return D}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:T,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function D(F,U){return l("change_power",{change_power:U})}return D}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[N," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[B>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),B>20&&B<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),B>1&&B<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),B===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||p||!A,onClick:function(){function D(){return l("eject_fuel")}return D}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[C/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(C?R:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return k}()},6887:function(w,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PanDEMIC=function(){function d(u,s){var i=(0,a.useBackend)(s),C=i.data,v=C.beakerLoaded,g=C.beakerContainsBlood,p=C.beakerContainsVirus,N=C.resistances,y=N===void 0?[]:N,B;return v?g?g&&!p&&(B=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):B=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):B=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[B&&(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:B}),(y==null?void 0:y.length)>0&&(0,e.createComponentVNode)(2,m)]}),!!p&&(0,e.createComponentVNode)(2,b)]})})})}return d}(),V=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!g,onClick:function(){function p(){return C("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!g,onClick:function(){function p(){return C("destroy_eject_beaker")}return p}()})],4)},k=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.beakerContainsVirus,p=u.strain,N=p.commonName,y=p.description,B=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,T=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!g)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return x&&(N!=null&&N!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return C("print_release_forms",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return C("name_strain",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[N!=null?N:"Unknown",M]})}),y&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:y}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:B}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:T!=null?T:"None"})]})},S=function(u,s){var i,C=(0,a.useBackend)(s),v=C.act,g=C.data,p=!!g.synthesisCooldown,N=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function y(){return v("clone_strain",{strain_index:u.strainIndex})}return y}()}),u.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=u.sectionTitle)!=null?i:"Strain Information",buttons:N,children:(0,e.createComponentVNode)(2,k,{strain:u.strain,strainIndex:u.strainIndex})})})},b=function(u,s){var i,C=(0,a.useBackend)(s),v=C.act,g=C.data,p=g.selectedStrainIndex,N=g.strains,y=N[p-1];if(N.length===0)return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,V),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})})});if(N.length===1){var B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,S,{strain:N[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,V)}),((B=N[0].symptoms)==null?void 0:B.length)>0&&(0,e.createComponentVNode)(2,l,{strain:N[0]})],0)}var I=(0,e.createComponentVNode)(2,V);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:N.map(function(L,T){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===T,onClick:function(){function x(){return v("switch_strain",{strain_index:T+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},T)})})}),(0,e.createComponentVNode)(2,S,{strain:y,strainIndex:p}),((i=y.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,l,{className:"remove-section-bottom-padding",strain:y})]})})})},h=function(u){return u.reduce(function(s,i){return s+i},0)},l=function(u){var s=u.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:u.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},C)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.synthesisCooldown,p=v.beakerContainsVirus,N=v.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:N.map(function(y,B){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[B%c.length],disabled:!!g,onClick:function(){function I(){return C("clone_vaccine",{resistance_index:B+1})}return I}(),mr:"0.5em"}),y]},B)})})})})}},78643:function(w,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ParticleAccelerator=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.assembled,m=l.power,d=l.strength,u=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return h("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return h("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return h("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===u,onClick:function(){function s(){return h("add_strength")}return s}(),ml:"4px"})]})]})})})})}return V}()},34026:function(w,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PdaPainter=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,V)})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return m("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+u[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return m("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return m("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},81378:function(w,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.PersonalCrafting=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.busy,u=m.category,s=m.display_craftable_only,i=m.display_compact,C=m.prev_cat,v=m.next_cat,g=m.subcategory,p=m.prev_subcat,N=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:u,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function y(){return c("toggle_recipes")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function y(){return c("toggle_compact")}return y}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-left",onClick:function(){function y(){return c("backwardCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-right",onClick:function(){function y(){return c("forwardCat")}return y}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function y(){return c("backwardSubCat")}return y}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function y(){return c("forwardSubCat")}return y}()})]}),i?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})]})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:i.ref})}return C}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function C(){return c("make",{make:i.ref})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},58792:function(w,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Photocopier=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,V)}),(0,e.createComponentVNode)(2,k)]})})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function u(){return c("copy")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function u(){return c("scandocument")}return u}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function u(){return c("ai_text")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function u(){return c("ai_pic")}return u}()})],4)],0)},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:d.uid})}return u}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function u(){return c("deletefile",{uid:d.uid})}return u}()})]})},d.name)})})}},27902:function(w,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=["tempKey"];function V(h,l){if(h==null)return{};var c={},m=Object.keys(h),d,u;for(u=0;u=0)&&(c[d]=h[d]);return c}var k={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},S=function(l,c){var m=l.tempKey,d=V(l,f),u=k[m];if(!u)return null;var s=(0,a.useBackend)(c),i=s.data,C=s.act,v=i.currentTemp,g=u.label,p=u.icon,N=m===v,y=function(){C("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:N,onClick:y},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),g]})))},b=r.PoolController=function(){function h(l,c){for(var m=(0,a.useBackend)(c),d=m.data,u=d.emagged,s=d.currentTemp,i=k[s]||k.normal,C=i.label,v=i.color,g=[],p=0,N=Object.entries(k);p50?"battery-half":"battery-quarter")||v==="C"&&"bolt"||v==="F"&&"battery-full"||v==="M"&&"slash",color:v==="N"&&(g>50?"yellow":"red")||v==="C"&&"yellow"||v==="F"&&"green"||v==="M"&&"orange"}),(0,e.createComponentVNode)(2,S.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};u.defaultHooks=f.pureComponentHooks;var s=function(C){var v,g,p=C.status;switch(p){case"AOn":v=!0,g=!0;break;case"AOff":v=!0,g=!1;break;case"On":v=!1,g=!0;break;case"Off":v=!1,g=!1;break}var N=(g?"On":"Off")+(" ["+(v?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,S.ColorBox,{color:g?"good":"bad",content:v?void 0:"M",title:N})};s.defaultHooks=f.pureComponentHooks},27262:function(w,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(91097),f=n(99665),V=n(68159),k=n(27527),S=n(45493),b=r.PrisonerImplantManager=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.loginState,i=u.prisonerInfo,C=u.chemicalInfo,v=u.trackingInfo,g;if(!s.logged_in)return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,S.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function N(){return d("id_card")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function N(){return d("reset_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function N(){return(0,f.modalOpen)(c,"set_points")}return N}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:v.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:N.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:N.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function y(){return(0,f.modalOpen)(c,"warn",{uid:N.uid})}return y}()})})]})]},N.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:C.map(function(N){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",N.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:N.volume})}),p.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:N.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{asset:!0,imageAsset:"prize_counter64x64",image:v.imageID,title:v.name,content:v.desc,children:(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",fontSize:1.5,textColor:g&&"gray",content:v.cost,icon:"ticket",iconSize:1.6,iconColor:g?"bad":"good",tooltip:g&&"Not enough tickets",disabled:g,onClick:function(){function p(){return h("purchase",{purchase:v.itemID})}return p}()})},v.name)})})})})})})}return V}()},87963:function(w,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(99665),V=n(57842),k=r.RCD=function(){function d(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),S=function(u,s){var i=(0,a.useBackend)(s),C=i.data,v=C.matter,g=C.max_matter,p=g*.7,N=g*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[p,1/0],average:[N,p],bad:[-1/0,N]},value:v,maxValue:g,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:v+" / "+g+" units"})})})})},b=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,h,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,h,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,h,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,h,{mode_type:"Deconstruction"})]})})})},h=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=u.mode_type,p=v.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:g,selected:p===g?1:0,onClick:function(){function N(){return C("mode",{mode:g})}return N}()})})},l=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.door_name,p=v.electrochromic,N=v.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,g,0)],0),onClick:function(){function y(){return(0,f.modalOpen)(s,"renameAirlock")}return y}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:N===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function y(){return C("electrochromic")}return y}()})})]})})})},c=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.tab,p=v.locked,N=v.one_access,y=v.selected_accesses,B=v.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:g===1,onClick:function(){function I(){return C("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:g===2,icon:"list",onClick:function(){function I(){return C("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):g===2&&p?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return C("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,V.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return C("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:N,content:"One",onClick:function(){function I(){return C("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,width:4,content:"All",onClick:function(){function I(){return C("set_one_access",{access:"all"})}return I}()})],4),accesses:B,selectedList:y,accessMod:function(){function I(L){return C("set",{access:L})}return I}(),grantAll:function(){function I(){return C("grant_all")}return I}(),denyAll:function(){function I(){return C("clear_all")}return I}(),grantDep:function(){function I(L){return C("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return C("deny_region",{region:L})}return I}()})})],4)},m=function(u,s){for(var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.door_types_ui_list,p=v.door_type,N=u.check_number,y=[],B=0;B0?"envelope-open-text":"envelope",onClick:function(){function B(){return C("setScreen",{setScreen:6})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Assistance",icon:"hand-paper",onClick:function(){function B(){return C("setScreen",{setScreen:1})}return B}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Supplies",icon:"box",onClick:function(){function B(){return C("setScreen",{setScreen:2})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:11})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Relay Anonymous Information",icon:"comment",onClick:function(){function B(){return C("setScreen",{setScreen:3})}return B}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Print Shipping Label",icon:"tag",onClick:function(){function B(){return C("setScreen",{setScreen:9})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function B(){return C("setScreen",{setScreen:10})}return B}()})]})}),!!p&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,lineHeight:3,color:"translucent",content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function B(){return C("setScreen",{setScreen:8})}return B}()})})]})})},k=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.department,p=[],N;switch(u.purpose){case"ASSISTANCE":p=v.assist_dept,N="Request assistance from another department";break;case"SUPPLIES":p=v.supply_dept,N="Request supplies from another department";break;case"INFO":p=v.info_dept,N="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function y(){return C("setScreen",{setScreen:0})}return y}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:p.filter(function(y){return y!==g}).map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function B(){return C("writeInput",{write:y,priority:"1"})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function B(){return C("writeInput",{write:y,priority:"2"})}return B}()})]},y)})})})})},S=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g;switch(u.type){case"SUCCESS":g="Message sent successfully";break;case"FAIL":g="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function p(){return C("setScreen",{setScreen:0})}return p}()})})},b=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g,p;switch(u.type){case"MESSAGES":g=v.message_log,p="Message Log";break;case"SHIPPING":g=v.shipping_log,p="Shipping label print log";break}return g.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:p,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),children:g.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[N.map(function(y,B){return(0,e.createVNode)(1,"div",null,y,0,null,B)}),(0,e.createVNode)(1,"hr")]},N)})})})},h=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.recipient,p=v.message,N=v.msgVerified,y=v.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function B(){return C("setScreen",{setScreen:0})}return B}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:y})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function B(){return C("department",{department:g})}return B}()})})})],4)},l=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.message,p=v.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function N(){return C("writeAnnouncement")}return N}()})],4),children:g})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(p&&g),onClick:function(){function N(){return C("sendAnnouncement")}return N}()})]})})],4)},c=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.shipDest,p=v.msgVerified,N=v.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function y(){return C("setScreen",{setScreen:0})}return y}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:p})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(g&&p),onClick:function(){function y(){return C("printLabel")}return y}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.map(function(y){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:y,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:g===y?"Selected":"Select",selected:g===y,onClick:function(){function B(){return C("shipSelect",{shipSelect:y})}return B}()})},y)})})})})],4)},m=function(u,s){var i=(0,a.useBackend)(s),C=i.act,v=i.data,g=v.secondaryGoalAuth,p=v.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return C("setScreen",{setScreen:0})}return N}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[p?g?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(g&&p),onClick:function(){function N(){return C("requestSecondaryGoal")}return N}()})]})})],4)}},89641:function(w,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(96524),a=n(17899),t=n(45493),o=n(24674),f=n(3422),V=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},k=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},S=r.RndConsole=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,f.RndNavbar),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.MAIN,render:function(){function u(){return(0,e.createComponentVNode)(2,f.MainMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.LEVELS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.CurrentLevels)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DISK,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DataDiskMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.DESTROY,render:function(){function u(){return(0,e.createComponentVNode)(2,f.DeconstructionMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:function(){function u(s){return s===V.LATHE||s===V.IMPRINTER}return u}(),render:function(){function u(){return(0,e.createComponentVNode)(2,f.LatheMenu)}return u}()}),(0,e.createComponentVNode)(2,f.RndRoute,{menu:V.SETTINGS,render:function(){function u(){return(0,e.createComponentVNode)(2,f.SettingsMenu)}return u}()}),d?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:d})})}):null]})})})}return b}()},19348:function(w,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.CurrentLevels=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),h.map(function(l,c){var m=l.name,d=l.level,u=l.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",d]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",u]})]},m)})]})}return f}()},338:function(w,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V="design",k="tech",S=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_data;return p?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:p.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:p.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:p.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function N(){return g("updt_tech")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function N(){return g("clear_tech")}return N}()}),(0,e.createComponentVNode)(2,l)]})]}):null},b=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_data;if(!p)return null;var N=p.name,y=p.lathe_types,B=p.materials,I=y.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:N}),I?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:I}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,l)]})]})},h=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:f.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===k?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,l)]})]})},l=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_type;return p?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function N(){var y=p===k?"eject_tech":"eject_design";g(y)}return N}()}):null},c=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_data,p=v.disk_type,N=function(){if(!g)return(0,e.createComponentVNode)(2,h);switch(p){case V:return(0,e.createComponentVNode)(2,b);case k:return(0,e.createComponentVNode)(2,S);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:N()})},m=function(s,i){var C=(0,a.useBackend)(i),v=C.data,g=C.act,p=v.disk_type,N=v.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.sort(function(y,B){return y.name.localeCompare(B.name)}).map(function(y){var B=y.name,I=y.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:B,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){p===k?g("copy_tech",{id:I}):g("copy_design",{id:I})}return L}()})},I)})})})})},d=r.DataDiskMenu=function(){function u(s,i){var C=(0,a.useBackend)(i),v=C.data,g=v.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function p(){return(0,e.createComponentVNode)(2,c)}return p}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.DISK_COPY,render:function(){function p(){return(0,e.createComponentVNode)(2,m)}return p}()})],4):null}return u}()},90785:function(w,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.DeconstructionMenu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_item,c=b.linked_destroy;return c?l?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",l.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){h("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){h("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return f}()},34492:function(w,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheCategory=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,l=b.act,c=h.category,m=h.matching_designs,d=h.menu,u=d===4,s=u?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var C=i.id,v=i.name,g=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:v,disabled:g<1,onClick:function(){function N(){return l(s,{id:C,amount:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function N(){return l(s,{id:C,amount:5})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function N(){return l(s,{id:C,amount:10})}return N}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(N){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",N.is_red?"color-red":null,[N.amount,(0,e.createTextVNode)(" "),N.name],0)],0)})})]},C)})})]})}return V}()},84275:function(w,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheChemicalStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_chemicals,c=b.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";h(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(m){var d=m.volume,u=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var C=c?"disposeP":"disposeI";h(C,{id:s})}return i}()})},s)})})]})}return f}()},12638:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=r.LatheMainMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.data,l=b.act,c=h.menu,m=h.categories,d=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:u,onClick:function(){function s(){l("setCategory",{category:u})}return s}()})},u)})})]})}return V}()},89004:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterialStorage=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=S.act,l=b.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var m=c.id,d=c.amount,u=c.name,s=function(){function g(p){var N=b.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";h(N,{id:m,amount:p})}return g}(),i=Math.floor(d/2e3),C=d<1,v=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:C?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",d," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",v,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return s(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return s("custom")}return g}()}),d>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return s(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return s(50)}return g}()})],0):null})]},m)})})})}return f}()},73856:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheMaterials=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data,h=b.total_materials,l=b.max_materials,c=b.max_chemicals,m=b.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},75955:function(w,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(96524),a=n(17899),t=n(78345),o=n(3422),f=n(24674),V=n(89641),k=r.LatheMenu=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=c.menu,d=c.linked_lathe,u=c.linked_imprinter;return m===4&&!d?(0,e.createComponentVNode)(2,f.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!u?(0,e.createComponentVNode)(2,f.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.MAIN,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CATEGORY,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_MAT_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return s}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:V.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function s(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return s}()})]})}return S}()},72880:function(w,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LatheSearch=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function h(l,c){return b("search",{to_search:c})}return h}()})})}return f}()},62306:function(w,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.MainMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.disk_type,m=l.linked_destroy,d=l.linked_lathe,u=l.linked_imprinter,s=l.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:f.MENU.DISK,submenu:f.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:f.MENU.DESTROY,submenu:f.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:f.MENU.LATHE,submenu:f.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:f.MENU.IMPRINTER,submenu:f.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:f.MENU.SETTINGS,submenu:f.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:s.map(function(i){var C=i.name,v=i.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:v},C)})})]})}return k}()},99941:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.RndNavButton=function(){function f(V,k){var S=V.icon,b=V.children,h=V.disabled,l=V.content,c=(0,a.useBackend)(k),m=c.data,d=c.act,u=m.menu,s=m.submenu,i=u,C=s;return V.menu!==null&&V.menu!==void 0&&(i=V.menu),V.submenu!==null&&V.submenu!==void 0&&(C=V.submenu),(0,e.createComponentVNode)(2,t.Button,{content:l,icon:S,disabled:h,onClick:function(){function v(){d("nav",{menu:i,submenu:C})}return v}(),children:b})}return f}()},24448:function(w,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(96524),a=n(3422),t=n(24674),o=n(89641),f=r.RndNavbar=function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S!==o.MENU.MAIN}return k}(),render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function k(S){return S!==o.SUBMENU.MAIN}return k}(),render:function(){function k(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return S}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function S(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return S}()})]})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function k(S){return S===o.MENU.LATHE||S===o.MENU.IMPRINTER}return k}(),submenu:o.SUBMENU.MAIN,render:function(){function k(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return k}()})]})}return V}()},78345:function(w,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(17899),a=r.RndRoute=function(){function t(o,f){var V=o.render,k=(0,e.useBackend)(f),S=k.data,b=S.menu,h=S.submenu,l=function(){function m(d,u){return d==null?!0:typeof d=="function"?d(u):d===u}return m}(),c=l(o.menu,b)&&l(o.submenu,h);return c?V():null}return t}()},56454:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(3422),f=n(89641),V=r.SettingsMenu=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=h.act,m=l.sync,d=l.admin,u=l.linked_destroy,s=l.linked_lathe,i=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.MAIN,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function v(){c("sync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function v(){c("togglesync")}return v}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:f.MENU.SETTINGS,submenu:f.SUBMENU.SETTINGS_DEVICES}),d===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function v(){return c("maxresearch")}return v}()}):null]})})}return C}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:f.SUBMENU.SETTINGS_DEVICES,render:function(){function C(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function v(){return c("find_device")}return v}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[u?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"destroy"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),s?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){c("disconnect",{item:"lathe"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),i?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function v(){return c("disconnect",{item:"imprinter"})}return v}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return C}()})]})}return k}()},3422:function(w,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(19348);r.CurrentLevels=e.CurrentLevels;var a=n(338);r.DataDiskMenu=a.DataDiskMenu;var t=n(90785);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(34492);r.LatheCategory=o.LatheCategory;var f=n(84275);r.LatheChemicalStorage=f.LatheChemicalStorage;var V=n(12638);r.LatheMainMenu=V.LatheMainMenu;var k=n(73856);r.LatheMaterials=k.LatheMaterials;var S=n(89004);r.LatheMaterialStorage=S.LatheMaterialStorage;var b=n(75955);r.LatheMenu=b.LatheMenu;var h=n(72880);r.LatheSearch=h.LatheSearch;var l=n(62306);r.MainMenu=l.MainMenu;var c=n(24448);r.RndNavbar=c.RndNavbar;var m=n(99941);r.RndNavButton=m.RndNavButton;var d=n(78345);r.RndRoute=d.RndRoute;var u=n(56454);r.SettingsMenu=u.SettingsMenu},71123:function(w,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(78234),V=function(b,h){var l=b/h;return l<=.2?"good":l<=.5?"average":"bad"},k=r.RobotSelfDiagnosis=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:V(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:V(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},u)})})})}return S}()},98951:function(w,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.RoboticsControlConsole=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.can_hack,d=c.safety,u=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function C(){return l("arm",{})}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function C(){return l("masslock",{})}return C}()})]}),(0,e.createComponentVNode)(2,V,{cyborgs:i,can_hack:m})]})})}return k}(),V=function(S,b){var h=S.cyborgs,l=S.can_hack,c=(0,a.useBackend)(b),m=c.act,d=c.data,u="Detonate";return d.detonate_cooldown>0&&(u+=" ("+d.detonate_cooldown+"s)"),h.length?h.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return m("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function i(){return m("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return m("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},2289:function(w,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Safe=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,C=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*u+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,S)]})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,C=function(g,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!i,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+g,iconRight:p,onClick:function(){function N(){return m(p?"turnleft":"turnright",{num:g})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function v(){return m("open")}return v}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[C(50),C(10),C(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[C(1,!0),C(10,!0),C(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:u})]})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function C(){return m("retrieve",{index:i+1})}return C}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},S=function(h,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},49334:function(w,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SatelliteControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.satellites,m=l.notice,d=l.meteor_shield,u=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,i=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:u,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+C.id,children:[C.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:C.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function v(){return h("toggle",{id:C.id})}return v}()})]},C.id)})]})})]})})}return V}()},54892:function(w,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(96524),a=n(28234),t=n(17899),o=n(24674),f=n(45493),V=n(5126),k=n(68100),S=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,h)})})})})}return c}(),b=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=window.event?m.which:m.keyCode;if(i===k.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(i===k.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(i===k.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(i>=k.KEY_0&&i<=k.KEY_9){m.preventDefault(),s("keypad",{digit:i-k.KEY_0});return}if(i>=k.KEY_NUMPAD_0&&i<=k.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:i-k.KEY_NUMPAD_0});return}},h=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=i.locked,v=i.no_passcode,g=i.emagged,p=i.user_entered_code,N=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],y=v?"":C?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function B(I){return b(I,d)}return B}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+y]),height:"100%",children:g?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(B){return(0,e.createComponentVNode)(2,V.TableRow,{children:B.map(function(I){return(0,e.createComponentVNode)(2,V.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},B[0])})})]})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,C=m.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:C,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+C]),onClick:function(){function v(){return s("keypad",{digit:C})}return v}()})}},56798:function(w,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665),k=n(68159),S=n(27527),b=n(84537),h={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(p,N){(0,V.modalOpen)(p,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function g(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.loginState,T=I.currentPage,A;if(L.logged_in)T===1?A=(0,e.createComponentVNode)(2,d):T===2&&(A=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,S.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,V.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k.LoginInfo),(0,e.createComponentVNode)(2,b.TemporaryNotice),(0,e.createComponentVNode)(2,m),A]})})]})}return g}(),m=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.currentPage,T=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return B("page",{page:1})}return A}(),children:"List Records"}),L===2&&T&&!T.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",T.fields[0].value]})]})})},d=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.records,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1],E=(0,t.useLocalState)(N,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(N,"sortOrder",!0),R=P[0],D=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,u,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,u,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,u,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,u,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,U){var _=R?1:-1;return F[M].localeCompare(U[M])*_}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+h[F.status],onClick:function(){function U(){return B("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return U}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},u=function(p,N){var y=(0,t.useLocalState)(N,"sortId","name"),B=y[0],I=y[1],L=(0,t.useLocalState)(N,"sortOrder",!0),T=L[0],A=L[1],x=p.id,E=p.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==x&&"transparent",fluid:!0,onClick:function(){function M(){B===x?A(!T):(I(x),A(!0))}return M}(),children:[E,B===x&&(0,e.createComponentVNode)(2,o.Icon,{name:T?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.isPrinting,T=(0,t.useLocalState)(N,"searchText",""),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return B("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,V.modalOpen)(N,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},i=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.isPrinting,T=I.general,A=I.security;return!T||!T.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function x(){return B("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return B("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,C)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return B("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return B("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function M(){return l(N,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,v)],4)],0)},C=function(p,N){var y=(0,t.useBackend)(N),B=y.data,I=B.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,T){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return l(N,L)}return A}()})]},T)})})}),!!I.has_photos&&I.photos.map(function(L,T){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",T+1]},T)})]})},v=function(p,N){var y=(0,t.useBackend)(N),B=y.act,I=y.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function T(){return(0,V.modalOpen)(N,"comment_add")}return T}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(T,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:T.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),T.text||T,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return B("comment_delete",{id:A+1})}return x}()})]},A)})})})}},59981:function(w,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=n(45493),V=n(99665);function k(u,s){var i=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(i)return(i=i.call(u)).next.bind(i);if(Array.isArray(u)||(i=S(u))||s&&u&&typeof u.length=="number"){i&&(u=i);var C=0;return function(){return C>=u.length?{done:!0}:{done:!1,value:u[C++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(u,s){if(u){if(typeof u=="string")return b(u,s);var i=Object.prototype.toString.call(u).slice(8,-1);if(i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set")return Array.from(u);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return b(u,s)}}function b(u,s){(s==null||s>u.length)&&(s=u.length);for(var i=0,C=new Array(s);i=A},v=function(T,A){return T<=A},g=s.split(" "),p=[],N=function(){var T=I.value,A=T.split(":");if(A.length===0)return 0;if(A.length===1)return p.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function M(j){return!1}return M}()};var x,E=i;if(A[1][A[1].length-1]==="-"?(E=v,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=C,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function M(j){return!1}return M}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":p.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(M){return E(M.production,x)});break;case"y":case"yield":p.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":p.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},y,B=k(g),I;!(I=B()).done;)if(y=N(),y!==0&&y)return y.v;return function(L){for(var T=0,A=p;T=1?Number(E):1)}return A}()})]})]})}},33454:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return h("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return h("request")}return c}()})})],0))]})})})})}return V}()},50451:function(w,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.ShuttleManipulator=function(){function b(h,l){var c=(0,a.useLocalState)(l,"tabIndex",0),m=c[0],d=c[1],u=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(m)]})})})}return b}(),V=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},k=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.templates_tabs,s=d.existing_shuttle,i=d.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:C===s.id,icon:"file",onClick:function(){function v(){return m("select_template_category",{cat:C})}return v}(),children:C},C)})}),!!s&&i[s.id].templates.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[C.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:C.description}),C.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:C.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function v(){return m("select_template",{shuttle_id:C.shuttle_id})}return v}()})})]})},C.name)})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.existing_shuttle,s=d.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[u?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+u.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u.status}),u.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:u.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:u.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},99050:function(w,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],S={average:[.25,.5],bad:[.5,1/0]},b=["bad","average","average","good","average","average","bad"],h=r.Sleeper=function(){function i(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.hasOccupant,B=y?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:B}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return i}(),l=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4)},c=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant,B=N.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,content:B?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(B?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:y.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxHealth,value:y.health/y.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(y.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:V[y.stat][0],children:V[y.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.maxTemp,value:y.bodyTemperature/y.maxTemp,color:b[y.temperatureSuitability+3],children:[(0,a.round)(y.btCelsius,0),"\xB0C,",(0,a.round)(y.btFaren,0),"\xB0F"]})}),!!y.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:y.bloodMax,value:y.bloodLevel/y.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[y.bloodPercent,"%, ",y.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[y.pulse," BPM"]})],4)]})})},m=function(C,v){var g=(0,t.useBackend)(v),p=g.data,N=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:k.map(function(y,B){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:y[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:N[y[1]]/100,ranges:S,children:(0,a.round)(N[y[1]],0)},B)},B)})})})},d=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.hasOccupant,B=N.isBeakerLoaded,I=N.beakerMaxSpace,L=N.beakerFreeSpace,T=N.dialysis,A=T&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!B||L<=0||!y,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,icon:"eject",content:"Eject",onClick:function(){function x(){return p("removebeaker")}return x}()})],4),children:B?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(C,v){var g=(0,t.useBackend)(v),p=g.act,N=g.data,y=N.occupant,B=N.chemicals,I=N.maxchem,L=N.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:B.map(function(T,A){var x="",E;return T.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):T.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:T.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:T.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[T.pretty_amount,"/",I,"u"]}),L.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!T.injectable||T.occ_amount+M>I||y.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+T.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return p("chemical",{chemid:T.id,amount:M})}return P}()},j)})]})})},A)})})},s=function(C,v){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},37763:function(w,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SlotMachine=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function m(){return h("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return V}()},26654:function(w,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Smartfridge=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.secure,m=l.can_dry,d=l.drying,u=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return h("drying")}return s}()}),children:[!u&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!u&&u.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return h("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(C,v){return h("vend",{index:s.vend,amount:v})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return h("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return V}()},71124:function(w,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(92986),f=n(45493),V=1e3,k=r.Smes=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.capacityPercent,u=m.capacity,s=m.charge,i=m.inputAttempt,C=m.inputting,v=m.inputLevel,g=m.inputLevelMax,p=m.inputAvailable,N=m.outputPowernet,y=m.outputAttempt,B=m.outputting,I=m.outputLevel,L=m.outputLevelMax,T=m.outputUsed,A=d>=100&&"good"||C&&"average"||"bad",x=B&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:d>=100&&"Fully Charged"||C&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:v===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:v===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:v/V,fillValue:p/V,minValue:0,maxValue:g/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:v===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:v===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(p)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:y?"power-off":"times",selected:y,onClick:function(){function E(){return c("tryoutput")}return E}(),children:y?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:N?B?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/V,minValue:0,maxValue:L/V,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*V,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*V})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(T)})]})})]})})})}return S}()},21786:function(w,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SolarControl=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=0,m=1,d=2,u=l.generated,s=l.generated_ratio,i=l.tracking_state,C=l.tracking_rate,v=l.connected_panels,g=l.connected_tracker,p=l.cdir,N=l.direction,y=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function B(){return h("refresh")}return B}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:v>0?"good":"bad",children:v})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",N,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",C,"\xB0/h (",y,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function B(I,L){return h("cdir",{cdir:L})}return B}()}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function B(){return h("track",{track:c})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function B(){return h("track",{track:m})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===d,disabled:!g,onClick:function(){function B(){return h("track",{track:d})}return B}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:C,format:function(){function B(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return B}(),onDrag:function(){function B(I,L){return h("tdir",{tdir:L})}return B}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return V}()},31202:function(w,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpawnersMenu=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return h("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return h("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return V}()},84800:function(w,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SpecMenu=function(){function h(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,b)]})})})}return h}(),V=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},46501:function(w,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.StationAlertConsole=function(){function k(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V)})})}return k}(),V=r.StationAlertConsoleContent=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.data,c=l.alarms||[],m=c.Fire||[],d=c.Atmosphere||[],u=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return k}()},18565:function(w,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(96524),a=n(50640),t=n(67765),o=n(17899),f=n(24674),V=n(45493),k=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(k||{}),S=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data,i=s.future_station_traits,C=(0,o.useLocalState)(m,"selectedFutureTrait",null),v=C[0],g=C[1],p=Object.fromEntries(s.valid_station_traits.map(function(y){return[y.name,y.path]})),N=Object.keys(p);return N.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!v&&"Select trait to add...",onSelected:g,options:N,selected:v,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function y(){if(v){var B=p[v],I=[B];if(i){var L,T=i.map(function(A){return A.path});if(T.indexOf(B)!==-1)return;I=(L=I).concat.apply(L,T)}u("setup_future_traits",{station_traits:I})}}return y}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:i.map(function(y){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:y.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function B(){u("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==y.path)return I.path})})}return B}(),children:"Delete"})})]})},y.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function y(){return u("clear_future_traits")}return y}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function y(){return u("setup_future_traits",{station_traits:[]})}return y}(),children:"Prevent station traits from running next round"})]})]})},b=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function C(){return u("revert",{ref:i.ref})}return C}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},h=r.StationTraitsPanel=function(){function l(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",k.ViewStationTraits),u=d[0],s=d[1],i;switch(u){case k.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,S);break;case k.ViewStationTraits:i=(0,e.createComponentVNode)(2,b);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,V.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,V.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:u===k.ViewStationTraits,onClick:function(){function C(){return s(k.ViewStationTraits)}return C}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:u===k.SetupFutureStationTraits,onClick:function(){function C(){return s(k.SetupFutureStationTraits)}return C}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),i]})]})})})}return l}()},95147:function(w,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(96524),a=n(50640),t=n(17442),o=n(17899),f=n(24674),V=n(45493),k=5,S=5,b="64px",h=function(i){return i[0]+"/"+i[1]},l=function(i){var C=i.align,v=i.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:C==="left"?"6px":"48px","text-align":C,"text-shadow":"2px 2px 2px #000",top:"2px"},children:v})},c={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},m={eyes:{displayName:"eyewear",gridSpot:h([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:h([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:h([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:h([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:h([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:h([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:h([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:h([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:h([1,4])},jumpsuit:{displayName:"uniform",gridSpot:h([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:h([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:h([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:h([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:h([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,l,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:h([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:h([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:h([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:h([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:h([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:h([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:h([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:h([4,4]),image:"inventory-pda.png"}},d=function(s){return s[s.Completely=1]="Completely",s[s.Hidden=2]="Hidden",s}(d||{}),u=r.StripMenu=function(){function s(i,C){for(var v=(0,o.useBackend)(C),g=v.act,p=v.data,N=new Map,y=0,B=Object.keys(p.items);y=.01})},(0,a.sortBy)(function(T){return-T.amount})])(v.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(T){return T.amount})));return(0,e.createComponentVNode)(2,S.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,S.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:N,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(N)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:l(y),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(y)+" K"})}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,V.ProgressBar,{value:l(B),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(B)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"arrow-left",content:"Back",onClick:function(){function T(){return C("back")}return T}()}),children:(0,e.createComponentVNode)(2,V.LabeledList,{children:I.map(function(T){return(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:(0,k.getGasLabel)(T.name),children:(0,e.createComponentVNode)(2,V.ProgressBar,{color:(0,k.getGasColor)(T.name),value:T.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(T.amount,2)+"%"})},T.name)})})})})]})})})}},30047:function(w,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.SyndicateComputerSimple=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return h(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return V}()},28830:function(w,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S){return S.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},V=r.TEG=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return l("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K, ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K, ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K, ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K, ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return k}()},39903:function(w,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TachyonArray=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.records,d=m===void 0?[]:m,u=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!d.length||i,align:"center",onClick:function(){function C(){return l("print_logs")}return C}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function C(){return l("delete_logs")}return C}()})]})]})}),d.length?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return k}(),V=r.TachyonArrayContent=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return k}()},17068:function(w,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Tank=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function m(){return h("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return h("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function m(d,u){return h("pressure",{pressure:u})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return h("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return h("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return V}()},69161:function(w,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TankDispenser=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.o_tanks,m=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return h("plasma")}return d}()})})]})})})}return V}()},87394:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsCore=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.ion,i=(0,a.useLocalState)(c,"tabIndex",0),C=i[0],v=i[1],g=function(){function p(N){switch(N){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:C===0,onClick:function(){function p(){return v(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:C===1,onClick:function(){function p(){return v(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:C===2,onClick:function(){function p(){return v(2)}return p}(),children:"User Filtering"},"FilterPage")]}),g(C)]})})}return h}(),V=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.active,i=u.sectors_available,C=u.nttc_toggle_jobs,v=u.nttc_toggle_job_color,g=u.nttc_toggle_name_color,p=u.nttc_toggle_command_bold,N=u.nttc_job_indicator_type,y=u.nttc_setting_language,B=u.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"On":"Off",selected:C,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"clipboard-list",onClick:function(){function I(){return d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:y||"Unset",selected:y,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:B||"Unset",selected:B,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.link_password,i=u.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function C(){return d("change_password")}return C}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function v(){return d("unlink",{addr:C.addr})}return v}()})})]},C.addr)})]})]})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return d("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function C(){return d("remove_filter",{user:i})}return C}()})})]},i)})]})})}},55684:function(w,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TcommsRelay=function(){function S(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.linked,u=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.linked_core_id,u=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},k=function(b,h){var l=(0,a.useBackend)(h),c=l.act,m=l.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:u.addr})}return s}()})})]},u.addr)})]})})}},81088:function(w,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Teleporter=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.targetsTeleport?l.targetsTeleport:{},m=0,d=1,u=2,s=l.calibrated,i=l.calibrating,C=l.powerstation,v=l.regime,g=l.teleporterhub,p=l.target,N=l.locked,y=l.adv_beacon_allowed,B=l.advanced_beacon_locking;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!C||!g)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[g,!C&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),C&&!g&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),C&&g&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",buttons:(0,e.createFragment)(!!y&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"Enabled":"Disabled",onClick:function(){function I(){return h("advanced_beacon_locking",{on:B?0:1})}return I}()})],4),0),children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[v===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),v===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return h("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),v===u&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:v===d?"good":null,onClick:function(){function I(){return h("setregime",{regime:d})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:v===m?"good":null,onClick:function(){function I(){return h("setregime",{regime:m})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:v===u?"good":null,disabled:!N,onClick:function(){function I(){return h("setregime",{regime:u})}return I}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[p!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function I(){return h("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(N&&C&&g&&v===u)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function I(){return h("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return h("eject")}return I}()})]})})]})})})})}return V}()},65875:function(w,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TelescienceConsole=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.last_msg,m=l.linked_pad,d=l.held_gps,u=l.lastdata,s=l.power_levels,i=l.current_max_power,C=l.current_power,v=l.current_bearing,g=l.current_elevation,p=l.current_sector,N=l.working,y=l.max_z,B=(0,a.useLocalState)(S,"dummyrot",v),I=B[0],L=B[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(u.length>0)||(0,e.createVNode)(1,"ul",null,u.map(function(T){return(0,e.createVNode)(1,"li",null,T,0,null,T)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:N,value:v,onDrag:function(){function T(A,x){return L(x)}return T}(),onChange:function(){function T(A,x){return h("setbear",{bear:x})}return T}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:N,value:g,onChange:function(){function T(A,x){return h("setelev",{elev:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(T,A){return(0,e.createComponentVNode)(2,t.Button,{content:T,selected:C===T,disabled:A>=i-1||N,onClick:function(){function x(){return h("setpwr",{pwr:A+1})}return x}()},T)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:y,value:p,disabled:N,onChange:function(){function T(A,x){return h("setz",{newz:x})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:N,onClick:function(){function T(){return h("pad_send")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:N,onClick:function(){function T(){return h("pad_receive")}return T}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:N,onClick:function(){function T(){return h("recal_crystals")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:N,onClick:function(){function T(){return h("eject_crystals")}return T}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Eject GPS",onClick:function(){function T(){return h("eject_gps")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||N,content:"Store Coordinates",onClick:function(){function T(){return h("store_to_gps")}return T}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return V}()},96150:function(w,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.TempGun=function(){function h(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.target_temperature,i=u.temperature,C=u.max_temp,v=u.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:v,maxValue:C,value:s,format:function(){function g(p){return(0,a.toFixed)(p,2)}return g}(),width:"50px",onDrag:function(){function g(p,N){return d("target_temperature",{target_temperature:N})}return g}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:b(i),children:S(i)})})]})})})})}return h}(),k=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},S=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},b=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},95484:function(w,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(96524),a=n(14299),t=n(15113),o=n(17899),f=n(68100),V=n(24674),k=n(45493),S=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),b=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),h=r.TextInputModal=function(){function c(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,C=i.max_length,v=i.message,g=v===void 0?"":v,p=i.multiline,N=i.placeholder,y=i.timeout,B=i.title,I=(0,o.useLocalState)(d,"input",N||""),L=I[0],T=I[1],A=function(){function M(j){if(j!==L){var P=p?S(j):b(j);T(P)}}return M}(),x=p||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,k.Window,{title:B,width:325,height:E,children:[y&&(0,e.createComponentVNode)(2,a.Loader,{value:y}),(0,e.createComponentVNode)(2,k.Window.Content,{onKeyDown:function(){function M(j){var P=window.event?j.which:j.keyCode;P===f.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),P===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:L,onType:A})}),(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+C})})]})})})]})}return c}(),l=function(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,C=i.max_length,v=i.multiline,g=m.input,p=m.onType,N=v||g.length>=40;return(0,e.createComponentVNode)(2,V.TextArea,{autoFocus:!0,autoSelect:!0,height:v||g.length>=40?"100%":"1.8rem",maxLength:C,onEscape:function(){function y(){return s("cancel")}return y}(),onEnter:function(){function y(B){N&&B.shiftKey||(B.preventDefault(),s("submit",{entry:g}))}return y}(),onInput:function(){function y(B,I){return p(I)}return y}(),placeholder:"Type something...",value:g})}},378:function(w,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=n(45493),V=r.ThermoMachine=function(){function k(S,b){var h=(0,t.useBackend)(b),l=h.act,c=h.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return l("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return l("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return l("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function m(d,u){return l("target",{target:u})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return l("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return l("target",{target:c.initial})}return m}()})]})]})})]})})}return k}()},3365:function(w,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.TransferValve=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.tank_one,m=l.tank_two,d=l.attached_device,u=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"unlock":"lock",content:u?"Open":"Closed",disabled:!c||!m,onClick:function(){function s(){return h("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return h("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return h("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return h("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return h("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return V}()},13860:function(w,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=n(36121),V=r.TurbineComputer=function(){function b(h,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.compressor,s=d.compressor_broken,i=d.turbine,C=d.turbine_broken,v=d.online,g=!!(u&&!s&&i&&!C);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:v?"power-off":"times",content:v?"Online":"Offline",selected:v,disabled:!g,onClick:function(){function p(){return m("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return m("disconnect")}return p}()})],4),children:g?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)})})})}return b}(),k=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.compressor,u=m.compressor_broken,s=m.turbine,i=m.turbine_broken,C=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||u?"bad":"good",children:u?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},S=function(h,l){var c=(0,a.useBackend)(l),m=c.data,d=m.rpm,u=m.temperature,s=m.power,i=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[u," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(i)+"%"})})]})}},22169:function(w,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(96524),a=n(50640),t=n(74041),o=n(78234),f=n(17899),V=n(24674),k=n(45493),S=n(99665),b=function(v){switch(v){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},h=r.Uplink=function(){function C(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cart,I=(0,f.useLocalState)(g,"tabIndex",0),L=I[0],T=I[1],A=(0,f.useLocalState)(g,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,k.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,S.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===0,onClick:function(){function M(){T(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===1,onClick:function(){function M(){T(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart ",B&&B.length?"("+B.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:L===2,onClick:function(){function M(){T(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function M(){return N("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:b(L)})]})})]})}return C}(),l=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.crystals,I=y.cats,L=(0,f.useLocalState)(g,"uplinkItems",I[0].items),T=L[0],A=L[1],x=(0,f.useLocalState)(g,"searchText",""),E=x[0],M=x[1],j=function(_,z){z===void 0&&(z="");var G=(0,o.createSearch)(z,function(X){var Y=X.hijack_only===1?"|hijack":"";return X.name+"|"+X.desc+"|"+X.cost+"tc"+Y});return(0,t.flow)([(0,a.filter)(function(X){return X==null?void 0:X.name}),z&&(0,a.filter)(G),(0,a.sortBy)(function(X){return X==null?void 0:X.name})])(_)},P=function(_){if(M(_),_==="")return A(I[0].items);A(j(I.map(function(z){return z.items}).flat(),_))},R=(0,f.useLocalState)(g,"showDesc",1),D=R[0],F=R[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function U(){return F(!D)}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function U(){return N("buyRandom")}return U}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function U(){return N("refund")}return U}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function U(_,z){P(z)}return U}(),value:E})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:I.map(function(U){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:E!==""?!1:U.items===T,onClick:function(){function _(){A(U.items),M("")}return _}(),children:U.cat},U)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:T.map(function(U){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:U,showDecription:D},(0,o.decodeHtmlEntities)(U.name))},(0,o.decodeHtmlEntities)(U.name))})})})})]})]})},c=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cart,I=y.crystals,L=y.cart_price,T=(0,f.useLocalState)(g,"showDesc",0),A=T[0],x=T[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return N("empty_cart")}return E}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return N("purchase_cart")}return E}(),disabled:!B||L>I})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(E){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.cats,I=y.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return N("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:I.map(function(L){return B[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,T){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},T)})})})})},d=function(v,g){var p=v.i,N=v.showDecription,y=N===void 0?1:N,B=v.buttons,I=B===void 0?(0,e.createComponentVNode)(2,u,{i:p}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:y,buttons:I,children:y?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},u=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=v.i,I=y.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return N("add_to_cart",{item:B.obj_path})}return L}(),disabled:B.cost>I}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return N("buyItem",{item:B.obj_path})}return L}(),disabled:B.cost>I})],4)},s=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=v.i,I=y.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return N("remove_from_cart",{item:B.obj_path})}return L}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return L}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function L(T,A){return N("set_cart_item_quantity",{item:B.obj_path,quantity:A})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return L}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},i=function(v,g){var p=(0,f.useBackend)(g),N=p.act,y=p.data,B=y.exploitable,I=(0,f.useLocalState)(g,"selectedRecord",B[0]),L=I[0],T=I[1],A=(0,f.useLocalState)(g,"searchText",""),x=A[0],E=A[1],M=function(R,D){D===void 0&&(D="");var F=(0,o.createSearch)(D,function(U){return U.name});return(0,t.flow)([(0,a.filter)(function(U){return U==null?void 0:U.name}),D&&(0,a.filter)(F),(0,a.sortBy)(function(U){return U.name})])(R)},j=M(B,x);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(R,D){return E(D)}return P}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:j.map(function(P){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:P===L,onClick:function(){function R(){return T(P)}return R}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},70547:function(w,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=S.product,d=S.productStock,u=S.productImage,s=c.chargesMoney,i=c.user,C=c.usermoney,v=c.inserted_cash,g=c.vend_ready,p=c.inserted_item_name,N=!s||m.price===0,y="ERROR!",B="";N?(y="FREE",B="arrow-circle-down"):(y=m.price,B="shopping-cart");var I=!g||d===0||!N&&m.price>C&&m.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:I,icon:B,content:y,textAlign:"left",onClick:function(){function L(){return l("vend",{inum:m.inum})}return L}()})})]})},V=r.Vending=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.user,d=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,i=c.product_records,C=i===void 0?[]:i,v=c.hidden_records,g=v===void 0?[]:v,p=c.stock,N=c.vend_ready,y=c.inserted_item_name,B=c.panel_open,I=c.speaker,L=c.imagelist,T;return T=[].concat(C),c.extended_inventory&&(T=[].concat(T,g)),T=T.filter(function(A){return!!A}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+T.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!y&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,y,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function A(){return l("eject_item",{})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u,icon:"money-bill-wave-alt",content:u?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,u,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:u?"Dispense Change":null,textAlign:"left",onClick:function(){function A(){return l("change")}return A}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),", ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!B&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function A(){return l("toggle_voice",{})}return A}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:T.map(function(A){return(0,e.createComponentVNode)(2,f,{product:A,productStock:p[A.name],productImage:L[A.path]},A.name)})})})})]})})})}return k}()},33045:function(w,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VolumeMixer=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.num,volume:0})}return u}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function u(s,i){return h("volume",{channel:m.num,volume:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return h("volume",{channel:m.num,volume:100})}return u}()})})})]})})],4,m.num)})})})})}return V}()},53792:function(w,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.VotePanel=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.remaining,m=l.question,d=l.choices,u=l.user_vote,s=l.counts,i=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,lineHeight:3,color:"translucent",multiLine:C,content:C+(i?" ("+(s[C]||0)+")":""),onClick:function(){function v(){return h("vote",{target:C})}return v}(),selected:C===u})},C)})]})})})}return V}()},64860:function(w,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.Wires=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.wires||[],m=l.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:u.color_name,labelColor:u.seen_color,color:u.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:u.cut?"Mend":"Cut",onClick:function(){function s(){return h("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return h("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return h("attach",{wire:u.color})}return s}()})],4),children:!!u.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),u.wire,(0,e.createTextVNode)(")")],0)},u.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return V}()},78262:function(w,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(45493),f=r.WizardApprenticeContract=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return h("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return V}()},57842:function(w,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674);function f(h,l){var c=typeof Symbol!="undefined"&&h[Symbol.iterator]||h["@@iterator"];if(c)return(c=c.call(h)).next.bind(c);if(Array.isArray(h)||(c=V(h))||l&&h&&typeof h.length=="number"){c&&(h=c);var m=0;return function(){return m>=h.length?{done:!0}:{done:!1,value:h[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(h,l){if(h){if(typeof h=="string")return k(h,l);var c=Object.prototype.toString.call(h).slice(8,-1);if(c==="Object"&&h.constructor&&(c=h.constructor.name),c==="Map"||c==="Set")return Array.from(h);if(c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return k(h,l)}}function k(h,l){(l==null||l>h.length)&&(l=h.length);for(var c=0,m=new Array(l);c0&&!y.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function F(){return B(D.ref)}return F}()},D.desc)})]})]})})}return h}()},79449:function(w,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=function(S,b,h,l,c){return Sl?"average":S>c?"bad":"good"},V=r.AtmosScan=function(){function k(S,b){var h=S.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(h).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:f(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return k}()},1496:function(w,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(96524),a=n(24674),t=n(56099),o=function(k){return k+" unit"+(k===1?"":"s")},f=r.BeakerContents=function(){function V(k){var S=k.beakerLoaded,b=k.beakerContents,h=b===void 0?[]:b,l=k.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!S&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||h.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),h.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,m)})]},c.name)})]})}return V}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},69521:function(w,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.BotStatus=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.locked,c=h.noaccess,m=h.maintpanel,d=h.on,u=h.autopatrol,s=h.canhack,i=h.emagged,C=h.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function v(){return b("power")}return v}()})}),u!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Auto Patrol",disabled:c,onClick:function(){function v(){return b("autopatrol")}return v}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function v(){return b("hack")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!C,content:"AI Remote Control",disabled:c,onClick:function(){function v(){return b("disableremote")}return v}()})})]})})],4)}return f}()},99665:function(w,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(96524),a=n(17899),t=n(24674),o={},f=r.modalOpen=function(){function h(l,c,m){var d=(0,a.useBackend)(l),u=d.act,s=d.data,i=Object.assign(s.modal?s.modal.args:{},m||{});u("modal_open",{id:c,arguments:JSON.stringify(i)})}return h}(),V=r.modalRegisterBodyOverride=function(){function h(l,c){o[l]=c}return h}(),k=r.modalAnswer=function(){function h(l,c,m,d){var u=(0,a.useBackend)(l),s=u.act,i=u.data;if(i.modal){var C=Object.assign(i.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(C)})}}return h}(),S=r.modalClose=function(){function h(l,c){var m=(0,a.useBackend)(l),d=m.act;d("modal_close",{id:c})}return h}(),b=r.ComplexModal=function(){function h(l,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var u=d.modal,s=u.id,i=u.text,C=u.type,v,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return S(c)}return L}()}),p,N,y="auto";if(o[s])p=o[s](d.modal,c);else if(C==="input"){var B=d.modal.value;v=function(){function L(T){return k(c,s,B)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(T,A){B=A}return L}()}),N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return S(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,B)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(C==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(T){return k(c,s,T)}return L}()}),y="initial"}else C==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,T){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:T+1===parseInt(d.modal.value,10),onClick:function(){function A(){return k(c,s,T+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},T)})}):C==="boolean"&&(N=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return k(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return k(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:v,mx:"auto",overflowY:y,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&g,p,N]})}}return h}()},98444:function(w,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(96524),a=n(17899),t=n(24674),o=n(78234),f=n(38424),V=f.COLORS.department,k=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],S=function(m){return k.indexOf(m)!==-1?"green":"orange"},b=function(m){if(k.indexOf(m)!==-1)return!0},h=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:S(d.rank),bold:b(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},l=r.CrewManifest=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i;if(m.data)i=m.data;else{var C=(0,a.useBackend)(d),v=C.data;i=v}var g=i,p=g.manifest,N=p.heads,y=p.sec,B=p.eng,I=p.med,L=p.sci,T=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:h(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:h(y)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:h(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:h(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:h(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:h(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:V.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:h(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:h(x)})]})}return c}()},15113:function(w,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(96524),a=n(24674),t=n(17899),o=r.InputButtons=function(){function f(V,k){var S=(0,t.useBackend)(k),b=S.act,h=S.data,l=h.large_buttons,c=h.swapped_buttons,m=V.input,d=V.message,u=V.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function C(){return b("submit",{entry:m})}return C}(),textAlign:"center",tooltip:l&&d,disabled:u,width:!l&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function C(){return b("cancel")}return C}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!l&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},26893:function(w,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.InterfaceLockNoticeBox=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=V.siliconUser,c=l===void 0?h.siliconUser:l,m=V.locked,d=m===void 0?h.locked:m,u=V.normallyLocked,s=u===void 0?h.normallyLocked:u,i=V.onLockStatusChange,C=i===void 0?function(){return b("lock")}:i,v=V.accessText,g=v===void 0?"an ID card":v;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function p(){C&&C(!d)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",d?"unlock":"lock"," this interface."]})}return f}()},14299:function(w,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(96524),a=n(36121),t=n(24674),o=r.Loader=function(){function f(V){var k=V.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(k)*100+"%"}}),2)}return f}()},68159:function(w,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginInfo=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.loginState;if(h)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return b("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return b("login_logout")}return c}()})]})]})})}return f}()},27527:function(w,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.LoginScreen=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.loginState,c=h.isAI,m=h.isRobot,d=h.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function u(){return b("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function u(){return b("login_login",{login_type:1})}return u}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function u(){return b("login_login",{login_type:2})}return u}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return b("login_login",{login_type:3})}return u}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return b("login_login",{login_type:4})}return u}()})]})})})}return f}()},75201:function(w,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(96524),a=n(24674),t=n(56099),o=r.Operating=function(){function f(V){var k=V.operating,S=V.name;if(k)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",S," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},65435:function(w,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.Signaler=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,l=k.data,c=l.code,m=l.frequency,d=l.minFrequency,u=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:u/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,C){return h("freq",{freq:C})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,C){return h("code",{code:C})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return h("signal")}return s}()})]})}return V}()},77534:function(w,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(96524),a=n(17899),t=n(78234),o=n(74041),f=n(50640),V=n(24674),k=r.SimpleRecords=function(){function h(l,c){var m=l.data.records;return(0,e.createComponentVNode)(2,V.Box,{children:m?(0,e.createComponentVNode)(2,b,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,S,{data:l.data})})}return h}(),S=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],C=s[1],v=function(N,y){y===void 0&&(y="");var B=(0,t.createSearch)(y,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),y&&(0,f.filter)(B),(0,f.sortBy)(function(I){return I.Name})])(u)},g=v(u,i);return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(N,y){return C(y)}return p}()}),g.map(function(p){return(0,e.createComponentVNode)(2,V.Box,{children:(0,e.createComponentVNode)(2,V.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function N(){return d("Records",{target:p.uid})}return N}()})},p)})]})},b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.records,s=u.general,i=u.medical,C=u.security,v;switch(l.recordType){case"MED":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":v=(0,e.createComponentVNode)(2,V.Section,{level:2,title:"Security Data",children:C?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Criminal Status",children:C.criminal}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Minor Crimes",children:C.mi_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.mi_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Major Crimes",children:C.ma_crim}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Details",children:C.ma_crim_d}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:C.notes})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createComponentVNode)(2,V.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,V.Box,{color:"red",bold:!0,children:"General record lost!"})}),v]})}},84537:function(w,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.TemporaryNotice=function(){function f(V,k){var S,b=(0,a.useBackend)(k),h=b.act,l=b.data,c=l.temp;if(c){var m=(S={},S[c.style]=!0,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return h("cleartemp")}return d}()})})]})})))}}return f}()},24704:function(w,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pai_atmosphere=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:h.app_data})}return f}()},4209:function(w,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_bioscan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.holder,m=l.dead,d=l.health,u=l.brute,s=l.oxy,i=l.tox,C=l.burn,v=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},44430:function(w,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_directives=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.master,m=l.dna,d=l.prime,u=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return b("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return f}()},3367:function(w,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_doorjack=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.cable,m=l.machine,d=l.inprogress,u=l.progress,s=l.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function v(){return b("cable")}return v}()});var C;return m&&(C=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:u,maxValue:100}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function v(){return b("cancel")}return v}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function v(){return b("jack")}return v}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),C]})}return f}()},73395:function(w,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pai_main_menu=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data,c=l.available_software,m=l.installed_software,d=l.installed_toggles,u=l.available_ram,s=l.emotions,i=l.current_emotion,C=l.speech_verbs,v=l.current_speech_verb,g=l.available_chassises,p=l.current_chassis,N=[];return m.map(function(y){return N[y.key]=y.name}),d.map(function(y){return N[y.key]=y.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(y){return!N[y.key]}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name+" ("+y.cost+")",icon:y.icon,disabled:y.cost>u,onClick:function(){function B(){return b("purchaseSoftware",{key:y.key})}return B}()},y.key)}),c.filter(function(y){return!N[y.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(y){return y.key!=="mainmenu"}).map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,onClick:function(){function B(){return b("startSoftware",{software_key:y.key})}return B}()},y.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,icon:y.icon,selected:y.active,onClick:function(){function B(){return b("setToggle",{toggle_key:y.key})}return B}()},y.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.id===i,onClick:function(){function B(){return b("setEmotion",{emotion:y.id})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:C.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.name===v,onClick:function(){function B(){return b("setSpeechStyle",{speech_state:y.name})}return B}()},y.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:g.map(function(y){return(0,e.createComponentVNode)(2,t.Button,{content:y.name,selected:y.icon===p,onClick:function(){function B(){return b("setChassis",{chassis_to_change:y.icon})}return B}()},y.id)})})]})})}return f}()},37645:function(w,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pai_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:h.app_data})}return f}()},15836:function(w,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_medrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"MED"})}return f}()},91737:function(w,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(96524),a=n(17899),t=n(30709),o=r.pai_messenger=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:h.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:h.app_data})}return f}()},94077:function(w,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(96524),a=n(17899),t=n(36121),o=n(24674),f=r.pai_radio=function(){function V(k,S){var b=(0,a.useBackend)(S),h=b.act,l=b.data,c=l.app_data,m=c.minFrequency,d=c.maxFrequency,u=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:d/10,value:u/10,format:function(){function i(C){return(0,t.toFixed)(C,1)}return i}(),onChange:function(){function i(C,v){return h("freq",{freq:v})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return h("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return h("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return V}()},72621:function(w,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pai_secrecords=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b.app_data,recordType:"SEC"})}return f}()},53483:function(w,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(96524),a=n(17899),t=n(65435),o=r.pai_signaler=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:h.app_data})}return f}()},21606:function(w,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(96524),a=n(17899),t=n(79449),o=r.pda_atmos_scan=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:b})}return f}()},12339:function(w,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_janitor=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data,l=h.janitor,c=l.user_loc,m=l.mops,d=l.buckets,u=l.cleanbots,s=l.carts,i=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:u.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - ",C.status]},C)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.dir,") - [",C.volume,"/",C.max_volume,"]"]},C)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[C.x,",",C.y," (",C.direction_from_user,")"]},C)})})]})}return f}()},36615:function(w,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(96524),a=n(36121),t=n(17899),o=n(24674),f=r.pda_main_menu=function(){function V(k,S){var b=(0,t.useBackend)(S),h=b.act,l=b.data,c=l.owner,m=l.ownjob,d=l.idInserted,u=l.categories,s=l.pai,i=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function C(){return h("UpdateInfo")}return C}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:u.map(function(C){var v=l.apps[C];return!v||!v.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:C,children:v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in i?g.notify_icon:g.icon,iconSpin:g.uid in i,color:g.uid in i?"red":"transparent",content:g.name,onClick:function(){function p(){return h("StartProgram",{program:g.uid})}return p}()},g.uid)})},C)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function C(){return h("pai",{option:1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function C(){return h("pai",{option:2})}return C}()})]})})]})}return V}()},99737:function(w,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(96524),a=n(17899),t=n(98444),o=r.pda_manifest=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.act,h=S.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},61597:function(w,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(96524),a=n(17899),t=n(77534),o=r.pda_medical=function(){function f(V,k){var S=(0,a.useBackend)(k),b=S.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:b,recordType:"MED"})}return f}()},30709:function(w,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(96524),a=n(50640),t=n(17899),o=n(24674),f=r.pda_messenger=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.active_convo;return u?(0,e.createComponentVNode)(2,V,{data:d}):(0,e.createComponentVNode)(2,k,{data:d})}return b}(),V=r.ActiveConversation=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=d.convo_name,s=d.convo_job,i=d.messages,C=d.active_convo,v=(0,t.useLocalState)(l,"clipboardMode",!1),g=v[0],p=v[1],N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function y(){return p(!g)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(i).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{textAlign:y.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:y.sent?"#4d9121":"#cd7a0d",position:"absolute",left:y.sent?null:"0px",right:y.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:y.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:y.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:y.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[y.sent?"You:":"Them:"," ",y.message]})]},B)})});return g&&(N=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:g,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function y(){return p(!g)}return y}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function y(){return m("Message",{target:C})}return y}(),content:"Reply"})],4),children:(0,a.filter)(function(y){return y.target===C})(i).map(function(y,B){return(0,e.createComponentVNode)(2,o.Box,{color:y.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[y.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:y.message})]},B)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function y(){return m("Clear",{option:"Convo"})}return y}()})})})}),N]})}return b}(),k=r.MessengerList=function(){function b(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=d.convopdas,s=d.pdas,i=d.charges,C=d.silent,v=d.toff,g=d.ringtone_list,p=d.ringtone,N=(0,t.useLocalState)(l,"searchTerm",""),y=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!C,icon:C?"volume-mute":"volume-up",onClick:function(){function I(){return m("Toggle Ringer")}return I}(),children:["Ringer: ",C?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:v?"bad":"green",icon:"power-off",onClick:function(){function I(){return m("Toggle Messenger")}return I}(),children:["Messenger: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(g),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!v&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!u.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:y,onInput:function(){function I(L,T){B(T)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,S,{title:"Current Conversations",data:d,pdas:u,msgAct:"Select Conversation",searchTerm:y}),(0,e.createComponentVNode)(2,S,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:y})]})}return b}(),S=function(h,l){var c=(0,t.useBackend)(l),m=c.act,d=h.data,u=h.pdas,s=h.title,i=h.msgAct,C=h.searchTerm,v=d.charges,g=d.plugins;return!u||!u.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:u.filter(function(p){return p.Name.toLowerCase().includes(C.toLowerCase())}).map(function(p){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:p.Name,onClick:function(){function N(){return m(i,{target:p.uid})}return N}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!v&&g.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.icon,content:N.name,onClick:function(){function y(){return m("Messenger Plugin",{plugin:N.uid,target:p.uid})}return y}()},N.uid)})})]},p.uid)})})}},68053:function(w,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(96524),a=n(17899),t=n(24674),o=r.pda_mule=function(){function k(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,V):(0,e.createComponentVNode)(2,f)})}return k}(),f=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.bots;return d.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:u.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:u.uid})}return s}()})},u.Name)})},V=function(S,b){var h=(0,a.useBackend)(b),l=h.act,c=h.data,m=c.mulebot,d=m.botstatus,u=m.active,s=d.mode,i=d.loca,C=d.load,v=d.powr,g=d.dest,p=d.home,N=d.retn,y=d.pick,B;switch(s){case 0:B="Ready";break;case 1:B="Loading/Unloading";break;case 2:case 12:B="Navigating to delivery location";break;case 3:B="Navigating to Home";break;case 4:B="Waiting for clear path";break;case 5:case 6:B="Calculating navigation path";break;case 7:B="Unable to locate destination";break;default:B=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:B}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[v,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:C?C+" (Unload)":"None",disabled:!C,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:y?"Yes":"No",selected:y,onClick:function(){function I(){return l("set_pickup_type",{autopick:y?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function I(){return l("set_auto_return",{autoret:N?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},31728:function(w,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(96524),a=n(78234),t=n(17899),o=n(24674),f=r.pda_nanobank=function(){function d(u,s){var i=(0,t.useBackend)(s),C=i.act,v=i.data,g=v.logged_in,p=v.owner_name,N=v.money;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",N]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})],4):(0,e.createComponentVNode)(2,l)}return d}(),V=function(u,s){var i=(0,t.useBackend)(s),C=i.data,v=C.is_premium,g=(0,t.useLocalState)(s,"tabIndex",1),p=g[0],N=g[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function y(){return N(1)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function y(){return N(2)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function y(){return N(3)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!v&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function y(){return N(4)}return y}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},k=function(u,s){var i=(0,t.useLocalState)(s,"tabIndex",1),C=i[0],v=(0,t.useBackend)(s),g=v.data,p=g.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(C){case 1:return(0,e.createComponentVNode)(2,S);case 2:return(0,e.createComponentVNode)(2,b);case 3:return(0,e.createComponentVNode)(2,h);case 4:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},S=function(u,s){var i,C=(0,t.useBackend)(s),v=C.act,g=C.data,p=g.requests,N=g.available_accounts,y=g.money,B=(0,t.useLocalState)(s,"selectedAccount"),I=B[0],L=B[1],T=(0,t.useLocalState)(s,"transferAmount"),A=T[0],x=T[1],E=(0,t.useLocalState)(s,"searchText",""),M=E[0],j=E[1],P=[];return N.map(function(R){return P[R.name]=R.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function R(D,F){return j(F)}return R}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:N.filter((0,a.createSearch)(M,function(R){return R.name})).map(function(R){return R.name}),selected:(i=N.filter(function(R){return R.UID===I})[0])==null?void 0:i.name,onSelected:function(){function R(D){return L(P[D])}return R}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function R(D,F){return x(F)}return R}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:y0&&i.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.OrderedBy,'"']},v)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&u.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{children:["#",v.Number,' - "',v.Name,'" for "',v.ApprovedBy,'"']},v)})})]})}return f}()},61255:function(w,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(96524),a=n(28234),t=n(3051),o=n(92700),f=["className","theme","children"],V=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -330,7 +330,7 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},21965:function(){},28169:function(){},36487:function(){},35739:function(){},33631:function(){},74785:function(){},6895:function(){},3251:function(){},38265:function(){},7455:function(){},58823:function(){},49265:function(){},55350:function(){},45503:function(){},36557:function(){},70555:function(){},70752:function(w,r,n){var e={"./pai_atmosphere.js":24704,"./pai_bioscan.js":4209,"./pai_directives.js":44430,"./pai_doorjack.js":3367,"./pai_main_menu.js":73395,"./pai_manifest.js":37645,"./pai_medrecords.js":15836,"./pai_messenger.js":91737,"./pai_radio.js":94077,"./pai_secrecords.js":72621,"./pai_signaler.js":53483};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=70752},59395:function(w,r,n){var e={"./pda_atmos_scan.js":21606,"./pda_janitor.js":12339,"./pda_main_menu.js":36615,"./pda_manifest.js":99737,"./pda_medical.js":61597,"./pda_messenger.js":30709,"./pda_mule.js":68053,"./pda_nanobank.js":31728,"./pda_notes.js":29415,"./pda_power.js":52363,"./pda_secbot.js":23914,"./pda_security.js":68878,"./pda_signaler.js":95135,"./pda_status_display.js":20835,"./pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=59395},32054:function(w,r,n){var e={"./AICard":29732,"./AICard.js":29732,"./AIFixer":78468,"./AIFixer.js":78468,"./APC":73544,"./APC.js":73544,"./ATM":79098,"./ATM.js":79098,"./AccountsUplinkTerminal":64613,"./AccountsUplinkTerminal.js":64613,"./AiAirlock":56839,"./AiAirlock.js":56839,"./AirAlarm":5565,"./AirAlarm.js":5565,"./AirlockAccessController":82915,"./AirlockAccessController.js":82915,"./AirlockElectronics":14962,"./AirlockElectronics.js":14962,"./AlertModal":99327,"./AlertModal.tsx":99327,"./AppearanceChanger":88642,"./AppearanceChanger.js":88642,"./AtmosAlertConsole":51731,"./AtmosAlertConsole.js":51731,"./AtmosControl":57467,"./AtmosControl.js":57467,"./AtmosFilter":41550,"./AtmosFilter.js":41550,"./AtmosMixer":70151,"./AtmosMixer.js":70151,"./AtmosPump":54090,"./AtmosPump.js":54090,"./AtmosTankControl":31335,"./AtmosTankControl.js":31335,"./Autolathe":85909,"./Autolathe.js":85909,"./BioChipPad":81617,"./BioChipPad.js":81617,"./Biogenerator":26215,"./Biogenerator.js":26215,"./BlueSpaceArtilleryControl":65483,"./BlueSpaceArtilleryControl.js":65483,"./BluespaceTap":69099,"./BluespaceTap.js":69099,"./BodyScanner":71736,"./BodyScanner.js":71736,"./BookBinder":99449,"./BookBinder.js":99449,"./BotCall":85951,"./BotCall.js":85951,"./BotClean":43506,"./BotClean.js":43506,"./BotFloor":89593,"./BotFloor.js":89593,"./BotHonk":89513,"./BotHonk.js":89513,"./BotMed":19297,"./BotMed.js":19297,"./BotSecurity":4249,"./BotSecurity.js":4249,"./BrigCells":27267,"./BrigCells.js":27267,"./BrigTimer":26623,"./BrigTimer.js":26623,"./CameraConsole":43542,"./CameraConsole.js":43542,"./Canister":95513,"./Canister.js":95513,"./CardComputer":60463,"./CardComputer.js":60463,"./CargoConsole":16377,"./CargoConsole.js":16377,"./ChangelogView":89917,"./ChangelogView.js":89917,"./ChemDispenser":71254,"./ChemDispenser.js":71254,"./ChemHeater":27004,"./ChemHeater.js":27004,"./ChemMaster":41099,"./ChemMaster.tsx":41099,"./CloningConsole":51327,"./CloningConsole.js":51327,"./CloningPod":66373,"./CloningPod.js":66373,"./CoinMint":38781,"./CoinMint.tsx":38781,"./ColourMatrixTester":11866,"./ColourMatrixTester.js":11866,"./CommunicationsComputer":22420,"./CommunicationsComputer.js":22420,"./CompostBin":46868,"./CompostBin.js":46868,"./Contractor":64707,"./Contractor.js":64707,"./ConveyorSwitch":52141,"./ConveyorSwitch.js":52141,"./CrewMonitor":94187,"./CrewMonitor.js":94187,"./Cryo":60561,"./Cryo.js":60561,"./CryopodConsole":27889,"./CryopodConsole.js":27889,"./DNAModifier":81434,"./DNAModifier.js":81434,"./DestinationTagger":99127,"./DestinationTagger.js":99127,"./DisposalBin":93430,"./DisposalBin.js":93430,"./DnaVault":31491,"./DnaVault.js":31491,"./DroneConsole":30747,"./DroneConsole.js":30747,"./EFTPOS":74781,"./EFTPOS.js":74781,"./ERTManager":30672,"./ERTManager.js":30672,"./EconomyManager":24503,"./EconomyManager.js":24503,"./Electropack":15543,"./Electropack.js":15543,"./Emojipedia":57013,"./Emojipedia.tsx":57013,"./EvolutionMenu":99012,"./EvolutionMenu.js":99012,"./ExosuitFabricator":37504,"./ExosuitFabricator.js":37504,"./ExperimentConsole":9466,"./ExperimentConsole.js":9466,"./ExternalAirlockController":77284,"./ExternalAirlockController.js":77284,"./FaxMachine":52516,"./FaxMachine.js":52516,"./FilingCabinet":24777,"./FilingCabinet.js":24777,"./FloorPainter":88361,"./FloorPainter.js":88361,"./GPS":70078,"./GPS.js":70078,"./GeneModder":92246,"./GeneModder.js":92246,"./GenericCrewManifest":27163,"./GenericCrewManifest.js":27163,"./GhostHudPanel":53808,"./GhostHudPanel.js":53808,"./GlandDispenser":32035,"./GlandDispenser.js":32035,"./GravityGen":33004,"./GravityGen.js":33004,"./GuestPass":39775,"./GuestPass.js":39775,"./HandheldChemDispenser":22480,"./HandheldChemDispenser.js":22480,"./HealthSensor":22616,"./HealthSensor.js":22616,"./Holodeck":76861,"./Holodeck.js":76861,"./Instrument":96729,"./Instrument.js":96729,"./KeycardAuth":53385,"./KeycardAuth.js":53385,"./KitchenMachine":58553,"./KitchenMachine.js":58553,"./LawManager":14047,"./LawManager.js":14047,"./LibraryComputer":5872,"./LibraryComputer.js":5872,"./LibraryManager":37782,"./LibraryManager.js":37782,"./ListInputModal":26133,"./ListInputModal.tsx":26133,"./MODsuit":71963,"./MODsuit.js":71963,"./MagnetController":84274,"./MagnetController.js":84274,"./MechBayConsole":95752,"./MechBayConsole.js":95752,"./MechaControlConsole":53668,"./MechaControlConsole.js":53668,"./MedicalRecords":96467,"./MedicalRecords.js":96467,"./MerchVendor":68211,"./MerchVendor.js":68211,"./MiningVendor":14162,"./MiningVendor.js":14162,"./NTRecruiter":68977,"./NTRecruiter.js":68977,"./Newscaster":17067,"./Newscaster.js":17067,"./Noticeboard":26148,"./Noticeboard.tsx":26148,"./NuclearBomb":46940,"./NuclearBomb.js":46940,"./NumberInputModal":35478,"./NumberInputModal.tsx":35478,"./OperatingComputer":98476,"./OperatingComputer.js":98476,"./Orbit":98702,"./Orbit.js":98702,"./OreRedemption":74015,"./OreRedemption.js":74015,"./PAI":48824,"./PAI.js":48824,"./PDA":41565,"./PDA.js":41565,"./Pacman":78704,"./Pacman.js":78704,"./PanDEMIC":6887,"./PanDEMIC.tsx":6887,"./ParticleAccelerator":78643,"./ParticleAccelerator.js":78643,"./PdaPainter":34026,"./PdaPainter.js":34026,"./PersonalCrafting":81378,"./PersonalCrafting.js":81378,"./Photocopier":58792,"./Photocopier.js":58792,"./PoolController":27902,"./PoolController.js":27902,"./PortablePump":52025,"./PortablePump.js":52025,"./PortableScrubber":57827,"./PortableScrubber.js":57827,"./PortableTurret":63825,"./PortableTurret.js":63825,"./PowerMonitor":70373,"./PowerMonitor.js":70373,"./PrisonerImplantManager":27262,"./PrisonerImplantManager.js":27262,"./PrisonerShuttleConsole":22046,"./PrisonerShuttleConsole.js":22046,"./PrizeCounter":92014,"./PrizeCounter.tsx":92014,"./RCD":87963,"./RCD.js":87963,"./RPD":84364,"./RPD.js":84364,"./Radio":14641,"./Radio.js":14641,"./ReagentGrinder":40483,"./ReagentGrinder.js":40483,"./ReagentsEditor":70976,"./ReagentsEditor.tsx":70976,"./RemoteSignaler":94049,"./RemoteSignaler.js":94049,"./RequestConsole":12326,"./RequestConsole.js":12326,"./RndConsole":89641,"./RndConsole.js":89641,"./RndConsoleComponents":3422,"./RndConsoleComponents/":3422,"./RndConsoleComponents/CurrentLevels":19348,"./RndConsoleComponents/CurrentLevels.js":19348,"./RndConsoleComponents/DataDiskMenu":338,"./RndConsoleComponents/DataDiskMenu.js":338,"./RndConsoleComponents/DeconstructionMenu":90785,"./RndConsoleComponents/DeconstructionMenu.js":90785,"./RndConsoleComponents/LatheCategory":34492,"./RndConsoleComponents/LatheCategory.js":34492,"./RndConsoleComponents/LatheChemicalStorage":84275,"./RndConsoleComponents/LatheChemicalStorage.js":84275,"./RndConsoleComponents/LatheMainMenu":12638,"./RndConsoleComponents/LatheMainMenu.js":12638,"./RndConsoleComponents/LatheMaterialStorage":89004,"./RndConsoleComponents/LatheMaterialStorage.js":89004,"./RndConsoleComponents/LatheMaterials":73856,"./RndConsoleComponents/LatheMaterials.js":73856,"./RndConsoleComponents/LatheMenu":75955,"./RndConsoleComponents/LatheMenu.js":75955,"./RndConsoleComponents/LatheSearch":72880,"./RndConsoleComponents/LatheSearch.js":72880,"./RndConsoleComponents/MainMenu":62306,"./RndConsoleComponents/MainMenu.js":62306,"./RndConsoleComponents/RndNavButton":99941,"./RndConsoleComponents/RndNavButton.js":99941,"./RndConsoleComponents/RndNavbar":24448,"./RndConsoleComponents/RndNavbar.js":24448,"./RndConsoleComponents/RndRoute":78345,"./RndConsoleComponents/RndRoute.js":78345,"./RndConsoleComponents/SettingsMenu":56454,"./RndConsoleComponents/SettingsMenu.js":56454,"./RndConsoleComponents/index":3422,"./RndConsoleComponents/index.js":3422,"./RobotSelfDiagnosis":71123,"./RobotSelfDiagnosis.js":71123,"./RoboticsControlConsole":98951,"./RoboticsControlConsole.js":98951,"./Safe":2289,"./Safe.js":2289,"./SatelliteControl":49334,"./SatelliteControl.js":49334,"./SecureStorage":54892,"./SecureStorage.js":54892,"./SecurityRecords":56798,"./SecurityRecords.js":56798,"./SeedExtractor":59981,"./SeedExtractor.js":59981,"./ShuttleConsole":33454,"./ShuttleConsole.js":33454,"./ShuttleManipulator":50451,"./ShuttleManipulator.js":50451,"./Sleeper":99050,"./Sleeper.js":99050,"./SlotMachine":37763,"./SlotMachine.js":37763,"./Smartfridge":26654,"./Smartfridge.js":26654,"./Smes":71124,"./Smes.js":71124,"./SolarControl":21786,"./SolarControl.js":21786,"./SpawnersMenu":31202,"./SpawnersMenu.js":31202,"./SpecMenu":84800,"./SpecMenu.js":84800,"./StationAlertConsole":46501,"./StationAlertConsole.js":46501,"./StationTraitsPanel":18565,"./StationTraitsPanel.tsx":18565,"./StripMenu":95147,"./StripMenu.tsx":95147,"./SuitStorage":61284,"./SuitStorage.js":61284,"./SupermatterMonitor":19796,"./SupermatterMonitor.js":19796,"./SyndicateComputerSimple":30047,"./SyndicateComputerSimple.js":30047,"./TEG":28830,"./TEG.js":28830,"./TachyonArray":39903,"./TachyonArray.js":39903,"./Tank":17068,"./Tank.js":17068,"./TankDispenser":69161,"./TankDispenser.js":69161,"./TcommsCore":87394,"./TcommsCore.js":87394,"./TcommsRelay":55684,"./TcommsRelay.js":55684,"./Teleporter":81088,"./Teleporter.js":81088,"./TelescienceConsole":65875,"./TelescienceConsole.js":65875,"./TempGun":96150,"./TempGun.js":96150,"./TextInputModal":95484,"./TextInputModal.tsx":95484,"./ThermoMachine":378,"./ThermoMachine.js":378,"./TransferValve":3365,"./TransferValve.js":3365,"./TurbineComputer":13860,"./TurbineComputer.js":13860,"./Uplink":22169,"./Uplink.js":22169,"./Vending":70547,"./Vending.js":70547,"./VolumeMixer":33045,"./VolumeMixer.js":33045,"./VotePanel":53792,"./VotePanel.js":53792,"./Wires":64860,"./Wires.js":64860,"./WizardApprenticeContract":78262,"./WizardApprenticeContract.js":78262,"./common/AccessList":57842,"./common/AccessList.js":57842,"./common/AtmosScan":79449,"./common/AtmosScan.js":79449,"./common/BeakerContents":1496,"./common/BeakerContents.js":1496,"./common/BotStatus":69521,"./common/BotStatus.js":69521,"./common/ComplexModal":99665,"./common/ComplexModal.js":99665,"./common/CrewManifest":98444,"./common/CrewManifest.js":98444,"./common/InputButtons":15113,"./common/InputButtons.tsx":15113,"./common/InterfaceLockNoticeBox":26893,"./common/InterfaceLockNoticeBox.js":26893,"./common/Loader":14299,"./common/Loader.tsx":14299,"./common/LoginInfo":68159,"./common/LoginInfo.js":68159,"./common/LoginScreen":27527,"./common/LoginScreen.js":27527,"./common/Operating":75201,"./common/Operating.js":75201,"./common/Signaler":65435,"./common/Signaler.js":65435,"./common/SimpleRecords":77534,"./common/SimpleRecords.js":77534,"./common/TemporaryNotice":84537,"./common/TemporaryNotice.js":84537,"./pai/pai_atmosphere":24704,"./pai/pai_atmosphere.js":24704,"./pai/pai_bioscan":4209,"./pai/pai_bioscan.js":4209,"./pai/pai_directives":44430,"./pai/pai_directives.js":44430,"./pai/pai_doorjack":3367,"./pai/pai_doorjack.js":3367,"./pai/pai_main_menu":73395,"./pai/pai_main_menu.js":73395,"./pai/pai_manifest":37645,"./pai/pai_manifest.js":37645,"./pai/pai_medrecords":15836,"./pai/pai_medrecords.js":15836,"./pai/pai_messenger":91737,"./pai/pai_messenger.js":91737,"./pai/pai_radio":94077,"./pai/pai_radio.js":94077,"./pai/pai_secrecords":72621,"./pai/pai_secrecords.js":72621,"./pai/pai_signaler":53483,"./pai/pai_signaler.js":53483,"./pda/pda_atmos_scan":21606,"./pda/pda_atmos_scan.js":21606,"./pda/pda_janitor":12339,"./pda/pda_janitor.js":12339,"./pda/pda_main_menu":36615,"./pda/pda_main_menu.js":36615,"./pda/pda_manifest":99737,"./pda/pda_manifest.js":99737,"./pda/pda_medical":61597,"./pda/pda_medical.js":61597,"./pda/pda_messenger":30709,"./pda/pda_messenger.js":30709,"./pda/pda_mule":68053,"./pda/pda_mule.js":68053,"./pda/pda_nanobank":31728,"./pda/pda_nanobank.js":31728,"./pda/pda_notes":29415,"./pda/pda_notes.js":29415,"./pda/pda_power":52363,"./pda/pda_power.js":52363,"./pda/pda_secbot":23914,"./pda/pda_secbot.js":23914,"./pda/pda_security":68878,"./pda/pda_security.js":68878,"./pda/pda_signaler":95135,"./pda/pda_signaler.js":95135,"./pda/pda_status_display":20835,"./pda/pda_status_display.js":20835,"./pda/pda_supplyrecords":11741,"./pda/pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=32054},4085:function(w,r,n){var e={"./Blink.stories.js":61498,"./BlockQuote.stories.js":27431,"./Box.stories.js":6517,"./Button.stories.js":20648,"./ByondUi.stories.js":14906,"./Collapsible.stories.js":59948,"./Flex.stories.js":37227,"./ImageButton.stories.js":16189,"./Input.stories.js":32304,"./Popper.stories.js":50394,"./ProgressBar.stories.js":75096,"./Stack.stories.js":30268,"./Storage.stories.js":22645,"./Tabs.stories.js":42120,"./Themes.stories.js":80254,"./Tooltip.stories.js":90823};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=4085},97361:function(w,r,n){"use strict";var e=n(7532),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},76833:function(w,r,n){"use strict";var e=n(60354),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},51689:function(w,r,n){"use strict";var e=n(41224),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},91138:function(w,r,n){"use strict";var e=n(66266),a=n(28969),t=n(56018).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),w.exports=function(V){f[o][V]=!0}},62970:function(w,r,n){"use strict";var e=n(56852).charAt;w.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},19870:function(w,r,n){"use strict";var e=n(33314),a=TypeError;w.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},39482:function(w,r,n){"use strict";var e=n(56831),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},67404:function(w){"use strict";w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(w,r,n){"use strict";var e=n(41746);w.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},72951:function(w,r,n){"use strict";var e=n(67404),a=n(14141),t=n(40224),o=n(7532),f=n(56831),V=n(89458),k=n(27806),S=n(62518),b=n(16216),h=n(59173),l=n(10069),c=n(33314),m=n(31658),d=n(42878),u=n(66266),s=n(33345),i=n(35086),C=i.enforce,v=i.get,g=t.Int8Array,p=g&&g.prototype,N=t.Uint8ClampedArray,y=N&&N.prototype,B=g&&m(g),I=p&&m(p),L=Object.prototype,T=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!d&&k(t.opera)!=="Opera",j=!1,P,R,D,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},_=function(){function ae(fe){if(!f(fe))return!1;var pe=k(fe);return pe==="DataView"||V(F,pe)||V(U,pe)}return ae}(),z=function ae(fe){var pe=m(fe);if(f(pe)){var be=v(pe);return be&&V(be,E)?be[E]:ae(pe)}},G=function(fe){if(!f(fe))return!1;var pe=k(fe);return V(F,pe)||V(U,pe)},X=function(fe){if(G(fe))return fe;throw new T("Target is not a typed array")},Y=function(fe){if(o(fe)&&(!d||c(B,fe)))return fe;throw new T(S(fe)+" is not a typed array constructor")},J=function(fe,pe,be,te){if(a){if(be)for(var Q in F){var ne=t[Q];if(ne&&V(ne.prototype,fe))try{delete ne.prototype[fe]}catch(me){try{ne.prototype[fe]=pe}catch(ce){}}}(!I[fe]||be)&&h(I,fe,be?pe:M&&p[fe]||pe,te)}},ie=function(fe,pe,be){var te,Q;if(a){if(d){if(be){for(te in F)if(Q=t[te],Q&&V(Q,fe))try{delete Q[fe]}catch(ne){}}if(!B[fe]||be)try{return h(B,fe,be?pe:M&&B[fe]||pe)}catch(ne){}else return}for(te in F)Q=t[te],Q&&(!Q[fe]||be)&&h(Q,fe,pe)}};for(P in F)R=t[P],D=R&&R.prototype,D?C(D)[E]=R:M=!1;for(P in U)R=t[P],D=R&&R.prototype,D&&(C(D)[E]=R);if((!M||!o(B)||B===Function.prototype)&&(B=function(){function ae(){throw new T("Incorrect invocation")}return ae}(),M))for(P in F)t[P]&&d(t[P],B);if((!M||!I||I===L)&&(I=B.prototype,M))for(P in F)t[P]&&d(t[P].prototype,I);if(M&&m(y)!==I&&d(y,I),a&&!V(I,A)){j=!0,l(I,A,{configurable:!0,get:function(){function ae(){return f(this)?this[x]:void 0}return ae}()});for(P in F)t[P]&&b(t[P],x,P)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:X,aTypedArrayConstructor:Y,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:ie,getTypedArrayConstructor:z,isView:_,isTypedArray:G,TypedArray:B,TypedArrayPrototype:I}},46185:function(w,r,n){"use strict";var e=n(40224),a=n(18161),t=n(14141),o=n(67404),f=n(26463),V=n(16216),k=n(10069),S=n(13648),b=n(41746),h=n(19870),l=n(74952),c=n(10475),m=n(90835),d=n(75988),u=n(62263),s=n(31658),i=n(42878),C=n(59942),v=n(77713),g=n(2566),p=n(70113),N=n(94234),y=n(35086),B=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",M=y.getterFor(L),j=y.getterFor(T),P=y.set,R=e[L],D=R,F=D&&D[A],U=e[T],_=U&&U[A],z=Object.prototype,G=e.Array,X=e.RangeError,Y=a(C),J=a([].reverse),ie=u.pack,ae=u.unpack,fe=function(ge){return[ge&255]},pe=function(ge){return[ge&255,ge>>8&255]},be=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},te=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},Q=function(ge){return ie(d(ge),23,4)},ne=function(ge){return ie(ge,52,8)},me=function(ge,ye,Ve){k(ge[A],ye,{configurable:!0,get:function(){function Ie(){return Ve(this)[ye]}return Ie}()})},ce=function(ge,ye,Ve,Ie){var we=j(ge),xe=m(Ve),Oe=!!Ie;if(xe+ye>we.byteLength)throw new X(E);var We=we.bytes,Ne=xe+we.byteOffset,re=v(We,Ne,Ne+ye);return Oe?re:J(re)},ue=function(ge,ye,Ve,Ie,we,xe){var Oe=j(ge),We=m(Ve),Ne=Ie(+we),re=!!xe;if(We+ye>Oe.byteLength)throw new X(E);for(var de=Oe.bytes,he=We+Oe.byteOffset,se=0;sewe)throw new X("Wrong offset");if(Ve=Ve===void 0?we-xe:c(Ve),xe+Ve>we)throw new X(x);P(this,{type:T,buffer:ge,byteLength:Ve,byteOffset:xe,bytes:Ie.bytes}),t||(this.buffer=ge,this.byteLength=Ve,this.byteOffset=xe)}return Ce}(),_=U[A],t&&(me(D,"byteLength",M),me(U,"buffer",j),me(U,"byteLength",j),me(U,"byteOffset",j)),S(_,{getInt8:function(){function Ce(ge){return ce(this,1,ge)[0]<<24>>24}return Ce}(),getUint8:function(){function Ce(ge){return ce(this,1,ge)[0]}return Ce}(),getInt16:function(){function Ce(ge){var ye=ce(this,2,ge,arguments.length>1?arguments[1]:!1);return(ye[1]<<8|ye[0])<<16>>16}return Ce}(),getUint16:function(){function Ce(ge){var ye=ce(this,2,ge,arguments.length>1?arguments[1]:!1);return ye[1]<<8|ye[0]}return Ce}(),getInt32:function(){function Ce(ge){return te(ce(this,4,ge,arguments.length>1?arguments[1]:!1))}return Ce}(),getUint32:function(){function Ce(ge){return te(ce(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return Ce}(),getFloat32:function(){function Ce(ge){return ae(ce(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return Ce}(),getFloat64:function(){function Ce(ge){return ae(ce(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return Ce}(),setInt8:function(){function Ce(ge,ye){ue(this,1,ge,fe,ye)}return Ce}(),setUint8:function(){function Ce(ge,ye){ue(this,1,ge,fe,ye)}return Ce}(),setInt16:function(){function Ce(ge,ye){ue(this,2,ge,pe,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint16:function(){function Ce(ge,ye){ue(this,2,ge,pe,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setInt32:function(){function Ce(ge,ye){ue(this,4,ge,be,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint32:function(){function Ce(ge,ye){ue(this,4,ge,be,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat32:function(){function Ce(ge,ye){ue(this,4,ge,Q,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat64:function(){function Ce(ge,ye){ue(this,8,ge,ne,ye,arguments.length>2?arguments[2]:!1)}return Ce}()});else{var oe=B&&R.name!==L;!b(function(){R(1)})||!b(function(){new R(-1)})||b(function(){return new R,new R(1.5),new R(NaN),R.length!==1||oe&&!I})?(D=function(){function Ce(ge){return h(this,F),g(new R(m(ge)),this,D)}return Ce}(),D[A]=F,F.constructor=D,p(D,R)):oe&&I&&V(R,"name",L),i&&s(_)!==z&&i(_,z);var ke=new U(new D(2)),Be=a(_.setInt8);ke.setInt8(0,2147483648),ke.setInt8(1,2147483649),(ke.getInt8(0)||!ke.getInt8(1))&&S(_,{setInt8:function(){function Ce(ge,ye){Be(this,ge,ye<<24>>24)}return Ce}(),setUint8:function(){function Ce(ge,ye){Be(this,ge,ye<<24>>24)}return Ce}()},{unsafe:!0})}N(D,L),N(U,T),w.exports={ArrayBuffer:D,DataView:U}},42320:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333),o=n(58937),f=Math.min;w.exports=[].copyWithin||function(){function V(k,S){var b=e(this),h=t(b),l=a(k,h),c=a(S,h),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?h:a(m,h))-c,h-l),u=1;for(c0;)c in b?b[l]=b[c]:o(b,l),l+=u,c+=u;return b}return V}()},59942:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333);w.exports=function(){function o(f){for(var V=e(this),k=t(V),S=arguments.length,b=a(S>1?arguments[1]:void 0,k),h=S>2?arguments[2]:void 0,l=h===void 0?k:a(h,k);l>b;)V[b++]=f;return V}return o}()},75420:function(w,r,n){"use strict";var e=n(67480).forEach,a=n(42309),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},6967:function(w,r,n){"use strict";var e=n(8333);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),k=new a(V);V>f;)k[f]=t[f++];return k}},80363:function(w,r,n){"use strict";var e=n(4509),a=n(62696),t=n(40076),o=n(17100),f=n(58482),V=n(60354),k=n(8333),S=n(12913),b=n(3438),h=n(76274),l=Array;w.exports=function(){function c(m){var d=t(m),u=V(this),s=arguments.length,i=s>1?arguments[1]:void 0,C=i!==void 0;C&&(i=e(i,s>2?arguments[2]:void 0));var v=h(d),g=0,p,N,y,B,I,L;if(v&&!(this===l&&f(v)))for(N=u?new this:[],B=b(d,v),I=B.next;!(y=a(I,B)).done;g++)L=C?o(B,i,[y.value,g],!0):y.value,S(N,g,L);else for(p=k(d),N=u?new this(p):l(p);p>g;g++)L=C?i(d[g],g):d[g],S(N,g,L);return N.length=g,N}return c}()},64210:function(w,r,n){"use strict";var e=n(96812),a=n(74067),t=n(8333),o=function(V){return function(k,S,b){var h=e(k),l=t(h);if(l===0)return!V&&-1;var c=a(b,l),m;if(V&&S!==S){for(;l>c;)if(m=h[c++],m!==m)return!0}else for(;l>c;c++)if((V||c in h)&&h[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},67480:function(w,r,n){"use strict";var e=n(4509),a=n(18161),t=n(26736),o=n(40076),f=n(8333),V=n(32878),k=a([].push),S=function(h){var l=h===1,c=h===2,m=h===3,d=h===4,u=h===6,s=h===7,i=h===5||u;return function(C,v,g,p){for(var N=o(C),y=t(N),B=f(y),I=e(v,g),L=0,T=p||V,A=l?T(C,B):c||s?T(C,0):void 0,x,E;B>L;L++)if((i||L in y)&&(x=y[L],E=I(x,L,N),h))if(l)A[L]=E;else if(E)switch(h){case 3:return!0;case 5:return x;case 6:return L;case 2:k(A,x)}else switch(h){case 4:return!1;case 7:k(A,x)}return u?-1:m||d?d:A}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16934:function(w,r,n){"use strict";var e=n(70918),a=n(96812),t=n(74952),o=n(8333),f=n(42309),V=Math.min,k=[].lastIndexOf,S=!!k&&1/[1].lastIndexOf(1,-0)<0,b=f("lastIndexOf"),h=S||!b;w.exports=h?function(){function l(c){if(S)return e(k,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var u=d-1;for(arguments.length>1&&(u=V(u,t(arguments[1]))),u<0&&(u=d+u);u>=0;u--)if(u in m&&m[u]===c)return u||0;return-1}return l}():k},55114:function(w,r,n){"use strict";var e=n(41746),a=n(66266),t=n(82709),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],k=V.constructor={};return k[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},42309:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},98405:function(w,r,n){"use strict";var e=n(97361),a=n(40076),t=n(26736),o=n(8333),f=TypeError,V="Reduce of empty array with no initial value",k=function(b){return function(h,l,c,m){var d=a(h),u=t(d),s=o(d);if(e(l),s===0&&c<2)throw new f(V);var i=b?s-1:0,C=b?-1:1;if(c<2)for(;;){if(i in u){m=u[i],i+=C;break}if(i+=C,b?i<0:s<=i)throw new f(V)}for(;b?i>=0:s>i;i+=C)i in u&&(m=l(m,u[i],i,d));return m}};w.exports={left:k(!1),right:k(!0)}},72720:function(w,r,n){"use strict";var e=n(14141),a=n(62367),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,k){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=k}:function(V,k){return V.length=k}},77713:function(w,r,n){"use strict";var e=n(18161);w.exports=e([].slice)},44815:function(w,r,n){"use strict";var e=n(77713),a=Math.floor,t=function o(f,V){var k=f.length;if(k<8)for(var S=1,b,h;S0;)f[h]=f[--h];h!==S++&&(f[h]=b)}else for(var l=a(k/2),c=o(e(f,0,l),V),m=o(e(f,l),V),d=c.length,u=m.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,v?{get:function(){function L(T){var A=I(this,T);return A&&A.value}return L}(),set:function(){function L(T,A){return B(this,T===0?0:T,A)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),l&&a(N,"size",{configurable:!0,get:function(){function L(){return y(this).size}return L}()}),p}return s}(),setStrong:function(){function s(i,C,v){var g=C+" Iterator",p=u(C),N=u(g);S(i,C,function(y,B){d(this,{type:g,target:y,state:p(y),kind:B,last:void 0})},function(){for(var y=N(this),B=y.kind,I=y.last;I&&I.removed;)I=I.previous;return!y.target||!(y.last=I=I?I.next:y.state.first)?(y.target=void 0,b(void 0,!0)):b(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},v?"entries":"values",!v,!0),h(C)}return s}()}},32920:function(w,r,n){"use strict";var e=n(18161),a=n(13648),t=n(29126).getWeakData,o=n(19870),f=n(39482),V=n(1022),k=n(56831),S=n(281),b=n(67480),h=n(89458),l=n(35086),c=l.set,m=l.getterFor,d=b.find,u=b.findIndex,s=e([].splice),i=0,C=function(N){return N.frozen||(N.frozen=new v)},v=function(){this.entries=[]},g=function(N,y){return d(N.entries,function(B){return B[0]===y})};v.prototype={get:function(){function p(N){var y=g(this,N);if(y)return y[1]}return p}(),has:function(){function p(N){return!!g(this,N)}return p}(),set:function(){function p(N,y){var B=g(this,N);B?B[1]=y:this.entries.push([N,y])}return p}(),delete:function(){function p(N){var y=u(this.entries,function(B){return B[0]===N});return~y&&s(this.entries,y,1),!!~y}return p}()},w.exports={getConstructor:function(){function p(N,y,B,I){var L=N(function(E,M){o(E,T),c(E,{type:y,id:i++,frozen:void 0}),V(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,A=m(y),x=function(){function E(M,j,P){var R=A(M),D=t(f(j),!0);return D===!0?C(R).set(j,P):D[R.id]=P,M}return E}();return a(T,{delete:function(){function E(M){var j=A(this);if(!k(M))return!1;var P=t(M);return P===!0?C(j).delete(M):P&&h(P,j.id)&&delete P[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!k(M))return!1;var P=t(M);return P===!0?C(j).has(M):P&&h(P,j.id)}return E}()}),a(T,B?{get:function(){function E(M){var j=A(this);if(k(M)){var P=t(M);return P===!0?C(j).get(M):P?P[j.id]:void 0}}return E}(),set:function(){function E(M,j){return x(this,M,j)}return E}()}:{add:function(){function E(M){return x(this,M,!0)}return E}()}),L}return p}()}},93439:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(18161),o=n(95945),f=n(59173),V=n(29126),k=n(281),S=n(19870),b=n(7532),h=n(1022),l=n(56831),c=n(41746),m=n(52019),d=n(94234),u=n(2566);w.exports=function(s,i,C){var v=s.indexOf("Map")!==-1,g=s.indexOf("Weak")!==-1,p=v?"set":"add",N=a[s],y=N&&N.prototype,B=N,I={},L=function(R){var D=t(y[R]);f(y,R,R==="add"?function(){function F(U){return D(this,U===0?0:U),this}return F}():R==="delete"?function(F){return g&&!l(F)?!1:D(this,F===0?0:F)}:R==="get"?function(){function F(U){return g&&!l(U)?void 0:D(this,U===0?0:U)}return F}():R==="has"?function(){function F(U){return g&&!l(U)?!1:D(this,U===0?0:U)}return F}():function(){function F(U,_){return D(this,U===0?0:U,_),this}return F}())},T=o(s,!b(N)||!(g||y.forEach&&!c(function(){new N().entries().next()})));if(T)B=C.getConstructor(i,s,v,p),V.enable();else if(o(s,!0)){var A=new B,x=A[p](g?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=m(function(P){new N(P)}),j=!g&&c(function(){for(var P=new N,R=5;R--;)P[p](R,R);return!P.has(-0)});M||(B=i(function(P,R){S(P,y);var D=u(new N,P,B);return h(R)||k(R,D[p],{that:D,AS_ENTRIES:v}),D}),B.prototype=y,y.constructor=B),(E||j)&&(L("delete"),L("has"),v&&L("get")),(j||x)&&L(p),g&&y.clear&&delete y.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),g||C.setStrong(B,s,v),B}},70113:function(w,r,n){"use strict";var e=n(89458),a=n(93616),t=n(54168),o=n(56018);w.exports=function(f,V,k){for(var S=a(V),b=o.f,h=t.f,l=0;l"+h+""}},77056:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},16216:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},7539:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},12913:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},74003:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(34086).start,o=RangeError,f=isFinite,V=Math.abs,k=Date.prototype,S=k.toISOString,b=e(k.getTime),h=e(k.getUTCDate),l=e(k.getUTCFullYear),c=e(k.getUTCHours),m=e(k.getUTCMilliseconds),d=e(k.getUTCMinutes),u=e(k.getUTCMonth),s=e(k.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function i(){if(!f(b(this)))throw new o("Invalid time value");var C=this,v=l(C),g=m(C),p=v<0?"-":v>9999?"+":"";return p+t(V(v),p?6:4,0)+"-"+t(u(C)+1,2,0)+"-"+t(h(C),2,0)+"T"+t(c(C),2,0)+":"+t(d(C),2,0)+":"+t(s(C),2,0)+"."+t(g,3,0)+"Z"}return i}():S},95865:function(w,r,n){"use strict";var e=n(39482),a=n(14991),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},10069:function(w,r,n){"use strict";var e=n(76130),a=n(56018);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},59173:function(w,r,n){"use strict";var e=n(7532),a=n(56018),t=n(76130),o=n(93422);w.exports=function(f,V,k,S){S||(S={});var b=S.enumerable,h=S.name!==void 0?S.name:V;if(e(k)&&t(k,h,S),S.global)b?f[V]=k:o(V,k);else{try{S.unsafe?f[V]&&(b=!0):delete f[V]}catch(l){}b?f[V]=k:a.f(f,V,{value:k,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},13648:function(w,r,n){"use strict";var e=n(59173);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},93422:function(w,r,n){"use strict";var e=n(40224),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},58937:function(w,r,n){"use strict";var e=n(62518),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},14141:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},85158:function(w,r,n){"use strict";var e=n(40224),a=n(56831),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},72434:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},49847:function(w,r,n){"use strict";var e=n(15837),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},27955:function(w,r,n){"use strict";var e=n(2971),a=n(95823);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},2178:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(w,r,n){"use strict";var e=n(15837);w.exports=/MSIE|Trident/.test(e)},6647:function(w,r,n){"use strict";var e=n(15837);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},52426:function(w,r,n){"use strict";var e=n(15837);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},95823:function(w,r,n){"use strict";var e=n(40224),a=n(38817);w.exports=a(e.process)==="process"},25062:function(w,r,n){"use strict";var e=n(15837);w.exports=/web0s(?!.*chrome)/i.test(e)},15837:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(w,r,n){"use strict";var e=n(40224),a=n(15837),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,k,S;V&&(k=V.split("."),S=k[0]>0&&k[0]<4?1:+(k[0]+k[1])),!S&&a&&(k=a.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=a.match(/Chrome\/(\d+)/),k&&(S=+k[1]))),w.exports=S},53125:function(w,r,n){"use strict";var e=n(15837),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},90298:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(w,r,n){"use strict";var e=n(40224),a=n(54168).f,t=n(16216),o=n(59173),f=n(93422),V=n(70113),k=n(95945);w.exports=function(S,b){var h=S.target,l=S.global,c=S.stat,m,d,u,s,i,C;if(l?d=e:c?d=e[h]||f(h,{}):d=e[h]&&e[h].prototype,d)for(u in b){if(i=b[u],S.dontCallGetSet?(C=a(d,u),s=C&&C.value):s=d[u],m=k(l?u:h+(c?".":"#")+u,S.forced),!m&&s!==void 0){if(typeof i==typeof s)continue;V(i,s)}(S.sham||s&&s.sham)&&t(i,"sham",!0),o(d,u,i,S)}}},41746:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},85427:function(w,r,n){"use strict";n(95880);var e=n(62696),a=n(59173),t=n(72894),o=n(41746),f=n(66266),V=n(16216),k=f("species"),S=RegExp.prototype;w.exports=function(b,h,l,c){var m=f(b),d=!o(function(){var C={};return C[m]=function(){return 7},""[b](C)!==7}),u=d&&!o(function(){var C=!1,v=/a/;return b==="split"&&(v={},v.constructor={},v.constructor[k]=function(){return v},v.flags="",v[m]=/./[m]),v.exec=function(){return C=!0,null},v[m](""),!C});if(!d||!u||l){var s=/./[m],i=h(m,""[b],function(C,v,g,p,N){var y=v.exec;return y===t||y===S.exec?d&&!N?{done:!0,value:e(s,v,g,p)}:{done:!0,value:e(C,g,v,p)}:{done:!1}});a(String.prototype,b,i[0]),a(S,m,i[1])}c&&V(S[m],"sham",!0)}},68864:function(w,r,n){"use strict";var e=n(62367),a=n(8333),t=n(72434),o=n(4509),f=function V(k,S,b,h,l,c,m,d){for(var u=l,s=0,i=m?o(m,d):!1,C,v;s0&&e(C)?(v=a(C),u=V(k,S,C,v,u,c-1)-1):(t(u+1),k[u]=C),u++),s++;return u};w.exports=f},56255:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(w,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},4509:function(w,r,n){"use strict";var e=n(85067),a=n(97361),t=n(76799),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},76799:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9379:function(w,r,n){"use strict";var e=n(18161),a=n(97361),t=n(56831),o=n(89458),f=n(77713),V=n(76799),k=Function,S=e([].concat),b=e([].join),h={},l=function(m,d,u){if(!o(h,d)){for(var s=[],i=0;i]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(b,h,l,c,m,d){var u=l+b.length,s=c.length,i=S;return m!==void 0&&(m=a(m),i=k),f(d,i,function(C,v){var g;switch(o(v,0)){case"$":return"$";case"&":return b;case"`":return V(h,0,l);case"'":return V(h,u);case"<":g=m[V(v,1,-1)];break;default:var p=+v;if(p===0)return C;if(p>s){var N=t(p/10);return N===0?C:N<=s?c[N-1]===void 0?o(v,1):c[N-1]+o(v,1):C}g=c[p-1]}return g===void 0?"":g})}},40224:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},89458:function(w,r,n){"use strict";var e=n(18161),a=n(40076),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},21124:function(w){"use strict";w.exports={}},46122:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},54562:function(w,r,n){"use strict";var e=n(40164);w.exports=e("document","documentElement")},1606:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(85158);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},62263:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,b,h){var l=r(h),c=h*8-b-1,m=(1<>1,u=b===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,i=0,C,v,g;for(S=n(S),S!==S||S===1/0?(v=S!==S?1:0,C=m):(C=a(t(S)/o),g=e(2,-C),S*g<1&&(C--,g*=2),C+d>=1?S+=u/g:S+=u*e(2,1-d),S*g>=2&&(C++,g/=2),C+d>=m?(v=0,C=m):C+d>=1?(v=(S*g-1)*e(2,b),C+=d):(v=S*e(2,d-1)*e(2,b),C=0));b>=8;)l[i++]=v&255,v/=256,b-=8;for(C=C<0;)l[i++]=C&255,C/=256,c-=8;return l[--i]|=s*128,l},V=function(S,b){var h=S.length,l=h*8-b-1,c=(1<>1,d=l-7,u=h-1,s=S[u--],i=s&127,C;for(s>>=7;d>0;)i=i*256+S[u--],d-=8;for(C=i&(1<<-d)-1,i>>=-d,d+=b;d>0;)C=C*256+S[u--],d-=8;if(i===0)i=1-m;else{if(i===c)return C?NaN:s?-1/0:1/0;C+=e(2,b),i-=m}return(s?-1:1)*C*e(2,i-b)};w.exports={pack:f,unpack:V}},26736:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(38817),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},2566:function(w,r,n){"use strict";var e=n(7532),a=n(56831),t=n(42878);w.exports=function(o,f,V){var k,S;return t&&e(k=f.constructor)&&k!==V&&a(S=k.prototype)&&S!==V.prototype&&t(o,S),o}},43589:function(w,r,n){"use strict";var e=n(18161),a=n(7532),t=n(95046),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},29126:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(21124),o=n(56831),f=n(89458),V=n(56018).f,k=n(34813),S=n(63797),b=n(57975),h=n(33345),l=n(56255),c=!1,m=h("meta"),d=0,u=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,y){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!b(N))return"F";if(!y)return"E";u(N)}return N[m].objectID},i=function(N,y){if(!f(N,m)){if(!b(N))return!0;if(!y)return!1;u(N)}return N[m].weakData},C=function(N){return l&&c&&b(N)&&!f(N,m)&&u(N),N},v=function(){g.enable=function(){},c=!0;var N=k.f,y=a([].splice),B={};B[m]=1,N(B).length&&(k.f=function(I){for(var L=N(I),T=0,A=L.length;TI;I++)if(T=M(d[I]),T&&k(m,T))return T;return new c(!1)}y=S(d,B)}for(A=v?d.next:y.next;!(x=a(A,y)).done;){try{T=M(x.value)}catch(j){h(y,"throw",j)}if(typeof T=="object"&&T&&k(m,T))return T}return new c(!1)}},14868:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(4817);w.exports=function(o,f,V){var k,S;a(o);try{if(k=t(o,"return"),!k){if(f==="throw")throw V;return V}k=e(k,o)}catch(b){S=!0,k=b}if(f==="throw")throw V;if(S)throw k;return a(k),V}},42599:function(w,r,n){"use strict";var e=n(85106).IteratorPrototype,a=n(28969),t=n(7539),o=n(94234),f=n(90604),V=function(){return this};w.exports=function(k,S,b,h){var l=S+" Iterator";return k.prototype=a(e,{next:t(+!h,b)}),o(k,l,!1,!0),f[l]=V,k}},2449:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(11478),o=n(26463),f=n(7532),V=n(42599),k=n(31658),S=n(42878),b=n(94234),h=n(16216),l=n(59173),c=n(66266),m=n(90604),d=n(85106),u=o.PROPER,s=o.CONFIGURABLE,i=d.IteratorPrototype,C=d.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",p="values",N="entries",y=function(){return this};w.exports=function(B,I,L,T,A,x,E){V(L,I,T);var M=function(Y){if(Y===A&&F)return F;if(!C&&Y&&Y in R)return R[Y];switch(Y){case g:return function(){function J(){return new L(this,Y)}return J}();case p:return function(){function J(){return new L(this,Y)}return J}();case N:return function(){function J(){return new L(this,Y)}return J}()}return function(){return new L(this)}},j=I+" Iterator",P=!1,R=B.prototype,D=R[v]||R["@@iterator"]||A&&R[A],F=!C&&D||M(A),U=I==="Array"&&R.entries||D,_,z,G;if(U&&(_=k(U.call(new B)),_!==Object.prototype&&_.next&&(!t&&k(_)!==i&&(S?S(_,i):f(_[v])||l(_,v,y)),b(_,j,!0,!0),t&&(m[j]=y))),u&&A===p&&D&&D.name!==p&&(!t&&s?h(R,"name",p):(P=!0,F=function(){function X(){return a(D,this)}return X}())),A)if(z={values:M(p),keys:x?F:M(g),entries:M(N)},E)for(G in z)(C||P||!(G in R))&&l(R,G,z[G]);else e({target:I,proto:!0,forced:C||P},z);return(!t||E)&&R[v]!==F&&l(R,v,F,{name:A}),m[I]=F,z}},85106:function(w,r,n){"use strict";var e=n(41746),a=n(7532),t=n(56831),o=n(28969),f=n(31658),V=n(59173),k=n(66266),S=n(11478),b=k("iterator"),h=!1,l,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(l=c)):h=!0);var d=!t(l)||e(function(){var u={};return l[b].call(u)!==u});d?l={}:S&&(l=o(l)),a(l[b])||V(l,b,function(){return this}),w.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:h}},90604:function(w){"use strict";w.exports={}},8333:function(w,r,n){"use strict";var e=n(10475);w.exports=function(a){return e(a.length)}},76130:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(89458),f=n(14141),V=n(26463).CONFIGURABLE,k=n(43589),S=n(35086),b=S.enforce,h=S.get,l=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),u=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),C=w.exports=function(v,g,p){m(l(g),0,7)==="Symbol("&&(g="["+d(l(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(g="get "+g),p&&p.setter&&(g="set "+g),(!o(v,"name")||V&&v.name!==g)&&(f?c(v,"name",{value:g,configurable:!0}):v.name=g),s&&p&&o(p,"arity")&&v.length!==p.arity&&c(v,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?f&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch(y){}var N=b(v);return o(N,"source")||(N.source=u(i,typeof g=="string"?g:"")),v};Function.prototype.toString=C(function(){function v(){return t(this)&&h(this).source||k(this)}return v}(),"toString")},32813:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},23207:function(w,r,n){"use strict";var e=n(54307),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(k){return k+o-o};w.exports=function(V,k,S,b){var h=+V,l=a(h),c=e(h);if(lS||d!==d?c*(1/0):c*d}},75988:function(w,r,n){"use strict";var e=n(23207),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},53271:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},69143:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},54307:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},34606:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},27150:function(w,r,n){"use strict";var e=n(40224),a=n(1156),t=n(4509),o=n(91314).set,f=n(23496),V=n(52426),k=n(6647),S=n(25062),b=n(95823),h=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),u,s,i,C,v;if(!d){var g=new f,p=function(){var y,B;for(b&&(y=c.domain)&&y.exit();B=g.get();)try{B()}catch(I){throw g.head&&u(),I}y&&y.enter()};!V&&!b&&!S&&h&&l?(s=!0,i=l.createTextNode(""),new h(p).observe(i,{characterData:!0}),u=function(){i.data=s=!s}):!k&&m&&m.resolve?(C=m.resolve(void 0),C.constructor=m,v=t(C.then,C),u=function(){v(p)}):b?u=function(){c.nextTick(p)}:(o=t(o,e),u=function(){o(p)}),d=function(y){g.head||u(),g.add(y)}}w.exports=d},48532:function(w,r,n){"use strict";var e=n(97361),a=TypeError,t=function(f){var V,k;this.promise=new f(function(S,b){if(V!==void 0||k!==void 0)throw new a("Bad Promise constructor");V=S,k=b}),this.resolve=e(V),this.reject=e(k)};w.exports.f=function(o){return new t(o)}},89140:function(w,r,n){"use strict";var e=n(80969),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},69079:function(w,r,n){"use strict";var e=n(40224),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},43283:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),k=t("".charAt),S=e.parseFloat,b=e.Symbol,h=b&&b.iterator,l=1/S(V+"-0")!==-1/0||h&&!a(function(){S(Object(h))});w.exports=l?function(){function c(m){var d=f(o(m)),u=S(d);return u===0&&k(d,0)==="-"?-0:u}return c}():S},11540:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),k=e.parseInt,S=e.Symbol,b=S&&S.iterator,h=/^[+-]?0x/i,l=t(h.exec),c=k(V+"08")!==8||k(V+"0x16")!==22||b&&!a(function(){k(Object(b))});w.exports=c?function(){function m(d,u){var s=f(o(d));return k(s,u>>>0||(l(h,s)?16:10))}return m}():k},12752:function(w,r,n){"use strict";var e=n(14141),a=n(18161),t=n(62696),o=n(41746),f=n(84913),V=n(34220),k=n(9776),S=n(40076),b=n(26736),h=Object.assign,l=Object.defineProperty,c=a([].concat);w.exports=!h||o(function(){if(e&&h({b:1},h(l({},"a",{enumerable:!0,get:function(){function i(){l(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var m={},d={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[u]=7,s.split("").forEach(function(i){d[i]=i}),h({},m)[u]!==7||f(h({},d)).join("")!==s})?function(){function m(d,u){for(var s=S(d),i=arguments.length,C=1,v=V.f,g=k.f;i>C;)for(var p=b(arguments[C++]),N=v?c(f(p),v(p)):f(p),y=N.length,B=0,I;y>B;)I=N[B++],(!e||t(g,p,I))&&(s[I]=p[I]);return s}return m}():h},28969:function(w,r,n){"use strict";var e=n(39482),a=n(65854),t=n(90298),o=n(21124),f=n(54562),V=n(85158),k=n(5160),S=">",b="<",h="prototype",l="script",c=k("IE_PROTO"),m=function(){},d=function(g){return b+l+S+g+b+"/"+l+S},u=function(g){g.write(d("")),g.close();var p=g.parentWindow.Object;return g=null,p},s=function(){var g=V("iframe"),p="java"+l+":",N;return g.style.display="none",f.appendChild(g),g.src=String(p),N=g.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},i,C=function(){try{i=new ActiveXObject("htmlfile")}catch(p){}C=typeof document!="undefined"?document.domain&&i?u(i):s():u(i);for(var g=t.length;g--;)delete C[h][t[g]];return C()};o[c]=!0,w.exports=Object.create||function(){function v(g,p){var N;return g!==null?(m[h]=e(g),N=new m,m[h]=null,N[c]=g):N=C(),p===void 0?N:a.f(N,p)}return v}()},65854:function(w,r,n){"use strict";var e=n(14141),a=n(83411),t=n(56018),o=n(39482),f=n(96812),V=n(84913);r.f=e&&!a?Object.defineProperties:function(){function k(S,b){o(S);for(var h=f(b),l=V(b),c=l.length,m=0,d;c>m;)t.f(S,d=l[m++],h[d]);return S}return k}()},56018:function(w,r,n){"use strict";var e=n(14141),a=n(1606),t=n(83411),o=n(39482),f=n(57640),V=TypeError,k=Object.defineProperty,S=Object.getOwnPropertyDescriptor,b="enumerable",h="configurable",l="writable";r.f=e?t?function(){function c(m,d,u){if(o(m),d=f(d),o(u),typeof m=="function"&&d==="prototype"&&"value"in u&&l in u&&!u[l]){var s=S(m,d);s&&s[l]&&(m[d]=u.value,u={configurable:h in u?u[h]:s[h],enumerable:b in u?u[b]:s[b],writable:!1})}return k(m,d,u)}return c}():k:function(){function c(m,d,u){if(o(m),d=f(d),o(u),a)try{return k(m,d,u)}catch(s){}if("get"in u||"set"in u)throw new V("Accessors not supported");return"value"in u&&(m[d]=u.value),m}return c}()},54168:function(w,r,n){"use strict";var e=n(14141),a=n(62696),t=n(9776),o=n(7539),f=n(96812),V=n(57640),k=n(89458),S=n(1606),b=Object.getOwnPropertyDescriptor;r.f=e?b:function(){function h(l,c){if(l=f(l),c=V(c),S)try{return b(l,c)}catch(m){}if(k(l,c))return o(!a(t.f,l,c),l[c])}return h}()},63797:function(w,r,n){"use strict";var e=n(38817),a=n(96812),t=n(34813).f,o=n(77713),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(b){return o(f)}};w.exports.f=function(){function k(S){return f&&e(S)==="Window"?V(S):t(a(S))}return k}()},34813:function(w,r,n){"use strict";var e=n(62995),a=n(90298),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},34220:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},31658:function(w,r,n){"use strict";var e=n(89458),a=n(7532),t=n(40076),o=n(5160),f=n(58776),V=o("IE_PROTO"),k=Object,S=k.prototype;w.exports=f?k.getPrototypeOf:function(b){var h=t(b);if(e(h,V))return h[V];var l=h.constructor;return a(l)&&h instanceof l?l.prototype:h instanceof k?S:null}},57975:function(w,r,n){"use strict";var e=n(41746),a=n(56831),t=n(38817),o=n(65693),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function k(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return k}():f},33314:function(w,r,n){"use strict";var e=n(18161);w.exports=e({}.isPrototypeOf)},62995:function(w,r,n){"use strict";var e=n(18161),a=n(89458),t=n(96812),o=n(64210).indexOf,f=n(21124),V=e([].push);w.exports=function(k,S){var b=t(k),h=0,l=[],c;for(c in b)!a(f,c)&&a(b,c)&&V(l,c);for(;S.length>h;)a(b,c=S[h++])&&(~o(l,c)||V(l,c));return l}},84913:function(w,r,n){"use strict";var e=n(62995),a=n(90298);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},9776:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},33030:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(41746),o=n(53125);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},42878:function(w,r,n){"use strict";var e=n(9553),a=n(56831),t=n(91029),o=n(51689);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},k;try{k=e(Object.prototype,"__proto__","set"),k(V,[]),f=V instanceof Array}catch(S){}return function(){function S(b,h){return t(b),o(h),a(b)&&(f?k(b,h):b.__proto__=h),b}return S}()}():void 0)},97452:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(18161),o=n(31658),f=n(84913),V=n(96812),k=n(9776).f,S=t(k),b=t([].push),h=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),l=function(m){return function(d){for(var u=V(d),s=f(u),i=h&&o(u)===null,C=s.length,v=0,g=[],p;C>v;)p=s[v++],(!e||(i?p in u:S(u,p)))&&b(g,m?[p,u[p]]:u[p]);return g}};w.exports={entries:l(!0),values:l(!1)}},66628:function(w,r,n){"use strict";var e=n(82161),a=n(27806);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},14991:function(w,r,n){"use strict";var e=n(62696),a=n(7532),t=n(56831),o=TypeError;w.exports=function(f,V){var k,S;if(V==="string"&&a(k=f.toString)&&!t(S=e(k,f))||a(k=f.valueOf)&&!t(S=e(k,f))||V!=="string"&&a(k=f.toString)&&!t(S=e(k,f)))return S;throw new o("Can't convert object to primitive value")}},93616:function(w,r,n){"use strict";var e=n(40164),a=n(18161),t=n(34813),o=n(34220),f=n(39482),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function k(S){var b=t.f(f(S)),h=o.f;return h?V(b,h(S)):b}return k}()},5376:function(w,r,n){"use strict";var e=n(40224);w.exports=e},91114:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},49669:function(w,r,n){"use strict";var e=n(40224),a=n(35973),t=n(7532),o=n(95945),f=n(43589),V=n(66266),k=n(27955),S=n(2971),b=n(11478),h=n(82709),l=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=f(a),i=s!==String(a);if(!i&&h===66||b&&!(l.catch&&l.finally))return!0;if(!h||h<51||!/native code/.test(s)){var C=new a(function(p){p(1)}),v=function(N){N(function(){},function(){})},g=C.constructor={};if(g[c]=v,m=C.then(function(){})instanceof v,!m)return!0}return!i&&(k||S)&&!d});w.exports={CONSTRUCTOR:u,REJECTION_EVENT:d,SUBCLASSING:m}},35973:function(w,r,n){"use strict";var e=n(40224);w.exports=e.Promise},43827:function(w,r,n){"use strict";var e=n(39482),a=n(56831),t=n(48532);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),k=V.resolve;return k(f),V.promise}},95044:function(w,r,n){"use strict";var e=n(35973),a=n(52019),t=n(49669).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},77495:function(w,r,n){"use strict";var e=n(56018).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},23496:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},35553:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(7532),o=n(38817),f=n(72894),V=TypeError;w.exports=function(k,S){var b=k.exec;if(t(b)){var h=e(b,k,S);return h!==null&&a(h),h}if(o(k)==="RegExp")return e(f,k,S);throw new V("RegExp#exec called on incompatible receiver")}},72894:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(26602),o=n(65844),f=n(1064),V=n(75130),k=n(28969),S=n(35086).get,b=n(89604),h=n(5489),l=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),u=a("".indexOf),s=a("".replace),i=a("".slice),C=function(){var N=/a/,y=/b*/g;return e(c,N,"a"),e(c,y,"a"),N.lastIndex!==0||y.lastIndex!==0}(),v=f.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,p=C||g||v||b||h;p&&(m=function(){function N(y){var B=this,I=S(B),L=t(y),T=I.raw,A,x,E,M,j,P,R;if(T)return T.lastIndex=B.lastIndex,A=e(m,T,L),B.lastIndex=T.lastIndex,A;var D=I.groups,F=v&&B.sticky,U=e(o,B),_=B.source,z=0,G=L;if(F&&(U=s(U,"y",""),u(U,"g")===-1&&(U+="g"),G=i(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",G=" "+G,z++),x=new RegExp("^(?:"+_+")",U)),g&&(x=new RegExp("^"+_+"$(?!\\s)",U)),C&&(E=B.lastIndex),M=e(c,F?x:B,G),F?M?(M.input=i(M.input,z),M[0]=i(M[0],z),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:C&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),g&&M&&M.length>1&&e(l,M[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$
c")!=="bc"})},91029:function(w,r,n){"use strict";var e=n(1022),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},1156:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},37309:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},83827:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(7532),o=n(2178),f=n(15837),V=n(77713),k=n(22789),S=e.Function,b=/MSIE .\./.test(f)||o&&function(){var h=e.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();w.exports=function(h,l){var c=l?2:1;return b?function(m,d){var u=k(arguments.length,1)>c,s=t(m)?m:S(m),i=u?V(arguments,c):[],C=u?function(){a(s,this,i)}:s;return l?h(C,d):h(C)}:h}},67420:function(w,r,n){"use strict";var e=n(40164),a=n(10069),t=n(66266),o=n(14141),f=t("species");w.exports=function(V){var k=e(V);o&&k&&!k[f]&&a(k,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},94234:function(w,r,n){"use strict";var e=n(56018).f,a=n(89458),t=n(66266),o=t("toStringTag");w.exports=function(f,V,k){f&&!k&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},5160:function(w,r,n){"use strict";var e=n(75130),a=n(33345),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},95046:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(93422),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.36.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(w,r,n){"use strict";var e=n(95046);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},78412:function(w,r,n){"use strict";var e=n(39482),a=n(76833),t=n(1022),o=n(66266),f=o("species");w.exports=function(V,k){var S=e(V).constructor,b;return S===void 0||t(b=e(S)[f])?k:a(b)}},32086:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},56852:function(w,r,n){"use strict";var e=n(18161),a=n(74952),t=n(26602),o=n(91029),f=e("".charAt),V=e("".charCodeAt),k=e("".slice),S=function(h){return function(l,c){var m=t(o(l)),d=a(c),u=m.length,s,i;return d<0||d>=u?h?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===u||(i=V(m,d+1))<56320||i>57343?h?f(m,d):s:h?k(m,d,d+2):(s-55296<<10)+(i-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},33038:function(w,r,n){"use strict";var e=n(15837);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},34086:function(w,r,n){"use strict";var e=n(18161),a=n(10475),t=n(26602),o=n(84948),f=n(91029),V=e(o),k=e("".slice),S=Math.ceil,b=function(l){return function(c,m,d){var u=t(f(c)),s=a(m),i=u.length,C=d===void 0?" ":t(d),v,g;return s<=i||C===""?u:(v=s-i,g=V(C,S(v/C.length)),g.length>v&&(g=k(g,0,v)),l?u+g:g+u)}};w.exports={start:b(!1),end:b(!0)}},84948:function(w,r,n){"use strict";var e=n(74952),a=n(26602),t=n(91029),o=RangeError;w.exports=function(){function f(V){var k=a(t(this)),S="",b=e(V);if(b<0||b===1/0)throw new o("Wrong number of repetitions");for(;b>0;(b>>>=1)&&(k+=k))b&1&&(S+=k);return S}return f}()},11775:function(w,r,n){"use strict";var e=n(35171).end,a=n(93817);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},93817:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(41746),t=n(137),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},26402:function(w,r,n){"use strict";var e=n(35171).start,a=n(93817);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},35171:function(w,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=n(137),f=e("".replace),V=RegExp("^["+o+"]+"),k=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(h){return function(l){var c=t(a(l));return h&1&&(c=f(c,V,"")),h&2&&(c=f(c,k,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},70640:function(w,r,n){"use strict";var e=n(82709),a=n(41746),t=n(40224),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},75429:function(w,r,n){"use strict";var e=n(62696),a=n(40164),t=n(66266),o=n(59173);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,k=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(b){return e(k,this)},{arity:1})}},80353:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},91314:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(4509),o=n(7532),f=n(89458),V=n(41746),k=n(54562),S=n(77713),b=n(85158),h=n(22789),l=n(52426),c=n(95823),m=e.setImmediate,d=e.clearImmediate,u=e.process,s=e.Dispatch,i=e.Function,C=e.MessageChannel,v=e.String,g=0,p={},N="onreadystatechange",y,B,I,L;V(function(){y=e.location});var T=function(j){if(f(p,j)){var P=p[j];delete p[j],P()}},A=function(j){return function(){T(j)}},x=function(j){T(j.data)},E=function(j){e.postMessage(v(j),y.protocol+"//"+y.host)};(!m||!d)&&(m=function(){function M(j){h(arguments.length,1);var P=o(j)?j:i(j),R=S(arguments,1);return p[++g]=function(){a(P,void 0,R)},B(g),g}return M}(),d=function(){function M(j){delete p[j]}return M}(),c?B=function(j){u.nextTick(A(j))}:s&&s.now?B=function(j){s.now(A(j))}:C&&!l?(I=new C,L=I.port2,I.port1.onmessage=x,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&y&&y.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",x,!1)):N in b("script")?B=function(j){k.appendChild(b("script"))[N]=function(){k.removeChild(this),T(j)}}:B=function(j){setTimeout(A(j),0)}),w.exports={set:m,clear:d}},37497:function(w,r,n){"use strict";var e=n(18161);w.exports=e(1 .valueOf)},74067:function(w,r,n){"use strict";var e=n(74952),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},757:function(w,r,n){"use strict";var e=n(4370),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},90835:function(w,r,n){"use strict";var e=n(74952),a=n(10475),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},96812:function(w,r,n){"use strict";var e=n(26736),a=n(91029);w.exports=function(t){return e(a(t))}},74952:function(w,r,n){"use strict";var e=n(34606);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10475:function(w,r,n){"use strict";var e=n(74952),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},40076:function(w,r,n){"use strict";var e=n(91029),a=Object;w.exports=function(t){return a(e(t))}},65264:function(w,r,n){"use strict";var e=n(43627),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},43627:function(w,r,n){"use strict";var e=n(74952),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},4370:function(w,r,n){"use strict";var e=n(62696),a=n(56831),t=n(74352),o=n(4817),f=n(14991),V=n(66266),k=TypeError,S=V("toPrimitive");w.exports=function(b,h){if(!a(b)||t(b))return b;var l=o(b,S),c;if(l){if(h===void 0&&(h="default"),c=e(l,b,h),!a(c)||t(c))return c;throw new k("Can't convert object to primitive value")}return h===void 0&&(h="number"),f(b,h)}},57640:function(w,r,n){"use strict";var e=n(4370),a=n(74352);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},82161:function(w,r,n){"use strict";var e=n(66266),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},26602:function(w,r,n){"use strict";var e=n(27806),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},78828:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},62518:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},12218:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(14141),f=n(66220),V=n(72951),k=n(46185),S=n(19870),b=n(7539),h=n(16216),l=n(57696),c=n(10475),m=n(90835),d=n(65264),u=n(78828),s=n(57640),i=n(89458),C=n(27806),v=n(56831),g=n(74352),p=n(28969),N=n(33314),y=n(42878),B=n(34813).f,I=n(7996),L=n(67480).forEach,T=n(67420),A=n(10069),x=n(56018),E=n(54168),M=n(6967),j=n(35086),P=n(2566),R=j.get,D=j.set,F=j.enforce,U=x.f,_=E.f,z=a.RangeError,G=k.ArrayBuffer,X=G.prototype,Y=k.DataView,J=V.NATIVE_ARRAY_BUFFER_VIEWS,ie=V.TYPED_ARRAY_TAG,ae=V.TypedArray,fe=V.TypedArrayPrototype,pe=V.isTypedArray,be="BYTES_PER_ELEMENT",te="Wrong length",Q=function(ke,Be){A(ke,Be,{configurable:!0,get:function(){function Ce(){return R(this)[Be]}return Ce}()})},ne=function(ke){var Be;return N(X,ke)||(Be=C(ke))==="ArrayBuffer"||Be==="SharedArrayBuffer"},me=function(ke,Be){return pe(ke)&&!g(Be)&&Be in ke&&l(+Be)&&Be>=0},ce=function(){function oe(ke,Be){return Be=s(Be),me(ke,Be)?b(2,ke[Be]):_(ke,Be)}return oe}(),ue=function(){function oe(ke,Be,Ce){return Be=s(Be),me(ke,Be)&&v(Ce)&&i(Ce,"value")&&!i(Ce,"get")&&!i(Ce,"set")&&!Ce.configurable&&(!i(Ce,"writable")||Ce.writable)&&(!i(Ce,"enumerable")||Ce.enumerable)?(ke[Be]=Ce.value,ke):U(ke,Be,Ce)}return oe}();o?(J||(E.f=ce,x.f=ue,Q(fe,"buffer"),Q(fe,"byteOffset"),Q(fe,"byteLength"),Q(fe,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:ce,defineProperty:ue}),w.exports=function(oe,ke,Be){var Ce=oe.match(/\d+/)[0]/8,ge=oe+(Be?"Clamped":"")+"Array",ye="get"+oe,Ve="set"+oe,Ie=a[ge],we=Ie,xe=we&&we.prototype,Oe={},We=function(se,ve){var Ae=R(se);return Ae.view[ye](ve*Ce+Ae.byteOffset,!0)},Ne=function(se,ve,Ae){var De=R(se);De.view[Ve](ve*Ce+De.byteOffset,Be?u(Ae):Ae,!0)},re=function(se,ve){U(se,ve,{get:function(){function Ae(){return We(this,ve)}return Ae}(),set:function(){function Ae(De){return Ne(this,ve,De)}return Ae}(),enumerable:!0})};J?f&&(we=ke(function(he,se,ve,Ae){return S(he,xe),P(function(){return v(se)?ne(se)?Ae!==void 0?new Ie(se,d(ve,Ce),Ae):ve!==void 0?new Ie(se,d(ve,Ce)):new Ie(se):pe(se)?M(we,se):t(I,we,se):new Ie(m(se))}(),he,we)}),y&&y(we,ae),L(B(Ie),function(he){he in we||h(we,he,Ie[he])}),we.prototype=xe):(we=ke(function(he,se,ve,Ae){S(he,xe);var De=0,je=0,_e,Ue,Ke;if(!v(se))Ke=m(se),Ue=Ke*Ce,_e=new G(Ue);else if(ne(se)){_e=se,je=d(ve,Ce);var $e=se.byteLength;if(Ae===void 0){if($e%Ce)throw new z(te);if(Ue=$e-je,Ue<0)throw new z(te)}else if(Ue=c(Ae)*Ce,Ue+je>$e)throw new z(te);Ke=Ue/Ce}else return pe(se)?M(we,se):t(I,we,se);for(D(he,{buffer:_e,byteOffset:je,byteLength:Ue,length:Ke,view:new Y(_e)});De1?arguments[1]:void 0,C=i!==void 0,v=k(u),g,p,N,y,B,I,L,T;if(v&&!S(v))for(L=V(u,v),T=L.next,u=[];!(I=a(T,L)).done;)u.push(I.value);for(C&&s>2&&(i=e(i,arguments[2])),p=f(u),N=new(h(d))(p),y=b(N),g=0;p>g;g++)B=C?i(u[g],g):u[g],N[g]=y?l(B):+B;return N}return c}()},489:function(w,r,n){"use strict";var e=n(72951),a=n(78412),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},33345:function(w,r,n){"use strict";var e=n(18161),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},81457:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(w,r,n){"use strict";var e=n(14141),a=n(41746);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[m]=!1,i.concat()[0]!==i}),u=function(C){if(!o(C))return!1;var v=C[m];return v!==void 0?!!v:t(C)},s=!d||!h("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(C){var v=f(this),g=b(v,0),p=0,N,y,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},24974:function(w,r,n){"use strict";var e=n(77549),a=n(59942),t=n(91138);e({target:"Array",proto:!0},{fill:a}),t("fill")},6297:function(w,r,n){"use strict";var e=n(77549),a=n(67480).filter,t=n(55114),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},35173:function(w,r,n){"use strict";var e=n(77549),a=n(67480).findIndex,t=n(91138),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},5364:function(w,r,n){"use strict";var e=n(77549),a=n(67480).find,t=n(91138),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},88707:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(97361),o=n(40076),f=n(8333),V=n(32878);e({target:"Array",proto:!0},{flatMap:function(){function k(S){var b=o(this),h=f(b),l;return t(S),l=V(b,0),l.length=a(l,b,b,h,0,1,S,arguments.length>1?arguments[1]:void 0),l}return k}()})},16576:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(40076),o=n(8333),f=n(74952),V=n(32878);e({target:"Array",proto:!0},{flat:function(){function k(){var S=arguments.length?arguments[0]:void 0,b=t(this),h=o(b),l=V(b,0);return l.length=a(l,b,b,h,0,S===void 0?1:f(S)),l}return k}()})},21508:function(w,r,n){"use strict";var e=n(77549),a=n(75420);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},86339:function(w,r,n){"use strict";var e=n(77549),a=n(80363),t=n(52019),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},81850:function(w,r,n){"use strict";var e=n(77549),a=n(64210).includes,t=n(41746),o=n(91138),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},98661:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(64210).indexOf,o=n(42309),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,k=V||!o("indexOf");e({target:"Array",proto:!0,forced:k},{indexOf:function(){function S(b){var h=arguments.length>1?arguments[1]:void 0;return V?f(this,b,h)||0:t(this,b,h)}return S}()})},13431:function(w,r,n){"use strict";var e=n(77549),a=n(62367);e({target:"Array",stat:!0},{isArray:a})},65809:function(w,r,n){"use strict";var e=n(96812),a=n(91138),t=n(90604),o=n(35086),f=n(56018).f,V=n(2449),k=n(77056),S=n(11478),b=n(14141),h="Array Iterator",l=o.set,c=o.getterFor(h);w.exports=V(Array,"Array",function(d,u){l(this,{type:h,target:e(d),index:0,kind:u})},function(){var d=c(this),u=d.target,s=d.index++;if(!u||s>=u.length)return d.target=void 0,k(void 0,!0);switch(d.kind){case"keys":return k(s,!1);case"values":return k(u[s],!1)}return k([s,u[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&b&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},8611:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(26736),o=n(96812),f=n(42309),V=a([].join),k=t!==Object,S=k||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function b(h){return V(o(this),h===void 0?",":h)}return b}()})},97246:function(w,r,n){"use strict";var e=n(77549),a=n(16934);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},48741:function(w,r,n){"use strict";var e=n(77549),a=n(67480).map,t=n(55114),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},90446:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(60354),o=n(12913),f=Array,V=a(function(){function k(){}return!(f.of.call(k)instanceof k)});e({target:"Array",stat:!0,forced:V},{of:function(){function k(){for(var S=0,b=arguments.length,h=new(t(this)?this:f)(b);b>S;)o(h,S,arguments[S++]);return h.length=b,h}return k}()})},61902:function(w,r,n){"use strict";var e=n(77549),a=n(98405).right,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,k=V||!t("reduceRight");e({target:"Array",proto:!0,forced:k},{reduceRight:function(){function S(b){return a(this,b,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},509:function(w,r,n){"use strict";var e=n(77549),a=n(98405).left,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,k=V||!t("reduce");e({target:"Array",proto:!0,forced:k},{reduce:function(){function S(b){var h=arguments.length;return a(this,b,h,h>1?arguments[1]:void 0)}return S}()})},96149:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(62367),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},66617:function(w,r,n){"use strict";var e=n(77549),a=n(62367),t=n(60354),o=n(56831),f=n(74067),V=n(8333),k=n(96812),S=n(12913),b=n(66266),h=n(55114),l=n(77713),c=h("slice"),m=b("species"),d=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,C){var v=k(this),g=V(v),p=f(i,g),N=f(C===void 0?g:C,g),y,B,I;if(a(v)&&(y=v.constructor,t(y)&&(y===d||a(y.prototype))?y=void 0:o(y)&&(y=y[m],y===null&&(y=void 0)),y===d||y===void 0))return l(v,p,N);for(B=new(y===void 0?d:y)(u(N-p,0)),I=0;p1?arguments[1]:void 0)}return f}()})},56855:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(97361),o=n(40076),f=n(8333),V=n(58937),k=n(26602),S=n(41746),b=n(44815),h=n(42309),l=n(49847),c=n(56605),m=n(82709),d=n(53125),u=[],s=a(u.sort),i=a(u.push),C=S(function(){u.sort(void 0)}),v=S(function(){u.sort(null)}),g=h("sort"),p=!S(function(){if(m)return m<70;if(!(l&&l>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)u.push({k:L+A,v:T})}for(u.sort(function(x,E){return E.v-x.v}),A=0;Ak(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var T=[],A=f(L),x,E;for(E=0;Ev-y+N;I--)h(C,I-1)}else if(N>y)for(I=v-y;I>g;I--)L=I+y-1,T=I+N-1,L in C?C[T]=C[L]:h(C,T);for(I=0;I9490626562425156e-8?o(h)+V:a(h-1+f(h-1)*f(h+1))}return S}()})},86551:function(w,r,n){"use strict";var e=n(77549),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(k){var S=+k;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},10940:function(w,r,n){"use strict";var e=n(77549),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var k=+V;return k===0?k:t((1+k)/(1-k))/2}return f}()})},73763:function(w,r,n){"use strict";var e=n(77549),a=n(54307),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var k=+V;return a(k)*o(t(k),.3333333333333333)}return f}()})},3372:function(w,r,n){"use strict";var e=n(77549),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var k=V>>>0;return k?31-a(t(k+.5)*o):32}return f}()})},51629:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function k(S){var b=a(o(S)-1)+1;return(b+1/(b*f*f))*(f/2)}return k}()})},69727:function(w,r,n){"use strict";var e=n(77549),a=n(32813);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},27482:function(w,r,n){"use strict";var e=n(77549),a=n(75988);e({target:"Math",stat:!0},{fround:a})},7108:function(w,r,n){"use strict";var e=n(77549),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(k,S){for(var b=0,h=0,l=arguments.length,c=0,m,d;h0?(d=m/c,b+=d*d):b+=m;return c===1/0?1/0:c*o(b)}return V}()})},4115:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,k){var S=65535,b=+V,h=+k,l=S&b,c=S&h;return 0|l*c+((S&b>>>16)*c+l*(S&h>>>16)<<16>>>0)}return f}()})},63953:function(w,r,n){"use strict";var e=n(77549),a=n(53271);e({target:"Math",stat:!0},{log10:a})},71377:function(w,r,n){"use strict";var e=n(77549),a=n(69143);e({target:"Math",stat:!0},{log1p:a})},63956:function(w,r,n){"use strict";var e=n(77549),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},90037:function(w,r,n){"use strict";var e=n(77549),a=n(54307);e({target:"Math",stat:!0},{sign:a})},46818:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(32813),o=Math.abs,f=Math.exp,V=Math.E,k=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:k},{sinh:function(){function S(b){var h=+b;return o(h)<1?(t(h)-t(-h))/2:(f(h-1)-f(-h-1))*(V/2)}return S}()})},26681:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,k=a(V),S=a(-V);return k===1/0?1:S===1/0?-1:(k-S)/(t(V)+t(-V))}return o}()})},83646:function(w,r,n){"use strict";var e=n(94234);e(Math,"Math",!0)},28876:function(w,r,n){"use strict";var e=n(77549),a=n(34606);e({target:"Math",stat:!0},{trunc:a})},36385:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(14141),o=n(40224),f=n(5376),V=n(18161),k=n(95945),S=n(89458),b=n(2566),h=n(33314),l=n(74352),c=n(4370),m=n(41746),d=n(34813).f,u=n(54168).f,s=n(56018).f,i=n(37497),C=n(35171).trim,v="Number",g=o[v],p=f[v],N=g.prototype,y=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(P){var R=c(P,"number");return typeof R=="bigint"?R:T(R)},T=function(P){var R=c(P,"number"),D,F,U,_,z,G,X,Y;if(l(R))throw new y("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=C(R),D=I(R,0),D===43||D===45){if(F=I(R,2),F===88||F===120)return NaN}else if(D===48){switch(I(R,1)){case 66:case 98:U=2,_=49;break;case 79:case 111:U=8,_=55;break;default:return+R}for(z=B(R,2),G=z.length,X=0;X_)return NaN;return parseInt(z,U)}}return+R},A=k(v,!g(" 0o1")||!g("0b1")||g("+0x1")),x=function(P){return h(N,P)&&m(function(){i(P)})},E=function(){function j(P){var R=arguments.length<1?0:g(L(P));return x(this)?b(Object(R),this,E):R}return j}();E.prototype=N,A&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(P,R){for(var D=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,U;D.length>F;F++)S(R,U=D[F])&&!S(P,U)&&s(P,U,u(R,U))};a&&p&&M(f[v],p),(A||a)&&M(f[v],g)},84295:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(w,r,n){"use strict";var e=n(77549),a=n(69079);e({target:"Number",stat:!0},{isFinite:a})},8846:function(w,r,n){"use strict";var e=n(77549),a=n(57696);e({target:"Number",stat:!0},{isInteger:a})},50237:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},6436:function(w,r,n){"use strict";var e=n(77549),a=n(57696),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},68286:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},82118:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},7419:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74952),o=n(37497),f=n(84948),V=n(41746),k=RangeError,S=String,b=Math.floor,h=a(f),l=a("".slice),c=a(1 .toFixed),m=function v(g,p,N){return p===0?N:p%2===1?v(g,p-1,N*g):v(g*g,p/2,N)},d=function(g){for(var p=0,N=g;N>=4096;)p+=12,N/=4096;for(;N>=2;)p+=1,N/=2;return p},u=function(g,p,N){for(var y=-1,B=N;++y<6;)B+=p*g[y],g[y]=B%1e7,B=b(B/1e7)},s=function(g,p){for(var N=6,y=0;--N>=0;)y+=g[N],g[N]=b(y/p),y=y%p*1e7},i=function(g){for(var p=6,N="";--p>=0;)if(N!==""||p===0||g[p]!==0){var y=S(g[p]);N=N===""?y:N+h("0",7-y.length)+y}return N},C=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:C},{toFixed:function(){function v(g){var p=o(this),N=t(g),y=[0,0,0,0,0,0],B="",I="0",L,T,A,x;if(N<0||N>20)throw new k("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return S(p);if(p<0&&(B="-",p=-p),p>1e-21)if(L=d(p*m(2,69,1))-69,T=L<0?p*m(2,-L,1):p/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(u(y,0,T),A=N;A>=7;)u(y,1e7,0),A-=7;for(u(y,m(10,A,1),0),A=L-1;A>=23;)s(y,8388608),A-=23;s(y,1<0?(x=I.length,I=B+(x<=N?"0."+h("0",N-x)+I:l(I,0,x-N)+"."+l(I,x-N))):I=B+I,I}return v}()})},42409:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(41746),o=n(37497),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function k(S){return S===void 0?f(o(this)):f(o(this),S)}return k}()})},29002:function(w,r,n){"use strict";var e=n(77549),a=n(12752);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},85795:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(28969);e({target:"Object",stat:!0,sham:!a},{create:t})},74722:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function k(S,b){V.f(f(this),S,{get:o(b),enumerable:!0,configurable:!0})}return k}()})},5300:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(65854).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},85684:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(56018).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},36014:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function k(S,b){V.f(f(this),S,{set:o(b),enumerable:!0,configurable:!0})}return k}()})},98551:function(w,r,n){"use strict";var e=n(77549),a=n(97452).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},66288:function(w,r,n){"use strict";var e=n(77549),a=n(56255),t=n(41746),o=n(56831),f=n(29126).onFreeze,V=Object.freeze,k=t(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!a},{freeze:function(){function S(b){return V&&o(b)?V(f(b)):b}return S}()})},26862:function(w,r,n){"use strict";var e=n(77549),a=n(281),t=n(12913);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(k,S){t(V,k,S)},{AS_ENTRIES:!0}),V}return o}()})},78686:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(96812),o=n(54168).f,f=n(14141),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function k(S,b){return o(t(S),b)}return k}()})},36789:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(93616),o=n(96812),f=n(54168),V=n(12913);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function k(S){for(var b=o(S),h=f.f,l=t(b),c={},m=0,d,u;l.length>m;)u=h(b,d=l[m++]),u!==void 0&&V(c,d,u);return c}return k}()})},82707:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(63797).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},93146:function(w,r,n){"use strict";var e=n(77549),a=n(70640),t=n(41746),o=n(34220),f=n(40076),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function k(S){var b=o.f;return b?b(f(S)):[]}return k}()})},69740:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(31658),f=n(58776),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function k(S){return o(t(S))}return k}()})},54789:function(w,r,n){"use strict";var e=n(77549),a=n(57975);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},49626:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isFrozen,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isFrozen:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},67660:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isSealed,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isSealed:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},87847:function(w,r,n){"use strict";var e=n(77549),a=n(37309);e({target:"Object",stat:!0},{is:a})},43619:function(w,r,n){"use strict";var e=n(77549),a=n(40076),t=n(84913),o=n(41746),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(k){return t(a(k))}return V}()})},42777:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),k=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(b){var h=o(this),l=f(b),c;do if(c=k(h,l))return c.get;while(h=V(h))}return S}()})},13045:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),k=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(b){var h=o(this),l=f(b),c;do if(c=k(h,l))return c.set;while(h=V(h))}return S}()})},38664:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.preventExtensions,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{preventExtensions:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},29650:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.seal,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{seal:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},58176:function(w,r,n){"use strict";var e=n(77549),a=n(42878);e({target:"Object",stat:!0},{setPrototypeOf:a})},35286:function(w,r,n){"use strict";var e=n(82161),a=n(59173),t=n(66628);e||a(Object.prototype,"toString",t,{unsafe:!0})},13313:function(w,r,n){"use strict";var e=n(77549),a=n(97452).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},26528:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},54959:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({global:!0,forced:parseInt!==a},{parseInt:a})},34344:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),k=n(95044);e({target:"Promise",stat:!0,forced:k},{all:function(){function S(b){var h=this,l=o.f(h),c=l.resolve,m=l.reject,d=f(function(){var u=t(h.resolve),s=[],i=0,C=1;V(b,function(v){var g=i++,p=!1;C++,a(u,h,v).then(function(N){p||(p=!0,s[g]=N,--C||c(s))},m)}),--C||c(s)});return d.error&&m(d.value),l.promise}return S}()})},60:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(49669).CONSTRUCTOR,o=n(35973),f=n(40164),V=n(7532),k=n(59173),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function h(l){return this.then(void 0,l)}return h}()}),!a&&V(o)){var b=f("Promise").prototype.catch;S.catch!==b&&k(S,"catch",b,{unsafe:!0})}},7803:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(95823),o=n(40224),f=n(62696),V=n(59173),k=n(42878),S=n(94234),b=n(67420),h=n(97361),l=n(7532),c=n(56831),m=n(19870),d=n(78412),u=n(91314).set,s=n(27150),i=n(46122),C=n(91114),v=n(23496),g=n(35086),p=n(35973),N=n(49669),y=n(48532),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,A=g.getterFor(B),x=g.set,E=p&&p.prototype,M=p,j=E,P=o.TypeError,R=o.document,D=o.process,F=y.f,U=F,_=!!(R&&R.createEvent&&o.dispatchEvent),z="unhandledrejection",G="rejectionhandled",X=0,Y=1,J=2,ie=1,ae=2,fe,pe,be,te,Q=function(Ve){var Ie;return c(Ve)&&l(Ie=Ve.then)?Ie:!1},ne=function(Ve,Ie){var we=Ie.value,xe=Ie.state===Y,Oe=xe?Ve.ok:Ve.fail,We=Ve.resolve,Ne=Ve.reject,re=Ve.domain,de,he,se;try{Oe?(xe||(Ie.rejection===ae&&ke(Ie),Ie.rejection=ie),Oe===!0?de=we:(re&&re.enter(),de=Oe(we),re&&(re.exit(),se=!0)),de===Ve.promise?Ne(new P("Promise-chain cycle")):(he=Q(de))?f(he,de,We,Ne):We(de)):Ne(we)}catch(ve){re&&!se&&re.exit(),Ne(ve)}},me=function(Ve,Ie){Ve.notified||(Ve.notified=!0,s(function(){for(var we=Ve.reactions,xe;xe=we.get();)ne(xe,Ve);Ve.notified=!1,Ie&&!Ve.rejection&&ue(Ve)}))},ce=function(Ve,Ie,we){var xe,Oe;_?(xe=R.createEvent("Event"),xe.promise=Ie,xe.reason=we,xe.initEvent(Ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Ie,reason:we},!L&&(Oe=o["on"+Ve])?Oe(xe):Ve===z&&i("Unhandled promise rejection",we)},ue=function(Ve){f(u,o,function(){var Ie=Ve.facade,we=Ve.value,xe=oe(Ve),Oe;if(xe&&(Oe=C(function(){t?D.emit("unhandledRejection",we,Ie):ce(z,Ie,we)}),Ve.rejection=t||oe(Ve)?ae:ie,Oe.error))throw Oe.value})},oe=function(Ve){return Ve.rejection!==ie&&!Ve.parent},ke=function(Ve){f(u,o,function(){var Ie=Ve.facade;t?D.emit("rejectionHandled",Ie):ce(G,Ie,Ve.value)})},Be=function(Ve,Ie,we){return function(xe){Ve(Ie,xe,we)}},Ce=function(Ve,Ie,we){Ve.done||(Ve.done=!0,we&&(Ve=we),Ve.value=Ie,Ve.state=J,me(Ve,!0))},ge=function ye(Ve,Ie,we){if(!Ve.done){Ve.done=!0,we&&(Ve=we);try{if(Ve.facade===Ie)throw new P("Promise can't be resolved itself");var xe=Q(Ie);xe?s(function(){var Oe={done:!1};try{f(xe,Ie,Be(ye,Oe,Ve),Be(Ce,Oe,Ve))}catch(We){Ce(Oe,We,Ve)}}):(Ve.value=Ie,Ve.state=Y,me(Ve,!1))}catch(Oe){Ce({done:!1},Oe,Ve)}}};if(I&&(M=function(){function ye(Ve){m(this,j),h(Ve),f(fe,this);var Ie=A(this);try{Ve(Be(ge,Ie),Be(Ce,Ie))}catch(we){Ce(Ie,we)}}return ye}(),j=M.prototype,fe=function(){function ye(Ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:X,value:void 0})}return ye}(),fe.prototype=V(j,"then",function(){function ye(Ve,Ie){var we=A(this),xe=F(d(this,M));return we.parent=!0,xe.ok=l(Ve)?Ve:!0,xe.fail=l(Ie)&&Ie,xe.domain=t?D.domain:void 0,we.state===X?we.reactions.add(xe):s(function(){ne(xe,we)}),xe.promise}return ye}()),pe=function(){var Ve=new fe,Ie=A(Ve);this.promise=Ve,this.resolve=Be(ge,Ie),this.reject=Be(Ce,Ie)},y.f=F=function(Ve){return Ve===M||Ve===be?new pe(Ve):U(Ve)},!a&&l(p)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ye(Ve,Ie){var we=this;return new M(function(xe,Oe){f(te,we,xe,Oe)}).then(Ve,Ie)}return ye}(),{unsafe:!0});try{delete E.constructor}catch(ye){}k&&k(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),b(B)},54412:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(35973),o=n(41746),f=n(40164),V=n(7532),k=n(78412),S=n(43827),b=n(59173),h=t&&t.prototype,l=!!t&&o(function(){h.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function m(d){var u=k(this,f("Promise")),s=V(d);return this.then(s?function(i){return S(u,d()).then(function(){return i})}:d,s?function(i){return S(u,d()).then(function(){throw i})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;h.finally!==c&&b(h,"finally",c,{unsafe:!0})}},78129:function(w,r,n){"use strict";n(7803),n(34344),n(60),n(61270),n(82248),n(30347)},61270:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),k=n(95044);e({target:"Promise",stat:!0,forced:k},{race:function(){function S(b){var h=this,l=o.f(h),c=l.reject,m=f(function(){var d=t(h.resolve);V(b,function(u){a(d,h,u).then(l.resolve,c)})});return m.error&&c(m.value),l.promise}return S}()})},82248:function(w,r,n){"use strict";var e=n(77549),a=n(48532),t=n(49669).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),k=V.reject;return k(f),V.promise}return o}()})},30347:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(11478),o=n(35973),f=n(49669).CONSTRUCTOR,V=n(43827),k=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function b(h){return V(S&&this===k?o:this,h)}return b}()})},82427:function(w,r,n){"use strict";var e=n(77549),a=n(70918),t=n(97361),o=n(39482),f=n(41746),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function k(S,b,h){return a(t(S),b,o(h))}return k}()})},8390:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(9379),f=n(76833),V=n(39482),k=n(56831),S=n(28969),b=n(41746),h=a("Reflect","construct"),l=Object.prototype,c=[].push,m=b(function(){function s(){}return!(h(function(){},[],s)instanceof s)}),d=!b(function(){h(function(){})}),u=m||d;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(i,C){f(i),V(C);var v=arguments.length<3?i:f(arguments[2]);if(d&&!m)return h(i,C,v);if(i===v){switch(C.length){case 0:return new i;case 1:return new i(C[0]);case 2:return new i(C[0],C[1]);case 3:return new i(C[0],C[1],C[2]);case 4:return new i(C[0],C[1],C[2],C[3])}var g=[null];return t(c,g,C),new(t(o,i,g))}var p=v.prototype,N=S(k(p)?p:l),y=t(i,N,C);return k(y)?y:N}return s}()})},68260:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(57640),f=n(56018),V=n(41746),k=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:k,sham:!a},{defineProperty:function(){function S(b,h,l){t(b);var c=o(h);t(l);try{return f.f(b,c,l),!0}catch(m){return!1}}return S}()})},86508:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(54168).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var k=t(a(f),V);return k&&!k.configurable?!1:delete f[V]}return o}()})},17134:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(54168);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,k){return o.f(t(V),k)}return f}()})},18972:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(31658),o=n(58776);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},65971:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(56831),o=n(39482),f=n(35892),V=n(54168),k=n(31658);function S(b,h){var l=arguments.length<3?b:arguments[2],c,m;if(o(b)===l)return b[h];if(c=V.f(b,h),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(m=k(b)))return S(m,h,l)}e({target:"Reflect",stat:!0},{get:S})},78623:function(w,r,n){"use strict";var e=n(77549);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},60149:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(57975);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},56380:function(w,r,n){"use strict";var e=n(77549),a=n(93616);e({target:"Reflect",stat:!0},{ownKeys:a})},72792:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(39482),o=n(56255);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var k=a("Object","preventExtensions");return k&&k(V),!0}catch(S){return!1}}return f}()})},25168:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(51689),o=n(42878);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,k){a(V),t(k);try{return o(V,k),!0}catch(S){return!1}}return f}()})},60631:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(39482),o=n(56831),f=n(35892),V=n(41746),k=n(56018),S=n(54168),b=n(31658),h=n(7539);function l(m,d,u){var s=arguments.length<4?m:arguments[3],i=S.f(t(m),d),C,v,g;if(!i){if(o(v=b(m)))return l(v,d,u,s);i=h(0)}if(f(i)){if(i.writable===!1||!o(s))return!1;if(C=S.f(s,d)){if(C.get||C.set||C.writable===!1)return!1;C.value=u,k.f(s,d,C)}else k.f(s,d,h(0,u))}else{if(g=i.set,g===void 0)return!1;a(g,s,u)}return!0}var c=V(function(){var m=function(){},d=k.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},85177:function(w,r,n){"use strict";var e=n(14141),a=n(40224),t=n(18161),o=n(95945),f=n(2566),V=n(16216),k=n(28969),S=n(34813).f,b=n(33314),h=n(80969),l=n(26602),c=n(60425),m=n(1064),d=n(77495),u=n(59173),s=n(41746),i=n(89458),C=n(35086).enforce,v=n(67420),g=n(66266),p=n(89604),N=n(5489),y=g("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,R=/a/g,D=new B(P)!==P,F=m.MISSED_STICKY,U=m.UNSUPPORTED_Y,_=e&&(!D||F||p||N||s(function(){return R[y]=!1,B(P)!==P||B(R)===R||String(B(P,"i"))!=="/a/i"})),z=function(ae){for(var fe=ae.length,pe=0,be="",te=!1,Q;pe<=fe;pe++){if(Q=A(ae,pe),Q==="\\"){be+=Q+A(ae,++pe);continue}!te&&Q==="."?be+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),be+=Q)}return be},G=function(ae){for(var fe=ae.length,pe=0,be="",te=[],Q=k(null),ne=!1,me=!1,ce=0,ue="",oe;pe<=fe;pe++){if(oe=A(ae,pe),oe==="\\")oe+=A(ae,++pe);else if(oe==="]")ne=!1;else if(!ne)switch(!0){case oe==="[":ne=!0;break;case oe==="(":T(j,M(ae,pe+1))&&(pe+=2,me=!0),be+=oe,ce++;continue;case(oe===">"&&me):if(ue===""||i(Q,ue))throw new L("Invalid capture group name");Q[ue]=!0,te[te.length]=[ue,ce],me=!1,ue="";continue}me?ue+=oe:be+=oe}return[be,te]};if(o("RegExp",_)){for(var X=function(){function ie(ae,fe){var pe=b(I,this),be=h(ae),te=fe===void 0,Q=[],ne=ae,me,ce,ue,oe,ke,Be;if(!pe&&be&&te&&ae.constructor===X)return ae;if((be||b(I,ae))&&(ae=ae.source,te&&(fe=c(ne))),ae=ae===void 0?"":l(ae),fe=fe===void 0?"":l(fe),ne=ae,p&&"dotAll"in P&&(ce=!!fe&&E(fe,"s")>-1,ce&&(fe=x(fe,/s/g,""))),me=fe,F&&"sticky"in P&&(ue=!!fe&&E(fe,"y")>-1,ue&&U&&(fe=x(fe,/y/g,""))),N&&(oe=G(ae),ae=oe[0],Q=oe[1]),ke=f(B(ae,fe),pe?this:I,X),(ce||ue||Q.length)&&(Be=C(ke),ce&&(Be.dotAll=!0,Be.raw=X(z(ae),me)),ue&&(Be.sticky=!0),Q.length&&(Be.groups=Q)),ae!==ne)try{V(ke,"source",ne===""?"(?:)":ne)}catch(Ce){}return ke}return ie}(),Y=S(B),J=0;Y.length>J;)d(X,B,Y[J++]);I.constructor=X,X.prototype=I,u(a,"RegExp",X,{constructor:!0})}v("RegExp")},95880:function(w,r,n){"use strict";var e=n(77549),a=n(72894);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},59978:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=n(10069),o=n(65844),f=n(41746),V=e.RegExp,k=V.prototype,S=a&&f(function(){var b=!0;try{V(".","d")}catch(i){b=!1}var h={},l="",c=b?"dgimsy":"gimsy",m=function(C,v){Object.defineProperty(h,C,{get:function(){function g(){return l+=v,!0}return g}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};b&&(d.hasIndices="d");for(var u in d)m(u,d[u]);var s=Object.getOwnPropertyDescriptor(k,"flags").get.call(h);return s!==c||l!==c});S&&t(k,"flags",{configurable:!0,get:o})},96360:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(59173),t=n(39482),o=n(26602),f=n(41746),V=n(60425),k="toString",S=RegExp.prototype,b=S[k],h=f(function(){return b.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&b.name!==k;(h||l)&&a(S,k,function(){function c(){var m=t(this),d=o(m.source),u=o(V(m));return"/"+d+"/"+u}return c}(),{unsafe:!0})},47338:function(w,r,n){"use strict";var e=n(93439),a=n(10623);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},43108:function(w,r,n){"use strict";n(47338)},36:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},30519:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},33547:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},53426:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},37801:function(w,r,n){"use strict";var e=n(77549),a=n(56852).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},3044:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),f=n(26602),V=n(89140),k=n(91029),S=n(93321),b=n(11478),h=a("".slice),l=Math.min,c=S("endsWith"),m=!b&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(u){var s=f(k(this));V(u);var i=arguments.length>1?arguments[1]:void 0,C=s.length,v=i===void 0?C:l(o(i),C),g=f(u);return h(s,v-g.length,v)===g}return d}()})},32031:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},13153:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},21953:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},48432:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74067),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,k=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function b(h){for(var l=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");l[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return k(l,"")}return b}()})},54564:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(89140),o=n(91029),f=n(26602),V=n(93321),k=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(b){return!!~k(f(o(this)),f(t(b)),arguments.length>1?arguments[1]:void 0)}return S}()})},83560:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},58179:function(w,r,n){"use strict";var e=n(56852).charAt,a=n(26602),t=n(35086),o=n(2449),f=n(77056),V="String Iterator",k=t.set,S=t.getterFor(V);o(String,"String",function(b){k(this,{type:V,string:a(b),index:0})},function(){function b(){var h=S(this),l=h.string,c=h.index,m;return c>=l.length?f(void 0,!0):(m=e(l,c),h.index+=m.length,f(m,!1))}return b}())},63465:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},68164:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(10475),V=n(26602),k=n(91029),S=n(4817),b=n(62970),h=n(35553);a("match",function(l,c,m){return[function(){function d(u){var s=k(this),i=o(u)?void 0:S(u,l);return i?e(i,u,s):new RegExp(u)[l](V(s))}return d}(),function(d){var u=t(this),s=V(d),i=m(c,u,s);if(i.done)return i.value;if(!u.global)return h(u,s);var C=u.unicode;u.lastIndex=0;for(var v=[],g=0,p;(p=h(u,s))!==null;){var N=V(p[0]);v[g]=N,N===""&&(u.lastIndex=b(s,f(u.lastIndex),C)),g++}return g===0?null:v}]})},58880:function(w,r,n){"use strict";var e=n(77549),a=n(34086).end,t=n(33038);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},54465:function(w,r,n){"use strict";var e=n(77549),a=n(34086).start,t=n(33038);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},97327:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(96812),o=n(40076),f=n(26602),V=n(8333),k=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function b(h){var l=t(o(h).raw),c=V(l);if(!c)return"";for(var m=arguments.length,d=[],u=0;;){if(k(d,f(l[u++])),u===c)return S(d,"");u")!=="7"});o("replace",function(x,E,M){var j=T?"$":"$0";return[function(){function P(R,D){var F=c(this),U=S(R)?void 0:d(R,C);return U?a(U,R,F,D):a(E,l(F),R,D)}return P}(),function(P,R){var D=V(this),F=l(P);if(typeof R=="string"&&y(R,j)===-1&&y(R,"$<")===-1){var U=M(E,D,F,R);if(U.done)return U.value}var _=k(R);_||(R=l(R));var z=D.global,G;z&&(G=D.unicode,D.lastIndex=0);for(var X=[],Y;Y=s(D,F),!(Y===null||(N(X,Y),!z));){var J=l(Y[0]);J===""&&(D.lastIndex=m(F,h(D.lastIndex),G))}for(var ie="",ae=0,fe=0;fe=ae&&(ie+=B(F,ae,be)+Q,ae=be+pe.length)}return ie+B(F,ae)}]},!A||!L||T)},17337:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(91029),V=n(37309),k=n(26602),S=n(4817),b=n(35553);a("search",function(h,l,c){return[function(){function m(d){var u=f(this),s=o(d)?void 0:S(d,h);return s?e(s,d,u):new RegExp(d)[h](k(u))}return m}(),function(m){var d=t(this),u=k(m),s=c(l,d,u);if(s.done)return s.value;var i=d.lastIndex;V(i,0)||(d.lastIndex=0);var C=b(d,u);return V(d.lastIndex,i)||(d.lastIndex=i),C===null?-1:C.index}]})},98998:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},53713:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(85427),o=n(39482),f=n(1022),V=n(91029),k=n(78412),S=n(62970),b=n(10475),h=n(26602),l=n(4817),c=n(35553),m=n(1064),d=n(41746),u=m.UNSUPPORTED_Y,s=4294967295,i=Math.min,C=a([].push),v=a("".slice),g=!d(function(){var N=/(?:)/,y=N.exec;N.exec=function(){return y.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,y,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(y,this,L,T)}:y;return[function(){function L(T,A){var x=V(this),E=f(T)?void 0:l(T,N);return E?e(E,T,x,A):e(I,h(x),T,A)}return L}(),function(L,T){var A=o(this),x=h(L);if(!p){var E=B(I,A,x,T,I!==y);if(E.done)return E.value}var M=k(A,RegExp),j=A.unicode,P=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(u?"g":"y"),R=new M(u?"^(?:"+A.source+")":A,P),D=T===void 0?s:T>>>0;if(D===0)return[];if(x.length===0)return c(R,x)===null?[x]:[];for(var F=0,U=0,_=[];U1?arguments[1]:void 0,s.length)),C=f(u);return h(s,i,i+C.length)===C}return d}()})},96227:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15483:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},86829:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},93073:function(w,r,n){"use strict";n(17434);var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},69107:function(w,r,n){"use strict";var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},17434:function(w,r,n){"use strict";var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},50800:function(w,r,n){"use strict";n(69107);var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},11121:function(w,r,n){"use strict";var e=n(77549),a=n(35171).trim,t=n(93817);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},46951:function(w,r,n){"use strict";var e=n(15388);e("asyncIterator")},9056:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(18161),f=n(11478),V=n(14141),k=n(70640),S=n(41746),b=n(89458),h=n(33314),l=n(39482),c=n(96812),m=n(57640),d=n(26602),u=n(7539),s=n(28969),i=n(84913),C=n(34813),v=n(63797),g=n(34220),p=n(54168),N=n(56018),y=n(65854),B=n(9776),I=n(59173),L=n(10069),T=n(75130),A=n(5160),x=n(21124),E=n(33345),M=n(66266),j=n(32938),P=n(15388),R=n(75429),D=n(94234),F=n(35086),U=n(67480).forEach,_=A("hidden"),z="Symbol",G="prototype",X=F.set,Y=F.getterFor(z),J=Object[G],ie=a.Symbol,ae=ie&&ie[G],fe=a.RangeError,pe=a.TypeError,be=a.QObject,te=p.f,Q=N.f,ne=v.f,me=B.f,ce=o([].push),ue=T("symbols"),oe=T("op-symbols"),ke=T("wks"),Be=!be||!be[G]||!be[G].findChild,Ce=function(de,he,se){var ve=te(J,he);ve&&delete J[he],Q(de,he,se),ve&&de!==J&&Q(J,he,ve)},ge=V&&S(function(){return s(Q({},"a",{get:function(){function re(){return Q(this,"a",{value:7}).a}return re}()})).a!==7})?Ce:Q,ye=function(de,he){var se=ue[de]=s(ae);return X(se,{type:z,tag:de,description:he}),V||(se.description=he),se},Ve=function(){function re(de,he,se){de===J&&Ve(oe,he,se),l(de);var ve=m(he);return l(se),b(ue,ve)?(se.enumerable?(b(de,_)&&de[_][ve]&&(de[_][ve]=!1),se=s(se,{enumerable:u(0,!1)})):(b(de,_)||Q(de,_,u(1,s(null))),de[_][ve]=!0),ge(de,ve,se)):Q(de,ve,se)}return re}(),Ie=function(){function re(de,he){l(de);var se=c(he),ve=i(se).concat(Ne(se));return U(ve,function(Ae){(!V||t(xe,se,Ae))&&Ve(de,Ae,se[Ae])}),de}return re}(),we=function(){function re(de,he){return he===void 0?s(de):Ie(s(de),he)}return re}(),xe=function(){function re(de){var he=m(de),se=t(me,this,he);return this===J&&b(ue,he)&&!b(oe,he)?!1:se||!b(this,he)||!b(ue,he)||b(this,_)&&this[_][he]?se:!0}return re}(),Oe=function(){function re(de,he){var se=c(de),ve=m(he);if(!(se===J&&b(ue,ve)&&!b(oe,ve))){var Ae=te(se,ve);return Ae&&b(ue,ve)&&!(b(se,_)&&se[_][ve])&&(Ae.enumerable=!0),Ae}}return re}(),We=function(){function re(de){var he=ne(c(de)),se=[];return U(he,function(ve){!b(ue,ve)&&!b(x,ve)&&ce(se,ve)}),se}return re}(),Ne=function(de){var he=de===J,se=ne(he?oe:c(de)),ve=[];return U(se,function(Ae){b(ue,Ae)&&(!he||b(J,Ae))&&ce(ve,ue[Ae])}),ve};k||(ie=function(){function re(){if(h(ae,this))throw new pe("Symbol is not a constructor");var de=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),he=E(de),se=function(){function ve(Ae){var De=this===void 0?a:this;De===J&&t(ve,oe,Ae),b(De,_)&&b(De[_],he)&&(De[_][he]=!1);var je=u(1,Ae);try{ge(De,he,je)}catch(_e){if(!(_e instanceof fe))throw _e;Ce(De,he,je)}}return ve}();return V&&Be&&ge(J,he,{configurable:!0,set:se}),ye(he,de)}return re}(),ae=ie[G],I(ae,"toString",function(){function re(){return Y(this).tag}return re}()),I(ie,"withoutSetter",function(re){return ye(E(re),re)}),B.f=xe,N.f=Ve,y.f=Ie,p.f=Oe,C.f=v.f=We,g.f=Ne,j.f=function(re){return ye(M(re),re)},V&&(L(ae,"description",{configurable:!0,get:function(){function re(){return Y(this).description}return re}()}),f||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!k,sham:!k},{Symbol:ie}),U(i(ke),function(re){P(re)}),e({target:z,stat:!0,forced:!k},{useSetter:function(){function re(){Be=!0}return re}(),useSimple:function(){function re(){Be=!1}return re}()}),e({target:"Object",stat:!0,forced:!k,sham:!V},{create:we,defineProperty:Ve,defineProperties:Ie,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:We}),R(),D(ie,z),x[_]=!0},27718:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(40224),o=n(18161),f=n(89458),V=n(7532),k=n(33314),S=n(26602),b=n(10069),h=n(70113),l=t.Symbol,c=l&&l.prototype;if(a&&V(l)&&(!("description"in c)||l().description!==void 0)){var m={},d=function(){function p(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),y=k(c,this)?new l(N):N===void 0?l():l(N);return N===""&&(m[y]=!0),y}return p}();h(d,l),d.prototype=c,c.constructor=d;var u=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),C=/^Symbol\((.*)\)[^)]+$/,v=o("".replace),g=o("".slice);b(c,"description",{configurable:!0,get:function(){function p(){var N=s(this);if(f(m,N))return"";var y=i(N),B=u?g(y,7,-1):v(y,C,"$1");return B===""?void 0:B}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},18611:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(89458),o=n(26602),f=n(75130),V=n(80353),k=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function b(h){var l=o(h);if(t(k,l))return k[l];var c=a("Symbol")(l);return k[l]=c,S[c]=l,c}return b}()})},86042:function(w,r,n){"use strict";var e=n(15388);e("hasInstance")},93267:function(w,r,n){"use strict";var e=n(15388);e("isConcatSpreadable")},41664:function(w,r,n){"use strict";var e=n(15388);e("iterator")},99414:function(w,r,n){"use strict";n(9056),n(18611),n(30661),n(12183),n(93146)},30661:function(w,r,n){"use strict";var e=n(77549),a=n(89458),t=n(74352),o=n(62518),f=n(75130),V=n(80353),k=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(b){if(!t(b))throw new TypeError(o(b)+" is not a symbol");if(a(k,b))return k[b]}return S}()})},48965:function(w,r,n){"use strict";var e=n(15388);e("match")},44844:function(w,r,n){"use strict";var e=n(15388);e("replace")},25030:function(w,r,n){"use strict";var e=n(15388);e("search")},96454:function(w,r,n){"use strict";var e=n(15388);e("species")},77564:function(w,r,n){"use strict";var e=n(15388);e("split")},44875:function(w,r,n){"use strict";var e=n(15388),a=n(75429);e("toPrimitive"),a()},77904:function(w,r,n){"use strict";var e=n(40164),a=n(15388),t=n(94234);a("toStringTag"),t(e("Symbol"),"Symbol")},35723:function(w,r,n){"use strict";var e=n(15388);e("unscopables")},84805:function(w,r,n){"use strict";var e=n(18161),a=n(72951),t=n(42320),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function k(S,b){return o(f(this),S,b,arguments.length>2?arguments[2]:void 0)}return k}())},79305:function(w,r,n){"use strict";var e=n(72951),a=n(67480).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},71573:function(w,r,n){"use strict";var e=n(72951),a=n(59942),t=n(757),o=n(27806),f=n(62696),V=n(18161),k=n(41746),S=e.aTypedArray,b=e.exportTypedArrayMethod,h=V("".slice),l=k(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});b("fill",function(){function c(m){var d=arguments.length;S(this);var u=h(o(this),0,3)==="Big"?t(m):+m;return f(a,this,u,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),l)},47910:function(w,r,n){"use strict";var e=n(72951),a=n(67480).filter,t=n(80936),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(k){var S=a(o(this),k,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},99662:function(w,r,n){"use strict";var e=n(72951),a=n(67480).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},48447:function(w,r,n){"use strict";var e=n(72951),a=n(67480).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68265:function(w,r,n){"use strict";var e=n(12218);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},36030:function(w,r,n){"use strict";var e=n(12218);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},57371:function(w,r,n){"use strict";var e=n(72951),a=n(67480).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68220:function(w,r,n){"use strict";var e=n(66220),a=n(72951).exportTypedArrayStaticMethod,t=n(7996);a("from",t,e)},15745:function(w,r,n){"use strict";var e=n(72951),a=n(64210).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43398:function(w,r,n){"use strict";var e=n(72951),a=n(64210).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},25888:function(w,r,n){"use strict";var e=n(12218);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},35718:function(w,r,n){"use strict";var e=n(12218);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},32791:function(w,r,n){"use strict";var e=n(12218);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},97722:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(72951),f=n(65809),V=n(66266),k=V("iterator"),S=e.Uint8Array,b=t(f.values),h=t(f.keys),l=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,u=!a(function(){d[k].call([1])}),s=!!d&&d.values&&d[k]===d.values&&d.values.name==="values",i=function(){function C(){return b(c(this))}return C}();m("entries",function(){function C(){return l(c(this))}return C}(),u),m("keys",function(){function C(){return h(c(this))}return C}(),u),m("values",i,u||!s,{name:"values"}),m(k,i,u||!s,{name:"values"})},79088:function(w,r,n){"use strict";var e=n(72951),a=n(18161),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(k){return f(t(this),k)}return V}())},6075:function(w,r,n){"use strict";var e=n(72951),a=n(70918),t=n(16934),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(k){var S=arguments.length;return a(t,o(this),S>1?[k,arguments[1]]:[k])}return V}())},46896:function(w,r,n){"use strict";var e=n(72951),a=n(67480).map,t=n(489),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(k){return a(o(this),k,arguments.length>1?arguments[1]:void 0,function(S,b){return new(t(S))(b)})}return V}())},47145:function(w,r,n){"use strict";var e=n(72951),a=n(66220),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,k=arguments.length,S=new(t(this))(k);k>V;)S[V]=arguments[V++];return S}return f}(),a)},349:function(w,r,n){"use strict";var e=n(72951),a=n(98405).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},72606:function(w,r,n){"use strict";var e=n(72951),a=n(98405).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},28292:function(w,r,n){"use strict";var e=n(72951),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,k=a(V).length,S=o(k/2),b=0,h;b1?arguments[1]:void 0,1),v=V(i);if(d)return a(l,this,v,C);var g=this.length,p=o(v),N=0;if(p+C>g)throw new S("Wrong length");for(;Nm;)u[m]=l[m++];return u}return S}(),k)},74188:function(w,r,n){"use strict";var e=n(72951),a=n(67480).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81976:function(w,r,n){"use strict";var e=n(40224),a=n(85067),t=n(41746),o=n(97361),f=n(44815),V=n(72951),k=n(49847),S=n(56605),b=n(82709),h=n(53125),l=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),u=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(b)return b<74;if(k)return k<67;if(S)return!0;if(h)return h<602;var C=new m(516),v=Array(516),g,p;for(g=0;g<516;g++)p=g%4,C[g]=515-g,v[g]=g-2*p+3;for(d(C,function(N,y){return(N/4|0)-(y/4|0)}),g=0;g<516;g++)if(C[g]!==v[g])return!0}),i=function(v){return function(g,p){return v!==void 0?+v(g,p)||0:p!==p?-1:g!==g?1:g===0&&p===0?1/g>0&&1/p<0?1:-1:g>p}};c("sort",function(){function C(v){return v!==void 0&&o(v),s?d(this,v):f(l(this),i(v))}return C}(),!s||u)},78651:function(w,r,n){"use strict";var e=n(72951),a=n(10475),t=n(74067),o=n(489),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function k(S,b){var h=f(this),l=h.length,c=t(S,l),m=o(h);return new m(h.buffer,h.byteOffset+c*h.BYTES_PER_ELEMENT,a((b===void 0?l:t(b,l))-c))}return k}())},81664:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(72951),o=n(41746),f=n(77713),V=e.Int8Array,k=t.aTypedArray,S=t.exportTypedArrayMethod,b=[].toLocaleString,h=!!V&&o(function(){b.call(new V(1))}),l=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(b,h?f(k(this)):k(this),f(arguments))}return c}(),l)},35579:function(w,r,n){"use strict";var e=n(72951).exportTypedArrayMethod,a=n(41746),t=n(40224),o=n(18161),f=t.Uint8Array,V=f&&f.prototype||{},k=[].toString,S=o([].join);a(function(){k.call({})})&&(k=function(){function h(){return S(this)}return h}());var b=V.toString!==k;e("toString",k,b)},99683:function(w,r,n){"use strict";var e=n(12218);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},80941:function(w,r,n){"use strict";var e=n(12218);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},45338:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},40737:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},74283:function(w,r,n){"use strict";var e=n(56255),a=n(40224),t=n(18161),o=n(13648),f=n(29126),V=n(93439),k=n(32920),S=n(56831),b=n(35086).enforce,h=n(41746),l=n(90777),c=Object,m=Array.isArray,d=c.isExtensible,u=c.isFrozen,s=c.isSealed,i=c.freeze,C=c.seal,v=!a.ActiveXObject&&"ActiveXObject"in a,g,p=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},N=V("WeakMap",p,k),y=N.prototype,B=t(y.set),I=function(){return e&&h(function(){var E=i([]);return B(new N,E,1),!u(E)})};if(l)if(v){g=k.getConstructor(p,"WeakMap",!0),f.enable();var L=t(y.delete),T=t(y.has),A=t(y.get);o(y,{delete:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),L(this,E)||M.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),T(this,E)||M.frozen.has(E)}return T(this,E)}return x}(),get:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),T(this,E)?A(this,E):M.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,M){if(S(E)&&!d(E)){var j=b(this);j.frozen||(j.frozen=new g),T(this,E)?B(this,E,M):j.frozen.set(E,M)}else B(this,E,M);return this}return x}()})}else I()&&o(y,{set:function(){function x(E,M){var j;return m(E)&&(u(E)?j=i:s(E)&&(j=C)),B(this,E,M),j&&j(E),this}return x}()})},84033:function(w,r,n){"use strict";n(74283)},82389:function(w,r,n){"use strict";var e=n(93439),a=n(32920);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},71863:function(w,r,n){"use strict";n(82389)},73993:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},55457:function(w,r,n){"use strict";n(73993),n(72532)},57399:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(27150),o=n(97361),f=n(22789),V=n(41746),k=n(14141),S=V(function(){return k&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function b(h){f(arguments.length,1),t(o(h))}return b}()})},72532:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).set,o=n(83827),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},48112:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},82274:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},65836:function(w,r,n){"use strict";n(48112),n(82274)},50719:function(w){"use strict";/** + */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},21965:function(){},28169:function(){},36487:function(){},35739:function(){},33631:function(){},74785:function(){},6895:function(){},3251:function(){},38265:function(){},7455:function(){},58823:function(){},49265:function(){},55350:function(){},45503:function(){},36557:function(){},70555:function(){},70752:function(w,r,n){var e={"./pai_atmosphere.js":24704,"./pai_bioscan.js":4209,"./pai_directives.js":44430,"./pai_doorjack.js":3367,"./pai_main_menu.js":73395,"./pai_manifest.js":37645,"./pai_medrecords.js":15836,"./pai_messenger.js":91737,"./pai_radio.js":94077,"./pai_secrecords.js":72621,"./pai_signaler.js":53483};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=70752},59395:function(w,r,n){var e={"./pda_atmos_scan.js":21606,"./pda_janitor.js":12339,"./pda_main_menu.js":36615,"./pda_manifest.js":99737,"./pda_medical.js":61597,"./pda_messenger.js":30709,"./pda_mule.js":68053,"./pda_nanobank.js":31728,"./pda_notes.js":29415,"./pda_power.js":52363,"./pda_secbot.js":23914,"./pda_security.js":68878,"./pda_signaler.js":95135,"./pda_status_display.js":20835,"./pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=59395},32054:function(w,r,n){var e={"./AICard":29732,"./AICard.js":29732,"./AIFixer":78468,"./AIFixer.js":78468,"./APC":73544,"./APC.js":73544,"./ATM":79098,"./ATM.js":79098,"./AccountsUplinkTerminal":64613,"./AccountsUplinkTerminal.js":64613,"./AiAirlock":56839,"./AiAirlock.js":56839,"./AirAlarm":5565,"./AirAlarm.js":5565,"./AirlockAccessController":82915,"./AirlockAccessController.js":82915,"./AirlockElectronics":14962,"./AirlockElectronics.js":14962,"./AlertModal":99327,"./AlertModal.tsx":99327,"./AppearanceChanger":88642,"./AppearanceChanger.js":88642,"./AtmosAlertConsole":51731,"./AtmosAlertConsole.js":51731,"./AtmosControl":57467,"./AtmosControl.js":57467,"./AtmosFilter":41550,"./AtmosFilter.js":41550,"./AtmosMixer":70151,"./AtmosMixer.js":70151,"./AtmosPump":54090,"./AtmosPump.js":54090,"./AtmosTankControl":31335,"./AtmosTankControl.js":31335,"./Autolathe":85909,"./Autolathe.js":85909,"./BioChipPad":81617,"./BioChipPad.js":81617,"./Biogenerator":26215,"./Biogenerator.js":26215,"./BloomEdit":70225,"./BloomEdit.js":70225,"./BlueSpaceArtilleryControl":65483,"./BlueSpaceArtilleryControl.js":65483,"./BluespaceTap":69099,"./BluespaceTap.js":69099,"./BodyScanner":71736,"./BodyScanner.js":71736,"./BookBinder":99449,"./BookBinder.js":99449,"./BotCall":85951,"./BotCall.js":85951,"./BotClean":43506,"./BotClean.js":43506,"./BotFloor":89593,"./BotFloor.js":89593,"./BotHonk":89513,"./BotHonk.js":89513,"./BotMed":19297,"./BotMed.js":19297,"./BotSecurity":4249,"./BotSecurity.js":4249,"./BrigCells":27267,"./BrigCells.js":27267,"./BrigTimer":26623,"./BrigTimer.js":26623,"./CameraConsole":43542,"./CameraConsole.js":43542,"./Canister":95513,"./Canister.js":95513,"./CardComputer":60463,"./CardComputer.js":60463,"./CargoConsole":16377,"./CargoConsole.js":16377,"./ChangelogView":89917,"./ChangelogView.js":89917,"./ChemDispenser":71254,"./ChemDispenser.js":71254,"./ChemHeater":27004,"./ChemHeater.js":27004,"./ChemMaster":41099,"./ChemMaster.tsx":41099,"./CloningConsole":51327,"./CloningConsole.js":51327,"./CloningPod":66373,"./CloningPod.js":66373,"./CoinMint":38781,"./CoinMint.tsx":38781,"./ColourMatrixTester":11866,"./ColourMatrixTester.js":11866,"./CommunicationsComputer":22420,"./CommunicationsComputer.js":22420,"./CompostBin":46868,"./CompostBin.js":46868,"./Contractor":64707,"./Contractor.js":64707,"./ConveyorSwitch":52141,"./ConveyorSwitch.js":52141,"./CrewMonitor":94187,"./CrewMonitor.js":94187,"./Cryo":60561,"./Cryo.js":60561,"./CryopodConsole":27889,"./CryopodConsole.js":27889,"./DNAModifier":81434,"./DNAModifier.js":81434,"./DestinationTagger":99127,"./DestinationTagger.js":99127,"./DisposalBin":93430,"./DisposalBin.js":93430,"./DnaVault":31491,"./DnaVault.js":31491,"./DroneConsole":30747,"./DroneConsole.js":30747,"./EFTPOS":74781,"./EFTPOS.js":74781,"./ERTManager":30672,"./ERTManager.js":30672,"./EconomyManager":24503,"./EconomyManager.js":24503,"./Electropack":15543,"./Electropack.js":15543,"./Emojipedia":57013,"./Emojipedia.tsx":57013,"./EvolutionMenu":99012,"./EvolutionMenu.js":99012,"./ExosuitFabricator":37504,"./ExosuitFabricator.js":37504,"./ExperimentConsole":9466,"./ExperimentConsole.js":9466,"./ExternalAirlockController":77284,"./ExternalAirlockController.js":77284,"./FaxMachine":52516,"./FaxMachine.js":52516,"./FilingCabinet":24777,"./FilingCabinet.js":24777,"./FloorPainter":88361,"./FloorPainter.js":88361,"./GPS":70078,"./GPS.js":70078,"./GeneModder":92246,"./GeneModder.js":92246,"./GenericCrewManifest":27163,"./GenericCrewManifest.js":27163,"./GhostHudPanel":53808,"./GhostHudPanel.js":53808,"./GlandDispenser":32035,"./GlandDispenser.js":32035,"./GravityGen":33004,"./GravityGen.js":33004,"./GuestPass":39775,"./GuestPass.js":39775,"./HandheldChemDispenser":22480,"./HandheldChemDispenser.js":22480,"./HealthSensor":22616,"./HealthSensor.js":22616,"./Holodeck":76861,"./Holodeck.js":76861,"./Instrument":96729,"./Instrument.js":96729,"./KeycardAuth":53385,"./KeycardAuth.js":53385,"./KitchenMachine":58553,"./KitchenMachine.js":58553,"./LawManager":14047,"./LawManager.js":14047,"./LibraryComputer":5872,"./LibraryComputer.js":5872,"./LibraryManager":37782,"./LibraryManager.js":37782,"./ListInputModal":26133,"./ListInputModal.tsx":26133,"./MODsuit":71963,"./MODsuit.js":71963,"./MagnetController":84274,"./MagnetController.js":84274,"./MechBayConsole":95752,"./MechBayConsole.js":95752,"./MechaControlConsole":53668,"./MechaControlConsole.js":53668,"./MedicalRecords":96467,"./MedicalRecords.js":96467,"./MerchVendor":68211,"./MerchVendor.js":68211,"./MiningVendor":14162,"./MiningVendor.js":14162,"./NTRecruiter":68977,"./NTRecruiter.js":68977,"./Newscaster":17067,"./Newscaster.js":17067,"./Noticeboard":26148,"./Noticeboard.tsx":26148,"./NuclearBomb":46940,"./NuclearBomb.js":46940,"./NumberInputModal":35478,"./NumberInputModal.tsx":35478,"./OperatingComputer":98476,"./OperatingComputer.js":98476,"./Orbit":98702,"./Orbit.js":98702,"./OreRedemption":74015,"./OreRedemption.js":74015,"./PAI":48824,"./PAI.js":48824,"./PDA":41565,"./PDA.js":41565,"./Pacman":78704,"./Pacman.js":78704,"./PanDEMIC":6887,"./PanDEMIC.tsx":6887,"./ParticleAccelerator":78643,"./ParticleAccelerator.js":78643,"./PdaPainter":34026,"./PdaPainter.js":34026,"./PersonalCrafting":81378,"./PersonalCrafting.js":81378,"./Photocopier":58792,"./Photocopier.js":58792,"./PoolController":27902,"./PoolController.js":27902,"./PortablePump":52025,"./PortablePump.js":52025,"./PortableScrubber":57827,"./PortableScrubber.js":57827,"./PortableTurret":63825,"./PortableTurret.js":63825,"./PowerMonitor":70373,"./PowerMonitor.js":70373,"./PrisonerImplantManager":27262,"./PrisonerImplantManager.js":27262,"./PrisonerShuttleConsole":22046,"./PrisonerShuttleConsole.js":22046,"./PrizeCounter":92014,"./PrizeCounter.tsx":92014,"./RCD":87963,"./RCD.js":87963,"./RPD":84364,"./RPD.js":84364,"./Radio":14641,"./Radio.js":14641,"./ReagentGrinder":40483,"./ReagentGrinder.js":40483,"./ReagentsEditor":70976,"./ReagentsEditor.tsx":70976,"./RemoteSignaler":94049,"./RemoteSignaler.js":94049,"./RequestConsole":12326,"./RequestConsole.js":12326,"./RndConsole":89641,"./RndConsole.js":89641,"./RndConsoleComponents":3422,"./RndConsoleComponents/":3422,"./RndConsoleComponents/CurrentLevels":19348,"./RndConsoleComponents/CurrentLevels.js":19348,"./RndConsoleComponents/DataDiskMenu":338,"./RndConsoleComponents/DataDiskMenu.js":338,"./RndConsoleComponents/DeconstructionMenu":90785,"./RndConsoleComponents/DeconstructionMenu.js":90785,"./RndConsoleComponents/LatheCategory":34492,"./RndConsoleComponents/LatheCategory.js":34492,"./RndConsoleComponents/LatheChemicalStorage":84275,"./RndConsoleComponents/LatheChemicalStorage.js":84275,"./RndConsoleComponents/LatheMainMenu":12638,"./RndConsoleComponents/LatheMainMenu.js":12638,"./RndConsoleComponents/LatheMaterialStorage":89004,"./RndConsoleComponents/LatheMaterialStorage.js":89004,"./RndConsoleComponents/LatheMaterials":73856,"./RndConsoleComponents/LatheMaterials.js":73856,"./RndConsoleComponents/LatheMenu":75955,"./RndConsoleComponents/LatheMenu.js":75955,"./RndConsoleComponents/LatheSearch":72880,"./RndConsoleComponents/LatheSearch.js":72880,"./RndConsoleComponents/MainMenu":62306,"./RndConsoleComponents/MainMenu.js":62306,"./RndConsoleComponents/RndNavButton":99941,"./RndConsoleComponents/RndNavButton.js":99941,"./RndConsoleComponents/RndNavbar":24448,"./RndConsoleComponents/RndNavbar.js":24448,"./RndConsoleComponents/RndRoute":78345,"./RndConsoleComponents/RndRoute.js":78345,"./RndConsoleComponents/SettingsMenu":56454,"./RndConsoleComponents/SettingsMenu.js":56454,"./RndConsoleComponents/index":3422,"./RndConsoleComponents/index.js":3422,"./RobotSelfDiagnosis":71123,"./RobotSelfDiagnosis.js":71123,"./RoboticsControlConsole":98951,"./RoboticsControlConsole.js":98951,"./Safe":2289,"./Safe.js":2289,"./SatelliteControl":49334,"./SatelliteControl.js":49334,"./SecureStorage":54892,"./SecureStorage.js":54892,"./SecurityRecords":56798,"./SecurityRecords.js":56798,"./SeedExtractor":59981,"./SeedExtractor.js":59981,"./ShuttleConsole":33454,"./ShuttleConsole.js":33454,"./ShuttleManipulator":50451,"./ShuttleManipulator.js":50451,"./Sleeper":99050,"./Sleeper.js":99050,"./SlotMachine":37763,"./SlotMachine.js":37763,"./Smartfridge":26654,"./Smartfridge.js":26654,"./Smes":71124,"./Smes.js":71124,"./SolarControl":21786,"./SolarControl.js":21786,"./SpawnersMenu":31202,"./SpawnersMenu.js":31202,"./SpecMenu":84800,"./SpecMenu.js":84800,"./StationAlertConsole":46501,"./StationAlertConsole.js":46501,"./StationTraitsPanel":18565,"./StationTraitsPanel.tsx":18565,"./StripMenu":95147,"./StripMenu.tsx":95147,"./SuitStorage":61284,"./SuitStorage.js":61284,"./SupermatterMonitor":19796,"./SupermatterMonitor.js":19796,"./SyndicateComputerSimple":30047,"./SyndicateComputerSimple.js":30047,"./TEG":28830,"./TEG.js":28830,"./TachyonArray":39903,"./TachyonArray.js":39903,"./Tank":17068,"./Tank.js":17068,"./TankDispenser":69161,"./TankDispenser.js":69161,"./TcommsCore":87394,"./TcommsCore.js":87394,"./TcommsRelay":55684,"./TcommsRelay.js":55684,"./Teleporter":81088,"./Teleporter.js":81088,"./TelescienceConsole":65875,"./TelescienceConsole.js":65875,"./TempGun":96150,"./TempGun.js":96150,"./TextInputModal":95484,"./TextInputModal.tsx":95484,"./ThermoMachine":378,"./ThermoMachine.js":378,"./TransferValve":3365,"./TransferValve.js":3365,"./TurbineComputer":13860,"./TurbineComputer.js":13860,"./Uplink":22169,"./Uplink.js":22169,"./Vending":70547,"./Vending.js":70547,"./VolumeMixer":33045,"./VolumeMixer.js":33045,"./VotePanel":53792,"./VotePanel.js":53792,"./Wires":64860,"./Wires.js":64860,"./WizardApprenticeContract":78262,"./WizardApprenticeContract.js":78262,"./common/AccessList":57842,"./common/AccessList.js":57842,"./common/AtmosScan":79449,"./common/AtmosScan.js":79449,"./common/BeakerContents":1496,"./common/BeakerContents.js":1496,"./common/BotStatus":69521,"./common/BotStatus.js":69521,"./common/ComplexModal":99665,"./common/ComplexModal.js":99665,"./common/CrewManifest":98444,"./common/CrewManifest.js":98444,"./common/InputButtons":15113,"./common/InputButtons.tsx":15113,"./common/InterfaceLockNoticeBox":26893,"./common/InterfaceLockNoticeBox.js":26893,"./common/Loader":14299,"./common/Loader.tsx":14299,"./common/LoginInfo":68159,"./common/LoginInfo.js":68159,"./common/LoginScreen":27527,"./common/LoginScreen.js":27527,"./common/Operating":75201,"./common/Operating.js":75201,"./common/Signaler":65435,"./common/Signaler.js":65435,"./common/SimpleRecords":77534,"./common/SimpleRecords.js":77534,"./common/TemporaryNotice":84537,"./common/TemporaryNotice.js":84537,"./pai/pai_atmosphere":24704,"./pai/pai_atmosphere.js":24704,"./pai/pai_bioscan":4209,"./pai/pai_bioscan.js":4209,"./pai/pai_directives":44430,"./pai/pai_directives.js":44430,"./pai/pai_doorjack":3367,"./pai/pai_doorjack.js":3367,"./pai/pai_main_menu":73395,"./pai/pai_main_menu.js":73395,"./pai/pai_manifest":37645,"./pai/pai_manifest.js":37645,"./pai/pai_medrecords":15836,"./pai/pai_medrecords.js":15836,"./pai/pai_messenger":91737,"./pai/pai_messenger.js":91737,"./pai/pai_radio":94077,"./pai/pai_radio.js":94077,"./pai/pai_secrecords":72621,"./pai/pai_secrecords.js":72621,"./pai/pai_signaler":53483,"./pai/pai_signaler.js":53483,"./pda/pda_atmos_scan":21606,"./pda/pda_atmos_scan.js":21606,"./pda/pda_janitor":12339,"./pda/pda_janitor.js":12339,"./pda/pda_main_menu":36615,"./pda/pda_main_menu.js":36615,"./pda/pda_manifest":99737,"./pda/pda_manifest.js":99737,"./pda/pda_medical":61597,"./pda/pda_medical.js":61597,"./pda/pda_messenger":30709,"./pda/pda_messenger.js":30709,"./pda/pda_mule":68053,"./pda/pda_mule.js":68053,"./pda/pda_nanobank":31728,"./pda/pda_nanobank.js":31728,"./pda/pda_notes":29415,"./pda/pda_notes.js":29415,"./pda/pda_power":52363,"./pda/pda_power.js":52363,"./pda/pda_secbot":23914,"./pda/pda_secbot.js":23914,"./pda/pda_security":68878,"./pda/pda_security.js":68878,"./pda/pda_signaler":95135,"./pda/pda_signaler.js":95135,"./pda/pda_status_display":20835,"./pda/pda_status_display.js":20835,"./pda/pda_supplyrecords":11741,"./pda/pda_supplyrecords.js":11741};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=32054},4085:function(w,r,n){var e={"./Blink.stories.js":61498,"./BlockQuote.stories.js":27431,"./Box.stories.js":6517,"./Button.stories.js":20648,"./ByondUi.stories.js":14906,"./Collapsible.stories.js":59948,"./Flex.stories.js":37227,"./ImageButton.stories.js":16189,"./Input.stories.js":32304,"./Popper.stories.js":50394,"./ProgressBar.stories.js":75096,"./Stack.stories.js":30268,"./Storage.stories.js":22645,"./Tabs.stories.js":42120,"./Themes.stories.js":80254,"./Tooltip.stories.js":90823};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,w.exports=a,a.id=4085},97361:function(w,r,n){"use strict";var e=n(7532),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},76833:function(w,r,n){"use strict";var e=n(60354),a=n(62518),t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},51689:function(w,r,n){"use strict";var e=n(41224),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},91138:function(w,r,n){"use strict";var e=n(66266),a=n(28969),t=n(56018).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),w.exports=function(V){f[o][V]=!0}},62970:function(w,r,n){"use strict";var e=n(56852).charAt;w.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},19870:function(w,r,n){"use strict";var e=n(33314),a=TypeError;w.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},39482:function(w,r,n){"use strict";var e=n(56831),a=String,t=TypeError;w.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},67404:function(w){"use strict";w.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},65693:function(w,r,n){"use strict";var e=n(41746);w.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},72951:function(w,r,n){"use strict";var e=n(67404),a=n(14141),t=n(40224),o=n(7532),f=n(56831),V=n(89458),k=n(27806),S=n(62518),b=n(16216),h=n(59173),l=n(10069),c=n(33314),m=n(31658),d=n(42878),u=n(66266),s=n(33345),i=n(35086),C=i.enforce,v=i.get,g=t.Int8Array,p=g&&g.prototype,N=t.Uint8ClampedArray,y=N&&N.prototype,B=g&&m(g),I=p&&m(p),L=Object.prototype,T=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!d&&k(t.opera)!=="Opera",j=!1,P,R,D,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},_=function(){function ae(fe){if(!f(fe))return!1;var pe=k(fe);return pe==="DataView"||V(F,pe)||V(U,pe)}return ae}(),z=function ae(fe){var pe=m(fe);if(f(pe)){var be=v(pe);return be&&V(be,E)?be[E]:ae(pe)}},G=function(fe){if(!f(fe))return!1;var pe=k(fe);return V(F,pe)||V(U,pe)},X=function(fe){if(G(fe))return fe;throw new T("Target is not a typed array")},Y=function(fe){if(o(fe)&&(!d||c(B,fe)))return fe;throw new T(S(fe)+" is not a typed array constructor")},J=function(fe,pe,be,te){if(a){if(be)for(var Q in F){var ne=t[Q];if(ne&&V(ne.prototype,fe))try{delete ne.prototype[fe]}catch(me){try{ne.prototype[fe]=pe}catch(ce){}}}(!I[fe]||be)&&h(I,fe,be?pe:M&&p[fe]||pe,te)}},ie=function(fe,pe,be){var te,Q;if(a){if(d){if(be){for(te in F)if(Q=t[te],Q&&V(Q,fe))try{delete Q[fe]}catch(ne){}}if(!B[fe]||be)try{return h(B,fe,be?pe:M&&B[fe]||pe)}catch(ne){}else return}for(te in F)Q=t[te],Q&&(!Q[fe]||be)&&h(Q,fe,pe)}};for(P in F)R=t[P],D=R&&R.prototype,D?C(D)[E]=R:M=!1;for(P in U)R=t[P],D=R&&R.prototype,D&&(C(D)[E]=R);if((!M||!o(B)||B===Function.prototype)&&(B=function(){function ae(){throw new T("Incorrect invocation")}return ae}(),M))for(P in F)t[P]&&d(t[P],B);if((!M||!I||I===L)&&(I=B.prototype,M))for(P in F)t[P]&&d(t[P].prototype,I);if(M&&m(y)!==I&&d(y,I),a&&!V(I,A)){j=!0,l(I,A,{configurable:!0,get:function(){function ae(){return f(this)?this[x]:void 0}return ae}()});for(P in F)t[P]&&b(t[P],x,P)}w.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:X,aTypedArrayConstructor:Y,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:ie,getTypedArrayConstructor:z,isView:_,isTypedArray:G,TypedArray:B,TypedArrayPrototype:I}},46185:function(w,r,n){"use strict";var e=n(40224),a=n(18161),t=n(14141),o=n(67404),f=n(26463),V=n(16216),k=n(10069),S=n(13648),b=n(41746),h=n(19870),l=n(74952),c=n(10475),m=n(90835),d=n(75988),u=n(62263),s=n(31658),i=n(42878),C=n(59942),v=n(77713),g=n(2566),p=n(70113),N=n(94234),y=n(35086),B=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",T="DataView",A="prototype",x="Wrong length",E="Wrong index",M=y.getterFor(L),j=y.getterFor(T),P=y.set,R=e[L],D=R,F=D&&D[A],U=e[T],_=U&&U[A],z=Object.prototype,G=e.Array,X=e.RangeError,Y=a(C),J=a([].reverse),ie=u.pack,ae=u.unpack,fe=function(ge){return[ge&255]},pe=function(ge){return[ge&255,ge>>8&255]},be=function(ge){return[ge&255,ge>>8&255,ge>>16&255,ge>>24&255]},te=function(ge){return ge[3]<<24|ge[2]<<16|ge[1]<<8|ge[0]},Q=function(ge){return ie(d(ge),23,4)},ne=function(ge){return ie(ge,52,8)},me=function(ge,ye,Ve){k(ge[A],ye,{configurable:!0,get:function(){function Ie(){return Ve(this)[ye]}return Ie}()})},ce=function(ge,ye,Ve,Ie){var we=j(ge),xe=m(Ve),Oe=!!Ie;if(xe+ye>we.byteLength)throw new X(E);var We=we.bytes,Ne=xe+we.byteOffset,re=v(We,Ne,Ne+ye);return Oe?re:J(re)},ue=function(ge,ye,Ve,Ie,we,xe){var Oe=j(ge),We=m(Ve),Ne=Ie(+we),re=!!xe;if(We+ye>Oe.byteLength)throw new X(E);for(var de=Oe.bytes,he=We+Oe.byteOffset,se=0;sewe)throw new X("Wrong offset");if(Ve=Ve===void 0?we-xe:c(Ve),xe+Ve>we)throw new X(x);P(this,{type:T,buffer:ge,byteLength:Ve,byteOffset:xe,bytes:Ie.bytes}),t||(this.buffer=ge,this.byteLength=Ve,this.byteOffset=xe)}return Ce}(),_=U[A],t&&(me(D,"byteLength",M),me(U,"buffer",j),me(U,"byteLength",j),me(U,"byteOffset",j)),S(_,{getInt8:function(){function Ce(ge){return ce(this,1,ge)[0]<<24>>24}return Ce}(),getUint8:function(){function Ce(ge){return ce(this,1,ge)[0]}return Ce}(),getInt16:function(){function Ce(ge){var ye=ce(this,2,ge,arguments.length>1?arguments[1]:!1);return(ye[1]<<8|ye[0])<<16>>16}return Ce}(),getUint16:function(){function Ce(ge){var ye=ce(this,2,ge,arguments.length>1?arguments[1]:!1);return ye[1]<<8|ye[0]}return Ce}(),getInt32:function(){function Ce(ge){return te(ce(this,4,ge,arguments.length>1?arguments[1]:!1))}return Ce}(),getUint32:function(){function Ce(ge){return te(ce(this,4,ge,arguments.length>1?arguments[1]:!1))>>>0}return Ce}(),getFloat32:function(){function Ce(ge){return ae(ce(this,4,ge,arguments.length>1?arguments[1]:!1),23)}return Ce}(),getFloat64:function(){function Ce(ge){return ae(ce(this,8,ge,arguments.length>1?arguments[1]:!1),52)}return Ce}(),setInt8:function(){function Ce(ge,ye){ue(this,1,ge,fe,ye)}return Ce}(),setUint8:function(){function Ce(ge,ye){ue(this,1,ge,fe,ye)}return Ce}(),setInt16:function(){function Ce(ge,ye){ue(this,2,ge,pe,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint16:function(){function Ce(ge,ye){ue(this,2,ge,pe,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setInt32:function(){function Ce(ge,ye){ue(this,4,ge,be,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setUint32:function(){function Ce(ge,ye){ue(this,4,ge,be,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat32:function(){function Ce(ge,ye){ue(this,4,ge,Q,ye,arguments.length>2?arguments[2]:!1)}return Ce}(),setFloat64:function(){function Ce(ge,ye){ue(this,8,ge,ne,ye,arguments.length>2?arguments[2]:!1)}return Ce}()});else{var oe=B&&R.name!==L;!b(function(){R(1)})||!b(function(){new R(-1)})||b(function(){return new R,new R(1.5),new R(NaN),R.length!==1||oe&&!I})?(D=function(){function Ce(ge){return h(this,F),g(new R(m(ge)),this,D)}return Ce}(),D[A]=F,F.constructor=D,p(D,R)):oe&&I&&V(R,"name",L),i&&s(_)!==z&&i(_,z);var ke=new U(new D(2)),Be=a(_.setInt8);ke.setInt8(0,2147483648),ke.setInt8(1,2147483649),(ke.getInt8(0)||!ke.getInt8(1))&&S(_,{setInt8:function(){function Ce(ge,ye){Be(this,ge,ye<<24>>24)}return Ce}(),setUint8:function(){function Ce(ge,ye){Be(this,ge,ye<<24>>24)}return Ce}()},{unsafe:!0})}N(D,L),N(U,T),w.exports={ArrayBuffer:D,DataView:U}},42320:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333),o=n(58937),f=Math.min;w.exports=[].copyWithin||function(){function V(k,S){var b=e(this),h=t(b),l=a(k,h),c=a(S,h),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?h:a(m,h))-c,h-l),u=1;for(c0;)c in b?b[l]=b[c]:o(b,l),l+=u,c+=u;return b}return V}()},59942:function(w,r,n){"use strict";var e=n(40076),a=n(74067),t=n(8333);w.exports=function(){function o(f){for(var V=e(this),k=t(V),S=arguments.length,b=a(S>1?arguments[1]:void 0,k),h=S>2?arguments[2]:void 0,l=h===void 0?k:a(h,k);l>b;)V[b++]=f;return V}return o}()},75420:function(w,r,n){"use strict";var e=n(67480).forEach,a=n(42309),t=a("forEach");w.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},6967:function(w,r,n){"use strict";var e=n(8333);w.exports=function(a,t,o){for(var f=0,V=arguments.length>2?o:e(t),k=new a(V);V>f;)k[f]=t[f++];return k}},80363:function(w,r,n){"use strict";var e=n(4509),a=n(62696),t=n(40076),o=n(17100),f=n(58482),V=n(60354),k=n(8333),S=n(12913),b=n(3438),h=n(76274),l=Array;w.exports=function(){function c(m){var d=t(m),u=V(this),s=arguments.length,i=s>1?arguments[1]:void 0,C=i!==void 0;C&&(i=e(i,s>2?arguments[2]:void 0));var v=h(d),g=0,p,N,y,B,I,L;if(v&&!(this===l&&f(v)))for(N=u?new this:[],B=b(d,v),I=B.next;!(y=a(I,B)).done;g++)L=C?o(B,i,[y.value,g],!0):y.value,S(N,g,L);else for(p=k(d),N=u?new this(p):l(p);p>g;g++)L=C?i(d[g],g):d[g],S(N,g,L);return N.length=g,N}return c}()},64210:function(w,r,n){"use strict";var e=n(96812),a=n(74067),t=n(8333),o=function(V){return function(k,S,b){var h=e(k),l=t(h);if(l===0)return!V&&-1;var c=a(b,l),m;if(V&&S!==S){for(;l>c;)if(m=h[c++],m!==m)return!0}else for(;l>c;c++)if((V||c in h)&&h[c]===S)return V||c||0;return!V&&-1}};w.exports={includes:o(!0),indexOf:o(!1)}},67480:function(w,r,n){"use strict";var e=n(4509),a=n(18161),t=n(26736),o=n(40076),f=n(8333),V=n(32878),k=a([].push),S=function(h){var l=h===1,c=h===2,m=h===3,d=h===4,u=h===6,s=h===7,i=h===5||u;return function(C,v,g,p){for(var N=o(C),y=t(N),B=f(y),I=e(v,g),L=0,T=p||V,A=l?T(C,B):c||s?T(C,0):void 0,x,E;B>L;L++)if((i||L in y)&&(x=y[L],E=I(x,L,N),h))if(l)A[L]=E;else if(E)switch(h){case 3:return!0;case 5:return x;case 6:return L;case 2:k(A,x)}else switch(h){case 4:return!1;case 7:k(A,x)}return u?-1:m||d?d:A}};w.exports={forEach:S(0),map:S(1),filter:S(2),some:S(3),every:S(4),find:S(5),findIndex:S(6),filterReject:S(7)}},16934:function(w,r,n){"use strict";var e=n(70918),a=n(96812),t=n(74952),o=n(8333),f=n(42309),V=Math.min,k=[].lastIndexOf,S=!!k&&1/[1].lastIndexOf(1,-0)<0,b=f("lastIndexOf"),h=S||!b;w.exports=h?function(){function l(c){if(S)return e(k,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var u=d-1;for(arguments.length>1&&(u=V(u,t(arguments[1]))),u<0&&(u=d+u);u>=0;u--)if(u in m&&m[u]===c)return u||0;return-1}return l}():k},55114:function(w,r,n){"use strict";var e=n(41746),a=n(66266),t=n(82709),o=a("species");w.exports=function(f){return t>=51||!e(function(){var V=[],k=V.constructor={};return k[o]=function(){return{foo:1}},V[f](Boolean).foo!==1})}},42309:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},98405:function(w,r,n){"use strict";var e=n(97361),a=n(40076),t=n(26736),o=n(8333),f=TypeError,V="Reduce of empty array with no initial value",k=function(b){return function(h,l,c,m){var d=a(h),u=t(d),s=o(d);if(e(l),s===0&&c<2)throw new f(V);var i=b?s-1:0,C=b?-1:1;if(c<2)for(;;){if(i in u){m=u[i],i+=C;break}if(i+=C,b?i<0:s<=i)throw new f(V)}for(;b?i>=0:s>i;i+=C)i in u&&(m=l(m,u[i],i,d));return m}};w.exports={left:k(!1),right:k(!0)}},72720:function(w,r,n){"use strict";var e=n(14141),a=n(62367),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(V){return V instanceof TypeError}}();w.exports=f?function(V,k){if(a(V)&&!o(V,"length").writable)throw new t("Cannot set read only .length");return V.length=k}:function(V,k){return V.length=k}},77713:function(w,r,n){"use strict";var e=n(18161);w.exports=e([].slice)},44815:function(w,r,n){"use strict";var e=n(77713),a=Math.floor,t=function o(f,V){var k=f.length;if(k<8)for(var S=1,b,h;S0;)f[h]=f[--h];h!==S++&&(f[h]=b)}else for(var l=a(k/2),c=o(e(f,0,l),V),m=o(e(f,l),V),d=c.length,u=m.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(T){return!!I(this,T)}return L}()}),t(N,v?{get:function(){function L(T){var A=I(this,T);return A&&A.value}return L}(),set:function(){function L(T,A){return B(this,T===0?0:T,A)}return L}()}:{add:function(){function L(T){return B(this,T=T===0?0:T,T)}return L}()}),l&&a(N,"size",{configurable:!0,get:function(){function L(){return y(this).size}return L}()}),p}return s}(),setStrong:function(){function s(i,C,v){var g=C+" Iterator",p=u(C),N=u(g);S(i,C,function(y,B){d(this,{type:g,target:y,state:p(y),kind:B,last:void 0})},function(){for(var y=N(this),B=y.kind,I=y.last;I&&I.removed;)I=I.previous;return!y.target||!(y.last=I=I?I.next:y.state.first)?(y.target=void 0,b(void 0,!0)):b(B==="keys"?I.key:B==="values"?I.value:[I.key,I.value],!1)},v?"entries":"values",!v,!0),h(C)}return s}()}},32920:function(w,r,n){"use strict";var e=n(18161),a=n(13648),t=n(29126).getWeakData,o=n(19870),f=n(39482),V=n(1022),k=n(56831),S=n(281),b=n(67480),h=n(89458),l=n(35086),c=l.set,m=l.getterFor,d=b.find,u=b.findIndex,s=e([].splice),i=0,C=function(N){return N.frozen||(N.frozen=new v)},v=function(){this.entries=[]},g=function(N,y){return d(N.entries,function(B){return B[0]===y})};v.prototype={get:function(){function p(N){var y=g(this,N);if(y)return y[1]}return p}(),has:function(){function p(N){return!!g(this,N)}return p}(),set:function(){function p(N,y){var B=g(this,N);B?B[1]=y:this.entries.push([N,y])}return p}(),delete:function(){function p(N){var y=u(this.entries,function(B){return B[0]===N});return~y&&s(this.entries,y,1),!!~y}return p}()},w.exports={getConstructor:function(){function p(N,y,B,I){var L=N(function(E,M){o(E,T),c(E,{type:y,id:i++,frozen:void 0}),V(M)||S(M,E[I],{that:E,AS_ENTRIES:B})}),T=L.prototype,A=m(y),x=function(){function E(M,j,P){var R=A(M),D=t(f(j),!0);return D===!0?C(R).set(j,P):D[R.id]=P,M}return E}();return a(T,{delete:function(){function E(M){var j=A(this);if(!k(M))return!1;var P=t(M);return P===!0?C(j).delete(M):P&&h(P,j.id)&&delete P[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!k(M))return!1;var P=t(M);return P===!0?C(j).has(M):P&&h(P,j.id)}return E}()}),a(T,B?{get:function(){function E(M){var j=A(this);if(k(M)){var P=t(M);return P===!0?C(j).get(M):P?P[j.id]:void 0}}return E}(),set:function(){function E(M,j){return x(this,M,j)}return E}()}:{add:function(){function E(M){return x(this,M,!0)}return E}()}),L}return p}()}},93439:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(18161),o=n(95945),f=n(59173),V=n(29126),k=n(281),S=n(19870),b=n(7532),h=n(1022),l=n(56831),c=n(41746),m=n(52019),d=n(94234),u=n(2566);w.exports=function(s,i,C){var v=s.indexOf("Map")!==-1,g=s.indexOf("Weak")!==-1,p=v?"set":"add",N=a[s],y=N&&N.prototype,B=N,I={},L=function(R){var D=t(y[R]);f(y,R,R==="add"?function(){function F(U){return D(this,U===0?0:U),this}return F}():R==="delete"?function(F){return g&&!l(F)?!1:D(this,F===0?0:F)}:R==="get"?function(){function F(U){return g&&!l(U)?void 0:D(this,U===0?0:U)}return F}():R==="has"?function(){function F(U){return g&&!l(U)?!1:D(this,U===0?0:U)}return F}():function(){function F(U,_){return D(this,U===0?0:U,_),this}return F}())},T=o(s,!b(N)||!(g||y.forEach&&!c(function(){new N().entries().next()})));if(T)B=C.getConstructor(i,s,v,p),V.enable();else if(o(s,!0)){var A=new B,x=A[p](g?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=m(function(P){new N(P)}),j=!g&&c(function(){for(var P=new N,R=5;R--;)P[p](R,R);return!P.has(-0)});M||(B=i(function(P,R){S(P,y);var D=u(new N,P,B);return h(R)||k(R,D[p],{that:D,AS_ENTRIES:v}),D}),B.prototype=y,y.constructor=B),(E||j)&&(L("delete"),L("has"),v&&L("get")),(j||x)&&L(p),g&&y.clear&&delete y.clear}return I[s]=B,e({global:!0,constructor:!0,forced:B!==N},I),d(B,s),g||C.setStrong(B,s,v),B}},70113:function(w,r,n){"use strict";var e=n(89458),a=n(93616),t=n(54168),o=n(56018);w.exports=function(f,V,k){for(var S=a(V),b=o.f,h=t.f,l=0;l"+h+""}},77056:function(w){"use strict";w.exports=function(r,n){return{value:r,done:n}}},16216:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=e?function(o,f,V){return a.f(o,f,t(1,V))}:function(o,f,V){return o[f]=V,o}},7539:function(w){"use strict";w.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},12913:function(w,r,n){"use strict";var e=n(14141),a=n(56018),t=n(7539);w.exports=function(o,f,V){e?a.f(o,f,t(0,V)):o[f]=V}},74003:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(34086).start,o=RangeError,f=isFinite,V=Math.abs,k=Date.prototype,S=k.toISOString,b=e(k.getTime),h=e(k.getUTCDate),l=e(k.getUTCFullYear),c=e(k.getUTCHours),m=e(k.getUTCMilliseconds),d=e(k.getUTCMinutes),u=e(k.getUTCMonth),s=e(k.getUTCSeconds);w.exports=a(function(){return S.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){S.call(new Date(NaN))})?function(){function i(){if(!f(b(this)))throw new o("Invalid time value");var C=this,v=l(C),g=m(C),p=v<0?"-":v>9999?"+":"";return p+t(V(v),p?6:4,0)+"-"+t(u(C)+1,2,0)+"-"+t(h(C),2,0)+"T"+t(c(C),2,0)+":"+t(d(C),2,0)+":"+t(s(C),2,0)+"."+t(g,3,0)+"Z"}return i}():S},95865:function(w,r,n){"use strict";var e=n(39482),a=n(14991),t=TypeError;w.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},10069:function(w,r,n){"use strict";var e=n(76130),a=n(56018);w.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},59173:function(w,r,n){"use strict";var e=n(7532),a=n(56018),t=n(76130),o=n(93422);w.exports=function(f,V,k,S){S||(S={});var b=S.enumerable,h=S.name!==void 0?S.name:V;if(e(k)&&t(k,h,S),S.global)b?f[V]=k:o(V,k);else{try{S.unsafe?f[V]&&(b=!0):delete f[V]}catch(l){}b?f[V]=k:a.f(f,V,{value:k,enumerable:!1,configurable:!S.nonConfigurable,writable:!S.nonWritable})}return f}},13648:function(w,r,n){"use strict";var e=n(59173);w.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},93422:function(w,r,n){"use strict";var e=n(40224),a=Object.defineProperty;w.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},58937:function(w,r,n){"use strict";var e=n(62518),a=TypeError;w.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},14141:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},85158:function(w,r,n){"use strict";var e=n(40224),a=n(56831),t=e.document,o=a(t)&&a(t.createElement);w.exports=function(f){return o?t.createElement(f):{}}},72434:function(w){"use strict";var r=TypeError,n=9007199254740991;w.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},49847:function(w,r,n){"use strict";var e=n(15837),a=e.match(/firefox\/(\d+)/i);w.exports=!!a&&+a[1]},27955:function(w,r,n){"use strict";var e=n(2971),a=n(95823);w.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},2178:function(w){"use strict";w.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},2971:function(w){"use strict";w.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},56605:function(w,r,n){"use strict";var e=n(15837);w.exports=/MSIE|Trident/.test(e)},6647:function(w,r,n){"use strict";var e=n(15837);w.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},52426:function(w,r,n){"use strict";var e=n(15837);w.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},95823:function(w,r,n){"use strict";var e=n(40224),a=n(38817);w.exports=a(e.process)==="process"},25062:function(w,r,n){"use strict";var e=n(15837);w.exports=/web0s(?!.*chrome)/i.test(e)},15837:function(w){"use strict";w.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},82709:function(w,r,n){"use strict";var e=n(40224),a=n(15837),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,V=f&&f.v8,k,S;V&&(k=V.split("."),S=k[0]>0&&k[0]<4?1:+(k[0]+k[1])),!S&&a&&(k=a.match(/Edge\/(\d+)/),(!k||k[1]>=74)&&(k=a.match(/Chrome\/(\d+)/),k&&(S=+k[1]))),w.exports=S},53125:function(w,r,n){"use strict";var e=n(15837),a=e.match(/AppleWebKit\/(\d+)\./);w.exports=!!a&&+a[1]},90298:function(w){"use strict";w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},77549:function(w,r,n){"use strict";var e=n(40224),a=n(54168).f,t=n(16216),o=n(59173),f=n(93422),V=n(70113),k=n(95945);w.exports=function(S,b){var h=S.target,l=S.global,c=S.stat,m,d,u,s,i,C;if(l?d=e:c?d=e[h]||f(h,{}):d=e[h]&&e[h].prototype,d)for(u in b){if(i=b[u],S.dontCallGetSet?(C=a(d,u),s=C&&C.value):s=d[u],m=k(l?u:h+(c?".":"#")+u,S.forced),!m&&s!==void 0){if(typeof i==typeof s)continue;V(i,s)}(S.sham||s&&s.sham)&&t(i,"sham",!0),o(d,u,i,S)}}},41746:function(w){"use strict";w.exports=function(r){try{return!!r()}catch(n){return!0}}},85427:function(w,r,n){"use strict";n(95880);var e=n(62696),a=n(59173),t=n(72894),o=n(41746),f=n(66266),V=n(16216),k=f("species"),S=RegExp.prototype;w.exports=function(b,h,l,c){var m=f(b),d=!o(function(){var C={};return C[m]=function(){return 7},""[b](C)!==7}),u=d&&!o(function(){var C=!1,v=/a/;return b==="split"&&(v={},v.constructor={},v.constructor[k]=function(){return v},v.flags="",v[m]=/./[m]),v.exec=function(){return C=!0,null},v[m](""),!C});if(!d||!u||l){var s=/./[m],i=h(m,""[b],function(C,v,g,p,N){var y=v.exec;return y===t||y===S.exec?d&&!N?{done:!0,value:e(s,v,g,p)}:{done:!0,value:e(C,g,v,p)}:{done:!1}});a(String.prototype,b,i[0]),a(S,m,i[1])}c&&V(S[m],"sham",!0)}},68864:function(w,r,n){"use strict";var e=n(62367),a=n(8333),t=n(72434),o=n(4509),f=function V(k,S,b,h,l,c,m,d){for(var u=l,s=0,i=m?o(m,d):!1,C,v;s0&&e(C)?(v=a(C),u=V(k,S,C,v,u,c-1)-1):(t(u+1),k[u]=C),u++),s++;return u};w.exports=f},56255:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},70918:function(w,r,n){"use strict";var e=n(76799),a=Function.prototype,t=a.apply,o=a.call;w.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},4509:function(w,r,n){"use strict";var e=n(85067),a=n(97361),t=n(76799),o=e(e.bind);w.exports=function(f,V){return a(f),V===void 0?f:t?o(f,V):function(){return f.apply(V,arguments)}}},76799:function(w,r,n){"use strict";var e=n(41746);w.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},9379:function(w,r,n){"use strict";var e=n(18161),a=n(97361),t=n(56831),o=n(89458),f=n(77713),V=n(76799),k=Function,S=e([].concat),b=e([].join),h={},l=function(m,d,u){if(!o(h,d)){for(var s=[],i=0;i]*>)/g,S=/\$([$&'`]|\d{1,2})/g;w.exports=function(b,h,l,c,m,d){var u=l+b.length,s=c.length,i=S;return m!==void 0&&(m=a(m),i=k),f(d,i,function(C,v){var g;switch(o(v,0)){case"$":return"$";case"&":return b;case"`":return V(h,0,l);case"'":return V(h,u);case"<":g=m[V(v,1,-1)];break;default:var p=+v;if(p===0)return C;if(p>s){var N=t(p/10);return N===0?C:N<=s?c[N-1]===void 0?o(v,1):c[N-1]+o(v,1):C}g=c[p-1]}return g===void 0?"":g})}},40224:function(w,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};w.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},89458:function(w,r,n){"use strict";var e=n(18161),a=n(40076),t=e({}.hasOwnProperty);w.exports=Object.hasOwn||function(){function o(f,V){return t(a(f),V)}return o}()},21124:function(w){"use strict";w.exports={}},46122:function(w){"use strict";w.exports=function(r,n){try{arguments.length}catch(e){}}},54562:function(w,r,n){"use strict";var e=n(40164);w.exports=e("document","documentElement")},1606:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(85158);w.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},62263:function(w){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(S,b,h){var l=r(h),c=h*8-b-1,m=(1<>1,u=b===23?e(2,-24)-e(2,-77):0,s=S<0||S===0&&1/S<0?1:0,i=0,C,v,g;for(S=n(S),S!==S||S===1/0?(v=S!==S?1:0,C=m):(C=a(t(S)/o),g=e(2,-C),S*g<1&&(C--,g*=2),C+d>=1?S+=u/g:S+=u*e(2,1-d),S*g>=2&&(C++,g/=2),C+d>=m?(v=0,C=m):C+d>=1?(v=(S*g-1)*e(2,b),C+=d):(v=S*e(2,d-1)*e(2,b),C=0));b>=8;)l[i++]=v&255,v/=256,b-=8;for(C=C<0;)l[i++]=C&255,C/=256,c-=8;return l[--i]|=s*128,l},V=function(S,b){var h=S.length,l=h*8-b-1,c=(1<>1,d=l-7,u=h-1,s=S[u--],i=s&127,C;for(s>>=7;d>0;)i=i*256+S[u--],d-=8;for(C=i&(1<<-d)-1,i>>=-d,d+=b;d>0;)C=C*256+S[u--],d-=8;if(i===0)i=1-m;else{if(i===c)return C?NaN:s?-1/0:1/0;C+=e(2,b),i-=m}return(s?-1:1)*C*e(2,i-b)};w.exports={pack:f,unpack:V}},26736:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(38817),o=Object,f=e("".split);w.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(V){return t(V)==="String"?f(V,""):o(V)}:o},2566:function(w,r,n){"use strict";var e=n(7532),a=n(56831),t=n(42878);w.exports=function(o,f,V){var k,S;return t&&e(k=f.constructor)&&k!==V&&a(S=k.prototype)&&S!==V.prototype&&t(o,S),o}},43589:function(w,r,n){"use strict";var e=n(18161),a=n(7532),t=n(95046),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),w.exports=t.inspectSource},29126:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(21124),o=n(56831),f=n(89458),V=n(56018).f,k=n(34813),S=n(63797),b=n(57975),h=n(33345),l=n(56255),c=!1,m=h("meta"),d=0,u=function(N){V(N,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(N,y){if(!o(N))return typeof N=="symbol"?N:(typeof N=="string"?"S":"P")+N;if(!f(N,m)){if(!b(N))return"F";if(!y)return"E";u(N)}return N[m].objectID},i=function(N,y){if(!f(N,m)){if(!b(N))return!0;if(!y)return!1;u(N)}return N[m].weakData},C=function(N){return l&&c&&b(N)&&!f(N,m)&&u(N),N},v=function(){g.enable=function(){},c=!0;var N=k.f,y=a([].splice),B={};B[m]=1,N(B).length&&(k.f=function(I){for(var L=N(I),T=0,A=L.length;TI;I++)if(T=M(d[I]),T&&k(m,T))return T;return new c(!1)}y=S(d,B)}for(A=v?d.next:y.next;!(x=a(A,y)).done;){try{T=M(x.value)}catch(j){h(y,"throw",j)}if(typeof T=="object"&&T&&k(m,T))return T}return new c(!1)}},14868:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(4817);w.exports=function(o,f,V){var k,S;a(o);try{if(k=t(o,"return"),!k){if(f==="throw")throw V;return V}k=e(k,o)}catch(b){S=!0,k=b}if(f==="throw")throw V;if(S)throw k;return a(k),V}},42599:function(w,r,n){"use strict";var e=n(85106).IteratorPrototype,a=n(28969),t=n(7539),o=n(94234),f=n(90604),V=function(){return this};w.exports=function(k,S,b,h){var l=S+" Iterator";return k.prototype=a(e,{next:t(+!h,b)}),o(k,l,!1,!0),f[l]=V,k}},2449:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(11478),o=n(26463),f=n(7532),V=n(42599),k=n(31658),S=n(42878),b=n(94234),h=n(16216),l=n(59173),c=n(66266),m=n(90604),d=n(85106),u=o.PROPER,s=o.CONFIGURABLE,i=d.IteratorPrototype,C=d.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g="keys",p="values",N="entries",y=function(){return this};w.exports=function(B,I,L,T,A,x,E){V(L,I,T);var M=function(Y){if(Y===A&&F)return F;if(!C&&Y&&Y in R)return R[Y];switch(Y){case g:return function(){function J(){return new L(this,Y)}return J}();case p:return function(){function J(){return new L(this,Y)}return J}();case N:return function(){function J(){return new L(this,Y)}return J}()}return function(){return new L(this)}},j=I+" Iterator",P=!1,R=B.prototype,D=R[v]||R["@@iterator"]||A&&R[A],F=!C&&D||M(A),U=I==="Array"&&R.entries||D,_,z,G;if(U&&(_=k(U.call(new B)),_!==Object.prototype&&_.next&&(!t&&k(_)!==i&&(S?S(_,i):f(_[v])||l(_,v,y)),b(_,j,!0,!0),t&&(m[j]=y))),u&&A===p&&D&&D.name!==p&&(!t&&s?h(R,"name",p):(P=!0,F=function(){function X(){return a(D,this)}return X}())),A)if(z={values:M(p),keys:x?F:M(g),entries:M(N)},E)for(G in z)(C||P||!(G in R))&&l(R,G,z[G]);else e({target:I,proto:!0,forced:C||P},z);return(!t||E)&&R[v]!==F&&l(R,v,F,{name:A}),m[I]=F,z}},85106:function(w,r,n){"use strict";var e=n(41746),a=n(7532),t=n(56831),o=n(28969),f=n(31658),V=n(59173),k=n(66266),S=n(11478),b=k("iterator"),h=!1,l,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(l=c)):h=!0);var d=!t(l)||e(function(){var u={};return l[b].call(u)!==u});d?l={}:S&&(l=o(l)),a(l[b])||V(l,b,function(){return this}),w.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:h}},90604:function(w){"use strict";w.exports={}},8333:function(w,r,n){"use strict";var e=n(10475);w.exports=function(a){return e(a.length)}},76130:function(w,r,n){"use strict";var e=n(18161),a=n(41746),t=n(7532),o=n(89458),f=n(14141),V=n(26463).CONFIGURABLE,k=n(43589),S=n(35086),b=S.enforce,h=S.get,l=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),u=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),C=w.exports=function(v,g,p){m(l(g),0,7)==="Symbol("&&(g="["+d(l(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(g="get "+g),p&&p.setter&&(g="set "+g),(!o(v,"name")||V&&v.name!==g)&&(f?c(v,"name",{value:g,configurable:!0}):v.name=g),s&&p&&o(p,"arity")&&v.length!==p.arity&&c(v,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?f&&c(v,"prototype",{writable:!1}):v.prototype&&(v.prototype=void 0)}catch(y){}var N=b(v);return o(N,"source")||(N.source=u(i,typeof g=="string"?g:"")),v};Function.prototype.toString=C(function(){function v(){return t(this)&&h(this).source||k(this)}return v}(),"toString")},32813:function(w){"use strict";var r=Math.expm1,n=Math.exp;w.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},23207:function(w,r,n){"use strict";var e=n(54307),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(k){return k+o-o};w.exports=function(V,k,S,b){var h=+V,l=a(h),c=e(h);if(lS||d!==d?c*(1/0):c*d}},75988:function(w,r,n){"use strict";var e=n(23207),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;w.exports=Math.fround||function(){function f(V){return e(V,a,t,o)}return f}()},53271:function(w){"use strict";var r=Math.log,n=Math.LOG10E;w.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},69143:function(w){"use strict";var r=Math.log;w.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},54307:function(w){"use strict";w.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},34606:function(w){"use strict";var r=Math.ceil,n=Math.floor;w.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},27150:function(w,r,n){"use strict";var e=n(40224),a=n(1156),t=n(4509),o=n(91314).set,f=n(23496),V=n(52426),k=n(6647),S=n(25062),b=n(95823),h=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),u,s,i,C,v;if(!d){var g=new f,p=function(){var y,B;for(b&&(y=c.domain)&&y.exit();B=g.get();)try{B()}catch(I){throw g.head&&u(),I}y&&y.enter()};!V&&!b&&!S&&h&&l?(s=!0,i=l.createTextNode(""),new h(p).observe(i,{characterData:!0}),u=function(){i.data=s=!s}):!k&&m&&m.resolve?(C=m.resolve(void 0),C.constructor=m,v=t(C.then,C),u=function(){v(p)}):b?u=function(){c.nextTick(p)}:(o=t(o,e),u=function(){o(p)}),d=function(y){g.head||u(),g.add(y)}}w.exports=d},48532:function(w,r,n){"use strict";var e=n(97361),a=TypeError,t=function(f){var V,k;this.promise=new f(function(S,b){if(V!==void 0||k!==void 0)throw new a("Bad Promise constructor");V=S,k=b}),this.resolve=e(V),this.reject=e(k)};w.exports.f=function(o){return new t(o)}},89140:function(w,r,n){"use strict";var e=n(80969),a=TypeError;w.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},69079:function(w,r,n){"use strict";var e=n(40224),a=e.isFinite;w.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},43283:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),k=t("".charAt),S=e.parseFloat,b=e.Symbol,h=b&&b.iterator,l=1/S(V+"-0")!==-1/0||h&&!a(function(){S(Object(h))});w.exports=l?function(){function c(m){var d=f(o(m)),u=S(d);return u===0&&k(d,0)==="-"?-0:u}return c}():S},11540:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(26602),f=n(35171).trim,V=n(137),k=e.parseInt,S=e.Symbol,b=S&&S.iterator,h=/^[+-]?0x/i,l=t(h.exec),c=k(V+"08")!==8||k(V+"0x16")!==22||b&&!a(function(){k(Object(b))});w.exports=c?function(){function m(d,u){var s=f(o(d));return k(s,u>>>0||(l(h,s)?16:10))}return m}():k},12752:function(w,r,n){"use strict";var e=n(14141),a=n(18161),t=n(62696),o=n(41746),f=n(84913),V=n(34220),k=n(9776),S=n(40076),b=n(26736),h=Object.assign,l=Object.defineProperty,c=a([].concat);w.exports=!h||o(function(){if(e&&h({b:1},h(l({},"a",{enumerable:!0,get:function(){function i(){l(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var m={},d={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[u]=7,s.split("").forEach(function(i){d[i]=i}),h({},m)[u]!==7||f(h({},d)).join("")!==s})?function(){function m(d,u){for(var s=S(d),i=arguments.length,C=1,v=V.f,g=k.f;i>C;)for(var p=b(arguments[C++]),N=v?c(f(p),v(p)):f(p),y=N.length,B=0,I;y>B;)I=N[B++],(!e||t(g,p,I))&&(s[I]=p[I]);return s}return m}():h},28969:function(w,r,n){"use strict";var e=n(39482),a=n(65854),t=n(90298),o=n(21124),f=n(54562),V=n(85158),k=n(5160),S=">",b="<",h="prototype",l="script",c=k("IE_PROTO"),m=function(){},d=function(g){return b+l+S+g+b+"/"+l+S},u=function(g){g.write(d("")),g.close();var p=g.parentWindow.Object;return g=null,p},s=function(){var g=V("iframe"),p="java"+l+":",N;return g.style.display="none",f.appendChild(g),g.src=String(p),N=g.contentWindow.document,N.open(),N.write(d("document.F=Object")),N.close(),N.F},i,C=function(){try{i=new ActiveXObject("htmlfile")}catch(p){}C=typeof document!="undefined"?document.domain&&i?u(i):s():u(i);for(var g=t.length;g--;)delete C[h][t[g]];return C()};o[c]=!0,w.exports=Object.create||function(){function v(g,p){var N;return g!==null?(m[h]=e(g),N=new m,m[h]=null,N[c]=g):N=C(),p===void 0?N:a.f(N,p)}return v}()},65854:function(w,r,n){"use strict";var e=n(14141),a=n(83411),t=n(56018),o=n(39482),f=n(96812),V=n(84913);r.f=e&&!a?Object.defineProperties:function(){function k(S,b){o(S);for(var h=f(b),l=V(b),c=l.length,m=0,d;c>m;)t.f(S,d=l[m++],h[d]);return S}return k}()},56018:function(w,r,n){"use strict";var e=n(14141),a=n(1606),t=n(83411),o=n(39482),f=n(57640),V=TypeError,k=Object.defineProperty,S=Object.getOwnPropertyDescriptor,b="enumerable",h="configurable",l="writable";r.f=e?t?function(){function c(m,d,u){if(o(m),d=f(d),o(u),typeof m=="function"&&d==="prototype"&&"value"in u&&l in u&&!u[l]){var s=S(m,d);s&&s[l]&&(m[d]=u.value,u={configurable:h in u?u[h]:s[h],enumerable:b in u?u[b]:s[b],writable:!1})}return k(m,d,u)}return c}():k:function(){function c(m,d,u){if(o(m),d=f(d),o(u),a)try{return k(m,d,u)}catch(s){}if("get"in u||"set"in u)throw new V("Accessors not supported");return"value"in u&&(m[d]=u.value),m}return c}()},54168:function(w,r,n){"use strict";var e=n(14141),a=n(62696),t=n(9776),o=n(7539),f=n(96812),V=n(57640),k=n(89458),S=n(1606),b=Object.getOwnPropertyDescriptor;r.f=e?b:function(){function h(l,c){if(l=f(l),c=V(c),S)try{return b(l,c)}catch(m){}if(k(l,c))return o(!a(t.f,l,c),l[c])}return h}()},63797:function(w,r,n){"use strict";var e=n(38817),a=n(96812),t=n(34813).f,o=n(77713),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],V=function(S){try{return t(S)}catch(b){return o(f)}};w.exports.f=function(){function k(S){return f&&e(S)==="Window"?V(S):t(a(S))}return k}()},34813:function(w,r,n){"use strict";var e=n(62995),a=n(90298),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},34220:function(w,r){"use strict";r.f=Object.getOwnPropertySymbols},31658:function(w,r,n){"use strict";var e=n(89458),a=n(7532),t=n(40076),o=n(5160),f=n(58776),V=o("IE_PROTO"),k=Object,S=k.prototype;w.exports=f?k.getPrototypeOf:function(b){var h=t(b);if(e(h,V))return h[V];var l=h.constructor;return a(l)&&h instanceof l?l.prototype:h instanceof k?S:null}},57975:function(w,r,n){"use strict";var e=n(41746),a=n(56831),t=n(38817),o=n(65693),f=Object.isExtensible,V=e(function(){f(1)});w.exports=V||o?function(){function k(S){return!a(S)||o&&t(S)==="ArrayBuffer"?!1:f?f(S):!0}return k}():f},33314:function(w,r,n){"use strict";var e=n(18161);w.exports=e({}.isPrototypeOf)},62995:function(w,r,n){"use strict";var e=n(18161),a=n(89458),t=n(96812),o=n(64210).indexOf,f=n(21124),V=e([].push);w.exports=function(k,S){var b=t(k),h=0,l=[],c;for(c in b)!a(f,c)&&a(b,c)&&V(l,c);for(;S.length>h;)a(b,c=S[h++])&&(~o(l,c)||V(l,c));return l}},84913:function(w,r,n){"use strict";var e=n(62995),a=n(90298);w.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},9776:function(w,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},33030:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(41746),o=n(53125);w.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},42878:function(w,r,n){"use strict";var e=n(9553),a=n(56831),t=n(91029),o=n(51689);w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,V={},k;try{k=e(Object.prototype,"__proto__","set"),k(V,[]),f=V instanceof Array}catch(S){}return function(){function S(b,h){return t(b),o(h),a(b)&&(f?k(b,h):b.__proto__=h),b}return S}()}():void 0)},97452:function(w,r,n){"use strict";var e=n(14141),a=n(41746),t=n(18161),o=n(31658),f=n(84913),V=n(96812),k=n(9776).f,S=t(k),b=t([].push),h=e&&a(function(){var c=Object.create(null);return c[2]=2,!S(c,2)}),l=function(m){return function(d){for(var u=V(d),s=f(u),i=h&&o(u)===null,C=s.length,v=0,g=[],p;C>v;)p=s[v++],(!e||(i?p in u:S(u,p)))&&b(g,m?[p,u[p]]:u[p]);return g}};w.exports={entries:l(!0),values:l(!1)}},66628:function(w,r,n){"use strict";var e=n(82161),a=n(27806);w.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},14991:function(w,r,n){"use strict";var e=n(62696),a=n(7532),t=n(56831),o=TypeError;w.exports=function(f,V){var k,S;if(V==="string"&&a(k=f.toString)&&!t(S=e(k,f))||a(k=f.valueOf)&&!t(S=e(k,f))||V!=="string"&&a(k=f.toString)&&!t(S=e(k,f)))return S;throw new o("Can't convert object to primitive value")}},93616:function(w,r,n){"use strict";var e=n(40164),a=n(18161),t=n(34813),o=n(34220),f=n(39482),V=a([].concat);w.exports=e("Reflect","ownKeys")||function(){function k(S){var b=t.f(f(S)),h=o.f;return h?V(b,h(S)):b}return k}()},5376:function(w,r,n){"use strict";var e=n(40224);w.exports=e},91114:function(w){"use strict";w.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},49669:function(w,r,n){"use strict";var e=n(40224),a=n(35973),t=n(7532),o=n(95945),f=n(43589),V=n(66266),k=n(27955),S=n(2971),b=n(11478),h=n(82709),l=a&&a.prototype,c=V("species"),m=!1,d=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=f(a),i=s!==String(a);if(!i&&h===66||b&&!(l.catch&&l.finally))return!0;if(!h||h<51||!/native code/.test(s)){var C=new a(function(p){p(1)}),v=function(N){N(function(){},function(){})},g=C.constructor={};if(g[c]=v,m=C.then(function(){})instanceof v,!m)return!0}return!i&&(k||S)&&!d});w.exports={CONSTRUCTOR:u,REJECTION_EVENT:d,SUBCLASSING:m}},35973:function(w,r,n){"use strict";var e=n(40224);w.exports=e.Promise},43827:function(w,r,n){"use strict";var e=n(39482),a=n(56831),t=n(48532);w.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var V=t.f(o),k=V.resolve;return k(f),V.promise}},95044:function(w,r,n){"use strict";var e=n(35973),a=n(52019),t=n(49669).CONSTRUCTOR;w.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},77495:function(w,r,n){"use strict";var e=n(56018).f;w.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(V){t[o]=V}return f}()})}},23496:function(w){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},w.exports=r},35553:function(w,r,n){"use strict";var e=n(62696),a=n(39482),t=n(7532),o=n(38817),f=n(72894),V=TypeError;w.exports=function(k,S){var b=k.exec;if(t(b)){var h=e(b,k,S);return h!==null&&a(h),h}if(o(k)==="RegExp")return e(f,k,S);throw new V("RegExp#exec called on incompatible receiver")}},72894:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(26602),o=n(65844),f=n(1064),V=n(75130),k=n(28969),S=n(35086).get,b=n(89604),h=n(5489),l=V("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),u=a("".indexOf),s=a("".replace),i=a("".slice),C=function(){var N=/a/,y=/b*/g;return e(c,N,"a"),e(c,y,"a"),N.lastIndex!==0||y.lastIndex!==0}(),v=f.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,p=C||g||v||b||h;p&&(m=function(){function N(y){var B=this,I=S(B),L=t(y),T=I.raw,A,x,E,M,j,P,R;if(T)return T.lastIndex=B.lastIndex,A=e(m,T,L),B.lastIndex=T.lastIndex,A;var D=I.groups,F=v&&B.sticky,U=e(o,B),_=B.source,z=0,G=L;if(F&&(U=s(U,"y",""),u(U,"g")===-1&&(U+="g"),G=i(L,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&d(L,B.lastIndex-1)!=="\n")&&(_="(?: "+_+")",G=" "+G,z++),x=new RegExp("^(?:"+_+")",U)),g&&(x=new RegExp("^"+_+"$(?!\\s)",U)),C&&(E=B.lastIndex),M=e(c,F?x:B,G),F?M?(M.input=i(M.input,z),M[0]=i(M[0],z),M.index=B.lastIndex,B.lastIndex+=M[0].length):B.lastIndex=0:C&&M&&(B.lastIndex=B.global?M.index+M[0].length:E),g&&M&&M.length>1&&e(l,M[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},91029:function(w,r,n){"use strict";var e=n(1022),a=TypeError;w.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},1156:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=Object.getOwnPropertyDescriptor;w.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},37309:function(w){"use strict";w.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},83827:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(7532),o=n(2178),f=n(15837),V=n(77713),k=n(22789),S=e.Function,b=/MSIE .\./.test(f)||o&&function(){var h=e.Bun.version.split(".");return h.length<3||h[0]==="0"&&(h[1]<3||h[1]==="3"&&h[2]==="0")}();w.exports=function(h,l){var c=l?2:1;return b?function(m,d){var u=k(arguments.length,1)>c,s=t(m)?m:S(m),i=u?V(arguments,c):[],C=u?function(){a(s,this,i)}:s;return l?h(C,d):h(C)}:h}},67420:function(w,r,n){"use strict";var e=n(40164),a=n(10069),t=n(66266),o=n(14141),f=t("species");w.exports=function(V){var k=e(V);o&&k&&!k[f]&&a(k,f,{configurable:!0,get:function(){function S(){return this}return S}()})}},94234:function(w,r,n){"use strict";var e=n(56018).f,a=n(89458),t=n(66266),o=t("toStringTag");w.exports=function(f,V,k){f&&!k&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:V})}},5160:function(w,r,n){"use strict";var e=n(75130),a=n(33345),t=e("keys");w.exports=function(o){return t[o]||(t[o]=a(o))}},95046:function(w,r,n){"use strict";var e=n(11478),a=n(40224),t=n(93422),o="__core-js_shared__",f=w.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.36.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.36.1/LICENSE",source:"https://github.com/zloirock/core-js"})},75130:function(w,r,n){"use strict";var e=n(95046);w.exports=function(a,t){return e[a]||(e[a]=t||{})}},78412:function(w,r,n){"use strict";var e=n(39482),a=n(76833),t=n(1022),o=n(66266),f=o("species");w.exports=function(V,k){var S=e(V).constructor,b;return S===void 0||t(b=e(S)[f])?k:a(b)}},32086:function(w,r,n){"use strict";var e=n(41746);w.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},56852:function(w,r,n){"use strict";var e=n(18161),a=n(74952),t=n(26602),o=n(91029),f=e("".charAt),V=e("".charCodeAt),k=e("".slice),S=function(h){return function(l,c){var m=t(o(l)),d=a(c),u=m.length,s,i;return d<0||d>=u?h?"":void 0:(s=V(m,d),s<55296||s>56319||d+1===u||(i=V(m,d+1))<56320||i>57343?h?f(m,d):s:h?k(m,d,d+2):(s-55296<<10)+(i-56320)+65536)}};w.exports={codeAt:S(!1),charAt:S(!0)}},33038:function(w,r,n){"use strict";var e=n(15837);w.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},34086:function(w,r,n){"use strict";var e=n(18161),a=n(10475),t=n(26602),o=n(84948),f=n(91029),V=e(o),k=e("".slice),S=Math.ceil,b=function(l){return function(c,m,d){var u=t(f(c)),s=a(m),i=u.length,C=d===void 0?" ":t(d),v,g;return s<=i||C===""?u:(v=s-i,g=V(C,S(v/C.length)),g.length>v&&(g=k(g,0,v)),l?u+g:g+u)}};w.exports={start:b(!1),end:b(!0)}},84948:function(w,r,n){"use strict";var e=n(74952),a=n(26602),t=n(91029),o=RangeError;w.exports=function(){function f(V){var k=a(t(this)),S="",b=e(V);if(b<0||b===1/0)throw new o("Wrong number of repetitions");for(;b>0;(b>>>=1)&&(k+=k))b&1&&(S+=k);return S}return f}()},11775:function(w,r,n){"use strict";var e=n(35171).end,a=n(93817);w.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},93817:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(41746),t=n(137),o="\u200B\x85\u180E";w.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},26402:function(w,r,n){"use strict";var e=n(35171).start,a=n(93817);w.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},35171:function(w,r,n){"use strict";var e=n(18161),a=n(91029),t=n(26602),o=n(137),f=e("".replace),V=RegExp("^["+o+"]+"),k=RegExp("(^|[^"+o+"])["+o+"]+$"),S=function(h){return function(l){var c=t(a(l));return h&1&&(c=f(c,V,"")),h&2&&(c=f(c,k,"$1")),c}};w.exports={start:S(1),end:S(2),trim:S(3)}},70640:function(w,r,n){"use strict";var e=n(82709),a=n(41746),t=n(40224),o=t.String;w.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},75429:function(w,r,n){"use strict";var e=n(62696),a=n(40164),t=n(66266),o=n(59173);w.exports=function(){var f=a("Symbol"),V=f&&f.prototype,k=V&&V.valueOf,S=t("toPrimitive");V&&!V[S]&&o(V,S,function(b){return e(k,this)},{arity:1})}},80353:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!!Symbol.for&&!!Symbol.keyFor},91314:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(4509),o=n(7532),f=n(89458),V=n(41746),k=n(54562),S=n(77713),b=n(85158),h=n(22789),l=n(52426),c=n(95823),m=e.setImmediate,d=e.clearImmediate,u=e.process,s=e.Dispatch,i=e.Function,C=e.MessageChannel,v=e.String,g=0,p={},N="onreadystatechange",y,B,I,L;V(function(){y=e.location});var T=function(j){if(f(p,j)){var P=p[j];delete p[j],P()}},A=function(j){return function(){T(j)}},x=function(j){T(j.data)},E=function(j){e.postMessage(v(j),y.protocol+"//"+y.host)};(!m||!d)&&(m=function(){function M(j){h(arguments.length,1);var P=o(j)?j:i(j),R=S(arguments,1);return p[++g]=function(){a(P,void 0,R)},B(g),g}return M}(),d=function(){function M(j){delete p[j]}return M}(),c?B=function(j){u.nextTick(A(j))}:s&&s.now?B=function(j){s.now(A(j))}:C&&!l?(I=new C,L=I.port2,I.port1.onmessage=x,B=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&y&&y.protocol!=="file:"&&!V(E)?(B=E,e.addEventListener("message",x,!1)):N in b("script")?B=function(j){k.appendChild(b("script"))[N]=function(){k.removeChild(this),T(j)}}:B=function(j){setTimeout(A(j),0)}),w.exports={set:m,clear:d}},37497:function(w,r,n){"use strict";var e=n(18161);w.exports=e(1 .valueOf)},74067:function(w,r,n){"use strict";var e=n(74952),a=Math.max,t=Math.min;w.exports=function(o,f){var V=e(o);return V<0?a(V+f,0):t(V,f)}},757:function(w,r,n){"use strict";var e=n(4370),a=TypeError;w.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},90835:function(w,r,n){"use strict";var e=n(74952),a=n(10475),t=RangeError;w.exports=function(o){if(o===void 0)return 0;var f=e(o),V=a(f);if(f!==V)throw new t("Wrong length or index");return V}},96812:function(w,r,n){"use strict";var e=n(26736),a=n(91029);w.exports=function(t){return e(a(t))}},74952:function(w,r,n){"use strict";var e=n(34606);w.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10475:function(w,r,n){"use strict";var e=n(74952),a=Math.min;w.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},40076:function(w,r,n){"use strict";var e=n(91029),a=Object;w.exports=function(t){return a(e(t))}},65264:function(w,r,n){"use strict";var e=n(43627),a=RangeError;w.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},43627:function(w,r,n){"use strict";var e=n(74952),a=RangeError;w.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},4370:function(w,r,n){"use strict";var e=n(62696),a=n(56831),t=n(74352),o=n(4817),f=n(14991),V=n(66266),k=TypeError,S=V("toPrimitive");w.exports=function(b,h){if(!a(b)||t(b))return b;var l=o(b,S),c;if(l){if(h===void 0&&(h="default"),c=e(l,b,h),!a(c)||t(c))return c;throw new k("Can't convert object to primitive value")}return h===void 0&&(h="number"),f(b,h)}},57640:function(w,r,n){"use strict";var e=n(4370),a=n(74352);w.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},82161:function(w,r,n){"use strict";var e=n(66266),a=e("toStringTag"),t={};t[a]="z",w.exports=String(t)==="[object z]"},26602:function(w,r,n){"use strict";var e=n(27806),a=String;w.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},78828:function(w){"use strict";var r=Math.round;w.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},62518:function(w){"use strict";var r=String;w.exports=function(n){try{return r(n)}catch(e){return"Object"}}},12218:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(14141),f=n(66220),V=n(72951),k=n(46185),S=n(19870),b=n(7539),h=n(16216),l=n(57696),c=n(10475),m=n(90835),d=n(65264),u=n(78828),s=n(57640),i=n(89458),C=n(27806),v=n(56831),g=n(74352),p=n(28969),N=n(33314),y=n(42878),B=n(34813).f,I=n(7996),L=n(67480).forEach,T=n(67420),A=n(10069),x=n(56018),E=n(54168),M=n(6967),j=n(35086),P=n(2566),R=j.get,D=j.set,F=j.enforce,U=x.f,_=E.f,z=a.RangeError,G=k.ArrayBuffer,X=G.prototype,Y=k.DataView,J=V.NATIVE_ARRAY_BUFFER_VIEWS,ie=V.TYPED_ARRAY_TAG,ae=V.TypedArray,fe=V.TypedArrayPrototype,pe=V.isTypedArray,be="BYTES_PER_ELEMENT",te="Wrong length",Q=function(ke,Be){A(ke,Be,{configurable:!0,get:function(){function Ce(){return R(this)[Be]}return Ce}()})},ne=function(ke){var Be;return N(X,ke)||(Be=C(ke))==="ArrayBuffer"||Be==="SharedArrayBuffer"},me=function(ke,Be){return pe(ke)&&!g(Be)&&Be in ke&&l(+Be)&&Be>=0},ce=function(){function oe(ke,Be){return Be=s(Be),me(ke,Be)?b(2,ke[Be]):_(ke,Be)}return oe}(),ue=function(){function oe(ke,Be,Ce){return Be=s(Be),me(ke,Be)&&v(Ce)&&i(Ce,"value")&&!i(Ce,"get")&&!i(Ce,"set")&&!Ce.configurable&&(!i(Ce,"writable")||Ce.writable)&&(!i(Ce,"enumerable")||Ce.enumerable)?(ke[Be]=Ce.value,ke):U(ke,Be,Ce)}return oe}();o?(J||(E.f=ce,x.f=ue,Q(fe,"buffer"),Q(fe,"byteOffset"),Q(fe,"byteLength"),Q(fe,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:ce,defineProperty:ue}),w.exports=function(oe,ke,Be){var Ce=oe.match(/\d+/)[0]/8,ge=oe+(Be?"Clamped":"")+"Array",ye="get"+oe,Ve="set"+oe,Ie=a[ge],we=Ie,xe=we&&we.prototype,Oe={},We=function(se,ve){var Ae=R(se);return Ae.view[ye](ve*Ce+Ae.byteOffset,!0)},Ne=function(se,ve,Ae){var De=R(se);De.view[Ve](ve*Ce+De.byteOffset,Be?u(Ae):Ae,!0)},re=function(se,ve){U(se,ve,{get:function(){function Ae(){return We(this,ve)}return Ae}(),set:function(){function Ae(De){return Ne(this,ve,De)}return Ae}(),enumerable:!0})};J?f&&(we=ke(function(he,se,ve,Ae){return S(he,xe),P(function(){return v(se)?ne(se)?Ae!==void 0?new Ie(se,d(ve,Ce),Ae):ve!==void 0?new Ie(se,d(ve,Ce)):new Ie(se):pe(se)?M(we,se):t(I,we,se):new Ie(m(se))}(),he,we)}),y&&y(we,ae),L(B(Ie),function(he){he in we||h(we,he,Ie[he])}),we.prototype=xe):(we=ke(function(he,se,ve,Ae){S(he,xe);var De=0,je=0,_e,Ue,Ke;if(!v(se))Ke=m(se),Ue=Ke*Ce,_e=new G(Ue);else if(ne(se)){_e=se,je=d(ve,Ce);var $e=se.byteLength;if(Ae===void 0){if($e%Ce)throw new z(te);if(Ue=$e-je,Ue<0)throw new z(te)}else if(Ue=c(Ae)*Ce,Ue+je>$e)throw new z(te);Ke=Ue/Ce}else return pe(se)?M(we,se):t(I,we,se);for(D(he,{buffer:_e,byteOffset:je,byteLength:Ue,length:Ke,view:new Y(_e)});De1?arguments[1]:void 0,C=i!==void 0,v=k(u),g,p,N,y,B,I,L,T;if(v&&!S(v))for(L=V(u,v),T=L.next,u=[];!(I=a(T,L)).done;)u.push(I.value);for(C&&s>2&&(i=e(i,arguments[2])),p=f(u),N=new(h(d))(p),y=b(N),g=0;p>g;g++)B=C?i(u[g],g):u[g],N[g]=y?l(B):+B;return N}return c}()},489:function(w,r,n){"use strict";var e=n(72951),a=n(78412),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;w.exports=function(f){return t(a(f,o(f)))}},33345:function(w,r,n){"use strict";var e=n(18161),a=0,t=Math.random(),o=e(1 .toString);w.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},81457:function(w,r,n){"use strict";var e=n(70640);w.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},83411:function(w,r,n){"use strict";var e=n(14141),a=n(41746);w.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},22789:function(w){"use strict";var r=TypeError;w.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[m]=!1,i.concat()[0]!==i}),u=function(C){if(!o(C))return!1;var v=C[m];return v!==void 0?!!v:t(C)},s=!d||!h("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(C){var v=f(this),g=b(v,0),p=0,N,y,B,I,L;for(N=-1,B=arguments.length;N1?arguments[1]:void 0)}return f}()})},24974:function(w,r,n){"use strict";var e=n(77549),a=n(59942),t=n(91138);e({target:"Array",proto:!0},{fill:a}),t("fill")},6297:function(w,r,n){"use strict";var e=n(77549),a=n(67480).filter,t=n(55114),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},35173:function(w,r,n){"use strict";var e=n(77549),a=n(67480).findIndex,t=n(91138),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},5364:function(w,r,n){"use strict";var e=n(77549),a=n(67480).find,t=n(91138),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),t(o)},88707:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(97361),o=n(40076),f=n(8333),V=n(32878);e({target:"Array",proto:!0},{flatMap:function(){function k(S){var b=o(this),h=f(b),l;return t(S),l=V(b,0),l.length=a(l,b,b,h,0,1,S,arguments.length>1?arguments[1]:void 0),l}return k}()})},16576:function(w,r,n){"use strict";var e=n(77549),a=n(68864),t=n(40076),o=n(8333),f=n(74952),V=n(32878);e({target:"Array",proto:!0},{flat:function(){function k(){var S=arguments.length?arguments[0]:void 0,b=t(this),h=o(b),l=V(b,0);return l.length=a(l,b,b,h,0,S===void 0?1:f(S)),l}return k}()})},21508:function(w,r,n){"use strict";var e=n(77549),a=n(75420);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},86339:function(w,r,n){"use strict";var e=n(77549),a=n(80363),t=n(52019),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},81850:function(w,r,n){"use strict";var e=n(77549),a=n(64210).includes,t=n(41746),o=n(91138),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function V(k){return a(this,k,arguments.length>1?arguments[1]:void 0)}return V}()}),o("includes")},98661:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(64210).indexOf,o=n(42309),f=a([].indexOf),V=!!f&&1/f([1],1,-0)<0,k=V||!o("indexOf");e({target:"Array",proto:!0,forced:k},{indexOf:function(){function S(b){var h=arguments.length>1?arguments[1]:void 0;return V?f(this,b,h)||0:t(this,b,h)}return S}()})},13431:function(w,r,n){"use strict";var e=n(77549),a=n(62367);e({target:"Array",stat:!0},{isArray:a})},65809:function(w,r,n){"use strict";var e=n(96812),a=n(91138),t=n(90604),o=n(35086),f=n(56018).f,V=n(2449),k=n(77056),S=n(11478),b=n(14141),h="Array Iterator",l=o.set,c=o.getterFor(h);w.exports=V(Array,"Array",function(d,u){l(this,{type:h,target:e(d),index:0,kind:u})},function(){var d=c(this),u=d.target,s=d.index++;if(!u||s>=u.length)return d.target=void 0,k(void 0,!0);switch(d.kind){case"keys":return k(s,!1);case"values":return k(u[s],!1)}return k([s,u[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!S&&b&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},8611:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(26736),o=n(96812),f=n(42309),V=a([].join),k=t!==Object,S=k||!f("join",",");e({target:"Array",proto:!0,forced:S},{join:function(){function b(h){return V(o(this),h===void 0?",":h)}return b}()})},97246:function(w,r,n){"use strict";var e=n(77549),a=n(16934);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},48741:function(w,r,n){"use strict";var e=n(77549),a=n(67480).map,t=n(55114),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return f}()})},90446:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(60354),o=n(12913),f=Array,V=a(function(){function k(){}return!(f.of.call(k)instanceof k)});e({target:"Array",stat:!0,forced:V},{of:function(){function k(){for(var S=0,b=arguments.length,h=new(t(this)?this:f)(b);b>S;)o(h,S,arguments[S++]);return h.length=b,h}return k}()})},61902:function(w,r,n){"use strict";var e=n(77549),a=n(98405).right,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,k=V||!t("reduceRight");e({target:"Array",proto:!0,forced:k},{reduceRight:function(){function S(b){return a(this,b,arguments.length,arguments.length>1?arguments[1]:void 0)}return S}()})},509:function(w,r,n){"use strict";var e=n(77549),a=n(98405).left,t=n(42309),o=n(82709),f=n(95823),V=!f&&o>79&&o<83,k=V||!t("reduce");e({target:"Array",proto:!0,forced:k},{reduce:function(){function S(b){var h=arguments.length;return a(this,b,h,h>1?arguments[1]:void 0)}return S}()})},96149:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(62367),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function V(){return t(this)&&(this.length=this.length),o(this)}return V}()})},66617:function(w,r,n){"use strict";var e=n(77549),a=n(62367),t=n(60354),o=n(56831),f=n(74067),V=n(8333),k=n(96812),S=n(12913),b=n(66266),h=n(55114),l=n(77713),c=h("slice"),m=b("species"),d=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,C){var v=k(this),g=V(v),p=f(i,g),N=f(C===void 0?g:C,g),y,B,I;if(a(v)&&(y=v.constructor,t(y)&&(y===d||a(y.prototype))?y=void 0:o(y)&&(y=y[m],y===null&&(y=void 0)),y===d||y===void 0))return l(v,p,N);for(B=new(y===void 0?d:y)(u(N-p,0)),I=0;p1?arguments[1]:void 0)}return f}()})},56855:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(97361),o=n(40076),f=n(8333),V=n(58937),k=n(26602),S=n(41746),b=n(44815),h=n(42309),l=n(49847),c=n(56605),m=n(82709),d=n(53125),u=[],s=a(u.sort),i=a(u.push),C=S(function(){u.sort(void 0)}),v=S(function(){u.sort(null)}),g=h("sort"),p=!S(function(){if(m)return m<70;if(!(l&&l>3)){if(c)return!0;if(d)return d<603;var B="",I,L,T,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:T=3;break;case 68:case 71:T=4;break;default:T=2}for(A=0;A<47;A++)u.push({k:L+A,v:T})}for(u.sort(function(x,E){return E.v-x.v}),A=0;Ak(T)?1:-1}};e({target:"Array",proto:!0,forced:N},{sort:function(){function B(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var T=[],A=f(L),x,E;for(E=0;Ev-y+N;I--)h(C,I-1)}else if(N>y)for(I=v-y;I>g;I--)L=I+y-1,T=I+N-1,L in C?C[T]=C[L]:h(C,T);for(I=0;I9490626562425156e-8?o(h)+V:a(h-1+f(h-1)*f(h+1))}return S}()})},86551:function(w,r,n){"use strict";var e=n(77549),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(k){var S=+k;return!isFinite(S)||S===0?S:S<0?-f(-S):t(S+o(S*S+1))}var V=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:V},{asinh:f})},10940:function(w,r,n){"use strict";var e=n(77549),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(V){var k=+V;return k===0?k:t((1+k)/(1-k))/2}return f}()})},73763:function(w,r,n){"use strict";var e=n(77549),a=n(54307),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(V){var k=+V;return a(k)*o(t(k),.3333333333333333)}return f}()})},3372:function(w,r,n){"use strict";var e=n(77549),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(V){var k=V>>>0;return k?31-a(t(k+.5)*o):32}return f}()})},51629:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.cosh,o=Math.abs,f=Math.E,V=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:V},{cosh:function(){function k(S){var b=a(o(S)-1)+1;return(b+1/(b*f*f))*(f/2)}return k}()})},69727:function(w,r,n){"use strict";var e=n(77549),a=n(32813);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},27482:function(w,r,n){"use strict";var e=n(77549),a=n(75988);e({target:"Math",stat:!0},{fround:a})},7108:function(w,r,n){"use strict";var e=n(77549),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function V(k,S){for(var b=0,h=0,l=arguments.length,c=0,m,d;h0?(d=m/c,b+=d*d):b+=m;return c===1/0?1/0:c*o(b)}return V}()})},4115:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(V,k){var S=65535,b=+V,h=+k,l=S&b,c=S&h;return 0|l*c+((S&b>>>16)*c+l*(S&h>>>16)<<16>>>0)}return f}()})},63953:function(w,r,n){"use strict";var e=n(77549),a=n(53271);e({target:"Math",stat:!0},{log10:a})},71377:function(w,r,n){"use strict";var e=n(77549),a=n(69143);e({target:"Math",stat:!0},{log1p:a})},63956:function(w,r,n){"use strict";var e=n(77549),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},90037:function(w,r,n){"use strict";var e=n(77549),a=n(54307);e({target:"Math",stat:!0},{sign:a})},46818:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(32813),o=Math.abs,f=Math.exp,V=Math.E,k=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:k},{sinh:function(){function S(b){var h=+b;return o(h)<1?(t(h)-t(-h))/2:(f(h-1)-f(-h-1))*(V/2)}return S}()})},26681:function(w,r,n){"use strict";var e=n(77549),a=n(32813),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var V=+f,k=a(V),S=a(-V);return k===1/0?1:S===1/0?-1:(k-S)/(t(V)+t(-V))}return o}()})},83646:function(w,r,n){"use strict";var e=n(94234);e(Math,"Math",!0)},28876:function(w,r,n){"use strict";var e=n(77549),a=n(34606);e({target:"Math",stat:!0},{trunc:a})},36385:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(14141),o=n(40224),f=n(5376),V=n(18161),k=n(95945),S=n(89458),b=n(2566),h=n(33314),l=n(74352),c=n(4370),m=n(41746),d=n(34813).f,u=n(54168).f,s=n(56018).f,i=n(37497),C=n(35171).trim,v="Number",g=o[v],p=f[v],N=g.prototype,y=o.TypeError,B=V("".slice),I=V("".charCodeAt),L=function(P){var R=c(P,"number");return typeof R=="bigint"?R:T(R)},T=function(P){var R=c(P,"number"),D,F,U,_,z,G,X,Y;if(l(R))throw new y("Cannot convert a Symbol value to a number");if(typeof R=="string"&&R.length>2){if(R=C(R),D=I(R,0),D===43||D===45){if(F=I(R,2),F===88||F===120)return NaN}else if(D===48){switch(I(R,1)){case 66:case 98:U=2,_=49;break;case 79:case 111:U=8,_=55;break;default:return+R}for(z=B(R,2),G=z.length,X=0;X_)return NaN;return parseInt(z,U)}}return+R},A=k(v,!g(" 0o1")||!g("0b1")||g("+0x1")),x=function(P){return h(N,P)&&m(function(){i(P)})},E=function(){function j(P){var R=arguments.length<1?0:g(L(P));return x(this)?b(Object(R),this,E):R}return j}();E.prototype=N,A&&!a&&(N.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(P,R){for(var D=t?d(R):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,U;D.length>F;F++)S(R,U=D[F])&&!S(P,U)&&s(P,U,u(R,U))};a&&p&&M(f[v],p),(A||a)&&M(f[v],g)},84295:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},59785:function(w,r,n){"use strict";var e=n(77549),a=n(69079);e({target:"Number",stat:!0},{isFinite:a})},8846:function(w,r,n){"use strict";var e=n(77549),a=n(57696);e({target:"Number",stat:!0},{isInteger:a})},50237:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},6436:function(w,r,n){"use strict";var e=n(77549),a=n(57696),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},68286:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},23940:function(w,r,n){"use strict";var e=n(77549);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},82425:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},82118:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},7419:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74952),o=n(37497),f=n(84948),V=n(41746),k=RangeError,S=String,b=Math.floor,h=a(f),l=a("".slice),c=a(1 .toFixed),m=function v(g,p,N){return p===0?N:p%2===1?v(g,p-1,N*g):v(g*g,p/2,N)},d=function(g){for(var p=0,N=g;N>=4096;)p+=12,N/=4096;for(;N>=2;)p+=1,N/=2;return p},u=function(g,p,N){for(var y=-1,B=N;++y<6;)B+=p*g[y],g[y]=B%1e7,B=b(B/1e7)},s=function(g,p){for(var N=6,y=0;--N>=0;)y+=g[N],g[N]=b(y/p),y=y%p*1e7},i=function(g){for(var p=6,N="";--p>=0;)if(N!==""||p===0||g[p]!==0){var y=S(g[p]);N=N===""?y:N+h("0",7-y.length)+y}return N},C=V(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!V(function(){c({})});e({target:"Number",proto:!0,forced:C},{toFixed:function(){function v(g){var p=o(this),N=t(g),y=[0,0,0,0,0,0],B="",I="0",L,T,A,x;if(N<0||N>20)throw new k("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return S(p);if(p<0&&(B="-",p=-p),p>1e-21)if(L=d(p*m(2,69,1))-69,T=L<0?p*m(2,-L,1):p/m(2,L,1),T*=4503599627370496,L=52-L,L>0){for(u(y,0,T),A=N;A>=7;)u(y,1e7,0),A-=7;for(u(y,m(10,A,1),0),A=L-1;A>=23;)s(y,8388608),A-=23;s(y,1<0?(x=I.length,I=B+(x<=N?"0."+h("0",N-x)+I:l(I,0,x-N)+"."+l(I,x-N))):I=B+I,I}return v}()})},42409:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(41746),o=n(37497),f=a(1 .toPrecision),V=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:V},{toPrecision:function(){function k(S){return S===void 0?f(o(this)):f(o(this),S)}return k}()})},29002:function(w,r,n){"use strict";var e=n(77549),a=n(12752);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},85795:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(28969);e({target:"Object",stat:!0,sham:!a},{create:t})},74722:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function k(S,b){V.f(f(this),S,{get:o(b),enumerable:!0,configurable:!0})}return k}()})},5300:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(65854).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},85684:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(56018).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},36014:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(97361),f=n(40076),V=n(56018);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function k(S,b){V.f(f(this),S,{set:o(b),enumerable:!0,configurable:!0})}return k}()})},98551:function(w,r,n){"use strict";var e=n(77549),a=n(97452).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},66288:function(w,r,n){"use strict";var e=n(77549),a=n(56255),t=n(41746),o=n(56831),f=n(29126).onFreeze,V=Object.freeze,k=t(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!a},{freeze:function(){function S(b){return V&&o(b)?V(f(b)):b}return S}()})},26862:function(w,r,n){"use strict";var e=n(77549),a=n(281),t=n(12913);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var V={};return a(f,function(k,S){t(V,k,S)},{AS_ENTRIES:!0}),V}return o}()})},78686:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(96812),o=n(54168).f,f=n(14141),V=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getOwnPropertyDescriptor:function(){function k(S,b){return o(t(S),b)}return k}()})},36789:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(93616),o=n(96812),f=n(54168),V=n(12913);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function k(S){for(var b=o(S),h=f.f,l=t(b),c={},m=0,d,u;l.length>m;)u=h(b,d=l[m++]),u!==void 0&&V(c,d,u);return c}return k}()})},82707:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(63797).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},93146:function(w,r,n){"use strict";var e=n(77549),a=n(70640),t=n(41746),o=n(34220),f=n(40076),V=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:V},{getOwnPropertySymbols:function(){function k(S){var b=o.f;return b?b(f(S)):[]}return k}()})},69740:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(40076),o=n(31658),f=n(58776),V=a(function(){o(1)});e({target:"Object",stat:!0,forced:V,sham:!f},{getPrototypeOf:function(){function k(S){return o(t(S))}return k}()})},54789:function(w,r,n){"use strict";var e=n(77549),a=n(57975);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},49626:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isFrozen,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isFrozen:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},67660:function(w,r,n){"use strict";var e=n(77549),a=n(41746),t=n(56831),o=n(38817),f=n(65693),V=Object.isSealed,k=f||a(function(){V(1)});e({target:"Object",stat:!0,forced:k},{isSealed:function(){function S(b){return!t(b)||f&&o(b)==="ArrayBuffer"?!0:V?V(b):!1}return S}()})},87847:function(w,r,n){"use strict";var e=n(77549),a=n(37309);e({target:"Object",stat:!0},{is:a})},43619:function(w,r,n){"use strict";var e=n(77549),a=n(40076),t=n(84913),o=n(41746),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function V(k){return t(a(k))}return V}()})},42777:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),k=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function S(b){var h=o(this),l=f(b),c;do if(c=k(h,l))return c.get;while(h=V(h))}return S}()})},13045:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(33030),o=n(40076),f=n(57640),V=n(31658),k=n(54168).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function S(b){var h=o(this),l=f(b),c;do if(c=k(h,l))return c.set;while(h=V(h))}return S}()})},38664:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.preventExtensions,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{preventExtensions:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},29650:function(w,r,n){"use strict";var e=n(77549),a=n(56831),t=n(29126).onFreeze,o=n(56255),f=n(41746),V=Object.seal,k=f(function(){V(1)});e({target:"Object",stat:!0,forced:k,sham:!o},{seal:function(){function S(b){return V&&a(b)?V(t(b)):b}return S}()})},58176:function(w,r,n){"use strict";var e=n(77549),a=n(42878);e({target:"Object",stat:!0},{setPrototypeOf:a})},35286:function(w,r,n){"use strict";var e=n(82161),a=n(59173),t=n(66628);e||a(Object.prototype,"toString",t,{unsafe:!0})},13313:function(w,r,n){"use strict";var e=n(77549),a=n(97452).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},26528:function(w,r,n){"use strict";var e=n(77549),a=n(43283);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},54959:function(w,r,n){"use strict";var e=n(77549),a=n(11540);e({global:!0,forced:parseInt!==a},{parseInt:a})},34344:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),k=n(95044);e({target:"Promise",stat:!0,forced:k},{all:function(){function S(b){var h=this,l=o.f(h),c=l.resolve,m=l.reject,d=f(function(){var u=t(h.resolve),s=[],i=0,C=1;V(b,function(v){var g=i++,p=!1;C++,a(u,h,v).then(function(N){p||(p=!0,s[g]=N,--C||c(s))},m)}),--C||c(s)});return d.error&&m(d.value),l.promise}return S}()})},60:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(49669).CONSTRUCTOR,o=n(35973),f=n(40164),V=n(7532),k=n(59173),S=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function h(l){return this.then(void 0,l)}return h}()}),!a&&V(o)){var b=f("Promise").prototype.catch;S.catch!==b&&k(S,"catch",b,{unsafe:!0})}},7803:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(95823),o=n(40224),f=n(62696),V=n(59173),k=n(42878),S=n(94234),b=n(67420),h=n(97361),l=n(7532),c=n(56831),m=n(19870),d=n(78412),u=n(91314).set,s=n(27150),i=n(46122),C=n(91114),v=n(23496),g=n(35086),p=n(35973),N=n(49669),y=n(48532),B="Promise",I=N.CONSTRUCTOR,L=N.REJECTION_EVENT,T=N.SUBCLASSING,A=g.getterFor(B),x=g.set,E=p&&p.prototype,M=p,j=E,P=o.TypeError,R=o.document,D=o.process,F=y.f,U=F,_=!!(R&&R.createEvent&&o.dispatchEvent),z="unhandledrejection",G="rejectionhandled",X=0,Y=1,J=2,ie=1,ae=2,fe,pe,be,te,Q=function(Ve){var Ie;return c(Ve)&&l(Ie=Ve.then)?Ie:!1},ne=function(Ve,Ie){var we=Ie.value,xe=Ie.state===Y,Oe=xe?Ve.ok:Ve.fail,We=Ve.resolve,Ne=Ve.reject,re=Ve.domain,de,he,se;try{Oe?(xe||(Ie.rejection===ae&&ke(Ie),Ie.rejection=ie),Oe===!0?de=we:(re&&re.enter(),de=Oe(we),re&&(re.exit(),se=!0)),de===Ve.promise?Ne(new P("Promise-chain cycle")):(he=Q(de))?f(he,de,We,Ne):We(de)):Ne(we)}catch(ve){re&&!se&&re.exit(),Ne(ve)}},me=function(Ve,Ie){Ve.notified||(Ve.notified=!0,s(function(){for(var we=Ve.reactions,xe;xe=we.get();)ne(xe,Ve);Ve.notified=!1,Ie&&!Ve.rejection&&ue(Ve)}))},ce=function(Ve,Ie,we){var xe,Oe;_?(xe=R.createEvent("Event"),xe.promise=Ie,xe.reason=we,xe.initEvent(Ve,!1,!0),o.dispatchEvent(xe)):xe={promise:Ie,reason:we},!L&&(Oe=o["on"+Ve])?Oe(xe):Ve===z&&i("Unhandled promise rejection",we)},ue=function(Ve){f(u,o,function(){var Ie=Ve.facade,we=Ve.value,xe=oe(Ve),Oe;if(xe&&(Oe=C(function(){t?D.emit("unhandledRejection",we,Ie):ce(z,Ie,we)}),Ve.rejection=t||oe(Ve)?ae:ie,Oe.error))throw Oe.value})},oe=function(Ve){return Ve.rejection!==ie&&!Ve.parent},ke=function(Ve){f(u,o,function(){var Ie=Ve.facade;t?D.emit("rejectionHandled",Ie):ce(G,Ie,Ve.value)})},Be=function(Ve,Ie,we){return function(xe){Ve(Ie,xe,we)}},Ce=function(Ve,Ie,we){Ve.done||(Ve.done=!0,we&&(Ve=we),Ve.value=Ie,Ve.state=J,me(Ve,!0))},ge=function ye(Ve,Ie,we){if(!Ve.done){Ve.done=!0,we&&(Ve=we);try{if(Ve.facade===Ie)throw new P("Promise can't be resolved itself");var xe=Q(Ie);xe?s(function(){var Oe={done:!1};try{f(xe,Ie,Be(ye,Oe,Ve),Be(Ce,Oe,Ve))}catch(We){Ce(Oe,We,Ve)}}):(Ve.value=Ie,Ve.state=Y,me(Ve,!1))}catch(Oe){Ce({done:!1},Oe,Ve)}}};if(I&&(M=function(){function ye(Ve){m(this,j),h(Ve),f(fe,this);var Ie=A(this);try{Ve(Be(ge,Ie),Be(Ce,Ie))}catch(we){Ce(Ie,we)}}return ye}(),j=M.prototype,fe=function(){function ye(Ve){x(this,{type:B,done:!1,notified:!1,parent:!1,reactions:new v,rejection:!1,state:X,value:void 0})}return ye}(),fe.prototype=V(j,"then",function(){function ye(Ve,Ie){var we=A(this),xe=F(d(this,M));return we.parent=!0,xe.ok=l(Ve)?Ve:!0,xe.fail=l(Ie)&&Ie,xe.domain=t?D.domain:void 0,we.state===X?we.reactions.add(xe):s(function(){ne(xe,we)}),xe.promise}return ye}()),pe=function(){var Ve=new fe,Ie=A(Ve);this.promise=Ve,this.resolve=Be(ge,Ie),this.reject=Be(Ce,Ie)},y.f=F=function(Ve){return Ve===M||Ve===be?new pe(Ve):U(Ve)},!a&&l(p)&&E!==Object.prototype)){te=E.then,T||V(E,"then",function(){function ye(Ve,Ie){var we=this;return new M(function(xe,Oe){f(te,we,xe,Oe)}).then(Ve,Ie)}return ye}(),{unsafe:!0});try{delete E.constructor}catch(ye){}k&&k(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),S(M,B,!1,!0),b(B)},54412:function(w,r,n){"use strict";var e=n(77549),a=n(11478),t=n(35973),o=n(41746),f=n(40164),V=n(7532),k=n(78412),S=n(43827),b=n(59173),h=t&&t.prototype,l=!!t&&o(function(){h.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function m(d){var u=k(this,f("Promise")),s=V(d);return this.then(s?function(i){return S(u,d()).then(function(){return i})}:d,s?function(i){return S(u,d()).then(function(){throw i})}:d)}return m}()}),!a&&V(t)){var c=f("Promise").prototype.finally;h.finally!==c&&b(h,"finally",c,{unsafe:!0})}},78129:function(w,r,n){"use strict";n(7803),n(34344),n(60),n(61270),n(82248),n(30347)},61270:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(97361),o=n(48532),f=n(91114),V=n(281),k=n(95044);e({target:"Promise",stat:!0,forced:k},{race:function(){function S(b){var h=this,l=o.f(h),c=l.reject,m=f(function(){var d=t(h.resolve);V(b,function(u){a(d,h,u).then(l.resolve,c)})});return m.error&&c(m.value),l.promise}return S}()})},82248:function(w,r,n){"use strict";var e=n(77549),a=n(48532),t=n(49669).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var V=a.f(this),k=V.reject;return k(f),V.promise}return o}()})},30347:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(11478),o=n(35973),f=n(49669).CONSTRUCTOR,V=n(43827),k=a("Promise"),S=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function b(h){return V(S&&this===k?o:this,h)}return b}()})},82427:function(w,r,n){"use strict";var e=n(77549),a=n(70918),t=n(97361),o=n(39482),f=n(41746),V=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:V},{apply:function(){function k(S,b,h){return a(t(S),b,o(h))}return k}()})},8390:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(70918),o=n(9379),f=n(76833),V=n(39482),k=n(56831),S=n(28969),b=n(41746),h=a("Reflect","construct"),l=Object.prototype,c=[].push,m=b(function(){function s(){}return!(h(function(){},[],s)instanceof s)}),d=!b(function(){h(function(){})}),u=m||d;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(i,C){f(i),V(C);var v=arguments.length<3?i:f(arguments[2]);if(d&&!m)return h(i,C,v);if(i===v){switch(C.length){case 0:return new i;case 1:return new i(C[0]);case 2:return new i(C[0],C[1]);case 3:return new i(C[0],C[1],C[2]);case 4:return new i(C[0],C[1],C[2],C[3])}var g=[null];return t(c,g,C),new(t(o,i,g))}var p=v.prototype,N=S(k(p)?p:l),y=t(i,N,C);return k(y)?y:N}return s}()})},68260:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(57640),f=n(56018),V=n(41746),k=V(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:k,sham:!a},{defineProperty:function(){function S(b,h,l){t(b);var c=o(h);t(l);try{return f.f(b,c,l),!0}catch(m){return!1}}return S}()})},86508:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(54168).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,V){var k=t(a(f),V);return k&&!k.configurable?!1:delete f[V]}return o}()})},17134:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(39482),o=n(54168);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(V,k){return o.f(t(V),k)}return f}()})},18972:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(31658),o=n(58776);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(V){return t(a(V))}return f}()})},65971:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(56831),o=n(39482),f=n(35892),V=n(54168),k=n(31658);function S(b,h){var l=arguments.length<3?b:arguments[2],c,m;if(o(b)===l)return b[h];if(c=V.f(b,h),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(m=k(b)))return S(m,h,l)}e({target:"Reflect",stat:!0},{get:S})},78623:function(w,r,n){"use strict";var e=n(77549);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},60149:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(57975);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},56380:function(w,r,n){"use strict";var e=n(77549),a=n(93616);e({target:"Reflect",stat:!0},{ownKeys:a})},72792:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(39482),o=n(56255);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(V){t(V);try{var k=a("Object","preventExtensions");return k&&k(V),!0}catch(S){return!1}}return f}()})},25168:function(w,r,n){"use strict";var e=n(77549),a=n(39482),t=n(51689),o=n(42878);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(V,k){a(V),t(k);try{return o(V,k),!0}catch(S){return!1}}return f}()})},60631:function(w,r,n){"use strict";var e=n(77549),a=n(62696),t=n(39482),o=n(56831),f=n(35892),V=n(41746),k=n(56018),S=n(54168),b=n(31658),h=n(7539);function l(m,d,u){var s=arguments.length<4?m:arguments[3],i=S.f(t(m),d),C,v,g;if(!i){if(o(v=b(m)))return l(v,d,u,s);i=h(0)}if(f(i)){if(i.writable===!1||!o(s))return!1;if(C=S.f(s,d)){if(C.get||C.set||C.writable===!1)return!1;C.value=u,k.f(s,d,C)}else k.f(s,d,h(0,u))}else{if(g=i.set,g===void 0)return!1;a(g,s,u)}return!0}var c=V(function(){var m=function(){},d=k.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},85177:function(w,r,n){"use strict";var e=n(14141),a=n(40224),t=n(18161),o=n(95945),f=n(2566),V=n(16216),k=n(28969),S=n(34813).f,b=n(33314),h=n(80969),l=n(26602),c=n(60425),m=n(1064),d=n(77495),u=n(59173),s=n(41746),i=n(89458),C=n(35086).enforce,v=n(67420),g=n(66266),p=n(89604),N=n(5489),y=g("match"),B=a.RegExp,I=B.prototype,L=a.SyntaxError,T=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,R=/a/g,D=new B(P)!==P,F=m.MISSED_STICKY,U=m.UNSUPPORTED_Y,_=e&&(!D||F||p||N||s(function(){return R[y]=!1,B(P)!==P||B(R)===R||String(B(P,"i"))!=="/a/i"})),z=function(ae){for(var fe=ae.length,pe=0,be="",te=!1,Q;pe<=fe;pe++){if(Q=A(ae,pe),Q==="\\"){be+=Q+A(ae,++pe);continue}!te&&Q==="."?be+="[\\s\\S]":(Q==="["?te=!0:Q==="]"&&(te=!1),be+=Q)}return be},G=function(ae){for(var fe=ae.length,pe=0,be="",te=[],Q=k(null),ne=!1,me=!1,ce=0,ue="",oe;pe<=fe;pe++){if(oe=A(ae,pe),oe==="\\")oe+=A(ae,++pe);else if(oe==="]")ne=!1;else if(!ne)switch(!0){case oe==="[":ne=!0;break;case oe==="(":T(j,M(ae,pe+1))&&(pe+=2,me=!0),be+=oe,ce++;continue;case(oe===">"&&me):if(ue===""||i(Q,ue))throw new L("Invalid capture group name");Q[ue]=!0,te[te.length]=[ue,ce],me=!1,ue="";continue}me?ue+=oe:be+=oe}return[be,te]};if(o("RegExp",_)){for(var X=function(){function ie(ae,fe){var pe=b(I,this),be=h(ae),te=fe===void 0,Q=[],ne=ae,me,ce,ue,oe,ke,Be;if(!pe&&be&&te&&ae.constructor===X)return ae;if((be||b(I,ae))&&(ae=ae.source,te&&(fe=c(ne))),ae=ae===void 0?"":l(ae),fe=fe===void 0?"":l(fe),ne=ae,p&&"dotAll"in P&&(ce=!!fe&&E(fe,"s")>-1,ce&&(fe=x(fe,/s/g,""))),me=fe,F&&"sticky"in P&&(ue=!!fe&&E(fe,"y")>-1,ue&&U&&(fe=x(fe,/y/g,""))),N&&(oe=G(ae),ae=oe[0],Q=oe[1]),ke=f(B(ae,fe),pe?this:I,X),(ce||ue||Q.length)&&(Be=C(ke),ce&&(Be.dotAll=!0,Be.raw=X(z(ae),me)),ue&&(Be.sticky=!0),Q.length&&(Be.groups=Q)),ae!==ne)try{V(ke,"source",ne===""?"(?:)":ne)}catch(Ce){}return ke}return ie}(),Y=S(B),J=0;Y.length>J;)d(X,B,Y[J++]);I.constructor=X,X.prototype=I,u(a,"RegExp",X,{constructor:!0})}v("RegExp")},95880:function(w,r,n){"use strict";var e=n(77549),a=n(72894);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},59978:function(w,r,n){"use strict";var e=n(40224),a=n(14141),t=n(10069),o=n(65844),f=n(41746),V=e.RegExp,k=V.prototype,S=a&&f(function(){var b=!0;try{V(".","d")}catch(i){b=!1}var h={},l="",c=b?"dgimsy":"gimsy",m=function(C,v){Object.defineProperty(h,C,{get:function(){function g(){return l+=v,!0}return g}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};b&&(d.hasIndices="d");for(var u in d)m(u,d[u]);var s=Object.getOwnPropertyDescriptor(k,"flags").get.call(h);return s!==c||l!==c});S&&t(k,"flags",{configurable:!0,get:o})},96360:function(w,r,n){"use strict";var e=n(26463).PROPER,a=n(59173),t=n(39482),o=n(26602),f=n(41746),V=n(60425),k="toString",S=RegExp.prototype,b=S[k],h=f(function(){return b.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&b.name!==k;(h||l)&&a(S,k,function(){function c(){var m=t(this),d=o(m.source),u=o(V(m));return"/"+d+"/"+u}return c}(),{unsafe:!0})},47338:function(w,r,n){"use strict";var e=n(93439),a=n(10623);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},43108:function(w,r,n){"use strict";n(47338)},36:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},30519:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},33547:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},53426:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},37801:function(w,r,n){"use strict";var e=n(77549),a=n(56852).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},3044:function(w,r,n){"use strict";var e=n(77549),a=n(85067),t=n(54168).f,o=n(10475),f=n(26602),V=n(89140),k=n(91029),S=n(93321),b=n(11478),h=a("".slice),l=Math.min,c=S("endsWith"),m=!b&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(u){var s=f(k(this));V(u);var i=arguments.length>1?arguments[1]:void 0,C=s.length,v=i===void 0?C:l(o(i),C),g=f(u);return h(s,v-g.length,v)===g}return d}()})},32031:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},13153:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},21953:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},48432:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(74067),o=RangeError,f=String.fromCharCode,V=String.fromCodePoint,k=a([].join),S=!!V&&V.length!==1;e({target:"String",stat:!0,arity:1,forced:S},{fromCodePoint:function(){function b(h){for(var l=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");l[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return k(l,"")}return b}()})},54564:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(89140),o=n(91029),f=n(26602),V=n(93321),k=a("".indexOf);e({target:"String",proto:!0,forced:!V("includes")},{includes:function(){function S(b){return!!~k(f(o(this)),f(t(b)),arguments.length>1?arguments[1]:void 0)}return S}()})},83560:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},58179:function(w,r,n){"use strict";var e=n(56852).charAt,a=n(26602),t=n(35086),o=n(2449),f=n(77056),V="String Iterator",k=t.set,S=t.getterFor(V);o(String,"String",function(b){k(this,{type:V,string:a(b),index:0})},function(){function b(){var h=S(this),l=h.string,c=h.index,m;return c>=l.length?f(void 0,!0):(m=e(l,c),h.index+=m.length,f(m,!1))}return b}())},63465:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},68164:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(10475),V=n(26602),k=n(91029),S=n(4817),b=n(62970),h=n(35553);a("match",function(l,c,m){return[function(){function d(u){var s=k(this),i=o(u)?void 0:S(u,l);return i?e(i,u,s):new RegExp(u)[l](V(s))}return d}(),function(d){var u=t(this),s=V(d),i=m(c,u,s);if(i.done)return i.value;if(!u.global)return h(u,s);var C=u.unicode;u.lastIndex=0;for(var v=[],g=0,p;(p=h(u,s))!==null;){var N=V(p[0]);v[g]=N,N===""&&(u.lastIndex=b(s,f(u.lastIndex),C)),g++}return g===0?null:v}]})},58880:function(w,r,n){"use strict";var e=n(77549),a=n(34086).end,t=n(33038);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},54465:function(w,r,n){"use strict";var e=n(77549),a=n(34086).start,t=n(33038);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},97327:function(w,r,n){"use strict";var e=n(77549),a=n(18161),t=n(96812),o=n(40076),f=n(26602),V=n(8333),k=a([].push),S=a([].join);e({target:"String",stat:!0},{raw:function(){function b(h){var l=t(o(h).raw),c=V(l);if(!c)return"";for(var m=arguments.length,d=[],u=0;;){if(k(d,f(l[u++])),u===c)return S(d,"");u")!=="7"});o("replace",function(x,E,M){var j=T?"$":"$0";return[function(){function P(R,D){var F=c(this),U=S(R)?void 0:d(R,C);return U?a(U,R,F,D):a(E,l(F),R,D)}return P}(),function(P,R){var D=V(this),F=l(P);if(typeof R=="string"&&y(R,j)===-1&&y(R,"$<")===-1){var U=M(E,D,F,R);if(U.done)return U.value}var _=k(R);_||(R=l(R));var z=D.global,G;z&&(G=D.unicode,D.lastIndex=0);for(var X=[],Y;Y=s(D,F),!(Y===null||(N(X,Y),!z));){var J=l(Y[0]);J===""&&(D.lastIndex=m(F,h(D.lastIndex),G))}for(var ie="",ae=0,fe=0;fe=ae&&(ie+=B(F,ae,be)+Q,ae=be+pe.length)}return ie+B(F,ae)}]},!A||!L||T)},17337:function(w,r,n){"use strict";var e=n(62696),a=n(85427),t=n(39482),o=n(1022),f=n(91029),V=n(37309),k=n(26602),S=n(4817),b=n(35553);a("search",function(h,l,c){return[function(){function m(d){var u=f(this),s=o(d)?void 0:S(d,h);return s?e(s,d,u):new RegExp(d)[h](k(u))}return m}(),function(m){var d=t(this),u=k(m),s=c(l,d,u);if(s.done)return s.value;var i=d.lastIndex;V(i,0)||(d.lastIndex=0);var C=b(d,u);return V(d.lastIndex,i)||(d.lastIndex=i),C===null?-1:C.index}]})},98998:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},53713:function(w,r,n){"use strict";var e=n(62696),a=n(18161),t=n(85427),o=n(39482),f=n(1022),V=n(91029),k=n(78412),S=n(62970),b=n(10475),h=n(26602),l=n(4817),c=n(35553),m=n(1064),d=n(41746),u=m.UNSUPPORTED_Y,s=4294967295,i=Math.min,C=a([].push),v=a("".slice),g=!d(function(){var N=/(?:)/,y=N.exec;N.exec=function(){return y.apply(this,arguments)};var B="ab".split(N);return B.length!==2||B[0]!=="a"||B[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(N,y,B){var I="0".split(void 0,0).length?function(L,T){return L===void 0&&T===0?[]:e(y,this,L,T)}:y;return[function(){function L(T,A){var x=V(this),E=f(T)?void 0:l(T,N);return E?e(E,T,x,A):e(I,h(x),T,A)}return L}(),function(L,T){var A=o(this),x=h(L);if(!p){var E=B(I,A,x,T,I!==y);if(E.done)return E.value}var M=k(A,RegExp),j=A.unicode,P=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(u?"g":"y"),R=new M(u?"^(?:"+A.source+")":A,P),D=T===void 0?s:T>>>0;if(D===0)return[];if(x.length===0)return c(R,x)===null?[x]:[];for(var F=0,U=0,_=[];U1?arguments[1]:void 0,s.length)),C=f(u);return h(s,i,i+C.length)===C}return d}()})},96227:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15483:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},86829:function(w,r,n){"use strict";var e=n(77549),a=n(93677),t=n(32086);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},93073:function(w,r,n){"use strict";n(17434);var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},69107:function(w,r,n){"use strict";var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},17434:function(w,r,n){"use strict";var e=n(77549),a=n(11775);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},50800:function(w,r,n){"use strict";n(69107);var e=n(77549),a=n(26402);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},11121:function(w,r,n){"use strict";var e=n(77549),a=n(35171).trim,t=n(93817);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},46951:function(w,r,n){"use strict";var e=n(15388);e("asyncIterator")},9056:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(62696),o=n(18161),f=n(11478),V=n(14141),k=n(70640),S=n(41746),b=n(89458),h=n(33314),l=n(39482),c=n(96812),m=n(57640),d=n(26602),u=n(7539),s=n(28969),i=n(84913),C=n(34813),v=n(63797),g=n(34220),p=n(54168),N=n(56018),y=n(65854),B=n(9776),I=n(59173),L=n(10069),T=n(75130),A=n(5160),x=n(21124),E=n(33345),M=n(66266),j=n(32938),P=n(15388),R=n(75429),D=n(94234),F=n(35086),U=n(67480).forEach,_=A("hidden"),z="Symbol",G="prototype",X=F.set,Y=F.getterFor(z),J=Object[G],ie=a.Symbol,ae=ie&&ie[G],fe=a.RangeError,pe=a.TypeError,be=a.QObject,te=p.f,Q=N.f,ne=v.f,me=B.f,ce=o([].push),ue=T("symbols"),oe=T("op-symbols"),ke=T("wks"),Be=!be||!be[G]||!be[G].findChild,Ce=function(de,he,se){var ve=te(J,he);ve&&delete J[he],Q(de,he,se),ve&&de!==J&&Q(J,he,ve)},ge=V&&S(function(){return s(Q({},"a",{get:function(){function re(){return Q(this,"a",{value:7}).a}return re}()})).a!==7})?Ce:Q,ye=function(de,he){var se=ue[de]=s(ae);return X(se,{type:z,tag:de,description:he}),V||(se.description=he),se},Ve=function(){function re(de,he,se){de===J&&Ve(oe,he,se),l(de);var ve=m(he);return l(se),b(ue,ve)?(se.enumerable?(b(de,_)&&de[_][ve]&&(de[_][ve]=!1),se=s(se,{enumerable:u(0,!1)})):(b(de,_)||Q(de,_,u(1,s(null))),de[_][ve]=!0),ge(de,ve,se)):Q(de,ve,se)}return re}(),Ie=function(){function re(de,he){l(de);var se=c(he),ve=i(se).concat(Ne(se));return U(ve,function(Ae){(!V||t(xe,se,Ae))&&Ve(de,Ae,se[Ae])}),de}return re}(),we=function(){function re(de,he){return he===void 0?s(de):Ie(s(de),he)}return re}(),xe=function(){function re(de){var he=m(de),se=t(me,this,he);return this===J&&b(ue,he)&&!b(oe,he)?!1:se||!b(this,he)||!b(ue,he)||b(this,_)&&this[_][he]?se:!0}return re}(),Oe=function(){function re(de,he){var se=c(de),ve=m(he);if(!(se===J&&b(ue,ve)&&!b(oe,ve))){var Ae=te(se,ve);return Ae&&b(ue,ve)&&!(b(se,_)&&se[_][ve])&&(Ae.enumerable=!0),Ae}}return re}(),We=function(){function re(de){var he=ne(c(de)),se=[];return U(he,function(ve){!b(ue,ve)&&!b(x,ve)&&ce(se,ve)}),se}return re}(),Ne=function(de){var he=de===J,se=ne(he?oe:c(de)),ve=[];return U(se,function(Ae){b(ue,Ae)&&(!he||b(J,Ae))&&ce(ve,ue[Ae])}),ve};k||(ie=function(){function re(){if(h(ae,this))throw new pe("Symbol is not a constructor");var de=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),he=E(de),se=function(){function ve(Ae){var De=this===void 0?a:this;De===J&&t(ve,oe,Ae),b(De,_)&&b(De[_],he)&&(De[_][he]=!1);var je=u(1,Ae);try{ge(De,he,je)}catch(_e){if(!(_e instanceof fe))throw _e;Ce(De,he,je)}}return ve}();return V&&Be&&ge(J,he,{configurable:!0,set:se}),ye(he,de)}return re}(),ae=ie[G],I(ae,"toString",function(){function re(){return Y(this).tag}return re}()),I(ie,"withoutSetter",function(re){return ye(E(re),re)}),B.f=xe,N.f=Ve,y.f=Ie,p.f=Oe,C.f=v.f=We,g.f=Ne,j.f=function(re){return ye(M(re),re)},V&&(L(ae,"description",{configurable:!0,get:function(){function re(){return Y(this).description}return re}()}),f||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!k,sham:!k},{Symbol:ie}),U(i(ke),function(re){P(re)}),e({target:z,stat:!0,forced:!k},{useSetter:function(){function re(){Be=!0}return re}(),useSimple:function(){function re(){Be=!1}return re}()}),e({target:"Object",stat:!0,forced:!k,sham:!V},{create:we,defineProperty:Ve,defineProperties:Ie,getOwnPropertyDescriptor:Oe}),e({target:"Object",stat:!0,forced:!k},{getOwnPropertyNames:We}),R(),D(ie,z),x[_]=!0},27718:function(w,r,n){"use strict";var e=n(77549),a=n(14141),t=n(40224),o=n(18161),f=n(89458),V=n(7532),k=n(33314),S=n(26602),b=n(10069),h=n(70113),l=t.Symbol,c=l&&l.prototype;if(a&&V(l)&&(!("description"in c)||l().description!==void 0)){var m={},d=function(){function p(){var N=arguments.length<1||arguments[0]===void 0?void 0:S(arguments[0]),y=k(c,this)?new l(N):N===void 0?l():l(N);return N===""&&(m[y]=!0),y}return p}();h(d,l),d.prototype=c,c.constructor=d;var u=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),C=/^Symbol\((.*)\)[^)]+$/,v=o("".replace),g=o("".slice);b(c,"description",{configurable:!0,get:function(){function p(){var N=s(this);if(f(m,N))return"";var y=i(N),B=u?g(y,7,-1):v(y,C,"$1");return B===""?void 0:B}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},18611:function(w,r,n){"use strict";var e=n(77549),a=n(40164),t=n(89458),o=n(26602),f=n(75130),V=n(80353),k=f("string-to-symbol-registry"),S=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{for:function(){function b(h){var l=o(h);if(t(k,l))return k[l];var c=a("Symbol")(l);return k[l]=c,S[c]=l,c}return b}()})},86042:function(w,r,n){"use strict";var e=n(15388);e("hasInstance")},93267:function(w,r,n){"use strict";var e=n(15388);e("isConcatSpreadable")},41664:function(w,r,n){"use strict";var e=n(15388);e("iterator")},99414:function(w,r,n){"use strict";n(9056),n(18611),n(30661),n(12183),n(93146)},30661:function(w,r,n){"use strict";var e=n(77549),a=n(89458),t=n(74352),o=n(62518),f=n(75130),V=n(80353),k=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!V},{keyFor:function(){function S(b){if(!t(b))throw new TypeError(o(b)+" is not a symbol");if(a(k,b))return k[b]}return S}()})},48965:function(w,r,n){"use strict";var e=n(15388);e("match")},44844:function(w,r,n){"use strict";var e=n(15388);e("replace")},25030:function(w,r,n){"use strict";var e=n(15388);e("search")},96454:function(w,r,n){"use strict";var e=n(15388);e("species")},77564:function(w,r,n){"use strict";var e=n(15388);e("split")},44875:function(w,r,n){"use strict";var e=n(15388),a=n(75429);e("toPrimitive"),a()},77904:function(w,r,n){"use strict";var e=n(40164),a=n(15388),t=n(94234);a("toStringTag"),t(e("Symbol"),"Symbol")},35723:function(w,r,n){"use strict";var e=n(15388);e("unscopables")},84805:function(w,r,n){"use strict";var e=n(18161),a=n(72951),t=n(42320),o=e(t),f=a.aTypedArray,V=a.exportTypedArrayMethod;V("copyWithin",function(){function k(S,b){return o(f(this),S,b,arguments.length>2?arguments[2]:void 0)}return k}())},79305:function(w,r,n){"use strict";var e=n(72951),a=n(67480).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},71573:function(w,r,n){"use strict";var e=n(72951),a=n(59942),t=n(757),o=n(27806),f=n(62696),V=n(18161),k=n(41746),S=e.aTypedArray,b=e.exportTypedArrayMethod,h=V("".slice),l=k(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});b("fill",function(){function c(m){var d=arguments.length;S(this);var u=h(o(this),0,3)==="Big"?t(m):+m;return f(a,this,u,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),l)},47910:function(w,r,n){"use strict";var e=n(72951),a=n(67480).filter,t=n(80936),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function V(k){var S=a(o(this),k,arguments.length>1?arguments[1]:void 0);return t(this,S)}return V}())},99662:function(w,r,n){"use strict";var e=n(72951),a=n(67480).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},48447:function(w,r,n){"use strict";var e=n(72951),a=n(67480).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68265:function(w,r,n){"use strict";var e=n(12218);e("Float32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},36030:function(w,r,n){"use strict";var e=n(12218);e("Float64",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},57371:function(w,r,n){"use strict";var e=n(72951),a=n(67480).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(V){a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},68220:function(w,r,n){"use strict";var e=n(66220),a=n(72951).exportTypedArrayStaticMethod,t=n(7996);a("from",t,e)},15745:function(w,r,n){"use strict";var e=n(72951),a=n(64210).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},43398:function(w,r,n){"use strict";var e=n(72951),a=n(64210).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},25888:function(w,r,n){"use strict";var e=n(12218);e("Int16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},35718:function(w,r,n){"use strict";var e=n(12218);e("Int32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},32791:function(w,r,n){"use strict";var e=n(12218);e("Int8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},97722:function(w,r,n){"use strict";var e=n(40224),a=n(41746),t=n(18161),o=n(72951),f=n(65809),V=n(66266),k=V("iterator"),S=e.Uint8Array,b=t(f.values),h=t(f.keys),l=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=S&&S.prototype,u=!a(function(){d[k].call([1])}),s=!!d&&d.values&&d[k]===d.values&&d.values.name==="values",i=function(){function C(){return b(c(this))}return C}();m("entries",function(){function C(){return l(c(this))}return C}(),u),m("keys",function(){function C(){return h(c(this))}return C}(),u),m("values",i,u||!s,{name:"values"}),m(k,i,u||!s,{name:"values"})},79088:function(w,r,n){"use strict";var e=n(72951),a=n(18161),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function V(k){return f(t(this),k)}return V}())},6075:function(w,r,n){"use strict";var e=n(72951),a=n(70918),t=n(16934),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function V(k){var S=arguments.length;return a(t,o(this),S>1?[k,arguments[1]]:[k])}return V}())},46896:function(w,r,n){"use strict";var e=n(72951),a=n(67480).map,t=n(489),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function V(k){return a(o(this),k,arguments.length>1?arguments[1]:void 0,function(S,b){return new(t(S))(b)})}return V}())},47145:function(w,r,n){"use strict";var e=n(72951),a=n(66220),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var V=0,k=arguments.length,S=new(t(this))(k);k>V;)S[V]=arguments[V++];return S}return f}(),a)},349:function(w,r,n){"use strict";var e=n(72951),a=n(98405).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},72606:function(w,r,n){"use strict";var e=n(72951),a=n(98405).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(V){var k=arguments.length;return a(t(this),V,k,k>1?arguments[1]:void 0)}return f}())},28292:function(w,r,n){"use strict";var e=n(72951),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var V=this,k=a(V).length,S=o(k/2),b=0,h;b1?arguments[1]:void 0,1),v=V(i);if(d)return a(l,this,v,C);var g=this.length,p=o(v),N=0;if(p+C>g)throw new S("Wrong length");for(;Nm;)u[m]=l[m++];return u}return S}(),k)},74188:function(w,r,n){"use strict";var e=n(72951),a=n(67480).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(V){return a(t(this),V,arguments.length>1?arguments[1]:void 0)}return f}())},81976:function(w,r,n){"use strict";var e=n(40224),a=n(85067),t=n(41746),o=n(97361),f=n(44815),V=n(72951),k=n(49847),S=n(56605),b=n(82709),h=n(53125),l=V.aTypedArray,c=V.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),u=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(b)return b<74;if(k)return k<67;if(S)return!0;if(h)return h<602;var C=new m(516),v=Array(516),g,p;for(g=0;g<516;g++)p=g%4,C[g]=515-g,v[g]=g-2*p+3;for(d(C,function(N,y){return(N/4|0)-(y/4|0)}),g=0;g<516;g++)if(C[g]!==v[g])return!0}),i=function(v){return function(g,p){return v!==void 0?+v(g,p)||0:p!==p?-1:g!==g?1:g===0&&p===0?1/g>0&&1/p<0?1:-1:g>p}};c("sort",function(){function C(v){return v!==void 0&&o(v),s?d(this,v):f(l(this),i(v))}return C}(),!s||u)},78651:function(w,r,n){"use strict";var e=n(72951),a=n(10475),t=n(74067),o=n(489),f=e.aTypedArray,V=e.exportTypedArrayMethod;V("subarray",function(){function k(S,b){var h=f(this),l=h.length,c=t(S,l),m=o(h);return new m(h.buffer,h.byteOffset+c*h.BYTES_PER_ELEMENT,a((b===void 0?l:t(b,l))-c))}return k}())},81664:function(w,r,n){"use strict";var e=n(40224),a=n(70918),t=n(72951),o=n(41746),f=n(77713),V=e.Int8Array,k=t.aTypedArray,S=t.exportTypedArrayMethod,b=[].toLocaleString,h=!!V&&o(function(){b.call(new V(1))}),l=o(function(){return[1,2].toLocaleString()!==new V([1,2]).toLocaleString()})||!o(function(){V.prototype.toLocaleString.call([1,2])});S("toLocaleString",function(){function c(){return a(b,h?f(k(this)):k(this),f(arguments))}return c}(),l)},35579:function(w,r,n){"use strict";var e=n(72951).exportTypedArrayMethod,a=n(41746),t=n(40224),o=n(18161),f=t.Uint8Array,V=f&&f.prototype||{},k=[].toString,S=o([].join);a(function(){k.call({})})&&(k=function(){function h(){return S(this)}return h}());var b=V.toString!==k;e("toString",k,b)},99683:function(w,r,n){"use strict";var e=n(12218);e("Uint16",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},80941:function(w,r,n){"use strict";var e=n(12218);e("Uint32",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},45338:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()})},40737:function(w,r,n){"use strict";var e=n(12218);e("Uint8",function(a){return function(){function t(o,f,V){return a(this,o,f,V)}return t}()},!0)},74283:function(w,r,n){"use strict";var e=n(56255),a=n(40224),t=n(18161),o=n(13648),f=n(29126),V=n(93439),k=n(32920),S=n(56831),b=n(35086).enforce,h=n(41746),l=n(90777),c=Object,m=Array.isArray,d=c.isExtensible,u=c.isFrozen,s=c.isSealed,i=c.freeze,C=c.seal,v=!a.ActiveXObject&&"ActiveXObject"in a,g,p=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},N=V("WeakMap",p,k),y=N.prototype,B=t(y.set),I=function(){return e&&h(function(){var E=i([]);return B(new N,E,1),!u(E)})};if(l)if(v){g=k.getConstructor(p,"WeakMap",!0),f.enable();var L=t(y.delete),T=t(y.has),A=t(y.get);o(y,{delete:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),L(this,E)||M.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),T(this,E)||M.frozen.has(E)}return T(this,E)}return x}(),get:function(){function x(E){if(S(E)&&!d(E)){var M=b(this);return M.frozen||(M.frozen=new g),T(this,E)?A(this,E):M.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,M){if(S(E)&&!d(E)){var j=b(this);j.frozen||(j.frozen=new g),T(this,E)?B(this,E,M):j.frozen.set(E,M)}else B(this,E,M);return this}return x}()})}else I()&&o(y,{set:function(){function x(E,M){var j;return m(E)&&(u(E)?j=i:s(E)&&(j=C)),B(this,E,M),j&&j(E),this}return x}()})},84033:function(w,r,n){"use strict";n(74283)},82389:function(w,r,n){"use strict";var e=n(93439),a=n(32920);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},71863:function(w,r,n){"use strict";n(82389)},73993:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},55457:function(w,r,n){"use strict";n(73993),n(72532)},57399:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(27150),o=n(97361),f=n(22789),V=n(41746),k=n(14141),S=V(function(){return k&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:S},{queueMicrotask:function(){function b(h){f(arguments.length,1),t(o(h))}return b}()})},72532:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(91314).set,o=n(83827),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},48112:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},82274:function(w,r,n){"use strict";var e=n(77549),a=n(40224),t=n(83827),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},65836:function(w,r,n){"use strict";n(48112),n(82274)},50719:function(w){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT