diff --git a/.github/wiki/MAP_LIGHT.md b/.github/wiki/MAP_LIGHT.md new file mode 100644 index 000000000000..257b32fca9e5 --- /dev/null +++ b/.github/wiki/MAP_LIGHT.md @@ -0,0 +1,22 @@ +# Smart Light + +Умный свет - система цветного света для лампочек на станции, пресеты и моды позволяют настроить индивидуальное освещение для вашей карты. + +### Как добавить новый набор-пресет для карты: + +* Добавить новый ``/datum/smartlight_preset/вашеимя`` в [``/code/datums/lighting/smartlight_presets.dm``](/code/datums/lighting/smartlight_presets.dm) со своими настройками и уникальным ``.name`` +* Добавить в json конфига карты параметр ``smartlight_preset`` с ``.name`` нового пресета. Конфиг тестовой карты как пример. + +### Как добавить новый набор-пресет для зоны: +* Добавить новый ``/datum/smartlight_preset/вашеимя`` в [``/code/datums/lighting/smartlight_presets.dm``](/code/datums/lighting/smartlight_presets.dm) со своими настройками и уникальным ``.name`` +* На карте прописать нужному APC в параметры ``custom_smartlight_preset`` с ``.name`` нового пресета. APC бара на боксе как пример. + +### Как добавить новый световой мод: +* Смотреть [``/code/datums/lighting/light_modes.dm``](/code/datums/lighting/light_modes.dm), добавить новый datum. Поэкспериментировать с параметрами для света можно дебаг-вербом "Add Smartlight Preset". + * Рекомендую для ярких цветов уменьшать рейндж или силу, иначе оно начинает выглядеть как скучный цвето-фильтр на весь экран. +* Опционально - добавить новый тип ``/obj/item/weapon/disk/smartlight_programm`` в ``/code/game/machinery/computer/smartlight_console.dm``, добавить в карго заказы по подобию ``/datum/supply_pack/smartlight_standart``. + +### Как добавить новые уникальные лампочки: +* Рекомендуется: добавить новый тип ``/obj/item/weapon/light/*`` со своим световым модом и прочими настройками, и соответствующую ему лампу ``/obj/machinery/light/*``. +* Старый вариант: в параметрах лампы (любой ``/obj/machinery/light/*``) на карте прописать параметры ``force_override_color``, ``force_override_power``, ``force_override_range``. *Не рекомендуется, потому что хардкод и игнорирует параметры вставленной лампочки.* + diff --git a/README.md b/README.md index a0729929f646..f7ed498a9913 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ - [F.A.Q. по работе с картой](/.github/wiki/WORK_WITH_MAP.md) - [Вводный курс (форум)](https://forum.taucetistation.org/t/gajd-na-maping-i-kak-etim-voobshhe-zanimatsya/32439) - [Добавление своей станции](/.github/wiki/HOW_ADD_STATION.md) + - [Работа со светом](/.github/wiki/MAP_LIGHT.md) * **Звуки:** - [Общий гайд по работе со звуками в игре (wiki)](https://wiki.taucetistation.org/Soundmaking) * **Спрайты:** diff --git a/code/__DEFINES/_planes_layers.dm b/code/__DEFINES/_planes_layers.dm index 0b0d3eac5dc7..727609ef95b8 100644 --- a/code/__DEFINES/_planes_layers.dm +++ b/code/__DEFINES/_planes_layers.dm @@ -86,8 +86,11 @@ What is the naming convention for planes or layers? #define ANOMALY_PLANE -21 #define ANOMALY_RENDER_TARGET "*ANOM_RENDER_TARGET" +// underfloor, floor and game planes have common layout order +// in some cases object can be switched between these planes +// FLOOR plane disables ambitn occlusion, UNDERFLOOR exists for undertile component +#define UNDERFLOOR_PLANE -8 #define FLOOR_PLANE -7 - #define GAME_PLANE -4 #define BELOW_TURF_LAYER 1.9 //efine TURF_LAYER 2 // For easy recordkeeping; this is a byond define @@ -96,6 +99,9 @@ What is the naming convention for planes or layers? #define GAS_PIPE_HIDDEN_SUPPLY_LAYER 2.33 #define GAS_PIPE_HIDDEN_SCRUBBER_LAYER 2.34 #define GAS_PIPE_HIDDEN_LAYER 2.35 + #define POWER_CABLES_HEAVY 2.39 + #define TURF_CAP_LAYER 2.4 // cap on grid_floor and possible other future floors who can do UNDERFLOOR_VISIBLE, should be above hidden pipes + #define POWER_CABLES 2.44 #define GAS_SCRUBBER_LAYER 2.46 #define GAS_PIPE_VISIBLE_LAYER 2.47 #define GAS_FILTER_LAYER 2.48 @@ -103,6 +109,7 @@ What is the naming convention for planes or layers? #define LOW_OBJ_LAYER 2.491 // Currently used only by unused machinery #define SAFEDOOR_LAYER 2.5 // firedoors, poddoors, and someone used this for safe for some reason #define ABOVE_SAFEDOOR_LAYER 2.51 // poddoors default, they should be around SAFEDOOR_LAYER (see SAFEDOOR_CLOSED_MOD_*) but little above firedoors + #define POWER_TERMINAL 2.6 #define BELOW_CONTAINERS_LAYER 2.7 // Below closets, crates... #define CONTAINER_STRUCTURE_LAYER 2.8 // Layer for closets, crates, bags, racks, tables #define DOOR_LAYER 2.82 diff --git a/code/__DEFINES/_translation.dm b/code/__DEFINES/_translation.dm index 96db8496fd07..32b7cab2eff6 100644 --- a/code/__DEFINES/_translation.dm +++ b/code/__DEFINES/_translation.dm @@ -140,3 +140,12 @@ || atom.gender == FEMALE && w_female \ || atom.gender == NEUTER && w_neuter \ || w_plural + +// Capitalize Case: тоже самое, что и CASE, только превращает первую букву в заглавную +#define C_CASE(atom, case) capitalize(CASE(atom, case)) + +// Часто встречаемые pluralize_russian(). Не забывайте про существование нецелых чисел и округления - они тоже влияют. +#define PLUR_UNITS(units) pluralize_russian(units, "юнит", "юнита", "юнитов") + +#define PLUR_SECONDS_LEFT(seconds) pluralize_russian(seconds, "секунда", "секунды", "секунд") // "Осталась 1 секунда". Не путайте с нижним. +#define PLUR_SECONDS_IN(seconds) pluralize_russian(seconds, "секунду", "секунды", "секунд") // "Через 1 секунду". Не путайте с верхним. diff --git a/code/__DEFINES/dcs/signals.dm b/code/__DEFINES/dcs/signals.dm index 345d088203bf..aa9df02e0fd7 100644 --- a/code/__DEFINES/dcs/signals.dm +++ b/code/__DEFINES/dcs/signals.dm @@ -200,11 +200,14 @@ #define COMSIG_INSTRUMENT_REPEAT "instrument_repeat" ///sent to the instrument when tempo changes, skipped on new: (datum/music_player) #define COMSIG_INSTRUMENT_TEMPO_CHANGE "instrument_tempo_change" -// /obj + +// /obj signals /// from base of datum/religion_rites/reset_rite_wrapper(): () #define COMSIG_OBJ_RESET_RITE "obj_reset_rite" /// from base of datum/religion_rites/start(): () #define COMSIG_OBJ_START_RITE "obj_start_rite" +///from base of /turf/proc/levelupdate(). (underfloor_accessibility) +#define COMSIG_OBJ_LEVELUPDATE "obj_levelupdate" // /obj/item signals /// from base of obj/item/attack(): (/mob/living/target, /mob/living/user, def_zone) diff --git a/code/__DEFINES/flags.dm b/code/__DEFINES/flags.dm index 38d0138139ff..53709b3cf287 100644 --- a/code/__DEFINES/flags.dm +++ b/code/__DEFINES/flags.dm @@ -191,7 +191,6 @@ var/global/list/bitflags = list(1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 204 #define JOB_FLAG_NON_HUMAN 128 #define JOB_FLAG_HEAD_OF_STAFF 256 #define JOB_FLAG_BLUESHIELD_PROTEC 512 -#define JOB_FLAG_IMPOSTER_PRIORITIZE 1024 //dir macros ///Returns true if the dir is diagonal, false otherwise diff --git a/code/__DEFINES/gamemodes.dm b/code/__DEFINES/gamemodes.dm index afea4053526d..24aa2cde80a7 100644 --- a/code/__DEFINES/gamemodes.dm +++ b/code/__DEFINES/gamemodes.dm @@ -14,7 +14,6 @@ #define F_FAMILIES "Families" #define F_HEIST "Vox Shoal" #define F_HIVEMIND "Changeling Hivemind" -#define F_IMPOSTERS "Imposters" #define F_PROPS "Props" #define F_REVOLUTION "Revolution" #define F_SYNDIOPS "Syndicate Operatives" @@ -44,7 +43,6 @@ #define GANGSTER_LEADER "Gangster Leader" #define GANGSTER_DEALER "Gangster Dealer" #define HEADREV "Head Revolutionary" -#define IMPOSTER "Imposter" #define MALF "Malf AI" #define MALFBOT "Malf-Slaved Cyborg" #define NUKE_OP "Nuclear Operative" diff --git a/code/__DEFINES/is_helpers.dm b/code/__DEFINES/is_helpers.dm index c78c3d8c1273..c58bd1878cc8 100644 --- a/code/__DEFINES/is_helpers.dm +++ b/code/__DEFINES/is_helpers.dm @@ -205,8 +205,6 @@ #define istraitor(H) isrole(TRAITOR, H) -#define isimposter(H) isrole(IMPOSTER, H) - #define iselitesyndie(H) isrole(SYNDIESQUADIE, H) #define ismalf(H) isrole(MALF, H) diff --git a/code/__DEFINES/lighting.dm b/code/__DEFINES/lighting.dm index ca02d14e4cea..e7b30dabee4a 100644 --- a/code/__DEFINES/lighting.dm +++ b/code/__DEFINES/lighting.dm @@ -50,3 +50,27 @@ #define FLASH_LIGHT_DURATION 2 #define FLASH_LIGHT_POWER 3 #define FLASH_LIGHT_RANGE 3.8 + +/// Returns the red part of a #RRGGBB hex sequence as number +#define GETREDPART(hexa) hex2num(copytext(hexa, 2, 4)) + +/// Returns the green part of a #RRGGBB hex sequence as number +#define GETGREENPART(hexa) hex2num(copytext(hexa, 4, 6)) + +/// Returns the blue part of a #RRGGBB hex sequence as number +#define GETBLUEPART(hexa) hex2num(copytext(hexa, 6, 8)) + +/// Parse the hexadecimal color into lumcounts of each perspective. +#define PARSE_LIGHT_COLOR(source) \ +do { \ + if (source.light_color) { \ + var/__light_color = source.light_color; \ + source.lum_r = GETREDPART(__light_color) / 255; \ + source.lum_g = GETGREENPART(__light_color) / 255; \ + source.lum_b = GETBLUEPART(__light_color) / 255; \ + } else { \ + source.lum_r = 1; \ + source.lum_g = 1; \ + source.lum_b = 1; \ + }; \ +} while (FALSE) diff --git a/code/__DEFINES/role_preferences.dm b/code/__DEFINES/role_preferences.dm index c8ea2950790e..664d41522037 100644 --- a/code/__DEFINES/role_preferences.dm +++ b/code/__DEFINES/role_preferences.dm @@ -19,7 +19,6 @@ #define ROLE_ABDUCTOR "Abductor" #define ROLE_FAMILIES "Families" #define ROLE_GHOSTLY "Ghostly Roles" -#define ROLE_IMPOSTER "Imposter" #define ROLE_REPLICATOR "Replicator" #define ROLE_ERT "Emergency Response Team" @@ -50,7 +49,6 @@ var/global/list/special_roles_ignore_question = list( ROLE_SHADOWLING = null, ROLE_FAMILIES = null, ROLE_REPLICATOR = null, - ROLE_IMPOSTER = null, ROLE_GHOSTLY = list(IGNORE_PAI, IGNORE_TSTAFF, IGNORE_SURVIVOR, IGNORE_POSBRAIN, IGNORE_DRONE), ) diff --git a/code/__DEFINES/traits.dm b/code/__DEFINES/traits.dm index 993422cc9895..e6bf100873e3 100644 --- a/code/__DEFINES/traits.dm +++ b/code/__DEFINES/traits.dm @@ -119,6 +119,8 @@ : FALSE) #define HAS_TRAIT_NOT_FROM(target, trait, source) (target.status_traits ? (target.status_traits[trait] ? (length(target.status_traits[trait] - source) > 0) : FALSE) : FALSE) +/// Trait applied by element +#define ELEMENT_TRAIT(source) "element_trait_[source]" //mob traits /// Forces user to be unmovable @@ -206,6 +208,9 @@ // item trait #define TRAIT_NO_SACRIFICE "religion_no_sacrifice" +/// Visible on t-ray scanners if the atom is under tile +#define TRAIT_T_RAY_VISIBLE "t-ray-visible" + // idk why this exists on TG #define GENERIC_TRAIT "generic" // common trait sources @@ -226,6 +231,8 @@ // atom traits #define TRAIT_XENO_FUR "xeno_fur" +// Trait from being under the floor in some manner +#define TRAIT_UNDERFLOOR "underfloor" // trait sources #define EYE_DAMAGE_TRAIT "eye_damage" diff --git a/code/__DEFINES/turfs.dm b/code/__DEFINES/turfs.dm new file mode 100644 index 000000000000..ca47e8a9994b --- /dev/null +++ b/code/__DEFINES/turfs.dm @@ -0,0 +1,6 @@ +/// The pipes, disposals, and wires are hidden +#define UNDERFLOOR_HIDDEN 0 +/// The pipes, disposals, and wires are visible but cannot be interacted with +#define UNDERFLOOR_VISIBLE 1 +/// The pipes, disposals, and wires are visible and can be interacted with +#define UNDERFLOOR_INTERACTABLE 2 diff --git a/code/__DEFINES/varedit.dm b/code/__DEFINES/varedit.dm index beefb7ef8172..a92eacdd167d 100644 --- a/code/__DEFINES/varedit.dm +++ b/code/__DEFINES/varedit.dm @@ -37,7 +37,7 @@ #define VE_DEBUG \ list("vars", "summon_type", "AI_Interact", "key", "ckey", "client") #define VE_FULLY_LOCKED \ - list("holder", "glide_size", "player_next_age_tick", "player_ingame_age", "resize_rev", "step_x", "step_y", "smooth_icon_initial", "current_power_usage", "current_power_area", "script", "command_text", "proc_res") + list("holder", "glide_size", "player_next_age_tick", "player_ingame_age", "resize_rev", "step_x", "step_y", "bound_x", "bound_y", "step_size", "bound_height", "bound_width", "bounds", "smooth_icon_initial", "current_power_usage", "current_power_area", "script", "command_text", "proc_res") /* massmodify protected */ @@ -47,7 +47,7 @@ #define VE_MASS_DEBUG \ list("vars", "summon_type", "AI_Interact") #define VE_MASS_FULLY_LOCKED \ - list("holder", "glide_size", "player_next_age_tick", "player_ingame_age", "resize_rev", "step_x", "step_y", "key", "ckey", "client", "smooth_icon_initial", "current_power_usage", "current_power_area", "script", "command_text", "proc_res") + list("holder", "glide_size", "player_next_age_tick", "player_ingame_age", "resize_rev", "step_x", "step_y", "bound_x", "bound_y", "step_size", "bound_height", "bound_width", "bounds", "key", "ckey", "client", "smooth_icon_initial", "current_power_usage", "current_power_area", "script", "command_text", "proc_res") /* hidden variables */ #define VE_HIDDEN_LOG \ diff --git a/code/__HELPERS/game.dm b/code/__HELPERS/game.dm index d11e96ce946c..d07f24b357f8 100644 --- a/code/__HELPERS/game.dm +++ b/code/__HELPERS/game.dm @@ -426,22 +426,6 @@ return new /datum/projectile_data(src_x, src_y, time, distance, power_x, power_y, dest_x, dest_y) -/proc/GetRedPart(const/hexa) - return hex2num(copytext(hexa,2,4)) - -/proc/GetGreenPart(const/hexa) - return hex2num(copytext(hexa,4,6)) - -/proc/GetBluePart(const/hexa) - return hex2num(copytext(hexa,6,8)) - -/proc/GetHexColors(const/hexa) - return list( - GetRedPart(hexa), - GetGreenPart(hexa), - GetBluePart(hexa) - ) - /proc/MixColors(const/list/colors) var/list/reds = list() var/list/blues = list() @@ -449,9 +433,9 @@ var/list/weights = list() for (var/i = 0, ++i <= colors.len) - reds.Add(GetRedPart(colors[i])) - blues.Add(GetBluePart(colors[i])) - greens.Add(GetGreenPart(colors[i])) + reds.Add(GETREDPART(colors[i])) + blues.Add(GETBLUEPART(colors[i])) + greens.Add(GETGREENPART(colors[i])) weights.Add(1) var/r = mixOneColor(weights, reds) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index 225b81861c7b..26db7de23070 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -414,3 +414,21 @@ return pick(user.neuter_gender_voice == MALE ? male_sounds : female_sounds) return pick(male_sounds) + +/proc/get_germ_level_name(germ_level) + switch(germ_level) + if(INFECTION_LEVEL_ONE to INFECTION_LEVEL_ONE_PLUS) + return "Лёгкая инфекция" + if(INFECTION_LEVEL_ONE_PLUS to INFECTION_LEVEL_ONE_PLUS_PLUS) + return "Лёгкая инфекция+" + if(INFECTION_LEVEL_ONE_PLUS_PLUS to INFECTION_LEVEL_TWO) + return "Лёгкая инфекция++" + if(INFECTION_LEVEL_TWO to INFECTION_LEVEL_TWO_PLUS) + return "Острая инфекция" + if(INFECTION_LEVEL_TWO_PLUS to INFECTION_LEVEL_TWO_PLUS_PLUS) + return "Острая инфекция+" + if(INFECTION_LEVEL_TWO_PLUS_PLUS to INFECTION_LEVEL_THREE) + return "Острая инфекция++" + if(INFECTION_LEVEL_THREE to INFINITY) + return "Сепсис" + return diff --git a/code/__HELPERS/wrappers.dm b/code/__HELPERS/wrappers.dm index 4137d93e1905..e3add1b15263 100644 --- a/code/__HELPERS/wrappers.dm +++ b/code/__HELPERS/wrappers.dm @@ -2,3 +2,28 @@ /proc/_step(ref, dir) step(ref, dir) + +// used in hotkeys so that we can call proc instead of winset(src, null, "command=say") +/mob/proc/say_wrapper() + set_typing_indicator(TRUE) + var/message = input("","say (text)") as text|null + if(message) + say_verb(message) + set_typing_indicator(FALSE) + +/mob/proc/me_wrapper() + set_typing_indicator(TRUE) + var/message = input("","me (text)") as text|null + if(message) + me_verb(message) + set_typing_indicator(FALSE) + +/client/proc/ooc_wrapper() + var/message = input("","ooc (text)") as text|null + if(message) + ooc(message) + +/client/proc/looc_wrapper() + var/message = input("","looc (text)") as text|null + if(message) + looc(message) diff --git a/code/_globalvars/lists/misc.dm b/code/_globalvars/lists/misc.dm index a1c6d2848e0a..fe0821520649 100644 --- a/code/_globalvars/lists/misc.dm +++ b/code/_globalvars/lists/misc.dm @@ -29,7 +29,6 @@ var/global/list/roles_ingame_minute_unlock = list( ROLE_SHADOWLING = 4320, ROLE_FAMILIES = 2160, ROLE_REPLICATOR = 2880, - ROLE_IMPOSTER = 720, ROLE_GHOSTLY = 360, ) diff --git a/code/_onclick/hud/rendering/plane_master.dm b/code/_onclick/hud/rendering/plane_master.dm index 3961a9fccbba..845870685161 100644 --- a/code/_onclick/hud/rendering/plane_master.dm +++ b/code/_onclick/hud/rendering/plane_master.dm @@ -28,6 +28,14 @@ /atom/movable/screen/plane_master/proc/apply_effects(mob/mymob) return +///Level below the floor, for undertile component +/atom/movable/screen/plane_master/underfloor + name = "underfloor plane master" + plane = UNDERFLOOR_PLANE + appearance_flags = PLANE_MASTER + blend_mode = BLEND_OVERLAY + render_relay_plane = RENDER_PLANE_GAME + ///Contains just the floor /atom/movable/screen/plane_master/floor name = "floor plane master" diff --git a/code/_onclick/hud/rendering/plane_master_controller.dm b/code/_onclick/hud/rendering/plane_master_controller.dm index d6c42946d875..23afc24ef988 100644 --- a/code/_onclick/hud/rendering/plane_master_controller.dm +++ b/code/_onclick/hud/rendering/plane_master_controller.dm @@ -8,6 +8,7 @@ /atom/movable/plane_master_controller/game name = PLANE_MASTERS_GAME controlled_planes = list( + UNDERFLOOR_PLANE, FLOOR_PLANE, GAME_PLANE, ABOVE_GAME_PLANE, diff --git a/code/controllers/subsystem/lighting.dm b/code/controllers/subsystem/lighting.dm index 541d5b1aafd0..e5ce812c0a6e 100644 --- a/code/controllers/subsystem/lighting.dm +++ b/code/controllers/subsystem/lighting.dm @@ -1,7 +1,3 @@ -var/global/list/lighting_update_lights = list() // List of lighting sources queued for update. -var/global/list/lighting_update_corners = list() // List of lighting corners queued for update. -var/global/list/lighting_update_objects = list() // List of lighting objects queued for update. - SUBSYSTEM_DEF(lighting) name = "Lighting" @@ -11,8 +7,12 @@ SUBSYSTEM_DEF(lighting) flags = SS_TICKER msg_lobby = "Включаем свет..." + var/static/list/sources_queue = list() // List of lighting sources queued for update. + var/static/list/corners_queue = list() // List of lighting corners queued for update. + var/static/list/objects_queue = list() // List of lighting objects queued for update. + /datum/controller/subsystem/lighting/stat_entry() - ..("L:[global.lighting_update_lights.len]|C:[global.lighting_update_corners.len]|O:[global.lighting_update_objects.len]") + ..("L:[sources_queue.len]|C:[corners_queue.len]|O:[objects_queue.len]") /datum/controller/subsystem/lighting/Initialize(timeofday) if(!initialized) @@ -48,9 +48,9 @@ SUBSYSTEM_DEF(lighting) if(!init_fire) MC_SPLIT_TICK - while (global.lighting_update_lights.len) - var/datum/light_source/L = global.lighting_update_lights[global.lighting_update_lights.len] - global.lighting_update_lights.len-- + while (sources_queue.len) + var/datum/light_source/L = sources_queue[sources_queue.len] + sources_queue.len-- L.update_corners() @@ -67,25 +67,25 @@ SUBSYSTEM_DEF(lighting) var/i = 0 - for (i in 1 to global.lighting_update_corners.len) - var/datum/lighting_corner/C = global.lighting_update_corners[i] + for (i in 1 to corners_queue.len) + var/datum/lighting_corner/C = corners_queue[i] - C.update_objects() C.needs_update = FALSE + C.update_objects() if(init_fire) CHECK_TICK else if (MC_TICK_CHECK) break if (i) - global.lighting_update_corners.Cut(1, i+1) + corners_queue.Cut(1, i+1) i = 0 if(!init_fire) MC_SPLIT_TICK - for (i in 1 to global.lighting_update_objects.len) - var/atom/movable/lighting_object/O = global.lighting_update_objects[i] + for (i in 1 to objects_queue.len) + var/atom/movable/lighting_object/O = objects_queue[i] if (QDELETED(O)) continue @@ -97,7 +97,7 @@ SUBSYSTEM_DEF(lighting) else if (MC_TICK_CHECK) break if (i) - global.lighting_update_objects.Cut(1, i+1) + objects_queue.Cut(1, i+1) /datum/controller/subsystem/lighting/Recover() initialized = SSlighting.initialized diff --git a/code/controllers/subsystem/mapping.dm b/code/controllers/subsystem/mapping.dm index 7d1bb0cbb29f..ba4d662ae5fb 100644 --- a/code/controllers/subsystem/mapping.dm +++ b/code/controllers/subsystem/mapping.dm @@ -273,7 +273,7 @@ SUBSYSTEM_DEF(mapping) if(areas_by_type[/area/shuttle/officer/station]) areas_by_type[/area/shuttle/officer/station].name = config.station_name if(areas_by_type[/area/velocity/monorailwagon]) - areas_by_type[/area/velocity/monorailwagon].name = "NTS Velocity, Dock 42, Monorail Metro Station" + areas_by_type[/area/velocity/monorailwagon].name = "НТС Велосити, остановка 42-й док" /datum/controller/subsystem/mapping/proc/changemap(datum/map_config/VM) if(!VM.MakeNextMap()) diff --git a/code/controllers/subsystem/overlays.dm b/code/controllers/subsystem/overlays.dm index e25c376f7d20..6c440a98621b 100644 --- a/code/controllers/subsystem/overlays.dm +++ b/code/controllers/subsystem/overlays.dm @@ -135,6 +135,10 @@ SUBSYSTEM_DEF(overlays) overlays = build_appearance_list(overlays) + if(SSticker.current_state <= GAME_STATE_STARTUP) // saves on subsystem overhead at init + src.overlays += overlays + return + LAZYINITLIST(add_overlays) //always initialized after this point var/a_len = add_overlays.len diff --git a/code/datums/announcements/events.dm b/code/datums/announcements/events.dm index 24b8ce76f05e..88912397ca58 100644 --- a/code/datums/announcements/events.dm +++ b/code/datums/announcements/events.dm @@ -142,6 +142,11 @@ /datum/announcement/centcomm/comms_blackout/New() message = "Обнаружена ионносферная аномалия. Временный сбой связи неизбежен. Пожалуйста, свяжитесь с ваши*%фж00)`5вц-БЗЗТ" +/datum/announcement/centcomm/comms_blackout_traitor + name = "Event: Traitor Communication Blackout" + message = "Зафиксирован несанкционированный доступ к хранилищу данных центрального узла телеко%ци˝ ВРА^ж<.3-БЗЗЗЗЗЗТ" + sound = "commandreport" + /datum/announcement/centcomm/dust name = "Event: Sand Storm" /datum/announcement/centcomm/dust/New() diff --git a/code/datums/elements/undertile.dm b/code/datums/elements/undertile.dm new file mode 100644 index 000000000000..ed108d84ea20 --- /dev/null +++ b/code/datums/elements/undertile.dm @@ -0,0 +1,85 @@ +/// The alpha we give to stuff under tiles, if they want it +#define ALPHA_UNDERTILE 128 + +///Add to an object if you want to be able to be hidden under tiles +///If you allow object to be undertile, you need to add checks for TRAIT_UNDERFLOOR && UNDERFLOOR_INTERACTABLE for any interactions +/datum/element/undertile + element_flags = ELEMENT_BESPOKE | COMPONENT_DUPE_HIGHLANDER + id_arg_index = 2 + + ///the invisiblity trait applied, like TRAIT_T_RAY_VISIBLE + var/invisibility_trait + ///level of invisibility applied when under a tile. Could be INVISIBILITY_OBSERVER if you still want it to be visible to ghosts + var/invisibility_level + ///an overlay for the tile if we wish to apply that + var/tile_overlay + ///whether we use alpha or not. TRUE uses ALPHA_UNDERTILE because otherwise we have 200 different instances of this element for different alphas + var/use_alpha + ///We will switch between anchored and unanchored. for stuff like satchels that shouldn't be pullable under tiles but are otherwise unanchored + var/use_anchor + +/datum/element/undertile/Attach(datum/target, invisibility_trait, invisibility_level = INVISIBILITY_MAXIMUM, tile_overlay, use_alpha = TRUE, use_anchor = FALSE) + . = ..() + + if(!ismovable(target)) + return ELEMENT_INCOMPATIBLE + + RegisterSignal(target, COMSIG_OBJ_LEVELUPDATE, PROC_REF(hide)) + + src.invisibility_trait = invisibility_trait + src.invisibility_level = invisibility_level + src.tile_overlay = tile_overlay + src.use_alpha = use_alpha + src.use_anchor = use_anchor + +///called when a tile has been covered or uncovered +/datum/element/undertile/proc/hide(atom/movable/source, underfloor_accessibility) + SIGNAL_HANDLER + + if(underfloor_accessibility < UNDERFLOOR_VISIBLE) + source.invisibility = invisibility_level + else + source.invisibility = initial(invisibility_level) + + var/turf/T = get_turf(source) + + if(underfloor_accessibility < UNDERFLOOR_INTERACTABLE) + source.plane = UNDERFLOOR_PLANE + ADD_TRAIT(source, TRAIT_UNDERFLOOR, REF(src)) + + if(tile_overlay) + T.add_overlay(tile_overlay) + + if(use_anchor) + source.anchored = TRUE + + if(underfloor_accessibility < UNDERFLOOR_VISIBLE) + if(use_alpha) + source.alpha = ALPHA_UNDERTILE + + if(invisibility_trait) + ADD_TRAIT(source, invisibility_trait, ELEMENT_TRAIT(type)) + + else + source.plane = initial(source.plane) + REMOVE_TRAIT(source, TRAIT_UNDERFLOOR, REF(src)) + + if(invisibility_trait) + REMOVE_TRAIT(source, invisibility_trait, ELEMENT_TRAIT(type)) + + if(tile_overlay) + T.overlays -= tile_overlay + + if(use_alpha) + source.alpha = initial(source.alpha) + + if(use_anchor) + source.anchored = FALSE + +/datum/element/undertile/Detach(atom/movable/source, visibility_trait, invisibility_level = INVISIBILITY_MAXIMUM) + . = ..() + + hide(source, UNDERFLOOR_INTERACTABLE) + UnregisterSignal(source, COMSIG_OBJ_LEVELUPDATE) + +#undef ALPHA_UNDERTILE diff --git a/code/datums/keybinding/communication.dm b/code/datums/keybinding/communication.dm index 57cc9055f5a4..cd51c1fc196d 100644 --- a/code/datums/keybinding/communication.dm +++ b/code/datums/keybinding/communication.dm @@ -6,21 +6,33 @@ name = "Say" full_name = "IC Say" +/datum/keybinding/client/communication/say/down(client/user) + user.mob.say_wrapper() + return TRUE + /datum/keybinding/client/communication/ooc hotkey_keys = list("F2", "O") name = "OOC" full_name = "Out Of Character Say (OOC)" +/datum/keybinding/client/communication/ooc/down(client/user) + user.ooc_wrapper() + return TRUE + /datum/keybinding/client/communication/looc hotkey_keys = list("L") name = "LOOC" full_name = "Local Out Of Character Say (LOOC)" /datum/keybinding/client/communication/looc/down(client/user) - user.looc() + user.looc_wrapper() return TRUE /datum/keybinding/client/communication/me hotkey_keys = list("F4", "M") name = "Me" full_name = "Custom Emote (/Me)" + +/datum/keybinding/client/communication/me/down(client/user) + user.mob.me_wrapper() + return TRUE diff --git a/code/modules/lighting/lamps/light_modes.dm b/code/datums/lighting/light_modes.dm similarity index 100% rename from code/modules/lighting/lamps/light_modes.dm rename to code/datums/lighting/light_modes.dm diff --git a/code/modules/smartlight/smartlight_presets.dm b/code/datums/lighting/smartlight_presets.dm similarity index 81% rename from code/modules/smartlight/smartlight_presets.dm rename to code/datums/lighting/smartlight_presets.dm index 51fa17b6b045..20e8a3168590 100644 --- a/code/modules/smartlight/smartlight_presets.dm +++ b/code/datums/lighting/smartlight_presets.dm @@ -162,38 +162,38 @@ var/global/list/smartlight_presets available_modes = list(/datum/light_mode/cargo) /datum/smartlight_preset/k3000 - name = "default 3000k" - default_mode = /datum/light_mode/k3000 - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/k3000) + name = "default 3000k" + default_mode = /datum/light_mode/k3000 + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/k3000) /datum/smartlight_preset/k4000 - name = "default 4000k" - default_mode = /datum/light_mode/k4000 - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/k4000) + name = "default 4000k" + default_mode = /datum/light_mode/k4000 + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/k4000) /datum/smartlight_preset/k5000 - name = "default 5000k" - default_mode = /datum/light_mode/k5000 - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/k5000) + name = "default 5000k" + default_mode = /datum/light_mode/k5000 + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/k5000) /datum/smartlight_preset/k6000 - name = "default 6000k" - no_nightshift_mode = TRUE - default_mode = /datum/light_mode/k6000 - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/k6000) + name = "default 6000k" + no_nightshift_mode = TRUE + default_mode = /datum/light_mode/k6000 + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/k6000) /datum/smartlight_preset/soft - name = "soft" - default_mode = /datum/light_mode/soft - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/soft) + name = "soft" + default_mode = /datum/light_mode/soft + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/soft) /datum/smartlight_preset/hard - name = "hard" - default_mode = /datum/light_mode/hard - no_nightshift_mode = TRUE - available_modes = list(/datum/light_mode/hard) + name = "hard" + default_mode = /datum/light_mode/hard + no_nightshift_mode = TRUE + available_modes = list(/datum/light_mode/hard) diff --git a/code/defines/obj/hydro.dm b/code/defines/obj/hydro.dm index 284880ce42ee..b488e4eb16f7 100644 --- a/code/defines/obj/hydro.dm +++ b/code/defines/obj/hydro.dm @@ -1328,6 +1328,7 @@ . = ..() spawn(5) reagents.add_reagent("nutriment", 1 + round((potency / 50), 1)) + reagents.add_reagent("pacid", round(potency, 1)) reagents.add_reagent("sanguisacid", round(potency, 1)) force = round((5 + potency / 2.5), 1) diff --git a/code/game/area/areas.dm b/code/game/area/areas.dm index 377a9883c3ed..74e9f7a3c7ed 100644 --- a/code/game/area/areas.dm +++ b/code/game/area/areas.dm @@ -4,7 +4,6 @@ // === /area - level = null name = "Space" icon = 'icons/turf/areas.dmi' icon_state = "unknown" diff --git a/code/game/atoms.dm b/code/game/atoms.dm index 24daa93174cb..3351b08a1354 100644 --- a/code/game/atoms.dm +++ b/code/game/atoms.dm @@ -2,7 +2,6 @@ layer = TURF_LAYER plane = GAME_PLANE - var/level = 2 var/flags = 0 var/flags_2 = 0 var/list/fingerprints diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index 371f438c8813..dcde35a34e70 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -167,38 +167,35 @@ A.Bumped(src) -/atom/movable/proc/forceMove(atom/destination, keep_pulling = FALSE, keep_buckled = FALSE, keep_moving_diagonally = FALSE) - if(destination) - if(pulledby && !keep_pulling) - pulledby.stop_pulling() - var/atom/oldloc = loc - var/same_loc = (oldloc == destination) - var/area/old_area = get_area(oldloc) - var/area/destarea = get_area(destination) - - loc = destination - if(!keep_moving_diagonally) - moving_diagonally = FALSE - - if(!same_loc) - if(oldloc) - oldloc.Exited(src, destination) - if(old_area && old_area != destarea) - old_area.Exited(src, destination) - for(var/atom/movable/AM in oldloc) - AM.Uncrossed(src) - destination.Entered(src, oldloc) - if(destarea && old_area != destarea) - destarea.Entered(src, oldloc) - - for(var/atom/movable/AM in destination) - if(AM == src) - continue - AM.Crossed(src, oldloc) - Moved(oldloc, 0) - return TRUE - return FALSE +/atom/movable/proc/forceMove(atom/destination, keep_pulling = FALSE, keep_buckled = FALSE, keep_moving_diagonally = FALSE) + if(!destination) + return + if(pulledby && !keep_pulling) + pulledby.stop_pulling() + var/atom/oldloc = loc + var/same_loc = (oldloc == destination) + var/area/old_area = get_area(oldloc) + var/area/destarea = get_area(destination) + loc = destination + if(!keep_moving_diagonally) + moving_diagonally = FALSE + if(!same_loc) + if(oldloc) + oldloc.Exited(src, destination) + if(old_area && old_area != destarea) + old_area.Exited(src, destination) + for(var/atom/movable/AM in oldloc) + AM.Uncrossed(src) + destination.Entered(src, oldloc) + if(destarea && old_area != destarea) + destarea.Entered(src, oldloc) + + for(var/atom/movable/AM in destination) + if(AM == src) + continue + AM.Crossed(src, oldloc) + Moved(oldloc, 0) /mob/forceMove(atom/destination, keep_pulling = FALSE, keep_buckled = FALSE) if(!keep_pulling) diff --git a/code/game/gamemodes/factions/autotraitors.dm b/code/game/gamemodes/factions/autotraitors.dm index 59fc12c8735e..2a930f4c435e 100644 --- a/code/game/gamemodes/factions/autotraitors.dm +++ b/code/game/gamemodes/factions/autotraitors.dm @@ -1,6 +1,3 @@ -// Time for station to equip themselfs -#define FIRST_ADDITION_IMPOSTER_CD 7 MINUTES - /datum/faction/traitor/auto name = "AutoTraitors" var/next_try = 0 @@ -89,102 +86,3 @@ /datum/faction/traitor/auto/OnPostSetup() addtimer(CALLBACK(src, PROC_REF(traitorcheckloop)), global.autotraitors_spawn_cd) return ..() - -/datum/faction/traitor/auto/imposter - name = F_IMPOSTERS - required_pref = ROLE_IMPOSTER - roletype = /datum/role/traitor/imposter - initroletype = /datum/role/traitor/imposter - //latespawned human can be imposter - accept_latejoiners = TRUE - rounstart_populate = FALSE - //abstract variable which helps decide how much imposters we need - var/antag_counting = 0 - -/datum/faction/traitor/auto/imposter/can_setup(num_players) - limit_roles(num_players) - return TRUE - -/datum/faction/traitor/auto/imposter/OnPostSetup() - . = ..() - antag_counting = members.len - addtimer(CALLBACK(src, PROC_REF(first_imposter_addition)), FIRST_ADDITION_IMPOSTER_CD) - -// Mindprotected gain imposter -/datum/faction/traitor/auto/imposter/proc/first_imposter_addition() - var/list/mindprotected_list = list() - for(var/mob/living/carbon/human/player as anything in human_list) - if(!player.mind || !player.client) - continue - if(isanyantag(player)) - continue - if(!(required_pref in player.client.prefs.be_role)) - continue - if(jobban_isbanned(player, required_pref)) - continue - if(!role_available_in_minutes(player, required_pref)) - continue - var/datum/job/J = SSjob.GetJob(player.mind.assigned_role) - if(!J) - continue - if(J.flags & JOB_FLAG_IMPOSTER_PRIORITIZE) - mindprotected_list += player - log_mode("IMPOSTERS: First addition list has [mindprotected_list.len] lenght") - if(mindprotected_list.len) - var/mob/M = pick(mindprotected_list) - add_faction_member(src, M, TRUE, TRUE) - antag_counting++ - -/datum/faction/traitor/auto/imposter/get_max_traitors(playercount) - return antag_counting - -//less maths -/datum/faction/traitor/auto/imposter/calculate_autotraitor_probability(playercount, current_traitors, max_traitors) - var/traitor_prob = 100 - log_mode("IMPOSTERS: Current count of roles on station is [current_traitors].") - var/border_of_traitors = min(playercount, max_traitors) - log_mode("IMPOSTERS: Calculated border of roles is [border_of_traitors].") - if(current_traitors > border_of_traitors) - traitor_prob = 0 - return traitor_prob - -/datum/faction/traitor/auto/imposter/traitorcheckloop() - log_mode("IMPOSTERS: Try add new auto-imposter.") - antag_counting++ - if(antag_counting > members.len) - return ..() - else - log_mode("IMPOSTERS: Imposter count is [antag_counting], members count is [members.len]. Adding auto-imposters failed") - -/datum/faction/traitor/auto/imposter/limit_roles(num_players) - // No imposters on roundstart - max_roles = 0 - min_roles = 0 - return max_roles - -/datum/faction/traitor/auto/imposter/can_latespawn_mob(mob/P) - //Not every joined human can start with traitor role - if(prob(50)) - log_mode("IMPOSTERS: [P] latespawned without adding to [src] faction") - return FALSE - //calculate every time which members are succeed, stop spawn when at least 1 succeeded - for(var/datum/role/member_role in members) - if(member_role.IsSuccessful()) - log_mode("IMPOSTERS: [P] wanna be a member of [src], but [src] faction members have completed objectives") - return FALSE - //probability 50% to increase amount of imposters by ~20% - if(members.len < calculate_traitor_scaling(player_list.len)) - return TRUE - log_mode("IMPOSTERS: Members ([members.len]) has enough people for current players amount ([player_list.len])") - -/datum/faction/traitor/auto/imposter/sort_possible_traitors(list/sorting_list) - for(var/mob/living/player in sorting_list) - if(!player.mind || !player.client) - sorting_list -= player - continue - for(var/job in list("Velocity Officer", "Velocity Chief", "Velocity Medical Doctor")) - if(player.mind.assigned_role == job) - sorting_list -= player - return sorting_list - -#undef FIRST_ADDITION_IMPOSTER_CD diff --git a/code/game/gamemodes/factions/blob.dm b/code/game/gamemodes/factions/blob.dm index 570b4fe7678a..8dcc2325be72 100644 --- a/code/game/gamemodes/factions/blob.dm +++ b/code/game/gamemodes/factions/blob.dm @@ -280,16 +280,10 @@ Message ends."} floor += 1 if(iswallturf(T)) - if(T.intact) - wall += 2 - else - wall += 1 + wall += 2 if(istype(T, /turf/simulated/wall/r_wall)) - if(T.intact) - r_wall += 2 - else - r_wall += 1 + r_wall += 2 for(var/obj/O in T.contents) if(istype(O, /obj/structure/window)) diff --git a/code/game/gamemodes/game_mode.dm b/code/game/gamemodes/game_mode.dm index 2ee0add59864..56a0da119334 100644 --- a/code/game/gamemodes/game_mode.dm +++ b/code/game/gamemodes/game_mode.dm @@ -204,7 +204,7 @@ var/global/list/datum/faction/preinit_factions addtimer(CALLBACK(src, PROC_REF(display_roundstart_logout_report)), ROUNDSTART_LOGOUT_REPORT_TIME) addtimer(CALLBACK(src, PROC_REF(send_intercept)), rand(INTERCEPT_TIME_LOW , INTERCEPT_TIME_HIGH)) - var/list/exclude_autotraitor_for = list(/datum/game_mode/extended, /datum/game_mode/imposter) + var/list/exclude_autotraitor_for = list(/datum/game_mode/extended) if(!(type in exclude_autotraitor_for)) CreateFaction(/datum/faction/traitor/auto, num_players()) diff --git a/code/game/gamemodes/modes_declares/imposters.dm b/code/game/gamemodes/modes_declares/imposters.dm deleted file mode 100644 index bc7230bf6756..000000000000 --- a/code/game/gamemodes/modes_declares/imposters.dm +++ /dev/null @@ -1,11 +0,0 @@ -/datum/game_mode/imposter - name = "Imposter" - config_name = "imposter" - probability = 5 - factions_allowed = list(/datum/faction/traitor/auto/imposter) - minimum_player_count = 1 - minimum_players_bundles = 1 - -/datum/game_mode/imposter/announce() - to_chat(world, "<B>Текущий режим игры - Самозванец!</B>") - to_chat(world, "<B>Среди нас 1 предатель...</B>") diff --git a/code/game/gamemodes/objectives/download_tcoms_data.dm b/code/game/gamemodes/objectives/download_tcoms_data.dm new file mode 100644 index 000000000000..4bd2c8b8a31a --- /dev/null +++ b/code/game/gamemodes/objectives/download_tcoms_data.dm @@ -0,0 +1,26 @@ +/datum/objective/download_telecommunications_data + explanation_text = "Download important data from the telecommunications hub to the disk provided to you." + required_equipment = /obj/item/weapon/disk/telecomms + +/datum/objective/download_telecommunications_data/check_completion() + var/list/items = owner.current.GetAllContents() + for(var/obj/item/i in items) + if(istype(i, required_equipment)) + var/obj/item/weapon/disk/telecomms/disk = i + if(disk.have_data == TRUE) + return OBJECTIVE_WIN + return OBJECTIVE_LOSS + +/obj/item/weapon/disk/telecomms + name = "Suspicious Disk" + desc = "Печально известная и исключительно нелегальная модель дискеты, такие часто используются корпоративными шпионами для кражи данных." + origin_tech = "magnets=5;programming=5;syndicate=3" + icon_state = "syndidisk" + item_state = "card-id" + w_class = SIZE_TINY + var/have_data = FALSE + +/obj/item/weapon/disk/telecomms/examine(mob/user) + ..() + if(have_data == TRUE) + to_chat(user, "<span class='notice'>Память дискеты заполнена.</span>") diff --git a/code/game/gamemodes/objectives/steal.dm b/code/game/gamemodes/objectives/steal.dm index fa5c9b64b856..0d2ad791602f 100644 --- a/code/game/gamemodes/objectives/steal.dm +++ b/code/game/gamemodes/objectives/steal.dm @@ -7,7 +7,6 @@ ADD_TO_POIFS_LIST(/obj/item/weapon/tank/jetpack/oxygen) ADD_TO_POIFS_LIST(/obj/item/clothing/under/rank/captain) ADD_TO_POIFS_LIST(/obj/item/device/aicard) ADD_TO_POIFS_LIST(/obj/item/blueprints) -ADD_TO_POIFS_LIST(/obj/item/clothing/suit/space/nasavoid) ADD_TO_POIFS_LIST(/obj/item/weapon/tank) ADD_TO_POIFS_LIST(/obj/item/slime_extract) ADD_TO_POIFS_LIST(/obj/item/weapon/reagent_containers/food/snacks/meat/corgi) @@ -39,7 +38,6 @@ ADD_TO_POIFS_LIST(/obj/item/stack/sheet/mineral/uranium) "a captain's jetpack" = /obj/item/weapon/tank/jetpack/oxygen, "a functional AI" = /obj/item/device/aicard, "the station blueprints" = /obj/item/blueprints, - "a nasa voidsuit" = /obj/item/clothing/suit/space/nasavoid, "a head of security's augmented shades" = /obj/item/clothing/glasses/hud/hos_aug, "a piece of corgi meat" = /obj/item/weapon/reagent_containers/food/snacks/meat/corgi, "the hypospray" = /obj/item/weapon/reagent_containers/hypospray/cmo, diff --git a/code/game/gamemodes/roles/traitor.dm b/code/game/gamemodes/roles/traitor.dm index 7d2478a9358b..1a19b9573581 100644 --- a/code/game/gamemodes/roles/traitor.dm +++ b/code/game/gamemodes/roles/traitor.dm @@ -25,10 +25,12 @@ switch(rand(1,120)) if(1 to 20) AppendObjective(/datum/objective/target/assassinate, TRUE) - if(21 to 40) + if(21 to 30) AppendObjective(/datum/objective/target/harm, TRUE) + if(31 to 40) + AppendObjective(/datum/objective/download_telecommunications_data, FALSE) if(41 to 50) - AppendObjective(/datum/objective/research_sabotage, TRUE) + AppendObjective(/datum/objective/research_sabotage, FALSE) if(51 to 115) AppendObjective(/datum/objective/steal, TRUE) else @@ -146,95 +148,3 @@ . = ..() var/mob/living/carbon/human/H = antag.current H.equip_or_collect(new /obj/item/device/encryptionkey/syndicate(antag.current), SLOT_R_STORE) - -/datum/role/traitor/imposter - name = IMPOSTER - id = IMPOSTER - required_pref = ROLE_IMPOSTER - //No restricts, everyone can be a imposter - restricted_jobs = list() - //Challenge - give_uplink = FALSE - telecrystals = 0 - -/datum/role/traitor/imposter/add_one_objective(datum/mind/traitor) - switch(rand(1, 100)) - //most imposters is just stealers - if(1 to 70) - var/datum/job/J = SSjob.GetJob(antag.assigned_role) - //remove objectives for heads of staff to steal own items - if(J && (J.flags & JOB_FLAG_HEAD_OF_STAFF)) - AppendObjective(/datum/objective/steal/non_heads_items, TRUE) - else - AppendObjective(/datum/objective/steal, TRUE) - if(71 to 80) - AppendObjective(/datum/objective/target/assassinate, TRUE) - if(81 to 90) - AppendObjective(/datum/objective/target/harm, TRUE) - else - AppendObjective(/datum/objective/target/dehead, TRUE) - -/datum/role/traitor/imposter/proc/add_killhead_objectives() - var/list/heads = get_living_heads() - for(var/datum/mind/head_mind in heads) - if(antag == head_mind) - continue - var/datum/objective/target/assassinate/killhead_obj = AppendObjective(/datum/objective/target/assassinate, TRUE) - if(killhead_obj) - killhead_obj.target = head_mind - -/datum/role/traitor/imposter/create_traitor_objectives() - if(issilicon(antag.current)) - //probability 10% for default silent assassin AI - if(prob(10)) - log_mode("IMPOSTERS: silicon imposter ([antag.current]) has standart objectives") - return ..() - //probability 90% for peace-protecter AI - AppendObjective(/datum/objective/target/protect, TRUE) - AppendObjective(/datum/objective/target/protect, TRUE) - AppendObjective(/datum/objective/survive) - log_mode("IMPOSTERS: silicon imposter ([antag.current]) has protect objectives") - //and 10% prob to hijack shuttle when has protect objective - if(prob(10)) - AppendObjective(/datum/objective/block) - log_mode("IMPOSTERS: silicon [antag.current] has hijack with protect objectives") - return - //5% prob to killhead objectives for non-silicon imposter - if(prob(5)) - add_killhead_objectives() - log_mode("IMPOSTERS: Non-silicon imposter ([antag.current]) has killhead objectives") - return - //default traitor objectives - for(var/i in 1 to 3) - add_one_objective() - //Setup last objective - switch(rand(1, 100)) - //Escape is more interesting - if(1 to 90) - AppendObjective(/datum/objective/escape) - if(91 to 99) - AppendObjective(/datum/objective/survive) - else - AppendObjective(/datum/objective/hijack) - log_mode("IMPOSTERS: Non-silicon imposter ([antag.current]) has standart traitor objectives") - -/datum/role/traitor/imposter/OnPostSetup(laterole) - . = ..() - if(antag.current.isloyal() && iscarbon(antag.current)) - var/mob/living/carbon/C = antag.current - C.fake_loyal_implant_replacement() - // Free a unit from AI - if(isrobot(antag.current)) - var/mob/living/silicon/robot/robot = antag.current - robot.UnlinkSelf() - robot.emagged = TRUE - -/mob/living/carbon/proc/fake_loyal_implant_replacement() - for(var/obj/item/weapon/implant/mind_protect/loyalty/L in src) - qdel(L) - var/obj/item/weapon/implant/fake_loyal/F = new(src) - F.inject(src, BP_CHEST) - -// Now dont show green/red text -/datum/role/traitor/imposter/GetObjectiveDescription(datum/objective/objective) - return "[objective.explanation_text]" diff --git a/code/game/jobs/job/captain.dm b/code/game/jobs/job/captain.dm index d989a4a7c5f8..0d6f8acf34f5 100644 --- a/code/game/jobs/job/captain.dm +++ b/code/game/jobs/job/captain.dm @@ -16,7 +16,7 @@ minimal_player_ingame_minutes = 3900 outfit = /datum/outfit/job/captain skillsets = list("Captain" = /datum/skillset/captain) - flags = JOB_FLAG_COMMAND|JOB_FLAG_HEAD_OF_STAFF|JOB_FLAG_BLUESHIELD_PROTEC|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_COMMAND|JOB_FLAG_HEAD_OF_STAFF|JOB_FLAG_BLUESHIELD_PROTEC // Non-human species can't be captains. /datum/job/captain/special_species_check(datum/species/S) @@ -89,4 +89,4 @@ */ restricted_species = list(SKRELL, UNATHI, TAJARAN, DIONA, VOX, IPC) skillsets = list("Blueshield Officer" = /datum/skillset/blueshield) - flags = JOB_FLAG_COMMAND|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_COMMAND diff --git a/code/game/jobs/job/security.dm b/code/game/jobs/job/security.dm index 59c3060b57e2..6a539957ab56 100644 --- a/code/game/jobs/job/security.dm +++ b/code/game/jobs/job/security.dm @@ -28,7 +28,7 @@ ~Luduk */ restricted_species = list(SKRELL, UNATHI, TAJARAN, DIONA, VOX, IPC) - flags = JOB_FLAG_SECURITY|JOB_FLAG_COMMAND|JOB_FLAG_HEAD_OF_STAFF|JOB_FLAG_BLUESHIELD_PROTEC|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY|JOB_FLAG_COMMAND|JOB_FLAG_HEAD_OF_STAFF|JOB_FLAG_BLUESHIELD_PROTEC /datum/job/warden title = "Warden" @@ -53,7 +53,7 @@ ~Luduk */ restricted_species = list(TAJARAN, DIONA, VOX, IPC) - flags = JOB_FLAG_SECURITY|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY /datum/job/warden/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE) if(HAS_ROUND_ASPECT(ROUND_ASPECT_ELITE_SECURITY)) @@ -82,7 +82,7 @@ ~Luduk */ restricted_species = list(DIONA, IPC) - flags = JOB_FLAG_SECURITY|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY /datum/job/officer title = "Security Officer" @@ -107,7 +107,7 @@ ~Luduk */ restricted_species = list(DIONA, TAJARAN, VOX, IPC) - flags = JOB_FLAG_SECURITY|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY /datum/job/officer/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE) if(HAS_ROUND_ASPECT(ROUND_ASPECT_ELITE_SECURITY)) @@ -137,7 +137,7 @@ ~Luduk */ restricted_species = list(UNATHI, DIONA) - flags = JOB_FLAG_SECURITY|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY /datum/job/cadet title = "Security Cadet" @@ -162,4 +162,4 @@ ~Luduk */ restricted_species = list(DIONA, TAJARAN, VOX, IPC) - flags = JOB_FLAG_SECURITY|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_SECURITY diff --git a/code/game/jobs/job/silicon.dm b/code/game/jobs/job/silicon.dm index db44293a015d..a10df9c37f93 100644 --- a/code/game/jobs/job/silicon.dm +++ b/code/game/jobs/job/silicon.dm @@ -38,7 +38,7 @@ alt_titles = list("Android", "Robot") minimal_player_ingame_minutes = 1800 give_loadout_items = FALSE - flags = JOB_FLAG_NON_HUMAN|JOB_FLAG_IMPOSTER_PRIORITIZE + flags = JOB_FLAG_NON_HUMAN /datum/job/cyborg/equip(mob/living/carbon/human/H, visualsOnly = FALSE) if(!H) return 0 diff --git a/code/game/machinery/Beacon.dm b/code/game/machinery/Beacon.dm index ed2f99352a9a..98d348179c55 100644 --- a/code/game/machinery/Beacon.dm +++ b/code/game/machinery/Beacon.dm @@ -4,7 +4,6 @@ icon_state = "floor_beaconf" name = "Bluespace Gigabeacon" desc = "A device that draws power from bluespace and creates a permanent tracking beacon." - level = 1 // underfloor layer = 2.5 anchored = TRUE use_power = IDLE_POWER_USE @@ -13,41 +12,12 @@ /obj/machinery/bluespace_beacon/atom_init() . = ..() - var/turf/T = loc - Beacon = new /obj/item/device/radio/beacon - Beacon.invisibility = INVISIBILITY_MAXIMUM - Beacon.loc = T - hide(T.intact) + Beacon = new /obj/item/device/radio/beacon(src) + + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) /obj/machinery/bluespace_beacon/Destroy() if(Beacon) qdel(Beacon) return ..() - -// update the invisibility and icon -/obj/machinery/bluespace_beacon/hide(intact) - invisibility = intact ? 101 : 0 - updateicon() - -// update the icon_state -/obj/machinery/bluespace_beacon/proc/updateicon() - var/state="floor_beacon" - - if(invisibility) - icon_state = "[state]f" - - else - icon_state = "[state]" - -/obj/machinery/bluespace_beacon/process() - if(!Beacon) - var/turf/T = loc - Beacon = new /obj/item/device/radio/beacon - Beacon.invisibility = INVISIBILITY_MAXIMUM - Beacon.loc = T - if(Beacon) - if(Beacon.loc != loc) - Beacon.loc = loc - - updateicon() diff --git a/code/game/machinery/adv_med.dm b/code/game/machinery/adv_med.dm index cca4b8aeef98..9ba7d430d7a3 100644 --- a/code/game/machinery/adv_med.dm +++ b/code/game/machinery/adv_med.dm @@ -8,7 +8,6 @@ desc = "Используется для более детального анализа состояния пациента." icon = 'icons/obj/Cryogenic3.dmi' icon_state = "body_scanner_0" - density = TRUE anchored = TRUE light_color = "#00ff00" required_skills = list(/datum/skill/medical = SKILL_LEVEL_NOVICE) @@ -31,6 +30,8 @@ if (usr.incapacitated()) return + if(!do_skill_checks(usr)) + return open_machine() add_fingerprint(usr) return @@ -48,15 +49,15 @@ /obj/machinery/bodyscanner/proc/move_inside_checks(mob/target, mob/user) if(occupant) - to_chat(user, "<span class='userdanger'>[capitalize(CASE(src, NOMINATIVE_CASE))] уже занят кем-то!</span>") + to_chat(user, "<span class='userdanger'>[C_CASE(src, NOMINATIVE_CASE)] уже занят кем-то!</span>") + return FALSE + if(!ishuman(target)) + to_chat(user, "<span class='userdanger'>Это устройство может сканировать только гуманоидные формы жизни.</span>") return FALSE - if(!iscarbon(target)) + var/mob/living/carbon/human/H = target + if(H.species.flags[NO_MED_HEALTH_SCAN]) + to_chat(user, "<span class='userdanger'>Это существо нельзя сканировать</span>") return FALSE - if(ishuman(target)) - var/mob/living/carbon/human/H = target - if(H.species.flags[NO_MED_HEALTH_SCAN]) - to_chat(user, "<span class='userdanger'>Это существо нельзя сканировать</span>") - return FALSE if(target.abiotic()) to_chat(user, "<span class='userdanger'>У пациента не должно быть чего-либо в руках.</span>") return FALSE @@ -96,8 +97,7 @@ to_chat(user, "<span class='warning'>Вы не можете понять, что с этим делать.</span>") return if(occupant) - open_machine() - add_fingerprint(user) + eject() return var/mob/living/carbon/target = locate() in loc if(!target) @@ -142,14 +142,12 @@ /obj/machinery/body_scanconsole var/obj/machinery/bodyscanner/connected var/known_implants = list(/obj/item/weapon/implant/chem, /obj/item/weapon/implant/death_alarm, /obj/item/weapon/implant/mind_protect/mindshield, /obj/item/weapon/implant/tracking, /obj/item/weapon/implant/mind_protect/loyalty, /obj/item/weapon/implant/obedience, /obj/item/weapon/implant/skill, /obj/item/weapon/implant/blueshield, /obj/item/weapon/implant/fake_loyal) - var/delete name = "Body Scanner Console" cases = list("консоль медицинского сканера", "консоли медицинского сканера", "консоли медицинского сканера", "консоль медицинского сканера", "консолью медицинского сканера", "консоли медицинского сканера") icon = 'icons/obj/Cryogenic3.dmi' icon_state = "body_scannerconsole" anchored = TRUE - var/next_print = 0 - var/storedinfo = null + COOLDOWN_DECLARE(next_print) required_skills = list(/datum/skill/medical = SKILL_LEVEL_TRAINED) /obj/machinery/body_scanconsole/atom_init() @@ -160,241 +158,312 @@ connected = locate(/obj/machinery/bodyscanner) in orange(1, src) /obj/machinery/body_scanconsole/ui_interact(mob/user) - if(!ishuman(connected.occupant)) - to_chat(user, "<span class='warning'>Это устройство может сканировать только гуманоидные формы жизни.</span>") - return - if(!do_skill_checks(user)) - return - var/dat + tgui_interact(user) - if (src.connected) //Is something connected? - var/mob/living/carbon/human/occupant = src.connected.occupant - dat = "<font color='blue'><B>Информация о пациенте:</B></FONT><BR>" //Blah obvious - if (istype(occupant)) //is there REALLY someone in there? - var/t1 - switch(occupant.stat) // obvious, see what their status is - if(0) - t1 = "В сознании" - if(1) - t1 = "Без сознания" - else - t1 = "*Мёртв*" - if (!ishuman(occupant)) - dat += "<font color='red'>Это устройство может сканировать только гуманоидных существ.</font>" - else - dat += text("<font color='[]'>\tЗдоровье %: [] ([])</font><BR>", (occupant.health > 50 ? "blue" : "red"), occupant.health, t1) - - if(ischangeling(occupant) && occupant.fake_death) - dat += text("<font color='red'>Обнаружена аномальная биохимическая активность!</font><BR>") - - if(occupant.virus2.len) - dat += text("<font color='red'>В кровотоке обнаружен вирусный патоген.</font><BR>") - - dat += text("<font color='[]'>\t-Механические %: []</font><BR>", (occupant.getBruteLoss() < 60 ? "blue" : "red"), occupant.getBruteLoss()) - dat += text("<font color='[]'>\t-Асфиксия %: []</font><BR>", (occupant.getOxyLoss() < 60 ? "blue" : "red"), occupant.getOxyLoss()) - dat += text("<font color='[]'>\t-Интоксикация %: []</font><BR>", (occupant.getToxLoss() < 60 ? "blue" : "red"), occupant.getToxLoss()) - dat += text("<font color='[]'>\t-Термические %: []</font><BR><BR>", (occupant.getFireLoss() < 60 ? "blue" : "red"), occupant.getFireLoss()) - - dat += text("<font color='[]'>\tУровень облучения %: []</font><BR>", (occupant.radiation < 10 ?"blue" : "red"), occupant.radiation) - dat += text("<font color='[]'>\tГенетическое повреждение тканей %: []</font><BR>", (occupant.getCloneLoss() < 1 ?"blue" : "red"), occupant.getCloneLoss()) - dat += text("<font color='[]'>\tПовреждение мозга %: []</font><BR>", (occupant.getBrainLoss() < 1 ?"blue" : "red"), occupant.getBrainLoss()) - var/occupant_paralysis = occupant.AmountParalyzed() - dat += text("Парализован на %: [] (осталось [] секунд)<BR>", occupant_paralysis, round(occupant_paralysis / 4)) - dat += text("Температура тела: [occupant.bodytemperature-T0C]°C ([occupant.bodytemperature*1.8-459.67]°F)<BR><HR>") - - if(occupant.has_brain_worms()) - dat += "В лобной доле обнаружено новообразование, возможно злокачественное. Рекомендуется хирургическое вмешательство.<BR/>" - - var/blood_volume = occupant.blood_amount() - var/blood_percent = 100.0 * blood_volume / BLOOD_VOLUME_NORMAL - dat += text("<font color='[]'>\tУровень крови %: [] ([] юнитов)</font><BR>", (blood_volume >= BLOOD_VOLUME_SAFE ? "blue" : "red"), blood_percent, blood_volume) - - if(occupant.reagents) - dat += text("Inaprovaline units: [] юнитов<BR>", occupant.reagents.get_reagent_amount("inaprovaline")) - dat += text("Soporific (Sleep Toxin): [] юнитов<BR>", occupant.reagents.get_reagent_amount("stoxin")) - dat += text("<font color='[]'>\tDermaline: [] юнитов</font><BR>", (occupant.reagents.get_reagent_amount("dermaline") < 30 ? "black" : "red"), occupant.reagents.get_reagent_amount("dermaline")) - dat += text("<font color='[]'>\tBicaridine: [] юнитов</font><BR>", (occupant.reagents.get_reagent_amount("bicaridine") < 30 ? "black" : "red"), occupant.reagents.get_reagent_amount("bicaridine")) - dat += text("<font color='[]'>\tDexalin: [] юнитов</font><BR>", (occupant.reagents.get_reagent_amount("dexalin") < 30 ? "black" : "red"), occupant.reagents.get_reagent_amount("dexalin")) - - dat += "<HR><A href='?src=\ref[src];print=1'>Распечатать отчет о состояние пациента</A><BR>" - storedinfo = null - dat += "<HR><table border='1'>" - dat += "<tr>" - dat += "<th>Часть тела</th>" - dat += "<th>Термические</th>" - dat += "<th>Механические</th>" - dat += "<th>Другое</th>" - dat += "</tr>" - storedinfo += "<HR><table border='1'>" - storedinfo += "<tr>" - storedinfo += "<th>Часть тела</th>" - storedinfo += "<th>Термические</th>" - storedinfo += "<th>Механические</th>" - storedinfo += "<th>Другое</th>" - storedinfo += "</tr>" - - for(var/obj/item/organ/external/BP in occupant.bodyparts) - - dat += "<tr>" - storedinfo += "<tr>" - var/AN = "" - var/open = "" - var/infected = "" - var/imp = "" - var/bled = "" - var/robot = "" - var/splint = "" - var/arterial_bleeding = "" - var/rejecting = "" - if(BP.status & ORGAN_ARTERY_CUT) - arterial_bleeding = "<span class='red'><br><b>Артериальное кровотечение</b><br></span>" - if(BP.status & ORGAN_SPLINTED) - splint = "Наложена шина:" - if(BP.status & ORGAN_BLEEDING) - bled = "Кровотечение:" - if(BP.status & ORGAN_BROKEN) - AN = "[BP.broken_description]:" - if(BP.is_robotic()) - robot = "Протез:" - if(BP.open) - open = "Вскрытое:" - if(BP.is_rejecting) - rejecting = "Генетическое отторжение:" - switch (BP.germ_level) - if (INFECTION_LEVEL_ONE to INFECTION_LEVEL_ONE_PLUS) - infected = "Легкая инфекция:" - if (INFECTION_LEVEL_ONE_PLUS to INFECTION_LEVEL_ONE_PLUS_PLUS) - infected = "Легкая инфекция+:" - if (INFECTION_LEVEL_ONE_PLUS_PLUS to INFECTION_LEVEL_TWO) - infected = "Легкая инфекция++:" - if (INFECTION_LEVEL_TWO to INFECTION_LEVEL_TWO_PLUS) - infected = "Острая инфекция:" - if (INFECTION_LEVEL_TWO_PLUS to INFECTION_LEVEL_TWO_PLUS_PLUS) - infected = "Острая инфекция+:" - if (INFECTION_LEVEL_TWO_PLUS_PLUS to INFECTION_LEVEL_THREE) - infected = "Острая инфекция++:" - if (INFECTION_LEVEL_THREE to INFINITY) - infected = "Сепсис:" - - var/unknown_body = 0 - for(var/I in BP.implants) - if(is_type_in_list(I,known_implants)) - imp += "[I] имплантирован:" - else - unknown_body++ - - if(unknown_body || BP.hidden) - imp += "Обнаружен инородный предмет:" - if(!AN && !open && !infected && !imp) - AN = "Не обнаружено:" - if(!(BP.is_stump)) - var/burnDamText = BP.burn_dam > 0 ? "<span class='orange'>[BP.burn_dam]</span>" : "-/-" - var/bruteDamText = BP.brute_dam > 0 ? "<span class='red'>[BP.brute_dam]</span>" : "-/-" - dat += "<td>[capitalize(CASE(BP, NOMINATIVE_CASE))]</td><td>[burnDamText]</td><td>[bruteDamText]</td><td>[robot][bled][AN][splint][open][infected][imp][arterial_bleeding][rejecting]</td>" - storedinfo += "<td>[capitalize(CASE(BP, NOMINATIVE_CASE))]</td><td>[burnDamText]</td><td>[bruteDamText]</td><td>[robot][bled][AN][splint][open][infected][imp][arterial_bleeding][rejecting]</td>" - else - dat += "<td>[capitalize(parse_zone_ru(BP.body_zone))]</td><td>-</td><td>-</td><td>Не обнаружено</td>" - storedinfo += "<td>[capitalize(parse_zone_ru(BP.body_zone))]</td><td>-</td><td>-</td><td>Не обнаружено</td>" - dat += "</tr>" - storedinfo += "</tr>" - for(var/missing_zone in occupant.get_missing_bodyparts()) - dat += "<tr>" - storedinfo += "<tr>" - dat += "<td>[capitalize(parse_zone_ru(missing_zone))]</td><td>-</td><td>-</td><td>Отсуствует</td>" - storedinfo += "<td>[capitalize(parse_zone_ru(missing_zone))]</td><td>-</td><td>-</td><td>Отсуствует</td>" - dat += "</tr>" - storedinfo += "</tr>" - for(var/obj/item/organ/internal/IO in occupant.organs) - var/mech = "Органические:" - var/organ_status = "" - var/infection = "" - if(IO.robotic == 1) - mech = "Вспомогательные средства:" - if(IO.robotic == 2) - mech = "Механические:" - - if(istype(IO, /obj/item/organ/internal/heart)) - var/obj/item/organ/internal/heart/Heart = IO - if(Heart.heart_status == HEART_FAILURE) - organ_status = "Остановка сердца:" - else if(Heart.heart_status == HEART_FIBR) - organ_status = "Фибрилляция сердца:" - - if(istype(IO, /obj/item/organ/internal/lungs)) - if(occupant.is_lung_ruptured()) - organ_status = "Разрыв легкого:" - - switch (IO.germ_level) - if (INFECTION_LEVEL_ONE to INFECTION_LEVEL_ONE_PLUS) - infection = "Легкая инфекция:" - if (INFECTION_LEVEL_ONE_PLUS to INFECTION_LEVEL_ONE_PLUS_PLUS) - infection = "Легкая инфекция+:" - if (INFECTION_LEVEL_ONE_PLUS_PLUS to INFECTION_LEVEL_TWO) - infection = "Легкая инфекция++:" - if (INFECTION_LEVEL_TWO to INFECTION_LEVEL_TWO_PLUS) - infection = "Острая инфекция:" - if (INFECTION_LEVEL_TWO_PLUS to INFECTION_LEVEL_TWO_PLUS_PLUS) - infection = "Острая инфекция+:" - if (INFECTION_LEVEL_TWO_PLUS_PLUS to INFECTION_LEVEL_THREE) - infection = "Острая инфекция++:" - if (INFECTION_LEVEL_THREE to INFINITY) - infection = "Некроз:" - - if(!organ_status && !infection) - infection = "Не обнаружено:" - - var/organ_damage_text = IO.damage > 0 ? "<span class='red'>[capitalize(CASE(IO, NOMINATIVE_CASE))]</span>" : "-/-" - dat += "<tr>" - dat += "<td>[capitalize(CASE(IO, NOMINATIVE_CASE))]</td><td>N/A</td><td>[organ_damage_text]</td><td>[infection][organ_status]|[mech]</td><td></td>" - dat += "</tr>" - storedinfo += "<tr>" - storedinfo += "<td>[capitalize(CASE(IO, NOMINATIVE_CASE))]</td><td>N/A</td><td>[organ_damage_text]</td><td>[infection][organ_status]|[mech]</td><td></td>" - storedinfo += "</tr>" - dat += "</table>" - storedinfo += "</table>" - if(occupant.sdisabilities & BLIND) - dat += text("<font color='red'>Обнаружена катаракта.</font><BR>") - storedinfo += text("<font color='red'>Обнаружена катаракта.</font><BR>") - if(HAS_TRAIT(occupant, TRAIT_NEARSIGHT)) - dat += text("<font color='red'>Обнаружено смещение сетчатки.</font><BR>") - storedinfo += text("<font color='red'>Обнаружено смещение сетчатки.</font><BR>") - else - dat += "\The [src] is empty." - else - dat = "<font color='red'> Ошибка: Не подключен сканер тела.</font>" +/obj/machinery/body_scanconsole/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "BodyScanner", C_CASE(src, NOMINATIVE_CASE), 690, 600) + ui.open() - var/datum/browser/popup = new(user, "window=scanconsole", (CASE(src, NOMINATIVE_CASE)), 530, 700, ntheme = CSS_THEME_LIGHT) - popup.set_content(dat) - popup.open() +/obj/machinery/body_scanconsole/tgui_data(mob/user) + var/list/data = list() + var/list/occupantData = list() + var/mob/living/carbon/human/occupant = connected.occupant + + data["occupied"] = occupant + if(occupant) + occupantData["name"] = occupant.name + occupantData["stat"] = occupant.stat + occupantData["health"] = occupant.health + occupantData["maxHealth"] = occupant.maxHealth + + occupantData["hasVirus"] = occupant.virus2.len + + occupantData["bruteLoss"] = occupant.getBruteLoss() + occupantData["oxyLoss"] = occupant.getOxyLoss() + occupantData["toxLoss"] = occupant.getToxLoss() + occupantData["fireLoss"] = occupant.getFireLoss() + + occupantData["radLoss"] = occupant.radiation + occupantData["cloneLoss"] = occupant.getCloneLoss() + occupantData["brainLoss"] = occupant.getBrainLoss() + occupantData["drunkenness"] = (occupant.drunkenness / 6) // 600 - maximum stage + occupantData["bodyTempC"] = occupant.bodytemperature-T0C + occupantData["bodyTempF"] = (((occupant.bodytemperature-T0C) * 1.8) + 32) + + occupantData["hasBorer"] = !!occupant.has_brain_worms() + + var/list/bloodData = list() + bloodData["hasBlood"] = FALSE + if(!occupant.species.flags[NO_BLOOD]) + bloodData["hasBlood"] = TRUE + bloodData["percent"] = round(((occupant.blood_amount() / BLOOD_VOLUME_NORMAL)*100)) + bloodData["pulse"] = occupant.get_pulse(GETPULSE_TOOL) + bloodData["bloodLevel"] = occupant.blood_amount() + bloodData["bloodNormal"] = BLOOD_VOLUME_NORMAL + occupantData["blood"] = bloodData + + var/list/extOrganData = list() + for(var/obj/item/organ/external/E in occupant.bodyparts) + var/list/organData = list() + + organData["name"] = C_CASE(E, NOMINATIVE_CASE) + if(E.is_stump) + organData["name"] = capitalize(parse_zone_ru(E.body_zone)) + + organData["open"] = E.open + organData["germ_level"] = get_germ_level_name(E.germ_level) + organData["bruteLoss"] = E.brute_dam + organData["fireLoss"] = E.burn_dam + organData["totalLoss"] = E.brute_dam + E.burn_dam + organData["maxHealth"] = E.max_damage + organData["broken"] = E.min_broken_damage + organData["stump"] = E.is_stump + + var/list/implantData = list() + var/has_unknown_implant = FALSE + for(var/obj/I in E.implants) + var/list/implantSubData = list() + implantSubData["name"] = C_CASE(I, NOMINATIVE_CASE) + + if(!is_type_in_list(I, known_implants)) + has_unknown_implant = TRUE + implantSubData["name"] = null + + implantData.Add(list(implantSubData)) + + organData["implant"] = implantData + organData["unknown_implant"] = has_unknown_implant + + var/list/organStatus = list() + if(E.status & ORGAN_BROKEN) + organStatus["broken"] = capitalize(E.broken_description) + if(E.is_robotic()) + organStatus["robotic"] = TRUE + if(E.status & ORGAN_SPLINTED) + organStatus["splinted"] = TRUE + if(E.status & ORGAN_DEAD) + organStatus["dead"] = TRUE + + organData["status"] = organStatus + + if(istype(E, /obj/item/organ/external/chest) && occupant.is_lung_ruptured()) + organData["lungRuptured"] = TRUE + + if(E.status & ORGAN_ARTERY_CUT) + organData["internalBleeding"] = TRUE + + extOrganData.Add(list(organData)) + + for(var/bp_type in occupant.get_missing_bodyparts()) + var/list/organData = list() + var/list/organStatus = list() + + organData["name"] = capitalize(parse_zone_ru(bp_type)) + organData["missing"] = TRUE + organData["totalLoss"] = 0 + + organData["status"] = organStatus + + extOrganData.Add(list(organData)) + + occupantData["extOrgan"] = extOrganData + + var/list/intOrganData = list() + for(var/obj/item/organ/internal/I in occupant.organs) + var/list/organData = list() + organData["name"] = C_CASE(I, NOMINATIVE_CASE) + organData["germ_level"] = get_germ_level_name(I.germ_level) + organData["damage"] = I.damage + organData["maxHealth"] = I.min_broken_damage + organData["bruised"] = I.is_bruised() + organData["broken"] = I.is_broken() + organData["assisted"] = I.robotic == 1 + organData["robotic"] = I.robotic == 2 + organData["dead"] = (I.status & ORGAN_DEAD) + + intOrganData.Add(list(organData)) + + occupantData["intOrgan"] = intOrganData + + occupantData["blind"] = occupant.sdisabilities & BLIND + occupantData["nearsighted"] = HAS_TRAIT(occupant, TRAIT_NEARSIGHT) + + data["occupant"] = occupantData -/obj/machinery/body_scanconsole/Topic(href, href_list) + return data + +/obj/machinery/body_scanconsole/tgui_act(action, list/params, datum/tgui/ui, datum/tgui_state/state) . = ..() - if(!.) + if(.) return - if(href_list["print"]) - if (next_print < world.time) //10 sec cooldown - next_print = world.time + 10 SECONDS - to_chat(usr, "<span class='notice'>Распечатка... Пожалуйста, подождите.</span>") - playsound(src, 'sound/items/polaroid1.ogg', VOL_EFFECTS_MASTER, 20, FALSE) - addtimer(CALLBACK(src, PROC_REF(print_scan), storedinfo), 1 SECOND) - else - to_chat(usr, "<span class='notice'>Консоль не может печатать так быстро!</span>") -/obj/machinery/body_scanconsole/proc/print_scan(additional_info) - var/obj/item/weapon/paper/P = new(loc) - if(!connected || !connected.occupant) // If while we were printing the occupant got out or our thingy did a boom. + switch(action) + if("ejectify") + connected.eject() + if("print_p") + print_scan() + + return TRUE + +/obj/machinery/body_scanconsole/proc/print_scan() + if(!do_skill_checks(usr)) + return + + if(!connected || !connected.occupant) + return + + if(!COOLDOWN_FINISHED(src, next_print)) //10 sec cooldown + to_chat(usr, "<span class='notice'>Консоль не может печатать так быстро!</span>") return + + COOLDOWN_START(src, next_print, 10 SECONDS) + playsound(src, 'sound/items/polaroid1.ogg', VOL_EFFECTS_MASTER, 20, FALSE) + + var/obj/item/weapon/paper/P = new(loc) var/mob/living/carbon/human/occupant = connected.occupant - var/t1 = "<B>[occupant ? occupant.name : "Unknown"]'s</B> расширенный отчет сканера.<BR>" - t1 += "Станционное время: <B>[worldtime2text()]</B><BR>" - switch(occupant.stat) // obvious, see what their status is - if(CONSCIOUS) - t1 += "Cтатус: <B>В сознании</B>" - if(UNCONSCIOUS) - t1 += "Статус: <B>Без сознания</B>" - else - t1 += "Статус: <B><span class='warning'>*Мёртв*</span></B>" - t1 += additional_info - P.info = t1 + P.info = get_scan_info() P.name = "Результаты сканирования [occupant.name]" P.update_icon() + +/obj/machinery/body_scanconsole/proc/get_scan_info() + var/dat + var/mob/living/carbon/human/occupant = connected.occupant + + dat = "<B>Информация о пациенте:</B><BR>" + dat += "Станционное время: <B>[worldtime2text()]</B><BR>" + + var/t1 + switch(occupant.stat) + if(0) + t1 = "В сознании" + if(1) + t1 = "Без сознания" + else + t1 = "<B>Мёртв</B>" + dat += "<BR>" + + if(ischangeling(occupant) && occupant.fake_death) + dat += ">Обнаружена аномальная биохимическая активность!<BR>" + + if(occupant.virus2.len) + dat += "В кровотоке обнаружен вирусный патоген.<BR>" + + dat += "\tЗдоровье %: [occupant.health] ([t1])<BR>" + dat += "\t-Механические %: [occupant.getBruteLoss()]<BR>" + dat += "\t-Асфиксия %: [occupant.getOxyLoss()]<BR>" + dat += "\t-Интоксикация %: [occupant.getToxLoss()]<BR>" + dat += "\t-Термические %: [occupant.getFireLoss()]<BR><BR>" + + dat += "\tУровень облучения %: [occupant.radiation]<BR>" + dat += "\tГенетическое повреждение тканей %: [occupant.getCloneLoss()]<BR>" + dat += "\tПовреждение мозга %: [occupant.getBrainLoss()]<BR>" + + var/occupant_paralysis = occupant.AmountParalyzed() + dat += "Парализован на %: [occupant_paralysis] ([round(occupant_paralysis / 4)] [PLUR_SECONDS_LEFT(round(occupant_paralysis / 4))])<BR>" + + dat += "Температура тела: [occupant.bodytemperature-T0C]°C ([occupant.bodytemperature*1.8-459.67]°F)<BR><HR>" + + if(occupant.has_brain_worms()) + dat += "В лобной доле обнаружено новообразование, возможно злокачественное. Рекомендуется хирургическое вмешательство.<BR/>" + + var/blood_volume = occupant.blood_amount() + var/blood_percent = (blood_volume / BLOOD_VOLUME_NORMAL) * 100 + dat += "\tУровень крови %: [blood_percent] ([blood_volume] [PLUR_UNITS(blood_volume)])<BR>" + + dat += "<HR><table border='1'>" + dat += "<tr>" + dat += "<th>Часть тела</th>" + dat += "<th>Термические</th>" + dat += "<th>Механические</th>" + dat += "<th>Другое</th>" + dat += "</tr>" + for(var/obj/item/organ/external/BP in occupant.bodyparts) + dat += "<tr>" + var/AN = "" + var/open = "" + var/infected = "" + var/imp = "" + var/bled = "" + var/robot = "" + var/splint = "" + var/arterial_bleeding = "" + var/rejecting = "" + if(BP.status & ORGAN_ARTERY_CUT) + arterial_bleeding = "<br><b>Артериальное кровотечение</b></br>" + if(BP.status & ORGAN_SPLINTED) + splint = "Наложена шина:" + if(BP.status & ORGAN_BLEEDING) + bled = "Кровотечение:" + if(BP.status & ORGAN_BROKEN) + AN = "[capitalize(BP.broken_description)]:" + if(BP.is_robotic()) + robot = "Протез:" + if(BP.open) + open = "Вскрытое:" + if(BP.is_rejecting) + rejecting = "Генетическое отторжение:" + if(BP.germ_level >= INFECTION_LEVEL_ONE) + infected = "[get_germ_level_name(BP.germ_level)]:" + + var/unknown_body = 0 + for(var/I in BP.implants) + if(is_type_in_list(I,known_implants)) + imp += "[I] имплантирован:" + else + unknown_body++ + if(unknown_body || BP.hidden) + imp += "Обнаружен инородный предмет:" + + if(!AN && !open && !infected && !imp) + AN = "Не обнаружено:" + + if(!(BP.is_stump)) + dat += "<td>[C_CASE(BP, NOMINATIVE_CASE)]</td><td>[BP.burn_dam]</td><td>[BP.brute_dam]</td><td>[robot][bled][AN][splint][open][infected][imp][arterial_bleeding][rejecting]</td>" + else + dat += "<td>[capitalize(parse_zone_ru(BP.body_zone))]</td><td>-</td><td>-</td><td>Отсутствует</td>" + dat += "</tr>" + + for(var/missing_zone in occupant.get_missing_bodyparts()) + dat += "<tr>" + dat += "<td>[capitalize(parse_zone_ru(missing_zone))]</td><td>-</td><td>-</td><td>Отсутствует</td>" + dat += "</tr>" + + for(var/obj/item/organ/internal/IO in occupant.organs) + var/mech = "Органическое:" + var/organ_status = "" + var/infection = "" + if(IO.robotic == 1) + mech = "Со вспомогательными средствами:" // sounds weird + if(IO.robotic == 2) + mech = "Механическое:" + + if(istype(IO, /obj/item/organ/internal/heart)) + var/obj/item/organ/internal/heart/Heart = IO + if(Heart.heart_status == HEART_FAILURE) + organ_status = "Остановка сердца:" + else if(Heart.heart_status == HEART_FIBR) + organ_status = "Фибрилляция сердца:" + + if(istype(IO, /obj/item/organ/internal/lungs)) + if(occupant.is_lung_ruptured()) + organ_status = "Разрыв легкого:" + + if(IO.germ_level >= INFECTION_LEVEL_ONE) + infection = "[get_germ_level_name(IO.germ_level)]:" + if(!organ_status && !infection) + infection = "Не обнаружено:" + + dat += "<tr>" + dat += "<td>[C_CASE(IO, NOMINATIVE_CASE)]</td><td>N/A</td><td>[IO.damage]</td><td>[infection][organ_status]|[mech]</td><td></td>" + dat += "</tr>" + + dat += "</table>" + + if(occupant.sdisabilities & BLIND) + dat += "Обнаружена катаракта.<BR>" + if(HAS_TRAIT(occupant, TRAIT_NEARSIGHT)) + dat += "Обнаружено смещение сетчатки.<BR>" + + return dat diff --git a/code/game/machinery/camera/camera.dm b/code/game/machinery/camera/camera.dm index b64ed8c023b9..31c190a77223 100644 --- a/code/game/machinery/camera/camera.dm +++ b/code/game/machinery/camera/camera.dm @@ -7,7 +7,9 @@ idle_power_usage = 5 active_power_usage = 10 layer = 5 - + max_integrity = 25 + damage_deflection = 5 + integrity_failure = 0.2 var/list/network = list("SS13") var/c_tag = null var/c_tag_order = 999 @@ -455,3 +457,9 @@ cam["z"] = z cam["isonstation"] = is_station_level(z) return cam + +/obj/machinery/camera/atom_religify(datum/religion/R) + if(istype(R, /datum/religion/cult)) + deconstruct(FALSE) + return TRUE + return ..() diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm index a16013a2637e..16a6a6d8fb8f 100644 --- a/code/game/machinery/computer/communications.dm +++ b/code/game/machinery/computer/communications.dm @@ -68,6 +68,29 @@ return ..() +/obj/machinery/computer/communications/attackby(obj/item/W, mob/user, params) + . = ..() + try_log_in(W, user) + +/obj/machinery/computer/communications/proc/try_log_in(obj/item/A, mob/user) + var/obj/item/weapon/card/id/I + if(A) + if(!istype(A, /obj/item/weapon/card/id)) + return FALSE + I = A + else + I = user.get_active_hand() + if(istype(I, /obj/item/device/pda)) + var/obj/item/device/pda/pda = I + I = pda.id + if(!istype(I)) + return FALSE + if(check_access(I)) + authenticated = 1 + if((access_captain in I.access) || (access_hop in I.access) || (access_hos in I.access)) + authenticated = 2 + return TRUE + /obj/machinery/computer/communications/Topic(href, href_list) . = ..() if(!.) @@ -89,15 +112,12 @@ if(isobserver(M)) authenticated = 2 else - var/obj/item/weapon/card/id/I = M.get_active_hand() - if (istype(I, /obj/item/device/pda)) - var/obj/item/device/pda/pda = I - I = pda.id - if (I && istype(I)) - if(check_access(I)) - authenticated = 1 - if((access_captain in I.access) || (access_hop in I.access) || (access_hos in I.access)) - authenticated = 2 + if(!try_log_in(null, M)) + if(iscarbon(M)) + var/mob/living/carbon/C = M + try_log_in(C.get_slot_ref(SLOT_WEAR_ID), C) + updateUsrDialog() + return if("logout") authenticated = 0 diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm index 1a1d3d24fe78..9f85fd55c410 100644 --- a/code/game/machinery/doors/door.dm +++ b/code/game/machinery/doors/door.dm @@ -3,8 +3,6 @@ var/global/list/wedge_image_cache = list() /obj/machinery/door name = "Door" desc = "It opens and closes." - icon = 'icons/obj/doors/Doorint.dmi' - icon_state = "door1" anchored = TRUE opacity = 1 density = TRUE diff --git a/code/game/machinery/magnet.dm b/code/game/machinery/magnet.dm index e520ebbf37cc..fb3c5c336bfe 100644 --- a/code/game/machinery/magnet.dm +++ b/code/game/machinery/magnet.dm @@ -9,7 +9,6 @@ icon_state = "floor_magnet-f" name = "Electromagnetic Generator" desc = "A device that uses station power to create points of magnetic energy." - level = 1 // underfloor layer = 2.5 anchored = TRUE use_power = IDLE_POWER_USE @@ -30,29 +29,14 @@ /obj/machinery/magnetic_module/atom_init() . = ..() - var/turf/T = loc - hide(T.intact) - center = T + center = loc radio_controller.add_object(src, freq, RADIO_MAGNETS) INVOKE_ASYNC(src, PROC_REF(magnetic_process)) - // update the invisibility and icon -/obj/machinery/magnetic_module/hide(intact) - invisibility = intact ? 101 : 0 - updateicon() + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) - // update the icon_state /obj/machinery/magnetic_module/proc/updateicon() - var/state = "floor_magnet" - var/onstate = "" - if(!on) - onstate = "0" - - if(invisibility) - icon_state = "[state][onstate]-f" // if invisible, set icon to faded version - // in case of being revealed by T-scanner - else - icon_state = "[state][onstate]" + icon_state = "floor_magnet[on ? "" : "0"]" /obj/machinery/magnetic_module/receive_signal(datum/signal/signal) var/command = signal.data["command"] diff --git a/code/game/machinery/navbeacon.dm b/code/game/machinery/navbeacon.dm index 9381ce966fb9..e5da91e7f774 100644 --- a/code/game/machinery/navbeacon.dm +++ b/code/game/machinery/navbeacon.dm @@ -7,7 +7,6 @@ icon_state = "navbeacon0-f" name = "Navigation Beacon" desc = "A radio beacon used for bot navigation." - level = 1 // underfloor layer = 2.5 anchored = TRUE interact_offline = TRUE @@ -25,10 +24,10 @@ /obj/machinery/navbeacon/atom_init() . = ..() set_codes() - var/turf/T = loc - hide(T.intact) radio_controller.add_object(src, freq, RADIO_NAVBEACONS) + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) + /obj/machinery/navbeacon/Destroy() if(radio_controller) radio_controller.remove_object(src, freq) @@ -52,23 +51,8 @@ else codes[e] = "1" - - // called when turf state changes - // hide the object if turf is intact -/obj/machinery/navbeacon/hide(intact) - invisibility = intact ? 101 : 0 - updateicon() - - // update the icon_state /obj/machinery/navbeacon/proc/updateicon() - var/state="navbeacon[open]" - - if(invisibility) - icon_state = "[state]-f" // if invisible, set icon to faded version - // in case revealed by T-scanner - else - icon_state = "[state]" - + icon_state = "navbeacon[open]" // look for a signal of the form "findbeacon=X" // where X is any @@ -102,7 +86,7 @@ /obj/machinery/navbeacon/attackby(obj/item/I, mob/user) var/turf/T = loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return // prevent intraction when T-scanner revealed if(isscrewing(I)) @@ -135,7 +119,7 @@ var/ai = isAI(user) || isobserver(user) var/turf/T = loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return // prevent intraction when T-scanner revealed if(!open && !ai) // can't alter controls if not open, unless you're an AI diff --git a/code/game/machinery/pipe/construction.dm b/code/game/machinery/pipe/construction.dm index 1e0748da4ce5..bad92f469662 100644 --- a/code/game/machinery/pipe/construction.dm +++ b/code/game/machinery/pipe/construction.dm @@ -12,7 +12,6 @@ Buildable meters icon_state = "simple" item_state = "buildpipe" w_class = SIZE_SMALL - level = 2 var/pipe_type = 0 var/pipename diff --git a/code/game/machinery/syndicatebeacon.dm b/code/game/machinery/syndicatebeacon.dm index ac1e32aaa83e..195af696f932 100644 --- a/code/game/machinery/syndicatebeacon.dm +++ b/code/game/machinery/syndicatebeacon.dm @@ -152,7 +152,7 @@ return else var/turf/T = loc - if(isturf(T) && !T.intact) + if(isturf(T) && T.underfloor_accessibility >= UNDERFLOOR_INTERACTABLE) attached = locate() in T if(!attached) to_chat(user, "This device must be placed over an exposed cable.") diff --git a/code/game/machinery/telecomms/telecomunications.dm b/code/game/machinery/telecomms/telecomunications.dm index cb827e3c8085..480edf84d5ee 100644 --- a/code/game/machinery/telecomms/telecomunications.dm +++ b/code/game/machinery/telecomms/telecomunications.dm @@ -361,6 +361,33 @@ relay_information(signal, /obj/machinery/telecomms/relay, 1) relay_information(signal, /obj/machinery/telecomms/broadcaster, 1) // Send it to a broadcaster. +/obj/machinery/telecomms/hub/attackby(obj/item/weapon/D, mob/user) + ..() + if(istype(D, /obj/item/weapon/disk/telecomms)) + download(D, user) + +/obj/machinery/telecomms/hub/proc/download(obj/item/weapon/disk/telecomms/D, mob/user) + if(!user.Adjacent(src)) + return + if(!isliving(user)) + return + if(!isanyantag(user)) + to_chat(user, "<span class='notice'>Вы не имеете ни малейшего понятия, как это использовать.</span>") + return + if(D.have_data == TRUE) + to_chat(user, "<span class='notice'>На дискету уже загружены данные.</span>") + return + add_fingerprint(user) + to_chat(user, "<span class='warning'>Вы начинаете перемещать данные на дискету...</span>") + if(!do_after(user, 1 MINUTE, target = src)) + return + D.have_data = TRUE + playsound(src, 'sound/machines/ping.ogg', VOL_EFFECTS_MASTER) + to_chat(user, "<span class='nicegreen'>Готово!</span>") + addtimer(CALLBACK(src, PROC_REF(make_anomaly)), 20 SECONDS) + +/obj/machinery/telecomms/hub/proc/make_anomaly() + new /datum/event/communications_blackout/traitor /* The relay idles until it receives information. It then passes on that information diff --git a/code/game/mecha/equipment/mecha_equipment.dm b/code/game/mecha/equipment/mecha_equipment.dm index fa29b1246c87..5056201e02d5 100644 --- a/code/game/mecha/equipment/mecha_equipment.dm +++ b/code/game/mecha/equipment/mecha_equipment.dm @@ -20,7 +20,6 @@ var/sound_attach_equip = 'sound/mecha/mecha_attack_equip.ogg' var/sound_detach_equip = 'sound/mecha/mech_detach_equip.ogg' - /obj/item/mecha_parts/mecha_equipment/proc/do_after_cooldown(target=1) sleep(equip_cooldown) set_ready_state(1) @@ -71,7 +70,6 @@ /obj/item/mecha_parts/mecha_equipment/proc/is_melee() return range&RANGE_MELEE - /obj/item/mecha_parts/mecha_equipment/proc/action_checks(atom/target) if(!target) return 0 @@ -107,18 +105,16 @@ update_chassis_page() return -/obj/item/mecha_parts/mecha_equipment/proc/detach(atom/moveto=null) - moveto = moveto || get_turf(chassis) - if(Move(moveto)) - chassis.equipment -= src - if(chassis.selected == src) - chassis.selected = null - playsound(src, sound_detach_equip, VOL_EFFECTS_MASTER, 75, FALSE, null, -3) - update_chassis_page() - chassis.log_message("[src] removed from equipment.") - chassis = null - set_ready_state(1) - return +/obj/item/mecha_parts/mecha_equipment/proc/detach() + forceMove(get_turf(chassis)) + chassis.equipment -= src + if(chassis.selected == src) + chassis.selected = null + playsound(src, sound_detach_equip, VOL_EFFECTS_MASTER, 75, FALSE, null, -3) + update_chassis_page() + chassis.log_message("[src] removed from equipment.") + chassis = null + set_ready_state(1) /obj/item/mecha_parts/mecha_equipment/Topic(href,href_list) diff --git a/code/game/mecha/equipment/tools/medical_tools.dm b/code/game/mecha/equipment/tools/medical_tools.dm index 19634aea05ca..bc5665cebec6 100644 --- a/code/game/mecha/equipment/tools/medical_tools.dm +++ b/code/game/mecha/equipment/tools/medical_tools.dm @@ -350,7 +350,8 @@ if(!T.broken && !T.burnt) new T.floor_type(T) T.make_plating() - return !new_turf.intact + return new_turf.underfloor_accessibility >= UNDERFLOOR_INTERACTABLE + /obj/item/mecha_parts/mecha_equipment/cable_layer/proc/layCable(turf/new_turf) if(equip_ready || !istype(new_turf) || !dismantleFloor(new_turf)) @@ -365,13 +366,13 @@ NC.color = COLOR_RED NC.d1 = 0 NC.d2 = fdirn - NC.updateicon() + NC.update_icon() var/datum/powernet/PN if(last_piece && last_piece.d2 != chassis.dir) last_piece.d1 = min(last_piece.d2, chassis.dir) last_piece.d2 = max(last_piece.d2, chassis.dir) - last_piece.updateicon() + last_piece.update_icon() PN = last_piece.powernet if(!PN) diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index 263e3c0a21ab..e1e9de6e62f1 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -1023,26 +1023,25 @@ mob_container = brain.container else return - if(mob_container.forceMove(src.loc))//ejecting mob container - - playsound(src, 'sound/mecha/mech_eject.ogg', VOL_EFFECTS_MASTER, 75, FALSE, null, -3) - log_message("[mob_container] moved out.") - log_admin("[key_name(mob_container)] has moved out of [src.type] with name [src.name]") - occupant.reset_view() - - src.occupant << browse(null, "window=exosuit") - if(src.occupant.hud_used && src.last_user_hud && !isMMI(mob_container)) - occupant.hud_used.show_hud(HUD_STYLE_STANDARD) - - if(isMMI(mob_container)) - var/obj/item/device/mmi/mmi = mob_container - if(mmi.brainmob) - occupant.loc = mmi - src.occupant.canmove = 0 - src.occupant = null - src.icon_state = reset_icon()+"-open" - set_dir(dir_in) - return + + mob_container.forceMove(src.loc) + playsound(src, 'sound/mecha/mech_eject.ogg', VOL_EFFECTS_MASTER, 75, FALSE, null, -3) + log_message("[mob_container] moved out.") + log_admin("[key_name(mob_container)] has moved out of [src.type] with name [src.name]") + occupant.reset_view() + + src.occupant << browse(null, "window=exosuit") + if(src.occupant.hud_used && src.last_user_hud && !isMMI(mob_container)) + occupant.hud_used.show_hud(HUD_STYLE_STANDARD) + + if(isMMI(mob_container)) + var/obj/item/device/mmi/mmi = mob_container + if(mmi.brainmob) + occupant.loc = mmi + src.occupant.canmove = 0 + src.occupant = null + src.icon_state = reset_icon()+"-open" + set_dir(dir_in) ///////////////////////// ////// Access stuff ///// diff --git a/code/game/objects/items/devices/powersink.dm b/code/game/objects/items/devices/powersink.dm index 30339b69d29b..d81372355df6 100644 --- a/code/game/objects/items/devices/powersink.dm +++ b/code/game/objects/items/devices/powersink.dm @@ -31,7 +31,7 @@ if(isscrewing(I)) if(mode == 0) var/turf/T = loc - if(isturf(T) && !T.intact) + if(isturf(T) && T.underfloor_accessibility >= UNDERFLOOR_INTERACTABLE) attached = locate() in T if(!attached) to_chat(user, "No exposed cable here to attach to.") diff --git a/code/game/objects/items/devices/scanners/t_scanner.dm b/code/game/objects/items/devices/scanners/t_scanner.dm index ac23c4b60e08..6454d68f3980 100644 --- a/code/game/objects/items/devices/scanners/t_scanner.dm +++ b/code/game/objects/items/devices/scanners/t_scanner.dm @@ -35,19 +35,16 @@ if(!on) STOP_PROCESSING(SSobj, src) return null - scan() + scan(loc) -/obj/item/device/t_scanner/proc/scan() +/obj/item/device/t_scanner/proc/scan(mob/viewer) + if(!ismob(viewer) || !viewer.client) + return - for(var/turf/T in range(3, src.loc) ) - - if(!T.intact) + for(var/turf/T in range(3, viewer)) + if(T.underfloor_accessibility == UNDERFLOOR_VISIBLE) // we can see turf content already continue for(var/obj/O in T.contents) - - if(O.level != 1) - continue - - if(O.invisibility >= INVISIBILITY_MAXIMUM) + if(HAS_TRAIT(O, TRAIT_T_RAY_VISIBLE)) flick_sonar(O) diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm index c0727b52d302..dd04af5edefe 100644 --- a/code/game/objects/items/stacks/sheets/sheet_types.dm +++ b/code/game/objects/items/stacks/sheets/sheet_types.dm @@ -29,11 +29,11 @@ var/global/list/datum/stack_recipe/metal_recipes = list ( new/datum/stack_recipe("light office chair", /obj/structure/stool/bed/chair/office/light, 5, one_per_turf = TRUE, on_floor = TRUE), ), 5), new/datum/stack_recipe_list("comfy chairs", list( - new/datum/stack_recipe("beige comfy chair", /obj/structure/stool/bed/chair/comfy/beige, 2, one_per_turf = TRUE, on_floor = TRUE), new/datum/stack_recipe("black comfy chair", /obj/structure/stool/bed/chair/comfy/black, 2, one_per_turf = TRUE, on_floor = TRUE), + new/datum/stack_recipe("beige comfy chair", /obj/structure/stool/bed/chair/comfy/white, 2, one_per_turf = TRUE, on_floor = TRUE), new/datum/stack_recipe("brown comfy chair", /obj/structure/stool/bed/chair/comfy/brown, 2, one_per_turf = TRUE, on_floor = TRUE), new/datum/stack_recipe("lime comfy chair", /obj/structure/stool/bed/chair/comfy/lime, 2, one_per_turf = TRUE, on_floor = TRUE), - new/datum/stack_recipe("teal comfy chair", /obj/structure/stool/bed/chair/comfy/teal, 2, one_per_turf = TRUE, on_floor = TRUE), + new/datum/stack_recipe("teal comfy chair", /obj/structure/stool/bed/chair/comfy/green, 2, one_per_turf = TRUE, on_floor = TRUE), ), 2), new/datum/stack_recipe_list("Cabinets", list( new/datum/stack_recipe("Light filling cabinet", /obj/structure/filingcabinet/filingcabinet, 4, time = 15, one_per_turf = TRUE, on_floor = TRUE), @@ -49,6 +49,7 @@ var/global/list/datum/stack_recipe/metal_recipes = list ( new/datum/stack_recipe("canister", /obj/machinery/portable_atmospherics/canister, 10, time = 15, one_per_turf = TRUE, on_floor = TRUE, required_skills = list(/datum/skill/construction = SKILL_LEVEL_PRO)), null, new/datum/stack_recipe("floor tile", /obj/item/stack/tile/plasteel, 1, 4, 20, required_skills = list(/datum/skill/construction = SKILL_LEVEL_NOVICE)), + new/datum/stack_recipe("grid floor tile", /obj/item/stack/tile/grid, 1, 4, 20, required_skills = list(/datum/skill/construction = SKILL_LEVEL_NOVICE)), new/datum/stack_recipe("metal rod", /obj/item/stack/rods, 1, 2, 60, required_skills = list(/datum/skill/construction = SKILL_LEVEL_NOVICE)), null, new/datum/stack_recipe("computer frame", /obj/structure/computerframe, 5, time = 50, one_per_turf = TRUE, on_floor = TRUE, required_skills = list(/datum/skill/construction = SKILL_LEVEL_PRO)), diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm index a74457165718..dc9cd7aeeb14 100644 --- a/code/game/objects/items/stacks/tiles/tile_types.dm +++ b/code/game/objects/items/stacks/tiles/tile_types.dm @@ -135,3 +135,20 @@ item_state = "tile-carpet-cyan" turf_type = /turf/simulated/floor/carpet/cyan carpet_icon_state = "cyancarpet" + +/* + * Catwalk tiles + */ + +/obj/item/stack/tile/grid + name = "grid tile" + singular_name = "grid floor tile" + icon_state = "fr_tile" + w_class = SIZE_SMALL + force = 1.0 + throwforce = 1.0 + throw_speed = 3 + throw_range = 20 + flags = CONDUCT + max_amount = 60 + turf_type = /turf/simulated/floor/grid_floor diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index f299fde2d9a9..4be88bf44c32 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -176,7 +176,7 @@ add_fingerprint(user) if(ishuman(user)) var/mob/living/carbon/human/H = user - if(H.job == "Clown") + if(H.job == "Clown" || stage_of_effect == 2) to_chat(user, "<span class = 'notice'>You concentrate your power into a one big bad joke and make the [src] much stronger.</span>") on = TRUE diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm index c5b413373cf9..77318637964e 100644 --- a/code/game/objects/items/weapons/cards_ids.dm +++ b/code/game/objects/items/weapons/cards_ids.dm @@ -117,7 +117,6 @@ item_state = "card-id" item_state_world = "data_world" layer = 3 - level = 2 desc = "Эта дискета содержит координаты легендарной планеты Клоунов. Обращайтесь с ней осторожно." function = "teleporter" data = "Clown Land" @@ -250,7 +249,7 @@ /obj/item/weapon/card/id/blueshield name = "identification card" - desc = "A card issued to blueshield officer." + desc = "ID карта офицера, которая олицетворяет личный щит командования станции и представителей Центрального Командования." icon_state = "blueshield" item_state = "int_id" item_state_world = "blueshield_world" diff --git a/code/game/objects/items/weapons/implants/mindshield.dm b/code/game/objects/items/weapons/implants/mindshield.dm index 43b39bd372f6..6d064380e72b 100644 --- a/code/game/objects/items/weapons/implants/mindshield.dm +++ b/code/game/objects/items/weapons/implants/mindshield.dm @@ -77,7 +77,7 @@ if(.) if(M.mind) var/cleared_role = FALSE - var/list/remove_roles = list(TRAITOR, NUKE_OP, NUKE_OP_LEADER, HEADREV, GANGSTER_LEADER, IMPOSTER) + var/list/remove_roles = list(TRAITOR, NUKE_OP, NUKE_OP_LEADER, HEADREV, GANGSTER_LEADER) for(var/role in remove_roles) var/datum/role/R = M.mind.GetRole(role) if(!R) diff --git a/code/game/objects/items/weapons/melee/misc.dm b/code/game/objects/items/weapons/melee/misc.dm index b0cce1af81db..fae314a63e03 100644 --- a/code/game/objects/items/weapons/melee/misc.dm +++ b/code/game/objects/items/weapons/melee/misc.dm @@ -23,9 +23,6 @@ return if(!ishuman(target)) return - if(isimposter(user)) - to_chat(user, "<span class='warning'>[src] not working, broken, try another time.</span>") - return var/mob/living/carbon/human/H = target user.visible_message("<span class='notice'>[user] flails their [src] at [H]</span>") if(HAS_TRAIT_FROM(H, TRAIT_VISUAL_OBEY, FAKE_IMPLANT_TRAIT)) diff --git a/code/game/objects/items/weapons/mop.dm b/code/game/objects/items/weapons/mop.dm index c1c67db3689f..8dff5eaec2d2 100644 --- a/code/game/objects/items/weapons/mop.dm +++ b/code/game/objects/items/weapons/mop.dm @@ -9,7 +9,7 @@ w_class = SIZE_SMALL attack_verb = list("mopped", "bashed", "bludgeoned", "whacked") - sweep_step = 4 + sweep_step = 2 var/mopping = 0 var/mopcount = 0 @@ -127,7 +127,7 @@ force = 6.0 throwforce = 10.0 throw_range = 10.0 - sweep_step = 2 + sweep_step = 1 /obj/effect/attackby(obj/item/I, mob/user) if(istype(I, /obj/item/weapon/mop) || istype(I, /obj/item/weapon/reagent_containers/food/snacks/soap) || istype(I, /obj/item/weapon/kitchen/utensil/fork)) diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm index 23c9a419ca34..33306dd50afe 100644 --- a/code/game/objects/items/weapons/storage/backpack.dm +++ b/code/game/objects/items/weapons/storage/backpack.dm @@ -326,24 +326,15 @@ item_state = "satchel-flat" w_class = SIZE_SMALL //Can fit in backpacks itself. max_storage_space = DEFAULT_BACKPACK_STORAGE - 10 - level = 1 cant_hold = list(/obj/item/weapon/storage/backpack/satchel/flat) //muh recursive backpacks -/obj/item/weapon/storage/backpack/satchel/flat/hide(intact) - if(intact) - invisibility = 101 - anchored = TRUE //otherwise you can start pulling, cover it, and drag around an invisible backpack. - icon_state = "[initial(icon_state)]2" - else - invisibility = initial(invisibility) - anchored = FALSE - icon_state = initial(icon_state) - /obj/item/weapon/storage/backpack/satchel/flat/atom_init() . = ..() new /obj/item/stack/tile/plasteel(src) new /obj/item/weapon/crowbar(src) + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE, use_anchor = TRUE) + /obj/item/weapon/storage/backpack/dufflebag name = "suspicious looking dufflebag" cases = list("вещмешок", "вещмешка", "вещмешку", "вещмешок", "вещмешком", "вещмешке") diff --git a/code/game/objects/items/weapons/storage/storage.dm b/code/game/objects/items/weapons/storage/storage.dm index 3177922c720d..71654b6a98e3 100644 --- a/code/game/objects/items/weapons/storage/storage.dm +++ b/code/game/objects/items/weapons/storage/storage.dm @@ -407,6 +407,10 @@ return var/turf/T = get_turf(src) + + if(HAS_TRAIT(src, TRAIT_UNDERFLOOR) && T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) + return + hide_from(usr) for(var/obj/item/I in contents) remove_from_storage(I, T, NoUpdate = TRUE) diff --git a/code/game/objects/objs.dm b/code/game/objects/objs.dm index 50d2fb181260..00b7625acff1 100644 --- a/code/game/objects/objs.dm +++ b/code/game/objects/objs.dm @@ -189,12 +189,6 @@ /obj/proc/alter_health() return 1 -/obj/proc/hide(h) - return - -/obj/proc/hides_under_flooring() - return level == 1 - // haha we spam with empty lists recursively for every mob and object in view for each SAY call // todo: we don't need these listeners procs, replace with get_hearers_in_view /atom/movable/proc/get_listeners() diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm index 9f2da93b393f..fc388f60bca7 100644 --- a/code/game/objects/structures/safe.dm +++ b/code/game/objects/structures/safe.dm @@ -214,16 +214,12 @@ /obj/structure/safe/floor name = "floor safe" icon_state = "floorsafe" - level = 1 density = FALSE layer = SAFEDOOR_LAYER /obj/structure/safe/floor/atom_init() . = ..() - var/turf/T = loc - hide(T.intact) -/obj/structure/safe/floor/hide(intact) - invisibility = intact ? 101 : 0 + AddElement(/datum/element/undertile) #undef SOUND_CHANCE diff --git a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm index b9da14e57025..7c138f010e8e 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm @@ -10,7 +10,6 @@ var/propelled = FALSE // Check for fire-extinguisher-driven chairs var/behind = null - var/behind_buckled = null var/roll_sound = null // Janicart and office chair use this when moving. @@ -107,7 +106,7 @@ to_chat(M, "<span class='warning'>Tried buckle you to \the [src].</span>") return - if(dir == NORTH && !istype(src, /obj/structure/stool/bed/chair/schair/wagon/bench)) + if(dir == NORTH) layer = FLY_LAYER else layer = OBJ_LAYER @@ -153,7 +152,7 @@ icon_state = behind else icon_state = initial(icon_state) - if(dir == NORTH && buckled_mob && !istype(src, /obj/structure/stool/bed/chair/schair/wagon/bench)) + if(dir == NORTH && buckled_mob) layer = FLY_LAYER else layer = OBJ_LAYER @@ -233,7 +232,7 @@ var/sarmrest = null /obj/structure/stool/bed/chair/schair/atom_init() - sarmrest = image("icons/obj/objects.dmi", "schair_armrest", layer = FLY_LAYER) + sarmrest = image("icons/obj/objects.dmi", "[icon_state]_armrest", layer = FLY_LAYER) . = ..() /obj/structure/stool/bed/chair/schair/post_buckle_mob(mob/living/M) @@ -245,8 +244,21 @@ // Chair types /obj/structure/stool/bed/chair/wood/normal icon_state = "wooden_chair" + behind = "wooden_chair_behind" name = "wooden chair" desc = "Old is never too old to not be in fashion." + var/armrest + +/obj/structure/stool/bed/chair/wood/normal/atom_init() + armrest = image("icons/obj/objects.dmi", "[icon_state]_armrest", layer = FLY_LAYER) + . = ..() + +/obj/structure/stool/bed/chair/wood/normal/post_buckle_mob(mob/living/M) + . = ..() + if(buckled_mob) + add_overlay(armrest) + else + cut_overlay(armrest) /obj/structure/stool/bed/chair/wood/wings icon_state = "wooden_chair_wings" @@ -482,12 +494,10 @@ /obj/structure/stool/bed/chair/comfy name = "comfy chair" desc = "It looks comfy." - icon_state = "comfychair" - color = rgb(255,255,255) var/armrest = null /obj/structure/stool/bed/chair/comfy/atom_init() - armrest = image("icons/obj/objects.dmi", "comfychair_armrest", layer = FLY_LAYER) + armrest = image("icons/obj/objects.dmi", "[icon_state]_armrest", layer = FLY_LAYER) . = ..() /obj/structure/stool/bed/chair/comfy/post_buckle_mob(mob/living/M) @@ -496,20 +506,20 @@ else cut_overlay(armrest) -/obj/structure/stool/bed/chair/comfy/brown - color = rgb(255,113,0) +/obj/structure/stool/bed/chair/comfy/black + icon_state = "comfychair_black" -/obj/structure/stool/bed/chair/comfy/beige - color = rgb(255,253,195) +/obj/structure/stool/bed/chair/comfy/brown + icon_state = "comfychair_brown" -/obj/structure/stool/bed/chair/comfy/teal - color = rgb(0,255,255) +/obj/structure/stool/bed/chair/comfy/white + icon_state = "comfychair_white" -/obj/structure/stool/bed/chair/comfy/black - color = rgb(167,164,153) +/obj/structure/stool/bed/chair/comfy/green + icon_state = "comfychair_green" /obj/structure/stool/bed/chair/comfy/lime - color = rgb(255,251,0) + icon_state = "comfychair_lime" /obj/structure/stool/bed/chair/office anchored = FALSE diff --git a/code/game/turfs/floor/grid_plating.dm b/code/game/turfs/floor/grid_plating.dm new file mode 100644 index 000000000000..4762b05fbf20 --- /dev/null +++ b/code/game/turfs/floor/grid_plating.dm @@ -0,0 +1,48 @@ +/** + * ## catwalk flooring + * + * They show what's underneath their catwalk flooring (pipes and the like) + * you can screwdriver it to interact with the underneath stuff without destroying the tile... + * unless you want to! + */ +/turf/simulated/floor/grid_floor //the base type, meant to look like a maintenance panel + name = "grid floor" + icon = 'icons/turf/floors/grid_plating.dmi' + icon_state = "grid_1" + desc = "Плитка показывает коммуникации под ней. Выбор инженеров!" + floor_type = /obj/item/stack/tile/grid + layer = TURF_CAP_LAYER + footstep = FOOTSTEP_CATWALK + underfloor_accessibility = UNDERFLOOR_VISIBLE + var/covered = TRUE + var/static/mutable_appearance/background + +/turf/simulated/floor/grid_floor/atom_init(mapload) + . = ..() + if(!background) + background = mutable_appearance(DEFAULT_UNDERLAY_ICON, DEFAULT_UNDERLAY_ICON_STATE, BELOW_TURF_LAYER, UNDERFLOOR_PLANE) + underlays += background + +/turf/simulated/floor/grid_floor/examine(mob/user) + . = ..() + + if(covered) + to_chat(user, "<span class='notice'>Вы можете <b>открутить</b> защитную решетку для доступа к содержимому.</span>") + else + to_chat(user, "<span class='notice'>Кто-то открутил защитную решетку. Вы можете <b>закрутить</b> её обратно.</span>") + +/turf/simulated/floor/grid_floor/make_plating() + ChangeTurf(/turf/simulated/floor/plating) + +/turf/simulated/floor/grid_floor/proc/toggle_cower() + covered = !covered + if(!covered) + underfloor_accessibility = UNDERFLOOR_INTERACTABLE + icon_state = "[initial(icon_state)]_open" + footstep = initial(footstep) + else + footstep = FOOTSTEP_FLOOR + underfloor_accessibility = UNDERFLOOR_VISIBLE + icon_state = initial(icon_state) + + levelupdate() diff --git a/code/game/turfs/simulated/floor.dm b/code/game/turfs/simulated/floor.dm index b97f96d877e0..b82cc7739f53 100644 --- a/code/game/turfs/simulated/floor.dm +++ b/code/game/turfs/simulated/floor.dm @@ -351,7 +351,7 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama icon_plating = "plating" set_light(0) floor_type = null - intact = 0 + underfloor_accessibility = UNDERFLOOR_INTERACTABLE broken = 0 burnt = 0 @@ -365,7 +365,7 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama /turf/simulated/floor/proc/make_plasteel_floor(obj/item/stack/tile/plasteel/T = null) broken = 0 burnt = 0 - intact = 1 + underfloor_accessibility = UNDERFLOOR_HIDDEN set_light(0) if(T) if(istype(T,/obj/item/stack/tile/plasteel)) @@ -392,7 +392,7 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama /turf/simulated/floor/proc/make_light_floor(obj/item/stack/tile/light/T = null) broken = 0 burnt = 0 - intact = 1 + underfloor_accessibility = UNDERFLOOR_HIDDEN if(T) if(istype(T,/obj/item/stack/tile/light)) floor_type = T.type @@ -410,7 +410,7 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama /turf/simulated/floor/proc/make_grass_floor(obj/item/stack/tile/grass/T = null) broken = 0 burnt = 0 - intact = 1 + underfloor_accessibility = UNDERFLOOR_HIDDEN if(T) if(istype(T,/obj/item/stack/tile/grass)) floor_type = T.type @@ -428,7 +428,7 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama /turf/simulated/floor/proc/make_wood_floor(obj/item/stack/tile/wood/T = null) broken = 0 burnt = 0 - intact = 1 + underfloor_accessibility = UNDERFLOOR_HIDDEN if(T) if(istype(T,/obj/item/stack/tile/wood)) floor_type = T.type @@ -497,11 +497,22 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama make_plating() playsound(src, 'sound/items/Screwdriver.ogg', VOL_EFFECTS_MASTER) - if(is_catwalk()) + else if(is_catwalk()) if(broken) return ReplaceWithLattice() playsound(src, 'sound/items/Screwdriver.ogg', VOL_EFFECTS_MASTER) + // todo: move catwalk to standart smooth system + for(var/direction in cardinal) + var/turf/T = get_step(src,direction) + if(T.is_catwalk()) + var/turf/simulated/floor/plating/airless/catwalk/CW=T + CW.update_icon(0) + else if(istype(src, /turf/simulated/floor/grid_floor)) + var/turf/simulated/floor/grid_floor/GF = src + GF.toggle_cower() + to_chat(user, "<span class='warning'>Вы открутили решетку.</span>") + playsound(src, 'sound/items/Screwdriver.ogg', VOL_EFFECTS_MASTER) return if(istype(C, /obj/item/stack/rods)) @@ -532,13 +543,16 @@ var/global/list/icons_to_ignore_at_floor_init = list("damaged1","damaged2","dama if(!T.use(1)) return playsound(src, 'sound/weapons/Genhit.ogg', VOL_EFFECTS_MASTER) - if(istype(T,/obj/item/stack/tile/carpet)) + if(istype(T, /obj/item/stack/tile/carpet)) ChangeTurf(T.turf_type) // for smoothing we need to change type return + if(istype(T, /obj/item/stack/tile/grid)) + ChangeTurf(T.turf_type) + return floor_type = T.type icon = initial(T.turf_type.icon) name = initial(T.turf_type.name) - intact = 1 + underfloor_accessibility = UNDERFLOOR_HIDDEN if(istype(T,/obj/item/stack/tile/light)) var/obj/item/stack/tile/light/L = T set_lightfloor_state(L.state) diff --git a/code/game/turfs/simulated/floor_types.dm b/code/game/turfs/simulated/floor_types.dm index bc0851bef270..45b1434c953e 100644 --- a/code/game/turfs/simulated/floor_types.dm +++ b/code/game/turfs/simulated/floor_types.dm @@ -21,6 +21,7 @@ return INITIALIZE_HINT_LATELOAD /turf/simulated/floor/light/atom_init_late() + ..() update_icon() name = initial(name) @@ -139,7 +140,7 @@ name = "plating" icon_state = "plating" floor_type = null - intact = 0 + underfloor_accessibility = UNDERFLOOR_INTERACTABLE footstep = FOOTSTEP_PLATING /turf/simulated/floor/plating/airless @@ -340,6 +341,7 @@ return INITIALIZE_HINT_LATELOAD /turf/simulated/floor/grass/atom_init_late() + ..() update_icon() for(var/direction in cardinal) if(istype(get_step(src,direction),/turf/simulated/floor)) @@ -408,7 +410,7 @@ thermal_conductivity = OPEN_HEAT_TRANSFER_COEFFICIENT heat_capacity = HEAT_CAPACITY_VACUUM - intact = 0 + underfloor_accessibility = UNDERFLOOR_INTERACTABLE footstep = FOOTSTEP_CATWALK /turf/simulated/floor/plating/airless/catwalk/atom_init() diff --git a/code/game/turfs/turf.dm b/code/game/turfs/turf.dm index 582846847453..3289fef87259 100644 --- a/code/game/turfs/turf.dm +++ b/code/game/turfs/turf.dm @@ -1,11 +1,12 @@ /turf icon = 'icons/turf/floors.dmi' - level = 1.0 + luminosity = 1 + var/turf/basetype = /turf/environment/space - //for floors, use is_plating(), is_plasteel_floor() and is_light_floor() - var/intact = 1 var/can_deconstruct = FALSE + var/underfloor_accessibility = UNDERFLOOR_HIDDEN + //Properties for open tiles (/floor) var/airless = FALSE var/oxygen = 0 @@ -40,6 +41,20 @@ var/list/turf_decals + var/dynamic_lighting = TRUE + var/force_lighting_update = FALSE + + var/tmp/lighting_corners_initialised = FALSE + + ///Our lighting object. + var/tmp/atom/movable/lighting_object/lighting_object + ///Lighting Corner datums. + var/tmp/datum/lighting_corner/lighting_corner_NE + var/tmp/datum/lighting_corner/lighting_corner_SE + var/tmp/datum/lighting_corner/lighting_corner_SW + var/tmp/datum/lighting_corner/lighting_corner_NW + + var/tmp/has_opaque_atom = FALSE // Not to be confused with opacity, this will be TRUE if there's any opaque atom on the tile. /** * Turf Initialize @@ -271,14 +286,12 @@ /turf/proc/levelupdate() for(var/obj/O in src) - if(O.level == 1) - O.hide(src.intact) + if(O.initialized) + SEND_SIGNAL(O, COMSIG_OBJ_LEVELUPDATE, underfloor_accessibility) // override for environment turfs, since they should never hide anything /turf/environment/levelupdate() - for(var/obj/O in src) - if(O.level == 1) - O.hide(0) + return // Removes all signs of lattice on the pos of the turf -Donkieyo /turf/proc/RemoveLattice() @@ -324,9 +337,11 @@ var/old_opacity = opacity var/old_dynamic_lighting = dynamic_lighting var/old_force_lighting_update = force_lighting_update - var/old_affecting_lights = affecting_lights var/old_lighting_object = lighting_object - var/old_corners = corners + var/old_lighting_corner_NE = lighting_corner_NE + var/old_lighting_corner_SE = lighting_corner_SE + var/old_lighting_corner_SW = lighting_corner_SW + var/old_lighting_corner_NW = lighting_corner_NW var/old_basetype = basetype var/old_flooded = flooded @@ -403,11 +418,15 @@ queue_smooth_neighbors(W) + lighting_corner_NE = old_lighting_corner_NE + lighting_corner_SE = old_lighting_corner_SE + lighting_corner_SW = old_lighting_corner_SW + lighting_corner_NW = old_lighting_corner_NW + if(SSlighting.initialized) recalc_atom_opacity() lighting_object = old_lighting_object - affecting_lights = old_affecting_lights - corners = old_corners + if (force_lighting_update || old_force_lighting_update || old_opacity != opacity || dynamic_lighting != old_dynamic_lighting) reconsider_lights() @@ -479,11 +498,9 @@ //////////////// /turf/singularity_act(obj/singularity/S, current_size) - if(intact) + if(underfloor_accessibility == UNDERFLOOR_HIDDEN) for(var/obj/O in contents) //this is for deleting things like wires contained in the turf - if(O.level != 1) - continue - if(O.invisibility == 101) + if(HAS_TRAIT(O, TRAIT_UNDERFLOOR)) O.singularity_act(S, current_size) ChangeTurf(/turf/environment/space) return(2) diff --git a/code/game/turfs/unsimulated.dm b/code/game/turfs/unsimulated.dm index 02e65f208f2f..b02abaddcef7 100644 --- a/code/game/turfs/unsimulated.dm +++ b/code/game/turfs/unsimulated.dm @@ -1,8 +1,14 @@ /turf/unsimulated - intact = 1 name = "command" plane = FLOOR_PLANE oxygen = MOLES_O2STANDARD nitrogen = MOLES_N2STANDARD flags = NOSTEPSOUND | NOBLOODY + +/turf/unsimulated/atom_init() + ..() + return INITIALIZE_HINT_LATELOAD + +/turf/unsimulated/atom_init_late() + levelupdate() diff --git a/code/game/turfs/unsimulated/walls.dm b/code/game/turfs/unsimulated/walls.dm index ec63e5ca3fdb..45e73c27e7bc 100644 --- a/code/game/turfs/unsimulated/walls.dm +++ b/code/game/turfs/unsimulated/walls.dm @@ -14,13 +14,6 @@ /turf/unsimulated/wall/log icon = 'icons/turf/walls/log.dmi' -/turf/unsimulated/wall/fakeglass - name = "window" - icon = 'icons/turf/walls/fakeglass.dmi' - icon_state = "box" - opacity = FALSE - smooth = SMOOTH_TRUE - /turf/unsimulated/wall/abductor icon = 'icons/turf/walls.dmi' icon_state = "alien1" @@ -32,7 +25,10 @@ icon_state = "box" canSmoothWith = list(/obj/structure/alien/resin/wall, /obj/structure/alien/resin/membrane) -/turf/unsimulated/wall/fakeglass/alien +/turf/unsimulated/wall/fakealienmembrane name = "alien membrane" icon = 'icons/obj/smooth_structures/alien/resin_membrane.dmi' + icon_state = "box" + opacity = FALSE + smooth = SMOOTH_TRUE canSmoothWith = list(/obj/structure/alien/resin/wall, /obj/structure/alien/resin/membrane) diff --git a/code/modules/admin/DB_ban/functions.dm b/code/modules/admin/DB_ban/functions.dm index 23ff70878350..07e9cb933414 100644 --- a/code/modules/admin/DB_ban/functions.dm +++ b/code/modules/admin/DB_ban/functions.dm @@ -345,7 +345,7 @@ output += "<option value='[j]'>[j]</option>" for(var/j in nonhuman_positions) output += "<option value='[j]'>[j]</option>" - for(var/j in list(ROLE_TRAITOR, ROLE_CHANGELING, ROLE_OPERATIVE, ROLE_REV, ROLE_RAIDER, ROLE_CULTIST, ROLE_WIZARD, ROLE_ERT, ROLE_SHADOWLING, ROLE_ABDUCTOR, ROLE_FAMILIES, ROLE_NINJA, ROLE_BLOB, ROLE_MALF, ROLE_DRONE, ROLE_GHOSTLY, ROLE_REPLICATOR, ROLE_IMPOSTER)) + for(var/j in list(ROLE_TRAITOR, ROLE_CHANGELING, ROLE_OPERATIVE, ROLE_REV, ROLE_RAIDER, ROLE_CULTIST, ROLE_WIZARD, ROLE_ERT, ROLE_SHADOWLING, ROLE_ABDUCTOR, ROLE_FAMILIES, ROLE_NINJA, ROLE_BLOB, ROLE_MALF, ROLE_DRONE, ROLE_GHOSTLY, ROLE_REPLICATOR)) output += "<option value='[j]'>[j]</option>" output += "</select></td></tr></table>" output += "<b>Reason:<br></b><textarea name='dbbanreason' cols='50'></textarea><br>" diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index 01ea1a37dddf..f5eaa144fb75 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -755,11 +755,6 @@ else jobs += "<td width='20%'><a href='?src=\ref[src];jobban3=[ROLE_REPLICATOR];jobban4=\ref[M]'>[ROLE_REPLICATOR]</a></td>" - if(jobban_isbanned(M, ROLE_IMPOSTER) || isbanned_dept) - jobs += "<td width='20%'><a class='red' href='?src=\ref[src];jobban3=[ROLE_IMPOSTER];jobban4=\ref[M]'>[ROLE_IMPOSTER]</a></td>" - else - jobs += "<td width='20%'><a href='?src=\ref[src];jobban3=[ROLE_IMPOSTER];jobban4=\ref[M]'>[ROLE_IMPOSTER]</a></td>" - jobs += "</tr><tr align='center'>" jobs += "</tr></table>" diff --git a/code/modules/atmospheric/machinery/atmospherics.dm b/code/modules/atmospheric/machinery/atmospherics.dm index 284884cc62e2..8ca6777ac24c 100644 --- a/code/modules/atmospheric/machinery/atmospherics.dm +++ b/code/modules/atmospheric/machinery/atmospherics.dm @@ -10,9 +10,6 @@ Pipelines + Other Objects -> Pipe network */ -#define PIPE_VISIBLE_LEVEL 2 -#define PIPE_HIDDEN_LEVEL 1 - /obj/machinery/atmospherics anchored = TRUE idle_power_usage = 0 @@ -39,6 +36,9 @@ Pipelines + Other Objects -> Pipe network var/atmos_initalized = FALSE required_skills = list(/datum/skill/atmospherics = SKILL_LEVEL_NOVICE) + // mostly for pipes and components, sets level we need to show them and attaches undertile component + var/undertile = FALSE // FALSE + /obj/machinery/atmospherics/atom_init(mapload, process = TRUE) nodes = new(device_type) @@ -59,6 +59,10 @@ Pipelines + Other Objects -> Pipe network SetInitDirections() + if(undertile) + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) + RegisterSignal(src, COMSIG_OBJ_LEVELUPDATE, PROC_REF(update_underlays)) + /obj/machinery/atmospherics/Destroy() if(SSair.stop_airnet_processing) return ..() @@ -161,7 +165,7 @@ Pipelines + Other Objects -> Pipe network if(user.is_busy()) return if(can_unwrench(user)) var/turf/T = get_turf(src) - if (level == 1 && isturf(T) && T.intact) + if (HAS_TRAIT(src, TRAIT_UNDERFLOOR) && isturf(T) && T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "<span class='warning'>You must remove the plating first!</span>") return 1 @@ -231,9 +235,6 @@ Pipelines + Other Objects -> Pipe network ..() /obj/machinery/atmospherics/construction(pipe_type, obj_color) - var/turf/T = get_turf(src) - if(level == PIPE_HIDDEN_LEVEL) // so we only hide ones that are hideable. - level = !T.is_plating() ? PIPE_VISIBLE_LEVEL : PIPE_HIDDEN_LEVEL atmos_init() var/list/nodes = pipeline_expansion() for(var/obj/machinery/atmospherics/A in nodes) @@ -252,7 +253,7 @@ Pipelines + Other Objects -> Pipe network /obj/machinery/atmospherics/proc/add_underlay(turf/T, obj/machinery/atmospherics/node, direction, icon_connect_type) if(node) - if(!T.is_plating() && node.level == PIPE_HIDDEN_LEVEL && istype(node, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && undertile && istype(node, /obj/machinery/atmospherics/pipe)) //underlays += icon_manager.get_atmos_icon("underlay_down", direction, color_cache_name(node)) underlays += icon_manager.get_atmos_icon("underlay", direction, color_cache_name(node), "down" + icon_connect_type) else diff --git a/code/modules/atmospheric/machinery/components/binary_devices/dp_vent_pump.dm b/code/modules/atmospheric/machinery/components/binary_devices/dp_vent_pump.dm index 3479637ba418..a30b19c53da9 100644 --- a/code/modules/atmospheric/machinery/components/binary_devices/dp_vent_pump.dm +++ b/code/modules/atmospheric/machinery/components/binary_devices/dp_vent_pump.dm @@ -21,7 +21,7 @@ name = "dual-port air vent" desc = "Has a valve and pump attached to it. There are two ports." - level = PIPE_HIDDEN_LEVEL + undertile = FALSE use_power = NO_POWER_USE idle_power_usage = 150 //internal circuitry, friction losses and stuff @@ -82,7 +82,7 @@ var/obj/machinery/atmospherics/node1 = NODE1 var/obj/machinery/atmospherics/node2 = NODE2 - if(!T.is_plating() && node1 && node2 && node1.level == PIPE_HIDDEN_LEVEL && node2.level == PIPE_HIDDEN_LEVEL && istype(node1, /obj/machinery/atmospherics/pipe) && istype(node2, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node1 && node2 && node1.undertile && node2.undertile && istype(node1, /obj/machinery/atmospherics/pipe) && istype(node2, /obj/machinery/atmospherics/pipe)) vent_icon += "h" if(!powered()) @@ -91,6 +91,7 @@ vent_icon += "[use_power ? "[pump_direction ? "out" : "in"]" : "off"]" add_overlay(icon_manager.get_atmos_icon("device", , , vent_icon)) + update_underlays() /obj/machinery/atmospherics/components/binary/dp_vent_pump/update_underlays() if(..()) @@ -102,7 +103,7 @@ var/obj/machinery/atmospherics/node1 = NODE1 var/obj/machinery/atmospherics/node2 = NODE2 - if(!T.is_plating() && node1 && node2 && node1.level == PIPE_HIDDEN_LEVEL && node2.level == PIPE_HIDDEN_LEVEL && istype(node1, /obj/machinery/atmospherics/pipe) && istype(node2, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node1 && node2 && node1.undertile && node2.undertile && istype(node1, /obj/machinery/atmospherics/pipe) && istype(node2, /obj/machinery/atmospherics/pipe)) return else if (node1) @@ -114,10 +115,6 @@ else add_underlay(T, node2, dir) -/obj/machinery/atmospherics/components/binary/dp_vent_pump/hide(i) - update_icon() - update_underlays() - /obj/machinery/atmospherics/components/binary/dp_vent_pump/process_atmos() last_flow_rate = 0 last_power_draw = 0 diff --git a/code/modules/atmospheric/machinery/components/binary_devices/passive_gate.dm b/code/modules/atmospheric/machinery/components/binary_devices/passive_gate.dm index 3e0c6eec8fe0..bf1cf9acb031 100644 --- a/code/modules/atmospheric/machinery/components/binary_devices/passive_gate.dm +++ b/code/modules/atmospheric/machinery/components/binary_devices/passive_gate.dm @@ -64,9 +64,6 @@ Passive gate is similar to the regular pump except: add_underlay(T, NODE1, turn(dir, 180)) add_underlay(T, NODE2, dir) -/obj/machinery/atmospherics/components/binary/passive_gate/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/binary/passive_gate/process_atmos() last_flow_rate = 0 last_power_draw = 0 diff --git a/code/modules/atmospheric/machinery/components/binary_devices/pump.dm b/code/modules/atmospheric/machinery/components/binary_devices/pump.dm index f483a1c69860..643f1bc72f6c 100644 --- a/code/modules/atmospheric/machinery/components/binary_devices/pump.dm +++ b/code/modules/atmospheric/machinery/components/binary_devices/pump.dm @@ -66,9 +66,6 @@ Thus, the two variables affect pump operation are set in New(): add_underlay(T, NODE1, turn(dir, -180)) add_underlay(T, NODE2, dir) -/obj/machinery/atmospherics/components/binary/pump/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/binary/pump/process_atmos() last_flow_rate = 0 last_power_draw = 0 diff --git a/code/modules/atmospheric/machinery/components/binary_devices/sampler.dm b/code/modules/atmospheric/machinery/components/binary_devices/sampler.dm index 11d0140c4b66..8dde95f91b71 100644 --- a/code/modules/atmospheric/machinery/components/binary_devices/sampler.dm +++ b/code/modules/atmospheric/machinery/components/binary_devices/sampler.dm @@ -10,7 +10,7 @@ idle_power_usage = 100 connect_types = CONNECT_TYPE_REGULAR | CONNECT_TYPE_SCRUBBER | CONNECT_TYPE_SUPPLY - level = PIPE_HIDDEN_LEVEL + undertile = FALSE // Prevent unauthorized usage req_access = list(access_atmospherics) @@ -66,11 +66,6 @@ add_underlay(T, node1, get_dir(src, node1), node1 ? node1.icon_connect_type : "") add_underlay(T, node2, get_dir(src, node2), node2 ? node2.icon_connect_type : "") -/obj/machinery/atmospherics/components/binary/sampler/hide(i) - if(level == PIPE_HIDDEN_LEVEL && istype(loc, /turf/simulated)) - invisibility = i ? INVISIBILITY_MAXIMUM : 0 - update_underlays() - /obj/machinery/atmospherics/components/binary/sampler/process_atmos() if(!powered()) update_icon() diff --git a/code/modules/atmospheric/machinery/components/binary_devices/valve.dm b/code/modules/atmospheric/machinery/components/binary_devices/valve.dm index 6c25da8e578b..8c3406e1e867 100644 --- a/code/modules/atmospheric/machinery/components/binary_devices/valve.dm +++ b/code/modules/atmospheric/machinery/components/binary_devices/valve.dm @@ -35,9 +35,6 @@ add_underlay(T, node1, get_dir(src, node1), node1 ? node1.icon_connect_type : "") add_underlay(T, node2, get_dir(src, node2), node2 ? node2.icon_connect_type : "") -/obj/machinery/atmospherics/components/binary/valve/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/binary/valve/proc/open(logging = TRUE) // false used by shutoff valve inside proccess_atmos() proc to mitigate log spam. if(open) return FALSE diff --git a/code/modules/atmospheric/machinery/components/components_base.dm b/code/modules/atmospheric/machinery/components/components_base.dm index a6728fac80a9..c26b7d933b7c 100644 --- a/code/modules/atmospheric/machinery/components/components_base.dm +++ b/code/modules/atmospheric/machinery/components/components_base.dm @@ -7,6 +7,8 @@ On top of that, now people can add component-speciic procs/vars if they want! var/welded = FALSE //Used on pumps and scrubbers var/showpipe = FALSE + plane = FLOOR_PLANE + var/list/datum/pipeline/parents var/list/datum/gas_mixture/airs @@ -20,16 +22,6 @@ On top of that, now people can add component-speciic procs/vars if they want! A.volume = 200 AIR_I = A -/obj/machinery/atmospherics/components/update_icon() - if(!isturf(loc)) - return - var/turf/T = loc - - if(level == 2 || !T.intact) - plane = GAME_PLANE - else - plane = FLOOR_PLANE - /* Pipenet stuff; housekeeping */ diff --git a/code/modules/atmospheric/machinery/components/omni_devices/omni_devices.dm b/code/modules/atmospheric/machinery/components/omni_devices/omni_devices.dm index ee801062e95c..325b9b7e7621 100644 --- a/code/modules/atmospheric/machinery/components/omni_devices/omni_devices.dm +++ b/code/modules/atmospheric/machinery/components/omni_devices/omni_devices.dm @@ -183,7 +183,7 @@ var/turf/T = get_turf(src) if(!istype(T)) return - if(!T.is_plating() && istype(P.node, /obj/machinery/atmospherics/pipe) && P.node.level == PIPE_HIDDEN_LEVEL) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && istype(P.node, /obj/machinery/atmospherics/pipe) && P.node.undertile) //pipe_state = icon_manager.get_atmos_icon("underlay_down", P.dir, color_cache_name(P.node)) pipe_state = icon_manager.get_atmos_icon("underlay", P.dir, color_cache_name(P.node), "down") else @@ -197,9 +197,6 @@ P.update = TRUE update_ports() -/obj/machinery/atmospherics/components/omni/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/omni/proc/update_ports() sort_ports() update_port_icons() diff --git a/code/modules/atmospheric/machinery/components/trinary_devices/filter.dm b/code/modules/atmospheric/machinery/components/trinary_devices/filter.dm index 734abbb22052..8596bcb0a33c 100644 --- a/code/modules/atmospheric/machinery/components/trinary_devices/filter.dm +++ b/code/modules/atmospheric/machinery/components/trinary_devices/filter.dm @@ -79,9 +79,6 @@ add_underlay(T, NODE3, dir) -/obj/machinery/atmospherics/components/trinary/filter/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/trinary/filter/process_atmos() last_power_draw = 0 last_flow_rate = 0 diff --git a/code/modules/atmospheric/machinery/components/trinary_devices/mixer.dm b/code/modules/atmospheric/machinery/components/trinary_devices/mixer.dm index c7a3243b88ed..46baf1ca1581 100644 --- a/code/modules/atmospheric/machinery/components/trinary_devices/mixer.dm +++ b/code/modules/atmospheric/machinery/components/trinary_devices/mixer.dm @@ -60,9 +60,6 @@ add_underlay(T, NODE3, dir) -/obj/machinery/atmospherics/components/trinary/mixer/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/trinary/mixer/atom_init() . = ..() diff --git a/code/modules/atmospheric/machinery/components/trinary_devices/tvalve.dm b/code/modules/atmospheric/machinery/components/trinary_devices/tvalve.dm index c2ab0e789872..3a95252397d5 100644 --- a/code/modules/atmospheric/machinery/components/trinary_devices/tvalve.dm +++ b/code/modules/atmospheric/machinery/components/trinary_devices/tvalve.dm @@ -35,9 +35,6 @@ add_underlay(T, NODE3, dir) -/obj/machinery/atmospherics/components/trinary/tvalve/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/trinary/tvalve/SetInitDirections() switch(dir) if(NORTH) diff --git a/code/modules/atmospheric/machinery/components/unary_devices/cryo.dm b/code/modules/atmospheric/machinery/components/unary_devices/cryo.dm index 67bdb2453aa5..0f0ba057339a 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/cryo.dm @@ -5,6 +5,7 @@ icon_state = "pod-off" layer = ABOVE_WINDOW_LAYER + plane = GAME_PLANE light_color = "#ffffff" density = FALSE anchored = TRUE diff --git a/code/modules/atmospheric/machinery/components/unary_devices/outlet_injector.dm b/code/modules/atmospheric/machinery/components/unary_devices/outlet_injector.dm index 7b1069364d23..98f026714f3a 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/outlet_injector.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/outlet_injector.dm @@ -21,7 +21,7 @@ frequency = 0 var/id = null - level = PIPE_HIDDEN_LEVEL + undertile = FALSE layer = GAS_SCRUBBER_LAYER /obj/machinery/atmospherics/components/unary/outlet_injector/on @@ -147,9 +147,6 @@ broadcast_status() update_icon() -/obj/machinery/atmospherics/components/unary/outlet_injector/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/unary/outlet_injector/can_unwrench(mob/user) if(..()) if (!(stat & NOPOWER|BROKEN) && use_power) diff --git a/code/modules/atmospheric/machinery/components/unary_devices/portables_connector.dm b/code/modules/atmospheric/machinery/components/unary_devices/portables_connector.dm index dfa7379f067d..703614d44d93 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/portables_connector.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/portables_connector.dm @@ -36,9 +36,6 @@ return add_underlay(T, NODE1, dir) -/obj/machinery/atmospherics/components/unary/portables_connector/hide(i) - update_underlays() - /obj/machinery/atmospherics/components/unary/portables_connector/process_atmos() if(!connected_device) return diff --git a/code/modules/atmospheric/machinery/components/unary_devices/tank.dm b/code/modules/atmospheric/machinery/components/unary_devices/tank.dm index d367d953f430..e7f710aac399 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/tank.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/tank.dm @@ -45,9 +45,6 @@ return add_underlay(T, NODE1, dir) -/obj/machinery/atmospherics/components/unary/tank/hide() - update_underlays() - /obj/machinery/atmospherics/components/unary/tank/air name = "Pressure Tank (Air)" icon_state = "air_map" diff --git a/code/modules/atmospheric/machinery/components/unary_devices/vent_pump.dm b/code/modules/atmospheric/machinery/components/unary_devices/vent_pump.dm index fef5363b073b..83845e307755 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/vent_pump.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/vent_pump.dm @@ -19,7 +19,7 @@ idle_power_usage = 150 //internal circuitry, friction losses and stuff power_rating = 7500 //7500 W ~ 10 HP - level = PIPE_HIDDEN_LEVEL + undertile = FALSE layer = GAS_SCRUBBER_LAYER connect_types = CONNECT_TYPE_REGULAR|CONNECT_TYPE_SUPPLY //connects to regular and supply pipes @@ -136,7 +136,7 @@ var/obj/machinery/atmospherics/node = NODE1 - if(!T.is_plating() && node && node.level == PIPE_HIDDEN_LEVEL && istype(node, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node && node.undertile && istype(node, /obj/machinery/atmospherics/pipe)) vent_icon += "h" if(welded) @@ -148,6 +148,8 @@ add_overlay(icon_manager.get_atmos_icon("device", , , vent_icon)) + update_underlays() + /obj/machinery/atmospherics/components/unary/vent_pump/update_underlays() if(..()) underlays.Cut() @@ -157,7 +159,7 @@ var/obj/machinery/atmospherics/node = NODE1 - if(!T.is_plating() && node && node.level == PIPE_HIDDEN_LEVEL && istype(node, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node && node.undertile && istype(node, /obj/machinery/atmospherics/pipe)) return else if(node) @@ -165,10 +167,6 @@ else add_underlay(T,, dir) -/obj/machinery/atmospherics/components/unary/vent_pump/hide() - update_icon() - update_underlays() - /obj/machinery/atmospherics/components/unary/vent_pump/proc/can_pump() if(stat & (NOPOWER|BROKEN)) return FALSE diff --git a/code/modules/atmospheric/machinery/components/unary_devices/vent_scrubber.dm b/code/modules/atmospheric/machinery/components/unary_devices/vent_scrubber.dm index b376e6f499f8..7817e21561e1 100644 --- a/code/modules/atmospheric/machinery/components/unary_devices/vent_scrubber.dm +++ b/code/modules/atmospheric/machinery/components/unary_devices/vent_scrubber.dm @@ -15,7 +15,7 @@ connect_types = CONNECT_TYPE_REGULAR|CONNECT_TYPE_SCRUBBER //connects to regular and scrubber pipes - level = PIPE_HIDDEN_LEVEL + undertile = FALSE layer = GAS_SCRUBBER_LAYER frequency = 1439 @@ -93,6 +93,7 @@ scrubber_icon += "[use_power ? "[scrubbing ? "on" : "in"]" : "off"]" add_overlay(icon_manager.get_atmos_icon("device", , , scrubber_icon)) + update_underlays() /obj/machinery/atmospherics/components/unary/vent_scrubber/update_underlays() if(..()) @@ -103,7 +104,7 @@ var/obj/machinery/atmospherics/node = NODE1 - if(!T.is_plating() && node && node.level == PIPE_HIDDEN_LEVEL && istype(node, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node && node.undertile && istype(node, /obj/machinery/atmospherics/pipe)) return else if(node) @@ -186,10 +187,6 @@ update_parents() -/obj/machinery/atmospherics/components/unary/vent_scrubber/hide(i) //to make the little pipe section invisible, the icon changes. - update_icon() - update_underlays() - /obj/machinery/atmospherics/components/unary/vent_scrubber/receive_signal(datum/signal/signal) if(stat & (NOPOWER|BROKEN)) return diff --git a/code/modules/atmospheric/machinery/pipes/cap.dm b/code/modules/atmospheric/machinery/pipes/cap.dm index da831c580f86..a74ae4a68670 100644 --- a/code/modules/atmospheric/machinery/pipes/cap.dm +++ b/code/modules/atmospheric/machinery/pipes/cap.dm @@ -22,13 +22,11 @@ if(!check_icon_cache()) return - alpha = 255 - cut_overlays() add_overlay(icon_manager.get_atmos_icon("pipe", , pipe_color, "cap[icon_connect_type]")) /obj/machinery/atmospherics/pipe/cap/visible - level = PIPE_VISIBLE_LEVEL + undertile = FALSE icon_state = "cap" /obj/machinery/atmospherics/pipe/cap/visible/scrubbers @@ -53,9 +51,8 @@ color = PIPE_COLOR_ORANGE /obj/machinery/atmospherics/pipe/cap/hidden - level = PIPE_HIDDEN_LEVEL + undertile = TRUE icon_state = "cap" - alpha = 128 /obj/machinery/atmospherics/pipe/cap/hidden/scrubbers name = "scrubbers pipe endcap" diff --git a/code/modules/atmospheric/machinery/pipes/heat_exchange/he_pipes.dm b/code/modules/atmospheric/machinery/pipes/heat_exchange/he_pipes.dm index 002945232a90..ca3957240f56 100644 --- a/code/modules/atmospheric/machinery/pipes/heat_exchange/he_pipes.dm +++ b/code/modules/atmospheric/machinery/pipes/heat_exchange/he_pipes.dm @@ -3,7 +3,7 @@ icon_state = "intact" pipe_icon = "hepipe" color = "#404040" - level = PIPE_VISIBLE_LEVEL + undertile = TRUE connect_types = CONNECT_TYPE_HE var/icon_temperature = T20C //stop small changes in temperature causing an icon refresh diff --git a/code/modules/atmospheric/machinery/pipes/mainspipe.dm b/code/modules/atmospheric/machinery/pipes/mainspipe.dm index 32a81f615ec3..059abd181e50 100644 --- a/code/modules/atmospheric/machinery/pipes/mainspipe.dm +++ b/code/modules/atmospheric/machinery/pipes/mainspipe.dm @@ -61,11 +61,6 @@ aux.volume = volume aux.nodes.len = nodes.len -/obj/machinery/atmospherics/mains_pipe/hide(i) - if(level == 1 && istype(loc, /turf/simulated)) - invisibility = i ? INVISIBILITY_MAXIMUM : 0 - update_icon() - /obj/machinery/atmospherics/mains_pipe/proc/burst() ..() for(var/obj/machinery/atmospherics/pipe/mains_component/pipe in contents) @@ -160,15 +155,14 @@ ..() // initialize internal pipes var/turf/T = src.loc // hide if turf is not intact - if(level == 1 && !T.is_plating()) hide(1) update_icon() /obj/machinery/atmospherics/mains_pipe/simple/hidden - level = 1 + undertile = TRUE icon_state = "intact-f" /obj/machinery/atmospherics/mains_pipe/simple/visible - level = 2 + undertile = FALSE icon_state = "intact" /obj/machinery/atmospherics/mains_pipe/manifold @@ -221,20 +215,17 @@ ..() // initialize internal pipes - var/turf/T = src.loc // hide if turf is not intact - if(level == 1 && !T.is_plating()) - hide(1) update_icon() /obj/machinery/atmospherics/mains_pipe/manifold/update_icon() icon_state = "manifold[invisibility ? "-f" : "" ]" /obj/machinery/atmospherics/mains_pipe/manifold/hidden - level = 1 + undertile = TRUE icon_state = "manifold-f" /obj/machinery/atmospherics/mains_pipe/manifold/visible - level = 2 + undertile = FALSE icon_state = "manifold" /obj/machinery/atmospherics/mains_pipe/manifold4w @@ -270,20 +261,17 @@ ..() // initialize internal pipes - var/turf/T = src.loc // hide if turf is not intact - if(level == 1 && !T.is_plating()) - hide(1) update_icon() /obj/machinery/atmospherics/mains_pipe/manifold4w/update_icon() icon_state = "manifold4w[invisibility ? "-f" : "" ]" /obj/machinery/atmospherics/mains_pipe/manifold4w/hidden - level = 1 + undertile = TRUE icon_state = "manifold4w-f" /obj/machinery/atmospherics/mains_pipe/manifold4w/visible - level = 2 + undertile = FALSE icon_state = "manifold4w" /obj/machinery/atmospherics/mains_pipe/split @@ -331,9 +319,6 @@ if(N1 && N2) N1.merge(N2) - var/turf/T = src.loc // hide if turf is not intact - if(level == 1 && !T.is_plating()) - hide(1) update_icon() /obj/machinery/atmospherics/mains_pipe/split/update_icon() @@ -347,11 +332,11 @@ split_node = supply /obj/machinery/atmospherics/mains_pipe/split/supply/hidden - level = 1 + undertile = TRUE icon_state = "split-supply-f" /obj/machinery/atmospherics/mains_pipe/split/supply/visible - level = 2 + undertile = FALSE icon_state = "split-supply" /obj/machinery/atmospherics/mains_pipe/split/scrubbers @@ -362,11 +347,11 @@ split_node = scrubbers /obj/machinery/atmospherics/mains_pipe/split/scrubbers/hidden - level = 1 + undertile = TRUE icon_state = "split-scrubbers-f" /obj/machinery/atmospherics/mains_pipe/split/scrubbers/visible - level = 2 + undertile = FALSE icon_state = "split-scrubbers" /obj/machinery/atmospherics/mains_pipe/split/aux @@ -377,11 +362,11 @@ split_node = aux /obj/machinery/atmospherics/mains_pipe/split/aux/hidden - level = 1 + undertile = TRUE icon_state = "split-aux-f" /obj/machinery/atmospherics/mains_pipe/split/aux/visible - level = 2 + undertile = FALSE icon_state = "split-aux" /obj/machinery/atmospherics/mains_pipe/split3 @@ -449,20 +434,17 @@ if(N1 && N2) N1.merge(N2) - var/turf/T = src.loc // hide if turf is not intact - if(level == 1 && !T.is_plating()) - hide(1) update_icon() /obj/machinery/atmospherics/mains_pipe/split3/update_icon() icon_state = "split-t[invisibility ? "-f" : "" ]" /obj/machinery/atmospherics/mains_pipe/split3/hidden - level = 1 + undertile = TRUE icon_state = "split-t-f" /obj/machinery/atmospherics/mains_pipe/split3/visible - level = 2 + undertile = FALSE icon_state = "split-t" /obj/machinery/atmospherics/mains_pipe/cap @@ -495,11 +477,11 @@ update_icon() /obj/machinery/atmospherics/mains_pipe/cap/hidden - level = 1 + undertile = TRUE icon_state = "cap-f" /obj/machinery/atmospherics/mains_pipe/cap/visible - level = 2 + undertile = FALSE icon_state = "cap" //TODO: Get Mains valves working! diff --git a/code/modules/atmospheric/machinery/pipes/manifold.dm b/code/modules/atmospheric/machinery/pipes/manifold.dm index a442d078bff9..338c438e6061 100644 --- a/code/modules/atmospheric/machinery/pipes/manifold.dm +++ b/code/modules/atmospheric/machinery/pipes/manifold.dm @@ -13,7 +13,6 @@ /obj/machinery/atmospherics/pipe/manifold/atom_init() . = ..() - alpha = 255 icon = null /obj/machinery/atmospherics/pipe/manifold/SetInitDirections() @@ -33,8 +32,6 @@ if(!check_icon_cache()) return - alpha = 255 - var/obj/machinery/atmospherics/node1 = NODE1 var/obj/machinery/atmospherics/node2 = NODE2 var/obj/machinery/atmospherics/node3 = NODE3 @@ -66,7 +63,7 @@ /obj/machinery/atmospherics/pipe/manifold/visible icon_state = "map" - level = PIPE_VISIBLE_LEVEL + undertile = FALSE layer = GAS_PIPE_VISIBLE_LAYER /obj/machinery/atmospherics/pipe/manifold/visible/scrubbers @@ -110,8 +107,7 @@ /obj/machinery/atmospherics/pipe/manifold/hidden icon_state = "map" - level = PIPE_HIDDEN_LEVEL - alpha = 128 //set for the benefit of mapping - this is reset to opaque when the pipe is spawned in game + undertile = TRUE /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers name = "Scrubbers pipe manifold" diff --git a/code/modules/atmospheric/machinery/pipes/manifold4w.dm b/code/modules/atmospheric/machinery/pipes/manifold4w.dm index 4aef98101bd1..bb79d25e5e86 100644 --- a/code/modules/atmospheric/machinery/pipes/manifold4w.dm +++ b/code/modules/atmospheric/machinery/pipes/manifold4w.dm @@ -13,7 +13,6 @@ /obj/machinery/atmospherics/pipe/manifold4w/atom_init() . = ..() - alpha = 255 icon = null /obj/machinery/atmospherics/pipe/manifold4w/SetInitDirections() @@ -25,8 +24,6 @@ if(!check_icon_cache()) return - alpha = 255 - var/obj/machinery/atmospherics/node1 = NODE1 var/obj/machinery/atmospherics/node2 = NODE2 var/obj/machinery/atmospherics/node3 = NODE3 @@ -74,7 +71,7 @@ /obj/machinery/atmospherics/pipe/manifold4w/visible icon_state = "map_4way" - level = PIPE_VISIBLE_LEVEL + undertile = FALSE layer = GAS_PIPE_VISIBLE_LAYER /obj/machinery/atmospherics/pipe/manifold4w/visible/scrubbers @@ -117,8 +114,7 @@ /obj/machinery/atmospherics/pipe/manifold4w/hidden icon_state = "map_4way" - level = PIPE_HIDDEN_LEVEL - alpha = 128 //set for the benefit of mapping - this is reset to opaque when the pipe is spawned in game + undertile = TRUE /obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers name = "4-way scrubbers pipe manifold" diff --git a/code/modules/atmospheric/machinery/pipes/pipes.dm b/code/modules/atmospheric/machinery/pipes/pipes.dm index 486d6eb4e409..4336271f995a 100644 --- a/code/modules/atmospheric/machinery/pipes/pipes.dm +++ b/code/modules/atmospheric/machinery/pipes/pipes.dm @@ -12,10 +12,30 @@ var/alert_pressure = 170 * ONE_ATMOSPHERE + undertile = TRUE + +/* todo: need to add turf signals and make them work /obj/machinery/atmospherics/pipe/atom_init() - if(istype(get_turf(src), /turf/simulated/wall) || istype(get_turf(src), /turf/simulated/shuttle/wall) || istype(get_turf(src), /turf/unsimulated/wall)) - level = PIPE_HIDDEN_LEVEL - . = ..() + ..() + + check_force_hide() + RegisterSignal(loc, COMSIG_TURF_CHANGED, PROC_REF(check_force_hide)) + +// this shitty part exists only for /visible pipes, when unexpectedly we need to make them invisible under walls +// it has nothing to do with the component, and should be rewritten in the future +/obj/machinery/atmospherics/pipe/proc/check_force_hide() + SIGNAL_HANDLER + world.log << "[src] turf changed to [loc]" + if(!undertile) // for undertile it is already resolved by component + var/turf/T = get_turf(src) + if(T.density) + ADD_TRAIT(src, TRAIT_T_RAY_VISIBLE, REF(src)) + alpha = 128 + invisibility = INVISIBILITY_MAXIMUM + else + REMOVE_TRAIT(src, TRAIT_T_RAY_VISIBLE, REF(src)) + alpha = initial(alpha) + invisibility = initial(invisibility)*/ /obj/machinery/atmospherics/pipe/Destroy() if(SSair.stop_airnet_processing) @@ -39,8 +59,7 @@ parent = null /obj/machinery/atmospherics/pipe/atmos_init() - var/turf/T = loc - hide(!T.is_plating()) + update_icon() ..() /obj/machinery/atmospherics/pipe/nullifyNode(I) @@ -49,14 +68,6 @@ if(oldN) oldN.build_network() -/obj/machinery/atmospherics/pipe/hides_under_flooring() - return level != PIPE_VISIBLE_LEVEL - -/obj/machinery/atmospherics/pipe/hide(i) - if(level == PIPE_HIDDEN_LEVEL && istype(loc, /turf/simulated)) - invisibility = i ? INVISIBILITY_MAXIMUM : 0 - update_icon() - /obj/machinery/atmospherics/pipe/proc/check_pressure(pressure) //Return TRUE if parent should continue checking other pipes //Return null if parent should stop checking other pipes. Recall: qdel(src) will by default return null diff --git a/code/modules/atmospheric/machinery/pipes/simple.dm b/code/modules/atmospheric/machinery/pipes/simple.dm index f4b93f4518ee..936919447e7a 100644 --- a/code/modules/atmospheric/machinery/pipes/simple.dm +++ b/code/modules/atmospheric/machinery/pipes/simple.dm @@ -25,7 +25,6 @@ // Pipe colors and icon states are handled by an image cache - so color and icon should // be null. For mapping purposes color is defined in the object definitions. icon = null - alpha = 255 /obj/machinery/atmospherics/pipe/simple/SetInitDirections() if(dir in cornerdirs) @@ -84,8 +83,6 @@ if(!check_icon_cache()) return - alpha = 255 - cut_overlays() var/obj/machinery/atmospherics/node1 = NODE1 @@ -110,7 +107,7 @@ /obj/machinery/atmospherics/pipe/simple/visible icon_state = "intact" - level = PIPE_VISIBLE_LEVEL + undertile = FALSE layer = GAS_PIPE_VISIBLE_LAYER /obj/machinery/atmospherics/pipe/simple/visible/scrubbers @@ -156,8 +153,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden icon_state = "intact" - level = PIPE_HIDDEN_LEVEL - alpha = 128 //set for the benefit of mapping - this is reset to opaque when the pipe is spawned in game + undertile = TRUE /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers name = "Scrubbers pipe" diff --git a/code/modules/atmospheric/machinery/pipes/universal.dm b/code/modules/atmospheric/machinery/pipes/universal.dm index e6f051a0aa90..d998edd2f43c 100644 --- a/code/modules/atmospheric/machinery/pipes/universal.dm +++ b/code/modules/atmospheric/machinery/pipes/universal.dm @@ -9,8 +9,6 @@ if(!check_icon_cache()) return - alpha = 255 - cut_overlays() add_overlay(icon_manager.get_atmos_icon("pipe", , pipe_color, "universal")) underlays.Cut() @@ -35,8 +33,6 @@ ..() update_icon() - - /obj/machinery/atmospherics/pipe/simple/hidden/universal name = "Universal pipe adapter" desc = "An adapter for regular, supply and scrubbers pipes." @@ -47,8 +43,6 @@ if(!check_icon_cache()) return - alpha = 255 - cut_overlays() add_overlay(icon_manager.get_atmos_icon("pipe", , pipe_color, "universal")) underlays.Cut() @@ -98,7 +92,7 @@ /obj/machinery/atmospherics/proc/add_underlay_adapter(turf/T, obj/machinery/atmospherics/node, direction, icon_connect_type) // modified from add_underlay, does not make exposed underlays if(node) - if(!T.is_plating() && node.level == PIPE_HIDDEN_LEVEL && istype(node, /obj/machinery/atmospherics/pipe)) + if(T.underfloor_accessibility < UNDERFLOOR_VISIBLE && node.undertile && istype(node, /obj/machinery/atmospherics/pipe)) underlays += icon_manager.get_atmos_icon("underlay", direction, color_cache_name(node), "down" + icon_connect_type) else underlays += icon_manager.get_atmos_icon("underlay", direction, color_cache_name(node), "intact" + icon_connect_type) diff --git a/code/modules/client/client_procs.dm b/code/modules/client/client_procs.dm index 902f87c5ffc6..6c164339e57c 100644 --- a/code/modules/client/client_procs.dm +++ b/code/modules/client/client_procs.dm @@ -770,7 +770,6 @@ var/global/list/blacklisted_builds = list( if(!D?.key_bindings) return movement_keys = list() - var/list/communication_hotkeys = list() for(var/key in D.key_bindings) for(var/kb_name in D.key_bindings[key]) switch(kb_name) @@ -782,24 +781,6 @@ var/global/list/blacklisted_builds = list( movement_keys[key] = WEST if("South") movement_keys[key] = SOUTH - if("Say") - winset(src, "default-\ref[key]", "parent=default;name=[key];command=.say") // ".say" is wrapper over say, see in code\modules\mob\typing_indicator.dm - communication_hotkeys += key - if("OOC") - winset(src, "default-\ref[key]", "parent=default;name=[key];command=ooc") - communication_hotkeys += key - if("Me") - winset(src, "default-\ref[key]", "parent=default;name=[key];command=.me") - communication_hotkeys += key - if("LOOC") - winset(src, "default-\ref[key]", "parent=default;name=[key];command=looc") - communication_hotkeys += key - - // winget() does not work for F1 and F2 - for(var/key in communication_hotkeys) - if(!(key in list("F1","F2")) && !winget(src, "default-\ref[key]", "command")) - to_chat(src, "Вероятно Вы вошли в игру с русской раскладкой клавиатуры.\n<a href='?src=\ref[src];reset_macros=1'>Пожалуйста, переключитесь на английскую раскладку и кликните сюда, чтобы исправить хоткеи коммуникаций.</a>") - break #define MAXIMAZED (1<<0) #define FULLSCREEN (1<<1) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 8e11fe09656f..9b52dc069561 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -3,7 +3,7 @@ //This is the current version, anything below this will attempt to update (if it's not obsolete) -#define SAVEFILE_VERSION_MAX 48 +#define SAVEFILE_VERSION_MAX 49 //For repetitive updates, should be the same or below SAVEFILE_VERSION_MAX //set this to (current SAVEFILE_VERSION_MAX)+1 when you need to update: @@ -264,6 +264,12 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car if(current_version < 48) S["b_type"] << null + + if(current_version < 49) + if("Imposter" in be_role) + be_role -= "Imposter" + S["be_role"] << be_role + // /datum/preferences/proc/repetitive_updates_character(current_version, savefile/S) diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index 704258ab3e6f..a24c862713e0 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -71,7 +71,7 @@ name = "security gas mask" desc = "Стандартный противогаз охраны с модификацией Compli-o-nator 3000. Применяется для убеждения не двигаться, пока офицер забивает преступника насмерть." icon_state = "secmask" - item_state = "gas_alt" + item_state = "secmask" var/cooldown = 0 var/last_phrase_text = "" var/shitcurity_mode = FALSE diff --git a/code/modules/clothing/suits/wiz_robe.dm b/code/modules/clothing/suits/wiz_robe.dm index bc25b572e9ec..8b74a4b21f3b 100644 --- a/code/modules/clothing/suits/wiz_robe.dm +++ b/code/modules/clothing/suits/wiz_robe.dm @@ -182,7 +182,6 @@ permeability_coefficient = 0.01 armor = list(melee = 30, bullet = 10, laser = 10,energy = 20, bomb = 20, bio = 20, rad = 20) allowed = list(/obj/item/weapon/teleportation_scroll) - flags_inv = HIDEJUMPSUIT siemens_coefficient = 0.4 body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS @@ -242,7 +241,6 @@ icon_state = "holidaypriest" item_state = "holidaypriest" body_parts_covered = UPPER_TORSO|LOWER_TORSO|LEGS|ARMS - flags_inv = HIDEJUMPSUIT /obj/item/clothing/suit/wizrobe/serifcoat name = "serif coat" diff --git a/code/modules/europa/fluids/fluid_structures.dm b/code/modules/europa/fluids/fluid_structures.dm index 416966cb47d2..ae600fd87e16 100644 --- a/code/modules/europa/fluids/fluid_structures.dm +++ b/code/modules/europa/fluids/fluid_structures.dm @@ -15,6 +15,7 @@ var/global/list/gurgles = list( anchored = TRUE density = FALSE layer = TURF_LAYER+0.1 + plane = FLOOR_PLANE var/drainage = 0.5 var/last_gurgle = 0 var/welded diff --git a/code/modules/events/communications_blackout.dm b/code/modules/events/communications_blackout.dm index 9ac04cba661f..d4a0f0e68178 100644 --- a/code/modules/events/communications_blackout.dm +++ b/code/modules/events/communications_blackout.dm @@ -14,3 +14,10 @@ /datum/event/communications_blackout/start() for(var/obj/machinery/telecomms/T in telecomms_list) T.emplode(1) + +/datum/event/communications_blackout/traitor + announcement = new /datum/announcement/centcomm/comms_blackout_traitor + +/datum/event/communications_blackout/traitor/announce() + announcement.play() + diff --git a/code/modules/holodeck/HolodeckObjects.dm b/code/modules/holodeck/HolodeckObjects.dm index 2a97ce8e42c2..de5b6e25b6ab 100644 --- a/code/modules/holodeck/HolodeckObjects.dm +++ b/code/modules/holodeck/HolodeckObjects.dm @@ -14,6 +14,7 @@ return INITIALIZE_HINT_LATELOAD /turf/simulated/floor/holofloor/grass/atom_init_late() + ..() update_icon() for(var/direction in cardinal) if(istype(get_step(src,direction),/turf/simulated/floor)) diff --git a/code/modules/lighting/lighting_corner.dm b/code/modules/lighting/lighting_corner.dm index 75ac45bf13aa..51da19a11de1 100644 --- a/code/modules/lighting/lighting_corner.dm +++ b/code/modules/lighting/lighting_corner.dm @@ -2,17 +2,16 @@ // And corners get shared between multiple turfs (unless you're on the corners of the map, then 1 corner doesn't). // For the record: these should never ever ever be deleted, even if the turf doesn't have dynamic lighting. -// This list is what the code that assigns corners listens to, the order in this list is the order in which corners are added to the /turf/corners list. -var/global/list/LIGHTING_CORNER_DIAGONAL = list(NORTHEAST, SOUTHEAST, SOUTHWEST, NORTHWEST) - /datum/lighting_corner - var/list/turf/masters var/list/datum/light_source/affecting // Light sources affecting us. - var/active = FALSE // TRUE if one of our masters has dynamic lighting. var/x = 0 var/y = 0 - var/z = 0 + + var/turf/master_NE + var/turf/master_SE + var/turf/master_SW + var/turf/master_NW var/lum_r = 0 var/lum_g = 0 @@ -27,9 +26,7 @@ var/global/list/LIGHTING_CORNER_DIAGONAL = list(NORTHEAST, SOUTHEAST, SOUTHWEST, /datum/lighting_corner/New(turf/new_turf, diagonal) . = ..() - masters = list() - masters[new_turf] = turn(diagonal, 180) - z = new_turf.z + save_master(new_turf, turn(diagonal, 180)) var/vertical = diagonal & ~(diagonal - 1) // The horizontal directions (4 and 8) are bigger than the vertical ones (1 and 2), so we can reliably say the lsb is the horizontal direction. var/horizontal = diagonal & ~vertical // Now that we know the horizontal one we can get the vertical one. @@ -41,53 +38,52 @@ var/global/list/LIGHTING_CORNER_DIAGONAL = list(NORTHEAST, SOUTHEAST, SOUTHWEST, // Issue being that the only way I could think of doing it was very messy, slow and honestly overengineered. // So we'll have this hardcode instead. var/turf/T - var/i // Diagonal one is easy. T = get_step(new_turf, diagonal) if (T) // In case we're on the map's border. - if (!T.corners) - T.corners = list(null, null, null, null) - - masters[T] = diagonal - i = global.LIGHTING_CORNER_DIAGONAL.Find(turn(diagonal, 180)) - T.corners[i] = src + save_master(T, diagonal) // Now the horizontal one. T = get_step(new_turf, horizontal) if (T) // Ditto. - if (!T.corners) - T.corners = list(null, null, null, null) - - masters[T] = ((T.x > x) ? EAST : WEST) | ((T.y > y) ? NORTH : SOUTH) // Get the dir based on coordinates. - i = global.LIGHTING_CORNER_DIAGONAL.Find(turn(masters[T], 180)) - T.corners[i] = src + save_master(T, ((T.x > x) ? EAST : WEST) | ((T.y > y) ? NORTH : SOUTH)) // Get the dir based on coordinates. // And finally the vertical one. T = get_step(new_turf, vertical) if (T) - if (!T.corners) - T.corners = list(null, null, null, null) - - masters[T] = ((T.x > x) ? EAST : WEST) | ((T.y > y) ? NORTH : SOUTH) // Get the dir based on coordinates. - i = global.LIGHTING_CORNER_DIAGONAL.Find(turn(masters[T], 180)) - T.corners[i] = src - - update_active() - -/datum/lighting_corner/proc/update_active() - active = FALSE - var/turf/T - var/thing - for (thing in masters) - T = thing - if (T.lighting_object) - active = TRUE + save_master(T, ((T.x > x) ? EAST : WEST) | ((T.y > y) ? NORTH : SOUTH)) // Get the dir based on coordinates. + +/datum/lighting_corner/proc/save_master(turf/master, dir) + switch (dir) + if (NORTHEAST) + master_NE = master + master.lighting_corner_SW = src + if (SOUTHEAST) + master_SE = master + master.lighting_corner_NW = src + if (SOUTHWEST) + master_SW = master + master.lighting_corner_NE = src + if (NORTHWEST) + master_NW = master + master.lighting_corner_SE = src + +/datum/lighting_corner/proc/self_destruct_if_idle() + if (!length(affecting)) + qdel(src, force = TRUE) + +/datum/lighting_corner/proc/vis_update() + for (var/datum/light_source/light_source as anything in affecting) + light_source.vis_update() + +/datum/lighting_corner/proc/full_update() + for (var/datum/light_source/light_source as anything in affecting) + light_source.recalc_corner(src) // God that was a mess, now to do the rest of the corner code! Hooray! /datum/lighting_corner/proc/update_lumcount(delta_r, delta_g, delta_b) - - if ((abs(delta_r)+abs(delta_g)+abs(delta_b)) == 0) + if (!(delta_r || delta_g || delta_b)) // 0 is falsey ok return lum_r += delta_r @@ -96,10 +92,10 @@ var/global/list/LIGHTING_CORNER_DIAGONAL = list(NORTHEAST, SOUTHEAST, SOUTHWEST, if (!needs_update) needs_update = TRUE - global.lighting_update_corners += src + SSlighting.corners_queue += src /datum/lighting_corner/proc/update_objects() - // Cache these values a head of time so 4 individual lighting objects don't all calculate them individually. + // Cache these values ahead of time so 4 individual lighting objects don't all calculate them individually. var/lum_r = src.lum_r var/lum_g = src.lum_g var/lum_b = src.lum_b @@ -122,22 +118,52 @@ var/global/list/LIGHTING_CORNER_DIAGONAL = list(NORTHEAST, SOUTHEAST, SOUTHWEST, #endif cache_mx = round(mx, LIGHTING_ROUND_VALUE) - for (var/TT in masters) - var/turf/T = TT - if (T.lighting_object) - if (!T.lighting_object.needs_update) - T.lighting_object.needs_update = TRUE - global.lighting_update_objects += T.lighting_object - + var/atom/movable/lighting_object/lighting_object = master_NE?.lighting_object + if (lighting_object && !lighting_object.needs_update) + lighting_object.needs_update = TRUE + SSlighting.objects_queue += lighting_object + + lighting_object = master_SE?.lighting_object + if (lighting_object && !lighting_object.needs_update) + lighting_object.needs_update = TRUE + SSlighting.objects_queue += lighting_object + + lighting_object = master_SW?.lighting_object + if (lighting_object && !lighting_object.needs_update) + lighting_object.needs_update = TRUE + SSlighting.objects_queue += lighting_object + + lighting_object = master_NW?.lighting_object + if (lighting_object && !lighting_object.needs_update) + lighting_object.needs_update = TRUE + SSlighting.objects_queue += lighting_object + + self_destruct_if_idle() /datum/lighting_corner/dummy/New() return - /datum/lighting_corner/Destroy(force) if (!force) return QDEL_HINT_LETMELIVE - stack_trace("Ok, Look, /tg/, I need you to find whatever fucker decided to call qdel on a fucking lighting corner, then tell him very nicely and politely that he is 100% retarded and needs his head checked. Thanks. Send them my regards by the way.") + for (var/datum/light_source/light_source as anything in affecting) + LAZYREMOVE(light_source.effect_str, src) + affecting = null + + if (master_NE) + master_NE.lighting_corner_SW = null + master_NE.lighting_corners_initialised = FALSE + if (master_SE) + master_SE.lighting_corner_NW = null + master_SE.lighting_corners_initialised = FALSE + if (master_SW) + master_SW.lighting_corner_NE = null + master_SW.lighting_corners_initialised = FALSE + if (master_NW) + master_NW.lighting_corner_SE = null + master_NW.lighting_corners_initialised = FALSE + if (needs_update) + SSlighting.corners_queue -= src return ..() diff --git a/code/modules/lighting/lighting_object.dm b/code/modules/lighting/lighting_object.dm index 87684a836a63..5e40d75c1743 100644 --- a/code/modules/lighting/lighting_object.dm +++ b/code/modules/lighting/lighting_object.dm @@ -31,11 +31,11 @@ S.update_starlight() needs_update = TRUE - global.lighting_update_objects += src + SSlighting.objects_queue += src /atom/movable/lighting_object/Destroy(force) if (force) - global.lighting_update_objects -= src + SSlighting.objects_queue -= src if (loc != myturf) var/turf/oldturf = get_turf(myturf) var/turf/newturf = get_turf(loc) @@ -71,16 +71,10 @@ // See LIGHTING_CORNER_DIAGONAL in lighting_corner.dm for why these values are what they are. var/static/datum/lighting_corner/dummy/dummy_lighting_corner = new - var/list/corners = myturf.corners - var/datum/lighting_corner/cr = dummy_lighting_corner - var/datum/lighting_corner/cg = dummy_lighting_corner - var/datum/lighting_corner/cb = dummy_lighting_corner - var/datum/lighting_corner/ca = dummy_lighting_corner - if (corners) //done this way for speed - cr = corners[3] || dummy_lighting_corner - cg = corners[2] || dummy_lighting_corner - cb = corners[4] || dummy_lighting_corner - ca = corners[1] || dummy_lighting_corner + var/datum/lighting_corner/cr = myturf.lighting_corner_SW || dummy_lighting_corner + var/datum/lighting_corner/cg = myturf.lighting_corner_SE || dummy_lighting_corner + var/datum/lighting_corner/cb = myturf.lighting_corner_NW || dummy_lighting_corner + var/datum/lighting_corner/ca = myturf.lighting_corner_NE || dummy_lighting_corner var/max = max(cr.cache_mx, cg.cache_mx, cb.cache_mx, ca.cache_mx) diff --git a/code/modules/lighting/lighting_source.dm b/code/modules/lighting/lighting_source.dm index 523e08970161..147fe7a0851e 100644 --- a/code/modules/lighting/lighting_source.dm +++ b/code/modules/lighting/lighting_source.dm @@ -22,7 +22,6 @@ var/tmp/applied_lum_b var/list/datum/lighting_corner/effect_str // List used to store how much we're affecting corners. - var/list/turf/affecting_turfs var/applied = FALSE // Whether we have applied our light yet or not. @@ -43,12 +42,10 @@ light_range = source_atom.light_range light_color = source_atom.light_color - parse_light_color() + PARSE_LIGHT_COLOR(src) update() - return ..() - /datum/light_source/Destroy(force) remove_lum() @@ -60,7 +57,12 @@ LAZYREMOVE(top_atom.light_sources, src) if (needs_update) - global.lighting_update_lights -= src + SSlighting.sources_queue -= src + + top_atom = null + source_atom = null + source_turf = null + pixel_turf = null return ..() @@ -69,7 +71,7 @@ // Actually that'd be great if you could! #define EFFECT_UPDATE(level) \ if (needs_update == LIGHTING_NO_UPDATE) \ - global.lighting_update_lights += src; \ + SSlighting.sources_queue += src; \ if (needs_update < level) \ needs_update = level; \ @@ -96,17 +98,6 @@ /datum/light_source/proc/vis_update() EFFECT_UPDATE(LIGHTING_VIS_UPDATE) -// Decompile the hexadecimal colour into lumcounts of each perspective. -/datum/light_source/proc/parse_light_color() - if (light_color) - lum_r = GetRedPart (light_color) / 255 - lum_g = GetGreenPart (light_color) / 255 - lum_b = GetBluePart (light_color) / 255 - else - lum_r = 1 - lum_g = 1 - lum_b = 1 - // Macro that applies light to a new corner. // It is a macro in the interest of speed, yet not having to copy paste it. // If you're wondering what's with the backslashes, the backslashes cause BYOND to not automatically end the line. @@ -114,45 +105,34 @@ // The braces and semicolons are there to be able to do this on a single line. #define LUM_FALLOFF(C, T) (1 - CLAMP01(sqrt((C.x - T.x) ** 2 + (C.y - T.y) ** 2 + LIGHTING_HEIGHT) / max(1, light_range))) -#define APPLY_CORNER(C) \ - . = LUM_FALLOFF(C, pixel_turf); \ - . *= light_power; \ - var/OLD = effect_str[C]; \ - effect_str[C] = .; \ - \ - C.update_lumcount \ - ( \ - (. * lum_r) - (OLD * applied_lum_r), \ - (. * lum_g) - (OLD * applied_lum_g), \ - (. * lum_b) - (OLD * applied_lum_b) \ - ); - -#define REMOVE_CORNER(C) \ - . = -effect_str[C]; \ - C.update_lumcount \ - ( \ - . * applied_lum_r, \ - . * applied_lum_g, \ - . * applied_lum_b \ +#define APPLY_CORNER(C) \ + . = LUM_FALLOFF(C, pixel_turf); \ + . *= light_power; \ + var/OLD = effect_str[C]; \ + \ + C.update_lumcount \ + ( \ + (. * lum_r) - (OLD * applied_lum_r), \ + (. * lum_g) - (OLD * applied_lum_g), \ + (. * lum_b) - (OLD * applied_lum_b) \ + ); \ + +#define REMOVE_CORNER(C) \ + . = -effect_str[C]; \ + C.update_lumcount \ + ( \ + . * applied_lum_r, \ + . * applied_lum_g, \ + . * applied_lum_b \ ); // This is the define used to calculate falloff. /datum/light_source/proc/remove_lum() applied = FALSE - var/thing - for (thing in affecting_turfs) - var/turf/T = thing - LAZYREMOVE(T.affecting_lights, src) - - affecting_turfs = null - - var/datum/lighting_corner/C - for (thing in effect_str) - C = thing - REMOVE_CORNER(C) - - LAZYREMOVE(C.affecting, src) + for (var/datum/lighting_corner/corner as anything in effect_str) + REMOVE_CORNER(corner) + LAZYREMOVE(corner.affecting, src) effect_str = null @@ -163,7 +143,8 @@ effect_str[C] = 0 APPLY_CORNER(C) - UNSETEMPTY(effect_str) + effect_str[C] = . + /datum/light_source/proc/update_corners() var/update = FALSE @@ -214,7 +195,7 @@ if (source_atom.light_color != light_color) light_color = source_atom.light_color - parse_light_color() + PARSE_LIGHT_COLOR(src) update = TRUE else if (applied_lum_r != lum_r || applied_lum_g != lum_g || applied_lum_b != lum_b) @@ -230,71 +211,55 @@ var/list/datum/lighting_corner/corners = list() var/list/turf/turfs = list() - var/thing - var/datum/lighting_corner/C - var/turf/T + if (source_turf) var/oldlum = source_turf.luminosity source_turf.luminosity = CEILING(light_range, 1) - for(T in view(CEILING(light_range, 1), source_turf)) - for (thing in T.get_corners(source_turf)) - C = thing - corners[C] = 0 + for(var/turf/T in view(CEILING(light_range, 1), source_turf)) + if(!T.has_opaque_atom) + if (!T.lighting_corners_initialised) + T.generate_missing_corners() + corners[T.lighting_corner_NE] = 0 + corners[T.lighting_corner_SE] = 0 + corners[T.lighting_corner_SW] = 0 + corners[T.lighting_corner_NW] = 0 turfs += T source_turf.luminosity = oldlum - LAZYINITLIST(affecting_turfs) - var/list/L = turfs - affecting_turfs // New turfs, add us to the affecting lights of them. - affecting_turfs += L - for (thing in L) - T = thing - LAZYADD(T.affecting_lights, src) - - L = affecting_turfs - turfs // Now-gone turfs, remove us from the affecting lights. - affecting_turfs -= L - for (thing in L) - T = thing - LAZYREMOVE(T.affecting_lights, src) - + var/list/datum/lighting_corner/new_corners = (corners - effect_str) LAZYINITLIST(effect_str) if (needs_update == LIGHTING_VIS_UPDATE) - for (thing in corners - effect_str) // New corners - C = thing - LAZYADD(C.affecting, src) - if (!C.active) - effect_str[C] = 0 - continue - APPLY_CORNER(C) + for (var/datum/lighting_corner/corner as anything in new_corners) + APPLY_CORNER(corner) + if (. != 0) + LAZYADD(corner.affecting, src) + effect_str[corner] = . else - L = corners - effect_str - for (thing in L) // New corners - C = thing - LAZYADD(C.affecting, src) - if (!C.active) - effect_str[C] = 0 - continue - APPLY_CORNER(C) - - for (thing in corners - L) // Existing corners - C = thing - if (!C.active) - effect_str[C] = 0 - continue - APPLY_CORNER(C) - - L = effect_str - corners - for (thing in L) // Old, now gone, corners. - C = thing - REMOVE_CORNER(C) - LAZYREMOVE(C.affecting, src) - effect_str -= L + for (var/datum/lighting_corner/corner as anything in new_corners) + APPLY_CORNER(corner) + if (. != 0) + LAZYADD(corner.affecting, src) + effect_str[corner] = . + + for (var/datum/lighting_corner/corner as anything in corners - new_corners) // Existing corners + APPLY_CORNER(corner) + if (. != 0) + effect_str[corner] = . + else + LAZYREMOVE(corner.affecting, src) + effect_str -= corner + + var/list/datum/lighting_corner/gone_corners = effect_str - corners + for (var/datum/lighting_corner/corner as anything in gone_corners) + REMOVE_CORNER(corner) + LAZYREMOVE(corner.affecting, src) + effect_str -= gone_corners applied_lum_r = lum_r applied_lum_g = lum_g applied_lum_b = lum_b UNSETEMPTY(effect_str) - UNSETEMPTY(affecting_turfs) #undef EFFECT_UPDATE #undef LUM_FALLOFF diff --git a/code/modules/lighting/lighting_turf.dm b/code/modules/lighting/lighting_turf.dm index 2cf19f430993..f0416d4b71dc 100644 --- a/code/modules/lighting/lighting_turf.dm +++ b/code/modules/lighting/lighting_turf.dm @@ -1,35 +1,14 @@ -/turf - var/dynamic_lighting = TRUE - var/force_lighting_update = FALSE - luminosity = 1 - - var/tmp/lighting_corners_initialised = FALSE - - var/tmp/list/datum/light_source/affecting_lights // List of light sources affecting this turf. - var/tmp/atom/movable/lighting_object/lighting_object // Our lighting object. - var/tmp/list/datum/lighting_corner/corners - var/tmp/has_opaque_atom = FALSE // Not to be confused with opacity, this will be TRUE if there's any opaque atom on the tile. - // Causes any affecting light sources to be queued for a visibility update, for example a door got opened. /turf/proc/reconsider_lights() - var/datum/light_source/L - var/thing - for (thing in affecting_lights) - L = thing - L.vis_update() + lighting_corner_NE?.vis_update() + lighting_corner_SE?.vis_update() + lighting_corner_SW?.vis_update() + lighting_corner_NW?.vis_update() /turf/proc/lighting_clear_overlay() if (lighting_object) qdel(lighting_object, TRUE) - var/datum/lighting_corner/C - var/thing - for (thing in corners) - if(!thing) - continue - C = thing - C.update_active() - // Builds a lighting object for us, but only if our area is dynamic. /turf/proc/lighting_build_overlay() if (lighting_object) @@ -39,37 +18,28 @@ if (!IS_DYNAMIC_LIGHTING(A) && !light_sources) return - if (!lighting_corners_initialised) - generate_missing_corners() - new/atom/movable/lighting_object(src) - var/thing - var/datum/lighting_corner/C - var/datum/light_source/S - for (thing in corners) - if(!thing) - continue - C = thing - if (!C.active) // We would activate the corner, calculate the lighting for it. - for (thing in C.affecting) - S = thing - S.recalc_corner(C) - C.active = TRUE - // Used to get a scaled lumcount. /turf/proc/get_lumcount(minlum = 0, maxlum = 1) if (!lighting_object) return 1 var/totallums = 0 - var/thing var/datum/lighting_corner/L - for (thing in corners) - if(!thing) - continue - L = thing + L = lighting_corner_NE + if (L) + totallums += L.lum_r + L.lum_b + L.lum_g + L = lighting_corner_SE + if (L) totallums += L.lum_r + L.lum_b + L.lum_g + L = lighting_corner_SW + if (L) + totallums += L.lum_r + L.lum_b + L.lum_g + L = lighting_corner_NW + if (L) + totallums += L.lum_r + L.lum_b + L.lum_g + totallums /= 12 // 4 corners, each with 3 channels, get the average. @@ -104,28 +74,20 @@ else lighting_clear_overlay() -/turf/proc/get_corners() - if (!IS_DYNAMIC_LIGHTING(src) && !light_sources) - return null - if (!lighting_corners_initialised) - generate_missing_corners() - if (has_opaque_atom) - return null // Since this proc gets used in a for loop, null won't be looped though. - - return corners - /turf/proc/generate_missing_corners() - if (!IS_DYNAMIC_LIGHTING(src) && !light_sources) - return + if (!lighting_corner_NE) + lighting_corner_NE = new/datum/lighting_corner(src, NORTH|EAST) + + if (!lighting_corner_SE) + lighting_corner_SE = new/datum/lighting_corner(src, SOUTH|EAST) + + if (!lighting_corner_SW) + lighting_corner_SW = new/datum/lighting_corner(src, SOUTH|WEST) + + if (!lighting_corner_NW) + lighting_corner_NW = new/datum/lighting_corner(src, NORTH|WEST) + lighting_corners_initialised = TRUE - if (!corners) - corners = list(null, null, null, null) - - for (var/i = 1 to 4) - if (corners[i]) // Already have a corner on this direction. - continue - - corners[i] = new/datum/lighting_corner(src, global.LIGHTING_CORNER_DIAGONAL[i]) /turf/proc/set_dynamic_lighting(new_dynamic_lighting = DYNAMIC_LIGHTING_ENABLED) if (new_dynamic_lighting == dynamic_lighting) diff --git a/code/modules/locations/shuttles/bench.dm b/code/modules/locations/shuttles/bench.dm index ffeb52a2735e..22ab379283dc 100644 --- a/code/modules/locations/shuttles/bench.dm +++ b/code/modules/locations/shuttles/bench.dm @@ -1,27 +1,33 @@ -/obj/structure/stool/bed/chair/schair/wagon - name = "Shuttle Chair" - cases = list("кресло шаттла", "кресла шаттла", "креслу шаттла", "кресло шаттла", "креслом шаттла", "кресле шаттла") - desc = "Вы сидите на этом. Либо по своей воле, либо добровольно-принудительно." - icon = 'icons/locations/shuttles/bench.dmi' - icon_state = "chair" - -/obj/structure/stool/bed/chair/schair/wagon/bench +/obj/structure/stool/bed/bench name = "Bench" cases = list("лавка", "лавки", "лавке", "лавку", "лавкой", "лавке") desc = "Вы сидите на этом. Либо по своей воле, либо по принуждению." icon = 'icons/locations/shuttles/bench.dmi' icon_state = "bench_1" + buckle_lying = FALSE -/obj/structure/stool/bed/chair/schair/wagon/bench/atom_init() +/obj/structure/stool/bed/bench/atom_init() . = ..() - if(src.dir == NORTH) - src.layer = OBJ_LAYER - var/image/behind = image(src.icon, "[src.icon_state]_behind") + if(dir == NORTH) + layer = OBJ_LAYER + var/image/behind = image(icon, "[icon_state]_behind") behind.layer = FLY_LAYER add_overlay(behind) -/obj/structure/stool/bed/chair/schair/wagon/bench/atom_init_late() - return +/obj/structure/stool/bed/chair/schair/wagon + name = "Shuttle Chair" + cases = list("кресло шаттла", "кресла шаттла", "креслу шаттла", "кресло шаттла", "креслом шаттла", "кресле шаттла") + desc = "Вы сидите на этом. Либо по своей воле, либо добровольно-принудительно." + icon = 'icons/locations/shuttles/bench.dmi' + +/obj/structure/stool/bed/chair/schair/wagon/blue + icon_state = "chair_blue" + +/obj/structure/stool/bed/chair/schair/wagon/red + icon_state = "chair_red" + +/obj/structure/stool/bed/chair/schair/wagon/yellow + icon_state = "chair_yellow" -/obj/structure/stool/bed/chair/schair/wagon/bench/rotate() - return +/obj/structure/stool/bed/chair/schair/wagon/green + icon_state = "chair_green" diff --git a/code/modules/locations/shuttles/floor.dm b/code/modules/locations/shuttles/floor.dm index 705f853d42c4..17a21459a146 100644 --- a/code/modules/locations/shuttles/floor.dm +++ b/code/modules/locations/shuttles/floor.dm @@ -71,18 +71,3 @@ icon_state = "floor" nitrogen = 103.984 oxygen = 0 - -//Временный и очень грубый костыль для космоса, в шаттлконтроллере он не заменяется на движущийся. -//Скоро бэй обновит шаттлконтроллеры, там и сделаем по человечески. -//====== -//Привет! Как дела? -//====== -//Привет! Как дела? -// ===== -// Привет от транс депа! Как дела? -/turf/environment/space/shuttle - icon = 'icons/locations/shuttles/space.dmi' - icon_state = "1swall_s" - -/turf/environment/space/shuttle/New() - icon_state = "[rand(1,4)]swall_s" diff --git a/code/modules/mining/mine_turfs.dm b/code/modules/mining/mine_turfs.dm index 62b950111331..a4c70c319546 100644 --- a/code/modules/mining/mine_turfs.dm +++ b/code/modules/mining/mine_turfs.dm @@ -53,6 +53,7 @@ return . /turf/simulated/mineral/atom_init_late() + ..() MineralSpread() update_overlays() @@ -657,6 +658,7 @@ update_overlays() /turf/simulated/floor/plating/airless/asteroid/atom_init_late() + ..() update_overlays() /turf/simulated/floor/plating/airless/asteroid/ex_act(severity) diff --git a/code/modules/mining/satchel_ore_boxdm.dm b/code/modules/mining/satchel_ore_boxdm.dm index 9e388bd73943..6b0317d9b69e 100644 --- a/code/modules/mining/satchel_ore_boxdm.dm +++ b/code/modules/mining/satchel_ore_boxdm.dm @@ -35,7 +35,7 @@ /obj/structure/ore_box/proc/dump_box_contents() for(var/obj/item/weapon/ore/O as anything in contents) - O.Move(loc) + O.forceMove(loc) /obj/structure/ore_box/deconstruct(disassembled) dump_box_contents() diff --git a/code/modules/mob/living/silicon/robot/drone/drone_items.dm b/code/modules/mob/living/silicon/robot/drone/drone_items.dm index 9b79abae4842..794cac7c6a9b 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_items.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_items.dm @@ -167,6 +167,7 @@ icon_state = "gripper" can_hold = list( + /obj/item/bluespace_crystal, /obj/item/weapon/tank, /obj/item/device/assembly/signaler, /obj/item/device/gps, diff --git a/code/modules/mob/typing_indicator.dm b/code/modules/mob/typing_indicator.dm index e766fcda23bc..50857fd84b59 100644 --- a/code/modules/mob/typing_indicator.dm +++ b/code/modules/mob/typing_indicator.dm @@ -12,23 +12,3 @@ else vis_contents -= typing_indicator typing = FALSE - -/mob/verb/say_wrapper() - set name = ".Say" - set hidden = TRUE - - set_typing_indicator(TRUE) - var/message = input("","say (text)") as text|null - if(message) - say_verb(message) - set_typing_indicator(FALSE) - -/mob/verb/emote_wrapper() - set name = ".Me" - set hidden = TRUE - - set_typing_indicator(TRUE) - var/message = input("","me (text)") as text|null - if(message) - me_verb(message) - set_typing_indicator(FALSE) diff --git a/code/modules/organs/external/flesh.dm b/code/modules/organs/external/flesh.dm index a855b28b351c..5a0efe18a24d 100644 --- a/code/modules/organs/external/flesh.dm +++ b/code/modules/organs/external/flesh.dm @@ -616,7 +616,7 @@ Note that amputating the affected organ does in fact remove the infection from t playsound(BP.owner, pick(SOUNDIN_BONEBREAK), VOL_EFFECTS_MASTER, null, FALSE, null, -2) BP.status |= ORGAN_BROKEN - BP.broken_description = pick("broken", "fracture", "hairline fracture") + BP.broken_description = pick("перелом", "трещина") BP.perma_injury = BP.brute_dam // Fractures have a chance of getting you out of restraints diff --git a/code/modules/organs/external/stump.dm b/code/modules/organs/external/stump.dm index 47ae7611eede..ec4d835b1887 100644 --- a/code/modules/organs/external/stump.dm +++ b/code/modules/organs/external/stump.dm @@ -1,6 +1,7 @@ // Appears when you cut away limbs non-cleany, causes pain /obj/item/organ/external/stump name = "limb stump" + cases = list("культя", "культи", "культе", "культю", "культей", "культе") icon_state = "" is_stump = TRUE @@ -9,6 +10,11 @@ /obj/item/organ/external/stump/proc/copy_original_limb(obj/item/organ/external/limb) name = "[limb.is_robotic() ? "mechanical " : ""]stump of \a [limb.name]" + cases = list( + "культя [CASE(limb, GENITIVE_CASE)]", "культи [CASE(limb, GENITIVE_CASE)]", + "культе [CASE(limb, GENITIVE_CASE)]", "культю [CASE(limb, GENITIVE_CASE)]", + "культей [CASE(limb, GENITIVE_CASE)]", "культе [CASE(limb, GENITIVE_CASE)]" + ) limb_layer = limb.limb_layer body_part = limb.body_part body_zone = limb.body_zone diff --git a/code/modules/power/apc.dm b/code/modules/power/apc.dm index 1d972026f123..aca933d4ae7d 100644 --- a/code/modules/power/apc.dm +++ b/code/modules/power/apc.dm @@ -554,7 +554,7 @@ else if(iscoil(W) && !terminal && opened != APC_COVER_CLOSED && has_electronics != 2) var/turf/TT = get_turf(src) - if(TT.intact) + if(TT.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "<span class='warning'>You must remove the floor plating in front of the APC first.</span>") return var/obj/item/stack/cable_coil/C = W diff --git a/code/modules/power/cable.dm b/code/modules/power/cable.dm index 8e88a0af8d1e..481399ff9db8 100644 --- a/code/modules/power/cable.dm +++ b/code/modules/power/cable.dm @@ -23,7 +23,6 @@ By design, d1 is the smallest direction and d2 is the highest // the power cable object /obj/structure/cable - level = 1 //is underfloor anchored =1 var/datum/powernet/powernet name = "power cable" @@ -32,7 +31,7 @@ By design, d1 is the smallest direction and d2 is the highest icon_state = "0-1" var/d1 = 0 // cable direction 1 (see above) var/d2 = 1 // cable direction 2 (see above) - layer = 2.44 //Just below unary stuff, which is at 2.45 and above pipes, which are at 2.4 + layer = POWER_CABLES color = COLOR_RED max_integrity = 5 resistance_flags = CAN_BE_HIT @@ -68,13 +67,10 @@ By design, d1 is the smallest direction and d2 is the highest d2 = text2num(copytext(icon_state, dash+1)) - var/turf/T = src.loc // hide if turf is not intact - - if(level==1) - hide(T.intact) cable_list += src //add it to the global cable list update_icon() + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) /obj/structure/cable/Destroy() // called when a cable is deleted if(SSmachines.stop_powernet_processing) @@ -88,16 +84,8 @@ By design, d1 is the smallest direction and d2 is the highest // General procedures /////////////////////////////////// -//If underfloor, hide the cable -/obj/structure/cable/hide(i) - if(level == 1 && istype(loc, /turf)) - invisibility = i ? 101 : 0 - updateicon() - -/obj/structure/cable/proc/updateicon() +/obj/structure/cable/update_icon() icon_state = "[d1]-[d2]" - alpha = invisibility ? 127 : 255 - // returns the powernet this cable belongs to /obj/structure/cable/proc/get_powernet() //TODO: remove this as it is obsolete @@ -132,7 +120,7 @@ By design, d1 is the smallest direction and d2 is the highest /obj/structure/cable/attackby(obj/item/W, mob/user) var/turf/T = src.loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return if(iscutter(W)) @@ -528,7 +516,7 @@ By design, d1 is the smallest direction and d2 is the highest to_chat(user, "<span class='warning'>You can't lay cable at a place that far away.</span>") return - if(F.intact) // if floor is intact, complain + if(F.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) // if floor is intact, complain to_chat(user, "<span class='warning'>You can't lay cable there unless the floor tiles are removed.</span>") return @@ -553,7 +541,7 @@ By design, d1 is the smallest direction and d2 is the highest C.d1 = 0 //it's a O-X node cable C.d2 = dirn C.add_fingerprint(user) - C.updateicon() + C.update_icon() //create a new powernet with the cable, if needed it will be merged later var/datum/powernet/PN = new @@ -577,7 +565,7 @@ By design, d1 is the smallest direction and d2 is the highest var/turf/T = C.loc - if(!isturf(T) || T.intact) // sanity checks, also stop use interacting with T-scanner revealed cable + if(!isturf(T) || T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) // sanity checks, also stop use interacting with T-scanner revealed cable return if(get_dist(C, user) > 1) // make sure it's close enough @@ -592,7 +580,7 @@ By design, d1 is the smallest direction and d2 is the highest // one end of the clicked cable is pointing towards us if(C.d1 == dirn || C.d2 == dirn) - if(U.intact) // can't place a cable if the floor is complete + if(U.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "<span class='warning'>You can't lay cable there unless the floor tiles are removed.</span>") return else @@ -614,7 +602,7 @@ By design, d1 is the smallest direction and d2 is the highest NC.d1 = 0 NC.d2 = fdirn NC.add_fingerprint() - NC.updateicon() + NC.update_icon() //create a new powernet with the cable, if needed it will be merged later var/datum/powernet/newPN = new() @@ -657,7 +645,7 @@ By design, d1 is the smallest direction and d2 is the highest C.d2 = nd2 C.add_fingerprint() - C.updateicon() + C.update_icon() C.mergeConnectedNetworks(C.d1) //merge the powernets... C.mergeConnectedNetworks(C.d2) //...in the two new cable directions diff --git a/code/modules/power/cable_heavyduty.dm b/code/modules/power/cable_heavyduty.dm index 0b90c3defad7..9f59ce7303d3 100644 --- a/code/modules/power/cable_heavyduty.dm +++ b/code/modules/power/cable_heavyduty.dm @@ -7,12 +7,12 @@ icon = 'icons/obj/power_cond_heavy.dmi' name = "large power cable" desc = "This cable is tough. It cannot be cut with simple hand tools." - layer = 2.39 //Just below pipes, which are at 2.4 + layer = POWER_CABLES_HEAVY /obj/structure/cable/heavyduty/attackby(obj/item/W, mob/user) var/turf/T = src.loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return if(iscutter(W)) diff --git a/code/modules/power/fusion/core/core_field.dm b/code/modules/power/fusion/core/core_field.dm index 8ffdca62e197..8560bc4ad78d 100644 --- a/code/modules/power/fusion/core/core_field.dm +++ b/code/modules/power/fusion/core/core_field.dm @@ -9,7 +9,7 @@ icon = 'icons/obj/machines/power/fusion.dmi' icon_state = "emfield_s1" alpha = 50 - layer = 4 + layer = MOB_LAYER // idk why light_color = COLOR_BLUE plane = LIGHTING_LAMPS_PLANE anchored = TRUE diff --git a/code/modules/power/fusion/fuel_assembly/fuel_assembly.dm b/code/modules/power/fusion/fuel_assembly/fuel_assembly.dm index df57a10ef4b5..bd622f452827 100644 --- a/code/modules/power/fusion/fuel_assembly/fuel_assembly.dm +++ b/code/modules/power/fusion/fuel_assembly/fuel_assembly.dm @@ -2,7 +2,7 @@ name = "fuel rod assembly" icon = 'icons/obj/machines/power/fusion.dmi' icon_state = "fuel_assembly" - layer = 4 + layer = MOB_LAYER // idk why var/percent_depleted = 1 var/list/rod_quantities = list() diff --git a/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm b/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm index 963d182281f3..bff21bab96df 100644 --- a/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm +++ b/code/modules/power/fusion/fuel_assembly/fuel_compressor.dm @@ -4,7 +4,7 @@ icon_state = "fuel_compressor1" density = TRUE anchored = TRUE - layer = 4 + layer = MOB_LAYER // idk why /obj/machinery/fusion_fuel_compressor/MouseDrop_T(atom/movable/target, mob/user) if(user.incapacitated()) diff --git a/code/modules/power/power.dm b/code/modules/power/power.dm index c17497a937d5..0c7a6b09ae4c 100644 --- a/code/modules/power/power.dm +++ b/code/modules/power/power.dm @@ -150,7 +150,7 @@ var/turf/T = user.loc - if(T.intact || !isfloorturf(T)) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE || !isfloorturf(T)) return if(!Adjacent(user)) diff --git a/code/modules/power/smes.dm b/code/modules/power/smes.dm index 4010093750d1..5882aeb30f8a 100644 --- a/code/modules/power/smes.dm +++ b/code/modules/power/smes.dm @@ -164,7 +164,7 @@ return var/turf/T = get_turf(user) - if(T.intact) // is the floor plating removed ? + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "<span class='warning'>You must first remove the floor plating!</span>") return diff --git a/code/modules/power/terminal.dm b/code/modules/power/terminal.dm index 4035ad3b3304..69d2b524c9c5 100644 --- a/code/modules/power/terminal.dm +++ b/code/modules/power/terminal.dm @@ -7,33 +7,21 @@ name = "terminal" icon_state = "term" desc = "It's an underfloor wiring terminal for power equipment." - level = 1 layer = TURF_LAYER var/obj/machinery/power/master = null anchored = TRUE - layer = 2.6 // a bit above wires - + layer = POWER_TERMINAL /obj/machinery/power/terminal/atom_init() . = ..() - var/turf/T = src.loc - if(level == 1) - hide(T.intact) + + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) /obj/machinery/power/terminal/Destroy() if(master) master.disconnect_terminal() return ..() -/obj/machinery/power/terminal/hide(i) - if(i) - invisibility = 101 - icon_state = "term-f" - else - invisibility = 0 - icon_state = "term" - - /obj/machinery/power/proc/can_terminal_dismantle() . = 0 @@ -51,7 +39,7 @@ /obj/machinery/power/terminal/proc/dismantle(mob/living/user) if(istype(loc, /turf/simulated)) var/turf/simulated/T = loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "<span class='alert'>You must first expose the power terminal!</span>") return diff --git a/code/modules/reagents/reagent_containers/food/condiment.dm b/code/modules/reagents/reagent_containers/food/condiment.dm index ef51fa1ac380..c3d671e9d791 100644 --- a/code/modules/reagents/reagent_containers/food/condiment.dm +++ b/code/modules/reagents/reagent_containers/food/condiment.dm @@ -302,6 +302,7 @@ name = "soy sauce" desc = "A salty soy-based flavoring." icon_state = "soysauce" + item_state = "soysauce" emptystate = null list_reagents = list("soysauce" = 40) @@ -309,6 +310,7 @@ name = "hot sauce" desc = "You can almost TASTE the stomach ulcers now!" icon_state = "hotsauce" + item_state = "hotsauce" emptystate = null list_reagents = list("capsaicin" = 30) @@ -316,6 +318,7 @@ name = "ketchup" desc = "You feel more American already." icon_state = "ketchup" + item_state = "ketchup" emptystate = "ketchup" list_reagents = list("ketchup" = 50) @@ -323,6 +326,7 @@ name = "cold sauce" desc = "Leaves the tongue numb in its passage." icon_state = "coldsauce" + item_state = "coldsauce" emptystate = null list_reagents = list("frostoil" = 30) @@ -330,6 +334,8 @@ name = "corn oil" desc = "A delicious oil used in cooking. Made from corn." icon_state = "cornoil" + item_state = "cornoil" + emptystate = null list_reagents = list("cornoil" = 40) // SUPPLEMENTS @@ -346,6 +352,7 @@ name = "salt shaker" desc = "Salt. From space oceans, presumably." icon_state = "saltshakersmall" + item_state = "saltshakersmall" emptystate = "saltshakersmall" possible_transfer_amounts = list(1,20) // for the clown turning the lid off amount_per_transfer_from_this = 1 @@ -356,6 +363,7 @@ name = "pepper mill" desc = "Often used to flavor food or make people sneeze." icon_state = "peppermillsmall" + item_state = "peppermillsmall" emptystate = null possible_transfer_amounts = list(1,20) // for the clown turning the lid off amount_per_transfer_from_this = 1 @@ -366,5 +374,6 @@ name = "honey pot" desc = "Sweet and healthy!" icon_state = "honey" + item_state = "honey" emptystate = null list_reagents = list("honey" = 40) diff --git a/code/modules/recycling/disposal-construction.dm b/code/modules/recycling/disposal-construction.dm index c943e1bca5c8..2fb95d61f267 100644 --- a/code/modules/recycling/disposal-construction.dm +++ b/code/modules/recycling/disposal-construction.dm @@ -10,7 +10,6 @@ anchored = FALSE density = FALSE m_amt = 1850 - level = 2 resistance_flags = CAN_BE_HIT var/ptype = 0 // 0=straight, 1=bent, 2=junction-j1, 3=junction-j2, 4=junction-y, 5=trunk, 6=disposal bin, 7=outlet, 8=inlet @@ -80,16 +79,6 @@ else icon_state = base_state - if(invisibility) // if invisible, fade icon - alpha = 128 - - // hide called by levelupdate if turf intact status changes - // change visibility status and force update of icon -/obj/structure/disposalconstruct/hide(intact) - invisibility = (intact && level==1) ? 101: 0 // hide if floor is intact - update() - - // flip and rotate verbs /obj/structure/disposalconstruct/verb/rotate() set category = "Object" @@ -163,7 +152,7 @@ /obj/structure/disposalconstruct/attackby(obj/item/I, mob/user) var/nicetype = "pipe" - var/ispipe = 0 // Indicates if we should change the level of this pipe + var/ispipe = 0 // Indicates if we should use undertile element add_fingerprint(user) switch(ptype) if(6) @@ -186,7 +175,7 @@ ispipe = 1 var/turf/T = src.loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) to_chat(user, "You can only attach the [nicetype] if the floor plating is removed.") return @@ -212,22 +201,19 @@ if(iswrenching(I)) + anchored = !anchored + if(anchored) - anchored = FALSE if(ispipe) - level = 2 density = FALSE - else - density = TRUE - to_chat(user, "You detach the [nicetype] from the underfloor.") + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) + to_chat(user, "You attach the [nicetype] to the underfloor.") else - anchored = TRUE if(ispipe) - level = 1 // We don't want disposal bins to disappear under the floors - density = FALSE - else - density = TRUE // We don't want disposal bins or outlets to go density 0 - to_chat(user, "You attach the [nicetype] to the underfloor.") + density = TRUE + RemoveElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) + to_chat(user, "You detach the [nicetype] from the underfloor.") + playsound(src, 'sound/items/Ratchet.ogg', VOL_EFFECTS_MASTER) update() @@ -245,10 +231,9 @@ var/pipetype = dpipetype() var/obj/structure/disposalpipe/P = new pipetype(src.loc) transfer_fingerprints_to(P) - P.base_icon_state = base_state + P.icon_state = base_state P.set_dir(dir) P.dpdir = dpdir - P.updateicon() //Needs some special treatment ;) if(ptype==9 || ptype==10) diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 35707d1663b8..fe273409daf7 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -731,17 +731,16 @@ anchored = TRUE density = FALSE - level = 1 // underfloor only var/dpdir = 0 // bitmask of pipe directions dir = 0 // dir will contain dominant direction for junction pipes max_integrity = 200 layer = 2.3 // slightly lower than wires and other pipes - var/base_icon_state // initial icon state on map // new pipe, set the icon_state as on map /obj/structure/disposalpipe/atom_init() . = ..() - base_icon_state = icon_state + + AddElement(/datum/element/undertile, TRAIT_T_RAY_VISIBLE, use_alpha = TRUE) // pipe is deleted // ensure if holder is present, it is expelled @@ -793,30 +792,6 @@ return P - -// update the icon_state to reflect hidden status -/obj/structure/disposalpipe/proc/update() - var/turf/T = src.loc - hide(T.intact && !isenvironmentturf(T)) // environment never hides pipes - -// hide called by levelupdate if turf intact status changes -// change visibility status and force update of icon -/obj/structure/disposalpipe/hide(intact) - invisibility = intact ? 101: 0 // hide if floor is intact - updateicon() - -// update actual icon_state depending on visibility -// if invisible, append "f" to icon_state to show faded version -// this will be revealed if a T-scanner is used -// if visible, use regular icon_state -/obj/structure/disposalpipe/proc/updateicon() - if(invisibility) - icon_state = "[base_icon_state]f" - else - icon_state = base_icon_state - return - - // expel the held objects into a turf // called when there is a break in the pipe // @@ -833,13 +808,11 @@ AM.pipe_eject(0) qdel(H) return - if(T.intact && isfloorturf(T)) //intact floor, pop the tile + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE && isfloorturf(T)) //intact floor, pop the tile var/turf/simulated/floor/F = T - F.burnt = 1 - F.intact = 0 - F.levelupdate() - new F.floor_type(H) // add to holder so it will be thrown with other stuff - F.icon_state = "Floor[F.burnt ? "1" : ""]" + if(F.floor_type) + new F.floor_type(H) // add cap to holder so it will be thrown with other stuff + F.break_tile_to_plating() var/turf/target playsound(src, 'sound/machines/hiss.ogg', VOL_EFFECTS_MASTER, null, FALSE) @@ -889,7 +862,7 @@ /obj/structure/disposalpipe/attackby(obj/item/I, mob/user) var/turf/T = src.loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return // prevent interaction with T-scanner revealed pipes add_fingerprint(user) if(user.is_busy()) return @@ -912,7 +885,7 @@ /obj/structure/disposalpipe/proc/welded() var/obj/structure/disposalconstruct/C = new (src.loc) - switch(base_icon_state) + switch(icon_state) if("pipe-s") C.ptype = 0 if("pipe-c") @@ -937,7 +910,6 @@ C.set_dir(dir) C.density = FALSE C.anchored = TRUE - C.update() qdel(src) @@ -957,8 +929,6 @@ else dpdir = dir | turn(dir, -90) - update() - //a three-way junction with dir being the dominant direction /obj/structure/disposalpipe/junction icon_state = "pipe-j1" @@ -971,8 +941,6 @@ dpdir = dir | turn(dir, 90) | turn(dir,180) else // pipe-y dpdir = dir | turn(dir,90) | turn(dir, -90) - update() - // next direction to move // if coming in from secondary dirs, then next is primary dir @@ -1027,7 +995,6 @@ tagger_locations |= sort_tag updatename() updatedesc() - update() /obj/structure/disposalpipe/tagger/attackby(obj/item/I, mob/user) if(..()) @@ -1064,7 +1031,6 @@ /obj/structure/disposalpipe/shop_scanner/atom_init() . = ..() dpdir = dir | turn(dir, 180) - update() /obj/structure/disposalpipe/shop_scanner/nextdir(fromdir) return dir @@ -1216,7 +1182,6 @@ updatedir() updatename() updatedesc() - update() /obj/structure/disposalpipe/sortjunction/attackby(obj/item/I, mob/user) if(..()) @@ -1308,7 +1273,6 @@ /obj/structure/disposalpipe/trunk/atom_init() ..() dpdir = dir - update() return INITIALIZE_HINT_LATELOAD /obj/structure/disposalpipe/trunk/atom_init_late() @@ -1326,7 +1290,6 @@ if(O) linked = O - update() return // Override attackby so we disallow trunkremoval when somethings ontop @@ -1351,7 +1314,7 @@ return var/turf/T = src.loc - if(T.intact) + if(T.underfloor_accessibility < UNDERFLOOR_INTERACTABLE) return // prevent interaction with T-scanner revealed pipes add_fingerprint(user) if(iswelding(I)) @@ -1404,10 +1367,6 @@ // i.e. will be treated as an empty turf desc = "A broken piece of disposal pipe." -/obj/structure/disposalpipe/broken/atom_init() - . = ..() - update() - /obj/structure/disposalpipe/broken/deconstruct() qdel(src) diff --git a/code/modules/research/xenoarchaeology/tools/tools_locater.dm b/code/modules/research/xenoarchaeology/tools/tools_locater.dm index 2598a478204e..73d307174109 100644 --- a/code/modules/research/xenoarchaeology/tools/tools_locater.dm +++ b/code/modules/research/xenoarchaeology/tools/tools_locater.dm @@ -43,11 +43,12 @@ //scan radios in the world to try and find one var/cur_dist = 999 for(var/obj/item/device/radio/beacon/R in radio_beacon_list) - if(R.z == src.z && R.frequency == src.frequency) - var/check_dist = get_dist(src,R) + var/turf/loc = get_turf(R) + if(loc.z == src.z && R.frequency == src.frequency) + var/check_dist = get_dist(src,loc) if(check_dist < cur_dist) cur_dist = check_dist - target_radio = R + target_radio = loc scan_ticks = 0 var/turf/T = get_turf(src) diff --git a/icons/locations/shuttles/bench.dmi b/icons/locations/shuttles/bench.dmi index 5e31b928b23d..de76c8efbaac 100644 Binary files a/icons/locations/shuttles/bench.dmi and b/icons/locations/shuttles/bench.dmi differ diff --git a/icons/locations/shuttles/space.dmi b/icons/locations/shuttles/space.dmi deleted file mode 100644 index 9c6a0140d865..000000000000 Binary files a/icons/locations/shuttles/space.dmi and /dev/null differ diff --git a/icons/minimap.dmi b/icons/minimap.dmi deleted file mode 100644 index 26aecb84b96f..000000000000 Binary files a/icons/minimap.dmi and /dev/null differ diff --git a/icons/misc/largeui.dmi b/icons/misc/largeui.dmi deleted file mode 100644 index 24a89b85175a..000000000000 Binary files a/icons/misc/largeui.dmi and /dev/null differ diff --git a/icons/mob/head.dmi b/icons/mob/head.dmi index 025a0780e903..f74c13eb3788 100644 Binary files a/icons/mob/head.dmi and b/icons/mob/head.dmi differ diff --git a/icons/obj/bloodpack.dmi b/icons/obj/bloodpack.dmi index 1d403bd506ee..afd95f6dba5b 100644 Binary files a/icons/obj/bloodpack.dmi and b/icons/obj/bloodpack.dmi differ diff --git a/icons/obj/clothing/hats.dmi b/icons/obj/clothing/hats.dmi index 9ecd62a49d94..98ef9fb9e8df 100644 Binary files a/icons/obj/clothing/hats.dmi and b/icons/obj/clothing/hats.dmi differ diff --git a/icons/obj/clothing/masks.dmi b/icons/obj/clothing/masks.dmi index 622a5dd496d7..7bd2c68bcde1 100644 Binary files a/icons/obj/clothing/masks.dmi and b/icons/obj/clothing/masks.dmi differ diff --git a/icons/obj/clothing/shoes.dmi b/icons/obj/clothing/shoes.dmi index 3b24a059b799..86e901266d19 100644 Binary files a/icons/obj/clothing/shoes.dmi and b/icons/obj/clothing/shoes.dmi differ diff --git a/icons/obj/doors/doorint.dmi b/icons/obj/doors/doorint.dmi deleted file mode 100644 index 72809675c909..000000000000 Binary files a/icons/obj/doors/doorint.dmi and /dev/null differ diff --git a/icons/obj/items.dmi b/icons/obj/items.dmi index e8bd73d36446..0ded1b5d5dcd 100644 Binary files a/icons/obj/items.dmi and b/icons/obj/items.dmi differ diff --git a/icons/obj/mainframe.dmi b/icons/obj/mainframe.dmi deleted file mode 100644 index aaf6f934b6a6..000000000000 Binary files a/icons/obj/mainframe.dmi and /dev/null differ diff --git a/icons/obj/mining.dmi b/icons/obj/mining.dmi index 9b0bb3bc8a6b..d6878591cccc 100644 Binary files a/icons/obj/mining.dmi and b/icons/obj/mining.dmi differ diff --git a/icons/obj/mining/geoscanner.dmi b/icons/obj/mining/geoscanner.dmi index 9cdf1cd4364b..e69b77fce012 100644 Binary files a/icons/obj/mining/geoscanner.dmi and b/icons/obj/mining/geoscanner.dmi differ diff --git a/icons/obj/objects.dmi b/icons/obj/objects.dmi index fa4445176041..6be6537dd580 100644 Binary files a/icons/obj/objects.dmi and b/icons/obj/objects.dmi differ diff --git a/icons/obj/pipes/disposal.dmi b/icons/obj/pipes/disposal.dmi index e1ffd0a8b376..9573fc56ae70 100644 Binary files a/icons/obj/pipes/disposal.dmi and b/icons/obj/pipes/disposal.dmi differ diff --git a/icons/obj/radio.dmi b/icons/obj/radio.dmi index 9c2b9c3b25cf..e2455360b195 100644 Binary files a/icons/obj/radio.dmi and b/icons/obj/radio.dmi differ diff --git a/icons/obj/storage.dmi b/icons/obj/storage.dmi index adb486bc657b..ccc164e4c89b 100644 Binary files a/icons/obj/storage.dmi and b/icons/obj/storage.dmi differ diff --git a/icons/ss13_32.png b/icons/ss13_32.png deleted file mode 100644 index 1a6414d4b026..000000000000 Binary files a/icons/ss13_32.png and /dev/null differ diff --git a/icons/turf/floors/grid_plating.dmi b/icons/turf/floors/grid_plating.dmi new file mode 100644 index 000000000000..a0dfba9b051a Binary files /dev/null and b/icons/turf/floors/grid_plating.dmi differ diff --git a/icons/turf/walls/fakeglass.dmi b/icons/turf/walls/fakeglass.dmi deleted file mode 100644 index f26c54c74121..000000000000 Binary files a/icons/turf/walls/fakeglass.dmi and /dev/null differ diff --git a/maps/RandomZLevels/wildwest.dmm b/maps/RandomZLevels/wildwest.dmm index 3183f1908eff..f7429d09643d 100644 --- a/maps/RandomZLevels/wildwest.dmm +++ b/maps/RandomZLevels/wildwest.dmm @@ -830,7 +830,7 @@ /turf/simulated/floor/wood, /area/awaymission/wildwest/mines) "cZ" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 8 }, /turf/simulated/floor/wood, @@ -1026,7 +1026,7 @@ /turf/simulated/floor/carpet, /area/awaymission/wildwest/mines) "dK" = ( -/obj/structure/stool/bed/chair/comfy/beige, +/obj/structure/stool/bed/chair/comfy/white, /turf/simulated/floor/carpet, /area/awaymission/wildwest/mines) "dL" = ( @@ -1088,7 +1088,7 @@ }, /area/awaymission/wildwest/mines) "dX" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /turf/simulated/floor/carpet, @@ -1114,7 +1114,7 @@ /turf/simulated/floor/carpet, /area/awaymission/wildwest/mines) "ec" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /turf/simulated/floor/carpet, @@ -1309,7 +1309,7 @@ /turf/simulated/floor/carpet, /area/awaymission/wildwest/mines) "eH" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/effect/decal/cleanable/blood/gibs/body{ @@ -1382,7 +1382,7 @@ /turf/simulated/floor/wood, /area/awaymission/wildwest/mines) "eU" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 1; icon_state = "comfychair_beige" }, @@ -1542,7 +1542,7 @@ /turf/simulated/wall/mineral/sandstone, /area/awaymission/wildwest/mines) "fu" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /turf/simulated/floor/wood, @@ -1844,7 +1844,7 @@ /turf/simulated/floor/wood, /area/awaymission/wildwest/mines) "gs" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /obj/effect/decal/cleanable/blood/gibs/body{ diff --git a/maps/RandomZLevels/zresearchlabs.dmm b/maps/RandomZLevels/zresearchlabs.dmm index c10d1c830431..8fb5f3326f8f 100644 --- a/maps/RandomZLevels/zresearchlabs.dmm +++ b/maps/RandomZLevels/zresearchlabs.dmm @@ -3309,7 +3309,7 @@ /turf/simulated/floor, /area/awaymission/labs/militarydivision) "iv" = ( -/obj/structure/stool/bed/chair/comfy/beige, +/obj/structure/stool/bed/chair/comfy/white, /turf/simulated/floor, /area/awaymission/labs/militarydivision) "iw" = ( @@ -5355,7 +5355,6 @@ /obj/machinery/atmospherics/pipe/simple{ color = "blue"; icon_state = "intact-b-f"; - level = 1 }, /obj/structure/table, /obj/item/weapon/book/manual/wiki/chefs_recipes, diff --git a/maps/asteroid/asteroid.dmm b/maps/asteroid/asteroid.dmm index 3836e68d0195..ea35c5df1951 100644 --- a/maps/asteroid/asteroid.dmm +++ b/maps/asteroid/asteroid.dmm @@ -3116,6 +3116,7 @@ /obj/machinery/door/firedoor{ dir = 4 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/asteroid/research_outpost/power) "gw" = ( @@ -3129,7 +3130,7 @@ "gx" = ( /obj/machinery/mass_driver{ dir = 4; - id = "research" + id = "researchshaft" }, /turf/simulated/floor/plating/airless{ icon_state = "asteroidplating" @@ -3216,6 +3217,11 @@ /area/asteroid/research_outpost/power) "gO" = ( /obj/machinery/portable_atmospherics/powered/pump, +/obj/machinery/driver_button{ + id = "researchshaft"; + layer = 4; + pixel_x = 24 + }, /turf/simulated/floor/plating, /area/asteroid/research_outpost/power) "gP" = ( @@ -13256,6 +13262,10 @@ icon_state = "brown" }, /area/asteroid/mine/living_quarters) +"WK" = ( +/obj/structure/disposalpipe/segment, +/turf/simulated/wall/r_wall, +/area/asteroid/research_outpost/power) "Xb" = ( /obj/structure/sign/departments/science{ icon_state = "science2"; @@ -59261,7 +59271,7 @@ eF eF fU gv -eF +WK hO eF ja diff --git a/maps/boxstation/boxstation.dmm b/maps/boxstation/boxstation.dmm index e39c9165f933..453f3944488c 100644 --- a/maps/boxstation/boxstation.dmm +++ b/maps/boxstation/boxstation.dmm @@ -3594,7 +3594,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "aga" = ( /obj/machinery/door/airlock/external{ @@ -3665,7 +3665,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "agk" = ( /obj/machinery/light/smart{ @@ -3706,7 +3706,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "agq" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -4006,7 +4006,7 @@ /area/station/security/brig) "agR" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -4182,7 +4182,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -4823,7 +4823,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "aie" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -5038,7 +5038,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "aiw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -5245,7 +5245,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "aiM" = ( /obj/machinery/door/firedoor{ @@ -10850,7 +10850,7 @@ /turf/simulated/floor/plating/airless, /area/station/maintenance/dormitory) "asl" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/black, /area/station/civilian/library) "asm" = ( @@ -12872,7 +12872,7 @@ /turf/simulated/floor, /area/station/civilian/hydroponics) "avU" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/black, @@ -14930,7 +14930,7 @@ }, /area/station/hallway/primary/starboard) "azR" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 1 }, /obj/machinery/computer/security/telescreen{ @@ -14964,7 +14964,7 @@ }, /area/station/ai_monitored/eva) "azU" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 1 }, /obj/machinery/computer/security/telescreen{ @@ -18460,7 +18460,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/eva) "aGB" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /obj/effect/decal/cleanable/dirt, @@ -18473,7 +18473,7 @@ /turf/simulated/floor, /area/station/maintenance/science) "aGD" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/effect/decal/turf_decal{ @@ -20163,7 +20163,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/chapel) "aJO" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -22074,7 +22074,7 @@ /obj/machinery/atmospherics/components/unary/vent_scrubber/on{ dir = 8 }, -/obj/structure/stool/bed/chair/comfy/beige, +/obj/structure/stool/bed/chair/comfy/white, /turf/simulated/floor{ dir = 1; icon_state = "brownold" @@ -24823,7 +24823,7 @@ name = "Station Intercom (General)"; pixel_y = -32 }, -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor/wood, @@ -28887,7 +28887,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "aZv" = ( /obj/machinery/door/firedoor{ @@ -29202,7 +29202,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "aZT" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -29305,7 +29305,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "baf" = ( /obj/machinery/door/firedoor, @@ -30035,7 +30035,7 @@ }, /area/station/tcommsat/computer) "bbu" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -30818,7 +30818,7 @@ /turf/simulated/wall/r_wall, /area/station/bridge/meeting_room) "bcP" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -32115,9 +32115,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_access = list(5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "whitebluefull" }, @@ -32428,7 +32428,7 @@ /turf/simulated/floor/carpet/blue2, /area/station/bridge/meeting_room) "bfw" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue2, /area/station/bridge/meeting_room) "bfx" = ( @@ -32483,7 +32483,7 @@ /turf/simulated/floor/wood, /area/station/bridge/captain_quarters) "bfD" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet/blue2, @@ -33074,7 +33074,7 @@ /turf/simulated/floor/wood, /area/station/bridge/meeting_room) "bgH" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet/blue2, @@ -33743,7 +33743,7 @@ icon_state = "2,2" }, /turf/environment/space, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "bhX" = ( /obj/machinery/requests_console/internal_affairs{ @@ -34089,7 +34089,7 @@ /area/station/civilian/chapel/altar) "biH" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -34350,7 +34350,7 @@ /turf/environment/space, /area/shuttle/mining/station) "bjo" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 4 }, /turf/simulated/floor{ @@ -34727,7 +34727,7 @@ /turf/simulated/floor/wood, /area/station/bridge/captain_quarters) "bkf" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/structure/cable{ @@ -35435,7 +35435,7 @@ }, /area/station/rnd/hallway) "blp" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/structure/cable{ @@ -36794,7 +36794,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -38506,7 +38506,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "bqM" = ( /obj/effect/decal/cleanable/dirt, @@ -39548,7 +39548,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "bsK" = ( /obj/structure/table, @@ -40636,7 +40636,7 @@ }, /area/station/cargo/recycleroffice) "buC" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/machinery/camera{ c_tag = "Medbay South"; dir = 4; @@ -40672,7 +40672,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "buG" = ( /obj/machinery/atmospherics/components/binary/pump/on, @@ -44026,7 +44026,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bAo" = ( /obj/machinery/light/smart{ @@ -44257,7 +44257,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bAK" = ( /obj/machinery/newscaster{ @@ -45545,7 +45545,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bDf" = ( /obj/machinery/newscaster{ @@ -46842,7 +46842,7 @@ /area/station/medical/patients_rooms) "bFu" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -46901,7 +46901,7 @@ name = "shuttle window"; opacity = 0 }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bFA" = ( /obj/structure/cable{ @@ -47017,7 +47017,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -48742,7 +48742,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bII" = ( /obj/machinery/atmospherics/components/unary/vent_scrubber/on{ @@ -48995,7 +48995,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bJi" = ( /turf/simulated/wall, @@ -49071,7 +49071,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bJs" = ( /obj/machinery/recharge_station, @@ -54888,7 +54888,6 @@ /obj/machinery/computer/general_air_control{ dir = 4; frequency = 1443; - level = 3; name = "Distribution and Waste Monitor"; sensors = list("mair_in_meter"="Mixed Air In","air_sensor"="Mixed Air Supply Tank","mair_out_meter"="Mixed Air Out","dloop_atm_meter"="Distribution Loop","wloop_atm_meter"="Waste Loop") }, @@ -56167,7 +56166,7 @@ layer = 4; pixel_x = -10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -56542,7 +56541,7 @@ dir = 1; icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "caT" = ( /obj/structure/sign/mark{ @@ -56766,7 +56765,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/portsolar) "cbR" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/machinery/status_display{ layer = 4; pixel_x = -32 @@ -58730,21 +58729,21 @@ dir = 1; icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cic" = ( /obj/structure/object_wall/pod{ dir = 1; icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cid" = ( /obj/structure/object_wall/pod{ dir = 1; icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cie" = ( /obj/structure/bookcase/manuals/engineering, @@ -59143,7 +59142,7 @@ dir = 1; icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cjy" = ( /obj/item/weapon/paper, @@ -59646,13 +59645,13 @@ /turf/simulated/floor/plating, /area/station/civilian/garden) "cla" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/floor/garden{ icon_state = "asteroid" }, /area/station/civilian/garden) "clb" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/floor/garden{ @@ -65896,7 +65895,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/medbay) "cBA" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet, @@ -68961,7 +68960,7 @@ }, /area/station/civilian/garden) "cLR" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1; icon_state = "bench_2" }, @@ -69091,7 +69090,7 @@ /turf/simulated/floor, /area/station/engineering/atmos) "cMn" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1 }, /turf/simulated/floor/garden{ @@ -72207,21 +72206,12 @@ dir = 4 }, /obj/effect/landmark/start/paramedic, -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "MedbayFoyerOut"; - name = "Medbay Doors Control"; - pixel_x = 26; - pixel_y = -1; - req_access = list(5) - }, /obj/machinery/door_control{ desc = "A remote control switch for the medbay foyer."; id = "MedbayFoyerIn"; name = "Medbay Doors Control"; pixel_x = 26; - pixel_y = 12; - req_access = list(5) + pixel_y = 12 }, /turf/simulated/floor{ dir = 4; @@ -72244,7 +72234,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/cargo) "fXV" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/black, /area/station/security/vacantoffice) "fYb" = ( @@ -73331,7 +73321,7 @@ }, /area/station/engineering/break_room) "hgb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -73405,7 +73395,7 @@ }, /area/shuttle/mining/station) "hkb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -73576,7 +73566,7 @@ /turf/simulated/floor/plating, /area/station/civilian/library) "hsb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /obj/machinery/light/smart, @@ -73959,7 +73949,7 @@ }, /area/station/hallway/secondary/exit) "hRb" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/wood, @@ -75898,7 +75888,7 @@ }, /area/station/security/checkpoint) "jIb" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 8 }, /obj/machinery/light/smart{ @@ -78482,7 +78472,7 @@ }, /area/station/medical/genetics) "mrb" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor/carpet, @@ -80144,7 +80134,7 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -82427,9 +82417,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_access = list(5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "whitebluefull" }, @@ -84090,7 +84080,7 @@ }, /area/station/medical/virology) "sJb" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /turf/simulated/floor{ @@ -86417,7 +86407,7 @@ /turf/simulated/floor, /area/station/construction) "wER" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/item/device/radio/intercom{ diff --git a/maps/centcom/centcom.dmm b/maps/centcom/centcom.dmm index 8b8505d28fa5..5c65b8bd7c5f 100644 --- a/maps/centcom/centcom.dmm +++ b/maps/centcom/centcom.dmm @@ -17,7 +17,7 @@ /turf/environment/space, /area/space) "aac" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac, /area/shuttle/escape/centcom) "aad" = ( @@ -141,9 +141,7 @@ req_access = list(101) }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aap" = ( /obj/machinery/door_control{ @@ -176,9 +174,7 @@ /obj/item/weapon/stamp/approve, /obj/item/weapon/reagent_containers/spray/cleaner, /obj/item/device/taperecorder, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaq" = ( /obj/machinery/door_control{ @@ -211,29 +207,23 @@ /obj/item/weapon/stamp/approve, /obj/item/weapon/reagent_containers/spray/cleaner, /obj/item/device/taperecorder, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aar" = ( /obj/structure/closet/secure_closet/velocity_security/full, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aas" = ( /obj/structure/closet/secure_closet/velocity_security/full, /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aat" = ( /obj/machinery/door/airlock/glass{ - req_access = list(101); - name = "Barbershop" + name = "Barbershop"; + req_access = list(101) }, /obj/machinery/door/firedoor, /turf/unsimulated/floor{ @@ -263,9 +253,9 @@ /area/velocity) "aaw" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Kitchen"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk" @@ -346,8 +336,8 @@ id = "monorail_02"; name = "Security Doors Monorail 02"; pixel_x = 32; - req_access = list(101); - pixel_y = -4 + pixel_y = -4; + req_access = list(101) }, /obj/machinery/firealarm{ pixel_y = 24 @@ -355,9 +345,7 @@ /obj/machinery/computer/card{ req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaD" = ( /obj/machinery/vending/medical{ @@ -371,9 +359,7 @@ /obj/structure/stool/bed/chair/metal/red{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaF" = ( /obj/structure/stool/bed/chair/metal/red{ @@ -384,8 +370,8 @@ "aaG" = ( /obj/machinery/door/airlock/medical/glass{ dir = 4; - req_access = list(101); - name = "First-aid post" + name = "First-aid post"; + req_access = list(101) }, /obj/structure/curtain/medical, /obj/machinery/door/firedoor{ @@ -399,18 +385,14 @@ /obj/machinery/computer/med_data{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaI" = ( /obj/structure/mirror/magic{ pixel_x = 30 }, /obj/structure/centcom_barrier, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaJ" = ( /obj/structure/sign/velocity_overlay/reklama/soda_ad{ @@ -433,9 +415,7 @@ req_access = list(101); req_one_access = list() }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aaM" = ( /turf/environment/space, @@ -911,25 +891,25 @@ /obj/structure/object_wall/wagon{ icon_state = "1,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acf" = ( /obj/structure/object_wall/wagon{ icon_state = "0,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acg" = ( /obj/structure/object_wall/wagon{ icon_state = "3,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "ach" = ( /obj/structure/object_wall/wagon{ icon_state = "2,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "aci" = ( /obj/machinery/door/poddoor{ @@ -940,9 +920,7 @@ name = "Security Doors"; opacity = 0 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "acj" = ( /obj/machinery/door/poddoor{ @@ -953,9 +931,7 @@ name = "Security Doors"; opacity = 0 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "ack" = ( /obj/structure/object_wall/wagon{ @@ -977,7 +953,7 @@ /obj/structure/object_wall/wagon{ icon_state = "9,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acn" = ( /obj/structure/object_wall/wagon{ @@ -991,19 +967,19 @@ /obj/structure/object_wall/wagon{ icon_state = "11,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acp" = ( /obj/structure/object_wall/wagon{ icon_state = "10,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acq" = ( /obj/structure/object_wall/wagon{ icon_state = "12,4" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acr" = ( /obj/structure/object_wall/wagon{ @@ -1015,7 +991,7 @@ /obj/structure/object_wall/wagon{ icon_state = "0,3" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "act" = ( /obj/structure/object_wall/wagon{ @@ -1038,7 +1014,7 @@ /turf/simulated/shuttle/floor/evac/place2, /area/shuttle/escape/centcom) "acx" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 1 }, /turf/simulated/shuttle/floor/evac/eng2, @@ -1069,7 +1045,7 @@ /obj/structure/object_wall/wagon{ icon_state = "12,3" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acD" = ( /turf/simulated/shuttle/floor/wagon{ @@ -1080,7 +1056,7 @@ /obj/structure/object_wall/wagon{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acF" = ( /obj/machinery/door/airlock/wagon, @@ -1093,13 +1069,13 @@ /obj/structure/object_wall/wagon{ icon_state = "12,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acI" = ( /obj/structure/object_wall/wagon{ icon_state = "0,1" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acJ" = ( /obj/structure/object_wall/wagon, @@ -1173,7 +1149,7 @@ /obj/structure/object_wall/wagon{ icon_state = "12,1" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "acV" = ( /obj/structure/object_wall/wagon{ @@ -1184,9 +1160,7 @@ /area/shuttle/arrival/velocity) "acW" = ( /obj/machinery/portable_atmospherics/canister/oxygen, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "acX" = ( /obj/structure/object_wall/evac{ @@ -1278,7 +1252,7 @@ /obj/structure/object_wall/wagon{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "adk" = ( /obj/structure/object_wall/wagon{ @@ -1337,7 +1311,6 @@ "ads" = ( /obj/structure/object_wall/wagon{ icon_state = "6,0"; - name = "shuttle wall"; opacity = 0 }, /turf/environment/space, @@ -1352,7 +1325,7 @@ /obj/structure/object_wall/wagon{ icon_state = "12,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/arrival/velocity) "adv" = ( /obj/effect/decal/cleanable/dirt, @@ -1361,7 +1334,7 @@ /turf/simulated/shuttle/floor/vox, /area/shuttle/vox/arkship_hold) "adw" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 8 }, /obj/machinery/light{ @@ -1373,7 +1346,7 @@ /turf/unsimulated/wall/cult/runed/anim, /area/space) "ady" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/evac/medbay, @@ -1459,8 +1432,8 @@ /area/centcom/evac) "adJ" = ( /obj/machinery/door/airlock/centcom{ - name = "Waiting Room"; - dir = 4 + dir = 4; + name = "Waiting Room" }, /obj/effect/decal/turf_decal{ icon_state = "warn" @@ -1492,7 +1465,7 @@ /turf/environment/space, /area/shuttle/escape/centcom) "adO" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 8 }, /turf/simulated/shuttle/floor/evac, @@ -1514,18 +1487,14 @@ dir = 6; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "adS" = ( /obj/machinery/conveyor{ dir = 5; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "adT" = ( /obj/structure/closet/emergency_wall{ @@ -1562,9 +1531,7 @@ dir = 4; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "adZ" = ( /obj/machinery/light, @@ -1578,9 +1545,7 @@ dir = 1; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aeb" = ( /obj/machinery/light{ @@ -1596,9 +1561,7 @@ dir = 8; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aed" = ( /obj/structure/object_wall/evac{ @@ -1620,9 +1583,7 @@ dir = 10; id = "CentComConv02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aeg" = ( /obj/structure/closet/toolcloset, @@ -1672,9 +1633,9 @@ /area/shuttle/escape/centcom) "aem" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "shuttle_escape"; - name = "Arrival Airlock"; - dir = 4 + name = "Arrival Airlock" }, /turf/unsimulated/floor, /area/centcom/evac) @@ -1950,7 +1911,7 @@ /turf/environment/space, /area/shuttle/escape/centcom) "aeX" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 8 }, /turf/simulated/shuttle/floor/evac/sec2, @@ -2010,10 +1971,10 @@ /turf/unsimulated/floor, /area/centcom/control) "aff" = ( -/obj/structure/stool/bed/chair/schair/wagon, /obj/structure/closet/emergency_wall{ pixel_y = 32 }, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "afg" = ( @@ -2033,13 +1994,6 @@ }, /turf/environment/space, /area/shuttle/escape/centcom) -"afi" = ( -/obj/structure/stool/bed/chair/schair/wagon, -/obj/machinery/light{ - dir = 8 - }, -/turf/simulated/shuttle/floor/evac/place, -/area/shuttle/escape/centcom) "afj" = ( /obj/structure/object_wall/evac{ icon_state = "5,16" @@ -2085,10 +2039,10 @@ }, /area/custom/arena) "afp" = ( -/obj/structure/stool/bed/chair/schair/wagon, /obj/machinery/light{ dir = 4 }, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "afq" = ( @@ -2130,7 +2084,7 @@ }, /area/shuttle/administration/centcom) "afv" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/yellow, /turf/simulated/shuttle/floor/evac/eng2, /area/shuttle/escape/centcom) "afw" = ( @@ -2151,7 +2105,7 @@ /turf/simulated/shuttle/floor/evac/eng2, /area/shuttle/escape/centcom) "afx" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /turf/simulated/shuttle/floor/evac/sec2, @@ -2264,9 +2218,7 @@ /obj/machinery/door/airlock/centcom{ name = "Waiting Room" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "afM" = ( /obj/structure/rack, @@ -2408,7 +2360,7 @@ }, /area/shuttle/vox/arkship_hold) "age" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/green{ dir = 8 }, /obj/machinery/light{ @@ -2444,7 +2396,7 @@ /turf/environment/space, /area/shuttle/vox/arkship) "agj" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/shuttle/floor/wagon, @@ -2459,11 +2411,11 @@ /obj/machinery/light/small{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/shuttle/floor/wagon, /area/shuttle/arrival/velocity) "agm" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/shuttle/floor/wagon, /area/shuttle/arrival/velocity) "agn" = ( @@ -2601,13 +2553,13 @@ /obj/machinery/light/small{ dir = 4 }, -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/shuttle/floor/wagon, /area/shuttle/arrival/velocity) "agI" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1 }, /turf/simulated/shuttle/floor/wagon, @@ -2682,7 +2634,7 @@ /obj/machinery/light/small{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1; icon_state = "bench_2" }, @@ -2954,9 +2906,9 @@ /area/space) "ahK" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Barracks"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk" @@ -3005,9 +2957,9 @@ /area/shuttle/syndicate_elite/mothership) "ahQ" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Custodial Closet"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /turf/unsimulated/floor{ icon_state = "dark" @@ -3276,7 +3228,6 @@ dir = 1 }, /obj/effect/decal/turf_decal{ - dir = 2; icon_state = "warn" }, /turf/unsimulated/floor{ @@ -3763,7 +3714,7 @@ /turf/environment/space, /area/shuttle/syndicate_elite/mothership) "ajv" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /turf/simulated/shuttle/floor/vox, @@ -3852,9 +3803,7 @@ /turf/simulated/shuttle/floor/vox, /area/shuttle/vox/arkship) "ajF" = ( -/obj/structure/object_wall/vox{ - icon_state = "14,11" - }, +/obj/structure/object_wall/vox, /turf/environment/space, /area/shuttle/vox/arkship) "ajG" = ( @@ -4001,7 +3950,7 @@ }, /area/custom/syndicate_mothership) "ajU" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /obj/machinery/door_control{ @@ -4177,7 +4126,7 @@ /turf/environment/space, /area/shuttle/transport1/centcom) "akm" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1; icon_state = "bench_2" }, @@ -4193,7 +4142,7 @@ /obj/machinery/light/small{ dir = 4 }, -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ dir = 1 }, /turf/simulated/shuttle/floor/wagon, @@ -4290,9 +4239,9 @@ /area/custom/syndicate_mothership) "akz" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Hall"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /turf/unsimulated/floor{ icon_state = "dark" @@ -4411,7 +4360,7 @@ }, /area/custom/syndicate_mothership) "akR" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /obj/effect/decal/turf_decal/alpha/yellow{ @@ -4510,9 +4459,9 @@ /area/shuttle/syndicate/start) "alc" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Restroom"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /turf/unsimulated/floor{ icon_state = "freezerfloor" @@ -4772,7 +4721,7 @@ }, /area/shuttle/syndicate/start) "alH" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor{ @@ -4781,8 +4730,8 @@ /area/shuttle/syndicate/start) "alI" = ( /obj/machinery/door/airlock/external{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /turf/unsimulated/floor{ icon_state = "dark" @@ -4996,8 +4945,8 @@ /area/centcom/specops) "ame" = ( /obj/machinery/door/window{ - name = "Shower cabin"; - dir = 1 + dir = 1; + name = "Shower cabin" }, /obj/structure/drain{ drainage = 2 @@ -5046,11 +4995,11 @@ frequency = 1331; id_tag = "synd_airlock"; pixel_y = 28; + req_access = list(150); tag_airpump = "synd_pump"; tag_chamber_sensor = "synd_sensor"; tag_exterior_door = "synd_outer"; - tag_interior_door = "synd_inner"; - req_access = list(150) + tag_interior_door = "synd_inner" }, /obj/effect/decal/turf_decal/metal{ dir = 1; @@ -5679,16 +5628,15 @@ /area/velocity) "ans" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_firedoor"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/atmospherics/pipe/simple/visible{ dir = 4 @@ -5841,7 +5789,7 @@ /turf/simulated/floor/plating/airless, /area/shuttle/syndicate/start) "anH" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/green{ dir = 8 }, /turf/simulated/shuttle/floor/vox{ @@ -6351,9 +6299,9 @@ /area/velocity) "aoV" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "velocity_drop"; - name = "Doors"; - dir = 4 + name = "Doors" }, /obj/machinery/conveyor{ dir = 4; @@ -6416,16 +6364,15 @@ /area/velocity) "apb" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_firedoor"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -6539,8 +6486,8 @@ }, /obj/item/stack/sheet/metal{ amount = 50; - pixel_y = -2; - pixel_x = 2 + pixel_x = 2; + pixel_y = -2 }, /turf/unsimulated/floor{ icon_state = "vaultfull" @@ -6621,9 +6568,7 @@ req_access = list(101) }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "apv" = ( /turf/unsimulated/floor, @@ -6652,11 +6597,6 @@ icon_state = "engine" }, /area/space) -"apz" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/custom/alien) "apA" = ( /obj/structure/object_wall/standart{ icon_state = "swall3" @@ -6827,14 +6767,6 @@ }, /turf/unsimulated/floor, /area/custom/alien) -"apS" = ( -/obj/machinery/door/airlock/hatch{ - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/custom/alien) "apT" = ( /obj/structure/toilet{ pixel_y = 8 @@ -6911,18 +6843,14 @@ /obj/machinery/computer/arrival_shuttle{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "apY" = ( /obj/structure/rack, /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "apZ" = ( /obj/structure/filingcabinet/chestdrawer, @@ -6933,23 +6861,20 @@ pixel_y = 24; req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aqa" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/structure/disposalpipe/segment, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_room01"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -6991,8 +6916,8 @@ /area/shuttle/vox/arkship) "aqf" = ( /obj/machinery/door/airlock/centcom{ - name = "Special Operations"; - dir = 4 + dir = 4; + name = "Special Operations" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -7096,9 +7021,7 @@ /obj/machinery/computer/security{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aqr" = ( /obj/effect/decal/remains/human, @@ -7117,11 +7040,11 @@ /obj/structure/disposalpipe/segment, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_room01"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/centcom{ dir = 4; @@ -7251,8 +7174,8 @@ /area/custom/wizard_station) "aqJ" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(101); - dir = 4 + dir = 4; + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 @@ -7312,9 +7235,7 @@ /obj/machinery/computer/station_alert{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aqS" = ( /obj/structure/object_wall/vox{ @@ -7447,8 +7368,8 @@ "are" = ( /obj/structure/table, /obj/item/device/flashlight/lamp{ - pixel_y = -4; - pixel_x = -4 + pixel_x = -4; + pixel_y = -4 }, /turf/unsimulated/floor{ icon_state = "neutralfull" @@ -7498,7 +7419,6 @@ /area/shuttle/vox/arkship) "arj" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ @@ -7528,7 +7448,6 @@ /area/velocity) "arl" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ @@ -7559,8 +7478,8 @@ layer = 3.5 }, /obj/machinery/door/airlock/centcom{ - req_access = list(101); - name = "Execution Chamber" + name = "Execution Chamber"; + req_access = list(101) }, /obj/machinery/door/firedoor, /turf/unsimulated/floor{ @@ -7574,9 +7493,7 @@ name = "Warehouse Shutters" }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "arp" = ( /obj/machinery/door/poddoor/shutters{ @@ -7585,9 +7502,7 @@ name = "Warehouse Shutters" }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "arq" = ( /obj/structure/object_wall/vox{ @@ -7630,8 +7545,8 @@ id = "monorail_02"; name = "Security Doors Monorail 02"; pixel_x = 32; - req_access = list(101); - pixel_y = -4 + pixel_y = -4; + req_access = list(101) }, /obj/structure/centcom_barrier, /obj/structure/table/reinforced, @@ -7639,9 +7554,7 @@ req_access = list(101); req_one_access = list() }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "arx" = ( /obj/structure/table/woodentable, @@ -7658,16 +7571,15 @@ /area/shuttle/vox/arkship) "arz" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_room02"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -7675,8 +7587,7 @@ /area/velocity) "arA" = ( /obj/structure/object_wall/vox{ - icon_state = "15,3"; - opacity = 1 + icon_state = "15,3" }, /turf/environment/space, /area/shuttle/vox/arkship) @@ -7978,16 +7889,11 @@ icon_state = "wood" }, /area/custom/wizard_station) -"arZ" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/velocity) "asa" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Supply Shuttle"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 @@ -8042,16 +7948,15 @@ "ase" = ( /obj/structure/disposalpipe/segment, /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_hall"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -8437,9 +8342,9 @@ "asR" = ( /obj/structure/disposalpipe/segment, /obj/machinery/door/airlock/glass{ + dir = 4; name = "Armoury Section"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 @@ -8520,8 +8425,8 @@ /area/shuttle/vox/arkship) "atb" = ( /obj/machinery/door/airlock/external{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /obj/machinery/door/poddoor/shutters/syndi{ dock_tag = "Syndicate_shuttle" @@ -8634,16 +8539,15 @@ /area/shuttle/vox/arkship) "atk" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell01"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -8805,9 +8709,7 @@ }, /obj/machinery/door/firedoor, /obj/effect/landmark/trololo, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atC" = ( /obj/structure/object_wall/vox/internal{ @@ -8879,9 +8781,7 @@ /obj/item/device/camera_film, /obj/item/device/toner, /obj/item/device/toner, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atL" = ( /obj/structure/table/glass, @@ -8896,9 +8796,7 @@ /area/velocity) "atM" = ( /obj/structure/table/reinforced, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atN" = ( /obj/structure/object_wall/vox/internal{ @@ -8938,16 +8836,15 @@ /area/shuttle/vox/arkship_hold) "atT" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell02"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -8958,15 +8855,11 @@ /obj/structure/reagent_dispensers/peppertank{ pixel_x = -30 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atV" = ( /obj/structure/centcom_barrier, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atW" = ( /obj/structure/centcom_barrier, @@ -8974,9 +8867,7 @@ dir = 4 }, /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atX" = ( /obj/machinery/recharger/wallcharger{ @@ -8985,9 +8876,7 @@ /obj/machinery/computer/arrival_shuttle{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "atY" = ( /obj/effect/decal/cleanable/dirt, @@ -9042,17 +8931,15 @@ /area/shuttle/vox/arkship_hold) "aue" = ( /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Security Checkpoint"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/disposalpipe/segment, /obj/machinery/door/firedoor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auf" = ( /obj/structure/object_wall/vox/internal{ @@ -9116,9 +9003,7 @@ /obj/structure/sign/velocity_overlay/reklama/pda_x{ pixel_y = 32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aun" = ( /obj/structure/closet/emcloset{ @@ -9169,9 +9054,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aus" = ( /obj/effect/spawner/lootdrop/maintenance/two, @@ -9187,22 +9070,19 @@ /area/velocity) "auu" = ( /obj/item/weapon/flora/random, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auv" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell03"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -9217,15 +9097,13 @@ /area/shuttle/transport1/centcom) "aux" = ( /obj/machinery/door/airlock/external{ - name = "Arrival Access"; - dir = 4 + dir = 4; + name = "Arrival Access" }, /obj/machinery/door/firedoor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auy" = ( /obj/effect/decal/turf_decal/alpha/yellow{ @@ -9242,9 +9120,7 @@ /obj/machinery/atm{ pixel_x = 30 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auA" = ( /obj/machinery/chem_dispenser, @@ -9255,9 +9131,7 @@ /area/velocity) "auB" = ( /obj/structure/stool/bed/chair/metal/red, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auC" = ( /obj/machinery/door_control{ @@ -9269,9 +9143,7 @@ }, /obj/structure/filingcabinet/chestdrawer, /obj/item/weapon/folder/red, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auD" = ( /obj/effect/decal/cleanable/dirt, @@ -9383,9 +9255,7 @@ dir = 8; icon_state = "chair_a01" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auP" = ( /obj/machinery/disposal, @@ -9418,9 +9288,7 @@ }, /obj/structure/window/thin/reinforced, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auT" = ( /obj/structure/table/reinforced, @@ -9436,9 +9304,7 @@ req_access = list(101) }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "auU" = ( /obj/structure/object_wall/vox/internal{ @@ -9483,16 +9349,14 @@ /area/shuttle/vox/arkship_hold) "auZ" = ( /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Security Checkpoint"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ava" = ( /obj/structure/object_wall/vox/internal{ @@ -9525,8 +9389,8 @@ /area/custom/arena) "ave" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /obj/effect/decal/cleanable/dirt, /turf/simulated/shuttle/floor/vox, @@ -9550,18 +9414,14 @@ dir = 8; icon_state = "chair_a03" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avi" = ( /obj/structure/disposalpipe/segment{ dir = 4; icon_state = "pipe-c" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avj" = ( /obj/machinery/light/small, @@ -9594,8 +9454,8 @@ /area/shuttle/vox/arkship) "avm" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /turf/simulated/shuttle/floor/vox, /area/shuttle/vox/arkship_hold) @@ -9640,16 +9500,15 @@ /area/velocity) "avs" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell04"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -9735,24 +9594,18 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avC" = ( /obj/structure/stool/bed/chair/schair/monorail_chair{ dir = 8; icon_state = "chair_a02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avD" = ( /obj/structure/disposalpipe/segment, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avE" = ( /obj/structure/table, @@ -9789,13 +9642,6 @@ "avI" = ( /turf/unsimulated/wall, /area/centcom/prison) -"avJ" = ( -/obj/machinery/light{ - dir = 4 - }, -/obj/structure/stool/bed/chair/schair/wagon, -/turf/simulated/shuttle/floor/evac/place, -/area/shuttle/escape/centcom) "avK" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/ladder{ @@ -9867,9 +9713,7 @@ icon_state = "velocity_tablo"; pixel_x = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "avU" = ( /obj/structure/disposalpipe/segment, @@ -9942,9 +9786,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "awc" = ( /obj/machinery/porta_turret/crescent, @@ -10003,13 +9845,13 @@ }, /area/shuttle/vox/arkship_hold) "awi" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/erokez, /area/shuttle/transport1/centcom) "awj" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /obj/machinery/light/small{ @@ -10089,17 +9931,13 @@ }, /area/shuttle/vox/arkship) "awt" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "awu" = ( /obj/effect/landmark{ name = "prisonwarp" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "awv" = ( /obj/machinery/atmospherics/components/unary/vent_pump/high_volume{ @@ -10118,9 +9956,9 @@ /area/centcom/prison) "awx" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -10132,12 +9970,10 @@ layer = 3.5; pixel_x = -20 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "awy" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 8 }, /obj/machinery/light/small{ @@ -10146,13 +9982,13 @@ /turf/simulated/shuttle/floor/erokez, /area/shuttle/transport1/centcom) "awz" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 8 }, /turf/simulated/shuttle/floor/erokez, /area/shuttle/transport1/centcom) "awA" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/erokez, @@ -10198,9 +10034,7 @@ /obj/effect/decal/turf_decal/alpha/red{ icon_state = "bot" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "awH" = ( /obj/structure/disposalpipe/segment, @@ -10333,9 +10167,7 @@ /obj/machinery/light/small{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "awU" = ( /obj/machinery/disposal/deliveryChute{ @@ -10396,17 +10228,15 @@ /area/velocity) "axa" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Cargo"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/disposalpipe/segment, /obj/machinery/door/firedoor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "axb" = ( /obj/machinery/vending/cola{ @@ -10478,9 +10308,7 @@ icon_state = "screen_amin_velocity_90"; pixel_x = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "axl" = ( /obj/structure/object_wall/vox/internal{ @@ -10658,9 +10486,9 @@ /area/shuttle/vox/arkship) "axB" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -10672,9 +10500,7 @@ layer = 3.5; pixel_x = -20 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "axC" = ( /obj/item/clothing/shoes/sandal/marisa{ @@ -10875,23 +10701,21 @@ /area/velocity) "axT" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "9"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "axU" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -10903,15 +10727,11 @@ layer = 3.5; pixel_x = -20 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "axV" = ( /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "axW" = ( /obj/machinery/disposal, @@ -10939,9 +10759,7 @@ dir = 1 }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "axZ" = ( /obj/structure/table/reinforced, @@ -10956,9 +10774,7 @@ req_access = list(101) }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aya" = ( /obj/effect/decal/cleanable/dirt, @@ -10984,9 +10800,7 @@ name = "\improper billboard"; pixel_y = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayd" = ( /obj/structure/sign/velocity_overlay/reklama{ @@ -10995,17 +10809,13 @@ name = "\improper billboard"; pixel_y = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aye" = ( /obj/structure/reagent_dispensers/water_cooler{ pixel_y = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayf" = ( /obj/structure/stool/bed/chair/office/light{ @@ -11019,9 +10829,7 @@ /obj/structure/stool/bed/chair/metal/red{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayh" = ( /obj/machinery/door_control{ @@ -11036,9 +10844,7 @@ /obj/machinery/computer/guestpass/dark{ pixel_x = 28 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayi" = ( /obj/effect/decal/cleanable/dirt, @@ -11064,24 +10870,18 @@ /obj/structure/closet/emcloset{ pixel_x = -7 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayl" = ( /obj/machinery/vending/cigarette, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aym" = ( /obj/machinery/newscaster{ pixel_y = -28 }, /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayn" = ( /obj/machinery/door/airlock/centcom{ @@ -11095,32 +10895,28 @@ /area/velocity) "ayo" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "7"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "ayp" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "8"; layer = 3.5; pixel_x = -26 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "ayq" = ( /obj/structure/window/fulltile/reinforced{ @@ -11170,9 +10966,7 @@ "ayv" = ( /obj/structure/closet/wardrobe/red, /obj/structure/centcom_barrier, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayw" = ( /obj/structure/centcom_barrier, @@ -11191,9 +10985,7 @@ /area/velocity) "ayy" = ( /obj/structure/closet/firecloset, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayz" = ( /obj/structure/reagent_dispensers/peppertank{ @@ -11202,9 +10994,7 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayA" = ( /turf/unsimulated/floor{ @@ -11225,9 +11015,7 @@ dir = 4 }, /obj/structure/closet/firecloset, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayD" = ( /obj/machinery/mining/brace, @@ -11247,18 +11035,16 @@ /area/shuttle/vox/arkship) "ayE" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "6"; layer = 3.5; pixel_x = -26 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "ayF" = ( /obj/structure/object_wall/vox/internal{ @@ -11289,15 +11075,11 @@ dir = 1; pixel_y = -24 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayJ" = ( /obj/structure/closet/toolcloset, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "ayK" = ( /obj/structure/object_wall/standart{ @@ -11307,7 +11089,7 @@ /turf/environment/space, /area/shuttle/specops/centcom) "ayL" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /turf/simulated/shuttle/floor/vox{ @@ -11490,26 +11272,20 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azg" = ( /obj/structure/closet/emcloset{ pixel_x = 7 }, /obj/structure/centcom_barrier, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azh" = ( /obj/structure/closet/crate, /obj/random/tools/tech_supply, /obj/random/tools/tech_supply, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azi" = ( /obj/machinery/door/airlock/hatch{ @@ -11578,18 +11354,16 @@ /area/shuttle/vox/arkship_hold) "azq" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "4"; layer = 3.5; pixel_x = -26 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "azr" = ( /obj/structure/object_wall/velocity{ @@ -11677,16 +11451,14 @@ /area/shuttle/vox/arkship) "azB" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(101); - dir = 4 + dir = 4; + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 }, /obj/effect/landmark/trololo, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azC" = ( /obj/machinery/mining/brace, @@ -11711,9 +11483,7 @@ pixel_x = -1; pixel_y = -24 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azE" = ( /obj/structure/rack, @@ -11882,9 +11652,7 @@ name = "Monorail Tunnel" }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "azQ" = ( /obj/structure/object_wall/standart{ @@ -11984,7 +11752,6 @@ /area/shuttle/vox/arkship) "aAa" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /turf/unsimulated/floor{ @@ -11997,9 +11764,7 @@ icon_state = "ch03"; name = "\improper stool" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aAd" = ( /obj/machinery/light{ @@ -12100,18 +11865,16 @@ /area/shuttle/vox/arkship) "aAr" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "2"; layer = 3.5; pixel_x = -26 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "aAs" = ( /obj/random/foods/drink_can, @@ -12166,9 +11929,7 @@ icon_state = "ch02"; name = "\improper stool" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aAz" = ( /obj/structure/table, @@ -12230,9 +11991,7 @@ icon_state = "ch01"; name = "\improper stool" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aAH" = ( /obj/machinery/status_display{ @@ -12259,8 +12018,8 @@ /area/shuttle/vox/arkship) "aAJ" = ( /obj/machinery/door/poddoor/shutters/syndi{ - id = "DropPodGarage"; - dir = 8 + dir = 8; + id = "DropPodGarage" }, /obj/structure/sign/warning/pods{ desc = "A sign which reads 'DROP PODS'."; @@ -12464,9 +12223,7 @@ name = "Brig"; req_access = list(109) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "aBg" = ( /obj/effect/decal/cleanable/cobweb, @@ -12561,18 +12318,14 @@ /area/custom/wizard_station) "aBt" = ( /obj/structure/stool/bed/chair/comfy/black, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBu" = ( /obj/structure/stool/bed/chair/comfy/black, /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBv" = ( /obj/structure/stool/bed/chair/comfy/black, @@ -12612,9 +12365,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBz" = ( /obj/structure/stool/bed, @@ -12633,9 +12384,7 @@ icon_state = "tool2"; name = "\improper big toolbox" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBB" = ( /obj/structure/stool/bed/chair/comfy/brown, @@ -12739,17 +12488,15 @@ /area/centcom/specops) "aBJ" = ( /obj/machinery/door/poddoor/shutters/syndi{ - id = "DropPodGarage"; - dir = 8 + dir = 8; + id = "DropPodGarage" }, /turf/unsimulated/floor{ icon_state = "dark" }, /area/centcom/specops) "aBK" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aBL" = ( /obj/structure/rack, @@ -12833,16 +12580,12 @@ /area/custom/wizard_station) "aBU" = ( /obj/effect/decal/cleanable/blood/oil, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBV" = ( /obj/structure/table/reinforced, /obj/item/weapon/storage/toolbox/mechanical, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aBW" = ( /obj/machinery/light/small{ @@ -13064,8 +12807,8 @@ /area/space) "aCo" = ( /turf/unsimulated/floor{ - icon_state = "darkyellow"; - dir = 1 + dir = 1; + icon_state = "darkyellow" }, /area/centcom/specops) "aCp" = ( @@ -13107,9 +12850,7 @@ name = "Brig"; req_access = list(109) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aCt" = ( /obj/structure/window/fulltile/reinforced{ @@ -13136,26 +12877,20 @@ "aCw" = ( /obj/structure/table/reinforced, /obj/structure/window/thin/reinforced, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aCx" = ( /obj/structure/table/reinforced, /obj/structure/window/thin/reinforced, /obj/item/weapon/reagent_containers/food/drinks/bottle/beer, /obj/item/weapon/reagent_containers/food/drinks/bottle/beer, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aCy" = ( /obj/structure/table/reinforced, /obj/structure/window/thin/reinforced, /obj/item/weapon/wrench, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aCz" = ( /obj/structure/table/reinforced, @@ -13177,17 +12912,13 @@ /area/custom/syndicate_mothership) "aCB" = ( /obj/structure/window/thin/reinforced, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aCC" = ( /obj/structure/table/reinforced, /obj/structure/window/thin/reinforced, /obj/item/weapon/storage/toolbox/electrical, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aCD" = ( /obj/machinery/computer/mech_bay_power_console{ @@ -13352,9 +13083,7 @@ }, /area/space) "aCV" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aCW" = ( /obj/effect/decal/remains/human{ @@ -13458,9 +13187,7 @@ "aDi" = ( /obj/structure/stool/bed/chair/metal/black, /obj/effect/landmark/cops_spawn, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDj" = ( /obj/machinery/mass_driver{ @@ -13489,9 +13216,7 @@ "aDo" = ( /obj/structure/table/reinforced, /obj/item/weapon/storage/fancy/donut_box, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDp" = ( /obj/structure/torch_holder/magic{ @@ -13508,24 +13233,20 @@ /obj/structure/stool/bed/chair/metal/black{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDr" = ( /obj/structure/table/reinforced, /obj/item/weapon/folder/red{ pixel_y = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDs" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT1"; - name = "Launch Bay #1"; - dir = 4 + name = "Launch Bay #1" }, /obj/effect/decal/turf_decal{ dir = 4; @@ -13535,9 +13256,9 @@ /area/centcom/specops) "aDt" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT1"; - name = "Launch Bay #1"; - dir = 4 + name = "Launch Bay #1" }, /turf/unsimulated/floor{ name = "plating" @@ -13560,9 +13281,7 @@ dir = 4; icon_state = "siding_line" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aDz" = ( /obj/structure/mineral_door/wood, @@ -13619,9 +13338,9 @@ /area/space) "aDF" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT3"; - name = "Launch Bay #3"; - dir = 4 + name = "Launch Bay #3" }, /turf/unsimulated/floor{ name = "plating" @@ -13640,9 +13359,9 @@ /area/centcom/specops) "aDH" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT3"; - name = "Launch Bay #3"; - dir = 4 + name = "Launch Bay #3" }, /obj/effect/decal/turf_decal{ dir = 4; @@ -13652,9 +13371,9 @@ /area/centcom/specops) "aDI" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Special Operations"; - req_access = list(103); - dir = 4 + req_access = list(103) }, /turf/unsimulated/floor{ icon_state = "dark" @@ -13715,25 +13434,19 @@ /obj/machinery/door/airlock/external{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDQ" = ( /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aDU" = ( /obj/effect/decal/turf_decal/alpha/dark_red{ icon_state = "siding_corner" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aDV" = ( /obj/machinery/light{ @@ -13757,9 +13470,7 @@ /obj/effect/decal/turf_decal/alpha/dark_red{ icon_state = "siding_line" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aDY" = ( /turf/unsimulated/floor{ @@ -13792,18 +13503,14 @@ dir = 1 }, /obj/effect/landmark/cops_spawn, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aEd" = ( /obj/effect/decal/turf_decal/alpha/dark_red{ dir = 8; icon_state = "siding_line" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aEe" = ( /obj/structure/centcom_barrier, @@ -13902,9 +13609,9 @@ /area/centcom/specops) "aEr" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT0"; - name = "Launch Bay #0"; - dir = 4 + name = "Launch Bay #0" }, /obj/effect/decal/turf_decal{ dir = 4; @@ -13973,9 +13680,7 @@ dir = 8; icon_state = "siding_corner" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aED" = ( /obj/effect/decal/turf_decal/wood/dark{ @@ -14018,9 +13723,9 @@ /area/centcom/specops) "aEH" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT2"; - name = "Launch Bay #2"; - dir = 4 + name = "Launch Bay #2" }, /obj/effect/decal/turf_decal{ dir = 4; @@ -14030,9 +13735,9 @@ /area/centcom/specops) "aEI" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT2"; - name = "Launch Bay #2"; - dir = 4 + name = "Launch Bay #2" }, /turf/unsimulated/floor{ name = "plating" @@ -14052,8 +13757,8 @@ /area/centcom/specops) "aEK" = ( /obj/machinery/door/poddoor/shutters/syndi{ - id = "Mecha"; - dir = 4 + dir = 4; + id = "Mecha" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -14102,18 +13807,14 @@ department = "Central Command"; dptdest = "Captain's Office" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aEQ" = ( /obj/effect/landmark/cops_spawn, /obj/structure/stool/bed/chair/metal/black{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aER" = ( /obj/structure/table/reinforced, @@ -14252,8 +13953,8 @@ /area/custom/wizard_station) "aFf" = ( /obj/machinery/door/airlock/external{ - name = "Arrival Airlock"; - dir = 4 + dir = 4; + name = "Arrival Airlock" }, /turf/unsimulated/floor, /area/centcom/evac) @@ -14417,11 +14118,16 @@ }, /area/centcom/specops) "aFz" = ( -/obj/machinery/computer/cloning, -/turf/unsimulated/floor{ - icon_state = "white" +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "pdoor0"; + id = "CentComPort"; + layer = 4.1; + name = "Security Doors"; + opacity = 0 }, -/area/centcom/specops) +/turf/unsimulated/floor, +/area/centcom/control) "aFA" = ( /obj/machinery/clonepod, /turf/unsimulated/floor{ @@ -14532,7 +14238,7 @@ }, /area/centcom/specops) "aFN" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /obj/effect/decal/turf_decal/metal{ @@ -14565,9 +14271,9 @@ /area/custom/wizard_station) "aFQ" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "CREED"; - name = "Ready Room"; - dir = 4 + name = "Ready Room" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -14598,9 +14304,9 @@ /area/centcom/specops) "aFT" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "ASSAULT0"; - name = "Launch Bay #0"; - dir = 4 + name = "Launch Bay #0" }, /turf/unsimulated/floor{ name = "plating" @@ -14752,9 +14458,7 @@ dir = 1; icon_state = "siding_line" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aGl" = ( /obj/structure/closet/secure_closet/syndicate, @@ -14835,7 +14539,7 @@ }, /area/centcom/specops) "aGu" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /obj/effect/decal/turf_decal/metal{ @@ -15040,9 +14744,7 @@ dir = 4; icon_state = "siding_corner" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aGQ" = ( /obj/structure/stool/bed/roller, @@ -15402,8 +15104,8 @@ /area/custom/syndicate_mothership) "aHG" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(101); - dir = 4 + dir = 4; + req_access = list(101) }, /turf/simulated/shuttle/plating, /area/centcom/evac) @@ -15428,18 +15130,14 @@ locked = 1; name = "Arrival Airlock" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aHK" = ( /obj/effect/decal/turf_decal/alpha/dark_red{ dir = 1; icon_state = "siding_corner" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aHL" = ( /turf/unsimulated/floor{ @@ -15576,9 +15274,7 @@ }, /area/custom/syndicate_mothership) "aIb" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/custom/syndicate_mothership) "aIc" = ( /obj/structure/window/fulltile/reinforced{ @@ -15650,9 +15346,9 @@ /area/shuttle/syndicate/start) "aIl" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Play Room"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /obj/structure/barricade/wooden, /turf/unsimulated/floor{ @@ -15750,16 +15446,9 @@ icon_state = "wood" }, /area/custom/syndicate_mothership) -"aIy" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/centcom/evac) "aIz" = ( /obj/structure/closet/emcloset, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aIA" = ( /obj/machinery/light{ @@ -15778,9 +15467,7 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aIC" = ( /obj/structure/closet/emcloset{ @@ -15789,9 +15476,7 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aID" = ( /turf/environment/space, @@ -15813,9 +15498,7 @@ name = "Special Operations"; req_access = list(103) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "aIG" = ( /turf/simulated/shuttle/floor{ @@ -15982,9 +15665,7 @@ /area/shuttle/syndicate/start) "aJe" = ( /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aJf" = ( /turf/unsimulated/floor{ @@ -16121,9 +15802,7 @@ name = "Special Operations"; req_access = list(103) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aJy" = ( /obj/structure/sign/directions/medical, @@ -16182,9 +15861,7 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aJG" = ( /obj/machinery/vending/cigarette{ @@ -16193,9 +15870,7 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aJI" = ( /obj/structure/stool/bed, @@ -16246,11 +15921,6 @@ }, /turf/unsimulated/floor/carpet, /area/centcom/living) -"aJP" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/centcom/control) "aJQ" = ( /obj/item/device/assembly/prox_sensor{ pixel_x = -8; @@ -16336,9 +16006,9 @@ /area/centcom/evac) "aKa" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Commander Quarters"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /turf/unsimulated/floor{ dir = 8; @@ -16356,9 +16026,7 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKe" = ( /turf/unsimulated/floor{ @@ -16392,9 +16060,7 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKj" = ( /obj/structure/object_wall/standart{ @@ -16555,33 +16221,25 @@ /area/custom/syndicate_mothership) "aKA" = ( /obj/structure/table/reinforced, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKB" = ( /obj/structure/window/thin/reinforced{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKC" = ( /mob/living/silicon/decoy{ name = "A.L.I.C.E." }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKD" = ( /obj/structure/window/thin/reinforced{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKE" = ( /obj/machinery/light, @@ -16646,17 +16304,13 @@ /obj/machinery/computer/guestpass/dark{ pixel_y = 26 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "aKP" = ( /obj/structure/stool/bed/chair/office/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKQ" = ( /obj/structure/window/thin/reinforced, @@ -16671,35 +16325,27 @@ name = "Spec Ops Intercom"; pixel_y = 28 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKR" = ( /obj/machinery/door/window{ name = "AI Core Door"; req_access = list(109) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKS" = ( /obj/structure/window/thin/reinforced, /obj/structure/window/thin/reinforced{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKT" = ( /obj/structure/stool/bed/chair/office/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKU" = ( /obj/structure/grille, @@ -16738,9 +16384,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aKZ" = ( /obj/structure/table/woodentable, @@ -16772,23 +16416,19 @@ /area/centcom/evac) "aLd" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Living Quarters"; - req_access = list(105); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(105) }, +/turf/unsimulated/floor, /area/centcom/living) "aLe" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Living Quarters"; - req_access = list(105); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(105) }, +/turf/unsimulated/floor, /area/centcom/control) "aLf" = ( /obj/structure/table/woodentable, @@ -16800,38 +16440,30 @@ /area/custom/syndicate_mothership) "aLg" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Bridge"; - req_access = list(109); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(109) }, +/turf/unsimulated/floor, /area/centcom/control) "aLh" = ( /obj/structure/stool/bed/chair/office/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLi" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(101); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(101) }, +/turf/unsimulated/floor, /area/centcom/living) "aLj" = ( /obj/machinery/door/airlock/centcom{ name = "General Access"; req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLk" = ( /obj/machinery/computer/crew, @@ -16874,23 +16506,17 @@ /area/centcom/specops) "aLq" = ( /obj/machinery/computer/communications, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLr" = ( /obj/machinery/computer/card, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLs" = ( /obj/machinery/computer/cargo/request{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLt" = ( /obj/structure/rack, @@ -16951,9 +16577,7 @@ /obj/machinery/atm{ pixel_y = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLB" = ( /obj/structure/table/reinforced, @@ -16964,9 +16588,7 @@ department = "Central Command"; dptdest = "Captain's Office" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLC" = ( /turf/unsimulated/floor{ @@ -17031,12 +16653,12 @@ "aLL" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "CentComPort04"; layer = 4.1; name = "Security Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/structure/plasticflaps{ opacity = 1 @@ -17098,28 +16720,20 @@ "aLQ" = ( /obj/structure/table/reinforced, /obj/item/device/pda/captain, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLR" = ( /obj/machinery/computer/secure_data, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLS" = ( /obj/machinery/computer/security, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLT" = ( /obj/structure/table/reinforced, /obj/item/weapon/card/id/captains_spare, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "aLU" = ( /turf/unsimulated/floor{ @@ -17493,9 +17107,9 @@ /area/shuttle/syndicate_elite/mothership) "aMJ" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Hall"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk" @@ -17512,7 +17126,7 @@ }, /area/custom/syndicate_mothership/elite_squad) "aML" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /obj/structure/sign/poster/contraband/random{ @@ -17523,7 +17137,7 @@ }, /area/shuttle/syndicate_elite/mothership) "aMM" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 8 }, /turf/simulated/shuttle/floor/vox{ @@ -17596,7 +17210,7 @@ }, /area/custom/syndicate_mothership/elite_squad) "aMV" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor/vox{ @@ -17605,9 +17219,9 @@ /area/shuttle/syndicate_elite/mothership) "aMW" = ( /obj/machinery/door/airlock/external{ + dir = 4; name = "Shuttle Airlock"; - req_access = list(150); - dir = 4 + req_access = list(150) }, /obj/machinery/door/poddoor{ density = 0; @@ -17627,8 +17241,8 @@ /area/centcom/evac) "aMY" = ( /obj/machinery/door/airlock/external{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorplace" @@ -17712,9 +17326,9 @@ /area/custom/syndicate_mothership/elite_squad) "aNj" = ( /obj/machinery/door/poddoor/shutters/syndi{ + dir = 8; id = "Esyndimech"; - name = "Mech Bay"; - dir = 8 + name = "Mech Bay" }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk" @@ -17763,9 +17377,7 @@ name = "Security Doors"; opacity = 0 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aNp" = ( /obj/item/weapon/storage/box/handcuffs{ @@ -17821,9 +17433,7 @@ name = "Security Doors"; opacity = 0 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "aNx" = ( /obj/structure/mopbucket, @@ -17950,9 +17560,9 @@ /area/custom/syndicate_mothership/elite_squad) "aNK" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/sign/mark{ icon_state = "7"; @@ -17969,9 +17579,7 @@ icon_state = "*"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aNM" = ( /obj/machinery/door/airlock/glass, @@ -18201,9 +17809,7 @@ /area/custom/syndicate_mothership/armory) "aOh" = ( /obj/machinery/power/smes, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aOi" = ( /obj/structure/rack, @@ -18284,9 +17890,7 @@ /area/custom/syndicate_mothership/armory) "aOn" = ( /obj/structure/table, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aOo" = ( /obj/structure/table/woodentable, @@ -18432,25 +18036,19 @@ /obj/machinery/conveyor{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOB" = ( /obj/machinery/conveyor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOC" = ( /obj/machinery/conveyor{ dir = 9 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOD" = ( /obj/machinery/portable_atmospherics/canister/oxygen, @@ -18466,35 +18064,25 @@ pixel_y = 32; req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOF" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOG" = ( /obj/structure/stool/bed/chair/metal/white, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOH" = ( /obj/structure/stool/bed/chair/metal/white, /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOI" = ( /obj/structure/reagent_dispensers/water_cooler, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOJ" = ( /obj/structure/closet/emcloset{ @@ -18503,9 +18091,7 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOK" = ( /obj/structure/closet/emcloset{ @@ -18514,9 +18100,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOL" = ( /obj/structure/rack, @@ -18536,9 +18120,7 @@ /obj/structure/stool/bed/chair/comfy/black{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOO" = ( /obj/structure/table, @@ -18546,17 +18128,13 @@ pixel_x = -1; pixel_y = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOP" = ( /obj/structure/stool/bed/chair/comfy/black{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOQ" = ( /obj/structure/rack, @@ -18607,9 +18185,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aOU" = ( /obj/structure/reagent_dispensers/watertank, @@ -18668,9 +18244,7 @@ /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aPd" = ( /obj/structure/shuttle/engine/propulsion, @@ -18696,9 +18270,7 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aPh" = ( /obj/machinery/door/window/northleft, @@ -18771,17 +18343,13 @@ /obj/machinery/conveyor{ dir = 6 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aPp" = ( /obj/machinery/conveyor{ dir = 10 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aPq" = ( /obj/structure/sign/poster/contraband/random{ @@ -18793,7 +18361,7 @@ /turf/simulated/shuttle/floor/vox, /area/custom/syndicate_mothership/elite_squad) "aPr" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /obj/item/device/radio/intercom{ @@ -18814,7 +18382,7 @@ /obj/machinery/light/small{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor/vox{ @@ -18823,9 +18391,9 @@ /area/shuttle/syndicate_elite/mothership) "aPt" = ( /obj/machinery/door/poddoor/shutters/syndi{ + dir = 8; id = "Esyndimech"; - name = "Mech Bay"; - dir = 8 + name = "Mech Bay" }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorplating" @@ -19014,8 +18582,8 @@ /area/custom/syndicate_mothership/armory) "aPL" = ( /obj/machinery/door/airlock/centcom{ - name = "Courthouse"; - dir = 4 + dir = 4; + name = "Courthouse" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -19079,14 +18647,12 @@ /area/centcom/holding) "aPS" = ( /obj/machinery/bot/cleanbot, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aPT" = ( /obj/machinery/door/airlock{ - name = "Unisex Restrooms"; - dir = 4 + dir = 4; + name = "Unisex Restrooms" }, /turf/unsimulated/floor{ icon_state = "freezerfloor" @@ -19094,12 +18660,10 @@ /area/centcom/holding) "aPU" = ( /obj/machinery/door/airlock/centcom{ - name = "Waiting Room"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + dir = 4; + name = "Waiting Room" }, +/turf/unsimulated/floor, /area/centcom/holding) "aPV" = ( /turf/simulated/shuttle/floor/vox{ @@ -19108,22 +18672,18 @@ /area/shuttle/syndicate_elite/mothership) "aPW" = ( /obj/machinery/door/airlock/centcom{ - name = "Holding Facility"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + dir = 4; + name = "Holding Facility" }, +/turf/unsimulated/floor, /area/centcom/holding) "aPX" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Living Quarters"; - req_access = list(105); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(105) }, +/turf/unsimulated/floor, /area/centcom/holding) "aPY" = ( /obj/effect/step_trigger/teleporter/random{ @@ -19157,9 +18717,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aQk" = ( /obj/structure/reagent_dispensers/water_cooler, @@ -19221,8 +18779,8 @@ /area/centcom/holding) "aQy" = ( /obj/machinery/door/airlock{ - name = "Unit 1"; - dir = 4 + dir = 4; + name = "Unit 1" }, /turf/unsimulated/floor{ icon_state = "freezerfloor" @@ -19242,9 +18800,7 @@ /area/centcom/holding) "aQE" = ( /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aQH" = ( /obj/machinery/newscaster{ @@ -19281,9 +18837,7 @@ /area/centcom/living) "aQQ" = ( /obj/machinery/computer/communications, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aQR" = ( /obj/machinery/door/airlock/glass, @@ -19316,8 +18870,8 @@ /area/centcom/living) "aRk" = ( /obj/machinery/door/airlock{ - name = "Unit 2"; - dir = 4 + dir = 4; + name = "Unit 2" }, /turf/unsimulated/floor{ icon_state = "freezerfloor" @@ -19355,50 +18909,38 @@ pixel_y = -32; req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRx" = ( /obj/structure/stool/bed/chair/metal/white{ dir = 1 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRy" = ( /obj/structure/stool/bed/chair/metal/white{ dir = 1 }, /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRz" = ( /obj/machinery/computer/arcade, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRA" = ( /obj/structure/closet/emcloset{ pixel_x = -7 }, /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRE" = ( /obj/structure/closet/emcloset{ pixel_x = 7 }, /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aRF" = ( /obj/machinery/light, @@ -19490,9 +19032,7 @@ icon_state = "8"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/holding) "aSj" = ( /turf/unsimulated/wall, @@ -19595,14 +19135,7 @@ /area/centcom/holding) "aSG" = ( /obj/structure/table, -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/centcom/tdome) -"aSH" = ( -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aSJ" = ( /turf/unsimulated/floor{ @@ -19740,35 +19273,27 @@ /obj/structure/stool/bed/chair/metal{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTo" = ( /obj/structure/table/reinforced{ dir = 4; icon_state = "reinf_tabledir" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTp" = ( /obj/structure/table/reinforced{ dir = 8; icon_state = "reinf_tabledir" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTq" = ( /obj/structure/stool/bed/chair/metal{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTr" = ( /obj/structure/closet/secure_closet, @@ -19911,17 +19436,13 @@ /obj/machinery/light{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTN" = ( /obj/machinery/light{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aTO" = ( /obj/structure/stool/bed, @@ -19978,9 +19499,7 @@ /obj/machinery/door/airlock/centcom{ name = "Courthouse" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aTY" = ( /obj/structure/stool/bed/chair/office/light{ @@ -20046,9 +19565,7 @@ /area/centcom/living) "aUg" = ( /obj/machinery/light, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/living) "aUn" = ( /turf/unsimulated/floor{ @@ -20135,9 +19652,7 @@ name = "General Access"; req_access = list(101) }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aUI" = ( /obj/structure/stool/bed/chair/comfy/black, @@ -20638,7 +20153,7 @@ /turf/environment/space, /area/shuttle/vox/arkship) "aWR" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "aWS" = ( @@ -20894,9 +20409,9 @@ /area/centcom/tdome) "aXN" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "thunderdomegen"; - name = "General Supply"; - dir = 4 + name = "General Supply" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -20924,9 +20439,9 @@ /area/centcom/tdome/tdome2) "aXQ" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "thunderdome"; - name = "Thunderdome Blast Door"; - dir = 4 + name = "Thunderdome Blast Door" }, /turf/unsimulated/floor{ name = "plating" @@ -21205,8 +20720,8 @@ /area/custom/beach) "aYO" = ( /obj/machinery/door/airlock/external{ - name = "Arrival Airlock"; - dir = 4 + dir = 4; + name = "Arrival Airlock" }, /obj/effect/decal/turf_decal{ dir = 4; @@ -21215,7 +20730,7 @@ /turf/unsimulated/floor, /area/centcom/evac) "aYP" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/green{ dir = 1 }, /turf/simulated/shuttle/floor/vox{ @@ -21224,13 +20739,11 @@ /area/shuttle/vox/arkship) "aYQ" = ( /obj/machinery/door/poddoor{ + dir = 4; id = "thunderdomegen"; - name = "General Supply"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + name = "General Supply" }, +/turf/unsimulated/floor, /area/centcom/tdome) "aYS" = ( /obj/item/clothing/head/collectable/paper, @@ -21251,15 +20764,6 @@ }, /turf/environment/space, /area/shuttle/vox/arkship) -"aYW" = ( -/obj/machinery/door/airlock/command{ - name = "Thunderdome Administration"; - req_access = list(102) - }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, -/area/centcom/tdome) "aYX" = ( /obj/machinery/door/poddoor{ id = "thunderdomehea"; @@ -21329,9 +20833,7 @@ /obj/machinery/light/small{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aZk" = ( /turf/unsimulated/floor{ @@ -21381,9 +20883,7 @@ /obj/machinery/light/small{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/tdome) "aZy" = ( /turf/unsimulated/beach/water{ @@ -21954,8 +21454,8 @@ /area/shuttle/vox/arkship) "bbo" = ( /obj/machinery/door/airlock{ - name = "Toilet"; - dir = 4 + dir = 4; + name = "Toilet" }, /turf/unsimulated/floor{ icon_state = "freezerfloor" @@ -22411,9 +21911,7 @@ name = "Arrival Airlock" }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "bej" = ( /obj/machinery/abductor/experiment{ @@ -22540,9 +22038,9 @@ /area/custom/abductor_ship) "bfb" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "velocity_officer"; name = "Velocity Shuttle Dock Airlock"; - dir = 4; req_access = list(101) }, /obj/machinery/door/firedoor{ @@ -22971,9 +22469,7 @@ /obj/item/weapon/pen{ pixel_y = 6 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/specops) "bqb" = ( /obj/structure/table/woodentable{ @@ -23249,11 +22745,11 @@ }, /area/centcom/specops) "bJl" = ( -/obj/structure/stool/bed/chair/schair/wagon, /obj/structure/extinguisher_cabinet{ pixel_x = -31; pixel_y = 4 }, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "bJz" = ( @@ -23310,23 +22806,21 @@ /area/centcom/specops) "bNb" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "arrival_specops"; locked = 1; - name = "Arrival Airlock"; - dir = 4 + name = "Arrival Airlock" }, /turf/unsimulated/floor, /area/centcom/evac) "bNO" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "pod3"; locked = 1; - name = "Arrival Airlock"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + name = "Arrival Airlock" }, +/turf/unsimulated/floor, /area/centcom/evac) "bOb" = ( /obj/structure/object_wall/evac{ @@ -23346,10 +22840,10 @@ dir = 4 }, /obj/machinery/door/airlock/external{ + dir = 4; frequency = 1331; id_tag = "synd_inner"; name = "Ship External Access"; - dir = 4; req_access = list(150) }, /obj/effect/decal/turf_decal/alpha/yellow{ @@ -23367,10 +22861,10 @@ /area/shuttle/escape/centcom) "bRb" = ( /obj/machinery/door/airlock/external{ + dir = 4; frequency = 1331; id_tag = "synd_outer"; name = "Ship External Access"; - dir = 4; req_access = list(150) }, /obj/machinery/access_button{ @@ -23420,8 +22914,8 @@ /area/velocity) "bVb" = ( /obj/machinery/status_display{ - supply_display = 1; - pixel_y = 32 + pixel_y = 32; + supply_display = 1 }, /turf/unsimulated/floor{ name = "plating" @@ -23457,9 +22951,9 @@ "bZb" = ( /obj/machinery/door/airlock/external{ dock_tag = "velocity_dock"; + locked = 1; name = "Supply Dock Airlock"; - req_access = list(101); - locked = 1 + req_access = list(101) }, /obj/machinery/door/firedoor, /turf/unsimulated/floor{ @@ -23794,8 +23288,8 @@ /area/velocity) "cCb" = ( /obj/machinery/door/airlock/centcom{ - req_access = list(101); - name = "Unisex Restrooms" + name = "Unisex Restrooms"; + req_access = list(101) }, /obj/machinery/door/firedoor, /turf/unsimulated/floor{ @@ -23869,16 +23363,15 @@ dir = 1 }, /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_hall"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /turf/unsimulated/floor{ icon_state = "plating" @@ -23934,9 +23427,7 @@ }, /obj/item/weapon/pen, /obj/item/weapon/stamp/velocity, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "cOr" = ( /turf/environment/space, @@ -23959,16 +23450,16 @@ "cRb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_room02"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/centcom{ dir = 4; - req_access = list(101); - name = "Conference Room" + name = "Conference Room"; + req_access = list(101) }, /obj/structure/disposalpipe/segment{ dir = 4 @@ -23999,15 +23490,15 @@ }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_hall"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/glass{ - req_access = list(101); - dir = 4 + dir = 4; + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 @@ -24068,9 +23559,7 @@ /obj/item/weapon/storage/box/cups{ pixel_y = 3 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "cYR" = ( /obj/structure/stool/bed/roller, @@ -24108,8 +23597,8 @@ /area/velocity) "dab" = ( /obj/machinery/door/airlock/centcom{ - req_access = list(101); - name = "Interrogation" + name = "Interrogation"; + req_access = list(101) }, /obj/machinery/door/firedoor, /turf/unsimulated/floor{ @@ -24170,16 +23659,16 @@ "dhb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell01"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Cell 1"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -24241,15 +23730,14 @@ }, /area/velocity) "dkx" = ( -/obj/machinery/light, -/obj/machinery/vending/wallmed1{ - name = "Emergency NanoMed"; - pixel_x = 30 +/obj/machinery/computer/cloning, +/obj/machinery/light{ + dir = 1 }, /turf/unsimulated/floor{ - icon_state = "floor" + icon_state = "white" }, -/area/centcom/evac) +/area/centcom/specops) "dlb" = ( /obj/machinery/firealarm{ dir = 1; @@ -24318,16 +23806,16 @@ "drb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell02"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Cell 2"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/sign/mark{ icon_state = "2"; @@ -24367,13 +23855,11 @@ /area/velocity) "dtX" = ( /obj/machinery/door/airlock/centcom{ - req_access = list(101); - name = "Parking" + name = "Parking"; + req_access = list(101) }, /obj/machinery/door/firedoor, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "dub" = ( /obj/structure/closet/l3closet/security, @@ -24424,8 +23910,8 @@ /area/velocity) "dyb" = ( /turf/unsimulated/floor{ - icon_state = "darkyellow"; - dir = 8 + dir = 8; + icon_state = "darkyellow" }, /area/velocity) "dzb" = ( @@ -24463,16 +23949,16 @@ "dDb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell03"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Cell3"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/sign/mark{ icon_state = "3"; @@ -24594,16 +24080,16 @@ "dQb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity_cell04"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/airlock/security/glass{ + dir = 4; name = "Cell4"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /obj/structure/sign/mark{ icon_state = "4"; @@ -24636,11 +24122,11 @@ "dSb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity06"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/structure/disposalpipe/segment{ dir = 4 @@ -24677,11 +24163,11 @@ "dUb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity05"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/structure/disposalpipe/segment{ dir = 8; @@ -24699,9 +24185,7 @@ /obj/structure/sign/mark{ icon_state = "ylf" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "dWb" = ( /obj/structure/stool/bed/chair/schair/monorail_chair{ @@ -24723,11 +24207,11 @@ "dYb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity06"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "delivery" @@ -24740,11 +24224,11 @@ "dZb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity05"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/firedoor{ dir = 4 @@ -24778,17 +24262,13 @@ /obj/structure/stool/bed/chair/schair/monorail_chair{ icon_state = "chair_a02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "edb" = ( /obj/structure/stool/bed/chair/schair/monorail_chair{ icon_state = "chair_a01" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "eeb" = ( /obj/effect/decal/turf_decal{ @@ -24833,11 +24313,11 @@ /turf/unsimulated/floor, /area/velocity) "ehN" = ( -/obj/structure/stool/bed/chair/schair/wagon, /obj/structure/extinguisher_cabinet{ pixel_x = 31; pixel_y = 4 }, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "eib" = ( @@ -24858,9 +24338,9 @@ /area/velocity/monorailwagon) "ekb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -24871,9 +24351,7 @@ icon_state = "3"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "elb" = ( /obj/effect/decal/turf_decal{ @@ -24998,9 +24476,9 @@ /area/velocity) "eBb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; @@ -25011,9 +24489,7 @@ icon_state = "1"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "eBl" = ( /turf/unsimulated/wall/abductor{ @@ -25033,18 +24509,14 @@ dir = 1; icon_state = "chair_a01" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "eEb" = ( /obj/structure/stool/bed/chair/schair/monorail_chair{ dir = 1; icon_state = "chair_a02" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "eFb" = ( /obj/effect/decal/turf_decal{ @@ -25061,11 +24533,11 @@ "eHb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity04"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "delivery" @@ -25078,11 +24550,11 @@ "eIb" = ( /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "velocity03"; name = "Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/machinery/door/firedoor{ dir = 4 @@ -25094,9 +24566,9 @@ /area/velocity) "eIp" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Living Quarters"; - req_access = list(105); - dir = 4 + req_access = list(105) }, /turf/unsimulated/floor{ dir = 8; @@ -25157,28 +24629,24 @@ /area/velocity) "eNc" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "pod4"; locked = 1; - name = "Arrival Airlock"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + name = "Arrival Airlock" }, +/turf/unsimulated/floor, /area/centcom/evac) "ePb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "5"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "eQb" = ( /obj/structure/rail_centcomm{ @@ -25253,17 +24721,15 @@ /area/space) "eZb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "3"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "eZK" = ( /mob/living/silicon/decoy{ @@ -25299,7 +24765,6 @@ /area/shuttle/officer/velocity) "fdb" = ( /obj/structure/window/fulltile/reinforced/indestructible{ - grilled = 1; icon_state = "gr_window_reinforced" }, /obj/structure/sign/tablo{ @@ -25438,9 +24903,9 @@ /area/custom/syndicate_mothership/elite_squad) "fqS" = ( /obj/machinery/door/airlock/centcom{ - req_access = list(101); dir = 4; - name = "Interrogation" + name = "Interrogation"; + req_access = list(101) }, /obj/machinery/door/firedoor{ dir = 4 @@ -25466,17 +24931,15 @@ /area/centcom/specops) "fsb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Brig"; - req_access = list(109); - dir = 4 + req_access = list(109) }, /obj/structure/sign/mark{ icon_state = "1"; layer = 3.5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/prison) "ftb" = ( /obj/structure/object_wall/velocity{ @@ -25567,7 +25030,7 @@ }, /area/velocity) "fDb" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/red, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk"; oxygen = 21.8366 @@ -25629,9 +25092,7 @@ locked = 1; name = "Arrival Airlock" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "fLb" = ( /obj/machinery/computer/specops_shuttle, @@ -25692,9 +25153,7 @@ /obj/structure/sign/warning/nosmoking/circle{ pixel_y = 32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "fSb" = ( /obj/machinery/light/small{ @@ -25985,10 +25444,10 @@ /area/velocity) "gnG" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "pod1"; locked = 1; - name = "Arrival Airlock"; - dir = 4 + name = "Arrival Airlock" }, /turf/unsimulated/floor, /area/centcom/evac) @@ -26160,9 +25619,9 @@ /area/centcom/specops) "gBb" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(101); - dir = 4 + req_access = list(101) }, /turf/unsimulated/floor{ icon_state = "vaultfull" @@ -26535,8 +25994,8 @@ /area/centcom/specops) "hkf" = ( /obj/machinery/door/airlock/hatch{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /obj/effect/decal/cleanable/dirt, /turf/simulated/shuttle/floor/vox, @@ -26916,7 +26375,7 @@ }, /area/centcom/specops) "hYb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /obj/machinery/light/small, @@ -26927,12 +26386,10 @@ /area/shuttle/specops/centcom) "hYD" = ( /obj/machinery/door/airlock/centcom{ - name = "Courthouse"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + dir = 4; + name = "Courthouse" }, +/turf/unsimulated/floor, /area/centcom/living) "hZb" = ( /obj/structure/sign/mark{ @@ -27002,9 +26459,7 @@ /obj/structure/sign/mark{ icon_state = "rrt" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "ihb" = ( /obj/structure/sign/mark{ @@ -27064,8 +26519,8 @@ /area/centcom/control) "irb" = ( /obj/machinery/door/airlock/hatch{ - name = "Infirmary"; - dir = 4 + dir = 4; + name = "Infirmary" }, /turf/simulated/shuttle/floor{ icon_state = "floor2" @@ -27232,7 +26687,7 @@ /turf/unsimulated/floor, /area/centcom/control) "iPu" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/evac, @@ -27372,9 +26827,7 @@ /obj/structure/stool/bed/chair/metal/blue{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "jbb" = ( /obj/random/vending/cola, @@ -27504,12 +26957,10 @@ /area/centcom/living) "joI" = ( /obj/machinery/door/airlock/centcom{ - name = "Waiting Room"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + dir = 4; + name = "Waiting Room" }, +/turf/unsimulated/floor, /area/centcom/evac) "jpb" = ( /obj/machinery/vending/dinnerware, @@ -28047,9 +27498,7 @@ locked = 1; name = "Arrival Airlock" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/evac) "ksb" = ( /obj/machinery/gateway{ @@ -28063,13 +27512,11 @@ }, /area/centcom/living) "kvb" = ( -/obj/structure/sign/mark{ - icon_state = "yrt" - }, +/obj/machinery/implantchair, /turf/unsimulated/floor{ - icon_state = "floor" + icon_state = "white" }, -/area/centcom/holding) +/area/centcom/specops) "kwb" = ( /obj/machinery/vending/coffee, /turf/unsimulated/floor{ @@ -28312,7 +27759,6 @@ /area/centcom/holding) "kVb" = ( /obj/effect/decal/turf_decal{ - dir = 2; icon_state = "mosaic_2" }, /turf/unsimulated/floor{ @@ -28858,18 +28304,13 @@ }, /area/centcom/control) "meb" = ( -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "pdoor0"; - id = "CentComPort02"; - layer = 4.1; - name = "Security Doors"; - opacity = 0 - }, -/turf/unsimulated/floor{ - icon_state = "floor" +/obj/machinery/light, +/obj/machinery/vending/wallmed1{ + name = "Emergency NanoMed"; + pixel_x = 30 }, -/area/centcom/control) +/turf/unsimulated/floor, +/area/centcom/evac) "mgb" = ( /obj/structure/window/thin/reinforced, /obj/structure/window/thin/reinforced{ @@ -28887,18 +28328,14 @@ }, /area/centcom/control) "mhb" = ( -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "pdoor0"; - id = "CentComPort"; - layer = 4.1; - name = "Security Doors"; - opacity = 0 +/obj/machinery/door/airlock/multi_tile/glass{ + dir = 4 }, /turf/unsimulated/floor{ - icon_state = "floor" + dir = 4; + icon_state = "whitehall" }, -/area/centcom/control) +/area/centcom/specops) "mib" = ( /obj/structure/window/thin/reinforced{ dir = 4 @@ -29125,9 +28562,7 @@ /obj/structure/sign/mark{ icon_state = "rlf" }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "mJb" = ( /obj/structure/flora/ausbushes/sparsegrass, @@ -29333,13 +28768,11 @@ /area/centcom/tdome) "nkX" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(101); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(101) }, +/turf/unsimulated/floor, /area/centcom/control) "nlb" = ( /turf/unsimulated/floor{ @@ -29668,8 +29101,8 @@ supply_display = 1 }, /obj/machinery/computer/cargo{ - req_access = list(101); - dir = 8 + dir = 8; + req_access = list(101) }, /turf/unsimulated/floor{ icon_state = "neutralfull" @@ -29737,9 +29170,9 @@ /area/centcom/holding) "oab" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(108); - dir = 4 + req_access = list(108) }, /obj/structure/sign/mark{ icon_state = "9"; @@ -29755,12 +29188,12 @@ }, /obj/machinery/door/poddoor{ density = 0; + dir = 4; icon_state = "pdoor0"; id = "CentComPort03"; layer = 4.1; name = "Security Doors"; - opacity = 0; - dir = 4 + opacity = 0 }, /obj/structure/plasticflaps/explosion_proof, /turf/unsimulated/floor, @@ -29789,8 +29222,8 @@ }, /obj/structure/curtain/open/shower/security, /obj/machinery/door/window{ - name = "Shower cabin"; - dir = 4 + dir = 4; + name = "Shower cabin" }, /obj/structure/drain{ drainage = 2 @@ -29838,7 +29271,7 @@ /area/shuttle/escape/centcom) "okb" = ( /obj/structure/window/thin/reinforced, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 8 }, /turf/simulated/shuttle/floor/evac/sec2, @@ -29876,12 +29309,12 @@ /turf/environment/space, /area/shuttle/escape/centcom) "orb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 8 - }, /obj/machinery/light{ dir = 4 }, +/obj/structure/stool/bed/chair/schair/wagon/red{ + dir = 8 + }, /turf/simulated/shuttle/floor/evac/sec2, /area/shuttle/escape/centcom) "osb" = ( @@ -29991,9 +29424,7 @@ /obj/machinery/computer/crew{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "oJb" = ( /obj/structure/object_wall/evac{ @@ -30028,11 +29459,11 @@ /obj/machinery/light{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/green, /turf/simulated/shuttle/floor/evac/place, /area/shuttle/escape/centcom) "oPb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor/evac/sec2, @@ -30083,12 +29514,12 @@ /turf/environment/space, /area/shuttle/escape/centcom) "oWb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 4 - }, /obj/machinery/light{ dir = 8 }, +/obj/structure/stool/bed/chair/schair/wagon/red{ + dir = 4 + }, /turf/simulated/shuttle/floor/evac/sec2, /area/shuttle/escape/centcom) "oXb" = ( @@ -30130,21 +29561,16 @@ /turf/unsimulated/floor, /area/centcom/evac) "pdb" = ( -/obj/machinery/door/airlock/external{ - name = "Arrival Airlock"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" +/obj/structure/sign/mark{ + icon_state = "yrt" }, -/area/centcom/evac) +/turf/unsimulated/floor, +/area/centcom/holding) "pdD" = ( /obj/structure/stool/bed/chair/metal/blue{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "peb" = ( /obj/machinery/vending/wallmed1{ @@ -30166,20 +29592,20 @@ /turf/unsimulated/floor, /area/centcom/evac) "pfP" = ( -/obj/machinery/door/airlock/external{ - dock_tag = "arrival_specops"; - locked = 1; - name = "Arrival Airlock"; - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "pdoor0"; + id = "CentComPort02"; + layer = 4.1; + name = "Security Doors"; + opacity = 0 }, -/area/centcom/evac) +/turf/unsimulated/floor, +/area/centcom/control) "pgb" = ( /obj/machinery/door/airlock/centcom{ - name = "Waiting Room"; - dir = 4 + dir = 4; + name = "Waiting Room" }, /obj/effect/decal/turf_decal{ dir = 1; @@ -30340,10 +29766,10 @@ /area/shuttle/escape/centcom) "pCb" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "shuttle_escape"; name = "Arrival Airlock"; - req_access = list(1); - dir = 4 + req_access = list(1) }, /turf/unsimulated/floor, /area/centcom/evac) @@ -30436,17 +29862,13 @@ /obj/machinery/computer/robotics{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "pQb" = ( /obj/machinery/computer/med_data{ dir = 8 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/centcom/control) "pSb" = ( /obj/structure/object_wall/evac{ @@ -30549,15 +29971,13 @@ /area/custom/syndicate_mothership/elite_squad) "qsx" = ( /obj/machinery/door/airlock/glass{ - name = "Locker Room"; - dir = 4 + dir = 4; + name = "Locker Room" }, /obj/machinery/door/firedoor{ dir = 4 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "quq" = ( /obj/machinery/door/airlock/centcom{ @@ -30574,14 +29994,14 @@ /area/custom/cult) "qFs" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "Special Operations"; - req_access = list(103); - dir = 4 + req_access = list(103) }, /obj/machinery/door/poddoor{ + dir = 4; id = "ERTBase"; - name = "ERT"; - dir = 4 + name = "ERT" }, /turf/unsimulated/floor{ icon_state = "dark" @@ -30604,9 +30024,7 @@ /obj/item/weapon/flora/pottedplant/tropicalfern{ pixel_y = 5 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "rXM" = ( /obj/item/weapon/flora/random, @@ -30719,9 +30137,7 @@ name = "\improper billboard"; pixel_y = -32 }, -/turf/unsimulated/floor{ - icon_state = "floor" - }, +/turf/unsimulated/floor, /area/velocity) "tqh" = ( /obj/structure/cult/statue/camera/gargoyle, @@ -30729,13 +30145,11 @@ /area/custom/cult) "tAz" = ( /obj/machinery/door/airlock/centcom{ + dir = 4; name = "General Access"; - req_access = list(101); - dir = 4 - }, -/turf/unsimulated/floor{ - icon_state = "floor" + req_access = list(101) }, +/turf/unsimulated/floor, /area/centcom/tdome) "tWq" = ( /obj/structure/stool/bed/chair/metal/red{ @@ -30748,8 +30162,8 @@ /area/custom/syndicate_mothership/elite_squad) "usD" = ( /obj/structure/sign/directions/velocity{ - icon_state = "tablo04"; dir = 4; + icon_state = "tablo04"; pixel_x = -32 }, /turf/unsimulated/floor{ @@ -30797,10 +30211,10 @@ /area/space) "vak" = ( /obj/machinery/door/airlock/external{ + dir = 4; dock_tag = "pod2"; locked = 1; - name = "Arrival Airlock"; - dir = 4 + name = "Arrival Airlock" }, /turf/unsimulated/floor, /area/centcom/evac) @@ -30837,8 +30251,8 @@ /area/velocity) "vlY" = ( /obj/machinery/door/airlock/external{ - name = "Salvage Shuttle Dock"; - dir = 4 + dir = 4; + name = "Salvage Shuttle Dock" }, /turf/simulated/shuttle/plating, /area/centcom/evac) @@ -31008,8 +30422,8 @@ /area/custom/cult) "yfz" = ( /obj/machinery/door/airlock/maintenance_hatch{ - req_access = list(150); - dir = 4 + dir = 4; + req_access = list(150) }, /turf/simulated/shuttle/floor/vox{ icon_state = "floorcatwalk" @@ -48439,7 +47853,7 @@ aaM aaM aHv pcb -pfP +bNb abn aHv aaM @@ -48654,7 +48068,7 @@ aaM aaM aHv abn -pfP +bNb abn aHv aaM @@ -49210,7 +48624,7 @@ aaM abn pbb hyb -aIy +aII hOb afQ abn @@ -49425,7 +48839,7 @@ aaM aHJ hZb hyb -aIy +aII hOb hRb aHJ @@ -49723,9 +49137,9 @@ auk aaM aHv aHv -aIy -aIy -aIy +aII +aII +aII aHv aHv aaM @@ -49938,7 +49352,7 @@ aKl aaM aHv aHv -aIy +aII igb aJe aHv @@ -50238,7 +49652,7 @@ aaM aaM aaM abn -aIy +aII abn aaM aaM @@ -50453,7 +49867,7 @@ aaM aaM aaM abn -aIy +aII abn aaM aaM @@ -50752,7 +50166,7 @@ aaM aaM aaM abn -aIy +aII abn aaM aaM @@ -51009,7 +50423,7 @@ aHv aHv abn abn -pdb +aFf abn aaM aaM @@ -51278,7 +50692,7 @@ iPu abE aad aff -afi +oOb aRG aRG aWR @@ -51475,13 +50889,13 @@ aaM aaM aHv hyb -aIy +aII hOb hSb -aIy +aII hZb hyb -aIy +aII hOb hRb aHJ @@ -51988,9 +51402,9 @@ vYm vYm vYm kri -aIy -aIy -dkx +aII +aII +meb aHv aHv aHv @@ -52252,7 +51666,7 @@ aHv aaM aHv aHv -pdb +aFf aHv aHv aaM @@ -52310,11 +51724,11 @@ afp aRG aRG aWR -avJ +afp ehN adU aWR -avJ +afp aWR abq aeg @@ -53536,15 +52950,15 @@ aID aHv hWb aIc -aIy -aIy -aIy +aII +aII +aII hRb aJE hgb -aIy -aIy -aIy +aII +aII +aII aIc hWb aHv @@ -53794,13 +53208,13 @@ aHv hWb aIc aIB -aIy -aIy +aII +aII hRb aII hgb -aIy -aIy +aII +aII aIB aIc hWb @@ -54062,7 +53476,7 @@ aHv aHv aHv aHv -aIy +aII aMb aNo jlb @@ -54083,9 +53497,9 @@ aeb lOb aSo mab -meb +pfP aSD -aJP +aSd aJu aHv aHv @@ -54319,13 +53733,13 @@ ivb iBb ivb ivb -aIy -aIy +aII +aII aIc jmb jzb aIc -aIy +aII aNq aHv aOE @@ -54336,13 +53750,13 @@ aOF aRw aNs jgb -aJP +aSd aKp lZb mcb aKp mlb -aJP +aSd aVu aVK aWb @@ -54564,25 +53978,25 @@ aaM aHv hWb aIc -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII jab aMC aMX jEb -aIy +aII aNq jOb aOF @@ -54593,13 +54007,13 @@ aOF aOF lsb lGb -aJP +aSd lPb aTJ aTY mgb jgb -aJP +aSd iyb mub hGb @@ -54821,25 +54235,25 @@ aaM aHv hWb aIc -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy -aIy +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII +aII jab aMD aMX jFb -aIy +aII aNq aNM aOF @@ -54850,13 +54264,13 @@ aOF aOF ltb lGb -aJP +aSd lQb aTJ aTZ mob jgb -aJP +aSd aKX ndb aIO @@ -55090,30 +54504,30 @@ aKK aLc aKK aKK -aIy -aIy +aII +aII aIc jnb jAb aIc -aIy +aII aNq aHv aOG -kvb +pdb aRx aOG -kvb +pdb aRx aNs jgb -aJP +aSd aKp mSb mdb aKp mmb -aJP +aSd aVv aSc aWc @@ -55347,7 +54761,7 @@ aHv aHv aHv aHv -aIy +aII aMc aNw jlb @@ -55368,7 +54782,7 @@ aee lRb aSo mab -mhb +aFz aSE avw aJu @@ -55593,13 +55007,13 @@ aHv hWb aIc aIC -aIy -aIy +aII +aII hRb aII hgb -aIy -aIy +aII +aII aIC aIc hWb @@ -55849,15 +55263,15 @@ aaM aHv hWb aIc -aIy -aIy -aIy +aII +aII +aII hRb aXj hgb -aIy -aIy -aIy +aII +aII +aII aIc hWb aHv @@ -55871,10 +55285,10 @@ aaM aaM aNs aOI -kvb +pdb aOF aOF -kvb +pdb aRz aNs aSd @@ -56642,7 +56056,7 @@ aaM aaM aaU aOG -kvb +pdb aRx aOF adY @@ -57331,7 +56745,7 @@ aaM aaM aaM aps -apS +azi aps aaM aaM @@ -57588,7 +57002,7 @@ aps aps aps aps -apz +apv aps aaM aaM @@ -60780,11 +60194,11 @@ aXM aXM aXM aXM -aSH -aYW -aSH +aXv +aZg +aXv aZs -aSH +aXv aSj aaM aaM @@ -61041,7 +60455,7 @@ aYQ aSj aSj aSj -aSH +aXv aSj aaM aaM @@ -62792,18 +62206,18 @@ aaM aaM aaM aJu -aJP +aSd aKd -aJP +aSd itb iwb iwb iEb iIb -aJP -aJP +aSd +aSd aKd -aJP +aSd aJu aKu aaM @@ -63049,18 +62463,18 @@ aaM aaM aaM aaS -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd aaS aKu ahJ @@ -63306,7 +62720,7 @@ aaM aaM aaM aaS -aJP +aSd aKe aKo aKo @@ -63317,7 +62731,7 @@ aKo aKo aKo jfb -aJP +aSd aaS aKu aaM @@ -63563,7 +62977,7 @@ aaM aaM aaM aJu -aJP +aSd aKf aKp aKp @@ -63574,7 +62988,7 @@ aKp aJu aJu jgb -aJP +aSd aaS aKu aaM @@ -63589,7 +63003,7 @@ aOO lCb aSj aSG -aSH +aXv aRH aUb aUn @@ -63820,18 +63234,18 @@ aBp aBp aBp aJu -aJP +aSd aKf aKp aKA aLs -aJP +aSd pOb aLA aJu aJu jgb -aJP +aSd aJu aKu aaM @@ -63845,10 +63259,10 @@ ldb aOP lEb aSj -aSH +aXv aTn aTM -aSH +aXv aUo aUH lKb @@ -64080,11 +63494,11 @@ aJu imb aKf aKp -aJP +aSd aKP -aJP +aSd aKP -aJP +aSd aLQ aKp jgb @@ -64105,7 +63519,7 @@ aRH aRH aTo aRH -aSH +aXv aUo aSj lKb @@ -64596,10 +64010,10 @@ aKf aKp aKC aKR -aJP -aJP -aJP -aJP +aSd +aSd +aSd +aSd aKp jgb jsb @@ -65095,9 +64509,9 @@ aBp aBp aBp aBp -hBb -hBb aBp +hBb +mhb aBp aBp aBp @@ -65108,11 +64522,11 @@ aJu ipb aKf aKp -aJP +aSd aKT -aJP +aSd aKT -aJP +aSd aLT aKp jgb @@ -65133,7 +64547,7 @@ aRH aRH aTp aRH -aSH +aXv aUp aSj lKb @@ -65350,30 +64764,30 @@ gtb gtb gTb aBp -aFy +kvb +aFW +aFW aFW aFW aFW aFW aHw aBp -aaM -aBp aBp aBp aJu -aJP +aSd aKf aKp aKA oIb -aJP +aSd pQb aLB aJu aJu jgb -aJP +aSd aJu aaM aaM @@ -65387,10 +64801,10 @@ leb aOF lEb aSj -aSH +aXv aTq aTN -aSH +aXv aUp aUH lKb @@ -65607,7 +65021,9 @@ gtb gtb gUb aCt -aFz +aFy +aFW +aFW aFW aFW aFW @@ -65616,10 +65032,8 @@ aHx aaR aaM aaM -aaM -aaM aJu -aJP +aSd aKf aKp aKp @@ -65630,7 +65044,7 @@ aKp aJu aJu jgb -aJP +aSd aaS aaM aaM @@ -65645,7 +65059,7 @@ aOF lqb aSj aSG -aSH +aXv aRH aUc aUq @@ -65864,7 +65278,9 @@ gtb gtb gVb aCt -aFA +dkx +aFW +aFW aFW aFW aFW @@ -65873,10 +65289,8 @@ aHy aaR aaM aaM -aaM -aaM aaS -aJP +aSd iqb isb isb @@ -65887,7 +65301,7 @@ isb isb isb jhb -aJP +aSd aaS aaM aaM @@ -66121,7 +65535,9 @@ gtb gtb gUb aCt -aFB +aFA +aFW +aFW aFW aFW aFW @@ -66130,21 +65546,19 @@ aHz aaR aaM aaM -aaM -aaM aaS -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP -aJP +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd +aSd aaS aaM aaM @@ -66380,28 +65794,28 @@ gWb aBp aFC aFW -amt aGQ +amt aGQ +aFW +aFB aHA aBp aaM aaM -aaM -aaM aJu -aJP +aSd aKh -aJP +aSd iub ixb ixb iFb iJb -aJP -aJP +aSd +aSd aKh -aJP +aSd aJu aaM aaM @@ -67679,8 +67093,8 @@ afH aEW aEW aJu -aJP -aJP +aSd +aSd iGb aKp inb @@ -67937,7 +67351,7 @@ afH aEW aJu aKY -aJP +aSd iGb iKb inb @@ -68193,8 +67607,8 @@ aJU hvb aEW aJu -aJP -aJP +aSd +aSd iGb aKp inb @@ -68237,7 +67651,7 @@ aYQ aSj aSj aSj -aSH +aXv aSj aaM aaM @@ -68450,9 +67864,9 @@ aJV hvb aEW aJu -aJP -aJP -aJP +aSd +aSd +aSd aJu aJu aJu @@ -68490,11 +67904,11 @@ aXT aXT aXT aXT -aSH -aYW +aXv +aZg aZj -aSH -aSH +aXv +aXv aSj aaM aaM @@ -68707,8 +68121,8 @@ aJW hvb aEW aJu -aJP -aJP +aSd +aSd iHb aKp aLU @@ -68965,7 +68379,7 @@ hvb aEW aJu aKY -aJP +aSd iHb aLF aLU @@ -69221,8 +68635,8 @@ aFX hvb aEW aJu -aJP -aJP +aSd +aSd iHb aKp aLU @@ -69478,9 +68892,9 @@ aFX hvb aEW aJu -aJP -aJP -aJP +aSd +aSd +aSd aJu aJu aJu @@ -69735,9 +69149,9 @@ aFX hvb aEW aJu -aJP -aJP -aJP +aSd +aSd +aSd aJu iPb iWb @@ -69992,9 +69406,9 @@ aFX hvb aEW aJu -aJP -aJP -aJP +aSd +aSd +aSd aJu iQb inb @@ -70250,8 +69664,8 @@ hvb aEW aJu aKY -aJP -aJP +aSd +aSd aLj iPb iXb @@ -74060,7 +73474,7 @@ acK adm beb auM -arZ +weI aoo aaM aaM @@ -74317,7 +73731,7 @@ acJ ado elQ eCb -arZ +weI aoo aaM aaM @@ -74831,7 +74245,7 @@ agI adp elQ eCb -arZ +weI aoo aaM aaM @@ -75088,7 +74502,7 @@ acO ads elQ eCb -arZ +weI aoo aaM aaM @@ -75602,7 +75016,7 @@ ako aeZ elQ eCb -arZ +weI aoo feM gdm @@ -75859,7 +75273,7 @@ acP adt elQ eCb -arZ +weI aoo xAA gdm @@ -76373,7 +75787,7 @@ acD afb elQ eCb -arZ +weI aoo jaA xzP @@ -76630,10 +76044,10 @@ acU adu elQ eCb -arZ +weI aoo voK -arZ +weI giW asE asE @@ -76891,7 +76305,7 @@ aux aoo pdD hwF -arZ +weI pnw asE vaT @@ -77392,19 +76806,19 @@ aaM aaM aoo aum -arZ +weI avT avB mIJ avB -arZ +weI avT -arZ -arZ -arZ +weI +weI +weI avB -arZ -arZ +weI +weI ayk aoo aoo @@ -77648,21 +77062,21 @@ aoo aoo aoo aoo -arZ +weI avC avh auO -arZ +weI avC avh auO -arZ +weI avC avh auO -arZ -arZ -arZ +weI +weI +weI aoo asA asA @@ -77878,7 +77292,7 @@ asw asw aqC aqC -arZ +weI kVY bUb bJz @@ -77905,21 +77319,21 @@ atr hWY aoo aun -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI ayq atq atq @@ -78135,7 +77549,7 @@ asw asw aqC jqW -arZ +weI kVY bUb bUb @@ -78162,21 +77576,21 @@ atH atH aoo pNz -arZ +weI avC avh auO -arZ +weI avC avh auO -arZ +weI avC avh auO -arZ -arZ -arZ +weI +weI +weI ayr atq asB @@ -78191,7 +77605,7 @@ aaM aoo aoo ayl -arZ +weI aCw gib gvb @@ -78392,7 +77806,7 @@ asw asw bTb aqC -arZ +weI kVY bUb bUb @@ -78419,21 +77833,21 @@ atH atH atx dFb -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ -arZ +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI +weI ayq atq atq @@ -78448,7 +77862,7 @@ aaM aoo aoo aBt -arZ +weI aCx gjb gwb @@ -78649,7 +78063,7 @@ aqC aqC xdd aqC -arZ +weI fYB cAB wmN @@ -78705,7 +78119,7 @@ aaM aoo aoo aBu -arZ +weI aCy gjb gwb @@ -79189,29 +78603,29 @@ aoo atK atU aoo -arZ -arZ +weI +weI dLb dTb -arZ +weI ecb awn awI axg exb eDb -arZ +weI axS eJb -arZ -arZ +weI +weI aoo ayv ayz -arZ +weI aoo azf -arZ +weI fkb aAb aAy @@ -79421,13 +78835,13 @@ aoo hRf ccb bYb -arZ +weI bXb cbb cgb aro cib -arZ +weI cgb aoo apX @@ -79443,25 +78857,25 @@ asE asE asE quq -arZ +weI atV atB -arZ +weI aap auS dTb -arZ +weI edb awo awJ axh exb eEb -arZ +weI axS axY aaq -arZ +weI atB ayw ayA @@ -79678,13 +79092,13 @@ aoo jeW cbb bXb -arZ +weI bYb ccb cgb arp cib -arZ +weI cgb aoo apY @@ -79707,14 +79121,14 @@ aur auB auT dTb -arZ +weI ecb awo awK axi exb eDb -arZ +weI axS axZ ayg @@ -79964,18 +79378,18 @@ aKO auC auQ dTb -arZ +weI edb awo awL axj eyb eEb -arZ +weI axS aoo ayh -arZ +weI aoo atM aaL @@ -80239,7 +79653,7 @@ aoo aoo aoo azh -arZ +weI aoo aAe aAl @@ -80476,18 +79890,18 @@ dxb aoo aut dGb -arZ +weI dVb dVb avB -arZ -arZ +weI +weI axk -arZ +weI avB dVb dVb -arZ +weI eLb aut aoo @@ -80504,7 +79918,7 @@ weI weI aoo fRb -arZ +weI aCB gnb aqx @@ -80727,29 +80141,29 @@ cGb cGb cGb aao -arZ -arZ +weI +weI atV atB -arZ +weI dGb -arZ -arZ -arZ +weI +weI +weI eeb ehb elb etb ezb eFb -arZ -arZ -arZ +weI +weI +weI eLb eNb ays eCb -arZ +weI eNb apu eCb @@ -80990,18 +80404,18 @@ dzb dBb auu dHb -arZ -arZ -arZ +weI +weI +weI efb eib emb eub eAb eGb -arZ -arZ -arZ +weI +weI +weI eMb auu aoo @@ -81009,7 +80423,7 @@ ayJ ayC ayy aoo -arZ +weI azD aoo aAg diff --git a/maps/delta/delta.dmm b/maps/delta/delta.dmm index 8813c5963c8c..596ff5179747 100644 --- a/maps/delta/delta.dmm +++ b/maps/delta/delta.dmm @@ -1167,11 +1167,8 @@ }, /area/station/security/checkpoint/escape) "abQ" = ( -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "MedbayFoyerOut"; - name = "Medbay Doors Control"; - pixel_y = -26 +/obj/structure/extinguisher_cabinet{ + pixel_y = -30 }, /turf/simulated/floor{ dir = 6; @@ -1967,6 +1964,16 @@ /obj/item/clothing/mask/bandana/skull, /turf/simulated/floor, /area/station/cargo/storage) +"adh" = ( +/obj/machinery/alarm{ + pixel_x = 29; + pixel_y = -6 + }, +/turf/simulated/floor{ + dir = 4; + icon_state = "whitebluecorner" + }, +/area/station/medical/hallway) "adi" = ( /obj/structure/closet/l3closet/scientist, /obj/effect/decal/cleanable/dirt, @@ -2004,6 +2011,38 @@ }, /turf/simulated/floor/plating/airless, /area/station/rnd/test_area) +"adl" = ( +/obj/machinery/firealarm{ + dir = 1; + pixel_y = -22 + }, +/turf/simulated/floor{ + icon_state = "whitepurplecorner" + }, +/area/station/rnd/hallway) +"adm" = ( +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 1 + }, +/obj/structure/disposalpipe/segment{ + dir = 2; + icon_state = "pipe-c" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor, +/area/station/rnd/hallway) "adn" = ( /obj/machinery/atmospherics/components/unary/vent_pump/on{ dir = 8 @@ -2374,12 +2413,6 @@ /obj/machinery/door/firedoor{ dir = 4 }, -/obj/machinery/door/airlock/medical/glass{ - dir = 4; - id_tag = "MedbayFoyerOut"; - name = "Medbay"; - req_one_access = list(2,5) - }, /obj/machinery/door/poddoor{ density = 0; dir = 4; @@ -2388,6 +2421,13 @@ name = "Medbay Biohazard Blast Doors"; opacity = 0 }, +/obj/machinery/door/airlock/medical/glass{ + dir = 4; + id_tag = "MedbayFoyerOut"; + name = "Medbay"; + req_one_access = list(2,5) + }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -2951,12 +2991,6 @@ /obj/machinery/door/firedoor{ dir = 4 }, -/obj/machinery/door/airlock/medical/glass{ - dir = 4; - id_tag = "med_second_ex"; - name = "Medbay Side Entrance"; - req_access = list(5) - }, /obj/structure/disposalpipe/segment{ dir = 4 }, @@ -2968,6 +3002,13 @@ name = "Medbay Biohazard Blast Doors"; opacity = 0 }, +/obj/machinery/door/airlock/medical/glass{ + dir = 4; + id_tag = "med_second_ex"; + name = "Medbay Side Entrance"; + req_access = list(5) + }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "neutralchoco" }, @@ -3934,7 +3975,7 @@ /turf/simulated/floor, /area/station/medical/cryo) "atk" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet, @@ -4312,7 +4353,7 @@ name = "shuttle window"; opacity = 0 }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "ayd" = ( /obj/machinery/door/firedoor{ @@ -5266,11 +5307,6 @@ }, /area/station/security/brig) "aHT" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/sortjunction/flipped{ @@ -7153,7 +7189,7 @@ }, /area/station/bridge/ai_upload) "bcR" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -8165,21 +8201,11 @@ }, /area/station/engineering/atmos) "bmn" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/effect/decal/turf_decal{ - dir = 4; - icon_state = "warn" - }, /turf/simulated/floor{ dir = 4; - icon_state = "blue" + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "bmq" = ( /obj/machinery/atmospherics/components/unary/vent_scrubber/on, /obj/machinery/ai_status_display{ @@ -9698,7 +9724,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "bCr" = ( /obj/machinery/atmospherics/pipe/manifold/visible/yellow{ @@ -16426,7 +16452,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "cVT" = ( /obj/effect/decal/cleanable/dirt, @@ -17286,11 +17312,6 @@ /area/station/storage/emergency) "dhs" = ( /obj/item/device/radio/beacon, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /turf/simulated/floor{ dir = 1; icon_state = "whitepurple" @@ -17722,24 +17743,18 @@ /turf/simulated/floor, /area/station/maintenance/medbay) "dkC" = ( -/obj/structure/closet/firecloset, -/obj/machinery/light/small{ - dir = 1 - }, /obj/machinery/firealarm{ pixel_y = 22 }, -/obj/effect/decal/turf_decal/alpha/yellow{ - icon_state = "bot_old" - }, -/obj/effect/decal/turf_decal{ - dir = 5; - icon_state = "warn" +/obj/structure/stool/bed/roller, +/obj/machinery/light_switch{ + pixel_x = 28 }, /turf/simulated/floor{ - icon_state = "graychoco" + dir = 5; + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "dkO" = ( /obj/structure/sign/nanotrasen{ pixel_y = 32 @@ -19250,22 +19265,23 @@ }, /area/station/hallway/primary/central) "dEr" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ - d1 = 1; d2 = 2; - icon_state = "1-2" + icon_state = "0-2" }, -/obj/structure/disposalpipe/segment{ - dir = 8; - icon_state = "pipe-c" +/obj/structure/window/fulltile/reinforced{ + grilled = 1; + icon_state = "gr_window_reinforced" }, -/turf/simulated/floor{ - dir = 4; - icon_state = "whitered" +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "pdoor0"; + id = "genetic_shutters"; + name = "Genetic Shutters"; + opacity = 0 }, -/area/station/rnd/hallway) +/turf/simulated/floor/plating, +/area/station/security/checkpoint/medbay) "dEz" = ( /obj/structure/cable{ d1 = 2; @@ -20385,18 +20401,20 @@ /turf/simulated/wall/r_wall, /area/station/engineering/monitoring) "dTt" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/machinery/camera{ - c_tag = "Research Division East"; - network = list("SS13","Research") +/obj/machinery/door/firedoor, +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "pdoor0"; + id = "genetic_shutters"; + name = "Genetic Shutters"; + opacity = 0 }, -/turf/simulated/floor{ - dir = 1; - icon_state = "whitepurplecorner" +/obj/structure/window/fulltile{ + grilled = 1; + icon_state = "gr_window" }, -/area/station/rnd/hallway) +/turf/simulated/floor/plating, +/area/station/medical/genetics_cloning) "dTH" = ( /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "bot_old" @@ -20603,7 +20621,7 @@ }, /area/station/security/prison) "dVA" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -22157,27 +22175,27 @@ /turf/environment/space, /area/shuttle/supply/station) "enb" = ( -/obj/machinery/atmospherics/components/unary/vent_pump/on{ - dir = 1 - }, /obj/item/device/radio/intercom{ frequency = 1485; name = "Station Intercom (Medbay)"; pixel_y = -32 }, /obj/machinery/camera{ - c_tag = "MedSci Buffer"; + c_tag = "Genetics Cloning"; dir = 8; network = list("SS13","Research","Medical") }, -/obj/effect/decal/turf_decal{ - dir = 6; - icon_state = "warn" +/obj/structure/table/glass, +/obj/item/weapon/storage/box/bodybags{ + pixel_x = -1; + pixel_y = -2 }, +/obj/item/weapon/pen, /turf/simulated/floor{ - icon_state = "graychoco" + dir = 6; + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "eni" = ( /obj/structure/toilet{ dir = 8 @@ -22256,12 +22274,10 @@ /turf/simulated/floor, /area/station/rnd/chargebay) "enN" = ( -/obj/machinery/door_control{ - id = "scince_lab_shutters"; - name = "Science Lab Shutters"; - pixel_x = 26 +/obj/structure/closet/secure_closet/scientist, +/obj/item/device/cardpay{ + dir = 1 }, -/obj/machinery/autolathe, /turf/simulated/floor{ icon_state = "purplechecker" }, @@ -23190,44 +23206,14 @@ /turf/simulated/floor, /area/station/civilian/chapel/mass_driver) "eyL" = ( -/obj/structure/table/reinforced, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/structure/cable{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "ScienceTransOut"; - name = "Science Doors Control"; - pixel_x = -6 - }, -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "MedTransOut"; - name = "Medbay Doors Control"; - pixel_x = 6 +/obj/structure/disposalpipe/segment{ + dir = 4 }, /turf/simulated/floor{ dir = 1; - icon_state = "red" + icon_state = "whiteblue" }, -/area/station/security/checkpoint/medbay) +/area/station/rnd/hallway) "eyM" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor{ @@ -24550,7 +24536,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/atmos) "eNZ" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -24828,9 +24814,6 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/light/small{ - dir = 1 - }, /turf/simulated/floor{ dir = 9; icon_state = "whiteblue" @@ -25933,7 +25916,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "fdo" = ( /obj/structure/flora/junglebush, @@ -27543,23 +27526,32 @@ }, /area/station/civilian/library) "fuP" = ( +/obj/structure/table/reinforced, +/obj/structure/cable{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/structure/cable{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, /obj/structure/cable{ d1 = 1; d2 = 4; icon_state = "1-4" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/structure/disposalpipe/sortjunction{ - dir = 2; - icon_state = "pipe-j2s"; - name = "RnD Break Room"; - sortType = "RnD Break Room" - }, /turf/simulated/floor{ - icon_state = "whitepurplefull" + dir = 1; + icon_state = "red" }, -/area/station/rnd/hallway) +/area/station/security/checkpoint/medbay) "fuV" = ( /obj/effect/decal/turf_decal{ dir = 8; @@ -28969,7 +28961,7 @@ /turf/simulated/floor/wood, /area/station/civilian/dormitories/service_bedrooms) "fLe" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 1 }, /obj/item/device/radio/intercom/pod{ @@ -29312,13 +29304,22 @@ /turf/simulated/floor/plating, /area/station/maintenance/chapel) "fPR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/machinery/camera{ + c_tag = "Research Division East"; + network = list("SS13","Research") + }, +/obj/item/device/radio/intercom{ + name = "Station Intercom (General)"; + pixel_y = 22 }, /turf/simulated/floor{ - icon_state = "graychoco" + dir = 4; + icon_state = "whitebluecorner" }, -/area/station/medical/hallway) +/area/station/rnd/hallway) "fPS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/sortjunction{ @@ -29332,11 +29333,6 @@ }, /area/station/rnd/lab) "fQf" = ( -/obj/item/device/radio/intercom{ - name = "Station Intercom (General)"; - pixel_x = 28; - pixel_y = -5 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ @@ -29345,10 +29341,25 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, +/obj/machinery/door/poddoor{ + density = 0; + dir = 4; + icon_state = "pdoor0"; + id = "Biohazard"; + name = "Biohazard Shutter"; + opacity = 0 + }, +/obj/machinery/door/firedoor{ + dir = 4 + }, +/obj/machinery/door/airlock/research{ + name = "Genetics Lab"; + req_access = list(9,47) + }, /turf/simulated/floor{ - icon_state = "whiteredcorner" + icon_state = "bluechoco" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "fQi" = ( /obj/structure/stool/bed/chair{ dir = 1 @@ -30849,15 +30860,13 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/decal/turf_decal{ - dir = 8; - icon_state = "warn" +/obj/structure/disposalpipe/segment{ + dir = 4 }, /turf/simulated/floor{ - dir = 8; - icon_state = "whiteblue" + icon_state = "whitepurplefull" }, -/area/station/medical/hallway) +/area/station/rnd/hallway) "giN" = ( /obj/machinery/door/firedoor, /obj/structure/window/fulltile/reinforced{ @@ -32217,7 +32226,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "gvb" = ( /obj/effect/decal/cleanable/dirt, @@ -32880,17 +32889,14 @@ }, /area/station/hallway/primary/starboard) "gAU" = ( -/obj/structure/closet/secure_closet/scientist, /obj/machinery/firealarm{ dir = 8; pixel_x = -22 }, -/obj/item/device/cardpay{ - dir = 1 - }, /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "bot_old" }, +/obj/machinery/autolathe, /turf/simulated/floor{ icon_state = "graychoco" }, @@ -33238,6 +33244,11 @@ name = "Research and Development Lab"; req_one_access = list(7,29) }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor{ icon_state = "purplechoco" }, @@ -33389,7 +33400,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "gHD" = ( /obj/structure/table/woodentable, @@ -33469,7 +33480,7 @@ }, /area/station/engineering/atmos/supermatter) "gIj" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/structure/cable{ @@ -33540,7 +33551,7 @@ }, /area/station/security/brig) "gJd" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/machinery/alarm{ pixel_y = 22 }, @@ -33700,10 +33711,6 @@ id = "genetic_shutters"; name = "Genetic Shutters" }, -/obj/item/weapon/reagent_containers/spray/cleaner{ - pixel_x = -6; - pixel_y = 12 - }, /turf/simulated/floor{ dir = 5; icon_state = "darkblue" @@ -33817,7 +33824,7 @@ /area/station/hallway/secondary/mine_sci_shuttle) "gMz" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -34712,8 +34719,16 @@ }, /area/station/rnd/scibreak) "gWl" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/structure/disposalpipe/sortjunction{ + dir = 2; + icon_state = "pipe-j2s"; + name = "RnD Break Room"; + sortType = "RnD Break Room" + }, /turf/simulated/floor{ - icon_state = "whitepurplecorner" + icon_state = "whitepurplefull" }, /area/station/rnd/hallway) "gWm" = ( @@ -35645,6 +35660,10 @@ /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "bot_left" }, +/obj/machinery/firealarm{ + dir = 8; + pixel_x = -22 + }, /turf/simulated/floor{ dir = 8; icon_state = "darkblue" @@ -38553,7 +38572,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "hKE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -39367,7 +39386,7 @@ /turf/simulated/floor/plating, /area/station/security/interrogation) "hUZ" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/yellow, /obj/machinery/light/small{ dir = 4 }, @@ -39684,11 +39703,6 @@ /turf/simulated/wall/r_wall, /area/station/maintenance/escape) "hXw" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /turf/simulated/floor{ dir = 1; icon_state = "whitepurplecorner" @@ -45011,8 +45025,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/structure/extinguisher_cabinet{ - pixel_y = 29 +/obj/machinery/computer/guestpass{ + dir = 1; + pixel_y = 28 }, /turf/simulated/floor{ dir = 5; @@ -45194,7 +45209,7 @@ /turf/simulated/floor/plating, /area/station/engineering/atmos/supermatter) "jgt" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -47235,10 +47250,6 @@ /area/station/hallway/primary/central) "jBX" = ( /obj/machinery/door/firedoor, -/obj/machinery/door/airlock/medical/glass{ - name = "Medbay Treatment Center"; - req_access = list(5) - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "pdoor0"; @@ -47246,6 +47257,11 @@ name = "Medbay Biohazard Blast Doors"; opacity = 0 }, +/obj/machinery/door/airlock/medical/glass{ + name = "Medbay Treatment Center"; + req_access = list(5) + }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -47954,7 +47970,7 @@ /area/station/security/brig) "jJK" = ( /obj/effect/landmark/start/captain, -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor{ @@ -49777,7 +49793,7 @@ }, /area/station/hallway/secondary/entry) "kdy" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /obj/structure/cable{ d1 = 1; d2 = 2; @@ -50756,13 +50772,7 @@ dir = 4; id_tag = "MedTransOut"; name = "Medsci Airlock"; - req_one_access = list(2,5) - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 + req_one_access = list(5) }, /obj/machinery/door/poddoor{ density = 0; @@ -50775,7 +50785,7 @@ /turf/simulated/floor{ icon_state = "bluechoco" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "kna" = ( /obj/structure/closet/secure_closet/pistols, /obj/item/ammo_box/magazine/glock, @@ -51511,7 +51521,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /turf/simulated/floor/wood, /area/station/bridge/hop_office) "kuF" = ( @@ -52426,7 +52436,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "kFO" = ( /obj/machinery/shower/free{ @@ -53141,10 +53151,6 @@ /turf/simulated/floor, /area/station/rnd/lab) "kLr" = ( -/obj/machinery/firealarm{ - dir = 1; - pixel_y = -22 - }, /obj/effect/decal/turf_decal/white{ dir = 4; icon_state = "siding_line" @@ -54174,12 +54180,6 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/door/airlock/medical/glass{ - dir = 4; - id_tag = "MedbayFoyerOut"; - name = "Medbay"; - req_one_access = list(2,5) - }, /obj/machinery/door/poddoor{ density = 0; dir = 4; @@ -54188,6 +54188,13 @@ name = "Medbay Biohazard Blast Doors"; opacity = 0 }, +/obj/machinery/door/airlock/medical/glass{ + dir = 4; + id_tag = "MedbayFoyerOut"; + name = "Medbay"; + req_one_access = list(2,5) + }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -55081,7 +55088,7 @@ }, /area/station/security/brig) "liB" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/yellow, /obj/machinery/light/small{ dir = 4 }, @@ -57000,12 +57007,17 @@ c_tag = "Research and Development Lab"; network = list("SS13","Research") }, +/obj/machinery/door_control{ + id = "scince_lab_shutters"; + name = "Science Lab Shutters"; + pixel_y = 26 + }, /turf/simulated/floor{ icon_state = "purplechecker" }, /area/station/rnd/lab) "lEf" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /obj/machinery/light/smart, @@ -58893,10 +58905,6 @@ }, /area/station/hallway/primary/port) "map" = ( -/obj/effect/decal/turf_decal{ - dir = 1; - icon_state = "warn_corner" - }, /turf/simulated/floor{ dir = 10; icon_state = "whiteblue" @@ -58931,7 +58939,7 @@ dir = 8; icon_state = "siding_wood_line" }, -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /mob/living/carbon/ian, /turf/simulated/floor/wood, /area/station/bridge/hop_office) @@ -61866,11 +61874,13 @@ d2 = 2; icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 + dir = 8 }, -/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers, -/obj/structure/disposalpipe/segment, /turf/simulated/floor{ icon_state = "whitechoco" }, @@ -62170,11 +62180,17 @@ }, /area/station/hallway/primary/central) "mKN" = ( +/obj/item/device/radio/intercom{ + broadcasting = 1; + frequency = 1485; + name = "Station Intercom (Medbay)"; + pixel_y = 22 + }, +/obj/structure/closet/l3closet/scientist, /turf/simulated/floor{ - dir = 1; - icon_state = "whiteblue" + icon_state = "vaultfull" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "mKP" = ( /obj/machinery/atmospherics/pipe/simple/visible/fuel{ dir = 5 @@ -62402,7 +62418,6 @@ "mOt" = ( /obj/machinery/computer/general_air_control{ frequency = 1444; - level = 3; name = "Supermatter Monitor"; sensors = list("in_sm_meter"="Supermatter In","sm_sensor"="Supermatter","out_sm_meter"="Supermatter Out") }, @@ -62639,7 +62654,7 @@ }, /area/station/rnd/hallway/lobby) "mQH" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor{ icon_state = "wooden" }, @@ -68525,7 +68540,7 @@ }, /area/station/civilian/gym) "oci" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor{ @@ -69851,7 +69866,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "otY" = ( /obj/item/weapon/flora/random, @@ -69861,7 +69876,7 @@ }, /area/station/engineering/break_room) "oub" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 1 }, /obj/item/device/radio/intercom/pod{ @@ -69963,7 +69978,7 @@ /area/station/hallway/primary/port) "ouU" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -75512,27 +75527,10 @@ }, /area/station/security/interrogation) "pFz" = ( -/obj/machinery/door/airlock/research{ - dir = 4; - id_tag = "ScienceTransOut"; - name = "Medsci Airlock"; - req_one_access = list(2,47) - }, -/obj/machinery/door/firedoor{ - dir = 4 - }, -/obj/machinery/door/poddoor{ - density = 0; - dir = 4; - icon_state = "pdoor0"; - id = "Biohazard"; - name = "Biohazard Shutter"; - opacity = 0 - }, /turf/simulated/floor{ - icon_state = "purplechoco" + icon_state = "white" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "pFE" = ( /obj/structure/cable{ d1 = 1; @@ -75613,9 +75611,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_one_access = list(2,5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -76865,7 +76863,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "pVv" = ( /obj/machinery/requests_console/detective{ @@ -77035,7 +77033,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboardsolar) "pXL" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/machinery/light/small{ @@ -77973,21 +77971,22 @@ "qhP" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" + d1 = 2; + d2 = 8; + icon_state = "2-8" }, -/obj/structure/disposalpipe/segment, -/obj/effect/decal/turf_decal{ - dir = 4; - icon_state = "warn_corner" +/obj/structure/cable{ + d1 = 1; + d2 = 8; + icon_state = "1-8" }, /turf/simulated/floor{ - dir = 4; - icon_state = "whitepurplecorner" + dir = 10; + icon_state = "whiteblue" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "qim" = ( /obj/structure/cable{ d1 = 1; @@ -79036,7 +79035,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -79064,15 +79063,15 @@ }, /area/station/medical/medbreak) "qtX" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, /obj/machinery/hologram/holopad, /obj/effect/decal/turf_decal/alpha/yellow{ icon_state = "bot_old" }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor, /area/station/rnd/lab) "qud" = ( @@ -80828,9 +80827,19 @@ }, /area/station/cargo/qm) "qPa" = ( -/obj/structure/sign/warning/biohazard, -/turf/simulated/wall, -/area/station/medical/hallway) +/obj/machinery/shower/free{ + dir = 1 + }, +/obj/structure/drain{ + drainage = 2 + }, +/obj/effect/decal/turf_decal/alpha/blue{ + icon_state = "box_white" + }, +/turf/simulated/floor{ + icon_state = "whiteblue" + }, +/area/station/medical/genetics_cloning) "qPo" = ( /obj/structure/table, /obj/item/weapon/storage/visuals/tray, @@ -82437,7 +82446,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "riw" = ( /obj/machinery/power/apc{ @@ -83556,14 +83565,11 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, -/obj/effect/decal/turf_decal{ - icon_state = "warn_corner" - }, /turf/simulated/floor{ - dir = 5; - icon_state = "whitepurple" + dir = 9; + icon_state = "whiteblue" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "rwh" = ( /obj/effect/decal/turf_decal{ dir = 8; @@ -84652,7 +84658,7 @@ }, /area/station/tcommsat/chamber) "rHq" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor{ @@ -85173,9 +85179,12 @@ /turf/simulated/floor, /area/station/civilian/chapel/mass_driver) "rKS" = ( -/obj/structure/sign/warning/securearea, -/turf/simulated/wall, -/area/station/medical/hallway) +/obj/machinery/clonepod, +/turf/simulated/floor{ + dir = 1; + icon_state = "whiteblue" + }, +/area/station/medical/genetics_cloning) "rKU" = ( /obj/machinery/computer/secure_data{ dir = 8 @@ -88558,6 +88567,13 @@ name = "Science Lab Shutters"; opacity = 0 }, +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "pdoor0"; + id = "genetic_shutters"; + name = "Genetic Shutters"; + opacity = 0 + }, /turf/simulated/floor/plating, /area/station/rnd/lab) "syX" = ( @@ -89109,10 +89125,6 @@ /area/station/civilian/theatre) "sEZ" = ( /obj/machinery/door/firedoor, -/obj/machinery/door/airlock/medical/glass{ - name = "Medbay Treatment Center"; - req_access = list(5) - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/door/poddoor{ @@ -89122,6 +89134,11 @@ name = "Medbay Biohazard Blast Doors"; opacity = 0 }, +/obj/machinery/door/airlock/medical/glass{ + name = "Medbay Treatment Center"; + req_access = list(5) + }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -90156,9 +90173,6 @@ /obj/structure/stool/bed/chair/metal{ dir = 8 }, -/obj/machinery/light/small{ - dir = 4 - }, /obj/machinery/firealarm{ dir = 4; pixel_x = 22 @@ -90860,10 +90874,6 @@ dir = 6; network = list("SS13","Medical") }, -/obj/effect/decal/turf_decal{ - dir = 8; - icon_state = "warn_corner" - }, /turf/simulated/floor{ dir = 8; icon_state = "whitebluecorner" @@ -91751,7 +91761,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "tmK" = ( /obj/machinery/light/smart{ @@ -92170,17 +92180,25 @@ }, /area/station/hallway/secondary/exit) "tsT" = ( -/obj/machinery/firealarm{ +/obj/item/weapon/wrench, +/obj/structure/table/glass, +/obj/machinery/power/apc{ dir = 8; - pixel_x = -22 + name = "apc left"; + pixel_x = -28 }, -/obj/machinery/light/smart{ - dir = 8 +/obj/structure/cable{ + d2 = 4; + icon_state = "0-4" + }, +/obj/item/weapon/reagent_containers/spray/cleaner{ + pixel_x = -6; + pixel_y = 12 }, /turf/simulated/floor{ - icon_state = "whitechoco" + icon_state = "vaultfull" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "tte" = ( /obj/structure/table/reinforced, /obj/item/weapon/storage/box/teargas{ @@ -92224,23 +92242,12 @@ }, /area/station/civilian/library) "ttD" = ( -/obj/machinery/shower/free{ - pixel_y = 24 - }, -/obj/structure/drain{ - drainage = 2 - }, -/obj/effect/decal/turf_decal/blue{ - icon_state = "box_white" - }, -/obj/effect/decal/turf_decal{ - dir = 9; - icon_state = "warn" - }, +/obj/machinery/computer/cloning, /turf/simulated/floor{ - icon_state = "graychoco" + dir = 1; + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "ttG" = ( /obj/machinery/firealarm{ pixel_y = 22 @@ -93394,19 +93401,14 @@ }, /area/station/security/hos) "tEY" = ( -/obj/structure/closet/l3closet/scientist, -/obj/machinery/light/small, -/obj/effect/decal/turf_decal/alpha/yellow{ - icon_state = "bot_old" - }, -/obj/effect/decal/turf_decal{ - dir = 10; - icon_state = "warn" +/obj/machinery/alarm{ + pixel_y = -32 }, +/obj/machinery/light/smart, /turf/simulated/floor{ - icon_state = "graychoco" + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "tFn" = ( /obj/structure/flora/ausbushes/grassybush, /obj/structure/flora/ausbushes/brflowers, @@ -94244,16 +94246,21 @@ }, /area/station/medical/storage) "tPU" = ( -/obj/machinery/atmospherics/components/unary/vent_scrubber/on{ - dir = 1 - }, -/obj/effect/decal/turf_decal{ - icon_state = "warn" - }, +/obj/structure/closet/secure_closet/personal, +/obj/item/clothing/under/color/white, +/obj/item/clothing/under/color/white, +/obj/item/clothing/under/color/white, +/obj/item/clothing/under/color/white, +/obj/item/clothing/under/color/white, +/obj/item/clothing/shoes/white, +/obj/item/clothing/shoes/white, +/obj/item/clothing/shoes/white, +/obj/item/clothing/shoes/white, +/obj/item/clothing/shoes/white, /turf/simulated/floor{ - icon_state = "graychoco" + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "tQu" = ( /obj/structure/cable/yellow{ d1 = 2; @@ -95279,6 +95286,11 @@ dir = 1; icon_state = "pipe-c" }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor{ dir = 1; icon_state = "whitepurple" @@ -97925,7 +97937,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "uJZ" = ( /obj/machinery/door/firedoor{ @@ -98632,15 +98644,10 @@ /turf/environment/space, /area/shuttle/mining/station) "uSH" = ( -/obj/effect/decal/turf_decal{ - dir = 8; - icon_state = "warn" - }, /turf/simulated/floor{ - dir = 8; - icon_state = "purple" + icon_state = "vaultfull" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "uSN" = ( /turf/simulated/floor{ icon_state = "redyellowfull" @@ -100640,20 +100647,8 @@ }, /area/station/rnd/hor) "vqz" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "pdoor0"; - id = "genetic_shutters"; - name = "Genetic Shutters"; - opacity = 0 - }, -/obj/structure/window/fulltile{ - grilled = 1; - icon_state = "gr_window" - }, -/turf/simulated/floor/plating, -/area/station/medical/genetics) +/turf/simulated/wall, +/area/station/medical/genetics_cloning) "vqB" = ( /obj/structure/cable{ d2 = 4; @@ -101693,11 +101688,6 @@ req_one_access = list(7,29) }, /obj/machinery/door/firedoor, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, @@ -103741,9 +103731,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_one_access = list(2,5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "bluechoco" }, @@ -104214,15 +104204,11 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, -/obj/effect/decal/turf_decal{ - dir = 4; - icon_state = "warn" - }, /turf/simulated/floor{ - dir = 4; - icon_state = "whitepurple" + dir = 8; + icon_state = "whiteblue" }, -/area/station/rnd/hallway) +/area/station/medical/genetics_cloning) "wiz" = ( /obj/structure/cable{ d1 = 4; @@ -104273,7 +104259,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -107063,7 +107049,8 @@ dir = 4 }, /turf/simulated/floor{ - icon_state = "whitechoco" + dir = 1; + icon_state = "whitepurplecorner" }, /area/station/rnd/hallway) "wPT" = ( @@ -108211,17 +108198,17 @@ }, /area/station/hallway/primary/central) "xek" = ( -/obj/machinery/door/firedoor, -/obj/structure/cable{ - d2 = 2; - icon_state = "0-2" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 }, -/obj/structure/window/fulltile/reinforced{ - grilled = 1; - icon_state = "gr_window_reinforced" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/turf/simulated/floor/plating, -/area/station/medical/hallway) +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/turf/simulated/floor, +/area/station/rnd/hallway) "xer" = ( /obj/structure/cable{ d1 = 2; @@ -108904,17 +108891,15 @@ }, /area/station/civilian/dormitories) "xnl" = ( -/obj/structure/sink{ - pixel_y = 24 - }, -/obj/effect/decal/turf_decal{ - dir = 1; - icon_state = "warn" +/obj/machinery/dna_scannernew, +/obj/structure/sign/poster/calendar{ + pixel_y = 32 }, /turf/simulated/floor{ - icon_state = "graychoco" + dir = 1; + icon_state = "whiteblue" }, -/area/station/medical/hallway) +/area/station/medical/genetics_cloning) "xns" = ( /obj/structure/grille{ destroyed = 1 @@ -110007,8 +109992,12 @@ }, /area/station/medical/chemistry) "xxm" = ( -/turf/simulated/wall/r_wall, -/area/station/medical/hallway) +/obj/structure/window/fulltile{ + grilled = 1; + icon_state = "gr_window" + }, +/turf/simulated/floor/plating, +/area/station/medical/genetics) "xxp" = ( /obj/machinery/door/firedoor{ dir = 4 @@ -110362,11 +110351,6 @@ }, /area/station/civilian/locker) "xAK" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, @@ -111431,6 +111415,11 @@ dir = 2; icon_state = "pipe-c" }, +/obj/structure/cable{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, /turf/simulated/floor{ icon_state = "whitepurple" }, @@ -111662,27 +111651,21 @@ }, /area/station/security/blueshield) "xPV" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/cable{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 + d1 = 1; + d2 = 2; + icon_state = "1-2" }, /obj/structure/disposalpipe/segment{ - dir = 2; + dir = 8; icon_state = "pipe-c" }, -/turf/simulated/floor, +/turf/simulated/floor{ + dir = 5; + icon_state = "whiteblue" + }, /area/station/rnd/hallway) "xPY" = ( /obj/structure/closet, @@ -112384,11 +112367,6 @@ }, /area/station/gateway) "xWW" = ( -/obj/structure/cable{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 @@ -112899,10 +112877,6 @@ dir = 5; network = list("SS13","Medical") }, -/obj/machinery/computer/guestpass{ - dir = 8; - pixel_x = -28 - }, /turf/simulated/floor{ dir = 9; icon_state = "whiteblue" @@ -113037,12 +113011,12 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, -/obj/machinery/door/airlock/research{ +/obj/machinery/door/airlock/research/glass{ name = "Genetics Lab"; - req_access = list(9,47) + req_access = list(9) }, /turf/simulated/floor{ - icon_state = "purplechoco" + icon_state = "whitebluefull" }, /area/station/medical/genetics) "ydN" = ( @@ -148510,7 +148484,7 @@ xWW aHT vDb xAK -fuP +gWl vQY kFd jGn @@ -148767,7 +148741,7 @@ dhs mbI fes cyt -iGZ +xek wYl kFd kFd @@ -149024,7 +148998,7 @@ hXw mbI fes cyt -atN +giF aTn aTn csz @@ -149281,7 +149255,7 @@ qtX xMv gFD ucX -xPV +adm qBI gZd gVz @@ -149794,9 +149768,9 @@ nda wVL enN fes -gLF +wPM som -gWl +adl rSa hOR hOR @@ -150051,7 +150025,7 @@ ofJ syV ofJ ofJ -dTt +fPR hZu oRg msA @@ -150303,12 +150277,12 @@ hzE xEU taF fMG -vqz +nib mKN -aTn -aTn +uSH tsT -wPM +dTt +eyL haJ rSG bFb @@ -150565,7 +150539,7 @@ rwf wix qhP fQf -dEr +xPV jfv ucu msA @@ -150821,7 +150795,7 @@ xxm rKS pFz qPa -xxm +rSa hOR hOR hOR @@ -151076,9 +151050,9 @@ hvY iAI xxm ttD -uSH +pFz tEY -xxm +rSa rpZ sjU sOk @@ -151331,12 +151305,12 @@ bZk bZk bZk bZk -xxm +bZk xnl -fPR +pFz tPU -xek -eyL +dEr +fuP llZ wjR cFi @@ -151588,11 +151562,11 @@ lId odS pkM nkI -xxm +sew dkC bmn enb -xxm +rSa hwM miY bxe @@ -151845,11 +151819,11 @@ vdj bTd pUP xot -xxm -qPa +sew +vqz kmW -rKS -xxm +vqz +rSa rtq rSa elV @@ -152104,7 +152078,7 @@ xJb nvX sew taL -giF +hYm map qGQ kEm @@ -152634,7 +152608,7 @@ jMv pxa cAq qDS -jMv +adh pxa pxa uVF diff --git a/maps/falcon/falcon.dmm b/maps/falcon/falcon.dmm index 1bf4ab703859..c08b24434c2b 100644 --- a/maps/falcon/falcon.dmm +++ b/maps/falcon/falcon.dmm @@ -3458,7 +3458,7 @@ }, /area/space) "afT" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /turf/simulated/floor/plating/airless{ @@ -4235,7 +4235,7 @@ /turf/simulated/floor/plating, /area/station/engineering/chiefs_office) "ahK" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -4244,14 +4244,14 @@ /turf/simulated/floor, /area/station/hallway/secondary/exit) "ahL" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, /turf/simulated/floor, /area/station/hallway/secondary/exit) "ahM" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/structure/cable{ d1 = 2; d2 = 4; @@ -4309,7 +4309,7 @@ }, /area/station/hallway/secondary/exit) "ahP" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -4817,7 +4817,7 @@ /turf/simulated/wall, /area/station/civilian/cold_room) "aiE" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/structure/sign/double/barsign{ @@ -4925,7 +4925,7 @@ }, /area/station/hallway/secondary/exit) "aiM" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/cable{ @@ -8381,7 +8381,7 @@ }, /area/station/tcommsat/chamber) "apU" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /obj/machinery/light/small{ @@ -8402,7 +8402,7 @@ /turf/simulated/floor/plating, /area/station/rnd/hallway) "apW" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/machinery/firealarm{ @@ -10457,7 +10457,7 @@ }, /area/station/medical/sleeper) "aYW" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/effect/landmark/start/assistant, @@ -10708,7 +10708,7 @@ /area/station/engineering/drone_fabrication) "bko" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -12176,7 +12176,7 @@ dir = 1; icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cJy" = ( /obj/machinery/atmospherics/components/unary/vent_scrubber/on{ @@ -14556,7 +14556,7 @@ d2 = 8; icon_state = "4-8" }, -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue2, /area/station/bridge/captain_quarters) "eWS" = ( @@ -14793,7 +14793,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "fkm" = ( /obj/structure/cable{ @@ -14964,7 +14964,7 @@ dir = 1; icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "fub" = ( /obj/item/weapon/crowbar/red, @@ -15260,7 +15260,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/medbay) "fOx" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /mob/living/carbon/ian, /turf/simulated/floor/carpet/blue2, /area/station/bridge/hop_office) @@ -15386,7 +15386,7 @@ layer = 4; pixel_x = -10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -16923,7 +16923,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "hqn" = ( /turf/simulated/wall/r_wall, @@ -17874,7 +17874,7 @@ dir = 1; icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "iqS" = ( /turf/simulated/wall/r_wall, @@ -18569,7 +18569,7 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -18931,7 +18931,7 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 1 }, -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/structure/cable{ @@ -19056,7 +19056,7 @@ /turf/simulated/floor, /area/station/security/lobby) "jAT" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/floor, @@ -20228,7 +20228,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "kya" = ( /obj/machinery/atmospherics/pipe/simple/visible{ @@ -20837,7 +20837,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -23684,7 +23684,7 @@ }, /area/station/rnd/hallway) "nJZ" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/floor, /area/station/hallway/secondary/exit) "nKm" = ( @@ -24943,7 +24943,7 @@ /turf/environment/space, /area/space) "oSW" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/blue2, @@ -27326,7 +27326,7 @@ dir = 1; icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "qQs" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -27525,7 +27525,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "qZX" = ( /obj/machinery/light/smart{ @@ -28819,7 +28819,7 @@ dir = 1; icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "ssk" = ( /obj/effect/decal/cleanable/dirt, @@ -30200,7 +30200,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "tOr" = ( /obj/item/device/radio/intercom{ @@ -30364,7 +30364,7 @@ d2 = 8; icon_state = "4-8" }, -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue2, /area/station/bridge/captain_quarters) "tUr" = ( @@ -33344,7 +33344,7 @@ dir = 1; icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "wMu" = ( /obj/machinery/door/firedoor{ @@ -34228,7 +34228,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "xCK" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -34612,7 +34612,7 @@ /area/station/maintenance/auxsolarport) "xSt" = ( /mob/living/simple_animal/fox/Renault, -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/blue2, @@ -35001,7 +35001,7 @@ /turf/simulated/mineral, /area/asteroid/mine/unexplored/safe) "yjw" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/effect/landmark/start/head_of_personnel, /turf/simulated/floor/carpet/blue2, /area/station/bridge/hop_office) diff --git a/maps/gamma/gamma.dmm b/maps/gamma/gamma.dmm index f11bce396819..fc54244b2322 100644 --- a/maps/gamma/gamma.dmm +++ b/maps/gamma/gamma.dmm @@ -3869,7 +3869,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "akw" = ( /obj/effect/decal/turf_decal{ @@ -4076,7 +4076,7 @@ /turf/simulated/floor/grass, /area/station/civilian/garden) "amw" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet/red, @@ -4546,7 +4546,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "arm" = ( /obj/machinery/atmospherics/components/unary/vent_scrubber/on{ @@ -5340,7 +5340,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "azw" = ( /obj/structure/closet/crate, @@ -8900,7 +8900,7 @@ }, /obj/machinery/door_control{ desc = "A remote control switch for the medbay foyer."; - id = "MedbayFoyer"; + id = "MedbayFoyerIn"; name = "Medbay Doors Control"; pixel_x = 5; pixel_y = -10; @@ -13273,7 +13273,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brigright) "bZc" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/wood, @@ -13713,7 +13713,7 @@ /turf/simulated/floor, /area/station/maintenance/medbay) "cdw" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/blue2, @@ -16503,7 +16503,7 @@ dir = 1; icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "cEZ" = ( /obj/random/vending/snack, @@ -19040,7 +19040,7 @@ }, /area/station/civilian/bar) "dcO" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/effect/landmark/start/assistant, @@ -19084,7 +19084,7 @@ /turf/simulated/floor/engine/carbon_dioxide, /area/station/engineering/atmos) "ddB" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/wood{ @@ -19116,7 +19116,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/starboardsolar) "deo" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /mob/living/simple_animal/mouse, @@ -20502,9 +20502,7 @@ /obj/item/device/radio/intercom/pod{ pixel_y = -10 }, -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 2 - }, +/obj/structure/stool/bed/chair/schair/wagon/yellow, /turf/simulated/shuttle/floor/erokez{ dir = 4; icon_state = "floor" @@ -20691,7 +20689,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "duD" = ( /obj/machinery/light/smart{ @@ -22932,7 +22930,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brigright) "dTP" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor/carpet/blue2, @@ -24579,7 +24577,7 @@ /turf/simulated/floor/plating/airless/catwalk, /area/space) "elR" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/floor/garden{ @@ -25129,7 +25127,7 @@ }, /area/station/medical/patient_a) "eqA" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/structure/curtain/open/bed{ @@ -25294,7 +25292,7 @@ dir = 1; icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "esQ" = ( /obj/structure/window/thin/reinforced{ @@ -26768,7 +26766,7 @@ }, /area/station/tcommsat/chamber) "eHv" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor{ @@ -27133,7 +27131,7 @@ dir = 1; icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "eMs" = ( /obj/structure/cable{ @@ -28750,7 +28748,6 @@ /obj/machinery/computer/general_air_control{ dir = 4; frequency = 1443; - level = 3; name = "Distribution and Waste Monitor"; sensors = list("mair_in_meter"="Mixed Air In","air_sensor"="Mixed Air Supply Tank","mair_out_meter"="Mixed Air Out","dloop_atm_meter"="Distribution Loop","wloop_atm_meter"="Waste Loop") }, @@ -29429,7 +29426,7 @@ }, /area/station/bridge/meeting_room) "fkE" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/machinery/status_display{ layer = 4; pixel_x = 32 @@ -29474,7 +29471,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "fkX" = ( /obj/structure/transit_tube{ @@ -31475,7 +31472,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/medbay) "fEZ" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -31591,9 +31588,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_access = list(5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "whitebluefull" }, @@ -34549,7 +34546,7 @@ /turf/simulated/floor/wood, /area/station/maintenance/bridge) "ghk" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -34663,7 +34660,7 @@ dir = 1; icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "giP" = ( /obj/machinery/telecomms/hub/preset, @@ -36103,7 +36100,7 @@ }, /area/station/medical/hallway) "gxL" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/blue, @@ -36588,7 +36585,7 @@ /area/station/civilian/bar) "gCM" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -37468,7 +37465,7 @@ }, /area/station/security/armoury) "gLa" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /obj/effect/landmark/start/paramedic, @@ -38018,7 +38015,7 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -38921,7 +38918,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brig) "gZo" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/floor/garden{ icon_state = "asteroid" }, @@ -39184,7 +39181,7 @@ }, /area/station/hallway/secondary/exit) "hcd" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -39206,7 +39203,7 @@ }, /area/station/civilian/kitchen) "hcB" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /mob/living/simple_animal/mouse, @@ -41140,7 +41137,7 @@ }, /area/station/cargo/recycleroffice) "hyL" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /obj/machinery/light/smart, @@ -41310,7 +41307,7 @@ }, /area/station/medical/storage) "hAC" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/black, /area/station/civilian/library) "hAG" = ( @@ -44413,7 +44410,7 @@ }, /area/station/medical/sleeper) "ihe" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 4 }, /obj/structure/sign/warning/nosmoking/circle{ @@ -44742,7 +44739,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brig) "ikh" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue, /area/station/hallway/secondary/entry) "ikj" = ( @@ -45894,7 +45891,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "iuU" = ( /obj/structure/object_wall/mining{ @@ -51178,11 +51175,6 @@ }, /area/station/medical/hallway/outbranch) "jxI" = ( -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /obj/machinery/door/firedoor, /obj/machinery/door/airlock/medical/glass{ id_tag = ""; @@ -54377,7 +54369,7 @@ }, /area/station/engineering/atmos) "kfm" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue2, /area/station/bridge/meeting_room) "kfo" = ( @@ -54862,9 +54854,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_access = list(5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "whitebluefull" }, @@ -55460,7 +55452,7 @@ }, /area/station/hallway/primary/central) "krD" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/decal/turf_decal/set_damaged, /turf/simulated/floor/wood, /area/station/maintenance/bridge) @@ -55947,7 +55939,7 @@ /turf/simulated/floor/plating, /area/station/engineering/monitoring) "kwN" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 4 }, /turf/simulated/shuttle/floor/mining{ @@ -56530,7 +56522,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "kCx" = ( /obj/structure/cable{ @@ -57533,7 +57525,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/science) "kON" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor/carpet, @@ -57999,7 +57991,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/medbay) "kTX" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/plating, /area/station/maintenance/brig) "kUb" = ( @@ -58522,7 +58514,7 @@ /turf/simulated/floor, /area/station/cargo/storage) "kYE" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/effect/landmark/start/paramedic, /turf/simulated/floor{ icon_state = "dark" @@ -60926,7 +60918,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/dormitory) "lxN" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /mob/living/simple_animal/mouse, @@ -61721,7 +61713,7 @@ /turf/simulated/floor/carpet/black, /area/station/security/tribunal) "lGr" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 8 }, /turf/simulated/floor/carpet/blue2, @@ -63087,7 +63079,7 @@ /turf/simulated/floor/wood, /area/station/medical/patients_rooms) "lTW" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet/blue2, @@ -66135,7 +66127,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -66438,7 +66430,7 @@ layer = 4; pixel_x = -10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -67302,7 +67294,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "mNS" = ( /obj/structure/cable{ @@ -68879,7 +68871,7 @@ dir = 1; icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "nda" = ( /obj/machinery/camera{ @@ -69140,7 +69132,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "ngk" = ( /obj/effect/decal/turf_decal/set_damaged, @@ -69693,7 +69685,7 @@ /turf/simulated/floor/plating, /area/station/cargo/office) "nmc" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/wood{ @@ -70080,7 +70072,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/science) "npS" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -70594,7 +70586,7 @@ /turf/simulated/floor, /area/station/rnd/xenobiology) "nvV" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/wood, /area/station/maintenance/science) "nvW" = ( @@ -72329,7 +72321,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/dormitory) "nNZ" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/effect/decal/turf_decal/set_damaged, @@ -72352,7 +72344,6 @@ "nOz" = ( /obj/machinery/computer/general_air_control{ frequency = 1443; - level = 3; name = "Distribution and Waste Monitor"; sensors = list("mair_in_meter"="Mixed Air In","air_sensor"="Mixed Air Supply Tank","mair_out_meter"="Mixed Air Out","dloop_atm_meter"="Distribution Loop","wloop_atm_meter"="Waste Loop") }, @@ -74480,7 +74471,7 @@ icon_state = "2,2" }, /turf/environment/space, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "oiJ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -76263,7 +76254,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -77070,7 +77061,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "oLJ" = ( /obj/structure/table, @@ -77133,7 +77124,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -80667,7 +80658,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "pxM" = ( /turf/simulated/wall/r_wall, @@ -81118,7 +81109,7 @@ }, /area/station/rnd/hor) "pCL" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /turf/simulated/floor/wood, @@ -84378,7 +84369,7 @@ name = "shuttle window"; opacity = 0 }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "qkQ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/universal, @@ -91149,7 +91140,7 @@ /turf/simulated/floor/plating/airless, /area/station/engineering/singularity) "rDE" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/machinery/camera{ @@ -93132,7 +93123,7 @@ /area/station/security/checkpoint) "rZG" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -93274,7 +93265,7 @@ }, /area/station/security/blueshield) "sbr" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /obj/machinery/light/small, @@ -96097,7 +96088,7 @@ }, /area/station/rnd/hallway) "sCK" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/machinery/light/small, @@ -97500,7 +97491,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "sRF" = ( /obj/structure/stool/bed/chair/metal{ @@ -99116,7 +99107,7 @@ /turf/simulated/floor/plating, /area/station/security/brig) "thW" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/item/device/radio/intercom{ @@ -99276,7 +99267,7 @@ /turf/simulated/floor/whitegreed, /area/station/aisat/ai_chamber) "tjX" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/black, @@ -100004,7 +99995,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "trr" = ( /turf/simulated/floor/wood{ @@ -102424,7 +102415,7 @@ /area/station/hallway/primary/central) "tOZ" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -102432,7 +102423,7 @@ }, /area/shuttle/escape_pod1/station) "tPg" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/turf_decal/set_damaged, /turf/simulated/floor/wood, @@ -103119,7 +103110,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "tWZ" = ( /obj/structure/safe, @@ -104874,7 +104865,7 @@ }, /area/station/security/brig) "umP" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/effect/landmark/start/assistant, @@ -105103,7 +105094,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "uoF" = ( /obj/structure/grille, @@ -106381,7 +106372,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod3/station) "uCE" = ( /obj/effect/decal/cleanable/dirt, @@ -107551,7 +107542,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "uPd" = ( /obj/machinery/door/firedoor, @@ -109034,7 +109025,7 @@ }, /area/station/medical/reception) "vej" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 1 }, /obj/machinery/light/small{ @@ -110581,7 +110572,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "vvL" = ( /obj/structure/cable{ @@ -111863,9 +111854,9 @@ /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerIn"; name = "Medbay"; - req_access = list(5); - unres_sides = 2 + req_access = list(5) }, +/obj/effect/unrestricted_side/south, /turf/simulated/floor{ icon_state = "whitebluefull" }, @@ -113964,7 +113955,7 @@ }, /area/station/engineering/monitoring) "wdg" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/landmark/start/assistant, /obj/machinery/light/small{ dir = 4 @@ -116329,7 +116320,7 @@ }, /area/station/security/forensic_office) "wCO" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /obj/structure/disposalpipe/segment{ @@ -117966,7 +117957,7 @@ /turf/simulated/floor, /area/station/maintenance/science) "wWd" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet, @@ -119216,7 +119207,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brig) "xjX" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 8 }, /turf/simulated/floor{ @@ -119744,7 +119735,7 @@ }, /area/station/engineering/rust) "xpw" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /mob/living/simple_animal/mouse, @@ -121742,11 +121733,6 @@ d2 = 8; icon_state = "4-8" }, -/obj/structure/cable{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, /turf/simulated/floor, /area/station/medical/reception) "xMW" = ( diff --git a/maps/mafia/mafia_infestation.dmm b/maps/mafia/mafia_infestation.dmm index 46544cd928c5..19f9e5fa8bc2 100644 --- a/maps/mafia/mafia_infestation.dmm +++ b/maps/mafia/mafia_infestation.dmm @@ -12,7 +12,7 @@ /area/mafia) "p" = ( /obj/machinery/door/poddoor/mafia, -/turf/unsimulated/wall/fakeglass/alien, +/turf/unsimulated/wall/fakealienmembrane, /area/mafia) "t" = ( /obj/structure/alien{ diff --git a/maps/palette/palette.dmm b/maps/palette/palette.dmm index 762ab22126c8..4d6f5d204975 100644 --- a/maps/palette/palette.dmm +++ b/maps/palette/palette.dmm @@ -54,6 +54,16 @@ icon_state = "vaultfull" }, /area/space) +"ai" = ( +/obj/machinery/door/airlock, +/obj/effect/unrestricted_side/south, +/obj/effect/unrestricted_side/west, +/obj/effect/unrestricted_side/north, +/obj/effect/unrestricted_side/east, +/turf/simulated/floor{ + icon_state = "neutralfull" + }, +/area/space) "am" = ( /turf/simulated/floor{ icon_state = "wooden-2" @@ -181,27 +191,27 @@ "ba" = ( /obj/structure/sign/departments/security, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Brig"; dir = 1; name = "Brig mediumcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Brig" + pixel_y = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Brig"; dir = 4; name = "Brig mediumcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Brig" + pixel_x = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Brig"; dir = 8; name = "Brig mediumcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Brig" + pixel_x = -28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Brig"; name = "Brig mediumcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Brig" + pixel_y = -28 }, /turf/simulated/floor{ dir = 9; @@ -327,27 +337,27 @@ "co" = ( /obj/structure/sign/departments/cargo, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Cargo"; name = "Cargo largecell apc down"; - pixel_y = -27; - custom_smartlight_preset = "Cargo" + pixel_y = -27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Cargo"; dir = 4; name = "Cargo largecell apc right"; - custom_smartlight_preset = "Cargo"; pixel_x = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Cargo"; dir = 8; name = "Cargo largecell apc left"; - custom_smartlight_preset = "Cargo"; pixel_x = -27 }, /obj/machinery/power/apc/largecell{ - name = "Cargo largecell apc top"; - pixel_y = 27; custom_smartlight_preset = "Cargo"; - dir = 1 + dir = 1; + name = "Cargo largecell apc top"; + pixel_y = 27 }, /turf/simulated/floor{ icon_state = "brownfull" @@ -775,26 +785,26 @@ "gU" = ( /obj/structure/sign/departments/security, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Brig"; dir = 1; name = "Brig largecell apc top"; - pixel_y = 27; - custom_smartlight_preset = "Brig" + pixel_y = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Brig"; name = "Brig largecell apc down"; - pixel_y = -27; - custom_smartlight_preset = "Brig" + pixel_y = -27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Brig"; dir = 4; name = "Brig largecell apc right"; - custom_smartlight_preset = "Brig"; pixel_x = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Brig"; dir = 8; name = "Brig largecell apc left"; - custom_smartlight_preset = "Brig"; pixel_x = -27 }, /turf/simulated/floor{ @@ -1055,27 +1065,27 @@ "jm" = ( /obj/structure/sign/departments/science, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "RnD"; dir = 1; name = "RnD mediumcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "RnD" + pixel_y = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "RnD"; dir = 4; name = "RnD mediumcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "RnD" + pixel_x = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "RnD"; dir = 8; name = "RnD mediumcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "RnD" + pixel_x = -28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "RnD"; name = "RnD mediumcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "RnD" + pixel_y = -28 }, /turf/simulated/floor{ dir = 10; @@ -1460,27 +1470,27 @@ "lC" = ( /obj/structure/sign/departments/cargo, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Cargo"; dir = 1; name = "Cargo mediumcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Cargo" + pixel_y = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Cargo"; dir = 4; name = "Cargo mediumcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Cargo" + pixel_x = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Cargo"; dir = 8; name = "Cargo mediumcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Cargo" + pixel_x = -28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Cargo"; name = "Cargo mediumcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Cargo" + pixel_y = -28 }, /turf/simulated/floor{ icon_state = "brownfull" @@ -1613,26 +1623,26 @@ "nb" = ( /obj/structure/sign/departments/medbay/alt, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "MedBay"; dir = 1; name = "MedBay largecell apc top"; - pixel_y = 27; - custom_smartlight_preset = "MedBay" + pixel_y = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "MedBay"; name = "MedBay largecell apc down"; - pixel_y = -27; - custom_smartlight_preset = "MedBay" + pixel_y = -27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "MedBay"; dir = 4; name = "MedBay largecell apc right"; - custom_smartlight_preset = "MedBay"; pixel_x = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "MedBay"; dir = 8; name = "MedBay largecell apc left"; - custom_smartlight_preset = "MedBay"; pixel_x = -27 }, /turf/simulated/floor{ @@ -2360,8 +2370,8 @@ /area/space) "us" = ( /obj/effect/decal/turf_decal/orange{ - icon_state = "siding_line"; - dir = 9 + dir = 9; + icon_state = "siding_line" }, /obj/effect/decal/turf_decal/orange{ icon_state = "siding_corner" @@ -2578,26 +2588,26 @@ "wn" = ( /obj/structure/sign/departments/science, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "RnD"; dir = 1; name = "RnD largecell apc top"; - pixel_y = 27; - custom_smartlight_preset = "RnD" + pixel_y = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "RnD"; name = "RnD largecell apc down"; - pixel_y = -27; - custom_smartlight_preset = "RnD" + pixel_y = -27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "RnD"; dir = 4; name = "RnD largecell apc right"; - custom_smartlight_preset = "RnD"; pixel_x = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "RnD"; dir = 8; name = "RnD largecell apc left"; - custom_smartlight_preset = "RnD"; pixel_x = -27 }, /turf/simulated/floor{ @@ -2863,8 +2873,8 @@ icon_state = "siding_line" }, /obj/effect/decal/turf_decal/purple{ - icon_state = "siding_corner"; - dir = 8 + dir = 8; + icon_state = "siding_corner" }, /turf/simulated/floor, /area/space) @@ -3030,27 +3040,27 @@ "Ai" = ( /obj/structure/sign/departments/science, /obj/machinery/power/apc{ - pixel_y = 27; + custom_smartlight_preset = "RnD"; dir = 1; name = "RnD top APC"; - custom_smartlight_preset = "RnD" + pixel_y = 27 }, /obj/machinery/power/apc{ - pixel_y = -27; + custom_smartlight_preset = "RnD"; name = "RnD down APC"; - custom_smartlight_preset = "RnD" + pixel_y = -27 }, /obj/machinery/power/apc{ - pixel_x = 27; - dir = 4; custom_smartlight_preset = "RnD"; - name = "RnD right APC" + dir = 4; + name = "RnD right APC"; + pixel_x = 27 }, /obj/machinery/power/apc{ - pixel_x = -27; - dir = 8; custom_smartlight_preset = "RnD"; - name = "RnD left APC" + dir = 8; + name = "RnD left APC"; + pixel_x = -27 }, /turf/simulated/floor{ dir = 10; @@ -3159,27 +3169,27 @@ "Bs" = ( /obj/structure/sign/departments/engineering, /obj/machinery/power/apc{ - pixel_y = 27; - name = "Engineering top APC"; custom_smartlight_preset = "Engineering"; - dir = 1 + dir = 1; + name = "Engineering top APC"; + pixel_y = 27 }, /obj/machinery/power/apc{ - pixel_y = -27; + custom_smartlight_preset = "Engineering"; name = "Engineering down APC"; - custom_smartlight_preset = "Engineering" + pixel_y = -27 }, /obj/machinery/power/apc{ - name = "Engineering right APC"; custom_smartlight_preset = "Engineering"; - pixel_x = 27; - dir = 4 + dir = 4; + name = "Engineering right APC"; + pixel_x = 27 }, /obj/machinery/power/apc{ - name = "Engineering left APC"; custom_smartlight_preset = "Engineering"; - pixel_x = -27; - dir = 8 + dir = 8; + name = "Engineering left APC"; + pixel_x = -27 }, /turf/simulated/floor{ icon_state = "yellowfull" @@ -3435,27 +3445,27 @@ "DB" = ( /obj/structure/sign/departments/science, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "RnD"; dir = 1; name = "RnD smallcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "RnD" + pixel_y = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "RnD"; name = "RnD smallcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "RnD" + pixel_y = -28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "RnD"; dir = 4; name = "RnD smallcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "RnD" + pixel_x = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "RnD"; dir = 8; name = "RnD smallcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "RnD" + pixel_x = -28 }, /turf/simulated/floor{ dir = 10; @@ -3503,8 +3513,8 @@ /area/space) "DT" = ( /obj/effect/decal/turf_decal/orange{ - icon_state = "siding_line"; - dir = 8 + dir = 8; + icon_state = "siding_line" }, /turf/simulated/floor, /area/space) @@ -3627,27 +3637,27 @@ "EO" = ( /obj/structure/sign/departments/engineering, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Engineering"; dir = 1; name = "Engineering smallcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Engineering" + pixel_y = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Engineering"; name = "Engineering smallcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Engineering" + pixel_y = -28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Engineering"; dir = 4; name = "Engineering smallcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Engineering" + pixel_x = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Engineering"; dir = 8; name = "Engineering smallcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Engineering" + pixel_x = -28 }, /turf/simulated/floor{ icon_state = "yellowfull" @@ -3826,26 +3836,26 @@ "Gs" = ( /obj/structure/sign/departments/engineering, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Engineering"; dir = 1; name = "Engineering largecell apc top"; - pixel_y = 27; - custom_smartlight_preset = "Engineering" + pixel_y = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Engineering"; name = "Engineering largecell apc down"; - pixel_y = -27; - custom_smartlight_preset = "Engineering" + pixel_y = -27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Engineering"; dir = 4; name = "Engineering largecell apc right"; - custom_smartlight_preset = "Engineering"; pixel_x = 27 }, /obj/machinery/power/apc/largecell{ + custom_smartlight_preset = "Engineering"; dir = 8; name = "Engineering largecell apc left"; - custom_smartlight_preset = "Engineering"; pixel_x = -27 }, /turf/simulated/floor{ @@ -3855,27 +3865,27 @@ "Gu" = ( /obj/structure/sign/departments/security, /obj/machinery/power/apc{ - pixel_y = -27; + custom_smartlight_preset = "Brig"; name = "Brig down APC"; - custom_smartlight_preset = "Brig" + pixel_y = -27 }, /obj/machinery/power/apc{ - pixel_x = 27; + custom_smartlight_preset = "Brig"; dir = 4; name = "Brig right APC"; - custom_smartlight_preset = "Brig" + pixel_x = 27 }, /obj/machinery/power/apc{ - pixel_x = -27; + custom_smartlight_preset = "Brig"; dir = 8; name = "Brig left APC"; - custom_smartlight_preset = "Brig" + pixel_x = -27 }, /obj/machinery/power/apc{ - pixel_y = 27; + custom_smartlight_preset = "Brig"; dir = 1; name = "Brig top APC"; - custom_smartlight_preset = "Brig" + pixel_y = 27 }, /turf/simulated/floor{ dir = 9; @@ -4339,27 +4349,27 @@ "JJ" = ( /obj/structure/sign/departments/cargo, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Cargo"; dir = 1; name = "Cargo smallcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Cargo" + pixel_y = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Cargo"; name = "Cargo smallcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Cargo" + pixel_y = -28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Cargo"; dir = 4; name = "Cargo smallcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Cargo" + pixel_x = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Cargo"; dir = 8; name = "Cargo smallcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Cargo" + pixel_x = -28 }, /turf/simulated/floor{ icon_state = "brownfull" @@ -4783,27 +4793,27 @@ "MT" = ( /obj/structure/sign/departments/engineering, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Engineering"; dir = 1; name = "Engineering mediumcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Engineering" + pixel_y = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Engineering"; dir = 4; name = "Engineering mediumcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Engineering" + pixel_x = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Engineering"; dir = 8; name = "Engineering mediumcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Engineering" + pixel_x = -28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "Engineering"; name = "Engineering mediumcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Engineering" + pixel_y = -28 }, /turf/simulated/floor{ icon_state = "yellowfull" @@ -4915,27 +4925,27 @@ "Oa" = ( /obj/structure/sign/departments/medbay/alt, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "MedBay"; dir = 1; name = "MedBay smallcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "MedBay" + pixel_y = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "MedBay"; name = "MedBay smallcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "MedBay" + pixel_y = -28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "MedBay"; dir = 4; name = "MedBay smallcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "MedBay" + pixel_x = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "MedBay"; dir = 8; name = "MedBay smallcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "MedBay" + pixel_x = -28 }, /turf/simulated/floor{ icon_state = "whitebluefull" @@ -5191,27 +5201,27 @@ "Qf" = ( /obj/structure/sign/departments/medbay/alt, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "MedBay"; dir = 1; name = "MedBay mediumcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "MedBay" + pixel_y = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "MedBay"; dir = 4; name = "MedBay mediumcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "MedBay" + pixel_x = 28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "MedBay"; dir = 8; name = "MedBay mediumcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "MedBay" + pixel_x = -28 }, /obj/machinery/power/apc/mediumcell{ + custom_smartlight_preset = "MedBay"; name = "MedBay mediumcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "MedBay" + pixel_y = -28 }, /turf/simulated/floor{ icon_state = "whitebluefull" @@ -5716,8 +5726,8 @@ icon_state = "siding_line" }, /obj/effect/decal/turf_decal/purple{ - icon_state = "siding_corner"; - dir = 1 + dir = 1; + icon_state = "siding_corner" }, /turf/simulated/floor, /area/space) @@ -5790,27 +5800,27 @@ "UM" = ( /obj/structure/sign/departments/security, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Brig"; dir = 1; name = "Brig smallcell apc top"; - pixel_y = 28; - custom_smartlight_preset = "Brig" + pixel_y = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Brig"; name = "Brig smallcell apc down"; - pixel_y = -28; - custom_smartlight_preset = "Brig" + pixel_y = -28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Brig"; dir = 4; name = "Brig smallcell apc right"; - pixel_x = 28; - custom_smartlight_preset = "Brig" + pixel_x = 28 }, /obj/machinery/power/apc/smallcell{ + custom_smartlight_preset = "Brig"; dir = 8; name = "Brig smallcell apc left"; - pixel_x = -28; - custom_smartlight_preset = "Brig" + pixel_x = -28 }, /turf/simulated/floor{ dir = 9; @@ -5984,27 +5994,27 @@ "WB" = ( /obj/structure/sign/departments/medbay/alt, /obj/machinery/power/apc{ - pixel_y = 27; - name = "Medbay top APC"; custom_smartlight_preset = "MedBay"; - dir = 1 + dir = 1; + name = "Medbay top APC"; + pixel_y = 27 }, /obj/machinery/power/apc{ - pixel_y = -27; + custom_smartlight_preset = "MedBay"; name = "Medbay down APC"; - custom_smartlight_preset = "MedBay" + pixel_y = -27 }, /obj/machinery/power/apc{ - pixel_x = -27; + custom_smartlight_preset = "MedBay"; dir = 8; name = "Medbay left APC"; - custom_smartlight_preset = "MedBay" + pixel_x = -27 }, /obj/machinery/power/apc{ - pixel_x = 27; - dir = 4; custom_smartlight_preset = "MedBay"; - name = "Medbay right APC" + dir = 4; + name = "Medbay right APC"; + pixel_x = 27 }, /turf/simulated/floor{ icon_state = "whitebluefull" @@ -6033,26 +6043,26 @@ "WN" = ( /obj/structure/sign/departments/cargo, /obj/machinery/power/apc{ - pixel_y = 27; - name = "Cargo top APC"; custom_smartlight_preset = "Cargo"; - dir = 1 + dir = 1; + name = "Cargo top APC"; + pixel_y = 27 }, /obj/machinery/power/apc{ - name = "Cargo right APC"; custom_smartlight_preset = "Cargo"; dir = 4; + name = "Cargo right APC"; pixel_x = 27 }, /obj/machinery/power/apc{ - pixel_y = -27; + custom_smartlight_preset = "Cargo"; name = "Cargo down APC"; - custom_smartlight_preset = "Cargo" + pixel_y = -27 }, /obj/machinery/power/apc{ - name = "Cargo left APC"; custom_smartlight_preset = "Cargo"; dir = 8; + name = "Cargo left APC"; pixel_x = -27 }, /turf/simulated/floor{ @@ -6297,26 +6307,26 @@ /area/space) "Zy" = ( /obj/machinery/power/apc{ + custom_smartlight_preset = "bar"; dir = 1; name = "Bar apc top"; - custom_smartlight_preset = "bar"; pixel_y = 27 }, /obj/machinery/power/apc{ - pixel_x = -27; + custom_smartlight_preset = "bar"; dir = 8; name = "Bar apc left"; - custom_smartlight_preset = "bar" + pixel_x = -27 }, /obj/machinery/power/apc{ - pixel_x = 27; + custom_smartlight_preset = "bar"; dir = 4; name = "Bar apc right"; - custom_smartlight_preset = "bar" + pixel_x = 27 }, /obj/machinery/power/apc{ - name = "Bar apc down"; custom_smartlight_preset = "bar"; + name = "Bar apc down"; pixel_y = -27 }, /obj/machinery/vending/boozeomat, @@ -8359,11 +8369,11 @@ uA uA uA uA -uA -uA -uA -uA -uA +Hy +Hy +yc +Hy +Hy uA uA uA @@ -8410,11 +8420,11 @@ uA uA uA uA -uA -uA -uA -uA -uA +Hy +yc +ai +yc +Hy uA uA uA @@ -8461,11 +8471,11 @@ uA uA uA uA -uA -uA -uA -uA -uA +Hy +Hy +yc +Hy +Hy uA uA uA @@ -8512,11 +8522,11 @@ uA uA uA uA -uA -uA -uA -uA -uA +Hy +Hy +Hy +Hy +Hy uA uA uA diff --git a/maps/prometheus/prometheus.dmm b/maps/prometheus/prometheus.dmm index 4ee265e3e234..b2e5139b9a45 100644 --- a/maps/prometheus/prometheus.dmm +++ b/maps/prometheus/prometheus.dmm @@ -799,12 +799,12 @@ dir = 4 }, /obj/machinery/door/airlock/medical/glass{ - id_tag = "MedbayFoyerIn"; + dir = 4; + id_tag = "Medbay"; name = "Medbay"; - req_access = list(5); - unres_sides = 2; - dir = 4 + req_access = list(5) }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "dark" }, @@ -2199,7 +2199,7 @@ /obj/machinery/light/smart{ dir = 1 }, -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/blue, /obj/effect/landmark/start/blueshield_officer, /turf/simulated/floor{ dir = 1; @@ -2326,7 +2326,6 @@ /obj/machinery/computer/general_air_control{ dir = 8; frequency = 1444; - level = 3; name = "Supermatter Monitor"; sensors = list("in_sm_meter"="Supermatter In","sm_sensor"="Supermatter","out_sm_meter"="Supermatter Out") }, @@ -2353,7 +2352,6 @@ /obj/machinery/computer/general_air_control{ dir = 4; frequency = 1444; - level = 3; name = "Supermatter Monitor"; sensors = list("in_sm_meter"="Supermatter In","sm_sensor"="Supermatter","out_sm_meter"="Supermatter Out") }, @@ -3945,7 +3943,7 @@ }, /area/station/civilian/locker) "atj" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /turf/simulated/floor/carpet, @@ -5141,7 +5139,7 @@ dir = 8; pixel_x = -22 }, -/obj/structure/stool/bed/chair/comfy/beige, +/obj/structure/stool/bed/chair/comfy/white, /obj/effect/decal/turf_decal{ dir = 8; icon_state = "warn_corner" @@ -5306,7 +5304,7 @@ /turf/simulated/wall, /area/station/security/prison) "aHz" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /mob/living/carbon/ian, /turf/simulated/floor/carpet/blue2, /area/station/bridge/hop_office) @@ -7839,12 +7837,6 @@ /turf/simulated/floor, /area/station/maintenance/chapel) "bqp" = ( -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "Medbay"; - name = "Medbay Doors Control"; - pixel_x = 28 - }, /obj/item/weapon/flora/pottedplant{ icon_state = "plant-21" }, @@ -9268,7 +9260,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/brig) "bIL" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/landmark/start/assistant, /turf/simulated/floor/wood, /area/station/civilian/cafeteria) @@ -9670,7 +9662,7 @@ /obj/structure/flora/ausbushes/fullgrass{ layer = 2.7 }, -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/floor{ @@ -9752,7 +9744,7 @@ dir = 1; icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "bOu" = ( /obj/machinery/atmospherics/components/unary/outlet_injector/on{ @@ -10370,7 +10362,7 @@ }, /area/station/security/main) "bXu" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 1 }, /obj/machinery/light/small, @@ -15645,7 +15637,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "drr" = ( /obj/effect/decal/cleanable/dirt, @@ -15971,7 +15963,7 @@ }, /area/station/storage/primary) "dvK" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/effect/landmark/start/assistant, @@ -16326,7 +16318,7 @@ }, /area/station/security/armoury) "dyZ" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/structure/disposalpipe/segment{ @@ -17571,7 +17563,7 @@ }, /area/station/rnd/xenobiology) "dMp" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/structure/disposalpipe/segment{ @@ -18873,6 +18865,7 @@ name = "Medbay"; req_access = list(5) }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "dark" }, @@ -20091,7 +20084,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/science) "erE" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/machinery/firealarm{ @@ -20104,7 +20097,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "erK" = ( /obj/structure/lattice, @@ -22888,7 +22881,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "eYN" = ( /obj/machinery/atmospherics/components/unary/vent_pump/on, @@ -24272,7 +24265,7 @@ /area/station/engineering/engine) "foW" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -25611,7 +25604,7 @@ }, /area/station/hallway/primary/aft) "fEf" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/effect/landmark/start/head_of_personnel, /turf/simulated/floor/carpet/blue2, /area/station/bridge/hop_office) @@ -25764,7 +25757,7 @@ /area/station/civilian/theatre) "fFg" = ( /obj/effect/decal/cleanable/dirt, -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 4 }, /obj/effect/landmark/start/assistant, @@ -26173,13 +26166,6 @@ icon_state = "red" }, /area/station/security/lobby) -"fKI" = ( -/obj/structure/stool/bed/chair/comfy/brown{ - dir = 8 - }, -/obj/effect/landmark/start/assistant, -/turf/simulated/floor/carpet, -/area/station/civilian/library) "fKL" = ( /turf/simulated/floor/carpet/black, /area/station/civilian/chapel/office) @@ -26534,7 +26520,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "fOU" = ( /obj/machinery/atmospherics/components/unary/vent_scrubber/on{ @@ -27054,7 +27040,7 @@ /obj/machinery/light/small{ dir = 4 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/mining{ @@ -28342,7 +28328,7 @@ }, /area/station/engineering/engine) "gjL" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/machinery/power/apc{ dir = 1; name = "apc top"; @@ -28427,7 +28413,7 @@ }, /area/station/ai_monitored/storage_secure) "glo" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /turf/simulated/floor/carpet/blue2, /area/station/bridge/captain_quarters) "glB" = ( @@ -29194,7 +29180,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "gud" = ( /obj/effect/decal/cleanable/dirt, @@ -31891,7 +31877,7 @@ }, /area/station/rnd/mixing) "hag" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -35073,7 +35059,7 @@ }, /area/station/civilian/bar) "hOH" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 8 }, /obj/effect/landmark/start/medical_doctor, @@ -38492,7 +38478,7 @@ layer = 4; pixel_x = -10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -38636,7 +38622,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "iJh" = ( /obj/item/weapon/reagent_containers/dropper/precision, @@ -39929,6 +39915,7 @@ name = "Medbay"; req_access = list(5) }, +/obj/effect/unrestricted_side/west, /turf/simulated/floor{ icon_state = "dark" }, @@ -40702,7 +40689,7 @@ }, /area/station/security/armoury) "jlF" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/effect/landmark/start/assistant, @@ -44308,7 +44295,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/science) "kiD" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /turf/simulated/floor/carpet/blue2, @@ -44645,7 +44632,7 @@ dir = 1; icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "koo" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -49863,7 +49850,7 @@ /turf/simulated/floor, /area/station/maintenance/chapel) "lBL" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /obj/structure/sign/warning/smoking{ @@ -52494,7 +52481,7 @@ /area/station/civilian/chapel) "mio" = ( /obj/machinery/light/small, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 8 }, /turf/simulated/shuttle/floor/erokez{ @@ -55027,7 +55014,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "mLZ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -56857,7 +56844,7 @@ /obj/machinery/light/small{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/blue, /turf/simulated/shuttle/floor/mining{ icon_state = "2-3" }, @@ -56872,7 +56859,7 @@ }, /area/station/cargo/office) "nka" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/machinery/light/small{ @@ -56897,7 +56884,7 @@ dir = 1; icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "nkt" = ( /obj/machinery/door/firedoor, @@ -57047,7 +57034,7 @@ /obj/machinery/light/small{ dir = 8 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/mining{ @@ -57912,7 +57899,7 @@ name = "shuttle window"; opacity = 0 }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "nyK" = ( /obj/machinery/light/small{ @@ -59198,7 +59185,7 @@ }, /area/station/rnd/scibreak) "nQI" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /obj/item/device/radio/intercom{ @@ -60784,7 +60771,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -61791,7 +61778,7 @@ /turf/simulated/floor, /area/station/cargo/storage) "owy" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/blue{ dir = 1 }, /turf/simulated/shuttle/floor/mining{ @@ -62213,7 +62200,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "oCm" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -63392,7 +63379,7 @@ }, /area/station/security/prison) "oSp" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/machinery/light/small{ @@ -63518,7 +63505,7 @@ /obj/structure/flora/ausbushes/fullgrass{ layer = 2.7 }, -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/effect/landmark/start/assistant, /turf/simulated/floor{ icon_state = "grass1" @@ -69071,7 +69058,7 @@ }, /area/station/hallway/secondary/exit) "qqm" = ( -/obj/structure/stool/bed/chair/comfy/black{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 8 }, /obj/effect/landmark/start/assistant, @@ -69573,7 +69560,7 @@ layer = 4; pixel_x = 10 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -70586,7 +70573,6 @@ "qJU" = ( /obj/machinery/computer/general_air_control{ frequency = 1444; - level = 3; name = "Supermatter Monitor"; sensors = list("in_sm_meter"="Supermatter In","sm_sensor"="Supermatter","out_sm_meter"="Supermatter Out") }, @@ -72952,7 +72938,7 @@ layer = 4; pixel_y = 24 }, -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/effect/decal/turf_decal{ @@ -73898,7 +73884,7 @@ }, /area/station/civilian/garden) "rBz" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/decal/cleanable/dirt, /obj/effect/landmark/start/assistant, /turf/simulated/floor/carpet/black, @@ -74133,7 +74119,6 @@ /obj/machinery/computer/general_air_control{ dir = 4; frequency = 1443; - level = 3; name = "Distribution and Waste Monitor"; sensors = list("mair_in_meter"="Mixed Air In","air_sensor"="Mixed Air Supply Tank","mair_out_meter"="Mixed Air Out","dloop_atm_meter"="Distribution Loop","wloop_atm_meter"="Waste Loop") }, @@ -76974,7 +76959,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod2/station) "sqy" = ( /obj/effect/decal/cleanable/dirt, @@ -77372,7 +77357,7 @@ }, /area/station/cargo/recycleroffice) "svS" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/effect/decal/turf_decal{ @@ -77466,7 +77451,7 @@ name = "Tribunal" }) "swq" = ( -/obj/structure/stool/bed/chair/comfy/brown, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/landmark/start/assistant, /turf/simulated/floor/carpet/black, /area/station/civilian/library) @@ -77674,7 +77659,7 @@ dir = 1; icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "syh" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -78317,7 +78302,7 @@ /turf/simulated/floor/plating, /area/station/maintenance/disposal) "sFZ" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /obj/machinery/light/small, @@ -78782,7 +78767,7 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "sMa" = ( /turf/simulated/floor{ @@ -79081,7 +79066,7 @@ /obj/machinery/light/small{ dir = 4 }, -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/blue, /turf/simulated/shuttle/floor/mining{ icon_state = "2-7" }, @@ -80784,7 +80769,7 @@ }, /area/station/medical/sleeper) "tnn" = ( -/obj/structure/stool/bed/chair/comfy/black, +/obj/structure/stool/bed/chair/wood/normal, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/wood, /area/station/civilian/library) @@ -83069,7 +83054,7 @@ /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "tQt" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -86299,7 +86284,7 @@ }, /area/station/security/interrogation) "uIj" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair/wagon/blue, /turf/simulated/shuttle/floor/mining{ icon_state = "2-4,5,6" }, @@ -86743,7 +86728,7 @@ }, /area/station/medical/virology) "uNi" = ( -/obj/structure/stool/bed/chair/comfy/brown{ +/obj/structure/stool/bed/chair/wood/normal{ dir = 1 }, /obj/effect/decal/cleanable/dirt, @@ -87278,7 +87263,7 @@ /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod1/station) "uTK" = ( /obj/machinery/atmospherics/components/unary/vent_pump/on, @@ -90522,7 +90507,7 @@ dir = 1; icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "vID" = ( /obj/machinery/light/smart, @@ -90934,7 +90919,7 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/yellow{ dir = 4 }, /turf/simulated/shuttle/floor/erokez{ @@ -91717,7 +91702,7 @@ }, /area/station/security/armoury) "vYz" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /turf/simulated/floor{ @@ -94797,7 +94782,7 @@ dir = 1; icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/shuttle/escape_pod4/station) "wLz" = ( /obj/structure/closet/emcloset, @@ -124333,7 +124318,7 @@ pyq bkN pFd qqm -fKI +qqm vSi qqm bEv diff --git a/maps/stroechka/stroechka.dmm b/maps/stroechka/stroechka.dmm index 12c711dc82e6..91b507f971f0 100644 --- a/maps/stroechka/stroechka.dmm +++ b/maps/stroechka/stroechka.dmm @@ -1153,7 +1153,6 @@ /obj/machinery/computer/general_air_control{ dir = 4; frequency = 1444; - level = 3; name = "Incinerator Monitor"; sensors = list("inc_meter"="Incinerator pipe meter","incinerator_sensor"="Incinerator sensor") }, @@ -1665,7 +1664,7 @@ }, /area/station/hallway/secondary/exit) "da" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 }, @@ -1798,7 +1797,7 @@ }, /area/station/cargo/storage) "dj" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /obj/structure/cable{ @@ -4007,7 +4006,7 @@ /turf/simulated/floor, /area/station/rnd/chargebay) "jW" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /turf/simulated/floor, @@ -6580,7 +6579,7 @@ }, /area/station/hallway/secondary/exit) "EP" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /obj/structure/cable{ @@ -6613,7 +6612,7 @@ /turf/simulated/floor/plating, /area/space) "Fe" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench{ +/obj/structure/stool/bed/bench{ icon_state = "bench_2" }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -6700,14 +6699,14 @@ /turf/simulated/floor/plating, /area/station/hallway/secondary/arrival) "FA" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/structure/disposalpipe/segment{ dir = 1 }, /turf/simulated/floor, /area/station/hallway/secondary/exit) "FB" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, @@ -8145,7 +8144,7 @@ /turf/simulated/floor/plating, /area/space) "Qo" = ( -/obj/structure/stool/bed/chair/schair/wagon/bench, +/obj/structure/stool/bed/bench, /turf/simulated/floor, /area/station/hallway/secondary/exit) "Qp" = ( diff --git a/maps/templates/shelter_1.dmm b/maps/templates/shelter_1.dmm index 87a1bc256032..21ccee92fe03 100644 --- a/maps/templates/shelter_1.dmm +++ b/maps/templates/shelter_1.dmm @@ -53,7 +53,7 @@ /turf/simulated/floor/pod, /area/custom/survivalpod) "k" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /turf/simulated/floor/pod, diff --git a/maps/templates/shelter_2.dmm b/maps/templates/shelter_2.dmm index 461d3db37708..315dec99493c 100644 --- a/maps/templates/shelter_2.dmm +++ b/maps/templates/shelter_2.dmm @@ -97,7 +97,7 @@ /turf/simulated/floor/carpet/blue, /area/custom/survivalpod) "F" = ( -/obj/structure/stool/bed/chair/comfy/beige, +/obj/structure/stool/bed/chair/comfy/white, /turf/simulated/floor/carpet/blue, /area/custom/survivalpod) "G" = ( @@ -125,7 +125,7 @@ /turf/simulated/floor/pod, /area/custom/survivalpod) "W" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /turf/simulated/floor/carpet/blue, diff --git a/maps/templates/space_structures/broken_breacher.dmm b/maps/templates/space_structures/broken_breacher.dmm index 041ba3b43b3f..a21c28b59b91 100644 --- a/maps/templates/space_structures/broken_breacher.dmm +++ b/maps/templates/space_structures/broken_breacher.dmm @@ -111,7 +111,7 @@ /turf/simulated/floor/plating/airless, /area/space_structures/broken_breacher) "dy" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 1 }, /turf/simulated/shuttle/floor{ diff --git a/maps/templates/space_structures/cloning_lab.dmm b/maps/templates/space_structures/cloning_lab.dmm index 1f37d6add2bf..ec0c30e0b3fd 100644 --- a/maps/templates/space_structures/cloning_lab.dmm +++ b/maps/templates/space_structures/cloning_lab.dmm @@ -154,7 +154,7 @@ /turf/simulated/floor/plating/airless, /area/space_structures/cloning_lab) "B" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /turf/simulated/floor, diff --git a/maps/templates/space_structures/cult_ship.dmm b/maps/templates/space_structures/cult_ship.dmm index 7dc696c6b1dc..d898ed455084 100644 --- a/maps/templates/space_structures/cult_ship.dmm +++ b/maps/templates/space_structures/cult_ship.dmm @@ -189,14 +189,14 @@ /turf/environment/space, /area/space_structures/cult_ship) "rK" = ( -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 4 - }, /obj/item/device/radio/intercom{ name = "Station Intercom (General)"; pixel_x = -28; pixel_y = -5 }, +/obj/structure/stool/bed/chair/schair/wagon/red{ + dir = 4 + }, /turf/simulated/floor/engine/cult, /area/space_structures/cult_ship) "sd" = ( @@ -246,10 +246,10 @@ /area/space_structures/cult_ship) "vb" = ( /obj/effect/decal/cleanable/blood/drip, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/effect/decal/cleanable/dirt, +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, -/obj/effect/decal/cleanable/dirt, /turf/simulated/shuttle/floor/evac/eng2, /area/space_structures/cult_ship) "vh" = ( @@ -295,7 +295,7 @@ /area/space_structures/cult_ship) "wR" = ( /obj/effect/decal/cleanable/blood/drip, -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor/evac/eng2, @@ -343,7 +343,7 @@ /turf/simulated/floor/engine/cult/lava, /area/space_structures/cult_ship) "zS" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /obj/effect/decal/cleanable/blood/drip, @@ -391,10 +391,10 @@ /turf/simulated/floor/engine/cult, /area/space_structures/cult_ship) "EN" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/effect/decal/cleanable/blood/drip, +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, -/obj/effect/decal/cleanable/blood/drip, /turf/simulated/floor/engine/cult, /area/space_structures/cult_ship) "Fe" = ( @@ -445,7 +445,7 @@ /turf/simulated/shuttle/floor/evac/eng2, /area/space_structures/cult_ship) "Hg" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /obj/effect/decal/cleanable/blood/gibs, @@ -465,7 +465,7 @@ /turf/environment/space, /area/space) "Ia" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/floor/engine/cult/lava, @@ -509,14 +509,14 @@ /area/space_structures/cult_ship) "LA" = ( /obj/effect/decal/cleanable/blood/gibs/up, -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 4 - }, /obj/item/device/radio/intercom{ name = "Station Intercom (General)"; pixel_x = -28; pixel_y = -5 }, +/obj/structure/stool/bed/chair/schair/wagon/red{ + dir = 4 + }, /turf/simulated/shuttle/floor/evac/eng2, /area/space_structures/cult_ship) "LG" = ( @@ -566,9 +566,6 @@ /turf/environment/space, /area/space_structures/cult_ship) "Ph" = ( -/obj/structure/stool/bed/chair/schair/wagon{ - dir = 4 - }, /obj/machinery/power/apc/largecell{ dir = 8; name = "largecell apc left"; @@ -579,6 +576,9 @@ d2 = 2; icon_state = "0-2" }, +/obj/structure/stool/bed/chair/schair/wagon/red{ + dir = 4 + }, /turf/simulated/floor/engine/cult, /area/space_structures/cult_ship) "PH" = ( diff --git a/maps/templates/space_structures/escape_pod.dmm b/maps/templates/space_structures/escape_pod.dmm index 9549d0084d60..05605ab588d3 100644 --- a/maps/templates/space_structures/escape_pod.dmm +++ b/maps/templates/space_structures/escape_pod.dmm @@ -3,19 +3,19 @@ /obj/structure/object_wall/pod{ icon_state = "0,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "b" = ( /obj/structure/object_wall/pod{ icon_state = "1,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "c" = ( /obj/structure/object_wall/pod{ icon_state = "2,2" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "d" = ( /obj/structure/object_wall/pod{ @@ -59,19 +59,19 @@ /obj/structure/object_wall/pod{ icon_state = "0,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "j" = ( /obj/structure/object_wall/pod{ icon_state = "1,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "k" = ( /obj/structure/object_wall/pod{ icon_state = "2,0" }, -/turf/environment/space/shuttle, +/turf/environment/space, /area/space) "l" = ( /obj/structure/object_wall/pod{ diff --git a/maps/templates/space_structures/export_outpost.dmm b/maps/templates/space_structures/export_outpost.dmm index 42452890594b..7379fba360e7 100644 --- a/maps/templates/space_structures/export_outpost.dmm +++ b/maps/templates/space_structures/export_outpost.dmm @@ -131,7 +131,7 @@ }, /area/space_structures/export_outpost) "av" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /turf/simulated/floor{ @@ -469,7 +469,7 @@ }, /area/space_structures/export_outpost) "bm" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 4 }, /obj/item/weapon/storage/wallet/random, diff --git a/maps/templates/space_structures/ghost_ship_1.dmm b/maps/templates/space_structures/ghost_ship_1.dmm index 7d331e8efef7..745fb7a463fd 100644 --- a/maps/templates/space_structures/ghost_ship_1.dmm +++ b/maps/templates/space_structures/ghost_ship_1.dmm @@ -334,7 +334,7 @@ /turf/simulated/floor/airless, /area/space_structures/ghostship) "bb" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair{ dir = 4 }, /obj/item/device/flashlight/seclite, @@ -493,7 +493,7 @@ /turf/simulated/floor/airless/ceiling, /area/space_structures/ghostship) "bO" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair{ dir = 4 }, /turf/simulated/floor/airless, diff --git a/maps/templates/space_structures/ghost_ship_2.dmm b/maps/templates/space_structures/ghost_ship_2.dmm index 2bb0be7c0adc..cd557c96b11a 100644 --- a/maps/templates/space_structures/ghost_ship_2.dmm +++ b/maps/templates/space_structures/ghost_ship_2.dmm @@ -63,7 +63,9 @@ }, /area/space_structures/ghostship) "aj" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair{ + dir = 1 + }, /obj/structure/cellular_biomass/grass/meat, /obj/structure/cellular_biomass/core/meat, /obj/structure/cellular_biomass/grass/meat, @@ -89,7 +91,9 @@ }, /area/space_structures/ghostship) "am" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair{ + dir = 1 + }, /obj/effect/decal/cleanable/blood, /turf/simulated/floor{ dir = 4; @@ -161,7 +165,9 @@ }, /area/space_structures/ghostship) "ax" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair{ + dir = 1 + }, /obj/structure/cellular_biomass/grass/meat, /obj/structure/cellular_biomass/core/meat, /obj/structure/cellular_biomass/grass/meat, @@ -180,7 +186,9 @@ }, /area/space_structures/ghostship) "az" = ( -/obj/structure/stool/bed/chair/schair/wagon, +/obj/structure/stool/bed/chair/schair{ + dir = 1 + }, /obj/structure/cellular_biomass/grass/meat, /turf/simulated/floor{ icon_state = "neutralcorner" diff --git a/maps/templates/space_structures/robostation.dmm b/maps/templates/space_structures/robostation.dmm index e85eb5fbd21d..93e6aa92a7c7 100644 --- a/maps/templates/space_structures/robostation.dmm +++ b/maps/templates/space_structures/robostation.dmm @@ -872,7 +872,7 @@ /turf/simulated/floor/plating, /area/space_structures/robostatoin) "dg" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 4 }, /turf/simulated/floor{ @@ -917,7 +917,7 @@ /turf/simulated/floor/plating, /area/space_structures/robostatoin) "dr" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /turf/simulated/floor{ @@ -999,7 +999,7 @@ /turf/simulated/floor/greengrid, /area/space_structures/robostatoin) "Iy" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 4 }, /turf/simulated/floor{ @@ -1051,7 +1051,7 @@ /turf/environment/space, /area/space) "XQ" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 8 }, /turf/simulated/floor{ diff --git a/maps/templates/space_structures/robostation2.dmm b/maps/templates/space_structures/robostation2.dmm index 572c66838c12..5a570d275a18 100644 --- a/maps/templates/space_structures/robostation2.dmm +++ b/maps/templates/space_structures/robostation2.dmm @@ -240,7 +240,7 @@ /turf/simulated/floor/greengrid, /area/space_structures/robostation2) "iG" = ( -/obj/structure/stool/bed/chair/comfy/teal{ +/obj/structure/stool/bed/chair/comfy/green{ dir = 1 }, /turf/simulated/floor{ @@ -278,7 +278,7 @@ /turf/simulated/floor/greengrid, /area/space_structures/robostation2) "lC" = ( -/obj/structure/stool/bed/chair/comfy/teal, +/obj/structure/stool/bed/chair/comfy/green, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor{ dir = 5; @@ -612,7 +612,7 @@ }, /area/space_structures/robostation2) "CN" = ( -/obj/structure/stool/bed/chair/comfy/beige{ +/obj/structure/stool/bed/chair/comfy/white{ dir = 1 }, /turf/simulated/floor{ diff --git a/maps/templates/space_structures/syndicate_fighter.dmm b/maps/templates/space_structures/syndicate_fighter.dmm index b433b3aa879b..97493256646a 100644 --- a/maps/templates/space_structures/syndicate_fighter.dmm +++ b/maps/templates/space_structures/syndicate_fighter.dmm @@ -73,7 +73,7 @@ }, /area/space_structures/syndicate_fighter) "i" = ( -/obj/structure/stool/bed/chair/schair/wagon{ +/obj/structure/stool/bed/chair/schair/wagon/red{ dir = 4 }, /turf/simulated/shuttle/floor4{ diff --git a/taucetistation.dme b/taucetistation.dme index b96994212d38..329974960e42 100644 --- a/taucetistation.dme +++ b/taucetistation.dme @@ -101,6 +101,7 @@ #include "code\__DEFINES\time.dm" #include "code\__DEFINES\tools.dm" #include "code\__DEFINES\traits.dm" +#include "code\__DEFINES\turfs.dm" #include "code\__DEFINES\typeids.dm" #include "code\__DEFINES\varedit.dm" #include "code\__DEFINES\walls.dm" @@ -364,6 +365,7 @@ #include "code\datums\elements\awkward.dm" #include "code\datums\elements\beauty.dm" #include "code\datums\elements\digitalcamo.dm" +#include "code\datums\elements\undertile.dm" #include "code\datums\emotes\emote.dm" #include "code\datums\emotes\misc.dm" #include "code\datums\emotes\state_checks.dm" @@ -401,6 +403,8 @@ #include "code\datums\keybinding\mob.dm" #include "code\datums\keybinding\movement.dm" #include "code\datums\keybinding\robot.dm" +#include "code\datums\lighting\light_modes.dm" +#include "code\datums\lighting\smartlight_presets.dm" #include "code\datums\modifiable_value\_modifiable_value.dm" #include "code\datums\mood_events\_mood_event.dm" #include "code\datums\mood_events\antags_events.dm" @@ -567,7 +571,6 @@ #include "code\game\gamemodes\modes_declares\cult.dm" #include "code\game\gamemodes\modes_declares\extended.dm" #include "code\game\gamemodes\modes_declares\families.dm" -#include "code\game\gamemodes\modes_declares\imposters.dm" #include "code\game\gamemodes\modes_declares\infestation.dm" #include "code\game\gamemodes\modes_declares\junkyard.dm" #include "code\game\gamemodes\modes_declares\malfunction.dm" @@ -695,6 +698,7 @@ #include "code\game\gamemodes\objectives\capture.dm" #include "code\game\gamemodes\objectives\custom.dm" #include "code\game\gamemodes\objectives\download.dm" +#include "code\game\gamemodes\objectives\download_tcoms_data.dm" #include "code\game\gamemodes\objectives\escape.dm" #include "code\game\gamemodes\objectives\hijack.dm" #include "code\game\gamemodes\objectives\nuclear.dm" @@ -1287,6 +1291,7 @@ #include "code\game\turfs\turf_snow.dm" #include "code\game\turfs\unsimulated.dm" #include "code\game\turfs\floor\carpets.dm" +#include "code\game\turfs\floor\grid_plating.dm" #include "code\game\turfs\simulated\floor.dm" #include "code\game\turfs\simulated\floor_types.dm" #include "code\game\turfs\simulated\walls.dm" @@ -1747,7 +1752,6 @@ #include "code\modules\lighting\lighting_object.dm" #include "code\modules\lighting\lighting_source.dm" #include "code\modules\lighting\lighting_turf.dm" -#include "code\modules\lighting\lamps\light_modes.dm" #include "code\modules\liquid\splash_simulation.dm" #include "code\modules\locations\centcomm\displays.dm" #include "code\modules\locations\centcomm\monorail.dm" @@ -2424,7 +2428,6 @@ #include "code\modules\skills\skillsets\roles.dm" #include "code\modules\skills\skillsets\science.dm" #include "code\modules\skills\skillsets\security.dm" -#include "code\modules\smartlight\smartlight_presets.dm" #include "code\modules\sports\pbag.dm" #include "code\modules\sports\PedalGen.dm" #include "code\modules\sports\wrestler.dm" diff --git a/tgui/packages/tgui/interfaces/BodyScanner.js b/tgui/packages/tgui/interfaces/BodyScanner.js new file mode 100644 index 000000000000..6fe5cf0c4e2a --- /dev/null +++ b/tgui/packages/tgui/interfaces/BodyScanner.js @@ -0,0 +1,438 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from '../backend'; +import { + AnimatedNumber, + Box, + Button, + Flex, + Icon, + LabeledList, + ProgressBar, + Section, + Table, +} from '../components'; +import { Window } from '../layouts'; + +const stats = [ + ['good', 'Стабильное'], + ['average', 'Критическое'], + ['bad', 'Мёртв'], +]; + +const abnormalities = [ + ['hasBorer', 'bad', 'В лобной доле злокачественное новообразование.'], + ['blind', 'bad', 'Катаракта.'], + ['hasVirus', 'average', 'В кровотоке вирусный патоген.'], + ['nearsighted', 'average', 'Смещение сетчатки.'], +]; + +const damages = [ + ['Асфиксия', 'oxyLoss'], + ['Мозговые', 'brainLoss'], + ['Интоксикация', 'toxLoss'], + ['Облучение', 'radLoss'], + ['Механические', 'bruteLoss'], + ['Генетические', 'cloneLoss'], + ['Термические', 'fireLoss'], + ['Опьянение', 'drunkenness'], +]; + +const damageRange = { + average: [0.25, 0.5], + bad: [0.5, Infinity], +}; + +const mapTwoByTwo = (a, c) => { + let result = []; + for (let i = 0; i < a.length; i += 2) { + result.push(c(a[i], a[i + 1], i)); + } + return result; +}; + +const reduceOrganStatus = (A) => { + return A.length > 0 + ? A.filter((s) => !!s).reduce( + (a, s) => ( + <Fragment> + {a} + <Box key={s}>{s}</Box> + </Fragment> + ), + null + ) + : null; +}; + +export const BodyScanner = (props, context) => { + const { data } = useBackend(context); + const { occupied, occupant = {} } = data; + const body = occupied ? ( + <BodyScannerMain occupant={occupant} /> + ) : ( + <BodyScannerEmpty /> + ); + return ( + <Window resizable> + <Window.Content scrollable className="Layout__content--flexColumn"> + {body} + </Window.Content> + </Window> + ); +}; + +const BodyScannerMain = (props) => { + const { occupant } = props; + return ( + <Box> + <BodyScannerMainOccupant occupant={occupant} /> + <BodyScannerMainAbnormalities occupant={occupant} /> + <BodyScannerMainDamage occupant={occupant} /> + <BodyScannerMainOrgansExternal organs={occupant.extOrgan} /> + <BodyScannerMainOrgansInternal organs={occupant.intOrgan} /> + </Box> + ); +}; + +const BodyScannerMainOccupant = (props, context) => { + const { act, data } = useBackend(context); + const { occupant } = data; + return ( + <Section + title="Пациент" + buttons={ + <Fragment> + <Button icon="print" onClick={() => act('print_p')}> + Распечатать отчет + </Button> + <Button icon="user-slash" onClick={() => act('ejectify')}> + Извлечь + </Button> + </Fragment> + } + > + <LabeledList> + <LabeledList.Item label="Имя">{occupant.name}</LabeledList.Item> + <LabeledList.Item label="Здоровье"> + <ProgressBar + min="0" + max={occupant.maxHealth} + value={occupant.health / occupant.maxHealth} + ranges={{ + good: [0.5, Infinity], + average: [0, 0.5], + bad: [-Infinity, 0], + }} + /> + </LabeledList.Item> + <LabeledList.Item label="Кровь"> + {occupant.blood.hasBlood ? ( + <ProgressBar + min="0" + max={occupant.blood.bloodNormal} + value={occupant.blood.bloodLevel / occupant.blood.bloodNormal} + ranges={{ + good: [0.8, Infinity], + average: [0.6, 0.8], + bad: [-Infinity, 0.6], + }}> + <Box inline + style={{ + float: 'left', + }}> + {occupant.blood.pulse} уд/мин + </Box> + <Box inline> + {occupant.blood.percent}% + </Box> + </ProgressBar> + ) : ( + <Box color="average"> + Не обнаружена + </Box> + )} + + </LabeledList.Item> + <LabeledList.Item label="Состояние" color={stats[occupant.stat][0]}> + {stats[occupant.stat][1]} + </LabeledList.Item> + <LabeledList.Item label="Температура"> + <AnimatedNumber value={round(occupant.bodyTempC, 0)} /> + °C, + <AnimatedNumber value={round(occupant.bodyTempF, 0)} /> + °F + </LabeledList.Item> + </LabeledList> + </Section> + ); +}; + +const BodyScannerMainAbnormalities = (props) => { + const { occupant } = props; + if ( + !( + occupant.hasBorer + || occupant.blind + || occupant.nearsighted + || occupant.hasVirus + ) + ) { + return ( + <Section title="Отклонения"> + <Box color="label">Не обнаружено.</Box> + </Section> + ); + } + + return ( + <Section title="Отклонения"> + {abnormalities.map((a, i) => { + if (occupant[a[0]]) { + return ( + <Box key={a[2]} color={a[1]} bold={a[1] === 'bad'}> + {a[2]} + </Box> + ); + } + })} + </Section> + ); +}; + +const BodyScannerMainDamage = (props) => { + const { occupant } = props; + return ( + <Section title="Повреждения"> + <Table> + {mapTwoByTwo(damages, (d1, d2, i) => ( + <Fragment> + <Table.Row color="label"> + <Table.Cell>{d1[0]}:</Table.Cell> + <Table.Cell>{!!d2 && d2[0] + ':'}</Table.Cell> + </Table.Row> + <Table.Row> + <Table.Cell> + <BodyScannerMainDamageBar + value={occupant[d1[1]]} + marginBottom={i < damages.length - 2} + /> + </Table.Cell> + <Table.Cell> + {!!d2 && <BodyScannerMainDamageBar value={occupant[d2[1]]} />} + </Table.Cell> + </Table.Row> + </Fragment> + ))} + </Table> + </Section> + ); +}; + +const BodyScannerMainDamageBar = (props) => { + return ( + <ProgressBar + min="0" + max="100" + value={props.value / 100} + mt="0.5rem" + mb={!!props.marginBottom && '0.5rem'} + ranges={damageRange} + > + {round(props.value, 0)} + </ProgressBar> + ); +}; + +const BodyScannerMainOrgansExternal = (props) => { + if (props.organs.length === 0) { + return ( + <Section title="Внешние органы"> + <Box color="label">Нет сведений</Box> + </Section> + ); + } + + return ( + <Section title="Внешние органы"> + <Table> + <Table.Row header> + <Table.Cell>Название</Table.Cell> + <Table.Cell textAlign="center">Повреждения</Table.Cell> + <Table.Cell textAlign="right">Дополнительные сведения</Table.Cell> + </Table.Row> + {props.organs.map((o, i) => ( + <Table.Row key={i} + textTransform="capitalize" + backgroundColor={(i % 2 !== 0) && "rgba(255, 255, 255, 0.05)"}> + <Table.Cell + color={ + ((!!o.status.dead + || !!o.internalBleeding + || !!o.stump + || !!o.missing) + && 'bad') + || ((!!o.lungRuptured + || !!o.status.broken + || !!o.open + || !!o.germ_level + || !!o.unknown_implant) + && 'average') + || (!!o.status.robotic && 'label') + } + width="33%" + > + {o.name} + </Table.Cell> + <Table.Cell textAlign="center" q> + <ProgressBar + min="0" + max={o.maxHealth} + mt={i > 0 && '0.5rem'} + value={o.totalLoss / o.maxHealth} + ranges={damageRange} + > + <Box inline + style={{ + float: 'left', + }}> + {!!o.bruteLoss && ( + <Box inline position="relative"> + <Icon name="bone" /> + {round(o.bruteLoss, 0)} + </Box> + )} + {!!o.fireLoss && ( + <Box inline position="relative"> + <Icon name="fire" /> + {round(o.fireLoss, 0)} + </Box> + )} + </Box> + <Box inline>{round(o.totalLoss, 0)}</Box> + </ProgressBar> + </Table.Cell> + <Table.Cell + textAlign="right" + verticalAlign="top" + width="33%" + pt={i > 0 && 'calc(0.5rem + 2px)'} + > + <Box inline> + <Box color="bad" bold> + {reduceOrganStatus([ + !!o.internalBleeding && 'Артериальное кровотечение', + !!o.status.dead && 'Отказ', + !!o.stump && 'Культя', + !!o.missing && 'Отсутствует', + ])} + </Box> + <Box color="average"> + {reduceOrganStatus([ + !!o.lungRuptured && 'Разрыв легкого', + !!o.status.broken && o.status.broken, + !!o.germ_level && o.germ_level, + !!o.open && 'Открытый разрез', + ])} + </Box> + {o.implant?.map((s) => (s.name ? ( + <Box color="good"> + {s.name} + </Box> + ) : ( + <Box color="average"> + Инородный объект + </Box> + )))} + {reduceOrganStatus([ + !!o.status.splinted && <Box color="good">Наложена шина</Box>, + !!o.status.robotic && <Box color="label">Протез</Box>, + ])} + </Box> + </Table.Cell> + </Table.Row> + ))} + </Table> + </Section> + ); +}; + +const BodyScannerMainOrgansInternal = (props) => { + if (props.organs.length === 0) { + return ( + <Section title="Внутренние органы"> + <Box color="label">Нет сведений</Box> + </Section> + ); + } + + return ( + <Section title="Внутренние органы"> + <Table> + <Table.Row header> + <Table.Cell>Название</Table.Cell> + <Table.Cell textAlign="center">Повреждения</Table.Cell> + <Table.Cell textAlign="right">Дополнительные сведения</Table.Cell> + </Table.Row> + {props.organs.map((o, i) => ( + <Table.Row key={i} + textTransform="capitalize" + backgroundColor={(i % 2 !== 0) && "rgba(255, 255, 255, 0.05)"}> + <Table.Cell + color={ + ((!!o.dead || !!o.broken) && 'bad') + || (!!o.robotic && 'label') + || ((!!o.germ_level || !!o.bruised) && 'average') + } + width="33%" + > + {o.name} + </Table.Cell> + <Table.Cell textAlign="center"> + <ProgressBar + min="0" + max={o.maxHealth} + value={o.damage / o.maxHealth} + mt={i > 0 && '0.5rem'} + ranges={damageRange} + > + {round(o.damage, 0)} + </ProgressBar> + </Table.Cell> + <Table.Cell + textAlign="right" + verticalAlign="top" + width="33%" + pt={i > 0 && 'calc(0.5rem + 2px)'} + > + <Box inline> + <Box color="average"> + {reduceOrganStatus([!!o.germ_level && o.germ_level])} + </Box> + {reduceOrganStatus([ + !!o.robotic && <Box color="label">Протез</Box>, + !!o.assisted && <Box color="label">Вспомогательный имплант</Box>, + !!o.dead && <Box color="bad" bold>Отказ</Box>, + ])} + </Box> + </Table.Cell> + </Table.Row> + ))} + </Table> + </Section> + ); +}; + +const BodyScannerEmpty = () => { + return ( + <Section fill textAlign="center"> + <Flex height="100%"> + <Flex.Item grow="1" align="center" color="label"> + <Icon name="user-slash" mb="0.5rem" size="5" /> + <br /> + Пациент не обнаружен. + </Flex.Item> + </Flex> + </Section> + ); +}; diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index baf6cf0d6aa2..10d601a6d404 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -1 +1 @@ -!function(){var e={92179:function(e,t,n){"use strict";t.__esModule=!0,t.popperGenerator=h,t.createPopper=void 0;var o=f(n(30505)),r=f(n(43545)),i=f(n(46213)),a=f(n(32440)),c=(f(n(61131)),f(n(45700))),u=f(n(68369)),l=(f(n(38574)),f(n(25435)),f(n(22709)),f(n(36284))),s=f(n(19574));t.detectOverflow=s["default"];var d=n(67458);n(56728);function f(e){return e&&e.__esModule?e:{"default":e}}var p={placement:"bottom",modifiers:[],strategy:"absolute"};function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function h(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,s=void 0===n?[]:n,f=t.defaultOptions,h=void 0===f?p:f;return function(e,t,n){void 0===n&&(n=h);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},p,h),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},v=[],g=!1,b={state:f,setOptions:function(n){C(),f.options=Object.assign({},h,f.options,n),f.scrollParents={reference:(0,d.isElement)(e)?(0,i["default"])(e):e.contextElement?(0,i["default"])(e.contextElement):[],popper:(0,i["default"])(t)};var o=(0,c["default"])((0,l["default"])([].concat(s,f.options.modifiers)));return f.orderedModifiers=o.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:f,name:t,instance:b,options:o}),a=function(){function e(){}return e}();v.push(i||a)}})),b.update()},forceUpdate:function(){if(!g){var e=f.elements,t=e.reference,n=e.popper;if(m(t,n)){f.rects={reference:(0,o["default"])(t,(0,a["default"])(n),"fixed"===f.options.strategy),popper:(0,r["default"])(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<f.orderedModifiers.length;i++)if(!0!==f.reset){var c=f.orderedModifiers[i],u=c.fn,l=c.options,s=void 0===l?{}:l,d=c.name;"function"==typeof u&&(f=u({state:f,options:s,name:d,instance:b})||f)}else f.reset=!1,i=-1}}},update:(0,u["default"])((function(){return new Promise((function(e){b.forceUpdate(),e(f)}))})),destroy:function(){C(),g=!0}};if(!m(e,t))return b;function C(){v.forEach((function(e){return e()})),v=[]}return b.setOptions(n).then((function(e){!g&&n.onFirstUpdate&&n.onFirstUpdate(e)})),b}}var v=h();t.createPopper=v},97607:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,o.isShadowRoot)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1};var o=n(67458)},94294:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,a=1;(0,o.isHTMLElement)(e)&&t&&(i=n.width/e.offsetWidth||1,a=n.height/e.offsetHeight||1);return{width:r(n.width/i),height:r(n.height/a),top:r(n.top/a),right:r(n.right/i),bottom:r(n.bottom/a),left:r(n.left/i),x:r(n.left/i),y:r(n.top/a)}};var o=n(67458),r=Math.round},48162:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){var o="clippingParents"===t?function(e){var t=(0,a["default"])((0,f["default"])(e)),n=["absolute","fixed"].indexOf((0,l["default"])(e).position)>=0&&(0,s.isHTMLElement)(e)?(0,c["default"])(e):e;if(!(0,s.isElement)(n))return[];return t.filter((function(e){return(0,s.isElement)(e)&&(0,p["default"])(e,n)&&"body"!==(0,m["default"])(e)}))}(e):[].concat(t),r=[].concat(o,[n]),i=r[0],u=r.reduce((function(t,n){var o=b(e,n);return t.top=(0,v.max)(o.top,t.top),t.right=(0,v.min)(o.right,t.right),t.bottom=(0,v.min)(o.bottom,t.bottom),t.left=(0,v.max)(o.left,t.left),t}),b(e,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u};var o=n(56728),r=g(n(78331)),i=g(n(68692)),a=g(n(46213)),c=g(n(32440)),u=g(n(58386)),l=g(n(61131)),s=n(67458),d=g(n(94294)),f=g(n(31613)),p=g(n(97607)),m=g(n(99624)),h=g(n(20935)),v=n(62836);function g(e){return e&&e.__esModule?e:{"default":e}}function b(e,t){return t===o.viewport?(0,h["default"])((0,r["default"])(e)):(0,s.isHTMLElement)(t)?function(e){var t=(0,d["default"])(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,h["default"])((0,i["default"])((0,u["default"])(e)))}},30505:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){void 0===n&&(n=!1);var s=(0,a.isHTMLElement)(t),d=(0,a.isHTMLElement)(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,o=t.height/e.offsetHeight||1;return 1!==n||1!==o}(t),f=(0,u["default"])(t),p=(0,o["default"])(e,d),m={scrollLeft:0,scrollTop:0},h={x:0,y:0};(s||!s&&!n)&&(("body"!==(0,i["default"])(t)||(0,l["default"])(f))&&(m=(0,r["default"])(t)),(0,a.isHTMLElement)(t)?((h=(0,o["default"])(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):f&&(h.x=(0,c["default"])(f)));return{x:p.left+m.scrollLeft-h.x,y:p.top+m.scrollTop-h.y,width:p.width,height:p.height}};var o=s(n(94294)),r=s(n(71942)),i=s(n(99624)),a=n(67458),c=s(n(45471)),u=s(n(58386)),l=s(n(37229));function s(e){return e&&e.__esModule?e:{"default":e}}},61131:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(0,r["default"])(e).getComputedStyle(e)};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},58386:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(((0,o.isElement)(e)?e.ownerDocument:e.document)||window.document).documentElement};var o=n(67458)},68692:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t,n=(0,o["default"])(e),u=(0,a["default"])(e),l=null==(t=e.ownerDocument)?void 0:t.body,s=(0,c.max)(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,c.max)(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),f=-u.scrollLeft+(0,i["default"])(e),p=-u.scrollTop;"rtl"===(0,r["default"])(l||n).direction&&(f+=(0,c.max)(n.clientWidth,l?l.clientWidth:0)-s);return{width:s,height:d,x:f,y:p}};var o=u(n(58386)),r=u(n(61131)),i=u(n(45471)),a=u(n(1255)),c=n(62836);function u(e){return e&&e.__esModule?e:{"default":e}}},50552:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},43545:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=e.offsetWidth,o=e.offsetHeight;Math.abs(t.width-n)<=1&&(n=t.width);Math.abs(t.height-o)<=1&&(o=t.height);return{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}};var o,r=(o=n(94294))&&o.__esModule?o:{"default":o}},99624:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e?(e.nodeName||"").toLowerCase():null}},71942:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return e!==(0,r["default"])(e)&&(0,i.isHTMLElement)(e)?(0,a["default"])(e):(0,o["default"])(e)};var o=c(n(1255)),r=c(n(31677)),i=n(67458),a=c(n(50552));function c(e){return e&&e.__esModule?e:{"default":e}}},32440:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,o["default"])(e),n=s(e);for(;n&&(0,c["default"])(n)&&"static"===(0,i["default"])(n).position;)n=s(n);if(n&&("html"===(0,r["default"])(n)||"body"===(0,r["default"])(n)&&"static"===(0,i["default"])(n).position))return t;return n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.isHTMLElement)(e)){if("fixed"===(0,i["default"])(e).position)return null}var n=(0,u["default"])(e);for(;(0,a.isHTMLElement)(n)&&["html","body"].indexOf((0,r["default"])(n))<0;){var o=(0,i["default"])(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t};var o=l(n(31677)),r=l(n(99624)),i=l(n(61131)),a=n(67458),c=l(n(79130)),u=l(n(31613));function l(e){return e&&e.__esModule?e:{"default":e}}function s(e){return(0,a.isHTMLElement)(e)&&"fixed"!==(0,i["default"])(e).position?e.offsetParent:null}},31613:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){if("html"===(0,o["default"])(e))return e;return e.assignedSlot||e.parentNode||((0,i.isShadowRoot)(e)?e.host:null)||(0,r["default"])(e)};var o=a(n(99624)),r=a(n(58386)),i=n(67458);function a(e){return e&&e.__esModule?e:{"default":e}}},66055:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function u(e){if(["html","body","#document"].indexOf((0,i["default"])(e))>=0)return e.ownerDocument.body;if((0,a.isHTMLElement)(e)&&(0,r["default"])(e))return e;return u((0,o["default"])(e))};var o=c(n(31613)),r=c(n(37229)),i=c(n(99624)),a=n(67458);function c(e){return e&&e.__esModule?e:{"default":e}}},78331:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,o["default"])(e),n=(0,r["default"])(e),a=t.visualViewport,c=n.clientWidth,u=n.clientHeight,l=0,s=0;a&&(c=a.width,u=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=a.offsetLeft,s=a.offsetTop));return{width:c,height:u,x:l+(0,i["default"])(e),y:s}};var o=a(n(31677)),r=a(n(58386)),i=a(n(45471));function a(e){return e&&e.__esModule?e:{"default":e}}},31677:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}},1255:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},45471:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(0,o["default"])((0,r["default"])(e)).left+(0,i["default"])(e).scrollLeft};var o=a(n(94294)),r=a(n(58386)),i=a(n(1255));function a(e){return e&&e.__esModule?e:{"default":e}}},67458:function(e,t,n){"use strict";t.__esModule=!0,t.isElement=function(e){var t=(0,r["default"])(e).Element;return e instanceof t||e instanceof Element},t.isHTMLElement=function(e){var t=(0,r["default"])(e).HTMLElement;return e instanceof t||e instanceof HTMLElement},t.isShadowRoot=function(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,r["default"])(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},37229:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)};var o,r=(o=n(61131))&&o.__esModule?o:{"default":o}},79130:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return["table","td","th"].indexOf((0,r["default"])(e))>=0};var o,r=(o=n(99624))&&o.__esModule?o:{"default":o}},46213:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function u(e,t){var n;void 0===t&&(t=[]);var c=(0,o["default"])(e),l=c===(null==(n=e.ownerDocument)?void 0:n.body),s=(0,i["default"])(c),d=l?[s].concat(s.visualViewport||[],(0,a["default"])(c)?c:[]):c,f=t.concat(d);return l?f:f.concat(u((0,r["default"])(d)))};var o=c(n(66055)),r=c(n(31613)),i=c(n(31677)),a=c(n(37229));function c(e){return e&&e.__esModule?e:{"default":e}}},56728:function(e,t){"use strict";t.__esModule=!0,t.modifierPhases=t.afterWrite=t.write=t.beforeWrite=t.afterMain=t.main=t.beforeMain=t.afterRead=t.read=t.beforeRead=t.placements=t.variationPlacements=t.reference=t.popper=t.viewport=t.clippingParents=t.end=t.start=t.basePlacements=t.auto=t.left=t.right=t.bottom=t.top=void 0;t.top="top";var n="bottom";t.bottom=n;var o="right";t.right=o;var r="left";t.left=r;var i="auto";t.auto=i;var a=["top",n,o,r];t.basePlacements=a;var c="start";t.start=c;var u="end";t.end=u;t.clippingParents="clippingParents";t.viewport="viewport";t.popper="popper";t.reference="reference";var l=a.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]);t.variationPlacements=l;var s=[].concat(a,[i]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]);t.placements=s;var d="beforeRead";t.beforeRead=d;var f="read";t.read=f;var p="afterRead";t.afterRead=p;var m="beforeMain";t.beforeMain=m;var h="main";t.main=h;var v="afterMain";t.afterMain=v;var g="beforeWrite";t.beforeWrite=g;var b="write";t.write=b;var C="afterWrite";t.afterWrite=C;var y=[d,f,p,m,h,v,g,b,C];t.modifierPhases=y},34739:function(e,t,n){"use strict";t.__esModule=!0;var o={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};t.createPopperLite=t.createPopper=t.createPopperBase=t.detectOverflow=t.popperGenerator=void 0;var r=n(56728);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===r[e]||(t[e]=r[e]))}));var i=n(18726);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||(t[e]=i[e]))}));var a=n(92179);t.popperGenerator=a.popperGenerator,t.detectOverflow=a.detectOverflow,t.createPopperBase=a.createPopper;var c=n(48069);t.createPopper=c.createPopper;var u=n(39030);t.createPopperLite=u.createPopper},34559:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(99624))&&o.__esModule?o:{"default":o},i=n(67458);var a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];(0,i.isHTMLElement)(a)&&(0,r["default"])(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],a=t.attributes[e]||{},c=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,i.isHTMLElement)(o)&&(0,r["default"])(o)&&(Object.assign(o.style,c),Object.keys(a).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};t["default"]=a},76340:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=f(n(22709)),r=f(n(43545)),i=f(n(97607)),a=f(n(32440)),c=f(n(16615)),u=f(n(52534)),l=f(n(32055)),s=f(n(76294)),d=n(56728);n(67458);function f(e){return e&&e.__esModule?e:{"default":e}}var p=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,l["default"])("number"!=typeof e?e:(0,s["default"])(e,d.basePlacements))};var m={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,l=e.options,s=n.elements.arrow,f=n.modifiersData.popperOffsets,m=(0,o["default"])(n.placement),h=(0,c["default"])(m),v=[d.left,d.right].indexOf(m)>=0?"height":"width";if(s&&f){var g=p(l.padding,n),b=(0,r["default"])(s),C="y"===h?d.top:d.left,y="y"===h?d.bottom:d.right,N=n.rects.reference[v]+n.rects.reference[h]-f[h]-n.rects.popper[v],_=f[h]-n.rects.reference[h],V=(0,a["default"])(s),x=V?"y"===h?V.clientHeight||0:V.clientWidth||0:0,w=N/2-_/2,S=g[C],k=x-b[v]-g[y],E=x/2-b[v]/2+w,B=(0,u["default"])(S,E,k),I=h;n.modifiersData[i]=((t={})[I]=B,t.centerOffset=B-E,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&(0,i["default"])(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};t["default"]=m},11300:function(e,t,n){"use strict";t.__esModule=!0,t.mapToStyles=f,t["default"]=void 0;var o=n(56728),r=s(n(32440)),i=s(n(31677)),a=s(n(58386)),c=s(n(61131)),u=s(n(22709)),l=n(62836);function s(e){return e&&e.__esModule?e:{"default":e}}var d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n=e.popper,u=e.popperRect,s=e.placement,f=e.offsets,p=e.position,m=e.gpuAcceleration,h=e.adaptive,v=e.roundOffsets,g=!0===v?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:(0,l.round)((0,l.round)(t*o)/o)||0,y:(0,l.round)((0,l.round)(n*o)/o)||0}}(f):"function"==typeof v?v(f):f,b=g.x,C=void 0===b?0:b,y=g.y,N=void 0===y?0:y,_=f.hasOwnProperty("x"),V=f.hasOwnProperty("y"),x=o.left,w=o.top,S=window;if(h){var k=(0,r["default"])(n),E="clientHeight",B="clientWidth";k===(0,i["default"])(n)&&(k=(0,a["default"])(n),"static"!==(0,c["default"])(k).position&&(E="scrollHeight",B="scrollWidth")),k=k,s===o.top&&(w=o.bottom,N-=k[E]-u.height,N*=m?1:-1),s===o.left&&(x=o.right,C-=k[B]-u.width,C*=m?1:-1)}var I,L=Object.assign({position:p},h&&d);return m?Object.assign({},L,((I={})[w]=V?"0":"",I[x]=_?"0":"",I.transform=(S.devicePixelRatio||1)<2?"translate("+C+"px, "+N+"px)":"translate3d("+C+"px, "+N+"px, 0)",I)):Object.assign({},L,((t={})[w]=V?N+"px":"",t[x]=_?C+"px":"",t.transform="",t))}var p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,c=n.roundOffsets,l=void 0===c||c,s={placement:(0,u["default"])(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};t["default"]=p},27020:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(31677))&&o.__esModule?o:{"default":o};var i={passive:!0};var a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,c=void 0===a||a,u=o.resize,l=void 0===u||u,s=(0,r["default"])(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&d.forEach((function(e){e.addEventListener("scroll",n.update,i)})),l&&s.addEventListener("resize",n.update,i),function(){c&&d.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),l&&s.removeEventListener("resize",n.update,i)}},data:{}};t["default"]=a},45922:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=s(n(70045)),r=s(n(22709)),i=s(n(28916)),a=s(n(19574)),c=s(n(31565)),u=n(56728),l=s(n(45412));function s(e){return e&&e.__esModule?e:{"default":e}}var d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var d=n.mainAxis,f=void 0===d||d,p=n.altAxis,m=void 0===p||p,h=n.fallbackPlacements,v=n.padding,g=n.boundary,b=n.rootBoundary,C=n.altBoundary,y=n.flipVariations,N=void 0===y||y,_=n.allowedAutoPlacements,V=t.options.placement,x=(0,r["default"])(V),w=h||(x===V||!N?[(0,o["default"])(V)]:function(e){if((0,r["default"])(e)===u.auto)return[];var t=(0,o["default"])(e);return[(0,i["default"])(e),t,(0,i["default"])(t)]}(V)),S=[V].concat(w).reduce((function(e,n){return e.concat((0,r["default"])(n)===u.auto?(0,c["default"])(t,{placement:n,boundary:g,rootBoundary:b,padding:v,flipVariations:N,allowedAutoPlacements:_}):n)}),[]),k=t.rects.reference,E=t.rects.popper,B=new Map,I=!0,L=S[0],O=0;O<S.length;O++){var M=S[O],A=(0,r["default"])(M),T=(0,l["default"])(M)===u.start,P=[u.top,u.bottom].indexOf(A)>=0,j=P?"width":"height",F=(0,a["default"])(t,{placement:M,boundary:g,rootBoundary:b,altBoundary:C,padding:v}),R=P?T?u.right:u.left:T?u.bottom:u.top;k[j]>E[j]&&(R=(0,o["default"])(R));var D=(0,o["default"])(R),K=[];if(f&&K.push(F[A]<=0),m&&K.push(F[R]<=0,F[D]<=0),K.every((function(e){return e}))){L=M,I=!1;break}B.set(M,K)}if(I)for(var z=function(e){var t=S.find((function(t){var n=B.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},W=N?3:1;W>0;W--){if("break"===z(W))break}t.placement!==L&&(t.modifiersData[s]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};t["default"]=d},82860:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=n(56728),i=(o=n(19574))&&o.__esModule?o:{"default":o};function a(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function c(e){return[r.top,r.right,r.bottom,r.left].some((function(t){return e[t]>=0}))}var u={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,u=t.modifiersData.preventOverflow,l=(0,i["default"])(t,{elementContext:"reference"}),s=(0,i["default"])(t,{altBoundary:!0}),d=a(l,o),f=a(s,r,u),p=c(d),m=c(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}};t["default"]=u},18726:function(e,t,n){"use strict";t.__esModule=!0,t.preventOverflow=t.popperOffsets=t.offset=t.hide=t.flip=t.eventListeners=t.computeStyles=t.arrow=t.applyStyles=void 0;var o=f(n(34559));t.applyStyles=o["default"];var r=f(n(76340));t.arrow=r["default"];var i=f(n(11300));t.computeStyles=i["default"];var a=f(n(27020));t.eventListeners=a["default"];var c=f(n(45922));t.flip=c["default"];var u=f(n(82860));t.hide=u["default"];var l=f(n(33310));t.offset=l["default"];var s=f(n(74371));t.popperOffsets=s["default"];var d=f(n(21532));function f(e){return e&&e.__esModule?e:{"default":e}}t.preventOverflow=d["default"]},33310:function(e,t,n){"use strict";t.__esModule=!0,t.distanceAndSkiddingToXY=a,t["default"]=void 0;var o,r=(o=n(22709))&&o.__esModule?o:{"default":o},i=n(56728);function a(e,t,n){var o=(0,r["default"])(e),a=[i.left,i.top].indexOf(o)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=c[0],l=c[1];return u=u||0,l=(l||0)*a,[i.left,i.right].indexOf(o)>=0?{x:l,y:u}:{x:u,y:l}}var c={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,c=void 0===r?[0,0]:r,u=i.placements.reduce((function(e,n){return e[n]=a(n,t.rects,c),e}),{}),l=u[t.placement],s=l.x,d=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=u}};t["default"]=c},74371:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(17175))&&o.__esModule?o:{"default":o};var i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r["default"])({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};t["default"]=i},21532:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=n(56728),r=m(n(22709)),i=m(n(16615)),a=m(n(82898)),c=m(n(52534)),u=m(n(43545)),l=m(n(32440)),s=m(n(19574)),d=m(n(45412)),f=m(n(41801)),p=n(62836);function m(e){return e&&e.__esModule?e:{"default":e}}var h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,m=e.name,h=n.mainAxis,v=void 0===h||h,g=n.altAxis,b=void 0!==g&&g,C=n.boundary,y=n.rootBoundary,N=n.altBoundary,_=n.padding,V=n.tether,x=void 0===V||V,w=n.tetherOffset,S=void 0===w?0:w,k=(0,s["default"])(t,{boundary:C,rootBoundary:y,padding:_,altBoundary:N}),E=(0,r["default"])(t.placement),B=(0,d["default"])(t.placement),I=!B,L=(0,i["default"])(E),O=(0,a["default"])(L),M=t.modifiersData.popperOffsets,A=t.rects.reference,T=t.rects.popper,P="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,j={x:0,y:0};if(M){if(v||b){var F="y"===L?o.top:o.left,R="y"===L?o.bottom:o.right,D="y"===L?"height":"width",K=M[L],z=M[L]+k[F],W=M[L]-k[R],Y=x?-T[D]/2:0,U=B===o.start?A[D]:T[D],H=B===o.start?-T[D]:-A[D],G=t.elements.arrow,$=x&&G?(0,u["default"])(G):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f["default"])(),X=q[F],Q=q[R],J=(0,c["default"])(0,A[D],$[D]),Z=I?A[D]/2-Y-J-X-P:U-J-X-P,ee=I?-A[D]/2+Y+J+Q+P:H+J+Q+P,te=t.elements.arrow&&(0,l["default"])(t.elements.arrow),ne=te?"y"===L?te.clientTop||0:te.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][L]:0,re=M[L]+Z-oe-ne,ie=M[L]+ee-oe;if(v){var ae=(0,c["default"])(x?(0,p.min)(z,re):z,K,x?(0,p.max)(W,ie):W);M[L]=ae,j[L]=ae-K}if(b){var ce="x"===L?o.top:o.left,ue="x"===L?o.bottom:o.right,le=M[O],se=le+k[ce],de=le-k[ue],fe=(0,c["default"])(x?(0,p.min)(se,re):se,le,x?(0,p.max)(de,ie):de);M[O]=fe,j[O]=fe-le}}t.modifiersData[m]=j}},requiresIfExists:["offset"]};t["default"]=h},39030:function(e,t,n){"use strict";t.__esModule=!0,t.defaultModifiers=t.createPopper=void 0;var o=n(92179);t.popperGenerator=o.popperGenerator,t.detectOverflow=o.detectOverflow;var r=u(n(27020)),i=u(n(74371)),a=u(n(11300)),c=u(n(34559));function u(e){return e&&e.__esModule?e:{"default":e}}var l=[r["default"],i["default"],a["default"],c["default"]];t.defaultModifiers=l;var s=(0,o.popperGenerator)({defaultModifiers:l});t.createPopper=s},48069:function(e,t,n){"use strict";t.__esModule=!0;var o={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};t.defaultModifiers=t.createPopperLite=t.createPopper=void 0;var r=n(92179);t.popperGenerator=r.popperGenerator,t.detectOverflow=r.detectOverflow;var i=v(n(27020)),a=v(n(74371)),c=v(n(11300)),u=v(n(34559)),l=v(n(33310)),s=v(n(45922)),d=v(n(21532)),f=v(n(76340)),p=v(n(82860)),m=n(39030);t.createPopperLite=m.createPopper;var h=n(18726);function v(e){return e&&e.__esModule?e:{"default":e}}Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||(t[e]=h[e]))}));var g=[i["default"],a["default"],c["default"],u["default"],l["default"],s["default"],d["default"],f["default"],p["default"]];t.defaultModifiers=g;var b=(0,r.popperGenerator)({defaultModifiers:g});t.createPopperLite=t.createPopper=b},31565:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t={});var n=t,c=n.placement,u=n.boundary,l=n.rootBoundary,s=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,p=void 0===f?r.placements:f,m=(0,o["default"])(c),h=m?d?r.variationPlacements:r.variationPlacements.filter((function(e){return(0,o["default"])(e)===m})):r.basePlacements,v=h.filter((function(e){return p.indexOf(e)>=0}));0===v.length&&(v=h);var g=v.reduce((function(t,n){return t[n]=(0,i["default"])(e,{placement:n,boundary:u,rootBoundary:l,padding:s})[(0,a["default"])(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))};var o=c(n(45412)),r=n(56728),i=c(n(19574)),a=c(n(22709));function c(e){return e&&e.__esModule?e:{"default":e}}},17175:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t,n=e.reference,c=e.element,u=e.placement,l=u?(0,o["default"])(u):null,s=u?(0,r["default"])(u):null,d=n.x+n.width/2-c.width/2,f=n.y+n.height/2-c.height/2;switch(l){case a.top:t={x:d,y:n.y-c.height};break;case a.bottom:t={x:d,y:n.y+n.height};break;case a.right:t={x:n.x+n.width,y:f};break;case a.left:t={x:n.x-c.width,y:f};break;default:t={x:n.x,y:n.y}}var p=l?(0,i["default"])(l):null;if(null!=p){var m="y"===p?"height":"width";switch(s){case a.start:t[p]=t[p]-(n[m]/2-c[m]/2);break;case a.end:t[p]=t[p]+(n[m]/2-c[m]/2)}}return t};var o=c(n(22709)),r=c(n(45412)),i=c(n(16615)),a=n(56728);function c(e){return e&&e.__esModule?e:{"default":e}}},68369:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=undefined,n(e())}))}))),t}}},19574:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,m=n.boundary,h=void 0===m?u.clippingParents:m,v=n.rootBoundary,g=void 0===v?u.viewport:v,b=n.elementContext,C=void 0===b?u.popper:b,y=n.altBoundary,N=void 0!==y&&y,_=n.padding,V=void 0===_?0:_,x=(0,s["default"])("number"!=typeof V?V:(0,d["default"])(V,u.basePlacements)),w=C===u.popper?u.reference:u.popper,S=e.elements.reference,k=e.rects.popper,E=e.elements[N?w:C],B=(0,r["default"])((0,l.isElement)(E)?E:E.contextElement||(0,i["default"])(e.elements.popper),h,g),I=(0,o["default"])(S),L=(0,a["default"])({reference:I,element:k,strategy:"absolute",placement:p}),O=(0,c["default"])(Object.assign({},k,L)),M=C===u.popper?O:I,A={top:B.top-M.top+x.top,bottom:M.bottom-B.bottom+x.bottom,left:B.left-M.left+x.left,right:M.right-B.right+x.right},T=e.modifiersData.offset;if(C===u.popper&&T){var P=T[p];Object.keys(A).forEach((function(e){var t=[u.right,u.bottom].indexOf(e)>=0?1:-1,n=[u.top,u.bottom].indexOf(e)>=0?"y":"x";A[e]+=P[n]*t}))}return A};var o=f(n(94294)),r=f(n(48162)),i=f(n(58386)),a=f(n(17175)),c=f(n(20935)),u=n(56728),l=n(67458),s=f(n(32055)),d=f(n(76294));function f(e){return e&&e.__esModule?e:{"default":e}}},76294:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}},41434:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}},82898:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return"x"===e?"y":"x"}},22709:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return e.split("-")[0]};n(56728)},41801:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{top:0,right:0,bottom:0,left:0}}},16615:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},70045:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.replace(/left|right|bottom|top/g,(function(e){return n[e]}))};var n={left:"right",right:"left",bottom:"top",top:"bottom"}},28916:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.replace(/start|end/g,(function(e){return n[e]}))};var n={start:"end",end:"start"}},45412:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.split("-")[1]}},62836:function(e,t){"use strict";t.__esModule=!0,t.round=t.min=t.max=void 0;var n=Math.max;t.max=n;var o=Math.min;t.min=o;var r=Math.round;t.round=r},36284:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}},32055:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return Object.assign({},(0,r["default"])(),e)};var o,r=(o=n(41801))&&o.__esModule?o:{"default":o}},45700:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=function(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}(e);return o.modifierPhases.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])};var o=n(56728)},20935:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},25435:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=new Set;return e.filter((function(e){var o=t(e);if(!n.has(o))return n.add(o),!0}))}},38574:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":t.name;break;case"enabled":t.enabled;case"phase":r.modifierPhases.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":t.effect;break;case"requires":Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach((function(t){e.find((function(e){return e.name===t}))}))}))}))};(o=n(41434))&&o.__esModule;var o,r=n(56728)},52534:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){return(0,o.max)(e,(0,o.min)(t,n))};var o=n(62836)},83923:function(e){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},1372:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},36910:function(e,t,n){"use strict";var o=n(17657),r=n(83681),i=n(74217),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},69953:function(e,t,n){"use strict";var o=n(37015).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},50997:function(e){"use strict";e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},63518:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},32977:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},19216:function(e,t,n){"use strict";var o,r,i,a=n(32977),c=n(75592),u=n(84253),l=n(35611),s=n(28919),d=n(47953),f=n(52188),p=n(11807),m=n(74217).f,h=n(6863),v=n(18444),g=n(17657),b=n(41080),C=u.Int8Array,y=C&&C.prototype,N=u.Uint8ClampedArray,_=N&&N.prototype,V=C&&h(C),x=y&&h(y),w=Object.prototype,S=w.isPrototypeOf,k=g("toStringTag"),E=b("TYPED_ARRAY_TAG"),B=b("TYPED_ARRAY_CONSTRUCTOR"),I=a&&!!v&&"Opera"!==d(u.opera),L=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},A=function(e){if(!l(e))return!1;var t=d(e);return"DataView"===t||s(O,t)||s(M,t)},T=function(e){if(!l(e))return!1;var t=d(e);return s(O,t)||s(M,t)};for(o in O)(i=(r=u[o])&&r.prototype)?f(i,B,r):I=!1;for(o in M)(i=(r=u[o])&&r.prototype)&&f(i,B,r);if((!I||"function"!=typeof V||V===Function.prototype)&&(V=function(){throw TypeError("Incorrect invocation")},I))for(o in O)u[o]&&v(u[o],V);if((!I||!x||x===w)&&(x=V.prototype,I))for(o in O)u[o]&&v(u[o].prototype,x);if(I&&h(_)!==x&&v(_,x),c&&!s(x,k))for(o in L=!0,m(x,k,{get:function(){return l(this)?this[E]:undefined}}),O)u[o]&&f(u[o],E,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:B,TYPED_ARRAY_TAG:L&&E,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(v&&!S.call(V,e))throw TypeError("Target is not a typed array constructor");return e},exportTypedArrayMethod:function(e,t,n){if(c){if(n)for(var o in O){var r=u[o];if(r&&s(r.prototype,e))try{delete r.prototype[e]}catch(i){}}x[e]&&!n||p(x,e,n?t:I&&y[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var o,r;if(c){if(v){if(n)for(o in O)if((r=u[o])&&s(r,e))try{delete r[e]}catch(i){}if(V[e]&&!n)return;try{return p(V,e,n?t:I&&V[e]||t)}catch(i){}}for(o in O)!(r=u[o])||r[e]&&!n||p(r,e,t)}},isView:A,isTypedArray:T,TypedArray:V,TypedArrayPrototype:x}},80246:function(e,t,n){"use strict";var o=n(84253),r=n(75592),i=n(32977),a=n(52188),c=n(3993),u=n(69691),l=n(50997),s=n(3997),d=n(39570),f=n(77559),p=n(16567),m=n(6863),h=n(18444),v=n(78870).f,g=n(74217).f,b=n(22051),C=n(29108),y=n(79947),N=y.get,_=y.set,V="ArrayBuffer",x="DataView",w="Wrong index",S=o.ArrayBuffer,k=S,E=o.DataView,B=E&&E.prototype,I=Object.prototype,L=o.RangeError,O=p.pack,M=p.unpack,A=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},P=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},j=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},F=function(e){return O(e,23,4)},R=function(e){return O(e,52,8)},D=function(e,t){g(e.prototype,t,{get:function(){return N(this)[t]}})},K=function(e,t,n,o){var r=f(n),i=N(e);if(r+t>i.byteLength)throw L(w);var a=N(i.buffer).bytes,c=r+i.byteOffset,u=a.slice(c,c+t);return o?u:u.reverse()},z=function(e,t,n,o,r,i){var a=f(n),c=N(e);if(a+t>c.byteLength)throw L(w);for(var u=N(c.buffer).bytes,l=a+c.byteOffset,s=o(+r),d=0;d<t;d++)u[l+d]=s[i?d:t-d-1]};if(i){if(!u((function(){S(1)}))||!u((function(){new S(-1)}))||u((function(){return new S,new S(1.5),new S(NaN),S.name!=V}))){for(var W,Y=(k=function(e){return l(this,k),new S(f(e))}).prototype=S.prototype,U=v(S),H=0;U.length>H;)(W=U[H++])in k||a(k,W,S[W]);Y.constructor=k}h&&m(B)!==I&&h(B,I);var G=new E(new k(2)),$=B.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||c(B,{setInt8:function(e,t){$.call(this,e,t<<24>>24)},setUint8:function(e,t){$.call(this,e,t<<24>>24)}},{unsafe:!0})}else k=function(e){l(this,k,V);var t=f(e);_(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},E=function(e,t,n){l(this,E,x),l(e,k,x);var o=N(e).byteLength,i=s(t);if(i<0||i>o)throw L("Wrong offset");if(i+(n=n===undefined?o-i:d(n))>o)throw L("Wrong length");_(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(D(k,"byteLength"),D(E,"buffer"),D(E,"byteLength"),D(E,"byteOffset")),c(E.prototype,{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return j(K(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return j(K(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return M(K(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return M(K(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){z(this,1,e,A,t)},setUint8:function(e,t){z(this,1,e,A,t)},setInt16:function(e,t){z(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){z(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){z(this,4,e,P,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){z(this,4,e,P,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){z(this,4,e,F,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){z(this,8,e,R,t,arguments.length>2?arguments[2]:undefined)}});C(k,V),C(E,x),e.exports={ArrayBuffer:k,DataView:E}},59571:function(e,t,n){"use strict";var o=n(12104),r=n(55205),i=n(39570),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),u=r(e,c),l=r(t,c),s=arguments.length>2?arguments[2]:undefined,d=a((s===undefined?c:r(s,c))-l,c-u),f=1;for(l<u&&u<l+d&&(f=-1,l+=d-1,u+=d-1);d-- >0;)l in n?n[u]=n[l]:delete n[u],u+=f,l+=f;return n}},22051:function(e,t,n){"use strict";var o=n(12104),r=n(55205),i=n(39570);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),u=a>2?arguments[2]:undefined,l=u===undefined?n:r(u,n);l>c;)t[c++]=e;return t}},90369:function(e,t,n){"use strict";var o=n(69033).forEach,r=n(37902)("forEach");e.exports=r?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},11955:function(e){"use strict";e.exports=function(e,t){for(var n=0,o=t.length,r=new e(o);o>n;)r[n]=t[n++];return r}},28213:function(e,t,n){"use strict";var o=n(74271),r=n(12104),i=n(32648),a=n(14195),c=n(39570),u=n(39241),l=n(3170);e.exports=function(e){var t,n,s,d,f,p,m=r(e),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:undefined,b=g!==undefined,C=l(m),y=0;if(b&&(g=o(g,v>2?arguments[2]:undefined,2)),C==undefined||h==Array&&a(C))for(n=new h(t=c(m.length));t>y;y++)p=b?g(m[y],y):m[y],u(n,y,p);else for(f=(d=C.call(m)).next,n=new h;!(s=f.call(d)).done;y++)p=b?i(d,g,[s.value,y],!0):s.value,u(n,y,p);return n.length=y,n}},25945:function(e,t,n){"use strict";var o=n(26553),r=n(39570),i=n(55205),a=function(e){return function(t,n,a){var c,u=o(t),l=r(u.length),s=i(a,l);if(e&&n!=n){for(;l>s;)if((c=u[s++])!=c)return!0}else for(;l>s;s++)if((e||s in u)&&u[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},69033:function(e,t,n){"use strict";var o=n(74271),r=n(50990),i=n(12104),a=n(39570),c=n(77454),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,s=4==e,d=6==e,f=7==e,p=5==e||d;return function(m,h,v,g){for(var b,C,y=i(m),N=r(y),_=o(h,v,3),V=a(N.length),x=0,w=g||c,S=t?w(m,V):n||f?w(m,0):undefined;V>x;x++)if((p||x in N)&&(C=_(b=N[x],x,y),e))if(t)S[x]=C;else if(C)switch(e){case 3:return!0;case 5:return b;case 6:return x;case 2:u.call(S,b)}else switch(e){case 4:return!1;case 7:u.call(S,b)}return d?-1:l||s?s:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},41183:function(e,t,n){"use strict";var o=n(26553),r=n(3997),i=n(39570),a=n(37902),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),d=l||!s;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=c(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},93537:function(e,t,n){"use strict";var o=n(69691),r=n(17657),i=n(12338),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},37902:function(e,t,n){"use strict";var o=n(69691);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},28249:function(e,t,n){"use strict";var o=n(83923),r=n(12104),i=n(50990),a=n(39570),c=function(e){return function(t,n,c,u){o(n);var l=r(t),s=i(l),d=a(l.length),f=e?d-1:0,p=e?-1:1;if(c<2)for(;;){if(f in s){u=s[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in s&&(u=n(u,s[f],f,l));return u}};e.exports={left:c(!1),right:c(!0)}},58737:function(e){"use strict";var t=Math.floor,n=function(e,t){for(var n,o,r=e.length,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},o=function(e,t,n){for(var o=e.length,r=t.length,i=0,a=0,c=[];i<o||a<r;)i<o&&a<r?c.push(n(e[i],t[a])<=0?e[i++]:t[a++]):c.push(i<o?e[i++]:t[a++]);return c};e.exports=function r(e,i){var a=e.length,c=t(a/2);return a<8?n(e,i):o(r(e.slice(0,c),i),r(e.slice(c),i),i)}},73612:function(e,t,n){"use strict";var o=n(35611),r=n(89999),i=n(17657)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)?o(t)&&null===(t=t[i])&&(t=undefined):t=undefined),t===undefined?Array:t}},77454:function(e,t,n){"use strict";var o=n(73612);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},32648:function(e,t,n){"use strict";var o=n(63518),r=n(61781);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(a){throw r(e),a}}},68762:function(e,t,n){"use strict";var o=n(17657)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},"return":function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},77e3:function(e){"use strict";var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},47953:function(e,t,n){"use strict";var o=n(64910),r=n(77e3),i=n(17657)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return e===undefined?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},74568:function(e,t,n){"use strict";var o=n(74217).f,r=n(83681),i=n(3993),a=n(74271),c=n(50997),u=n(56342),l=n(71179),s=n(64157),d=n(75592),f=n(40421).fastKey,p=n(79947),m=p.set,h=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var s=e((function(e,o){c(e,s,t),m(e,{type:t,index:r(null),first:undefined,last:undefined,size:0}),d||(e.size=0),o!=undefined&&u(o,e[l],{that:e,AS_ENTRIES:n})})),p=h(t),v=function(e,t,n){var o,r,i=p(e),a=g(e,t);return a?a.value=n:(i.last=a={index:r=f(t,!0),key:t,value:n,previous:o=i.last,next:undefined,removed:!1},i.first||(i.first=a),o&&(o.next=a),d?i.size++:e.size++,"F"!==r&&(i.index[r]=a)),e},g=function(e,t){var n,o=p(e),r=f(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return i(s.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=undefined),delete t[n.index],n=n.next;e.first=e.last=undefined,d?e.size=0:this.size=0},"delete":function(e){var t=this,n=p(t),o=g(t,e);if(o){var r=o.next,i=o.previous;delete n.index[o.index],o.removed=!0,i&&(i.next=r),r&&(r.previous=i),n.first==o&&(n.first=r),n.last==o&&(n.last=i),d?n.size--:t.size--}return!!o},forEach:function(e){for(var t,n=p(this),o=a(e,arguments.length>1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&o(s.prototype,"size",{get:function(){return p(this).size}}),s},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);l(e,t,(function(e,t){m(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},57396:function(e,t,n){"use strict";var o=n(3993),r=n(40421).getWeakData,i=n(63518),a=n(35611),c=n(50997),u=n(56342),l=n(69033),s=n(28919),d=n(79947),f=d.set,p=d.getterFor,m=l.find,h=l.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},C=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=C(this,e);if(t)return t[1]},has:function(e){return!!C(this,e)},set:function(e,t){var n=C(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,o){c(e,d,t),f(e,{type:t,id:v++,frozen:undefined}),o!=undefined&&u(o,e[l],{that:e,AS_ENTRIES:n})})),m=p(t),h=function(e,t,n){var o=m(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(d.prototype,{"delete":function(e){var t=m(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),o(d.prototype,n?{get:function(e){var t=m(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),d}}},42006:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(41441),a=n(11807),c=n(40421),u=n(56342),l=n(50997),s=n(35611),d=n(69691),f=n(68762),p=n(29108),m=n(22285);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],C=b&&b.prototype,y=b,N={},_=function(e){var t=C[e];a(C,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(v||C.forEach&&!d((function(){(new b).entries().next()})))))y=n.getConstructor(t,e,h,g),c.enable();else if(i(e,!0)){var V=new y,x=V[g](v?{}:-0,1)!=V,w=d((function(){V.has(1)})),S=f((function(e){new b(e)})),k=!v&&d((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));S||((y=t((function(t,n){l(t,y,e);var o=m(new b,t,y);return n!=undefined&&u(n,o[g],{that:o,AS_ENTRIES:h}),o}))).prototype=C,C.constructor=y),(w||k)&&(_("delete"),_("has"),h&&_("get")),(k||x)&&_(g),v&&C.clear&&delete C.clear}return N[e]=y,o({global:!0,forced:y!=b},N),p(y,e),v||n.setStrong(y,e,h),y}},49957:function(e,t,n){"use strict";var o=n(28919),r=n(28482),i=n(22245),a=n(74217);e.exports=function(e,t){for(var n=r(t),c=a.f,u=i.f,l=0;l<n.length;l++){var s=n[l];o(e,s)||c(e,s,u(t,s))}}},93937:function(e,t,n){"use strict";var o=n(17657)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},28954:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},34141:function(e,t,n){"use strict";var o=n(44184),r=n(92082),i=/"/g;e.exports=function(e,t,n,a){var c=r(o(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+r(a).replace(i,""")+'"'),u+">"+c+"</"+t+">"}},38415:function(e,t,n){"use strict";var o=n(39881).IteratorPrototype,r=n(83681),i=n(39160),a=n(29108),c=n(82723),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,l,!1,!0),c[l]=u,e}},52188:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(39160);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},39160:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},39241:function(e,t,n){"use strict";var o=n(14613),r=n(74217),i=n(39160);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},79873:function(e,t,n){"use strict";var o=n(69691),r=n(47497).start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!o((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),o=t<0?"-":t>9999?"+":"";return o+r(i(t),o?6:4,0)+"-"+r(e.getUTCMonth()+1,2,0)+"-"+r(e.getUTCDate(),2,0)+"T"+r(e.getUTCHours(),2,0)+":"+r(e.getUTCMinutes(),2,0)+":"+r(e.getUTCSeconds(),2,0)+"."+r(n,3,0)+"Z"}:u},57763:function(e,t,n){"use strict";var o=n(63518),r=n(28734);e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw TypeError("Incorrect hint");return r(this,e)}},71179:function(e,t,n){"use strict";var o=n(56174),r=n(38415),i=n(6863),a=n(18444),c=n(29108),u=n(52188),l=n(11807),s=n(17657),d=n(1986),f=n(82723),p=n(39881),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,v=s("iterator"),g="keys",b="values",C="entries",y=function(){return this};e.exports=function(e,t,n,s,p,N,_){r(n,t,s);var V,x,w,S=function(e){if(e===p&&L)return L;if(!h&&e in B)return B[e];switch(e){case g:case b:case C:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",E=!1,B=e.prototype,I=B[v]||B["@@iterator"]||p&&B[p],L=!h&&I||S(p),O="Array"==t&&B.entries||I;if(O&&(V=i(O.call(new e)),m!==Object.prototype&&V.next&&(d||i(V)===m||(a?a(V,m):"function"!=typeof V[v]&&u(V,v,y)),c(V,k,!0,!0),d&&(f[k]=y))),p==b&&I&&I.name!==b&&(E=!0,L=function(){return I.call(this)}),d&&!_||B[v]===L||u(B,v,L),f[t]=L,p)if(x={values:S(b),keys:N?L:S(g),entries:S(C)},_)for(w in x)(h||E||!(w in B))&&l(B,w,x[w]);else o({target:t,proto:!0,forced:h||E},x);return x}},55282:function(e,t,n){"use strict";var o=n(65781),r=n(28919),i=n(3444),a=n(74217).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},75592:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},21477:function(e,t,n){"use strict";var o=n(84253),r=n(35611),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},20967:function(e,t,n){"use strict";var o=n(72319).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},46392:function(e){"use strict";e.exports="object"==typeof window},85749:function(e,t,n){"use strict";var o=n(72319);e.exports=/MSIE|Trident/.test(o)},20037:function(e,t,n){"use strict";var o=n(72319),r=n(84253);e.exports=/iphone|ipod|ipad/i.test(o)&&r.Pebble!==undefined},24542:function(e,t,n){"use strict";var o=n(72319);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(o)},41488:function(e,t,n){"use strict";var o=n(77e3),r=n(84253);e.exports="process"==o(r.process)},47501:function(e,t,n){"use strict";var o=n(72319);e.exports=/web0s(?!.*chrome)/i.test(o)},72319:function(e,t,n){"use strict";var o=n(69808);e.exports=o("navigator","userAgent")||""},12338:function(e,t,n){"use strict";var o,r,i=n(84253),a=n(72319),c=i.process,u=i.Deno,l=c&&c.versions||u&&u.version,s=l&&l.v8;s?r=(o=s.split("."))[0]<4?1:o[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},12200:function(e,t,n){"use strict";var o=n(72319).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},23344:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},56174:function(e,t,n){"use strict";var o=n(84253),r=n(22245).f,i=n(52188),a=n(11807),c=n(30889),u=n(49957),l=n(41441);e.exports=function(e,t){var n,s,d,f,p,m=e.target,h=e.global,v=e.stat;if(n=h?o:v?o[m]||c(m,{}):(o[m]||{}).prototype)for(s in t){if(f=t[s],d=e.noTargetGet?(p=r(n,s))&&p.value:n[s],!l(h?s:m+(v?".":"#")+s,e.forced)&&d!==undefined){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,s,f,e)}}},69691:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},68880:function(e,t,n){"use strict";n(12654);var o=n(11807),r=n(71841),i=n(69691),a=n(17657),c=n(52188),u=a("species"),l=RegExp.prototype;e.exports=function(e,t,n,s){var d=a(e),f=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||n){var m=/./[d],h=t(d,""[e],(function(e,t,n,o,i){var a=t.exec;return a===r||a===l.exec?f&&!i?{done:!0,value:m.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}));o(String.prototype,e,h[0]),o(l,d,h[1])}s&&c(l[d],"sham",!0)}},904:function(e,t,n){"use strict";var o=n(89999),r=n(39570),i=n(74271);e.exports=function a(e,t,n,c,u,l,s,d){for(var f,p=u,m=0,h=!!s&&i(s,d,3);m<c;){if(m in n){if(f=h?h(n[m],m,t):n[m],l>0&&o(f))p=a(e,t,f,r(f.length),p,l-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}m++}return p}},7056:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},74271:function(e,t,n){"use strict";var o=n(83923);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},68719:function(e,t,n){"use strict";var o=n(83923),r=n(35611),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r<t;r++)o[r]="a["+r+"]";a[t]=Function("C,a","return new C("+o.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=o(this),n=i.call(arguments,1),a=function(){var o=n.concat(i.call(arguments));return this instanceof a?c(t,o.length,o):t.apply(e,o)};return r(t.prototype)&&(a.prototype=t.prototype),a}},69808:function(e,t,n){"use strict";var o=n(84253),r=function(e){return"function"==typeof e?e:undefined};e.exports=function(e,t){return arguments.length<2?r(o[e]):o[e]&&o[e][t]}},3170:function(e,t,n){"use strict";var o=n(47953),r=n(82723),i=n(17657)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},55444:function(e,t,n){"use strict";var o=n(12104),r=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,l,s){var d=n+e.length,f=u.length,p=c;return l!==undefined&&(l=o(l),p=a),i.call(s,p,(function(o,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=l[i.slice(1,-1)];break;default:var c=+i;if(0===c)return o;if(c>f){var s=r(c/10);return 0===s?o:s<=f?u[s-1]===undefined?i.charAt(1):u[s-1]+i.charAt(1):o}a=u[c-1]}return a===undefined?"":a}))}},84253:function(e,t,n){"use strict";var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},28919:function(e,t,n){"use strict";var o=n(12104),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return r.call(o(e),t)}},90311:function(e){"use strict";e.exports={}},21419:function(e,t,n){"use strict";var o=n(84253);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},2369:function(e,t,n){"use strict";var o=n(69808);e.exports=o("document","documentElement")},78251:function(e,t,n){"use strict";var o=n(75592),r=n(69691),i=n(21477);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},16567:function(e){"use strict";var t=Math.abs,n=Math.pow,o=Math.floor,r=Math.log,i=Math.LN2;e.exports={pack:function(e,a,c){var u,l,s,d=new Array(c),f=8*c-a-1,p=(1<<f)-1,m=p>>1,h=23===a?n(2,-24)-n(2,-77):0,v=e<0||0===e&&1/e<0?1:0,g=0;for((e=t(e))!=e||e===Infinity?(l=e!=e?1:0,u=p):(u=o(r(e)/i),e*(s=n(2,-u))<1&&(u--,s*=2),(e+=u+m>=1?h/s:h*n(2,1-m))*s>=2&&(u++,s/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(e*s-1)*n(2,a),u+=m):(l=e*n(2,m-1)*n(2,a),u=0));a>=8;d[g++]=255&l,l/=256,a-=8);for(u=u<<a|l,f+=a;f>0;d[g++]=255&u,u/=256,f-=8);return d[--g]|=128*v,d},unpack:function(e,t){var o,r=e.length,i=8*r-t-1,a=(1<<i)-1,c=a>>1,u=i-7,l=r-1,s=e[l--],d=127&s;for(s>>=7;u>0;d=256*d+e[l],l--,u-=8);for(o=d&(1<<-u)-1,d>>=-u,u+=t;u>0;o=256*o+e[l],l--,u-=8);if(0===d)d=1-c;else{if(d===a)return o?NaN:s?-Infinity:Infinity;o+=n(2,t),d-=c}return(s?-1:1)*o*n(2,d-t)}}},50990:function(e,t,n){"use strict";var o=n(69691),r=n(77e3),i="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?i.call(e,""):Object(e)}:Object},22285:function(e,t,n){"use strict";var o=n(35611),r=n(18444);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},89853:function(e,t,n){"use strict";var o=n(55935),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},40421:function(e,t,n){"use strict";var o=n(56174),r=n(90311),i=n(35611),a=n(28919),c=n(74217).f,u=n(78870),l=n(59995),s=n(41080),d=n(7056),f=!1,p=s("meta"),m=0,h=Object.isExtensible||function(){return!0},v=function(e){c(e,p,{value:{objectID:"O"+m++,weakData:{}}})},g=e.exports={enable:function(){g.enable=function(){},f=!0;var e=u.f,t=[].splice,n={};n[p]=1,e(n).length&&(u.f=function(n){for(var o=e(n),r=0,i=o.length;r<i;r++)if(o[r]===p){t.call(o,r,1);break}return o},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,p)){if(!h(e))return"F";if(!t)return"E";v(e)}return e[p].objectID},getWeakData:function(e,t){if(!a(e,p)){if(!h(e))return!0;if(!t)return!1;v(e)}return e[p].weakData},onFreeze:function(e){return d&&f&&h(e)&&!a(e,p)&&v(e),e}};r[p]=!0},79947:function(e,t,n){"use strict";var o,r,i,a=n(82911),c=n(84253),u=n(35611),l=n(52188),s=n(28919),d=n(55935),f=n(85152),p=n(90311),m="Object already initialized",h=c.WeakMap;if(a||d.state){var v=d.state||(d.state=new h),g=v.get,b=v.has,C=v.set;o=function(e,t){if(b.call(v,e))throw new TypeError(m);return t.facade=e,C.call(v,e,t),t},r=function(e){return g.call(v,e)||{}},i=function(e){return b.call(v,e)}}else{var y=f("state");p[y]=!0,o=function(e,t){if(s(e,y))throw new TypeError(m);return t.facade=e,l(e,y,t),t},r=function(e){return s(e,y)?e[y]:{}},i=function(e){return s(e,y)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},14195:function(e,t,n){"use strict";var o=n(17657),r=n(82723),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},89999:function(e,t,n){"use strict";var o=n(77e3);e.exports=Array.isArray||function(e){return"Array"==o(e)}},41441:function(e,t,n){"use strict";var o=n(69691),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==l||n!=u&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},93624:function(e,t,n){"use strict";var o=n(35611),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},35611:function(e){"use strict";e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1986:function(e){"use strict";e.exports=!1},86133:function(e,t,n){"use strict";var o=n(35611),r=n(77e3),i=n(17657)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},78253:function(e,t,n){"use strict";var o=n(69808),r=n(40647);e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return"function"==typeof t&&Object(e)instanceof t}},56342:function(e,t,n){"use strict";var o=n(63518),r=n(14195),i=n(39570),a=n(74271),c=n(3170),u=n(61781),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var s,d,f,p,m,h,v,g=n&&n.that,b=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),N=a(t,g,1+b+y),_=function(e){return s&&u(s),new l(!0,e)},V=function(e){return b?(o(e),y?N(e[0],e[1],_):N(e[0],e[1])):y?N(e,_):N(e)};if(C)s=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(r(d)){for(f=0,p=i(e.length);p>f;f++)if((m=V(e[f]))&&m instanceof l)return m;return new l(!1)}s=d.call(e)}for(h=s.next;!(v=h.call(s)).done;){try{m=V(v.value)}catch(x){throw u(s),x}if("object"==typeof m&&m&&m instanceof l)return m}return new l(!1)}},61781:function(e,t,n){"use strict";var o=n(63518);e.exports=function(e){var t=e["return"];if(t!==undefined)return o(t.call(e)).value}},39881:function(e,t,n){"use strict";var o,r,i,a=n(69691),c=n(6863),u=n(52188),l=n(28919),s=n(17657),d=n(1986),f=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(o=r):p=!0);var m=o==undefined||a((function(){var e={};return o[f].call(e)!==e}));m&&(o={}),d&&!m||l(o,f)||u(o,f,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},82723:function(e){"use strict";e.exports={}},19997:function(e){"use strict";var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:t},43334:function(e,t,n){"use strict";var o=n(24305),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),s=o(e);return i<l?s*(i/l/c+1/a-1/a)*l*c:(n=(t=(1+c/a)*i)-(t-i))>u||n!=n?s*Infinity:s*n}},83659:function(e){"use strict";var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},24305:function(e){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},80909:function(e,t,n){"use strict";var o,r,i,a,c,u,l,s,d=n(84253),f=n(22245).f,p=n(33453).set,m=n(24542),h=n(20037),v=n(47501),g=n(41488),b=d.MutationObserver||d.WebKitMutationObserver,C=d.document,y=d.process,N=d.Promise,_=f(d,"queueMicrotask"),V=_&&_.value;V||(o=function(){var e,t;for(g&&(e=y.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},m||g||v||!b||!C?!h&&N&&N.resolve?((l=N.resolve(undefined)).constructor=N,s=l.then,a=function(){s.call(l,o)}):a=g?function(){y.nextTick(o)}:function(){p.call(d,o)}:(c=!0,u=C.createTextNode(""),new b(o).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=V||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},4302:function(e,t,n){"use strict";var o=n(84253);e.exports=o.Promise},54772:function(e,t,n){"use strict";var o=n(12338),r=n(69691);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},82911:function(e,t,n){"use strict";var o=n(84253),r=n(89853),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},82101:function(e,t,n){"use strict";var o=n(83923),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},18774:function(e,t,n){"use strict";var o=n(86133);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},64630:function(e,t,n){"use strict";var o=n(84253).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},78025:function(e,t,n){"use strict";var o=n(84253),r=n(92082),i=n(84703).trim,a=n(65181),c=o.parseFloat,u=1/c(a+"-0")!=-Infinity;e.exports=u?function(e){var t=i(r(e)),n=c(t);return 0===n&&"-"==t.charAt(0)?-0:n}:c},55092:function(e,t,n){"use strict";var o=n(84253),r=n(92082),i=n(84703).trim,a=n(65181),c=o.parseInt,u=/^[+-]?0[Xx]/,l=8!==c(a+"08")||22!==c(a+"0x16");e.exports=l?function(e,t){var n=i(r(e));return c(n,t>>>0||(u.test(n)?16:10))}:c},64905:function(e,t,n){"use strict";var o=n(75592),r=n(69691),i=n(84547),a=n(21061),c=n(77659),u=n(12104),l=n(50990),s=Object.assign,d=Object.defineProperty;e.exports=!s||r((function(){if(o&&1!==s({b:1},s(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||i(s({},t)).join("")!=r}))?function(e,t){for(var n=u(e),r=arguments.length,s=1,d=a.f,f=c.f;r>s;)for(var p,m=l(arguments[s++]),h=d?i(m).concat(d(m)):i(m),v=h.length,g=0;v>g;)p=h[g++],o&&!f.call(m,p)||(n[p]=m[p]);return n}:s},83681:function(e,t,n){"use strict";var o,r=n(63518),i=n(91543),a=n(23344),c=n(90311),u=n(2369),l=n(21477),s=n(85152),d=s("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},m=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{o=new ActiveXObject("htmlfile")}catch(t){}h=document.domain&&o?m(o):function(){var e,t=l("iframe");if(t.style)return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F}()||m(o);for(var e=a.length;e--;)delete h.prototype[a[e]];return h()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=r(e),n=new f,f.prototype=null,n[d]=e):n=h(),t===undefined?n:i(n,t)}},91543:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(63518),a=n(84547);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,u=0;c>u;)r.f(e,n=o[u++],t[n]);return e}},74217:function(e,t,n){"use strict";var o=n(75592),r=n(78251),i=n(63518),a=n(14613),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},22245:function(e,t,n){"use strict";var o=n(75592),r=n(77659),i=n(39160),a=n(26553),c=n(14613),u=n(28919),l=n(78251),s=Object.getOwnPropertyDescriptor;t.f=o?s:function(e,t){if(e=a(e),t=c(t),l)try{return s(e,t)}catch(n){}if(u(e,t))return i(!r.f.call(e,t),e[t])}},59995:function(e,t,n){"use strict";var o=n(26553),r=n(78870).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},78870:function(e,t,n){"use strict";var o=n(3613),r=n(23344).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},21061:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},6863:function(e,t,n){"use strict";var o=n(28919),r=n(12104),i=n(85152),a=n(28954),c=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),o(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},3613:function(e,t,n){"use strict";var o=n(28919),r=n(26553),i=n(25945).indexOf,a=n(90311);e.exports=function(e,t){var n,c=r(e),u=0,l=[];for(n in c)!o(a,n)&&o(c,n)&&l.push(n);for(;t.length>u;)o(c,n=t[u++])&&(~i(l,n)||l.push(n));return l}},84547:function(e,t,n){"use strict";var o=n(3613),r=n(23344);e.exports=Object.keys||function(e){return o(e,r)}},77659:function(e,t){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!n.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},47339:function(e,t,n){"use strict";var o=n(1986),r=n(84253),i=n(69691),a=n(12200);e.exports=o||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}}))},18444:function(e,t,n){"use strict";var o=n(63518),r=n(1372);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},3e4:function(e,t,n){"use strict";var o=n(75592),r=n(84547),i=n(26553),a=n(77659).f,c=function(e){return function(t){for(var n,c=i(t),u=r(c),l=u.length,s=0,d=[];l>s;)n=u[s++],o&&!a.call(c,n)||d.push(e?[n,c[n]]:c[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},13966:function(e,t,n){"use strict";var o=n(64910),r=n(47953);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},28734:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},28482:function(e,t,n){"use strict";var o=n(69808),r=n(78870),i=n(21061),a=n(63518);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},65781:function(e,t,n){"use strict";var o=n(84253);e.exports=o},47673:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},48141:function(e,t,n){"use strict";var o=n(63518),r=n(35611),i=n(82101);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},3993:function(e,t,n){"use strict";var o=n(11807);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},11807:function(e,t,n){"use strict";var o=n(84253),r=n(52188),i=n(28919),a=n(30889),c=n(89853),u=n(79947),l=u.get,s=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var u,l=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||r(n,"name",t),(u=s(n)).source||(u.source=d.join("string"==typeof t?t:""))),e!==o?(l?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:r(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c(this)}))},5641:function(e,t,n){"use strict";var o=n(77e3),r=n(71841);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},71841:function(e,t,n){"use strict";var o,r,i=n(92082),a=n(5105),c=n(1864),u=n(27364),l=n(83681),s=n(79947).get,d=n(8368),f=n(2229),p=RegExp.prototype.exec,m=u("native-string-replace",String.prototype.replace),h=p,v=(o=/a/,r=/b*/g,p.call(o,"a"),p.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),g=c.UNSUPPORTED_Y||c.BROKEN_CARET,b=/()??/.exec("")[1]!==undefined;(v||b||g||d||f)&&(h=function(e){var t,n,o,r,c,u,d,f=this,C=s(f),y=i(e),N=C.raw;if(N)return N.lastIndex=f.lastIndex,t=h.call(N,y),f.lastIndex=N.lastIndex,t;var _=C.groups,V=g&&f.sticky,x=a.call(f),w=f.source,S=0,k=y;if(V&&(-1===(x=x.replace("y","")).indexOf("g")&&(x+="g"),k=y.slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y.charAt(f.lastIndex-1))&&(w="(?: "+w+")",k=" "+k,S++),n=new RegExp("^(?:"+w+")",x)),b&&(n=new RegExp("^"+w+"$(?!\\s)",x)),v&&(o=f.lastIndex),r=p.call(V?n:f,k),V?r?(r.input=r.input.slice(S),r[0]=r[0].slice(S),r.index=f.lastIndex,f.lastIndex+=r[0].length):f.lastIndex=0:v&&r&&(f.lastIndex=f.global?r.index+r[0].length:o),b&&r&&r.length>1&&m.call(r[0],n,(function(){for(c=1;c<arguments.length-2;c++)arguments[c]===undefined&&(r[c]=undefined)})),r&&_)for(r.groups=u=l(null),c=0;c<_.length;c++)u[(d=_[c])[0]]=r[d[1]];return r}),e.exports=h},5105:function(e,t,n){"use strict";var o=n(63518);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},1864:function(e,t,n){"use strict";var o=n(69691),r=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},8368:function(e,t,n){"use strict";var o=n(69691);e.exports=o((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},2229:function(e,t,n){"use strict";var o=n(69691);e.exports=o((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},44184:function(e){"use strict";e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},61398:function(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},30889:function(e,t,n){"use strict";var o=n(84253);e.exports=function(e,t){try{Object.defineProperty(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},64157:function(e,t,n){"use strict";var o=n(69808),r=n(74217),i=n(17657),a=n(75592),c=i("species");e.exports=function(e){var t=o(e),n=r.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},29108:function(e,t,n){"use strict";var o=n(74217).f,r=n(28919),i=n(17657)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},85152:function(e,t,n){"use strict";var o=n(27364),r=n(41080),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},55935:function(e,t,n){"use strict";var o=n(84253),r=n(30889),i="__core-js_shared__",a=o[i]||r(i,{});e.exports=a},27364:function(e,t,n){"use strict";var o=n(1986),r=n(55935);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.16.1",mode:o?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},24345:function(e,t,n){"use strict";var o=n(63518),r=n(83923),i=n(17657)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},26096:function(e,t,n){"use strict";var o=n(69691);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},37015:function(e,t,n){"use strict";var o=n(3997),r=n(92082),i=n(44184),a=function(e){return function(t,n){var a,c,u=r(i(t)),l=o(n),s=u.length;return l<0||l>=s?e?"":undefined:(a=u.charCodeAt(l))<55296||a>56319||l+1===s||(c=u.charCodeAt(l+1))<56320||c>57343?e?u.charAt(l):a:e?u.slice(l,l+2):c-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},43331:function(e,t,n){"use strict";var o=n(72319);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},47497:function(e,t,n){"use strict";var o=n(39570),r=n(92082),i=n(9811),a=n(44184),c=Math.ceil,u=function(e){return function(t,n,u){var l,s,d=r(a(t)),f=d.length,p=u===undefined?" ":r(u),m=o(n);return m<=f||""==p?d:(l=m-f,(s=i.call(p,c(l/p.length))).length>l&&(s=s.slice(0,l)),e?d+s:s+d)}};e.exports={start:u(!1),end:u(!0)}},9811:function(e,t,n){"use strict";var o=n(3997),r=n(92082),i=n(44184);e.exports=function(e){var t=r(i(this)),n="",a=o(e);if(a<0||a==Infinity)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},3035:function(e,t,n){"use strict";var o=n(69691),r=n(65181);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},84703:function(e,t,n){"use strict";var o=n(44184),r=n(92082),i="["+n(65181)+"]",a=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),u=function(e){return function(t){var n=r(o(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(c,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},33453:function(e,t,n){"use strict";var o,r,i,a,c=n(84253),u=n(69691),l=n(74271),s=n(2369),d=n(21477),f=n(24542),p=n(41488),m=c.setImmediate,h=c.clearImmediate,v=c.process,g=c.MessageChannel,b=c.Dispatch,C=0,y={},N="onreadystatechange";try{o=c.location}catch(S){}var _=function(e){if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},V=function(e){return function(){_(e)}},x=function(e){_(e.data)},w=function(e){c.postMessage(String(e),o.protocol+"//"+o.host)};m&&h||(m=function(e){for(var t=[],n=arguments.length,o=1;n>o;)t.push(arguments[o++]);return y[++C]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},r(C),C},h=function(e){delete y[e]},p?r=function(e){v.nextTick(V(e))}:b&&b.now?r=function(e){b.now(V(e))}:g&&!f?(a=(i=new g).port2,i.port1.onmessage=x,r=l(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&o&&"file:"!==o.protocol&&!u(w)?(r=w,c.addEventListener("message",x,!1)):r=N in d("script")?function(e){s.appendChild(d("script")).onreadystatechange=function(){s.removeChild(this),_(e)}}:function(e){setTimeout(V(e),0)}),e.exports={set:m,clear:h}},81687:function(e,t,n){"use strict";var o=n(77e3);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},55205:function(e,t,n){"use strict";var o=n(3997),r=Math.max,i=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):i(n,t)}},77559:function(e,t,n){"use strict";var o=n(3997),r=n(39570);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},26553:function(e,t,n){"use strict";var o=n(50990),r=n(44184);e.exports=function(e){return o(r(e))}},3997:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},39570:function(e,t,n){"use strict";var o=n(3997),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},12104:function(e,t,n){"use strict";var o=n(44184);e.exports=function(e){return Object(o(e))}},95740:function(e,t,n){"use strict";var o=n(80425);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},80425:function(e,t,n){"use strict";var o=n(3997);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},94673:function(e,t,n){"use strict";var o=n(35611),r=n(78253),i=n(28734),a=n(17657)("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,c=e[a];if(c!==undefined){if(t===undefined&&(t="default"),n=c.call(e,t),!o(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return t===undefined&&(t="number"),i(e,t)}},14613:function(e,t,n){"use strict";var o=n(94673),r=n(78253);e.exports=function(e){var t=o(e,"string");return r(t)?t:String(t)}},64910:function(e,t,n){"use strict";var o={};o[n(17657)("toStringTag")]="z",e.exports="[object z]"===String(o)},92082:function(e,t,n){"use strict";var o=n(78253);e.exports=function(e){if(o(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},17576:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(75592),a=n(29023),c=n(19216),u=n(80246),l=n(50997),s=n(39160),d=n(52188),f=n(93624),p=n(39570),m=n(77559),h=n(95740),v=n(14613),g=n(28919),b=n(47953),C=n(35611),y=n(78253),N=n(83681),_=n(18444),V=n(78870).f,x=n(76182),w=n(69033).forEach,S=n(64157),k=n(74217),E=n(22245),B=n(79947),I=n(22285),L=B.get,O=B.set,M=k.f,A=E.f,T=Math.round,P=r.RangeError,j=u.ArrayBuffer,F=u.DataView,R=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_CONSTRUCTOR,K=c.TYPED_ARRAY_TAG,z=c.TypedArray,W=c.TypedArrayPrototype,Y=c.aTypedArrayConstructor,U=c.isTypedArray,H="BYTES_PER_ELEMENT",G="Wrong length",$=function(e,t){for(var n=0,o=t.length,r=new(Y(e))(o);o>n;)r[n]=t[n++];return r},q=function(e,t){M(e,t,{get:function(){return L(this)[t]}})},X=function(e){var t;return e instanceof j||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},Q=function(e,t){return U(e)&&!y(t)&&t in e&&f(+t)&&t>=0},J=function(e,t){return t=v(t),Q(e,t)?s(2,e[t]):A(e,t)},Z=function(e,t,n){return t=v(t),!(Q(e,t)&&C(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};i?(R||(E.f=J,k.f=Z,q(W,"buffer"),q(W,"byteOffset"),q(W,"byteLength"),q(W,"length")),o({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:J,defineProperty:Z}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",u="get"+e,s="set"+e,f=r[c],v=f,g=v&&v.prototype,b={},y=function(e,t){M(e,t,{get:function(){return function(e,t){var n=L(e);return n.view[u](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=L(e);n&&(o=(o=T(o))<0?0:o>255?255:255&o),r.view[s](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};R?a&&(v=t((function(e,t,n,o){return l(e,v,c),I(C(t)?X(t)?o!==undefined?new f(t,h(n,i),o):n!==undefined?new f(t,h(n,i)):new f(t):U(t)?$(v,t):x.call(v,t):new f(m(t)),e,v)})),_&&_(v,z),w(V(f),(function(e){e in v||d(v,e,f[e])})),v.prototype=g):(v=t((function(e,t,n,o){l(e,v,c);var r,a,u,s=0,d=0;if(C(t)){if(!X(t))return U(t)?$(v,t):x.call(v,t);r=t,d=h(n,i);var f=t.byteLength;if(o===undefined){if(f%i)throw P(G);if((a=f-d)<0)throw P(G)}else if((a=p(o)*i)+d>f)throw P(G);u=a/i}else u=m(t),r=new j(a=u*i);for(O(e,{buffer:r,byteOffset:d,byteLength:a,length:u,view:new F(r)});s<u;)y(e,s++)})),_&&_(v,z),g=v.prototype=N(W)),g.constructor!==v&&d(g,"constructor",v),d(g,D,v),K&&d(g,K,c),b[c]=v,o({global:!0,forced:v!=f,sham:!R},b),H in v||d(v,H,i),H in g||d(g,H,i),S(c)}):e.exports=function(){}},29023:function(e,t,n){"use strict";var o=n(84253),r=n(69691),i=n(68762),a=n(19216).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,u=o.Int8Array;e.exports=!a||!r((function(){u(1)}))||!r((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||r((function(){return 1!==new u(new c(2),1,undefined).length}))},16688:function(e,t,n){"use strict";var o=n(11955),r=n(25198);e.exports=function(e,t){return o(r(e),t)}},76182:function(e,t,n){"use strict";var o=n(12104),r=n(39570),i=n(3170),a=n(14195),c=n(74271),u=n(19216).aTypedArrayConstructor;e.exports=function(e){var t,n,l,s,d,f,p=o(e),m=arguments.length,h=m>1?arguments[1]:undefined,v=h!==undefined,g=i(p);if(g!=undefined&&!a(g))for(f=(d=g.call(p)).next,p=[];!(s=f.call(d)).done;)p.push(s.value);for(v&&m>2&&(h=c(h,arguments[2],2)),n=r(p.length),l=new(u(this))(n),t=0;n>t;t++)l[t]=v?h(p[t],t):p[t];return l}},25198:function(e,t,n){"use strict";var o=n(19216),r=n(24345),i=o.TYPED_ARRAY_CONSTRUCTOR,a=o.aTypedArrayConstructor;e.exports=function(e){return a(r(e,e[i]))}},41080:function(e){"use strict";var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(e===undefined?"":e)+")_"+(++t+n).toString(36)}},40647:function(e,t,n){"use strict";var o=n(54772);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3444:function(e,t,n){"use strict";var o=n(17657);t.f=o},17657:function(e,t,n){"use strict";var o=n(84253),r=n(27364),i=n(28919),a=n(41080),c=n(54772),u=n(40647),l=r("wks"),s=o.Symbol,d=u?s:s&&s.withoutSetter||a;e.exports=function(e){return i(l,e)&&(c||"string"==typeof l[e])||(c&&i(s,e)?l[e]=s[e]:l[e]=d("Symbol."+e)),l[e]}},65181:function(e){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},15196:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(80246),a=n(64157),c="ArrayBuffer",u=i.ArrayBuffer;o({global:!0,forced:r.ArrayBuffer!==u},{ArrayBuffer:u}),a(c)},95993:function(e,t,n){"use strict";var o=n(56174),r=n(19216);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},25079:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(80246),a=n(63518),c=n(55205),u=n(39570),l=n(24345),s=i.ArrayBuffer,d=i.DataView,f=s.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new s(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(f!==undefined&&t===undefined)return f.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(l(this,s))(u(r-o)),p=new d(this),m=new d(i),h=0;o<r;)m.setUint8(h++,p.getUint8(o++));return i}})},24835:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(89999),a=n(35611),c=n(12104),u=n(39570),l=n(39241),s=n(77454),d=n(93537),f=n(17657),p=n(12338),m=f("isConcatSpreadable"),h=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!r((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=d("concat"),C=function(e){if(!a(e))return!1;var t=e[m];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!g||!b},{concat:function(e){var t,n,o,r,i,a=c(this),d=s(a,0),f=0;for(t=-1,o=arguments.length;t<o;t++)if(C(i=-1===t?a:arguments[t])){if(f+(r=u(i.length))>h)throw TypeError(v);for(n=0;n<r;n++,f++)n in i&&l(d,f,i[n])}else{if(f>=h)throw TypeError(v);l(d,f++,i)}return d.length=f,d}})},14653:function(e,t,n){"use strict";var o=n(56174),r=n(59571),i=n(36910);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},58139:function(e,t,n){"use strict";var o=n(56174),r=n(69033).every;o({target:"Array",proto:!0,forced:!n(37902)("every")},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},34049:function(e,t,n){"use strict";var o=n(56174),r=n(22051),i=n(36910);o({target:"Array",proto:!0},{fill:r}),i("fill")},38356:function(e,t,n){"use strict";var o=n(56174),r=n(69033).filter;o({target:"Array",proto:!0,forced:!n(93537)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},31699:function(e,t,n){"use strict";var o=n(56174),r=n(69033).findIndex,i=n(36910),a="findIndex",c=!0;a in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i(a)},72494:function(e,t,n){"use strict";var o=n(56174),r=n(69033).find,i=n(36910),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i(a)},81520:function(e,t,n){"use strict";var o=n(56174),r=n(904),i=n(12104),a=n(39570),c=n(83923),u=n(77454);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=u(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},3263:function(e,t,n){"use strict";var o=n(56174),r=n(904),i=n(12104),a=n(39570),c=n(3997),u=n(77454);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=u(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},80036:function(e,t,n){"use strict";var o=n(56174),r=n(90369);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},60515:function(e,t,n){"use strict";var o=n(56174),r=n(28213);o({target:"Array",stat:!0,forced:!n(68762)((function(e){Array.from(e)}))},{from:r})},94330:function(e,t,n){"use strict";var o=n(56174),r=n(25945).includes,i=n(36910);o({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},96553:function(e,t,n){"use strict";var o=n(56174),r=n(25945).indexOf,i=n(37902),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");o({target:"Array",proto:!0,forced:c||!u},{indexOf:function(e){return c?a.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},99139:function(e,t,n){"use strict";n(56174)({target:"Array",stat:!0},{isArray:n(89999)})},98215:function(e,t,n){"use strict";var o=n(26553),r=n(36910),i=n(82723),a=n(79947),c=n(71179),u="Array Iterator",l=a.set,s=a.getterFor(u);e.exports=c(Array,"Array",(function(e,t){l(this,{type:u,target:o(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},32617:function(e,t,n){"use strict";var o=n(56174),r=n(50990),i=n(26553),a=n(37902),c=[].join,u=r!=Object,l=a("join",",");o({target:"Array",proto:!0,forced:u||!l},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},80186:function(e,t,n){"use strict";var o=n(56174),r=n(41183);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},31149:function(e,t,n){"use strict";var o=n(56174),r=n(69033).map;o({target:"Array",proto:!0,forced:!n(93537)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},71827:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(39241);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},32099:function(e,t,n){"use strict";var o=n(56174),r=n(28249).right,i=n(37902),a=n(12338),c=n(41488);o({target:"Array",proto:!0,forced:!i("reduceRight")||!c&&a>79&&a<83},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},79770:function(e,t,n){"use strict";var o=n(56174),r=n(28249).left,i=n(37902),a=n(12338),c=n(41488);o({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},72667:function(e,t,n){"use strict";var o=n(56174),r=n(89999),i=[].reverse,a=[1,2];o({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},94920:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(89999),a=n(55205),c=n(39570),u=n(26553),l=n(39241),s=n(17657),d=n(93537)("slice"),f=s("species"),p=[].slice,m=Math.max;o({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,o,s,d=u(this),h=c(d.length),v=a(e,h),g=a(t===undefined?h:t,h);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[f])&&(n=undefined):n=undefined,n===Array||n===undefined))return p.call(d,v,g);for(o=new(n===undefined?Array:n)(m(g-v,0)),s=0;v<g;v++,s++)v in d&&l(o,s,d[v]);return o.length=s,o}})},64683:function(e,t,n){"use strict";var o=n(56174),r=n(69033).some;o({target:"Array",proto:!0,forced:!n(37902)("some")},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},26189:function(e,t,n){"use strict";var o=n(56174),r=n(83923),i=n(12104),a=n(39570),c=n(92082),u=n(69691),l=n(58737),s=n(37902),d=n(20967),f=n(85749),p=n(12338),m=n(12200),h=[],v=h.sort,g=u((function(){h.sort(undefined)})),b=u((function(){h.sort(null)})),C=s("sort"),y=!u((function(){if(p)return p<70;if(!(d&&d>3)){if(f)return!0;if(m)return m<603;var e,t,n,o,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(o=0;o<47;o++)h.push({k:t+o,v:n})}for(h.sort((function(e,t){return t.v-e.v})),o=0;o<h.length;o++)t=h[o].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));o({target:"Array",proto:!0,forced:g||!b||!C||!y},{sort:function(e){e!==undefined&&r(e);var t=i(this);if(y)return e===undefined?v.call(t):v.call(t,e);var n,o,u=[],s=a(t.length);for(o=0;o<s;o++)o in t&&u.push(t[o]);for(n=(u=l(u,function(e){return function(t,n){return n===undefined?-1:t===undefined?1:e!==undefined?+e(t,n)||0:c(t)>c(n)?1:-1}}(e))).length,o=0;o<n;)t[o]=u[o++];for(;o<s;)delete t[o++];return t}})},41185:function(e,t,n){"use strict";n(64157)("Array")},51008:function(e,t,n){"use strict";var o=n(56174),r=n(55205),i=n(3997),a=n(39570),c=n(12104),u=n(77454),l=n(39241),s=n(93537)("splice"),d=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!s},{splice:function(e,t){var n,o,s,h,v,g,b=c(this),C=a(b.length),y=r(e,C),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=C-y):(n=N-2,o=f(d(i(t),0),C-y)),C+n-o>p)throw TypeError(m);for(s=u(b,o),h=0;h<o;h++)(v=y+h)in b&&l(s,h,b[v]);if(s.length=o,n<o){for(h=y;h<C-o;h++)g=h+n,(v=h+o)in b?b[g]=b[v]:delete b[g];for(h=C;h>C-o+n;h--)delete b[h-1]}else if(n>o)for(h=C-o;h>y;h--)g=h+n-1,(v=h+o-1)in b?b[g]=b[v]:delete b[g];for(h=0;h<n;h++)b[h+y]=arguments[h+2];return b.length=C-o+n,s}})},86e3:function(e,t,n){"use strict";n(36910)("flatMap")},47112:function(e,t,n){"use strict";n(36910)("flat")},87143:function(e,t,n){"use strict";var o=n(56174),r=n(80246);o({global:!0,forced:!n(32977)},{DataView:r.DataView})},72499:function(e,t,n){"use strict";n(56174)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},73676:function(e,t,n){"use strict";var o=n(56174),r=n(79873);o({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},76746:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(12104),a=n(94673);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},19:function(e,t,n){"use strict";var o=n(52188),r=n(57763),i=n(17657)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},17038:function(e,t,n){"use strict";var o=n(11807),r=Date.prototype,i="Invalid Date",a="toString",c=r.toString,u=r.getTime;String(new Date(NaN))!=i&&o(r,a,(function(){var e=u.call(this);return e==e?c.call(this):i}))},46360:function(e,t,n){"use strict";n(56174)({target:"Function",proto:!0},{bind:n(68719)})},16835:function(e,t,n){"use strict";var o=n(35611),r=n(74217),i=n(6863),a=n(17657)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},96683:function(e,t,n){"use strict";var o=n(75592),r=n(74217).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/,u="name";o&&!(u in i)&&r(i,u,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},7756:function(e,t,n){"use strict";var o=n(84253);n(29108)(o.JSON,"JSON",!0)},21842:function(e,t,n){"use strict";var o=n(42006),r=n(74568);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},1613:function(e,t,n){"use strict";var o=n(56174),r=n(83659),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+u:r(e-1+c(e-1)*c(e+1))}})},65115:function(e,t,n){"use strict";var o=n(56174),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},27115:function(e,t,n){"use strict";var o=n(56174),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},13280:function(e,t,n){"use strict";var o=n(56174),r=n(24305),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},21019:function(e,t,n){"use strict";var o=n(56174),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},66619:function(e,t,n){"use strict";var o=n(56174),r=n(19997),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},75469:function(e,t,n){"use strict";var o=n(56174),r=n(19997);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},90967:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{fround:n(43334)})},35022:function(e,t,n){"use strict";var o=n(56174),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,u=arguments.length,l=0;c<u;)l<(n=i(arguments[c++]))?(r=r*(o=l/n)*o+1,l=n):r+=n>0?(o=n/l)*o:n;return l===Infinity?Infinity:l*a(r)}})},22604:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=65535,o=+e,r=+t,i=n&o,a=n&r;return 0|i*a+((n&o>>>16)*a+i*(n&r>>>16)<<16>>>0)}})},41843:function(e,t,n){"use strict";var o=n(56174),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},86810:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{log1p:n(83659)})},54670:function(e,t,n){"use strict";var o=n(56174),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},16580:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{sign:n(24305)})},31304:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(19997),a=Math.abs,c=Math.exp,u=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(u/2)}})},13078:function(e,t,n){"use strict";var o=n(56174),r=n(19997),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},45128:function(e,t,n){"use strict";n(29108)(Math,"Math",!0)},31938:function(e,t,n){"use strict";var o=n(56174),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},90958:function(e,t,n){"use strict";var o=n(75592),r=n(84253),i=n(41441),a=n(11807),c=n(28919),u=n(77e3),l=n(22285),s=n(78253),d=n(94673),f=n(69691),p=n(83681),m=n(78870).f,h=n(22245).f,v=n(74217).f,g=n(84703).trim,b="Number",C=r.Number,y=C.prototype,N=u(p(y))==b,_=function(e){if(s(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,o,r,i,a,c,u,l=d(e,"number");if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+l}for(a=(i=l.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>r)return NaN;return parseInt(i,o)}return+l};if(i(b,!C(" 0o1")||!C("0b1")||C("+0x1"))){for(var V,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(N?f((function(){y.valueOf.call(n)})):u(n)!=b)?l(new C(_(t)),n,x):_(t)},w=o?m(C):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;w.length>S;S++)c(C,V=w[S])&&!c(x,V)&&v(x,V,h(C,V));x.prototype=y,y.constructor=x,a(r,b,x)}},88885:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},45017:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isFinite:n(64630)})},59743:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isInteger:n(93624)})},47560:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},31569:function(e,t,n){"use strict";var o=n(56174),r=n(93624),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},6134:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},12622:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},60852:function(e,t,n){"use strict";var o=n(56174),r=n(78025);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},99085:function(e,t,n){"use strict";var o=n(56174),r=n(55092);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},75180:function(e,t,n){"use strict";var o=n(56174),r=n(3997),i=n(81687),a=n(9811),c=n(69691),u=1..toFixed,l=Math.floor,s=function m(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},d=function(e,t,n){for(var o=-1,r=n;++o<6;)r+=t*e[o],e[o]=r%1e7,r=l(r/1e7)},f=function(e,t){for(var n=6,o=0;--n>=0;)o+=e[n],e[n]=l(o/t),o=o%t*1e7},p=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var o=String(e[t]);n=""===n?o:n+a.call("0",7-o.length)+o}return n};o({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}))},{toFixed:function(e){var t,n,o,c,u=i(this),l=r(e),m=[0,0,0,0,0,0],h="",v="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*s(2,69,1))-69)<0?u*s(2,-t,1):u/s(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(m,0,n),o=l;o>=7;)d(m,1e7,0),o-=7;for(d(m,s(10,o,1),0),o=t-1;o>=23;)f(m,1<<23),o-=23;f(m,1<<o),d(m,1,1),f(m,2),v=p(m)}else d(m,0,n),d(m,1<<-t,0),v=p(m)+a.call("0",l);return v=l>0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},79437:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(81687),a=1..toPrecision;o({target:"Number",proto:!0,forced:r((function(){return"1"!==a.call(1,undefined)}))||!r((function(){a.call({})}))},{toPrecision:function(e){return e===undefined?a.call(i(this)):a.call(i(this),e)}})},75370:function(e,t,n){"use strict";var o=n(56174),r=n(64905);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},61022:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0,sham:!n(75592)},{create:n(83681)})},50580:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(83923),u=n(74217);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){u.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},5301:function(e,t,n){"use strict";var o=n(56174),r=n(75592);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(91543)})},76438:function(e,t,n){"use strict";var o=n(56174),r=n(75592);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(74217).f})},97307:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(83923),u=n(74217);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){u.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},34016:function(e,t,n){"use strict";var o=n(56174),r=n(3e4).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},86944:function(e,t,n){"use strict";var o=n(56174),r=n(7056),i=n(69691),a=n(35611),c=n(40421).onFreeze,u=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!r},{freeze:function(e){return u&&a(e)?u(c(e)):e}})},60687:function(e,t,n){"use strict";var o=n(56174),r=n(56342),i=n(39241);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},86957:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(26553),a=n(22245).f,c=n(75592),u=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},59163:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(28482),a=n(26553),c=n(22245),u=n(39241);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,l=i(o),s={},d=0;l.length>d;)(n=r(o,t=l[d++]))!==undefined&&u(s,t,n);return s}})},34128:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(59995).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},24267:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(12104),a=n(6863),c=n(28954);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},4239:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},8381:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},63669:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},39816:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0},{is:n(61398)})},25779:function(e,t,n){"use strict";var o=n(56174),r=n(12104),i=n(84547);o({target:"Object",stat:!0,forced:n(69691)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},84580:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(14613),u=n(6863),l=n(22245).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e);do{if(t=l(n,o))return t.get}while(n=u(n))}})},33198:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(14613),u=n(6863),l=n(22245).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e);do{if(t=l(n,o))return t.set}while(n=u(n))}})},71895:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(40421).onFreeze,a=n(7056),c=n(69691),u=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{preventExtensions:function(e){return u&&r(e)?u(i(e)):e}})},44910:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(40421).onFreeze,a=n(7056),c=n(69691),u=Object.seal;o({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(e){return u&&r(e)?u(i(e)):e}})},95962:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0},{setPrototypeOf:n(18444)})},73769:function(e,t,n){"use strict";var o=n(64910),r=n(11807),i=n(13966);o||r(Object.prototype,"toString",i,{unsafe:!0})},14962:function(e,t,n){"use strict";var o=n(56174),r=n(3e4).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},80345:function(e,t,n){"use strict";var o=n(56174),r=n(78025);o({global:!0,forced:parseFloat!=r},{parseFloat:r})},18438:function(e,t,n){"use strict";var o=n(56174),r=n(55092);o({global:!0,forced:parseInt!=r},{parseInt:r})},46356:function(e,t,n){"use strict";var o=n(56174),r=n(1986),i=n(4302),a=n(69691),c=n(69808),u=n(24345),l=n(48141),s=n(11807);if(o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=u(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!r&&"function"==typeof i){var d=c("Promise").prototype["finally"];i.prototype["finally"]!==d&&s(i.prototype,"finally",d,{unsafe:!0})}},70552:function(e,t,n){"use strict";var o,r,i,a,c=n(56174),u=n(1986),l=n(84253),s=n(69808),d=n(4302),f=n(11807),p=n(3993),m=n(18444),h=n(29108),v=n(64157),g=n(35611),b=n(83923),C=n(50997),y=n(89853),N=n(56342),_=n(68762),V=n(24345),x=n(33453).set,w=n(80909),S=n(48141),k=n(21419),E=n(82101),B=n(47673),I=n(79947),L=n(41441),O=n(17657),M=n(46392),A=n(41488),T=n(12338),P=O("species"),j="Promise",F=I.get,R=I.set,D=I.getterFor(j),K=d&&d.prototype,z=d,W=K,Y=l.TypeError,U=l.document,H=l.process,G=E.f,$=G,q=!!(U&&U.createEvent&&l.dispatchEvent),X="function"==typeof PromiseRejectionEvent,Q="unhandledrejection",J=!1,Z=L(j,(function(){var e=y(z),t=e!==String(z);if(!t&&66===T)return!0;if(u&&!W["finally"])return!0;if(T>=51&&/native code/.test(e))return!1;var n=new z((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};return(n.constructor={})[P]=o,!(J=n.then((function(){}))instanceof o)||!t&&M&&!X})),ee=Z||!_((function(e){z.all(e)["catch"]((function(){}))})),te=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ne=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;w((function(){for(var o=e.value,r=1==e.state,i=0;n.length>i;){var a,c,u,l=n[i++],s=r?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{s?(r||(2===e.rejection&&ae(e),e.rejection=1),!0===s?a=o:(p&&p.enter(),a=s(o),p&&(p.exit(),u=!0)),a===l.promise?f(Y("Promise-chain cycle")):(c=te(a))?c.call(a,d,f):d(a)):f(o)}catch(m){p&&!u&&p.exit(),f(m)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&re(e)}))}},oe=function(e,t,n){var o,r;q?((o=U.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),l.dispatchEvent(o)):o={promise:t,reason:n},!X&&(r=l["on"+e])?r(o):e===Q&&k("Unhandled promise rejection",n)},re=function(e){x.call(l,(function(){var t,n=e.facade,o=e.value;if(ie(e)&&(t=B((function(){A?H.emit("unhandledRejection",o,n):oe(Q,n,o)})),e.rejection=A||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},ae=function(e){x.call(l,(function(){var t=e.facade;A?H.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},ce=function(e,t,n){return function(o){e(t,o,n)}},ue=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ne(e,!0))},le=function de(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var o=te(t);o?w((function(){var n={done:!1};try{o.call(t,ce(de,n,e),ce(ue,n,e))}catch(r){ue(n,r,e)}})):(e.value=t,e.state=1,ne(e,!1))}catch(r){ue({done:!1},r,e)}}};if(Z&&(W=(z=function(e){C(this,z,j),b(e),o.call(this);var t=F(this);try{e(ce(le,t),ce(ue,t))}catch(n){ue(t,n)}}).prototype,(o=function(e){R(this,{type:j,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=p(W,{then:function(e,t){var n=D(this),o=G(V(this,z));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=A?H.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&ne(n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=F(e);this.promise=e,this.resolve=ce(le,t),this.reject=ce(ue,t)},E.f=G=function(e){return e===z||e===i?new r(e):$(e)},!u&&"function"==typeof d&&K!==Object.prototype)){a=K.then,J||(f(K,"then",(function(e,t){var n=this;return new z((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),f(K,"catch",W["catch"],{unsafe:!0}));try{delete K.constructor}catch(se){}m&&m(K,W)}c({global:!0,wrap:!0,forced:Z},{Promise:z}),h(z,j,!1,!0),v(j),i=s(j),c({target:j,stat:!0,forced:Z},{reject:function(e){var t=G(this);return t.reject.call(undefined,e),t.promise}}),c({target:j,stat:!0,forced:u||Z},{resolve:function(e){return S(u&&this===i?z:this,e)}}),c({target:j,stat:!0,forced:ee},{all:function(e){var t=this,n=G(t),o=n.resolve,r=n.reject,i=B((function(){var n=b(t.resolve),i=[],a=0,c=1;N(e,(function(e){var u=a++,l=!1;i.push(undefined),c++,n.call(t,e).then((function(e){l||(l=!0,i[u]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=G(t),o=n.reject,r=B((function(){var r=b(t.resolve);N(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},57128:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(83923),a=n(63518),c=n(69691),u=r("Reflect","apply"),l=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){u((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),u?u(e,t,n):l.call(e,t,n)}})},83588:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(83923),a=n(63518),c=n(35611),u=n(83681),l=n(68719),s=n(69691),d=r("Reflect","construct"),f=s((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),p=!s((function(){d((function(){}))})),m=f||p;o({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(l.apply(e,o))}var r=n.prototype,s=u(c(r)?r:Object.prototype),m=Function.apply.call(e,s,t);return c(m)?m:s}})},47057:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(63518),a=n(14613),c=n(74217);o({target:"Reflect",stat:!0,forced:n(69691)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},67092:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(22245).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},69203:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(63518),a=n(22245);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},27879:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(6863);o({target:"Reflect",stat:!0,sham:!n(28954)},{getPrototypeOf:function(e){return i(r(e))}})},59478:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(63518),a=n(28919),c=n(22245),u=n(6863);o({target:"Reflect",stat:!0},{get:function l(e,t){var n,o,s=arguments.length<3?e:arguments[2];return i(e)===s?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(s):r(o=u(e))?l(o,t,s):void 0}})},71507:function(e,t,n){"use strict";n(56174)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},39021:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},8641:function(e,t,n){"use strict";n(56174)({target:"Reflect",stat:!0},{ownKeys:n(28482)})},83064:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(63518);o({target:"Reflect",stat:!0,sham:!n(7056)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},33362:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(1372),a=n(18444);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},93115:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(35611),a=n(28919),c=n(69691),u=n(74217),l=n(22245),s=n(6863),d=n(39160);o({target:"Reflect",stat:!0,forced:c((function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function f(e,t,n){var o,c,p=arguments.length<4?e:arguments[3],m=l.f(r(e),t);if(!m){if(i(c=s(e)))return f(c,t,n,p);m=d(0)}if(a(m,"value")){if(!1===m.writable||!i(p))return!1;if(o=l.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,u.f(p,t,o)}else u.f(p,t,d(0,n));return!0}return m.set!==undefined&&(m.set.call(p,n),!0)}})},45090:function(e,t,n){"use strict";var o=n(75592),r=n(84253),i=n(41441),a=n(22285),c=n(52188),u=n(74217).f,l=n(78870).f,s=n(86133),d=n(92082),f=n(5105),p=n(1864),m=n(11807),h=n(69691),v=n(28919),g=n(79947).enforce,b=n(64157),C=n(17657),y=n(8368),N=n(2229),_=C("match"),V=r.RegExp,x=V.prototype,w=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S=/a/g,k=/a/g,E=new V(S)!==S,B=p.UNSUPPORTED_Y,I=o&&(!E||B||y||N||h((function(){return k[_]=!1,V(S)!=S||V(k)==k||"/a/i"!=V(S,"i")})));if(i("RegExp",I)){for(var L=function(e,t){var n,o,r,i,u,l,p=this instanceof L,m=s(e),h=t===undefined,b=[],C=e;if(!p&&m&&h&&e.constructor===L)return e;if((m||e instanceof L)&&(e=e.source,h&&(t="flags"in C?C.flags:f.call(C))),e=e===undefined?"":d(e),t=t===undefined?"":d(t),C=e,y&&"dotAll"in S&&(o=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,B&&"sticky"in S&&(r=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),N&&(e=(i=function(e){for(var t,n=e.length,o=0,r="",i=[],a={},c=!1,u=!1,l=0,s="";o<=n;o++){if("\\"===(t=e.charAt(o)))t+=e.charAt(++o);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:w.test(e.slice(o+1))&&(o+=2,u=!0),r+=t,l++;continue;case">"===t&&u:if(""===s||v(a,s))throw new SyntaxError("Invalid capture group name");a[s]=!0,i.push([s,l]),u=!1,s="";continue}u?s+=t:r+=t}return[r,i]}(e))[0],b=i[1]),u=a(V(e,t),p?this:x,L),(o||r||b.length)&&(l=g(u),o&&(l.dotAll=!0,l.raw=L(function(e){for(var t,n=e.length,o=0,r="",i=!1;o<=n;o++)"\\"!==(t=e.charAt(o))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),r+=t):r+="[\\s\\S]":r+=t+e.charAt(++o);return r}(e),n)),r&&(l.sticky=!0),b.length&&(l.groups=b)),e!==C)try{c(u,"source",""===C?"(?:)":C)}catch(_){}return u},O=function(e){e in L||u(L,e,{configurable:!0,get:function(){return V[e]},set:function(t){V[e]=t}})},M=l(V),A=0;M.length>A;)O(M[A++]);x.constructor=L,L.prototype=x,m(r,"RegExp",L)}b("RegExp")},12654:function(e,t,n){"use strict";var o=n(56174),r=n(71841);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},58870:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(5105),a=n(69691);o&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},76581:function(e,t,n){"use strict";var o=n(11807),r=n(63518),i=n(92082),a=n(69691),c=n(5105),u="toString",l=RegExp.prototype,s=l.toString,d=a((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f=s.name!=u;(d||f)&&o(RegExp.prototype,u,(function(){var e=r(this),t=i(e.source),n=e.flags;return"/"+t+"/"+i(n===undefined&&e instanceof RegExp&&!("flags"in l)?c.call(e):n)}),{unsafe:!0})},4567:function(e,t,n){"use strict";var o=n(42006),r=n(74568);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},67586:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},7743:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("big")},{big:function(){return r(this,"big","","")}})},15890:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("blink")},{blink:function(){return r(this,"blink","","")}})},34651:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("bold")},{bold:function(){return r(this,"b","","")}})},28638:function(e,t,n){"use strict";var o=n(56174),r=n(37015).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},60314:function(e,t,n){"use strict";var o,r=n(56174),i=n(22245).f,a=n(39570),c=n(92082),u=n(18774),l=n(44184),s=n(93937),d=n(1986),f="".endsWith,p=Math.min,m=s("endsWith");r({target:"String",proto:!0,forced:!!(d||m||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!m},{endsWith:function(e){var t=c(l(this));u(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:p(a(n),o),i=c(e);return f?f.call(t,i,r):t.slice(r-i.length,r)===i}})},18037:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fixed")},{fixed:function(){return r(this,"tt","","")}})},48415:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},54950:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},71595:function(e,t,n){"use strict";var o=n(56174),r=n(55205),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},98954:function(e,t,n){"use strict";var o=n(56174),r=n(18774),i=n(44184),a=n(92082);o({target:"String",proto:!0,forced:!n(93937)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(r(e)),arguments.length>1?arguments[1]:undefined)}})},76102:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("italics")},{italics:function(){return r(this,"i","","")}})},91332:function(e,t,n){"use strict";var o=n(37015).charAt,r=n(92082),i=n(79947),a=n(71179),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},47816:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("link")},{link:function(e){return r(this,"a","href",e)}})},79445:function(e,t,n){"use strict";var o=n(68880),r=n(63518),i=n(39570),a=n(92082),c=n(44184),u=n(69953),l=n(5641);o("match",(function(e,t,n){return[function(t){var n=c(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](a(n))},function(e){var o=r(this),c=a(e),s=n(t,o,c);if(s.done)return s.value;if(!o.global)return l(o,c);var d=o.unicode;o.lastIndex=0;for(var f,p=[],m=0;null!==(f=l(o,c));){var h=a(f[0]);p[m]=h,""===h&&(o.lastIndex=u(c,i(o.lastIndex),d)),m++}return 0===m?null:p}]}))},36493:function(e,t,n){"use strict";var o=n(56174),r=n(47497).end;o({target:"String",proto:!0,forced:n(43331)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},24476:function(e,t,n){"use strict";var o=n(56174),r=n(47497).start;o({target:"String",proto:!0,forced:n(43331)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},78192:function(e,t,n){"use strict";var o=n(56174),r=n(26553),i=n(39570),a=n(92082);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,c=[],u=0;n>u;)c.push(a(t[u++])),u<o&&c.push(a(arguments[u]));return c.join("")}})},58660:function(e,t,n){"use strict";n(56174)({target:"String",proto:!0},{repeat:n(9811)})},56592:function(e,t,n){"use strict";var o=n(68880),r=n(69691),i=n(63518),a=n(3997),c=n(39570),u=n(92082),l=n(44184),s=n(69953),d=n(55444),f=n(5641),p=n(17657)("replace"),m=Math.max,h=Math.min,v="$0"==="a".replace(/./,"$0"),g=!!/./[p]&&""===/./[p]("a","$0");o("replace",(function(e,t,n){var o=g?"$":"$0";return[function(e,n){var o=l(this),r=e==undefined?undefined:e[p];return r!==undefined?r.call(e,o,n):t.call(u(o),e,n)},function(e,r){var l=i(this),p=u(e);if("string"==typeof r&&-1===r.indexOf(o)&&-1===r.indexOf("$<")){var v=n(t,l,p,r);if(v.done)return v.value}var g="function"==typeof r;g||(r=u(r));var b=l.global;if(b){var C=l.unicode;l.lastIndex=0}for(var y=[];;){var N=f(l,p);if(null===N)break;if(y.push(N),!b)break;""===u(N[0])&&(l.lastIndex=s(p,c(l.lastIndex),C))}for(var _,V="",x=0,w=0;w<y.length;w++){N=y[w];for(var S=u(N[0]),k=m(h(a(N.index),p.length),0),E=[],B=1;B<N.length;B++)E.push((_=N[B])===undefined?_:String(_));var I=N.groups;if(g){var L=[S].concat(E,k,p);I!==undefined&&L.push(I);var O=u(r.apply(undefined,L))}else O=d(S,p,k,E,I,r);k>=x&&(V+=p.slice(x,k)+O,x=k+S.length)}return V+p.slice(x)}]}),!!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||g)},69957:function(e,t,n){"use strict";var o=n(68880),r=n(63518),i=n(44184),a=n(61398),c=n(92082),u=n(5641);o("search",(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](c(n))},function(e){var o=r(this),i=c(e),l=n(t,o,i);if(l.done)return l.value;var s=o.lastIndex;a(s,0)||(o.lastIndex=0);var d=u(o,i);return a(o.lastIndex,s)||(o.lastIndex=s),null===d?-1:d.index}]}))},30037:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("small")},{small:function(){return r(this,"small","","")}})},9747:function(e,t,n){"use strict";var o=n(68880),r=n(86133),i=n(63518),a=n(44184),c=n(24345),u=n(69953),l=n(39570),s=n(92082),d=n(5641),f=n(71841),p=n(1864),m=n(69691),h=p.UNSUPPORTED_Y,v=[].push,g=Math.min,b=4294967295;o("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=s(a(this)),i=n===undefined?b:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,u,l,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,p+"g");(c=f.call(h,o))&&!((u=h.lastIndex)>m&&(d.push(o.slice(m,c.index)),c.length>1&&c.index<o.length&&v.apply(d,c.slice(1)),l=c[0].length,m=u,d.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===o.length?!l&&h.test("")||d.push(""):d.push(o.slice(m)),d.length>i?d.slice(0,i):d}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(s(r),t,n)},function(e,r){var a=i(this),f=s(e),p=n(o,a,f,r,o!==t);if(p.done)return p.value;var m=c(a,RegExp),v=a.unicode,C=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(h?"g":"y"),y=new m(h?"^(?:"+a.source+")":a,C),N=r===undefined?b:r>>>0;if(0===N)return[];if(0===f.length)return null===d(y,f)?[f]:[];for(var _=0,V=0,x=[];V<f.length;){y.lastIndex=h?0:V;var w,S=d(y,h?f.slice(V):f);if(null===S||(w=g(l(y.lastIndex+(h?V:0)),f.length))===_)V=u(f,V,v);else{if(x.push(f.slice(_,V)),x.length===N)return x;for(var k=1;k<=S.length-1;k++)if(x.push(S[k]),x.length===N)return x;V=_=w}}return x.push(f.slice(_)),x}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),h)},13578:function(e,t,n){"use strict";var o,r=n(56174),i=n(22245).f,a=n(39570),c=n(92082),u=n(18774),l=n(44184),s=n(93937),d=n(1986),f="".startsWith,p=Math.min,m=s("startsWith");r({target:"String",proto:!0,forced:!!(d||m||(o=i(String.prototype,"startsWith"),!o||o.writable))&&!m},{startsWith:function(e){var t=c(l(this));u(e);var n=a(p(arguments.length>1?arguments[1]:undefined,t.length)),o=c(e);return f?f.call(t,o,n):t.slice(n,n+o.length)===o}})},54705:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("strike")},{strike:function(){return r(this,"strike","","")}})},75831:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("sub")},{sub:function(){return r(this,"sub","","")}})},96958:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("sup")},{sup:function(){return r(this,"sup","","")}})},19209:function(e,t,n){"use strict";var o=n(56174),r=n(84703).end,i=n(3035)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},56737:function(e,t,n){"use strict";var o=n(56174),r=n(84703).start,i=n(3035)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},3684:function(e,t,n){"use strict";var o=n(56174),r=n(84703).trim;o({target:"String",proto:!0,forced:n(3035)("trim")},{trim:function(){return r(this)}})},69656:function(e,t,n){"use strict";n(55282)("asyncIterator")},43674:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(84253),a=n(28919),c=n(35611),u=n(74217).f,l=n(49957),s=i.Symbol;if(r&&"function"==typeof s&&(!("description"in s.prototype)||s().description!==undefined)){var d={},f=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof f?new s(e):e===undefined?s():s(e);return""===e&&(d[t]=!0),t};l(f,s);var p=f.prototype=s.prototype;p.constructor=f;var m=p.toString,h="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var n=h?t.slice(7,-1):t.replace(v,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:f})}},72411:function(e,t,n){"use strict";n(55282)("hasInstance")},24467:function(e,t,n){"use strict";n(55282)("isConcatSpreadable")},37493:function(e,t,n){"use strict";n(55282)("iterator")},65379:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(69808),a=n(1986),c=n(75592),u=n(54772),l=n(69691),s=n(28919),d=n(89999),f=n(35611),p=n(78253),m=n(63518),h=n(12104),v=n(26553),g=n(14613),b=n(92082),C=n(39160),y=n(83681),N=n(84547),_=n(78870),V=n(59995),x=n(21061),w=n(22245),S=n(74217),k=n(77659),E=n(52188),B=n(11807),I=n(27364),L=n(85152),O=n(90311),M=n(41080),A=n(17657),T=n(3444),P=n(55282),j=n(29108),F=n(79947),R=n(69033).forEach,D=L("hidden"),K="Symbol",z=A("toPrimitive"),W=F.set,Y=F.getterFor(K),U=Object.prototype,H=r.Symbol,G=i("JSON","stringify"),$=w.f,q=S.f,X=V.f,Q=k.f,J=I("symbols"),Z=I("op-symbols"),ee=I("string-to-symbol-registry"),te=I("symbol-to-string-registry"),ne=I("wks"),oe=r.QObject,re=!oe||!oe.prototype||!oe.prototype.findChild,ie=c&&l((function(){return 7!=y(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=$(U,t);o&&delete U[t],q(e,t,n),o&&e!==U&&q(U,t,o)}:q,ae=function(e,t){var n=J[e]=y(H.prototype);return W(n,{type:K,tag:e,description:t}),c||(n.description=t),n},ce=function(e,t,n){e===U&&ce(Z,t,n),m(e);var o=g(t);return m(n),s(J,o)?(n.enumerable?(s(e,D)&&e[D][o]&&(e[D][o]=!1),n=y(n,{enumerable:C(0,!1)})):(s(e,D)||q(e,D,C(1,{})),e[D][o]=!0),ie(e,o,n)):q(e,o,n)},ue=function(e,t){m(e);var n=v(t),o=N(n).concat(pe(n));return R(o,(function(t){c&&!se.call(n,t)||ce(e,t,n[t])})),e},le=function(e,t){return t===undefined?y(e):ue(y(e),t)},se=function(e){var t=g(e),n=Q.call(this,t);return!(this===U&&s(J,t)&&!s(Z,t))&&(!(n||!s(this,t)||!s(J,t)||s(this,D)&&this[D][t])||n)},de=function(e,t){var n=v(e),o=g(t);if(n!==U||!s(J,o)||s(Z,o)){var r=$(n,o);return!r||!s(J,o)||s(n,D)&&n[D][o]||(r.enumerable=!0),r}},fe=function(e){var t=X(v(e)),n=[];return R(t,(function(e){s(J,e)||s(O,e)||n.push(e)})),n},pe=function(e){var t=e===U,n=X(t?Z:v(e)),o=[];return R(n,(function(e){!s(J,e)||t&&!s(U,e)||o.push(J[e])})),o};(u||(B((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==undefined?b(arguments[0]):undefined,t=M(e),n=function o(e){this===U&&o.call(Z,e),s(this,D)&&s(this[D],t)&&(this[D][t]=!1),ie(this,t,C(1,e))};return c&&re&&ie(U,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return Y(this).tag})),B(H,"withoutSetter",(function(e){return ae(M(e),e)})),k.f=se,S.f=ce,w.f=de,_.f=V.f=fe,x.f=pe,T.f=function(e){return ae(A(e),e)},c&&(q(H.prototype,"description",{configurable:!0,get:function(){return Y(this).description}}),a||B(U,"propertyIsEnumerable",se,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),R(N(ne),(function(e){P(e)})),o({target:K,stat:!0,forced:!u},{"for":function(e){var t=b(e);if(s(ee,t))return ee[t];var n=H(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!p(e))throw TypeError(e+" is not a symbol");if(s(te,e))return te[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!c},{create:le,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:de}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),o({target:"Object",stat:!0,forced:l((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(h(e))}}),G)&&o({target:"JSON",stat:!0,forced:!u||l((function(){var e=H();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(o=t,(f(t)||e!==undefined)&&!p(e))return d(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!p(t))return t}),r[1]=t,G.apply(null,r)}});H.prototype[z]||E(H.prototype,z,H.prototype.valueOf),j(H,K),O[D]=!0},87420:function(e,t,n){"use strict";n(55282)("match")},9480:function(e,t,n){"use strict";n(55282)("replace")},66171:function(e,t,n){"use strict";n(55282)("search")},53276:function(e,t,n){"use strict";n(55282)("species")},71852:function(e,t,n){"use strict";n(55282)("split")},59045:function(e,t,n){"use strict";n(55282)("toPrimitive")},70887:function(e,t,n){"use strict";n(55282)("toStringTag")},72906:function(e,t,n){"use strict";n(55282)("unscopables")},64346:function(e,t,n){"use strict";var o=n(19216),r=n(59571),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},27553:function(e,t,n){"use strict";var o=n(19216),r=n(69033).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},49007:function(e,t,n){"use strict";var o=n(19216),r=n(22051),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},17621:function(e,t,n){"use strict";var o=n(19216),r=n(69033).filter,i=n(16688),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("filter",(function(e){var t=r(a(this),e,arguments.length>1?arguments[1]:undefined);return i(this,t)}))},20500:function(e,t,n){"use strict";var o=n(19216),r=n(69033).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},71078:function(e,t,n){"use strict";var o=n(19216),r=n(69033).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},75344:function(e,t,n){"use strict";n(17576)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},87853:function(e,t,n){"use strict";n(17576)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},85923:function(e,t,n){"use strict";var o=n(19216),r=n(69033).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},38956:function(e,t,n){"use strict";var o=n(29023);(0,n(19216).exportTypedArrayStaticMethod)("from",n(76182),o)},49264:function(e,t,n){"use strict";var o=n(19216),r=n(25945).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},70448:function(e,t,n){"use strict";var o=n(19216),r=n(25945).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},1150:function(e,t,n){"use strict";n(17576)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},50444:function(e,t,n){"use strict";n(17576)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},25865:function(e,t,n){"use strict";n(17576)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},5775:function(e,t,n){"use strict";var o=n(84253),r=n(19216),i=n(98215),a=n(17657)("iterator"),c=o.Uint8Array,u=i.values,l=i.keys,s=i.entries,d=r.aTypedArray,f=r.exportTypedArrayMethod,p=c&&c.prototype[a],m=!!p&&("values"==p.name||p.name==undefined),h=function(){return u.call(d(this))};f("entries",(function(){return s.call(d(this))})),f("keys",(function(){return l.call(d(this))})),f("values",h,!m),f(a,h,!m)},45164:function(e,t,n){"use strict";var o=n(19216),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},83762:function(e,t,n){"use strict";var o=n(19216),r=n(41183),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},67265:function(e,t,n){"use strict";var o=n(19216),r=n(69033).map,i=n(25198),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(i(e))(t)}))}))},56058:function(e,t,n){"use strict";var o=n(19216),r=n(29023),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},23535:function(e,t,n){"use strict";var o=n(19216),r=n(28249).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},87001:function(e,t,n){"use strict";var o=n(19216),r=n(28249).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},18617:function(e,t,n){"use strict";var o=n(19216),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=r(t).length,o=a(n/2),i=0;i<o;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},70595:function(e,t,n){"use strict";var o=n(19216),r=n(39570),i=n(95740),a=n(12104),c=n(69691),u=o.aTypedArray;(0,o.exportTypedArrayMethod)("set",(function(e){u(this);var t=i(arguments.length>1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),l=0;if(c+t>n)throw RangeError("Wrong length");for(;l<c;)this[t+l]=o[l++]}),c((function(){new Int8Array(1).set({})})))},76820:function(e,t,n){"use strict";var o=n(19216),r=n(25198),i=n(69691),a=o.aTypedArray,c=o.exportTypedArrayMethod,u=[].slice;c("slice",(function(e,t){for(var n=u.call(a(this),e,t),o=r(this),i=0,c=n.length,l=new o(c);c>i;)l[i]=n[i++];return l}),i((function(){new Int8Array(1).slice()})))},33357:function(e,t,n){"use strict";var o=n(19216),r=n(69033).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},38215:function(e,t,n){"use strict";var o=n(19216),r=n(84253),i=n(69691),a=n(83923),c=n(39570),u=n(58737),l=n(20967),s=n(85749),d=n(12338),f=n(12200),p=o.aTypedArray,m=o.exportTypedArrayMethod,h=r.Uint16Array,v=h&&h.prototype.sort,g=!!v&&!i((function(){var e=new h(2);e.sort(null),e.sort({})})),b=!!v&&!i((function(){if(d)return d<74;if(l)return l<67;if(s)return!0;if(f)return f<602;var e,t,n=new h(516),o=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,o[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==o[e])return!0}));m("sort",(function(e){var t=this;if(e!==undefined&&a(e),b)return v.call(t,e);p(t);var n,o=c(t.length),r=Array(o);for(n=0;n<o;n++)r[n]=t[n];for(r=u(t,function(e){return function(t,n){return e!==undefined?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),n=0;n<o;n++)t[n]=r[n];return t}),!b||g)},37281:function(e,t,n){"use strict";var o=n(19216),r=n(39570),i=n(55205),a=n(25198),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,u=i(e,o);return new(a(n))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-u))}))},99584:function(e,t,n){"use strict";var o=n(84253),r=n(19216),i=n(69691),a=o.Int8Array,c=r.aTypedArray,u=r.exportTypedArrayMethod,l=[].toLocaleString,s=[].slice,d=!!a&&i((function(){l.call(new a(1))}));u("toLocaleString",(function(){return l.apply(d?s.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},43582:function(e,t,n){"use strict";var o=n(19216).exportTypedArrayMethod,r=n(69691),i=n(84253).Uint8Array,a=i&&i.prototype||{},c=[].toString,u=[].join;r((function(){c.call({})}))&&(c=function(){return u.call(this)});var l=a.toString!=c;o("toString",c,l)},37650:function(e,t,n){"use strict";n(17576)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},12424:function(e,t,n){"use strict";n(17576)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},11220:function(e,t,n){"use strict";n(17576)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},6636:function(e,t,n){"use strict";n(17576)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},15378:function(e,t,n){"use strict";var o,r=n(84253),i=n(3993),a=n(40421),c=n(42006),u=n(57396),l=n(35611),s=n(79947).enforce,d=n(82911),f=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,m=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",m,u);if(d&&f){o=u.getConstructor(m,"WeakMap",!0),a.enable();var v=h.prototype,g=v["delete"],b=v.has,C=v.get,y=v.set;i(v,{"delete":function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),b.call(this,e)?C.call(this,e):t.frozen.get(e)}return C.call(this,e)},set:function(e,t){if(l(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new o),b.call(this,e)?y.call(this,e,t):n.frozen.set(e,t)}else y.call(this,e,t);return this}})}},31213:function(e,t,n){"use strict";n(42006)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(57396))},19275:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(33453);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},59:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(80909),a=n(41488),c=r.process;o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=a&&c.domain;i(t?t.bind(e):e)}})},43849:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(72319),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},42950:function(e){"use strict";e.exports=function(){function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var t=Object.hasOwnProperty,n=Object.setPrototypeOf,o=Object.isFrozen,r=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,c=Object.seal,u=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,d=l.construct;s||(s=function(){function e(e,t,n){return e.apply(t,n)}return e}()),a||(a=function(){function e(e){return e}return e}()),c||(c=function(){function e(e){return e}return e}()),d||(d=function(){function t(t,n){return new(Function.prototype.bind.apply(t,[null].concat(e(n))))}return t}());var f=_(Array.prototype.forEach),p=_(Array.prototype.pop),m=_(Array.prototype.push),h=_(String.prototype.toLowerCase),v=_(String.prototype.match),g=_(String.prototype.replace),b=_(String.prototype.indexOf),C=_(String.prototype.trim),y=_(RegExp.prototype.test),N=V(TypeError);function _(e){return function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return s(e,t,o)}}function V(e){return function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return d(e,n)}}function x(e,t){n&&n(e,null);for(var r=t.length;r--;){var i=t[r];if("string"==typeof i){var a=h(i);a!==i&&(o(t)||(t[r]=a),i=a)}e[i]=!0}return e}function w(e){var n=u(null),o=void 0;for(o in e)s(t,e,[o])&&(n[o]=e[o]);return n}function S(e,t){for(;null!==e;){var n=i(e,t);if(n){if(n.get)return _(n.get);if("function"==typeof n.value)return _(n.value)}e=r(e)}function o(e){return null}return o}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=a(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),T=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),j=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=c(/\{\{[\s\S]*|[\s\S]*\}\}/gm),R=c(/<%[\s\S]*|[\s\S]*%>/gm),D=c(/^data-[\-\w.\u00B7-\uFFFF]/),K=c(/^aria-[\-\w]+$/),z=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=c(/^(?:\w+script|data):/i),Y=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function H(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var G=function(){function e(){return"undefined"==typeof window?null:window}return e}(),$=function(){function e(e,t){if("object"!==(void 0===e?"undefined":U(e))||"function"!=typeof e.createPolicy)return null;var n=null,o="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(o)&&(n=t.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(){function e(e){return e}return e}()})}catch(i){return null}}return e}();function q(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:G(),t=function(){function e(e){return q(e)}return e}();if(t.version="2.3.1",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,o=e.document,r=e.DocumentFragment,i=e.HTMLTemplateElement,c=e.Node,u=e.Element,l=e.NodeFilter,s=e.NamedNodeMap,d=s===undefined?e.NamedNodeMap||e.MozNamedAttrMap:s,_=e.Text,V=e.Comment,X=e.DOMParser,Q=e.trustedTypes,J=u.prototype,Z=S(J,"cloneNode"),ee=S(J,"nextSibling"),te=S(J,"childNodes"),ne=S(J,"parentNode");if("function"==typeof i){var oe=o.createElement("template");oe.content&&oe.content.ownerDocument&&(o=oe.content.ownerDocument)}var re=$(Q,n),ie=re&&je?re.createHTML(""):"",ae=o,ce=ae.implementation,ue=ae.createNodeIterator,le=ae.createDocumentFragment,se=ae.getElementsByTagName,de=n.importNode,fe={};try{fe=w(o).documentMode?o.documentMode:{}}catch(bt){}var pe={};t.isSupported="function"==typeof ne&&ce&&"undefined"!=typeof ce.createHTMLDocument&&9!==fe;var me=F,he=R,ve=D,ge=K,be=W,Ce=Y,ye=z,Ne=null,_e=x({},[].concat(H(k),H(E),H(B),H(L),H(M))),Ve=null,xe=x({},[].concat(H(A),H(T),H(P),H(j))),we=null,Se=null,ke=!0,Ee=!0,Be=!1,Ie=!1,Le=!1,Oe=!1,Me=!1,Ae=!1,Te=!1,Pe=!0,je=!1,Fe=!0,Re=!0,De=!1,Ke={},ze=null,We=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Ue=x({},["audio","video","img","source","image","track"]),He=null,Ge=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml",Qe=Xe,Je=!1,Ze=null,et=o.createElement("form"),tt=function(){function e(e){Ze&&Ze===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=w(e),Ne="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):_e,Ve="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):xe,He="ADD_URI_SAFE_ATTR"in e?x(w(Ge),e.ADD_URI_SAFE_ATTR):Ge,Ye="ADD_DATA_URI_TAGS"in e?x(w(Ue),e.ADD_DATA_URI_TAGS):Ue,ze="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS):We,we="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Ke="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Le=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Pe=!1!==e.RETURN_DOM_IMPORT,je=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,De=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,Qe=e.NAMESPACE||Xe,Ie&&(Ee=!1),Te&&(Ae=!0),Ke&&(Ne=x({},[].concat(H(M))),Ve=[],!0===Ke.html&&(x(Ne,k),x(Ve,A)),!0===Ke.svg&&(x(Ne,E),x(Ve,T),x(Ve,j)),!0===Ke.svgFilters&&(x(Ne,B),x(Ve,T),x(Ve,j)),!0===Ke.mathMl&&(x(Ne,L),x(Ve,P),x(Ve,j))),e.ADD_TAGS&&(Ne===_e&&(Ne=w(Ne)),x(Ne,e.ADD_TAGS)),e.ADD_ATTR&&(Ve===xe&&(Ve=w(Ve)),x(Ve,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(He,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ze===We&&(ze=w(ze)),x(ze,e.FORBID_CONTENTS)),Re&&(Ne["#text"]=!0),Le&&x(Ne,["html","head","body"]),Ne.table&&(x(Ne,["tbody"]),delete we.tbody),a&&a(e),Ze=e)}return e}(),nt=x({},["mi","mo","mn","ms","mtext"]),ot=x({},["foreignobject","desc","title","annotation-xml"]),rt=x({},E);x(rt,B),x(rt,I);var it=x({},L);x(it,O);var at=function(){function e(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Xe,tagName:"template"});var n=h(e.tagName),o=h(t.tagName);if(e.namespaceURI===qe)return t.namespaceURI===Xe?"svg"===n:t.namespaceURI===$e?"svg"===n&&("annotation-xml"===o||nt[o]):Boolean(rt[n]);if(e.namespaceURI===$e)return t.namespaceURI===Xe?"math"===n:t.namespaceURI===qe?"math"===n&&ot[o]:Boolean(it[n]);if(e.namespaceURI===Xe){if(t.namespaceURI===qe&&!ot[o])return!1;if(t.namespaceURI===$e&&!nt[o])return!1;var r=x({},["title","style","font","a","script"]);return!it[n]&&(r[n]||!rt[n])}return!1}return e}(),ct=function(){function e(e){m(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(bt){try{e.outerHTML=ie}catch(bt){e.remove()}}}return e}(),ut=function(){function e(e,n){try{m(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(bt){m(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!Ve[e])if(Ae||Te)try{ct(n)}catch(bt){}else try{n.setAttribute(e,"")}catch(bt){}}return e}(),lt=function(){function e(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=re?re.createHTML(e):e;if(Qe===Xe)try{t=(new X).parseFromString(i,"text/html")}catch(bt){}if(!t||!t.documentElement){t=ce.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=Je?"":i}catch(bt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Qe===Xe?se.call(t,Le?"html":"body")[0]:Le?t.documentElement:a}return e}(),st=function(){function e(e){return ue.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)}return e}(),dt=function(){function e(e){return!(e instanceof _||e instanceof V||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof d&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)}return e}(),ft=function(){function e(e){return"object"===(void 0===c?"undefined":U(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}return e}(),pt=function(){function e(e,n,o){pe[e]&&f(pe[e],(function(e){e.call(t,n,o,Ze)}))}return e}(),mt=function(){function e(e){var n=void 0;if(pt("beforeSanitizeElements",e,null),dt(e))return ct(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return ct(e),!0;var o=h(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:o,allowedTags:Ne}),!ft(e.firstElementChild)&&(!ft(e.content)||!ft(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return ct(e),!0;if("select"===o&&y(/<template/i,e.innerHTML))return ct(e),!0;if(!Ne[o]||we[o]){if(Re&&!ze[o]){var r=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&r)for(var a=i.length-1;a>=0;--a)r.insertBefore(Z(i[a],!0),ee(e))}return ct(e),!0}return e instanceof u&&!at(e)?(ct(e),!0):"noscript"!==o&&"noembed"!==o||!y(/<\/no(script|embed)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(n=e.textContent,n=g(n,me," "),n=g(n,he," "),e.textContent!==n&&(m(t.removed,{element:e.cloneNode()}),e.textContent=n)),pt("afterSanitizeElements",e,null),!1):(ct(e),!0)}return e}(),ht=function(){function e(e,t,n){if(Fe&&("id"===t||"name"===t)&&(n in o||n in et))return!1;if(Ee&&!Se[t]&&y(ve,t));else if(ke&&y(ge,t));else{if(!Ve[t]||Se[t])return!1;if(He[t]);else if(y(ye,g(n,Ce,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ye[e])if(Be&&!y(be,g(n,Ce,"")));else if(n)return!1}return!0}return e}(),vt=function(){function e(e){var n=void 0,o=void 0,r=void 0,i=void 0;pt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ve};for(i=a.length;i--;){var u=n=a[i],l=u.name,s=u.namespaceURI;if(o=C(n.value),r=h(l),c.attrName=r,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=undefined,pt("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr&&(ut(l,e),c.keepAttr))if(y(/\/>/i,o))ut(l,e);else{Ie&&(o=g(o,me," "),o=g(o,he," "));var d=e.nodeName.toLowerCase();if(ht(d,r,o))try{s?e.setAttributeNS(s,l,o):e.setAttribute(l,o),p(t.removed)}catch(bt){}}}pt("afterSanitizeAttributes",e,null)}}return e}(),gt=function(){function e(t){var n=void 0,o=st(t);for(pt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)pt("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof r&&e(n.content),vt(n));pt("afterSanitizeShadowDOM",t,null)}return e}();return t.sanitize=function(o,i){var a=void 0,u=void 0,l=void 0,s=void 0,d=void 0;if((Je=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!ft(o)){if("function"!=typeof o.toString)throw N("toString is not a function");if("string"!=typeof(o=o.toString()))throw N("dirty is not a string, aborting")}if(!t.isSupported){if("object"===U(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof o)return e.toStaticHTML(o);if(ft(o))return e.toStaticHTML(o.outerHTML)}return o}if(Oe||tt(i),t.removed=[],"string"==typeof o&&(De=!1),De);else if(o instanceof c)1===(u=(a=lt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?a=u:a.appendChild(u);else{if(!Ae&&!Ie&&!Le&&-1===o.indexOf("<"))return re&&je?re.createHTML(o):o;if(!(a=lt(o)))return Ae?null:ie}a&&Me&&ct(a.firstChild);for(var f=st(De?o:a);l=f.nextNode();)3===l.nodeType&&l===s||mt(l)||(l.content instanceof r&>(l.content),vt(l),s=l);if(s=null,De)return o;if(Ae){if(Te)for(d=le.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return Pe&&(d=de.call(n,d,!0)),d}var p=Le?a.outerHTML:a.innerHTML;return Ie&&(p=g(p,me," "),p=g(p,he," ")),re&&je?re.createHTML(p):p},t.setConfig=function(e){tt(e),Oe=!0},t.clearConfig=function(){Ze=null,Oe=!1},t.isValidAttribute=function(e,t,n){Ze||tt({});var o=h(e),r=h(t);return ht(o,r,n)},t.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],m(pe[e],t))},t.removeHook=function(e){pe[e]&&p(pe[e])},t.removeHooks=function(e){pe[e]&&(pe[e]=[])},t.removeAllHooks=function(){pe={}},t}return q()}()},92376:function(e,t){"use strict";t.__esModule=!0,t._CI=Ee,t._HI=j,t._M=Ie,t._MCCC=Ae,t._ME=Oe,t._MFCC=Te,t._MP=Se,t._MR=be,t._RFC=Be,t.__render=De,t.createComponentVNode=function(e,t,n,o,i){var a=new B(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(r(o))return n;if(r(n))return l(o,null);return S(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(r(o))return n;if(r(n))return o;return S(n,o)}(e,t,i),t);V.createVNode&&V.createVNode(a);return a},t.createFragment=O,t.createPortal=function(e,t){var n=j(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),Ke(n,e,o,r)}},t.createTextVNode=L,t.createVNode=I,t.directClone=M,t.findDOMfromVNode=b,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(a(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&r(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?l(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=Ke,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var n=Array.isArray;function o(e){var t=typeof e;return"string"===t||"number"===t}function r(e){return null==e}function i(e){return null===e||!1===e||!0===e||void 0===e}function a(e){return"function"==typeof e}function c(e){return"string"==typeof e}function u(e){return null===e}function l(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!u(e)&&"object"==typeof e}var d={};t.EMPTY_OBJ=d;function f(e){return e.substr(2).toLowerCase()}function p(e,t){e.appendChild(t)}function m(e,t,n){u(n)?p(e,t):e.insertBefore(t,n)}function h(e,t){e.removeChild(t)}function v(e){for(var t=0;t<e.length;t++)e[t]()}function g(e,t,n){var o=e.children;return 4&n?o.$LI:8192&n?2===e.childFlags?o:o[t?0:o.length-1]:o}function b(e,t){for(var n;e;){if(2033&(n=e.flags))return e.dom;e=g(e,t,n)}return null}function C(e,t){do{var n=e.flags;if(2033&n)return void h(t,e.dom);var o=e.children;if(4&n&&(e=o.$LI),8&n&&(e=o),8192&n){if(2!==e.childFlags){for(var r=0,i=o.length;r<i;++r)C(o[r],t);return}e=o}}while(e)}function y(e,t,n){do{var o=e.flags;if(2033&o)return void m(t,e.dom,n);var r=e.children;if(4&o&&(e=r.$LI),8&o&&(e=r),8192&o){if(2!==e.childFlags){for(var i=0,a=r.length;i<a;++i)y(r[i],t,n);return}e=r}}while(e)}function N(e,t,n){return e.constructor.getDerivedStateFromProps?l(n,e.constructor.getDerivedStateFromProps(t,n)):n}t.Fragment="$F";var _={v:!1},V={componentComparator:null,createVNode:null,renderComplete:null};function x(e,t){e.textContent=t}function w(e,t){return s(e)&&e.event===t.event&&e.data===t.data}function S(e,t){for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}function k(e,t){return!!a(e)&&(e(t),!0)}t.options=V;var E="$";function B(e,t,n,o,r,i,a,c){this.childFlags=e,this.children=t,this.className=n,this.dom=null,this.flags=o,this.key=void 0===r?null:r,this.props=void 0===i?null:i,this.ref=void 0===a?null:a,this.type=c}function I(e,t,n,o,r,i,a,c){var u=void 0===r?1:r,l=new B(u,o,n,e,a,i,c,t);return V.createVNode&&V.createVNode(l),0===u&&P(l,l.children),l}function L(e,t){return new B(1,r(e)||!0===e||!1===e?"":e,null,16,t,null,null,null)}function O(e,t,n){var o=I(8192,8192,null,e,t,null,n,null);switch(o.childFlags){case 1:o.children=A(),o.childFlags=2;break;case 16:o.children=[L(e)],o.childFlags=4}return o}function M(e){var t=-16385&e.flags,n=e.props;if(14&t&&!u(n)){var o=n;for(var r in n={},o)n[r]=o[r]}return 0==(8192&t)?new B(e.childFlags,e.children,e.className,t,e.key,n,e.ref,e.type):function(e){var t=e.children,n=e.childFlags;return O(2===n?M(t):t.map(M),n,e.key)}(e)}function A(){return L("",null)}function T(e,t,r,a){for(var l=e.length;r<l;r++){var s=e[r];if(!i(s)){var d=a+E+r;if(n(s))T(s,t,0,d);else{if(o(s))s=L(s,d);else{var f=s.key,p=c(f)&&f[0]===E;(81920&s.flags||p)&&(s=M(s)),s.flags|=65536,p?f.substring(0,a.length)!==a&&(s.key=a+f):u(f)?s.key=d:s.key=a+f}t.push(s)}}}}function P(e,t){var r,a=1;if(i(t))r=t;else if(o(t))a=16,r=t;else if(n(t)){for(var l=t.length,s=0;s<l;++s){var d=t[s];if(i(d)||n(d)){r=r||t.slice(0,s),T(t,r,s,"");break}if(o(d))(r=r||t.slice(0,s)).push(L(d,E+s));else{var f=d.key,p=(81920&d.flags)>0,m=u(f),h=c(f)&&f[0]===E;p||m||h?(r=r||t.slice(0,s),(p||h)&&(d=M(d)),(m||h)&&(d.key=E+s),r.push(d)):r&&r.push(d),d.flags|=65536}}a=0===(r=r||t).length?1:8}else(r=t).flags|=65536,81920&t.flags&&(r=M(t)),a=2;return e.children=r,e.childFlags=a,e}function j(e){return i(e)||o(e)?L(e,null):n(e)?O(e,0,null):16384&e.flags?M(e):e}var F="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",D={"xlink:actuate":F,"xlink:arcrole":F,"xlink:href":F,"xlink:role":F,"xlink:show":F,"xlink:title":F,"xlink:type":F,"xml:base":R,"xml:lang":R,"xml:space":R};function K(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var z=K(0),W=K(null),Y=K(!0);function U(e,t){var n=t.$EV;return n||(n=t.$EV=K(null)),n[e]||1==++z[e]&&(W[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?G(t,!0,e,Q(t)):t.stopPropagation()}}(e):function(e){return function(t){G(t,!1,e,Q(t))}}(e);return document.addEventListener(f(e),t),t}(e)),n}function H(e,t){var n=t.$EV;n&&n[e]&&(0==--z[e]&&(document.removeEventListener(f(e),W[e]),W[e]=null),n[e]=null)}function G(e,t,n,o){var r=function(e){return a(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var c=i[n];if(c&&(o.dom=r,c.event?c.event(c.data,e):c(e),e.cancelBubble))return}r=r.parentNode}while(!u(r))}function $(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function q(){return this.defaultPrevented}function X(){return this.cancelBubble}function Q(e){var t={dom:document};return e.isDefaultPrevented=q,e.isPropagationStopped=X,e.stopPropagation=$,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function J(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Z(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||d,i=o.dom;if(c(e))J(r,e,n);else for(var u=0;u<e.length;++u)J(r,e[u],n);if(a(t)){var l=this.$V,s=l.props||d;t(s,i,!1,l)}}};return Object.defineProperty(n,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),n}function ee(e,t,n){var o="$"+t,r=e[o];if(r){if(r[1].wrapped)return;e.removeEventListener(r[0],r[1]),e[o]=null}a(n)&&(e.addEventListener(t,n),e[o]=[t,n])}function te(e){return"checkbox"===e||"radio"===e}var ne=Z("onInput",ie),oe=Z(["onClick","onChange"],ie);function re(e){e.stopPropagation()}function ie(e,t){var n=e.type,o=e.value,i=e.checked,a=e.multiple,c=e.defaultValue,u=!r(o);n&&n!==t.type&&t.setAttribute("type",n),r(a)||a===t.multiple||(t.multiple=a),r(c)||u||(t.defaultValue=c+""),te(n)?(u&&(t.value=o),r(i)||(t.checked=i)):u&&t.value!==o?(t.defaultValue=o,t.value=o):r(i)||(t.checked=i)}function ae(e,t){if("option"===e.type)!function(e,t){var o=e.props||d,i=e.dom;i.value=o.value,o.value===t||n(t)&&-1!==t.indexOf(o.value)?i.selected=!0:r(t)&&r(o.selected)||(i.selected=o.selected||!1)}(e,t);else{var o=e.children,i=e.flags;if(4&i)ae(o.$LI,t);else if(8&i)ae(o,t);else if(2===e.childFlags)ae(o,t);else if(12&e.childFlags)for(var a=0,c=o.length;a<c;++a)ae(o[a],t)}}re.wrapped=!0;var ce=Z("onChange",ue);function ue(e,t,n,o){var i=Boolean(e.multiple);r(e.multiple)||i===t.multiple||(t.multiple=i);var a=e.selectedIndex;if(-1===a&&(t.selectedIndex=-1),1!==o.childFlags){var c=e.value;"number"==typeof a&&a>-1&&t.options[a]&&(c=t.options[a].value),n&&r(c)&&(c=e.defaultValue),ae(o,c)}}var le,se,de=Z("onInput",pe),fe=Z("onChange");function pe(e,t,n){var o=e.value,i=t.value;if(r(o)){if(n){var a=e.defaultValue;r(a)||a===i||(t.defaultValue=a,t.value=a)}}else i!==o&&(t.defaultValue=o,t.value=o)}function me(e,t,n,o,r,i){64&e?ie(o,n):256&e?ue(o,n,r,t):128&e&&pe(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",de),t.onChange&&ee(e,"change",fe)}(t,n)}function ve(e){return e.type&&te(e.type)?!r(e.checked):!r(e.value)}function ge(e){e&&!k(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(a(e)||void 0!==e.current)&&n.push((function(){k(e,t)||void 0===e.current||(e.current=t)}))}function Ce(e,t){ye(e),C(e,t)}function ye(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var i=e.props;ge(t);var c=e.childFlags;if(!u(i))for(var l=Object.keys(i),s=0,f=l.length;s<f;s++){var p=l[s];Y[p]&&H(p,e.dom)}12&c?Ne(o):2===c&&ye(o)}else o&&(4&n?(a(o.componentWillUnmount)&&o.componentWillUnmount(),ge(e.ref),o.$UN=!0,ye(o.$LI)):8&n?(!r(t=e.ref)&&a(t.onComponentWillUnmount)&&t.onComponentWillUnmount(b(e,!0),e.props||d),ye(o)):1024&n?Ce(o,e.ref):8192&n&&12&e.childFlags&&Ne(o))}function Ne(e){for(var t=0,n=e.length;t<n;++t)ye(e[t])}function _e(e){e.textContent=""}function Ve(e,t,n){Ne(n),8192&t.flags?C(t,e):_e(e)}function xe(e,t,n,o){var i=e&&e.__html||"",a=t&&t.__html||"";i!==a&&(r(a)||function(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(o,a)||(u(n)||(12&n.childFlags?Ne(n.children):2===n.childFlags&&ye(n.children),n.children=null,n.childFlags=1),o.innerHTML=a))}function we(e,t,n,o,i,u,l){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!n;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":o[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(u&&"value"===e)break;var d=r(n)?"":n;o[e]!==d&&(o[e]=d);break;case"style":!function(e,t,n){if(r(t))n.removeAttribute("style");else{var o,i,a=n.style;if(c(t))a.cssText=t;else if(r(e)||c(e))for(o in t)i=t[o],a.setProperty(o,i);else{for(o in t)(i=t[o])!==e[o]&&a.setProperty(o,i);for(o in e)r(t[o])&&a.removeProperty(o)}}}(t,n,o);break;case"dangerouslySetInnerHTML":xe(t,n,l,o);break;default:Y[e]?function(e,t,n,o){if(a(n))U(e,o)[e]=n;else if(s(n)){if(w(t,n))return;U(e,o)[e]=n}else H(e,o)}(e,t,n,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?function(e,t,n,o){if(s(n)){if(w(t,n))return;n=function(e){var t=e.event;return function(n){t(e.data,n)}}(n)}ee(o,f(e),n)}(e,t,n,o):r(n)?o.removeAttribute(e):i&&D[e]?o.setAttributeNS(D[e],e,n):o.setAttribute(e,n)}}function Se(e,t,n,o,r){var i=!1,a=(448&t)>0;for(var c in a&&(i=ve(n))&&he(t,o,n),n)we(c,null,n[c],o,r,i,null);a&&me(t,e,o,n,!0,i)}function ke(e,t,n){var o=j(e.render(t,e.state,n)),r=n;return a(e.getChildContext)&&(r=l(n,e.getChildContext())),e.$CX=r,o}function Ee(e,t,n,o,r,i){var c=new t(n,o),l=c.$N=Boolean(t.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=r,c.$L=i,e.children=c,c.$BS=!1,c.context=o,c.props===d&&(c.props=n),l)c.state=N(c,n,c.state);else if(a(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!u(s)){var f=c.state;if(u(f))c.state=s;else for(var p in s)f[p]=s[p];c.$PS=null}c.$BR=!1}return c.$LI=ke(c,n,o),c}function Be(e,t){var n=e.props||d;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function Ie(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Oe(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Ee(e,e.type,e.props||d,n,o,i);Ie(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Ie(e.children=j(Be(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Te(e,i)):512&a||16&a?Le(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=A());2===c?Ie(a,n,r,o,r,i):Me(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Ie(e.children,e.ref,t,!1,null,r);var i=A();Le(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Le(e,t,n){var o=e.dom=document.createTextNode(e.children);u(t)||m(t,o,n)}function Oe(e,t,n,o,i,a){var c=e.flags,l=e.props,s=e.className,d=e.childFlags,f=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0),p=e.children;if(r(s)||""===s||(o?f.setAttribute("class",s):f.className=s),16===d)x(f,p);else if(1!==d){var h=o&&"foreignObject"!==e.type;2===d?(16384&p.flags&&(e.children=p=M(p)),Ie(p,f,n,h,null,a)):8!==d&&4!==d||Me(p,f,n,h,null,a)}u(t)||m(t,f,i),u(l)||Se(e,c,l,f,o),be(e.ref,f,a)}function Me(e,t,n,o,r,i){for(var a=0;a<e.length;++a){var c=e[a];16384&c.flags&&(e[a]=c=M(c)),Ie(c,t,n,o,r,i)}}function Ae(e,t,n){be(e,t,n),a(t.componentDidMount)&&n.push(function(e){return function(){e.componentDidMount()}}(t))}function Te(e,t){var n=e.ref;r(n)||(k(n.onComponentWillMount,e.props||d),a(n.onComponentDidMount)&&t.push(function(e,t){return function(){e.onComponentDidMount(b(t,!0),t.props||d)}}(n,e)))}function Pe(e,t,n,o,c,s,f){var m=t.flags|=16384;e.flags!==m||e.type!==t.type||e.key!==t.key||2048&m?16384&e.flags?function(e,t,n,o,r,i){ye(e),0!=(t.flags&e.flags&2033)?(Ie(t,null,o,r,null,i),function(e,t,n){e.replaceChild(t,n)}(n,t.dom,e.dom)):(Ie(t,n,o,r,b(e,!0),i),C(e,n))}(e,t,n,o,c,f):Ie(t,n,o,c,s,f):481&m?function(e,t,n,o,i,a){var c,u=t.dom=e.dom,l=e.props,s=t.props,f=!1,p=!1;if(o=o||(32&i)>0,l!==s){var m=l||d;if((c=s||d)!==d)for(var h in(f=(448&i)>0)&&(p=ve(c)),c){var v=m[h],g=c[h];v!==g&&we(h,v,g,u,o,p,e)}if(m!==d)for(var b in m)r(c[b])&&!r(m[b])&&we(b,m[b],null,u,o,p,e)}var C=t.children,y=t.className;e.className!==y&&(r(y)?u.removeAttribute("class"):o?u.setAttribute("class",y):u.className=y);4096&i?function(e,t){e.textContent!==t&&(e.textContent=t)}(u,C):je(e.childFlags,t.childFlags,e.children,C,u,n,o&&"foreignObject"!==t.type,null,e,a);f&&me(i,t,u,c,!1,p);var N=t.ref,_=e.ref;_!==N&&(ge(_),be(N,u,a))}(e,t,o,c,m,f):4&m?function(e,t,n,o,r,i,c){var s=t.children=e.children;if(u(s))return;s.$L=c;var f=t.props||d,p=t.ref,m=e.ref,h=s.state;if(!s.$N){if(a(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(f,o),s.$UN)return;s.$BR=!1}u(s.$PS)||(h=l(h,s.$PS),s.$PS=null)}Fe(s,h,f,n,o,r,!1,i,c),m!==p&&(ge(m),be(p,s,c))}(e,t,n,o,c,s,f):8&m?function(e,t,n,o,i,c,u){var l=!0,s=t.props||d,f=t.ref,p=e.props,m=!r(f),h=e.children;m&&a(f.onComponentShouldUpdate)&&(l=f.onComponentShouldUpdate(p,s));if(!1!==l){m&&a(f.onComponentWillUpdate)&&f.onComponentWillUpdate(p,s);var v=j(Be(t,o));Pe(h,v,n,o,i,c,u),t.children=v,m&&a(f.onComponentDidUpdate)&&f.onComponentDidUpdate(p,s)}else t.children=h}(e,t,n,o,c,s,f):16&m?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&m?t.dom=e.dom:8192&m?function(e,t,n,o,r,i){var a=e.children,c=t.children,u=e.childFlags,l=t.childFlags,s=null;12&l&&0===c.length&&(l=t.childFlags=2,c=t.children=A());var d=0!=(2&l);if(12&u){var f=a.length;(8&u&&8&l||d||!d&&c.length>f)&&(s=b(a[f-1],!1).nextSibling)}je(u,l,a,c,n,o,r,s,e,i)}(e,t,n,o,c,f):function(e,t,n,o){var r=e.ref,a=t.ref,c=t.children;if(je(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==a&&!i(c)){var u=c.dom;h(r,u),p(a,u)}}(e,t,o,f)}function je(e,t,n,o,r,i,a,c,u,l){switch(e){case 2:switch(t){case 2:Pe(n,o,r,i,a,c,l);break;case 1:Ce(n,r);break;case 16:ye(n),x(r,o);break;default:!function(e,t,n,o,r,i){ye(e),Me(t,n,o,r,b(e,!0),i),C(e,n)}(n,o,r,i,a,l)}break;case 1:switch(t){case 2:Ie(o,r,i,a,c,l);break;case 1:break;case 16:x(r,o);break;default:Me(o,r,i,a,c,l)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:x(n,t))}(n,o,r);break;case 2:_e(r),Ie(o,r,i,a,c,l);break;case 1:_e(r);break;default:_e(r),Me(o,r,i,a,c,l)}break;default:switch(t){case 16:Ne(n),x(r,o);break;case 2:Ve(r,u,n),Ie(o,r,i,a,c,l);break;case 1:Ve(r,u,n);break;default:var s=0|n.length,d=0|o.length;0===s?d>0&&Me(o,r,i,a,c,l):0===d?Ve(r,u,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,u,l){var s,d,f=i-1,p=a-1,m=0,h=e[m],v=t[m];e:{for(;h.key===v.key;){if(16384&v.flags&&(t[m]=v=M(v)),Pe(h,v,n,o,r,c,l),e[m]=v,++m>f||m>p)break e;h=e[m],v=t[m]}for(h=e[f],v=t[p];h.key===v.key;){if(16384&v.flags&&(t[p]=v=M(v)),Pe(h,v,n,o,r,c,l),e[f]=v,p--,m>--f||m>p)break e;h=e[f],v=t[p]}}if(m>f){if(m<=p)for(d=(s=p+1)<a?b(t[s],!0):c;m<=p;)16384&(v=t[m]).flags&&(t[m]=v=M(v)),++m,Ie(v,n,o,r,d,l)}else if(m>p)for(;m<=f;)Ce(e[m++],n);else!function(e,t,n,o,r,i,a,c,u,l,s,d,f){var p,m,h,v=0,g=c,C=c,N=i-c+1,_=a-c+1,V=new Int32Array(_+1),x=N===o,w=!1,S=0,k=0;if(r<4||(N|_)<32)for(v=g;v<=i;++v)if(p=e[v],k<_){for(c=C;c<=a;c++)if(m=t[c],p.key===m.key){if(V[c-C]=v+1,x)for(x=!1;g<v;)Ce(e[g++],u);S>c?w=!0:S=c,16384&m.flags&&(t[c]=m=M(m)),Pe(p,m,u,n,l,s,f),++k;break}!x&&c>a&&Ce(p,u)}else x||Ce(p,u);else{var E={};for(v=C;v<=a;++v)E[t[v].key]=v;for(v=g;v<=i;++v)if(p=e[v],k<_)if(void 0!==(c=E[p.key])){if(x)for(x=!1;v>g;)Ce(e[g++],u);V[c-C]=v+1,S>c?w=!0:S=c,16384&(m=t[c]).flags&&(t[c]=m=M(m)),Pe(p,m,u,n,l,s,f),++k}else x||Ce(p,u);else x||Ce(p,u)}if(x)Ve(u,d,e),Me(t,u,n,l,s,f);else if(w){var B=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,u=e.length;u>Re&&(Re=u,le=new Int32Array(u),se=new Int32Array(u));for(;n<u;++n)if(0!==(t=e[n])){if(e[o=le[r]]<t){se[n]=o,le[++r]=n;continue}for(i=0,a=r;i<a;)e[le[c=i+a>>1]]<t?i=c+1:a=c;t<e[le[i]]&&(i>0&&(se[n]=le[i-1]),le[i]=n)}i=r+1;var l=new Int32Array(i);a=le[i-1];for(;i-- >0;)l[i]=a,a=se[a],le[i]=0;return l}(V);for(c=B.length-1,v=_-1;v>=0;v--)0===V[v]?(16384&(m=t[S=v+C]).flags&&(t[S]=m=M(m)),Ie(m,u,n,l,(h=S+1)<r?b(t[h],!0):s,f)):c<0||v!==B[c]?y(m=t[S=v+C],u,(h=S+1)<r?b(t[h],!0):s):c--}else if(k!==_)for(v=_-1;v>=0;v--)0===V[v]&&(16384&(m=t[S=v+C]).flags&&(t[S]=m=M(m)),Ie(m,u,n,l,(h=S+1)<r?b(t[h],!0):s,f))}(e,t,o,i,a,f,p,m,n,r,c,u,l)}(n,o,r,i,a,s,d,c,u,l):function(e,t,n,o,r,i,a,c,u){for(var l,s,d=i>a?a:i,f=0;f<d;++f)l=t[f],s=e[f],16384&l.flags&&(l=t[f]=M(l)),Pe(s,l,n,o,r,c,u),e[f]=l;if(i<a)for(f=d;f<a;++f)16384&(l=t[f]).flags&&(l=t[f]=M(l)),Ie(l,n,o,r,c,u);else if(i>a)for(f=d;f<i;++f)Ce(e[f],n)}(n,o,r,i,a,s,d,c,l)}}}function Fe(e,t,n,o,r,i,c,u,s){var d=e.state,f=e.props,p=Boolean(e.$N),m=a(e.shouldComponentUpdate);if(p&&(t=N(e,n,t!==d?l(d,t):t)),c||!m||m&&e.shouldComponentUpdate(n,t,r)){!p&&a(e.componentWillUpdate)&&e.componentWillUpdate(n,t,r),e.props=n,e.state=t,e.context=r;var h=null,v=ke(e,n,r);p&&a(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(f,d)),Pe(e.$LI,v,o,e.$CX,i,u,s),e.$LI=v,a(e.componentDidUpdate)&&function(e,t,n,o,r){r.push((function(){e.componentDidUpdate(t,n,o)}))}(e,f,d,h,s)}else e.props=n,e.state=t,e.context=r}var Re=0;function De(e,t,n,o){var i=[],c=t.$V;_.v=!0,r(c)?r(e)||(16384&e.flags&&(e=M(e)),Ie(e,t,o,!1,null,i),t.$V=e,c=e):r(e)?(Ce(c,t),t.$V=null):(16384&e.flags&&(e=M(e)),Pe(c,e,t,o,!1,null,i),c=t.$V=e),v(i),_.v=!1,a(n)&&n(),a(V.renderComplete)&&V.renderComplete(c,t)}function Ke(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=d),De(e,t,n,o)}"undefined"!=typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var ze=[],We="undefined"!=typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Ye=!1;function Ue(e,t,n,o){var i=e.$PS;if(a(t)&&(t=t(i?l(e.state,i):e.state,e.props,e.context)),r(i))e.$PS=t;else for(var c in t)i[c]=t[c];if(e.$BR)a(n)&&e.$L.push(n.bind(e));else{if(!_.v&&0===ze.length)return $e(e,o),void(a(n)&&n.call(e));if(-1===ze.indexOf(e)&&ze.push(e),o&&(e.$F=!0),Ye||(Ye=!0,We(Ge)),a(n)){var u=e.$QU;u||(u=e.$QU=[]),u.push(n)}}}function He(e){for(var t=e.$QU,n=0;n<t.length;++n)t[n].call(e);e.$QU=null}function Ge(){var e;for(Ye=!1;e=ze.shift();)if(!e.$UN){var t=e.$F;e.$F=!1,$e(e,t),e.$QU&&He(e)}}function $e(e,t){if(t||!e.$BR){var n=e.$PS;e.$PS=null;var o=[];_.v=!0,Fe(e,l(e.state,n),e.props,b(e.$LI,!0).parentNode,e.context,e.$SVG,t,null,o),v(o),_.v=!1}else e.state=e.$PS,e.$PS=null}var qe=function(e,t){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=e||d,this.context=t||d};t.Component=qe,qe.prototype.forceUpdate=function(e){this.$UN||Ue(this,{},e,!0)},qe.prototype.setState=function(e,t){this.$UN||this.$BS||Ue(this,e,t,!1)},qe.prototype.render=function(e,t,n){return null};t.version="7.4.8"},96323:function(e,t,n){"use strict";t.__esModule=!0;var o=n(92376);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))}))},10648:function(e,t){"use strict";var n,o;t.__esModule=!0,t.VNodeFlags=t.ChildFlags=void 0,t.VNodeFlags=n,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(n||(t.VNodeFlags=n={})),t.ChildFlags=o,function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(o||(t.ChildFlags=o={}))},69838:function(e){"use strict";var t=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(L){u=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof v?t:v,i=Object.create(r.prototype),a=new E(o||[]);return i._invoke=function(e,t,n){var o=d;return function(){function r(r,i){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===r)throw i;return I()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var u=s(e,t,n);if("normal"===u.type){if(o=n.done?m:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}return r}()}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l;var d="suspendedStart",f="suspendedYield",p="executing",m="completed",h={};function v(){}function g(){}function b(){}var C={};u(C,i,(function(){return this}));var y=Object.getPrototypeOf,N=y&&y(y(B([])));N&&N!==n&&o.call(N,i)&&(C=N);var _=b.prototype=v.prototype=Object.create(C);function V(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(r,i,a,c){var u=s(e[r],e,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var r;this._invoke=function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}}function w(e,n){var o=e.iterator[n.method];if(o===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,w(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=s(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,h;var i=r.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function B(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=b,u(_,"constructor",b),u(b,"constructor",g),g.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},V(x.prototype),u(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new x(l(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},V(_),u(_,c,"Generator"),u(_,i,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function o(){for(;t.length;){var n=t.pop();if(n in e)return o.value=n,o.done=!1,o}return o.done=!0,o}},e.values=B,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(o,r){return c.type="throw",c.arg=e,n.next=o,r&&(n.method="next",n.arg=t),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:B(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},96250:function(){"use strict";self.fetch||(self.fetch=function(e,t){return t=t||{},new Promise((function(n,o){var r=new XMLHttpRequest,i=[],a=[],c={},u=function s(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:s,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return c[e.toLowerCase()]},has:function(e){return e.toLowerCase()in c}}}};for(var l in r.open(t.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),c[t]=c[t]?c[t]+","+n:n})),n(u())},r.onerror=o,r.withCredentials="include"==t.credentials,t.headers)r.setRequestHeader(l,t.headers[l]);r.send(t.body||null)}))})},1397:function(e,t){"use strict";t.__esModule=!0,t.zipWith=t.zip=t.uniq=t.uniqBy=t.reduce=t.range=t.sort=t.sortBy=t.map=t.filter=t.toKeyedArray=t.toArray=void 0;t.toArray=function(e){if(Array.isArray(e))return e;if("object"==typeof e){var t=Object.prototype.hasOwnProperty,n=[];for(var o in e)t.call(e,o)&&n.push(e[o]);return n}return[]};t.toKeyedArray=function(e,t){return void 0===t&&(t="key"),n((function(e,n){var o;return Object.assign(((o={})[t]=n,o),e)}))(e)};t.filter=function(e){return function(t){if(null===t||t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;o<t.length;o++){var r=t[o];e(r,o,t)&&n.push(r)}return n}throw new Error("filter() can't iterate on type "+typeof t)}};var n=function(e){return function(t){if(null===t||t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;o<t.length;o++)n.push(e(t[o],o,t));return n}if("object"==typeof t){var r=Object.prototype.hasOwnProperty,i=[];for(var a in t)r.call(t,a)&&i.push(e(t[a],a,t));return i}throw new Error("map() can't iterate on type "+typeof t)}};t.map=n;var o=function(e,t){for(var n=e.criteria,o=t.criteria,r=n.length,i=0;i<r;i++){var a=n[i],c=o[i];if(a<c)return-1;if(a>c)return 1}return 0},r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){if(!Array.isArray(e))return e;for(var n=e.length,r=[],i=function(n){var o=e[n];r.push({criteria:t.map((function(e){return e(o)})),value:o})},a=0;a<n;a++)i(a);for(r.sort(o);n--;)r[n]=r[n].value;return r}};t.sortBy=r;var i=r();t.sort=i;t.range=function(e,t){return new Array(t-e).fill(null).map((function(t,n){return n+e}))};t.reduce=function(e,t){return function(n){var o,r,i=n.length;for(t===undefined?(o=1,r=n[0]):(o=0,r=t);o<i;o++)r=e(r,n[o],o,n);return r}};var a=function(e){return function(t){var n=t.length,o=[],r=e?[]:o,i=-1;e:for(;++i<n;){var a=t[i],c=e?e(a):a;if(a=0!==a?a:0,c==c){for(var u=r.length;u--;)if(r[u]===c)continue e;e&&r.push(c),o.push(a)}else r.includes(c)||(r!==o&&r.push(c),o.push(a))}return o}};t.uniqBy=a;var c=a();t.uniq=c;var u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0!==t.length){for(var o=t.length,r=t[0].length,i=[],a=0;a<r;a++){for(var c=[],u=0;u<o;u++)c.push(t[u][a]);i.push(c)}return i}};t.zip=u;t.zipWith=function(e){return function(){return n((function(t){return e.apply(void 0,t)}))(u.apply(void 0,arguments))}}},52844:function(e,t){"use strict";t.__esModule=!0,t.EventEmitter=void 0;var n=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)},t.off=function(e,t){var n=this.listeners[e];if(!n)throw new Error('There is no listeners for "'+e+'"');this.listeners[e]=n.filter((function(e){return e!==t}))},t.emit=function(e){var t=this.listeners[e];if(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];for(var i=0,a=t.length;i<a;i+=1){var c=t[i];c.apply(void 0,o)}}},t.clear=function(){this.listeners={}},e}();t.EventEmitter=n},32416:function(e,t){"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.__esModule=!0,t.compose=t.flow=void 0;t.flow=function r(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(e){for(var o=e,i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];for(var u,l=n(t);!(u=l()).done;){var s=u.value;Array.isArray(s)?o=r.apply(void 0,s).apply(void 0,[o].concat(a)):s&&(o=s.apply(void 0,[o].concat(a)))}return o}};t.compose=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(r))].concat(r))}}))}},57890:function(e,t){"use strict";t.__esModule=!0,t.KEY_QUOTE=t.KEY_RIGHT_BRACKET=t.KEY_BACKSLASH=t.KEY_LEFT_BRACKET=t.KEY_SLASH=t.KEY_PERIOD=t.KEY_MINUS=t.KEY_COMMA=t.KEY_EQUAL=t.KEY_SEMICOLON=t.KEY_F12=t.KEY_F11=t.KEY_F10=t.KEY_F9=t.KEY_F8=t.KEY_F7=t.KEY_F6=t.KEY_F5=t.KEY_F4=t.KEY_F3=t.KEY_F2=t.KEY_F1=t.KEY_Z=t.KEY_Y=t.KEY_X=t.KEY_W=t.KEY_V=t.KEY_U=t.KEY_T=t.KEY_S=t.KEY_R=t.KEY_Q=t.KEY_P=t.KEY_O=t.KEY_N=t.KEY_M=t.KEY_L=t.KEY_K=t.KEY_J=t.KEY_I=t.KEY_H=t.KEY_G=t.KEY_F=t.KEY_E=t.KEY_D=t.KEY_C=t.KEY_B=t.KEY_A=t.KEY_9=t.KEY_8=t.KEY_7=t.KEY_6=t.KEY_5=t.KEY_4=t.KEY_3=t.KEY_2=t.KEY_1=t.KEY_0=t.KEY_DELETE=t.KEY_INSERT=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_HOME=t.KEY_END=t.KEY_PAGEDOWN=t.KEY_PAGEUP=t.KEY_SPACE=t.KEY_ESCAPE=t.KEY_CAPSLOCK=t.KEY_PAUSE=t.KEY_ALT=t.KEY_CTRL=t.KEY_SHIFT=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=void 0;t.KEY_BACKSPACE=8;t.KEY_TAB=9;t.KEY_ENTER=13;t.KEY_SHIFT=16;t.KEY_CTRL=17;t.KEY_ALT=18;t.KEY_PAUSE=19;t.KEY_CAPSLOCK=20;t.KEY_ESCAPE=27;t.KEY_SPACE=32;t.KEY_PAGEUP=33;t.KEY_PAGEDOWN=34;t.KEY_END=35;t.KEY_HOME=36;t.KEY_LEFT=37;t.KEY_UP=38;t.KEY_RIGHT=39;t.KEY_DOWN=40;t.KEY_INSERT=45;t.KEY_DELETE=46;t.KEY_0=48;t.KEY_1=49;t.KEY_2=50;t.KEY_3=51;t.KEY_4=52;t.KEY_5=53;t.KEY_6=54;t.KEY_7=55;t.KEY_8=56;t.KEY_9=57;t.KEY_A=65;t.KEY_B=66;t.KEY_C=67;t.KEY_D=68;t.KEY_E=69;t.KEY_F=70;t.KEY_G=71;t.KEY_H=72;t.KEY_I=73;t.KEY_J=74;t.KEY_K=75;t.KEY_L=76;t.KEY_M=77;t.KEY_N=78;t.KEY_O=79;t.KEY_P=80;t.KEY_Q=81;t.KEY_R=82;t.KEY_S=83;t.KEY_T=84;t.KEY_U=85;t.KEY_V=86;t.KEY_W=87;t.KEY_X=88;t.KEY_Y=89;t.KEY_Z=90;t.KEY_F1=112;t.KEY_F2=113;t.KEY_F3=114;t.KEY_F4=115;t.KEY_F5=116;t.KEY_F6=117;t.KEY_F7=118;t.KEY_F8=119;t.KEY_F9=120;t.KEY_F10=121;t.KEY_F11=122;t.KEY_F12=123;t.KEY_SEMICOLON=186;t.KEY_EQUAL=187;t.KEY_COMMA=188;t.KEY_MINUS=189;t.KEY_PERIOD=190;t.KEY_SLASH=191;t.KEY_LEFT_BRACKET=219;t.KEY_BACKSLASH=220;t.KEY_RIGHT_BRACKET=221;t.KEY_QUOTE=222},97622:function(e,t){"use strict";t.__esModule=!0,t.numberOfDecimalDigits=t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return e<t?t:e>n?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=+((e*=n=Math.pow(10,t))>0)|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var n=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=n;t.keyOfMatchingRange=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var i=r[o],a=t[i];if(n(e,a))return i}};t.numberOfDecimalDigits=function(e){return Math.floor(e)!==e&&e.toString().split(".")[1].length||0}},28440:function(e,t){"use strict";var n;t.__esModule=!0,t.perf=void 0;null==(n=window.performance)||n.now;var o={mark:function(e,t){0},measure:function(e,t){}};t.perf=o},1060:function(e,t){"use strict";t.__esModule=!0,t.canRender=t.pureComponentHooks=t.shallowDiffers=t.normalizeChildren=t.classes=void 0;t.classes=function(e){for(var t="",n=0;n<e.length;n++){var o=e[n];"string"==typeof o&&(t+=o+" ")}return t};t.normalizeChildren=function(e){return Array.isArray(e)?e.flat().filter((function(e){return e})):"object"==typeof e?[e]:[]};var n=function(e,t){var n;for(n in e)if(!(n in t))return!0;for(n in t)if(e[n]!==t[n])return!0;return!1};t.shallowDiffers=n;var o={onComponentShouldUpdate:function(e,t){return n(e,t)}};t.pureComponentHooks=o;t.canRender=function(e){return e!==undefined&&null!==e&&"boolean"!=typeof e}},465:function(e,t,n){"use strict";t.__esModule=!0,t.useSelector=t.useDispatch=t.createAction=t.combineReducers=t.applyMiddleware=t.createStore=void 0;var o=n(32416);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.createStore=function a(e,t){if(t)return t(a)(e);var n,o=[],r=function(t){n=e(n,t);for(var r=0;r<o.length;r++)o[r]()};return r({type:"@@INIT"}),{dispatch:r,subscribe:function(e){o.push(e)},getState:function(){return n}}};t.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var c=e.apply(void 0,[n].concat(i)),u=function(){throw new Error("Dispatching while constructing your middleware is not allowed.")},l={getState:c.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return u.apply(void 0,[e].concat(n))}},s=t.map((function(e){return e(l)}));return u=o.compose.apply(void 0,s)(c.dispatch),Object.assign({},c,{dispatch:u})}}};t.combineReducers=function(e){var t=Object.keys(e),n=!1;return function(o,i){void 0===o&&(o={});for(var a,c=Object.assign({},o),u=r(t);!(a=u()).done;){var l=a.value,s=e[l],d=o[l],f=s(d,i);d!==f&&(n=!0,c[l]=f)}return n?c:o}};t.createAction=function(e,t){void 0===t&&(t=null);var n=function(){if(!t)return{type:e,payload:arguments.length<=0?undefined:arguments[0]};var n=t.apply(void 0,arguments);if(!n)throw new Error("prepare function did not return an object");var o={type:e};return"payload"in n&&(o.payload=n.payload),"meta"in n&&(o.meta=n.meta),o};return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n};t.useDispatch=function(e){return e.store.dispatch};t.useSelector=function(e,t){return t(e.store.getState())}},7151:function(e,t){"use strict";function n(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var a=e.apply(t,o);function c(e){n(a,r,i,c,u,"next",e)}function u(e){n(a,r,i,c,u,"throw",e)}c(undefined)}))}}t.__esModule=!0,t.storage=t.IMPL_INDEXED_DB=t.IMPL_LOCAL_STORAGE=t.IMPL_MEMORY=void 0;t.IMPL_MEMORY=0;t.IMPL_LOCAL_STORAGE=1;t.IMPL_INDEXED_DB=2;var r="storage-v1",i="readwrite",a=function(e){return function(){try{return Boolean(e())}catch(t){return!1}}},c=a((function(){return window.localStorage&&window.localStorage.getItem})),u=a((function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)})),l=function(){function e(){this.impl=0,this.store={}}var t=e.prototype;return t.get=function(e){return this.store[e]},t.set=function(e,t){this.store[e]=t},t.remove=function(e){this.store[e]=undefined},t.clear=function(){this.store={}},e}(),s=function(){function e(){this.impl=1}var t=e.prototype;return t.get=function(e){var t=localStorage.getItem(e);if("string"==typeof t)return JSON.parse(t)},t.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},t.remove=function(e){localStorage.removeItem(e)},t.clear=function(){localStorage.clear()},e}(),d=function(){function e(){this.impl=2,this.dbPromise=new Promise((function(e,t){var n=(window.indexedDB||window.msIndexedDB).open("tau-tgui",1);n.onupgradeneeded=function(){try{n.result.createObjectStore(r)}catch(e){t(new Error("Failed to upgrade IDB: "+n.error))}},n.onsuccess=function(){return e(n.result)},n.onerror=function(){t(new Error("Failed to open IDB: "+n.error))}}))}var t=e.prototype;return t.getStore=function(e){return this.dbPromise.then((function(t){return t.transaction(r,e).objectStore(r)}))},t.get=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getStore("readonly");case 2:return n=t.sent,t.abrupt("return",new Promise((function(t,o){var r=n.get(e);r.onsuccess=function(){return t(r.result)},r.onerror=function(){return o(r.error)}})));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.set=function(){var e=o(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null===n&&(n=undefined),t.next=3,this.getStore(i);case 3:t.sent.put(n,e);case 5:case"end":return t.stop()}}),t,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.remove=function(){var e=o(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getStore(i);case 2:t.sent["delete"](e);case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.clear=function(){var e=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getStore(i);case 2:e.sent.clear();case 4:case"end":return e.stop()}}),t,this)})));return function(){return e.apply(this,arguments)}}(),e}(),f=new(function(){function e(){this.backendPromise=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u()){e.next=10;break}return e.prev=1,t=new d,e.next=5,t.dbPromise;case 5:return e.abrupt("return",t);case 8:e.prev=8,e.t0=e["catch"](1);case 10:if(!c()){e.next=12;break}return e.abrupt("return",new s);case 12:return e.abrupt("return",new l);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})))()}var t=e.prototype;return t.get=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return n=t.sent,t.abrupt("return",n.get(e));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.set=function(){var e=o(regeneratorRuntime.mark((function t(e,n){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return o=t.sent,t.abrupt("return",o.set(e,n));case 4:case"end":return t.stop()}}),t,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.remove=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return n=t.sent,t.abrupt("return",n.remove(e));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.clear=function(){var e=o(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return e=t.sent,t.abrupt("return",e.clear());case 4:case"end":return t.stop()}}),t,this)})));return function(){return e.apply(this,arguments)}}(),e}());t.storage=f},21118:function(e,t){"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.__esModule=!0,t.buildQueryString=t.decodeHtmlEntities=t.toTitleCase=t.capitalize=t.createSearch=t.createGlobPattern=t.multiline=void 0;t.multiline=function r(e){if(Array.isArray(e))return r(e.join(""));for(var t,o,i=e.split("\n"),a=n(i);!(o=a()).done;)for(var c=o.value,u=0;u<c.length;u++){if(" "!==c[u]){(t===undefined||u<t)&&(t=u);break}}return t||(t=0),i.map((function(e){return e.substr(t).trimRight()})).join("\n").trim()};t.createGlobPattern=function(e){var t=new RegExp("^"+e.split(/\*+/).map((function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")})).join(".*")+"$");return function(e){return t.test(e)}};t.createSearch=function(e,t){var n=e.toLowerCase().trim();return function(e){if(!n)return!0;var o=t?t(e):e;return!!o&&o.toLowerCase().includes(n)}};t.capitalize=function i(e){return Array.isArray(e)?e.map(i):e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()};t.toTitleCase=function a(e){if(Array.isArray(e))return e.map(a);if("string"!=typeof e)return e;for(var t=e.replace(/([^\W_]+[^\s-]*) */g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})),n=0,o=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"];n<o.length;n++){var r=new RegExp("\\s"+o[n]+"\\s","g");t=t.replace(r,(function(e){return e.toLowerCase()}))}for(var i=0,c=["Id","Tv"];i<c.length;i++){var u=new RegExp("\\b"+c[i]+"\\b","g");t=t.replace(u,(function(e){return e.toLowerCase()}))}return t};t.decodeHtmlEntities=function(e){if(!e)return e;var t={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return e.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},53538:function(e,t){"use strict";t.__esModule=!0,t.sleep=t.debounce=void 0;t.debounce=function(e,t,n){var o;return void 0===n&&(n=!1),function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var c=function(){o=null,n||e.apply(void 0,i)},u=n&&!o;clearTimeout(o),o=setTimeout(c,t),u&&e.apply(void 0,i)}};t.sleep=function(e){return new Promise((function(t){return setTimeout(t,e)}))}},67288:function(e,t,n){"use strict";t.__esModule=!0,t.vecNormalize=t.vecLength=t.vecInverse=t.vecScale=t.vecDivide=t.vecMultiply=t.vecSubtract=t.vecAdd=void 0;var o=n(1397),r=function(e,t){return e+t},i=function(e,t){return e-t},a=function(e,t){return e*t},c=function(e,t){return e/t};t.vecAdd=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(r)(e,t)}))(t)};t.vecSubtract=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(i)(e,t)}))(t)};t.vecMultiply=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(a)(e,t)}))(t)};var u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(c)(e,t)}))(t)};t.vecDivide=u;t.vecScale=function(e,t){return(0,o.map)((function(e){return e*t}))(e)};t.vecInverse=function(e){return(0,o.map)((function(e){return-e}))(e)};var l=function(e){return Math.sqrt((0,o.reduce)(r)((0,o.zipWith)(a)(e,e)))};t.vecLength=l;t.vecNormalize=function(e){return u(e,l(e))}},88280:function(){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},15511:function(){"use strict";!function(e){function t(){return d.createDocumentFragment()}function n(e){return d.createElement(e)}function o(e,t){if(!e)throw new Error("Failed to construct "+t+": 1 argument required, but only 0 present.")}function r(e){if(1===e.length)return i(e[0]);for(var n=t(),o=M.call(e),r=0;r<e.length;r++)n.appendChild(i(o[r]));return n}function i(e){return"object"==typeof e?e:d.createTextNode(e)}for(var a,c,u,l,s,d=e.document,f=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(e,t,n){return f.call(n,"value")?e[t]=n.value:(f.call(n,"get")&&e.__defineGetter__(t,n.get),f.call(n,"set")&&e.__defineSetter__(t,n.set)),e},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},h=function(e){var t="undefined"==typeof e.className,n=t?e.getAttribute("class")||"":e.className,o=t||"object"==typeof n,r=(o?t?n:n.baseVal:n).replace(g,"");r.length&&O.push.apply(this,r.split(b)),this._isSVG=o,this._=e},v={get:function(){return new h(this)},set:function(){}},g=/^\s+|\s+$/g,b=/\s+/,C="classList",y=function(e,t){return this.contains(e)?t||this.remove(e):(t===undefined||t)&&(t=!0,this.add(e)),!!t},N=e.DocumentFragment&&DocumentFragment.prototype,_=e.Node,V=(_||Element).prototype,x=e.CharacterData||_,w=x&&x.prototype,S=e.DocumentType,k=S&&S.prototype,E=(e.Element||_||e.HTMLElement).prototype,B=e.HTMLSelectElement||n("select").constructor,I=B.prototype.remove,L=e.SVGElement,O=["matches",E.matchesSelector||E.webkitMatchesSelector||E.khtmlMatchesSelector||E.mozMatchesSelector||E.msMatchesSelector||E.oMatchesSelector||function(e){var t=this.parentNode;return!!t&&-1<m.call(t.querySelectorAll(e),this)},"closest",function(e){for(var t,n=this;(t=n&&n.matches)&&!n.matches(e);)n=n.parentNode;return t?n:null},"prepend",function(){var e=this.firstChild,t=r(arguments);e?this.insertBefore(t,e):this.appendChild(t)},"append",function(){this.appendChild(r(arguments))},"before",function(){var e=this.parentNode;e&&e.insertBefore(r(arguments),this)},"after",function(){var e=this.parentNode,t=this.nextSibling,n=r(arguments);e&&(t?e.insertBefore(n,t):e.appendChild(n))},"toggleAttribute",function(e,t){var n=this.hasAttribute(e);return 1<arguments.length?n&&!t?this.removeAttribute(e):t&&!n&&this.setAttribute(e,""):n?this.removeAttribute(e):this.setAttribute(e,""),this.hasAttribute(e)},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var e=this.parentNode;e&&e.replaceChild(r(arguments),this)},"remove",function(){var e=this.parentNode;e&&e.removeChild(this)}],M=O.slice,A=O.length;A;A-=2)if((c=O[A-2])in E||(E[c]=O[A-1]),"remove"!==c||I._dom4||((B.prototype[c]=function(){return 0<arguments.length?I.apply(this,arguments):E.remove.call(this)})._dom4=!0),/^(?:before|after|replace|replaceWith|remove)$/.test(c)&&(x&&!(c in w)&&(w[c]=O[A-1]),S&&!(c in k)&&(k[c]=O[A-1])),/^(?:append|prepend)$/.test(c))if(N)c in N||(N[c]=O[A-1]);else try{t().constructor.prototype[c]=O[A-1]}catch(P){}var T;n("a").matches("a")||(E[c]=(T=E[c],function(e){return T.call(this.parentNode?this:t().appendChild(this),e)})),h.prototype={length:0,add:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)||O.push.call(this,c);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return-1<(A=e.call(this,c=function(e){if(!e)throw"SyntaxError";if(b.test(e))throw"InvalidCharacterError";return e}(t)))}}([].indexOf||function(e){for(A=this.length;A--&&this[A]!==e;);return A}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&O.splice.call(this,A,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:y,toString:function(){return O.join.call(this," ")}},L&&!(C in L.prototype)&&p(L.prototype,C,v),C in d.documentElement?((l=n("div").classList).add("a","b","a"),"a b"!=l&&("add"in(u=l.constructor.prototype)||(u=e.TemporaryTokenList.prototype),s=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},u.add=s(u.add),u.remove=s(u.remove),u.toggle=y)):p(E,C,v),"contains"in V||p(V,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in d||p(d,"head",{get:function(){return a||(a=d.getElementsByTagName("head")[0])}}),function(){for(var t,n=e.requestAnimationFrame,o=e.cancelAnimationFrame,r=["o","ms","moz","webkit"],i=r.length;!o&&i--;)n=n||e[r[i]+"RequestAnimationFrame"],o=e[r[i]+"CancelAnimationFrame"]||e[r[i]+"CancelRequestAnimationFrame"];o||(n?(t=n,n=function(e){var n=!0;return t((function(){n&&e.apply(this,arguments)})),function(){n=!1}},o=function(e){e()}):(n=function(e){return setTimeout(e,15,15)},o=function(e){clearTimeout(e)})),e.requestAnimationFrame=n,e.cancelAnimationFrame=o}();try{new e.CustomEvent("?")}catch(P){e.CustomEvent=function(e,t){function n(e,t,n,o){this.initEvent(e,t,n),this.detail=o}return function(o,r){var i=d.createEvent(e);if("string"!=typeof o)throw new Error("An event name must be provided");return"Event"==e&&(i.initCustomEvent=n),null==r&&(r=t),i.initCustomEvent(o,r.bubbles,r.cancelable,r.detail),i}}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(P){P=function(e){function t(e,t){o(arguments.length,"Event");var n=d.createEvent("Event");return t||(t={}),n.initEvent(e,!!t.bubbles,!!t.cancelable),n}return t.prototype=e.prototype,t}(e.Event||function(){}),p(e,"Event",{value:P}),Event!==P&&(Event=P)}try{new KeyboardEvent("_",{})}catch(P){P=function(t){var n,r=0,i={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var a=d.createEvent("KeyboardEvent");a.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),r="+"==(a.keyIdentifier||a.key)&&3==(a.keyLocation||a.location)&&(a.ctrlKey?a.altKey?1:3:a.shiftKey?2:4)||9}catch(P){}function c(e){for(var t=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],o=0;o<n.length;o+=2)e[n[o]]&&t.push(n[o+1]);return t.join(" ")}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&!t.hasOwnProperty.call(e,n)&&(e[n]=t[n]);return e}function l(e,t,n){try{t[e]=n[e]}catch(P){}}function s(t,a){o(arguments.length,"KeyboardEvent"),a=u(a||{},i);var s,f=d.createEvent(n),p=a.ctrlKey,m=a.shiftKey,h=a.altKey,v=a.metaKey,g=a.altGraphKey,b=r>3?c(a):null,C=String(a.key),y=String(a.char),N=a.location,_=a.keyCode||(a.keyCode=C)&&C.charCodeAt(0)||0,V=a.charCode||(a.charCode=y)&&y.charCodeAt(0)||0,x=a.bubbles,w=a.cancelable,S=a.repeat,k=a.locale,E=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in f)f.initKeyEvent(t,x,w,E,p,h,m,v,_,V);else if(0<r&&"initKeyboardEvent"in f){switch(s=[t,x,w,E],r){case 1:s.push(C,N,p,m,h,v,g);break;case 2:s.push(p,h,m,v,_,V);break;case 3:s.push(C,N,p,h,m,v,g);break;case 4:s.push(C,N,b,S,k);break;default:s.push(char,C,N,b,S,k)}f.initKeyboardEvent.apply(f,s)}else f.initEvent(t,x,w);for(C in f)i.hasOwnProperty(C)&&f[C]!==a[C]&&l(C,f,a);return f}return n=0<r?"KeyboardEvent":"Event",s.prototype=t.prototype,s}(e.KeyboardEvent||function(){}),p(e,"KeyboardEvent",{value:P}),KeyboardEvent!==P&&(KeyboardEvent=P)}try{new MouseEvent("_",{})}catch(P){P=function(t){function n(t,n){o(arguments.length,"MouseEvent");var r=d.createEvent("MouseEvent");return n||(n={}),r.initMouseEvent(t,!!n.bubbles,!!n.cancelable,n.view||e,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),r}return n.prototype=t.prototype,n}(e.MouseEvent||function(){}),p(e,"MouseEvent",{value:P}),MouseEvent!==P&&(MouseEvent=P)}d.querySelectorAll("*").forEach||function(){function e(e){var t=e.querySelectorAll;e.querySelectorAll=function(e){var n=t.call(this,e);return n.forEach=Array.prototype.forEach,n}}e(d),e(Element.prototype)}();try{d.querySelector(":scope *")}catch(P){!function(){var e="data-scope-"+(1e9*Math.random()>>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,u=e.addEventListener,l=e.removeEventListener,s=0,d=function(){s++},f=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{u("_",d,{once:!0}),c(new a("_")),c(new a("_")),l("_",d,{once:!0})}catch(m){}1!==s&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,u,l,s=i.get(this),d=p(a);s||i.set(this,s=new n),t in s||(s[t]={handler:[],wrap:[]}),u=s[t],(c=f.call(u.handler,r))<0?(c=u.handler.push(r)-1,u.wrap[c]=l=new n):l=u.wrap[c],d in l||(l[d]=o(t,r,a),e.call(this,t,l[d],l[d].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,u,l=i.get(this);if(l&&t in l&&(c=l[t],-1<(a=f.call(c.handler,n))&&(r=p(o))in(u=c.wrap[a]))){for(r in e.call(this,t,u[r],u[r].capture),delete u[r],u)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete l[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},25513:function(e){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u="_html5shiv",l=0,s={};function d(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function f(e){var t=s[e[u]];return t||(t={},l++,e[u]=l,s[l]=t),t}function p(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=f(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function m(e){e||(e=n);var t=f(e);return!h.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return h.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(h,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="<xyz></xyz>",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var h={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:m,createElement:p,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||f(e)).frag.cloneNode(),i=0,a=d(),c=a.length;i<c;i++)o.createElement(a[i]);return o},addElements:function(e,t){var n=h.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),h.elements=n+" "+e,m(t)}};t.html5=h,m(n),e.exports&&(e.exports=h)}(window,document)},72090:function(){"use strict";!function(e){if(!document.createEvent){var t,n=!0,o=!1,r="onreadystatechange",i="DOMContentLoaded",a="__IE8__"+Math.random(),c=Object.defineProperty||function(e,t,n){e[t]=n.value},u=Object.defineProperties||function(t,n){for(var o in n)if(s.call(n,o))try{c(t,o,n[o])}catch(r){e.console}},l=Object.getOwnPropertyDescriptor,s=Object.prototype.hasOwnProperty,d=e.Element.prototype,f=e.Text.prototype,p=/^[a-z]+$/,m=/loaded|complete/,h={},v=document.createElement("div"),g=document.documentElement,b=g.removeAttribute,C=g.setAttribute,y=function(e){return{enumerable:!0,writable:!0,configurable:!0,value:e}};w(e.HTMLCommentElement.prototype,d,"nodeValue"),w(e.HTMLScriptElement.prototype,null,"text"),w(f,null,"nodeValue"),w(e.HTMLTitleElement.prototype,null,"text"),c(e.HTMLStyleElement.prototype,"textContent",(t=l(e.CSSStyleSheet.prototype,"cssText"),x((function(){return t.get.call(this.styleSheet)}),(function(e){t.set.call(this.styleSheet,e)}))));var N=/\b\s*alpha\s*\(\s*opacity\s*=\s*(\d+)\s*\)/;c(e.CSSStyleDeclaration.prototype,"opacity",{get:function(){var e=this.filter.match(N);return e?(e[1]/100).toString():""},set:function(e){this.zoom=1;var t=!1;e=e<1?" alpha(opacity="+Math.round(100*e)+")":"",this.filter=this.filter.replace(N,(function(){return t=!0,e})),!t&&e&&(this.filter+=e)}}),u(d,{textContent:{get:k,set:L},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},oninput:{get:function(){return this._oninput||null},set:function(e){this._oninput&&(this.removeEventListener("input",this._oninput),this._oninput=e,e&&this.addEventListener("input",e))}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:y((function(e,t,n){if("function"==typeof t||"object"==typeof t){var o,r,i=this,u="on"+e,l=i[a]||c(i,a,{value:{}})[a],d=l[u]||(l[u]={}),f=d.h||(d.h=[]);if(!s.call(d,"w")){if(d.w=function(e){return e[a]||V(i,O(0,e),f,!1)},!s.call(h,u))if(p.test(e)){try{(o=document.createEventObject())[a]=!0,9!=i.nodeType&&(null==i.parentNode&&v.appendChild(i),(r=i.getAttribute(u))&&b.call(i,u)),i.fireEvent(u,o),h[u]=!0}catch(m){for(h[u]=!1;v.hasChildNodes();)v.removeChild(v.firstChild)}null!=r&&C.call(i,u,r)}else h[u]=!1;(d.n=h[u])&&i.attachEvent(u,d.w)}S(f,t)<0&&f[n?"unshift":"push"](t),"input"===e&&i.attachEvent("onkeyup",E)}})),dispatchEvent:y((function(e){var t,n=this,o="on"+e.type,r=n[a],i=r&&r[o],c=!!i;return e.target||(e.target=n),c?i.n?n.fireEvent(o,e):V(n,e,i.h,!0):!(t=n.parentNode)||t.dispatchEvent(e),!e.defaultPrevented})),removeEventListener:y((function(e,t,n){if("function"==typeof t||"object"==typeof t){var o="on"+e,r=this[a],i=r&&r[o],c=i&&i.h,u=c?S(c,t):-1;-1<u&&c.splice(u,1)}}))}),u(f,{addEventListener:y(d.addEventListener),dispatchEvent:y(d.dispatchEvent),removeEventListener:y(d.removeEventListener)}),u(e.XMLHttpRequest.prototype,{addEventListener:y((function(e,t,n){var o=this,r="on"+e,i=o[a]||c(o,a,{value:{}})[a],u=i[r]||(i[r]={}),l=u.h||(u.h=[]);S(l,t)<0&&(o[r]||(o[r]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),o.dispatchEvent(t)}),l[n?"unshift":"push"](t))})),dispatchEvent:y((function(e){var t=this,n="on"+e.type,o=t[a],r=o&&o[n];return!!r&&(r.n?t.fireEvent(n,e):V(t,e,r.h,!0))})),removeEventListener:y(d.removeEventListener)});var _=l(Event.prototype,"button").get;u(e.Event.prototype,{bubbles:y(!0),cancelable:y(!0),preventDefault:y((function(){this.cancelable&&(this.returnValue=!1)})),stopPropagation:y((function(){this.stoppedPropagation=!0,this.cancelBubble=!0})),stopImmediatePropagation:y((function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()})),initEvent:y((function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()})),pageX:{get:function(){return this._pageX||(this._pageX=this.clientX+e.scrollX-(g.clientLeft||0))}},pageY:{get:function(){return this._pageY||(this._pageY=this.clientY+e.scrollY-(g.clientTop||0))}},which:{get:function(){return this.keyCode?this.keyCode:isNaN(this.button)?undefined:this.button+1}},charCode:{get:function(){return this.keyCode&&"keypress"==this.type?this.keyCode:0}},buttons:{get:function(){return _.call(this)}},button:{get:function(){var e=this.buttons;return 1&e?0:2&e?2:4&e?1:undefined}},defaultPrevented:{get:function(){var e=this.returnValue;return!(void 0===e||e)}},relatedTarget:{get:function(){var e=this.type;return"mouseover"===e?this.fromElement:"mouseout"===e?this.toElement:null}}}),u(e.HTMLDocument.prototype,{defaultView:{get:function(){return this.parentWindow}},textContent:{get:function(){return 11===this.nodeType?k.call(this):null},set:function(e){11===this.nodeType&&L.call(this,e)}},addEventListener:y((function(t,o,a){var c=this;d.addEventListener.call(c,t,o,a),n&&t===i&&!m.test(c.readyState)&&(n=!1,c.attachEvent(r,B),e==top&&function u(e){try{c.documentElement.doScroll("left"),B()}catch(t){setTimeout(u,50)}}())})),dispatchEvent:y(d.dispatchEvent),removeEventListener:y(d.removeEventListener),createEvent:y((function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return(t=document.createEventObject()).timeStamp=(new Date).getTime(),t}))}),u(e.Window.prototype,{getComputedStyle:y(function(){var e=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,t=/^(top|right|bottom|left)$/,n=/\-([a-z])/g,o=function(e,t){return t.toUpperCase()};function r(e){this._=e}function i(){}return r.prototype.getPropertyValue=function(r){var i,a,c,u=this._,l=u.style,s=u.currentStyle,d=u.runtimeStyle;return"opacity"==r?l.opacity||"1":(r=("float"===r?"style-float":r).replace(n,o),i=s?s[r]:l[r],e.test(i)&&!t.test(r)&&(a=l.left,(c=d&&d.left)&&(d.left=s.left),l.left="fontSize"===r?"1em":i,i=l.pixelLeft+"px",l.left=a,c&&(d.left=c)),null==i?i:i+""||"auto")},i.prototype.getPropertyValue=function(){return null},function(e,t){return t?new i(e):new r(e)}}()),addEventListener:y((function(t,n,o){var r,i=e,c="on"+t;i[c]||(i[c]=function(e){return V(i,O(0,e),r,!1)&&undefined}),S(r=i[c][a]||(i[c][a]=[]),n)<0&&r[o?"unshift":"push"](n)})),dispatchEvent:y((function(t){var n=e["on"+t.type];return!n||!1!==n.call(e,t)&&!t.defaultPrevented})),removeEventListener:y((function(t,n,o){var r=(e["on"+t]||Object)[a],i=r?S(r,n):-1;-1<i&&r.splice(i,1)})),pageXOffset:{get:I("scrollLeft")},pageYOffset:{get:I("scrollTop")},scrollX:{get:I("scrollLeft")},scrollY:{get:I("scrollTop")},innerWidth:{get:I("clientWidth")},innerHeight:{get:I("clientHeight")}}),e.HTMLElement=e.Element,function(e,t,n){for(n=0;n<t.length;n++)document.createElement(t[n]);e.length||document.createStyleSheet(""),e[0].addRule(t.join(","),"display:block;")}(document.styleSheets,["header","nav","section","article","aside","footer"]),function(){if(!document.createRange){document.createRange=function(){return new n};var e=n.prototype;e.cloneContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.appendChild(n[o].cloneNode(!0));return e},e.cloneRange=function(){var e=new n;return e._start=this._start,e._end=this._end,e},e.deleteContents=function(){for(var e=this._start.parentNode,n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.removeChild(n[o])},e.extractContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.appendChild(n[o]);return e},e.setEndAfter=function(e){this._end=e},e.setEndBefore=function(e){this._end=e.previousSibling},e.setStartAfter=function(e){this._start=e.nextSibling},e.setStartBefore=function(e){this._start=e}}function t(e,t){for(var n=[e];e!==t;)n.push(e=e.nextSibling);return n}function n(){}}()}function V(e,t,n,o){for(var r,i,a=n.slice(),c=function(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}(t,e),u=0,l=a.length;u<l&&("object"==typeof(r=a[u])?"function"==typeof r.handleEvent&&r.handleEvent(c):r.call(e,c),!c.stoppedImmediatePropagation);u++);return i=!c.stoppedPropagation,o&&i&&e.parentNode?e.parentNode.dispatchEvent(c):!c.defaultPrevented}function x(e,t){return{configurable:!0,get:e,set:t}}function w(e,t,n){var o=l(t||e,n);c(e,"textContent",x((function(){return o.get.call(this)}),(function(e){o.set.call(this,e)})))}function S(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function k(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function E(e){var t=document.createEvent("Event");t.initEvent("input",!0,!0),(e.srcElement||e.fromElement||document).dispatchEvent(t)}function B(e){!o&&m.test(document.readyState)&&(o=!o,document.detachEvent(r,B),(e=document.createEvent("Event")).initEvent(i,!0,!0),document.dispatchEvent(e))}function I(e){return function(){return g[e]||document.body&&document.body[e]||0}}function L(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function O(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}}(window)},37283:function(){"use strict";window.Int32Array||(window.Int32Array=Array)},39646:function(e,t){"use strict";t.__esModule=!0,t.assetMiddleware=t.resolveAsset=void 0;var n=[/v4shim/i],o={};t.resolveAsset=function(e){return o[e]||e};t.assetMiddleware=function(e){return function(e){return function(t){var r=t.type,i=t.payload;if("asset/stylesheet"!==r)if("asset/mappings"!==r)e(t);else for(var a=function(){var e=u[c];if(n.some((function(t){return t.test(e)})))return"continue";var t=i[e],r=e.split(".").pop();o[e]=t,"css"===r&&Byond.loadCss(t),"js"===r&&Byond.loadJs(t)},c=0,u=Object.keys(i);c<u.length;c++)a();else Byond.loadCss(i)}}}},31246:function(e,t,n){"use strict";t.__esModule=!0,t.useSharedState=t.useLocalState=t.useBackend=t.selectBackend=t.sendAct=t.sendMessage=t.backendMiddleware=t.backendReducer=t.backendSuspendSuccess=t.backendSuspendStart=t.backendSetSharedState=t.backendUpdate=void 0;var o=n(28440),r=n(465),i=n(41410),a=n(40509),c=n(79926),u=n(77960),l=["payload"];var s=(0,c.createLogger)("backend"),d=(0,r.createAction)("backend/update");t.backendUpdate=d;var f=(0,r.createAction)("backend/setSharedState");t.backendSetSharedState=f;var p=(0,r.createAction)("backend/suspendStart");t.backendSuspendStart=p;var m=function(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}};t.backendSuspendSuccess=m;var h={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1};t.backendReducer=function(e,t){void 0===e&&(e=h);var n=t.type,o=t.payload;if("backend/update"===n){var r=Object.assign({},e.config,o.config),i=Object.assign({},e.data,o.static_data,o.data),a=Object.assign({},e.shared);if(o.shared)for(var c=0,u=Object.keys(o.shared);c<u.length;c++){var l=u[c],s=o.shared[l];a[l]=""===s?undefined:JSON.parse(s)}return Object.assign({},e,{config:r,data:i,shared:a,suspended:!1})}if("backend/setSharedState"===n){var d,f=o.key,p=o.nextState;return Object.assign({},e,{shared:Object.assign({},e.shared,(d={},d[f]=p,d))})}if("backend/suspendStart"===n)return Object.assign({},e,{suspending:!0});if("backend/suspendSuccess"===n){var m=o.timestamp;return Object.assign({},e,{data:{},shared:{},config:Object.assign({},e.config,{title:"",status:1}),suspending:!1,suspended:m})}return e};t.backendMiddleware=function(e){var t,n;return function(r){return function(c){var l=b(e.getState()).suspended,f=c.type,p=c.payload;if("update"!==f)if("suspend"!==f){if("ping"!==f){if("backend/suspendStart"===f&&!n){s.log("suspending ("+window.__windowId__+")");var h=function(){return v({type:"suspend"})};h(),n=setInterval(h,2e3)}if("backend/suspendSuccess"===f&&((0,u.suspendRenderer)(),clearInterval(n),n=undefined,Byond.winset(window.__windowId__,{"is-visible":!1}),setImmediate((function(){return(0,a.focusMap)()}))),"backend/update"===f){var g,C,y=null==(g=p.config)||null==(C=g.window)?void 0:C.fancy;t===undefined?t=y:t!==y&&(s.log("changing fancy mode to",y),t=y,Byond.winset(window.__windowId__,{titlebar:!y,"can-resize":!y}))}return"backend/update"===f&&l&&(s.log("backend/update",p),(0,u.resumeRenderer)(),(0,i.setupDrag)(),setImmediate((function(){o.perf.mark("resume/start"),b(e.getState()).suspended||(Byond.winset(window.__windowId__,{"is-visible":!0}),o.perf.mark("resume/finish"))}))),r(c)}v({type:"pingReply"})}else e.dispatch(m());else e.dispatch(d(p))}}};var v=function(e){void 0===e&&(e={});var t=e,n=t.payload,o=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,l),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=v;var g=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?s.error("Payload for act() must be an object, got this:",t):v({type:"act/"+e,payload:t})};t.sendAct=g;var b=function(e){return e.backend||{}};t.selectBackend=b;t.useBackend=function(e){var t=e.store,n=b(t.getState());return Object.assign({},n,{act:g})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=b(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(f({key:t,nextState:"function"==typeof e?e(a):e}))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=b(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){v({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}},13251:function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(97622),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},a(t.initial)?n.state.value=t.initial:a(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=r.prototype;return c.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(a(o)){var r=.5*n+.5*o;this.setState({value:r})}},c.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},c.componentWillUnmount=function(){clearTimeout(this.timer)},c.render=function(){var e,t=this.props,n=this.state,r=t.format,i=t.children,c=n.value,u=t.value;if(!a(u))return u||null;if(r)e=r(c);else{var l=String(u).split(".")[1],s=l?l.length:0;e=(0,o.toFixed)(c,(0,o.clamp)(s,0,8))}return"function"==typeof i?i(e,c):e},r}(r.Component);t.AnimatedNumber=c},90297:function(e,t,n){"use strict";t.__esModule=!0,t.Blink=void 0;var o=n(96323);function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,n;function i(){var t;return(t=e.call(this)||this).state={hidden:!1},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var a=i.prototype;return a.createTimer=function(){var e=this,t=this.props,n=t.interval,o=void 0===n?1e3:n,r=t.time,i=void 0===r?1e3:r;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval((function(){e.setState({hidden:!0}),e.timer=setTimeout((function(){e.setState({hidden:!1})}),i)}),o+i)},a.componentDidMount=function(){this.createTimer()},a.componentDidUpdate=function(e){e.interval===this.props.interval&&e.time===this.props.time||this.createTimer()},a.componentWillUnmount=function(){clearInterval(this.interval),clearTimeout(this.timer)},a.render=function(e){return(0,o.createVNode)(1,"span",null,e.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})},i}(o.Component);t.Blink=i},7149:function(e,t,n){"use strict";t.__esModule=!0,t.BlockQuote=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className"];t.BlockQuote=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},54425:function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(1060),r=n(96323),i=n(10648),a=n(84200),c=["as","className","children"];var u=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=u;var l=function(e){return"string"==typeof e?u(e):"number"==typeof e?u(.5*e):void 0};t.halfUnit=l;var s=function(e){if("string"==typeof e)return a.CSS_COLORS.includes(e)},d=function(e){return function(t,n){"number"!=typeof n&&"string"!=typeof n||(t[e]=n)}},f=function(e,t){return function(n,o){"number"!=typeof o&&"string"!=typeof o||(n[e]=t(o))}},p=function(e,t){return function(n,o){o&&(n[e]=t)}},m=function(e,t,n){return function(o,r){if("number"==typeof r||"string"==typeof r)for(var i=0;i<n.length;i++)o[e+"-"+n[i]]=t(r)}},h=function(e){return function(t,n){s(n)||(t[e]=n)}},v={position:d("position"),overflow:d("overflow"),overflowX:d("overflow-x"),overflowY:d("overflow-y"),top:f("top",u),bottom:f("bottom",u),left:f("left",u),right:f("right",u),width:f("width",u),minWidth:f("min-width",u),maxWidth:f("max-width",u),height:f("height",u),minHeight:f("min-height",u),maxHeight:f("max-height",u),fontSize:f("font-size",u),fontFamily:d("font-family"),lineHeight:function(e,t){"number"==typeof t?e["line-height"]=t:"string"==typeof t&&(e["line-height"]=u(t))},opacity:d("opacity"),textAlign:d("text-align"),verticalAlign:d("vertical-align"),inline:p("display","inline-block"),bold:p("font-weight","bold"),italic:p("font-style","italic"),nowrap:p("white-space","nowrap"),preserveWhitespace:p("white-space","pre-wrap"),m:m("margin",l,["top","bottom","left","right"]),mx:m("margin",l,["left","right"]),my:m("margin",l,["top","bottom"]),mt:f("margin-top",l),mb:f("margin-bottom",l),ml:f("margin-left",l),mr:f("margin-right",l),p:m("padding",l,["top","bottom","left","right"]),px:m("padding",l,["left","right"]),py:m("padding",l,["top","bottom"]),pt:f("padding-top",l),pb:f("padding-bottom",l),pl:f("padding-left",l),pr:f("padding-right",l),color:h("color"),textColor:h("color"),backgroundColor:h("background-color"),fillPositionedParent:function(e,t){t&&(e.position="absolute",e.top=0,e.bottom=0,e.left=0,e.right=0)}},g=function(e){for(var t={},n={},o=0,r=Object.keys(e);o<r.length;o++){var i=r[o];if("style"!==i)if(Byond.IS_LTE_IE8&&"onClick"===i)t.onclick=e[i];else{var a=e[i],c=v[i];c?c(n,a):t[i]=a}}for(var u="",l=0,s=Object.keys(n);l<s.length;l++){var d=s[l];u+=d+":"+n[d]+";"}if(e.style)for(var f=0,p=Object.keys(e.style);f<p.length;f++){var m=p[f];u+=m+":"+e.style[m]+";"}return u.length>0&&(t.style=u),t};t.computeBoxProps=g;var b=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([s(t)&&"color-"+t,s(n)&&"color-bg-"+n])};t.computeBoxClassName=b;var C=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c);if("function"==typeof a)return a(g(e));var l="string"==typeof o?o+" "+b(u):b(u),s=g(u);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,s)};t.Box=C,C.defaultHooks=o.pureComponentHooks},25808:function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(96323),r=n(57890),i=n(1060),a=n(79926),c=n(54425),u=n(65743),l=n(59463),s=["className","fluid","icon","iconRotation","iconSpin","iconColor","iconPosition","color","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","children","onclick","onClick"],d=["checked"],f=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],p=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"];function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var g=(0,a.createLogger)("Button"),b=function(e){var t=e.className,n=e.fluid,a=e.icon,d=e.iconRotation,f=e.iconSpin,p=e.iconColor,m=e.iconPosition,h=e.color,b=e.disabled,C=e.selected,y=e.tooltip,N=e.tooltipPosition,_=e.ellipsis,V=e.compact,x=e.circular,w=e.content,S=e.children,k=e.onclick,E=e.onClick,B=v(e,s),I=!(!w&&!S);k&&g.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling");var L=(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Box,Object.assign({className:(0,i.classes)(["Button",n&&"Button--fluid",b&&"Button--disabled",C&&"Button--selected",I&&"Button--hasContent",_&&"Button--ellipsis",x&&"Button--circular",V&&"Button--compact",m&&"Button--iconPosition--"+m,h&&"string"==typeof h?"Button--color--"+h:"Button--color--default",t]),tabIndex:!b&&"0",unselectable:Byond.IS_LTE_IE8,onClick:function(e){!b&&E&&E(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;if(t===r.KEY_SPACE||t===r.KEY_ENTER)return e.preventDefault(),void(!b&&E&&E(e));t!==r.KEY_ESCAPE||e.preventDefault()}},B,{children:[a&&"right"!==m&&(0,o.createComponentVNode)(2,u.Icon,{name:a,color:p,rotation:d,spin:f}),w,S,a&&"right"===m&&(0,o.createComponentVNode)(2,u.Icon,{name:a,color:p,rotation:d,spin:f})]})));return y&&(L=(0,o.createComponentVNode)(2,l.Tooltip,{content:y,position:N,children:L})),L};t.Button=b,b.defaultHooks=i.pureComponentHooks;var C=function(e){var t=e.checked,n=v(e,d);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,b,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=C,b.Checkbox=C;var y=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}m(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,u=t.icon,l=t.color,s=t.content,d=t.onClick,p=v(t,f);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,b,Object.assign({content:this.state.clickedOnce?r:s,icon:this.state.clickedOnce?c:u,color:this.state.clickedOnce?a:l,onClick:function(){return e.state.clickedOnce?d():e.setClickedOnce(!0)}},p)))},t}(o.Component);t.ButtonConfirm=y,b.Confirm=y;var N=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}m(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,s=t.icon,d=t.iconRotation,f=t.iconSpin,m=t.tooltip,h=t.tooltipPosition,g=t.color,b=void 0===g?"default":g,C=(t.placeholder,t.maxLength,v(t,p)),y=(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Box,Object.assign({className:(0,i.classes)(["Button",n&&"Button--fluid","Button--color--"+b])},C,{onClick:function(){return e.setInInput(!0)},children:[s&&(0,o.createComponentVNode)(2,u.Icon,{name:s,rotation:d,spin:f}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===r.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===r.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef)]})));return m&&(y=(0,o.createComponentVNode)(2,l.Tooltip,{content:m,position:h,children:y})),y},t}(o.Component);t.ButtonInput=N,b.Input=N},44051:function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(96323),r=n(1060),i=n(53538),a=n(79926),c=n(54425),u=["params"],l=["params"],s=["params"];function d(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=(0,a.createLogger)("ByondUi"),m=[];window.addEventListener("beforeunload",(function(){for(var e=0;e<m.length;e++){var t=m[e];"string"==typeof t&&(p.log("unmounting '"+t+"' (beforeunload)"),m[e]=null,Byond.winset(t,{parent:""}))}}));var h=function(e){var t,n;function a(t){var n,r;return(r=e.call(this,t)||this).containerRef=(0,o.createRef)(),r.byondUiElement=function(e){var t=m.length;m.push(null);var n=e||"byondui_"+t;return p.log("allocated '"+n+"'"),{render:function(e){p.log("rendering '"+n+"'"),m[t]=n,Byond.winset(n,e)},unmount:function(){p.log("unmounting '"+n+"'"),m[t]=null,Byond.winset(n,{parent:""})}}}(null==(n=t.params)?void 0:n.id),r.handleResize=(0,i.debounce)((function(){r.forceUpdate()}),100),r}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var h=a.prototype;return h.shouldComponentUpdate=function(e){var t=this.props,n=t.params,o=void 0===n?{}:n,i=d(t,u),a=e.params,c=void 0===a?{}:a,s=d(e,l);return(0,r.shallowDiffers)(o,c)||(0,r.shallowDiffers)(i,s)},h.componentDidMount=function(){Byond.IS_LTE_IE10||(window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize())},h.componentDidUpdate=function(){if(!Byond.IS_LTE_IE10){var e,t,n=this.props.params,o=void 0===n?{}:n,r=(e=this.containerRef.current,{pos:[(t=e.getBoundingClientRect()).left,t.top],size:[t.right-t.left,t.bottom-t.top]});p.debug("bounding box",r),this.byondUiElement.render(Object.assign({parent:window.__windowId__},o,{pos:r.pos[0]+","+r.pos[1],size:r.size[0]+"x"+r.size[1]}))}},h.componentWillUnmount=function(){Byond.IS_LTE_IE10||(window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount())},h.render=function(){var e=this.props,t=(e.params,d(e,s)),n=(0,c.computeBoxProps)(t);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,(0,o.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},n),null,this.containerRef))},a}(o.Component);t.ByondUi=h},64726:function(e,t,n){"use strict";t.__esModule=!0,t.Chart=void 0;var o=n(96323),r=n(1397),i=n(1060),a=n(54425),c=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).ref=(0,o.createRef)(),n.state={viewBox:[600,200]},n.handleResize=function(){var e=n.ref.current;n.setState({viewBox:[e.offsetWidth,e.offsetHeight]})},n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=i.prototype;return l.componentDidMount=function(){window.addEventListener("resize",this.handleResize),this.handleResize()},l.componentWillUnmount=function(){window.removeEventListener("resize",this.handleResize)},l.render=function(){var e=this,t=this.props,n=t.data,i=void 0===n?[]:n,u=t.rangeX,l=t.rangeY,s=t.fillColor,d=void 0===s?"none":s,f=t.strokeColor,p=void 0===f?"#ffffff":f,m=t.strokeWidth,h=void 0===m?2:m,v=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,c),g=this.state.viewBox,b=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,g,u,l);if(b.length>0){var C=b[0],y=b[b.length-1];b.push([g[0]+h,y[1]]),b.push([g[0]+h,-h]),b.push([-h,-h]),b.push([-h,C[1]])}var N=function(e){for(var t="",n=0;n<e.length;n++){var o=e[n];t+=o[0]+","+o[1]+" "}return t}(b);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Box,Object.assign({position:"relative"},v,{children:function(t){return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,(0,o.createVNode)(32,"svg",null,(0,o.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+g[1]+")",fill:d,stroke:p,"stroke-width":h,points:N}),2,{viewBox:"0 0 "+g[0]+" "+g[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},t),null,e.ref))}})))},i}(o.Component);l.defaultHooks=i.pureComponentHooks;var s={Line:Byond.IS_LTE_IE8?function(e){return null}:l};t.Chart=s},49751:function(e,t,n){"use strict";t.__esModule=!0,t.Collapsible=void 0;var o=n(96323),r=n(54425),i=n(25808),a=["children","color","title","buttons"];function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function u(t){var n;n=e.call(this,t)||this;var o=t.open;return n.state={open:o||!1},n}return n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),u.prototype.render=function(){var e=this,t=this.props,n=this.state.open,c=t.children,u=t.color,l=void 0===u?"default":u,s=t.title,d=t.buttons,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,a);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},f,{children:s}))),2),d&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",d,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:c})]})},u}(o.Component);t.Collapsible=u},47233:function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["content","children","className","color","backgroundColor"];var c=function(e){var t=e.content,n=(e.children,e.className),c=e.color,u=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return l.color=t?null:"transparent",l.backgroundColor=c||u,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=c,c.defaultHooks=r.pureComponentHooks},93913:function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","children"];t.Dimmer=function(e){var t=e.className,n=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},c,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},22755:function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(96323),r=n(1060);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},42833:function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251);function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:u(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),n.props.updateRate||400),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize,l=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),s=u(e,l)-n.origin;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+s*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=u(e,l)}else Math.abs(s)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,u=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var l=n.inputRef.current;l.value=u;try{l.focus(),l.select()}catch(s){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,u=t.suppressingFlicker,l=this.props,s=l.animated,d=l.value,f=l.unit,p=l.minValue,m=l.maxValue,h=l.unclamped,v=l.format,g=l.onChange,b=l.onDrag,C=l.children,y=l.height,N=l.lineHeight,_=l.fontSize,V=d;(n||u)&&(V=c);var x=function(e){return e+(f?" "+f:"")},w=s&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:V,format:v,children:x})||x(v?v(V):V),S=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:y,"line-height":N,"font-size":_},onBlur:function(t){var n;i&&(n=h?parseFloat(t.target.value):(0,r.clamp)(parseFloat(t.target.value),p,m),Number.isNaN(n)?e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),g&&g(t,n),b&&b(t,n)))},onKeyDown:function(t){var n;if(13===t.keyCode)return n=h?parseFloat(t.target.value):(0,r.clamp)(parseFloat(t.target.value),p,m),Number.isNaN(n)?void e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),g&&g(t,n),void(b&&b(t,n)));27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return C({dragging:n,editing:i,value:d,displayValue:V,displayElement:w,inputElement:S,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},12489:function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(65743),c=["icon","iconRotation","iconSpin","color","over","noscroll","nochevron","width","onClick","selected","disabled","displayText"],u=["className"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function d(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var f=d.prototype;return f.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},f.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},f.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},f.buildMenu=function(){var e=this,t=this.props.options,n=(void 0===t?[]:t).map((function(t){return(0,o.createComponentVNode)(2,i.Box,{className:"Dropdown__menuentry",onClick:function(){e.setSelected(t)},children:t},t)}));return n.length?n:"No Options Found"},f.render=function(){var e=this,t=this.props,n=t.icon,s=t.iconRotation,d=t.iconSpin,f=t.color,p=void 0===f?"default":f,m=t.over,h=t.noscroll,v=t.nochevron,g=t.width,b=(t.onClick,t.selected,t.disabled),C=t.displayText,y=l(t,c),N=y.className,_=l(y,u),V=m?!this.state.open:this.state.open,x=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([h?"Dropdown__menu-noscroll":"Dropdown__menu",m&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:g}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:g,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+p,b&&"Button--disabled",N])},_,{onClick:function(){b&&!e.state.open||e.setOpen(!e.state.open)},children:[n&&(0,o.createComponentVNode)(2,a.Icon,{name:n,rotation:s,spin:d,mr:1}),(0,o.createVNode)(1,"span","Dropdown__selected-text",C||this.state.selected,0),!!v||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:V?"chevron-up":"chevron-down"}),2)]}))),x],0)},d}(o.Component);t.Dropdown=d},67486:function(e,t,n){"use strict";t.__esModule=!0,t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","direction","wrap","align","justify","inline"],c=["className","style","grow","order","shrink","basis","align"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.justify,l=e.inline,s=u(e,a);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),l&&"Flex--inline",t]),style:Object.assign({},s.style,{"flex-direction":n,"flex-wrap":!0===o?"wrap":o,"align-items":i,"justify-content":c})},s)};t.computeFlexProps=l;var s=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},l(e))))};t.Flex=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.style,o=e.grow,a=e.order,l=e.shrink,s=e.basis,d=void 0===s?e.width:s,f=e.align,p=u(e,c);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",Byond.IS_LTE_IE10&&o>0&&"Flex__item--iefix--grow",t]),style:Object.assign({},n,{"flex-grow":o!==undefined&&Number(o),"flex-shrink":l!==undefined&&Number(l),"flex-basis":(0,i.unit)(d),order:a,"align-self":f})},p)};t.computeFlexItemProps=d;var f=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};f.defaultHooks=r.pureComponentHooks,s.Item=f},28408:function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(96323),r=n(28581),i=n(1060),a=["children"],c=["size","style"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=function(e){var t=e.children,n=u(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=l,l.defaultHooks=i.pureComponentHooks;var s=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,a=u(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},a)))};t.GridColumn=s,l.defaultHooks=i.pureComponentHooks,l.Column=s},65743:function(e,t,n){"use strict";t.__esModule=!0,t.IconStack=t.Icon=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["name","size","spin","className","style","rotation","inverse"],c=["className","style","children"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=/-o$/,s=function(e){var t=e.name,n=e.size,c=e.spin,s=e.className,d=e.style,f=void 0===d?{}:d,p=e.rotation,m=(e.inverse,u(e,a));n&&(f["font-size"]=100*n+"%"),"number"==typeof p&&(f.transform="rotate("+p+"deg)");var h="";t.startsWith("tg-")?h=t:h=(l.test(t)?"far ":"fas ")+"fa-"+t.replace(l,"")+(c?" fa-spin":"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)(["Icon",s,h]),style:f},m)))};t.Icon=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.style,a=void 0===n?{}:n,l=e.children,s=u(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"span","class":(0,r.classes)(["IconStack",t]),style:a},s,{children:l})))};t.IconStack=d,s.Stack=d},63268:function(e,t,n){"use strict";t.__esModule=!0,t.InfinitePlane=void 0;var o=n(96323),r=n(54425),i=n(4033),a=n(12194),c=n(25808),u=["children","backgroundImage","imageWidth","initialLeft","initialTop"];function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function d(){var t;return(t=e.call(this)||this).state={mouseDown:!1,left:0,top:0,lastLeft:0,lastTop:0,zoom:1},t.handleMouseDown=t.handleMouseDown.bind(l(t)),t.handleMouseMove=t.handleMouseMove.bind(l(t)),t.handleZoomIncrease=t.handleZoomIncrease.bind(l(t)),t.handleZoomDecrease=t.handleZoomDecrease.bind(l(t)),t.onMouseUp=t.onMouseUp.bind(l(t)),t.doOffsetMouse=t.doOffsetMouse.bind(l(t)),t}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var f=d.prototype;return f.componentDidMount=function(){window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousedown",this.doOffsetMouse),window.addEventListener("mousemove",this.doOffsetMouse),window.addEventListener("mouseup",this.doOffsetMouse)},f.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousedown",this.doOffsetMouse),window.removeEventListener("mousemove",this.doOffsetMouse),window.removeEventListener("mouseup",this.doOffsetMouse)},f.doOffsetMouse=function(e){var t=this.state.zoom;e.screenZoomX=e.screenX*Math.pow(t,-1),e.screenZoomY=e.screenY*Math.pow(t,-1)},f.handleMouseDown=function(e){this.setState((function(t){return{mouseDown:!0,lastLeft:e.clientX-t.left,lastTop:e.clientY-t.top}}))},f.onMouseUp=function(){this.setState({mouseDown:!1})},f.handleZoomIncrease=function(e){var t=this.props.onZoomChange,n=this.state.zoom,o=Math.min(n+.1,1.5);this.setState({zoom:o}),t&&t(o)},f.handleZoomDecrease=function(e){var t=this.props.onZoomChange,n=this.state.zoom,o=Math.max(n-.1,.5);this.setState({zoom:o}),t&&t(o)},f.handleMouseMove=function(e){var t,n,o=this.props,r=o.onBackgroundMoved,i=o.initialLeft,a=void 0===i?0:i,c=o.initialTop,u=void 0===c?0:c;this.state.mouseDown&&(this.setState((function(o){return t=e.clientX-o.lastLeft,n=e.clientY-o.lastTop,{left:t,top:n}})),r&&r(t+a,n+u))},f.render=function(){var e=this.props,t=e.children,n=e.backgroundImage,l=e.imageWidth,s=e.initialLeft,d=void 0===s?0:s,f=e.initialTop,p=void 0===f?0:f,m=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,u),h=this.state,v=h.left,g=h.top,b=h.zoom,C=d+v,y=p+g;return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,[(0,o.createVNode)(1,"div",null,null,1,{onMouseDown:this.handleMouseDown,onMouseMove:this.handleMouseMove,style:{position:"fixed",height:"100%",width:"100%","background-image":'url("'+n+'")',"background-position":C+"px "+y+"px","background-repeat":"repeat","background-size":b*l+"px"}}),(0,o.createVNode)(1,"div",null,t,0,{onMouseDown:this.handleMouseDown,onMouseMove:this.handleMouseMove,style:{position:"fixed",transform:"translate("+C+"px, "+y+"px) scale("+b+")","transform-origin":"top left",height:"100%",width:"100%"}}),(0,o.createComponentVNode)(2,i.Stack,{position:"absolute",width:"100%",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"minus",onClick:this.handleZoomDecrease})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:.5,value:b,maxValue:1.5,children:[b,"x"]})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:this.handleZoomIncrease})})]})],4,Object.assign({},(0,r.computeBoxProps)(Object.assign({},m,{style:Object.assign({},m.style,{overflow:"hidden",position:"relative"})}))),null,this.ref))},d}(o.Component);t.InfinitePlane=d},77863:function(e,t,n){"use strict";t.__esModule=!0,t.Input=t.toInputValue=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(57890),c=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder"],u=["className","fluid","monospace"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){return"number"!=typeof e&&"string"!=typeof e?"":String(e)};t.toInputValue=d;var f=function(e){var t,n;function f(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return e.keyCode===a.KEY_ENTER?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):e.keyCode===a.KEY_ESCAPE?(t.setEditing(!1),e.target.value=d(t.props.value),void e.target.blur()):void 0},t}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var p=f.prototype;return p.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=d(e)),this.props.autoFocus&&setTimeout((function(){return t.focus()}),1)},p.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=d(r))},p.setEditing=function(e){this.setState({editing:e})},p.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,a=l(e,c),s=a.className,d=a.fluid,f=a.monospace,p=l(a,u);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",f&&"Input--monospace",s])},p,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},f}(o.Component);t.Input=f},14274:function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=n(42833),u=n(97667),l=["animated","format","maxValue","minValue","unclamped","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children"];t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,s=e.maxValue,d=e.minValue,f=e.unclamped,p=e.onChange,m=e.onDrag,h=e.step,v=e.stepPixelSize,g=e.suppressFlicker,b=e.unit,C=e.value,y=e.className,N=e.style,_=e.fillValue,V=e.color,x=e.ranges,w=void 0===x?{}:x,S=e.size,k=void 0===S?1:S,E=e.bipolar,B=(e.children,function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,l));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,format:n,maxValue:s,minValue:d,unclamped:f,onChange:p,onDrag:m,step:h,stepPixelSize:v,suppressFlicker:g,unit:b,value:C},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,u=e.displayElement,l=e.inputElement,f=e.handleDragStart,p=(0,r.scale)(null!=_?_:c,d,s),m=(0,r.scale)(c,d,s),h=V||(0,r.keyOfMatchingRange)(null!=_?_:n,w)||"default",v=Math.min(270*(m-.5),225);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,E&&"Knob--bipolar",y,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+v+"deg)"}}),2),t&&(0,o.createVNode)(1,"div","Knob__popupValue",u,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":Math.max(((E?2.75:2)-1.5*p)*Math.PI*50,0)},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),l],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"em"},N)},B)),{onMouseDown:f})))}})))}},95592:function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(96323),r=n(67486),i=["children","wrap"],a=["label","children","mx"];function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var u=function(e){var t=e.children,n=e.wrap,a=c(e,i);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,wrap:n,align:"stretch",justify:"space-between"},a,{children:t})))};t.LabeledControls=u;u.Item=function(e){var t=e.label,n=e.children,i=e.mx,u=void 0===i?1:i,l=c(e,a);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:u,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},l,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},21173:function(e,t,n){"use strict";t.__esModule=!0,t.LabeledList=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(22755),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var u=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,u=e.color,l=e.textAlign,s=e.buttons,d=e.content,f=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:u,textAlign:l,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[d,f]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};u.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};l.defaultHooks=r.pureComponentHooks,c.Item=u,c.Divider=l},89416:function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(93913),c=["className","children"];t.Modal=function(e){var t=e.className,n=e.children,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c);return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",t,(0,i.computeBoxClassName)(u)]),n,0,Object.assign({},(0,i.computeBoxProps)(u))))})}},23257:function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","color","info","warning","success","danger"];var c=function(e){var t=e.className,n=e.color,c=e.info,u=(e.warning,e.success),l=e.danger,s=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,c&&"NoticeBox--type--info",u&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},s)))};t.NoticeBox=c,c.defaultHooks=r.pureComponentHooks},97667:function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251),c=n(54425);function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),n.props.updateRate||400),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),u=n.origin-e.screenY;if(t.dragging){var l=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+l,o,i),n.origin=e.screenY}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,u=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var l=n.inputRef.current;l.value=u;try{l.focus(),l.select()}catch(s){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,u=t.editing,l=t.value,s=t.suppressingFlicker,d=this.props,f=d.className,p=d.fluid,m=d.animated,h=d.value,v=d.unit,g=d.minValue,b=d.maxValue,C=d.height,y=d.width,N=d.lineHeight,_=d.fontSize,V=d.format,x=d.onChange,w=d.onDrag,S=h;(n||s)&&(S=l);var k=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(v?" "+v:""),0,{unselectable:Byond.IS_LTE_IE8})},E=m&&!n&&!s&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:S,format:V,children:k})||k(V?V(S):S);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",p&&"NumberInput--fluid",f]),minWidth:y,minHeight:C,lineHeight:N,fontSize:_,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((S-g)/(b-g)*100,0,100)+"%"}}),2),E,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:u?undefined:"none",height:C,"line-height":N,"font-size":_},onBlur:function(t){if(u){var n=(0,r.clamp)(parseFloat(t.target.value),g,b);Number.isNaN(n)?e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),w&&w(t,n))}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(parseFloat(t.target.value),g,b);return Number.isNaN(n)?void e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),void(w&&w(t,n)))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},16513:function(e,t,n){"use strict";t.__esModule=!0,t.Popper=void 0;var o=n(34739),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function a(){var t;return(t=e.call(this)||this).renderedContent=void 0,t.popperInstance=void 0,a.id+=1,t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=a.prototype;return c.componentDidMount=function(){var e=this,t=this.props,n=t.additionalStyles,i=t.options;if(this.renderedContent=document.createElement("div"),n)for(var a=0,c=Object.entries(n);a<c.length;a++){var u=c[a],l=u[0],s=u[1];this.renderedContent.style[l]=s}this.renderPopperContent((function(){document.body.appendChild(e.renderedContent),e.popperInstance=(0,o.createPopper)((0,r.findDOMfromVNode)(e.$LI,!0),e.renderedContent,i)}))},c.componentDidUpdate=function(){var e=this;this.renderPopperContent((function(){var t;return null==(t=e.popperInstance)?void 0:t.update()}))},c.componentWillUnmount=function(){var e;null==(e=this.popperInstance)||e.destroy(),this.renderedContent.remove(),this.renderedContent=null},c.renderPopperContent=function(e){(0,r.render)(this.props.popperContent,this.renderedContent,e)},c.render=function(){return this.props.children},a}(r.Component);t.Popper=a,a.id=0},12194:function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=["className","value","minValue","maxValue","color","ranges","children"];var u=function(e){var t=e.className,n=e.value,u=e.minValue,l=void 0===u?0:u,s=e.maxValue,d=void 0===s?1:s,f=e.color,p=e.ranges,m=void 0===p?{}:p,h=e.children,v=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c),g=(0,r.scale)(n,l,d),b=h!==undefined,C=f||(0,r.keyOfMatchingRange)(n,m)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+C,t,(0,a.computeBoxClassName)(v)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(g)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",b?h:(0,r.toFixed)(100*g)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(v))))};t.ProgressBar=u,u.defaultHooks=i.pureComponentHooks},94709:function(e,t,n){"use strict";t.__esModule=!0,t.RoundGauge=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251),c=n(54425),u=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];t.RoundGauge=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.AnimatedNumber,Object.assign({},e)));var t=e.value,n=e.minValue,l=void 0===n?1:n,s=e.maxValue,d=void 0===s?1:s,f=e.ranges,p=e.alertAfter,m=e.format,h=e.size,v=void 0===h?1:h,g=e.className,b=e.style,C=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,u),y=(0,r.scale)(t,l,d),N=(0,r.clamp01)(y),_=f?{}:{primary:[0,1]};f&&Object.keys(f).forEach((function(e){var t=f[e];_[e]=[(0,r.scale)(t[0],l,d),(0,r.scale)(t[1],l,d)]}));var V=null;return p<t&&(V=(0,r.keyOfMatchingRange)(N,_)),(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["RoundGauge",g,(0,c.computeBoxClassName)(C)]),(0,o.createVNode)(32,"svg",null,[p&&(0,o.createVNode)(32,"g",(0,i.classes)(["RoundGauge__alert",V?"active RoundGauge__alert--"+V:""]),(0,o.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,o.createVNode)(32,"g",null,(0,o.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,o.createVNode)(32,"g",null,Object.keys(_).map((function(e,t){var n=_[e];return(0,o.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+e,null,1,{style:{"stroke-dashoffset":Math.max((2-(n[1]-n[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*n[0])+" 50 50)",cx:"50",cy:"50",r:"45"},t)})),0),(0,o.createVNode)(32,"g","RoundGauge__needle",[(0,o.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,o.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(180*N-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,c.computeBoxProps)(Object.assign({style:Object.assign({"font-size":v+"em"},b)},C))))),(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:t,format:m,size:v})]})}},77381:function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(96323),r=n(1060),i=n(99397),a=n(54425),c=["className","title","buttons","fill","fitted","scrollable","children"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).scrollableRef=void 0,n.scrollable=void 0,n.scrollableRef=(0,o.createRef)(),n.scrollable=t.scrollable,n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var s=l.prototype;return s.componentDidMount=function(){this.scrollable&&(0,i.addScrollableNode)(this.scrollableRef.current)},s.componentWillUnmount=function(){this.scrollable&&(0,i.removeScrollableNode)(this.scrollableRef.current)},s.render=function(){var e=this.props,t=e.className,n=e.title,i=e.buttons,u=e.fill,l=e.fitted,s=e.scrollable,d=e.children,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c),p=(0,r.canRender)(n)||(0,r.canRender)(i);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section",Byond.IS_LTE_IE8&&"Section--iefix",u&&"Section--fill",l&&"Section--fitted",s&&"Section--scrollable",t,(0,a.computeBoxClassName)(f)]),[p&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",i,0)],4),(0,o.createVNode)(1,"div","Section__rest",(0,o.createVNode)(1,"div","Section__content",d,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,a.computeBoxProps)(f))))},l}(o.Component);t.Section=l},97968:function(e,t,n){"use strict";t.__esModule=!0,t.SegmentDisplay=void 0;var o=n(96323),r=n(54425),i=["display_text","display_cells_amount","display_height"];t.SegmentDisplay=function(e){for(var t=e.display_text,n=e.display_cells_amount,a=e.display_height,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,i),u=a,l=n,s=l*(.641*a),d=[],f=0;f<l;f++)d.push("#");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Box,Object.assign({width:s+"px",height:a+"px",overflow:"hidden",position:"relative"},c,{children:[(0,o.createComponentVNode)(2,r.Box,{width:s+"px",height:u+"px",position:"absolute",top:"0px",textColor:"#261f16",fontSize:a+"px",textAlign:"right",fontFamily:"Gys14Segment",bold:0,children:[" ",d," "]}),(0,o.createComponentVNode)(2,r.Box,{width:s+"px",height:u+"px",position:"absolute",top:"0px",textColor:"#D0330f",fontSize:a+"px",textAlign:"right",fontFamily:"Gys14Segment",bold:0,children:[" ",t," "]})]})))}},4482:function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=n(42833),u=n(97667),l=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"];t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,s=e.maxValue,d=e.minValue,f=e.onChange,p=e.onDrag,m=e.step,h=e.stepPixelSize,v=e.suppressFlicker,g=e.unit,b=e.value,C=e.className,y=e.fillValue,N=e.color,_=e.ranges,V=void 0===_?{}:_,x=e.children,w=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,l),S=x!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:s,minValue:d,onChange:f,onDrag:p,step:m,stepPixelSize:h,suppressFlicker:v,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,u=e.displayElement,l=e.inputElement,f=e.handleDragStart,p=y!==undefined&&null!==y,m=((0,r.scale)(n,d,s),(0,r.scale)(null!=y?y:c,d,s)),h=(0,r.scale)(c,d,s),v=N||(0,r.keyOfMatchingRange)(null!=y?y:n,V)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+v,C,(0,a.computeBoxClassName)(w)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(m)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(m,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",u,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",S?x:u,0),l],0,Object.assign({},(0,a.computeBoxProps)(w),{onMouseDown:f})))}})))}},4033:function(e,t,n){"use strict";t.__esModule=!0,t.Stack=void 0;var o=n(96323),r=n(1060),i=n(67486),a=["className","vertical","fill"],c=["className"],u=["className","hidden"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.vertical,c=e.fill,u=l(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex,Object.assign({className:(0,r.classes)(["Stack",c&&"Stack--fill",n?"Stack--vertical":"Stack--horizontal",t]),direction:n?"column":"row"},u)))};t.Stack=s;s.Item=function(e){var t=e.className,n=l(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex.Item,Object.assign({className:(0,r.classes)(["Stack__item",t])},n)))};s.Divider=function(e){var t=e.className,n=e.hidden,a=l(e,u);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex.Item,Object.assign({className:(0,r.classes)(["Stack__item","Stack__divider",n&&"Stack__divider--hidden",t])},a)))}},28581:function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","collapsing","children"],c=["className","header"],u=["className","collapsing","header"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.collapsing,c=e.children,u=l(e,a);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(u)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(u))))};t.Table=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.header,a=l(e,c);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(a))))};t.TableRow=d,d.defaultHooks=r.pureComponentHooks;var f=function(e){var t=e.className,n=e.collapsing,a=e.header,c=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",a&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableCell=f,f.defaultHooks=r.pureComponentHooks,s.Row=d,s.Cell=f},60839:function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(65743),c=["className","vertical","fill","fluid","children"],u=["className","selected","color","icon","leftSlot","rightSlot","children"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.vertical,a=e.fill,u=e.fluid,s=e.children,d=l(e,c);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",a&&"Tabs--fill",u&&"Tabs--fluid",t,(0,i.computeBoxClassName)(d)]),s,0,Object.assign({},(0,i.computeBoxProps)(d))))};t.Tabs=s;s.Tab=function(e){var t=e.className,n=e.selected,c=e.color,s=e.icon,d=e.leftSlot,f=e.rightSlot,p=e.children,m=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tab","Tabs__Tab","Tab--color--"+c,n&&"Tab--selected",t].concat((0,i.computeBoxClassName)(m))),[(0,r.canRender)(d)&&(0,o.createVNode)(1,"div","Tab__left",d,0)||!!s&&(0,o.createVNode)(1,"div","Tab__left",(0,o.createComponentVNode)(2,a.Icon,{name:s}),2),(0,o.createVNode)(1,"div","Tab__text",p,0),(0,r.canRender)(f)&&(0,o.createVNode)(1,"div","Tab__right",f,0)],0,Object.assign({},(0,i.computeBoxProps)(m))))}},51129:function(e,t,n){"use strict";t.__esModule=!0,t.TextArea=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(77863),c=n(57890),u=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],l=["className","fluid"];function s(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function f(t,n){var r;(r=e.call(this,t,n)||this).textareaRef=(0,o.createRef)(),r.fillerRef=(0,o.createRef)(),r.state={editing:!1};var i=t.dontUseTabForIndent,u=void 0!==i&&i;return r.handleOnInput=function(e){var t=r.state.editing,n=r.props.onInput;t||r.setEditing(!0),n&&n(e,e.target.value)},r.handleOnChange=function(e){var t=r.state.editing,n=r.props.onChange;t&&r.setEditing(!1),n&&n(e,e.target.value)},r.handleKeyPress=function(e){var t=r.state.editing,n=r.props.onKeyPress;t||r.setEditing(!0),n&&n(e,e.target.value)},r.handleKeyDown=function(e){var t=r.state.editing,n=r.props.onKeyDown;if(e.keyCode===c.KEY_ESCAPE)return r.setEditing(!1),e.target.value=(0,a.toInputValue)(r.props.value),void e.target.blur();if((t||r.setEditing(!0),!u)&&9===(e.keyCode||e.which)){e.preventDefault();var o=e.target,i=o.value,l=o.selectionStart,s=o.selectionEnd;e.target.value=i.substring(0,l)+"\t"+i.substring(s),e.target.selectionEnd=l+1}n&&n(e,e.target.value)},r.handleFocus=function(e){r.state.editing||r.setEditing(!0)},r.handleBlur=function(e){var t=r.state.editing,n=r.props.onChange;t&&(r.setEditing(!1),n&&n(e,e.target.value))},r}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var p=f.prototype;return p.componentDidMount=function(){var e=this.props.value,t=this.textareaRef.current;t&&(t.value=(0,a.toInputValue)(e))},p.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.textareaRef.current;i&&!n&&o!==r&&(i.value=(0,a.toInputValue)(r))},p.setEditing=function(e){this.setState({editing:e})},p.getValue=function(){return this.textareaRef.current&&this.textareaRef.current.value},p.render=function(){var e=this.props,t=(e.onChange,e.onKeyDown,e.onKeyPress,e.onInput,e.onFocus,e.onBlur,e.onEnter,e.value,e.maxLength),n=e.placeholder,a=s(e,u),c=a.className,d=a.fluid,f=s(a,l);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["TextArea",d&&"TextArea--fluid",c])},f,{children:(0,o.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:n,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:t},null,this.textareaRef)})))},f}(o.Component);t.TextArea=f},92464:function(e,t,n){"use strict";t.__esModule=!0,t.TimeDisplay=void 0;var o=n(1033),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.last_seen_value=undefined,n.state={value:0},a(t.value)&&(n.state.value=Number(t.value),n.last_seen_value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=r.prototype;return c.componentDidUpdate=function(){var e=this;this.props.auto!==undefined&&(clearInterval(this.timer),this.timer=setInterval((function(){return e.tick()}),1e3))},c.tick=function(){var e=Number(this.state.value);this.props.value!==this.last_seen_value&&(this.last_seen_value=this.props.value,e=this.props.value);var t="up"===this.props.auto?10:-10,n=Math.max(0,e+t);this.setState({value:n})},c.componentDidMount=function(){var e=this;this.props.auto!==undefined&&(this.timer=setInterval((function(){return e.tick()}),1e3))},c.componentWillUnmount=function(){clearInterval(this.timer)},c.render=function(){var e=this.state.value;return a(e)?(0,o.formatTime)(e):this.state.value||null},r}(r.Component);t.TimeDisplay=c},59463:function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=void 0;var o=n(96323),r=n(16513);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function a(){var t;return(t=e.call(this)||this).state={hovered:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=a.prototype;return c.componentDidMount=function(){var e=this,t=(0,o.findDOMfromVNode)(this.$LI,!0);t.addEventListener("mouseenter",(function(){e.setState({hovered:!0})})),t.addEventListener("mouseleave",(function(){e.setState({hovered:!1})}))},c.render=function(){return(0,o.createComponentVNode)(2,r.Popper,{options:{placement:this.props.position||"auto"},popperContent:(0,o.createVNode)(1,"div","Tooltip",this.props.content,0,{style:{opacity:this.state.hovered?1:0}}),additionalStyles:{"pointer-events":"none"},children:this.props.children})},a}(o.Component);t.Tooltip=a},26949:function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.TimeDisplay=t.TextArea=t.Tabs=t.Table=t.Stack=t.Slider=t.Section=t.RoundGauge=t.Popper=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.InfinitePlane=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.Blink=t.AnimatedNumber=void 0;var o=n(13251);t.AnimatedNumber=o.AnimatedNumber;var r=n(90297);t.Blink=r.Blink;var i=n(7149);t.BlockQuote=i.BlockQuote;var a=n(54425);t.Box=a.Box;var c=n(25808);t.Button=c.Button;var u=n(44051);t.ByondUi=u.ByondUi;var l=n(64726);t.Chart=l.Chart;var s=n(49751);t.Collapsible=s.Collapsible;var d=n(47233);t.ColorBox=d.ColorBox;var f=n(93913);t.Dimmer=f.Dimmer;var p=n(22755);t.Divider=p.Divider;var m=n(42833);t.DraggableControl=m.DraggableControl;var h=n(12489);t.Dropdown=h.Dropdown;var v=n(67486);t.Flex=v.Flex;var g=n(28408);t.Grid=g.Grid;var b=n(65743);t.Icon=b.Icon;var C=n(63268);t.InfinitePlane=C.InfinitePlane;var y=n(77863);t.Input=y.Input;var N=n(14274);t.Knob=N.Knob;var _=n(95592);t.LabeledControls=_.LabeledControls;var V=n(21173);t.LabeledList=V.LabeledList;var x=n(89416);t.Modal=x.Modal;var w=n(23257);t.NoticeBox=w.NoticeBox;var S=n(97667);t.NumberInput=S.NumberInput;var k=n(12194);t.ProgressBar=k.ProgressBar;var E=n(16513);t.Popper=E.Popper;var B=n(94709);t.RoundGauge=B.RoundGauge;var I=n(77381);t.Section=I.Section;var L=n(4482);t.Slider=L.Slider;var O=n(4033);t.Stack=O.Stack;var M=n(28581);t.Table=M.Table;var A=n(60839);t.Tabs=A.Tabs;var T=n(51129);t.TextArea=T.TextArea;var P=n(92464);t.TimeDisplay=P.TimeDisplay;var j=n(59463);t.Tooltip=j.Tooltip},84200:function(e,t){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"},reagent:{acidicbuffer:"#fbc314",basicbuffer:"#3853a4"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#8f4a4b"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"CentCom",freq:1337,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#fcdf03"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"AI Private",freq:1447,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}];var n=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"}];t.getGasLabel=function(e,t){var o=String(e).toLowerCase(),r=n.find((function(e){return e.id===o||e.name.toLowerCase()===o}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),o=n.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return o&&o.color}},71224:function(e,t,n){"use strict";t.__esModule=!0,t.KitchenSink=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(69321);t.KitchenSink=function(e,t){var n=e.panel,u=(0,r.useLocalState)(t,"kitchenSinkTheme")[0],l=(0,r.useLocalState)(t,"pageIndex",0),s=l[0],d=l[1],f=c.keys().map((function(e){return c(e)})),p=f[s],m=n?a.Pane:a.Window;return(0,o.createComponentVNode)(2,m,{title:"Kitchen Sink",width:600,height:500,theme:u,children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{m:1,mr:0,children:(0,o.createComponentVNode)(2,i.Section,{fill:!0,fitted:!0,children:(0,o.createComponentVNode)(2,i.Tabs,{vertical:!0,children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{color:"transparent",selected:t===s,onClick:function(){return d(t)},children:e.meta.title},t)}))})})}),(0,o.createComponentVNode)(2,i.Flex.Item,{position:"relative",grow:1,children:(0,o.createComponentVNode)(2,m.Content,{scrollable:!0,children:p.meta.render()})})]})})}},98069:function(e,t,n){"use strict";t.__esModule=!0,t.openExternalBrowser=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(465),r=(0,o.createAction)("debug/toggleKitchenSink");t.toggleKitchenSink=r;var i=(0,o.createAction)("debug/toggleDebugLayout");t.toggleDebugLayout=i;var a=(0,o.createAction)("debug/openExternalBrowser");t.openExternalBrowser=a},35177:function(e,t,n){"use strict";t.__esModule=!0,t.useDebug=void 0;var o=n(465),r=n(12184);t.useDebug=function(e){return(0,o.useSelector)(e,r.selectDebug)}},27157:function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.relayMiddleware=t.debugMiddleware=t.KitchenSink=t.useDebug=void 0;var o=n(35177);t.useDebug=o.useDebug;var r=n(71224);t.KitchenSink=r.KitchenSink;var i=n(46656);t.debugMiddleware=i.debugMiddleware,t.relayMiddleware=i.relayMiddleware;var a=n(7124);t.debugReducer=a.debugReducer},46656:function(e,t,n){"use strict";t.__esModule=!0,t.relayMiddleware=t.debugMiddleware=void 0;var o=n(57890),r=n(99397),i=n(6965),a=n(98069),c=["backend/update","chat/message"];t.debugMiddleware=function(e){return(0,i.acquireHotKey)(o.KEY_F11),(0,i.acquireHotKey)(o.KEY_F12),r.globalEvents.on("keydown",(function(t){t.code===o.KEY_F11&&e.dispatch((0,a.toggleDebugLayout)()),t.code===o.KEY_F12&&e.dispatch((0,a.toggleKitchenSink)()),t.ctrl&&t.alt&&t.code===o.KEY_BACKSPACE&&setTimeout((function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")}))})),function(e){return function(t){return e(t)}}};t.relayMiddleware=function(e){var t=n(82252),u="?external"===location.search;return u?t.subscribe((function(t){var n=t.type,o=t.payload;"relay"===n&&o.windowId===window.__windowId__&&e.dispatch(Object.assign({},o.action,{relayed:!0}))})):((0,i.acquireHotKey)(o.KEY_F10),r.globalEvents.on("keydown",(function(t){t===o.KEY_F10&&e.dispatch((0,a.openExternalBrowser)())}))),function(e){return function(n){var o=n.type,r=(n.payload,n.relayed);if(o!==a.openExternalBrowser.type)return!c.includes(o)||r||u||t.sendMessage({type:"relay",payload:{windowId:window.__windowId__,action:n}}),e(n);window.open(location.href+"?external","_blank")}}}},7124:function(e,t){"use strict";t.__esModule=!0,t.debugReducer=void 0;t.debugReducer=function(e,t){void 0===e&&(e={});var n=t.type;t.payload;return"debug/toggleKitchenSink"===n?Object.assign({},e,{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===n?Object.assign({},e,{debugLayout:!e.debugLayout}):e}},12184:function(e,t){"use strict";t.__esModule=!0,t.selectDebug=void 0;t.selectDebug=function(e){return e.debug}},41410:function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(7151),r=n(67288);function i(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,u,"next",e)}function u(e){i(a,o,r,c,u,"throw",e)}c(undefined)}))}}var c,u,l,s,d,f=(0,n(79926).createLogger)("drag"),p=window.__windowId__,m=!1,h=!1,v=[0,0];t.setWindowKey=function(e){p=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var C=function(e){var t=(0,r.vecAdd)(e,v);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=C;var y=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=y;var N=function(){return[0-v[0],0-v[1]]};t.getScreenPosition=N;var _=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=_;var V=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;i<e.length;i++){var a=e[i];a!==t&&(r.length<n?r.push(a):o=a)}return[r,o]},x=function(){var e=a(regeneratorRuntime.mark((function t(){var e,n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f.log("storing geometry"),e={pos:g(),size:b()},o.storage.set(p,e),t.t0=V,t.next=6,o.storage.get("geometries");case 6:if(t.t1=t.sent,t.t1){t.next=9;break}t.t1=[];case 9:t.t2=t.t1,t.t3=p,n=(0,t.t0)(t.t2,t.t3),r=n[0],(i=n[1])&&o.storage.remove(i),o.storage.set("geometries",r);case 16:case"end":return t.stop()}}),t)})));return function(){return e.apply(this,arguments)}}();t.storeWindowGeometry=x;var w=function(){var e=a(regeneratorRuntime.mark((function t(e){var n,i,a,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e={}),t.t0=e.fancy,!t.t0){t.next=6;break}return t.next=5,o.storage.get(p);case 5:t.t0=t.sent;case 6:return(n=t.t0)&&f.log("recalled geometry:",n),i=(null==n?void 0:n.pos)||e.pos,a=e.size,t.next=12,c;case 12:u=[window.screen.availWidth,window.screen.availHeight],a&&(a=[Math.min(u[0],a[0]),Math.min(u[1],a[1])],y(a)),i?(a&&e.locked&&(i=k(i,a)[1]),C(i)):a&&(i=(0,r.vecAdd)((0,r.vecScale)(u,.5),(0,r.vecScale)(a,-.5),(0,r.vecScale)(v,-1)),C(i));case 15:case"end":return t.stop()}}),t)})));return function(t){return e.apply(this,arguments)}}();t.recallWindowGeometry=w;var S=function(){var e=a(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=Byond.winget(window.__windowId__,"pos").then((function(e){return[e.x-window.screenLeft,e.y-window.screenTop]})),e.next=3,c;case 3:v=e.sent,f.debug("screen offset",v);case 5:case"end":return e.stop()}}),t)})));return function(){return e.apply(this,arguments)}}();t.setupDrag=S;var k=function(e,t){for(var n=N(),o=_(),r=[e[0],e[1]],i=!1,a=0;a<2;a++){var c=n[a],u=n[a]+o[a];e[a]<c?(r[a]=c,i=!0):e[a]+t[a]>u&&(r[a]=u-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){var t;f.log("drag start"),m=!0,u=[window.screenLeft-e.screenX,window.screenTop-e.screenY],null==(t=e.target)||t.focus(),document.addEventListener("mousemove",B),document.addEventListener("mouseup",E),B(e)};var E=function O(e){f.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",O),m=!1,x()},B=function(e){m&&(e.preventDefault(),C((0,r.vecAdd)([e.screenX,e.screenY],u)))};t.resizeStartHandler=function(e,t){return function(n){var o;l=[e,t],f.log("resize start",l),h=!0,u=[window.screenLeft-n.screenX,window.screenTop-n.screenY],s=[window.innerWidth,window.innerHeight],null==(o=n.target)||o.focus(),document.addEventListener("mousemove",L),document.addEventListener("mouseup",I),L(n)}};var I=function M(e){f.log("resize end",d),L(e),document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",M),h=!1,x()},L=function(e){h&&(e.preventDefault(),(d=(0,r.vecAdd)(s,(0,r.vecMultiply)(l,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),u,[1,1]))))[0]=Math.max(d[0],150),d[1]=Math.max(d[1],50),y(d))}},99397:function(e,t,n){"use strict";t.__esModule=!0,t.KeyEvent=t.removeScrollableNode=t.addScrollableNode=t.canStealFocus=t.setupGlobalEvents=t.globalEvents=void 0;var o=n(52844),r=n(57890),i=new o.EventEmitter;t.globalEvents=i;var a,c=!1;t.setupGlobalEvents=function(e){void 0===e&&(e={}),c=!!e.ignoreWindowFocus};var u=!0,l=function b(e,t){c?u=!0:(a&&(clearTimeout(a),a=null),t?a=setTimeout((function(){return b(e)})):u!==e&&(u=e,i.emit(e?"window-focus":"window-blur"),i.emit("window-focus-change",e)))},s=null,d=function(e){var t=String(e.tagName).toLowerCase();return"input"===t||"textarea"===t};t.canStealFocus=d;var f=function C(){s&&(s.removeEventListener("blur",C),s=null)},p=null,m=null,h=[];t.addScrollableNode=function(e){h.push(e)};t.removeScrollableNode=function(e){var t=h.indexOf(e);t>=0&&h.splice(t,1)};window.addEventListener("mousemove",(function(e){var t=e.target;t!==m&&(m=t,function(e){if(!s&&u)for(var t=document.body;e&&e!==t;){if(h.includes(e)){if(e.contains(p))return;return p=e,void e.focus()}e=e.parentNode}}(t))})),window.addEventListener("focusin",(function(e){if(m=null,p=e.target,l(!0),d(e.target))return t=e.target,f(),void(s=t).addEventListener("blur",f);var t})),window.addEventListener("focusout",(function(e){m=null,l(!1,!0)})),window.addEventListener("blur",(function(e){m=null,l(!1,!0)})),window.addEventListener("beforeunload",(function(e){l(!1)}));var v={},g=function(){function e(e,t,n){this.event=e,this.type=t,this.code=window.event?e.which:e.keyCode,this.ctrl=e.ctrlKey,this.shift=e.shiftKey,this.alt=e.altKey,this.repeat=!!n}var t=e.prototype;return t.hasModifierKeys=function(){return this.ctrl||this.alt||this.shift},t.isModifierKey=function(){return this.code===r.KEY_CTRL||this.code===r.KEY_SHIFT||this.code===r.KEY_ALT},t.isDown=function(){return"keydown"===this.type},t.isUp=function(){return"keyup"===this.type},t.toString=function(){return this._str||(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=r.KEY_F1&&this.code<=r.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]"),this._str},e}();t.KeyEvent=g,document.addEventListener("keydown",(function(e){if(!d(e.target)){var t=e.keyCode,n=new g(e,"keydown",v[t]);i.emit("keydown",n),i.emit("key",n),v[t]=!0}})),document.addEventListener("keyup",(function(e){if(!d(e.target)){var t=e.keyCode,n=new g(e,"keyup");i.emit("keyup",n),i.emit("key",n),v[t]=!1}}))},40509:function(e,t){"use strict";t.__esModule=!0,t.focusWindow=t.focusMap=void 0;t.focusMap=function(){Byond.winset("mapwindow.map",{focus:!0})};t.focusWindow=function(){Byond.winset(window.__windowId__,{focus:!0})}},1033:function(e,t,n){"use strict";t.__esModule=!0,t.formatTime=t.formatSiBaseTenUnit=t.formatDb=t.formatMoney=t.formatPower=t.formatSiUnit=void 0;var o=n(97622),r=["f","p","n","\u03bc","m"," ","k","M","G","T","P","E","Z","Y","R","Q","F","N","H"],i=r.indexOf(" "),a=function(e,t,n){if(void 0===t&&(t=-i),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var a=Math.floor(Math.log10(e)),c=Math.floor(Math.max(3*t,a)),u=Math.floor(a/3),l=Math.floor(c/3),s=(0,o.clamp)(i+l,0,r.length),d=r[s],f=e/Math.pow(1e3,l),p=u>t?2+3*l-c:0;return((0,o.toFixed)(f,p)+" "+d+n).trim()};t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c<r;c++)c>0&&c<i&&(i-c)%3==0&&(a+="\u2009"),a+=n.charAt(c);return a};t.formatDb=function(e){var t=20*Math.log(e)/Math.log(10),n=t>=0?"+":"\u2013",r=Math.abs(t);return n+(r=r===Infinity?"Inf":(0,o.toFixed)(r,2))+" dB"};var c=["","\xb7 10\xb3","\xb7 10\u2076","\xb7 10\u2079","\xb7 10\xb9\xb2","\xb7 10\xb9\u2075","\xb7 10\xb9\u2078","\xb7 10\xb2\xb9","\xb7 10\xb2\u2074","\xb7 10\xb2\u2077","\xb7 10\xb3\u2070","\xb7 10\xb3\xb3","\xb7 10\xb3\u2076","\xb7 10\xb3\u2079"],u=c.indexOf(" ");t.formatSiBaseTenUnit=function(e,t,n){if(void 0===t&&(t=-u),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var r=Math.floor(Math.log10(e)),i=Math.floor(Math.max(3*t,r)),a=Math.floor(r/3),l=Math.floor(i/3),s=(0,o.clamp)(u+l,0,c.length),d=c[s],f=e/Math.pow(1e3,l),p=a>t?2+3*l-i:0;return((0,o.toFixed)(f,p)+" "+d+" "+n).trim()};t.formatTime=function(e,t){var n=(0,o.toFixed)(Math.floor(e/10%60)),r=(0,o.toFixed)(Math.floor(e/600%60)),i=(0,o.toFixed)(Math.floor(e/36e3%24));switch(t){case"short":return""+(i>0?i+"h":"")+(r>0?r+"m":"")+(n>0?n+"s":"");default:var a=n.padStart(2,"0"),c=r.padStart(2,"0");return i.padStart(2,"0")+":"+c+":"+a}}},6965:function(e,t,n){"use strict";t.__esModule=!0,t.setupHotKeys=t.releaseHeldKeys=t.releaseHotKey=t.acquireHotKey=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{"default":e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=r?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}o["default"]=e,n&&n.set(e,o);return o}(n(57890)),r=n(99397);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}var a=(0,n(79926).createLogger)("hotkeys"),c={},u=[o.KEY_ESCAPE,o.KEY_ENTER,o.KEY_SPACE,o.KEY_TAB,o.KEY_CTRL,o.KEY_SHIFT,o.KEY_UP,o.KEY_DOWN,o.KEY_LEFT,o.KEY_RIGHT,o.KEY_F5],l={},s=function(e){var t=String(e);if("Ctrl+F5"!==t&&"Ctrl+R"!==t){if("Ctrl+F"!==t&&!(e.event.defaultPrevented||e.isModifierKey()||u.includes(e.code))){var n,o=16===(n=e.code)?"Shift":17===n?"Ctrl":18===n?"Alt":33===n?"Northeast":34===n?"Southeast":35===n?"Southwest":36===n?"Northwest":37===n?"West":38===n?"North":39===n?"East":40===n?"South":45===n?"Insert":46===n?"Delete":n>=48&&n<=57||n>=65&&n<=90?String.fromCharCode(n):n>=96&&n<=105?"Numpad"+(n-96):n>=112&&n<=123?"F"+(n-111):188===n?",":189===n?"-":190===n?".":void 0;if(o){var r=c[o];if(r)return a.debug("macro",r),Byond.command(r);if(e.isDown()&&!l[o]){l[o]=!0;var i='KeyDown "'+o+'"';return a.debug(i),Byond.command(i)}if(e.isUp()&&l[o]){l[o]=!1;var s='KeyUp "'+o+'"';return a.debug(s),Byond.command(s)}}}}else location.reload()};t.acquireHotKey=function(e){u.push(e)};t.releaseHotKey=function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)};var d=function(){for(var e=0,t=Object.keys(l);e<t.length;e++){var n=t[e];l[n]&&(l[n]=!1,a.log('releasing key "'+n+'"'),Byond.command('KeyUp "'+n+'"'))}};t.releaseHeldKeys=d;t.setupHotKeys=function(){Byond.winget("default.*").then((function(e){for(var t={},n=0,o=Object.keys(e);n<o.length;n++){var r=o[n],i=r.split("."),u=i[1],l=i[2];u&&l&&(t[u]||(t[u]={}),t[u][l]=e[r])}for(var s=/\\"/g,d=function(e){return e.substring(1,e.length-1).replace(s,'"')},f=0,p=Object.keys(t);f<p.length;f++){var m=t[p[f]],h=d(m.name);c[h]=d(m.command)}a.debug("loaded macros",c)})),r.globalEvents.on("window-blur",(function(){d()})),r.globalEvents.on("key",(function(e){s(e)}))}},64008:function(e,t,n){"use strict";t.__esModule=!0,t.AirlockElectronics=t.AirLockMainSection=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(52126),u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=n.data,l=(u.accesses,u.oneAccess),s=u.passedName,d=(u.regions,u.unres_direction),f=u.lastOperator;return(0,o.createComponentVNode)(2,i.Section,{title:"Main",children:[(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:["Last operator: ",f,"."]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Access Required",children:(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"One":"All",onClick:function(){return a("one_access")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unrestricted Access",children:[(0,o.createComponentVNode)(2,i.Button,{icon:1&d?"check-square-o":"square-o",content:"North",selected:1&d,onClick:function(){return a("direc_set",{unres_direction:"1"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:2&d?"check-square-o":"square-o",content:"South",selected:2&d,onClick:function(){return a("direc_set",{unres_direction:"2"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:4&d?"check-square-o":"square-o",content:"East",selected:4&d,onClick:function(){return a("direc_set",{unres_direction:"4"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:8&d?"check-square-o":"square-o",content:"West",selected:8&d,onClick:function(){return a("direc_set",{unres_direction:"8"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Airlock Name",children:(0,o.createComponentVNode)(2,i.Input,{fluid:!0,maxLength:30,value:s,onChange:function(e,t){return a("passedName",{passedName:t})}})})]}),(0,o.createComponentVNode)(2,c.AccessList,{accesses:u.regions,selectedList:u.accesses,accessMod:function(e){return a("set",{access:e})},grantAll:function(){return a("grant_all")},denyAll:function(){return a("clear_all")},grantDep:function(e){return a("grant_region",{region:e})},denyDep:function(e){return a("deny_region",{region:e})}})]})};t.AirLockMainSection=u;t.AirlockElectronics=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:420,height:550,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,u)})})}},72272:function(e,t,n){"use strict";t.__esModule=!0,t.Loader=t.AlertModal=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(2381),u=n(57890);function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).buttonRefs=[(0,o.createRef)()],t.state={current:0},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var s=r.prototype;return s.componentDidMount=function(){for(var e=(0,i.useBackend)(this.context).data.buttons,t=this.state.current,n=this.buttonRefs[t].current,r=1;r<e.length;r++)this.buttonRefs.push((0,o.createRef)());setTimeout((function(){return n.focus()}),1)},s.setCurrent=function(e,t){var n=(0,i.useBackend)(this.context).data.buttons;e>=n.length?e=t?e-1:0:e<0&&(e=t?0:n.length-1);var o=this.buttonRefs[e].current;o&&setTimeout((function(){return o.focus()}),1),this.setState({current:e})},s.render=function(){var e=this,t=(0,i.useBackend)(this.context),n=t.act,r=t.data,l=r.title,s=r.message,f=r.buttons,p=r.timeout,m=this.state.current,h=function(){return e.setCurrent(m,!1)};return(0,o.createComponentVNode)(2,c.Window,{title:l,width:350,height:150,canClose:p>0,children:[p&&(0,o.createComponentVNode)(2,d,{value:p}),(0,o.createComponentVNode)(2,c.Window.Content,{onFocus:h,onClick:h,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",className:"AlertModal__Message",textAlign:"center",children:(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{m:1,children:s})})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{my:2,children:(0,o.createComponentVNode)(2,a.Flex,{className:"AlertModal__Buttons",children:f.map((function(t,r){return(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,children:(0,o.createVNode)(1,"div","Button Button--color--default",t,0,{px:3,onClick:function(){return n("choose",{choice:t})},onKeyDown:function(o){var r=window.event?o.which:o.keyCode;r===u.KEY_SPACE||r===u.KEY_ENTER?n("choose",{choice:t}):r===u.KEY_LEFT||o.shiftKey&&r===u.KEY_TAB?e.setCurrent(m-1,r===u.KEY_LEFT):r!==u.KEY_RIGHT&&r!==u.KEY_TAB||e.setCurrent(m+1,r===u.KEY_RIGHT)}},null,e.buttonRefs[r])},r)}))})})]})})})]})},r}(o.Component);t.AlertModal=s;var d=function(e){var t=e.value;return(0,o.createVNode)(1,"div","AlertModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"AlertModal__LoaderProgress",style:{width:100*(0,r.clamp01)(t)+"%"}}),2)};t.Loader=d},48349:function(e,t,n){"use strict";t.__esModule=!0,t.Apc=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(19447);t.Apc=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:450,height:445,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var u={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"}},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,s=l.locked,d=l.isOperating,f=l.externalPower,p=l.powerCellStatus,m=l.powerCellCharge,h=l.chargeMode,v=l.charging,g=l.totalLoad,b=l.coverLocked,C=l.siliconUser,y=l.malfCanHack,N=l.nightshiftLights,_=l.smartlightMode,V=l.powerChannels,x=s&&!C,w=u[f]||u[0],S=u[v]||u[0],k=V||[];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:w.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d&&!x,disabled:x,onClick:function(){return a("breaker")}}),children:["[ ",w.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:!!p&&(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",fractionDigits:1,value:.01*m})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Power cell removed"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:S.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sync":"times",content:h?"Auto":"Off",disabled:x,onClick:function(){return a("charge")}}),children:["[ ",S.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[k.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!x&&(1===e.status||3===e.status),disabled:x,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!x&&2===e.status,disabled:x,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!x&&0===e.status,disabled:x,onClick:function(){return a("channel",t.off)}})],4),children:e.powerLoad},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:(0,o.createVNode)(1,"b",null,g,0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!C&&(0,o.createFragment)([!!y&&(0,o.createComponentVNode)(2,i.Button,{icon:"terminal",content:"Override Programming",color:"bad",onClick:function(){return a("hack")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"lock":"unlock",content:b?"Engaged":"Disengaged",disabled:x,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:N?"Enabled":"Disabled",onClick:function(){return a("toggle_nightshift")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Lighting Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:_,onClick:function(){return a("change_smartlight")}})})]})})],4)}},47533:function(e,t,n){"use strict";t.__esModule=!0,t.Materials=t.Autolathe=void 0;var o=n(96323),r=n(32416),i=n(1397),a=n(31246),c=n(26949),u=n(2381),l=n(21118),s=n(1060),d=n(1033),f=n(97622);t.Autolathe=function(e,t){var n=(0,a.useBackend)(t),d=n.act,f=n.data,g=f.recipes,b=f.busy,C=f.materials,y=f.categories,N=f.coeff,_=(0,a.useSharedState)(t,"category",0),V=_[0],x=_[1],w=(0,a.useSharedState)(t,"searchText",""),S=w[0],k=w[1],E=(0,l.createSearch)(S,(function(e){return e.name})),B=(0,r.flow)([(0,i.filter)((function(e){return e.category===y[V]||"All"===y[V]})),S&&(0,i.filter)(E),(0,i.sortBy)((function(e){return e.name.toLowerCase()}))])(g),I=(0,r.flow)([(0,i.sortBy)((function(e){return e.toLowerCase()}))])(y);return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Materials",children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:(0,o.createComponentVNode)(2,v)})}),(0,o.createComponentVNode)(2,c.Section,{title:"Recipes",buttons:(0,o.createComponentVNode)(2,c.Dropdown,{width:"190px",options:I,selected:y[V],onSelected:function(e){return x(y.indexOf(e))}}),children:[(0,o.createComponentVNode)(2,c.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return k(t)},mb:1}),B.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{justify:"space-between",align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{mr:1,children:(0,o.createVNode)(1,"span",(0,s.classes)(["autolathe32x32",e.path]),null,1,{style:{"vertical-align":"middle","horizontal-align":"middle"}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,c.Button,{color:e.hidden?"red":null,icon:"hammer",iconSpin:b===e.name,disabled:!m(e,C),onClick:function(){return d("make",{make:e.ref})},children:(0,l.toTitleCase)(e.name)}),e.max_mult>1&&(0,o.createComponentVNode)(2,c.Box,{as:"span",children:[5,10,e.max_mult/2>>0,e.max_mult].map((function(t){return h(e,C,d,t)}))})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{width:"30%",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",visibility:"collapse",children:e.requirements&&Object.keys(e.requirements).map((function(t){return(0,o.createComponentVNode)(2,c.Flex,{width:"100%",children:e.requirements[t]>0&&(0,o.createComponentVNode)(2,p,{name:t,amount:e.requirements[t]/N,formatsi:!0,csspath:C.find((function(e){return e.name===t})).path,width:"50%"})||(0,o.createComponentVNode)(2,c.Flex,{width:"50%"})},t)}))||(0,o.createComponentVNode)(2,c.Box,{children:"No resources required."})})})]},e.ref)}))]})]})})};var p=function(e,t){var n=e.name,r=e.csspath,i=e.amount,a=e.color,u=e.style,p=e.direction,m=e.width,h=e.formatsi,v=e.formatmoney,g="0";return g=i<1&&i>0?(0,f.toFixed)(i,2):h?(0,d.formatSiUnit)(i,0).replace(" ",""):v?(0,d.formatMoney)(i):i,(0,o.createComponentVNode)(2,c.Flex,{direction:p,align:"center",width:m,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Box,{className:(0,s.classes)(["sheetmaterials32x32",r]),position:"relative",style:u,children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:(0,l.toTitleCase)(n)})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Box,{textColor:a,style:{"text-align":"center"},children:g})})]})},m=function(e,t,n){if(void 0===n&&(n=1),null===e.requirements)return!0;for(var o=Object.keys(e.requirements),r=function(){var o=a[i],r=t.find((function(e){return e.name===o}));return r?r.amount<e.requirements[o]*n?{v:!1}:void 0:"continue"},i=0,a=o;i<a.length;i++){var c=r();if("continue"!==c&&"object"==typeof c)return c.v}return!0},h=function(e,t,n,r){if(r<=e.max_mult)return(0,o.createComponentVNode)(2,c.Button,{color:e.hidden?"red":null,disabled:!m(e,t,r),onClick:function(){return n("make",{make:e.ref,multiplier:r})},children:["x",r]})},v=function(e,t){var n=(0,a.useBackend)(t).data,r=e.displayAllMat,i=(n.materials||[]).filter((function(e){return r||e.amount>0}));return 0===i.length?(0,o.createComponentVNode)(2,c.Box,{width:"100%",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{textAlign:"center",size:5,name:"inbox"}),(0,o.createVNode)(1,"br"),(0,o.createVNode)(1,"b",null,"No Materials Loaded.",16)]}):(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{width:"80px",children:[(0,o.createComponentVNode)(2,p,{name:e.name,amount:e.amount,csspath:e.path,formatsi:!0,direction:"column"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,style:{"text-align":"center"}})]},e.name)||null}))})};t.Materials=v},15466:function(e,t,n){"use strict";t.__esModule=!0,t.BloomEdit=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.BloomEdit=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.glow_brightness_base,s=u.glow_brightness_power,d=u.glow_contrast_base,f=u.glow_contrast_power,p=u.exposure_brightness_base,m=u.exposure_brightness_power,h=u.exposure_contrast_base,v=u.exposure_contrast_power;return(0,o.createComponentVNode)(2,a.Window,{title:"BloomEdit",width:500,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Bloom Edit",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Brightness Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u044f\u0440\u043a\u043e\u0441\u0442\u044c \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:l,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_brightness_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Brightness Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:s,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_brightness_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Contrast Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:d,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_contrast_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Contrast Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:f,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_contrast_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Brightness Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:p,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_brightness_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Brightness Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:m,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_brightness_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Contrast Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:h,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_contrast_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Contrast Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:v,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_contrast_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{content:"\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043b\u0430\u043c\u043f\u044b \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438",onClick:function(){return c("update_lamps")}}),(0,o.createComponentVNode)(2,i.Button,{content:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",onClick:function(){return c("default")}})]})]})})})})}},83548:function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleContent=t.CameraConsole=t.selectCameras=t.prevNextCamera=void 0;var o=n(96323),r=n(1397),i=n(32416),a=n(1060),c=n(21118),u=n(31246),l=n(26949),s=n(2381),d=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]};t.prevNextCamera=d;var f=function(e,t){void 0===t&&(t="");var n=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(n),(0,r.sortBy)((function(e){return e.name}))])(e)};t.selectCameras=f;t.CameraConsole=function(e,t){Byond.winget("mapwindow.map","style").then((function(e){Byond.winset(a,"style",e)}));var n=(0,u.useBackend)(t),r=n.act,i=n.data,a=i.mapRef,c=i.activeCamera,m=f(i.cameras),h=d(m,c),v=h[0],g=h[1];return(0,o.createComponentVNode)(2,s.Window,{width:870,height:708,children:[(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,s.Window.Content,{children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,l.Button,{icon:"chevron-left",disabled:!v,onClick:function(){return r("switch_camera",{name:v})}}),(0,o.createComponentVNode)(2,l.Button,{icon:"chevron-right",disabled:!g,onClick:function(){return r("switch_camera",{name:g})}})],4),(0,o.createComponentVNode)(2,l.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)]})};var p=function(e,t){var n=(0,u.useBackend)(t),r=n.act,i=n.data,c=(0,u.useLocalState)(t,"searchText",""),s=c[0],d=c[1],p=i.activeCamera,m=f(i.cameras,s);return(0,o.createComponentVNode)(2,l.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,l.Flex.Item,{children:(0,o.createComponentVNode)(2,l.Input,{autoFocus:!0,fluid:!0,mt:1,placeholder:"Search for a camera",onInput:function(e,t){return d(t)}})}),(0,o.createComponentVNode)(2,l.Flex.Item,{height:"100%",children:(0,o.createComponentVNode)(2,l.Section,{fill:!0,scrollable:!0,children:m.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",p&&e.name===p.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){return r("switch_camera",{name:e.name})}},e.name)}))})})]})};t.CameraConsoleContent=p},98566:function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(1033),u=n(2381);t.Canister=function(e,t){var n=(0,i.useBackend)(t),l=n.act,s=n.data,d=s.name,f=s.canLabel,p=s.portConnected,m=s.tankPressure,h=s.releasePressure,v=s.defaultReleasePressure,g=s.minReleasePressure,b=s.maxReleasePressure,C=s.valveOpen,y=s.hasHoldingTank,N=s.holdingTank;return(0,o.createComponentVNode)(2,u.Window,{width:300,height:232,children:(0,o.createComponentVNode)(2,u.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:d,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Relabel",disabled:!f,onClick:function(){return l("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{size:1.25,color:!!C&&"yellow",value:h,unit:"kPa",minValue:g,maxValue:b,step:5,stepPixelSize:1,onDrag:function(e,t){return l("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return l("pressure",{pressure:b})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return l("pressure",{pressure:v})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:C?y?"caution":"danger":null,content:C?"Open":"Closed",onClick:function(){return l("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:p?"plug":"times",color:p?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:p?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!y&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:C&&"danger",content:"Eject",onClick:function(){return l("eject")}}),children:[!!y&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.tankPressure})," kPa"]})]}),!y&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},6789:function(e,t,n){"use strict";t.__esModule=!0,t.Canvas=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=["res","value","dotsize"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).canvasRef=(0,o.createRef)(),n.onCVClick=t.onCanvasClick,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.componentDidMount=function(){this.drawCanvas(this.props)},i.componentDidUpdate=function(){this.drawCanvas(this.props)},i.drawCanvas=function(e){var t=this.canvasRef.current.getContext("2d"),n=e.value,o=n.length;if(o){var r=n[0].length,i=Math.round(this.canvasRef.current.width/o),a=Math.round(this.canvasRef.current.height/r);t.save(),t.scale(i,a);for(var c=0;c<n.length;c++)for(var u=n[c],l=0;l<u.length;l++){var s=u[l];t.fillStyle=s,t.fillRect(c,l,1,1)}t.restore()}},i.clickwrapper=function(e){var t=this.props.value.length;if(t){var n=this.props.value[0].length,o=this.canvasRef.current.width/t,r=this.canvasRef.current.height/n,i=Math.floor(e.offsetX/o)+1,a=Math.floor(e.offsetY/r)+1;this.onCVClick(i,a)}},i.render=function(){var e=this,t=this.props,n=(t.res,t.value),r=t.dotsize,i=void 0===r?24:r,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,c),u=s(n),l=u[0],d=u[1];return(0,o.normalizeProps)((0,o.createVNode)(1,"canvas",null,"Canvas failed to render.",16,Object.assign({width:l*i||300,height:d*i||300},a,{onClick:function(t){return e.clickwrapper(t)}}),null,this.canvasRef))},r}(o.Component),s=function(e){var t=e.length;return[t,0!==t?e[0].length:0]};t.Canvas=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,d=s(u.grid),f=d[0],p=d[1];return(0,o.createComponentVNode)(2,a.Window,{width:Math.min(700,24*f+72),height:Math.min(700,24*p+72),children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,l,{value:u.grid,dotsize:24,onCanvasClick:function(e,t){return c("paint",{x:e,y:t})}}),(0,o.createComponentVNode)(2,i.Box,{children:[!u.finalized&&(0,o.createComponentVNode)(2,i.Button.Confirm,{onClick:function(){return c("finalize")},content:"Finalize"}),u.name]})]})})})}},60301:function(e,t,n){"use strict";t.__esModule=!0,t.CardPay=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(97968);t.CardPay=function(e,t){for(var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.numbers,d=l.reset_numbers,f=l.mode,p=[],m=function(e){for(var t=function(t){p.push((0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--normal",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--normal",children:3*e+t}),onClick:function(){return u("pressnumber",{number:3*e+t})}}))},n=1;n<4;n++)t(n)},h=0;h<3;h++)m(h);return(0,o.createComponentVNode)(2,a.Window,{theme:"",width:220,height:340,titleClassName:"cardpay_window-titlebar",children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"cardpay_window-contents",children:[(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_monitor",children:(0,o.createComponentVNode)(2,c.SegmentDisplay,{display_cells_amount:8,display_height:40,display_text:function(){var e="",t=s.toString();switch(f){case"Mode_EnterPin":e+="PIN:"+(s?t:"-");for(var n=1;n<=4-t.length;n++)e+="-";break;case"Mode_Account":e+="N\xb0"+(s?t:"-");for(var o=1;o<=6-t.length;o++)e+="-";break;case"Mode_Pay":e+="N\xb0"+(s?t:"-");for(var r=1;r<=6-t.length;r++)e+="-";break;case"Mode_Idle":for(var i=1;i<=3-t.length;i++)e+="-";e+=(s?t:"-")+"$"}return e}()})}),(0,o.createComponentVNode)(2,i.Box,{width:"158px",height:"208px",position:"absolute",left:"32px",top:"95px",children:[p,(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--red",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--red",children:"X"}),onClick:function(){return u("clearnumbers")}}),(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--normal",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--normal",children:0}),onClick:function(){return u("pressnumber",{number:0})}}),(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--green",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--green",children:"O"}),onClick:function(){return u("approveprice")}})]}),(0,o.createComponentVNode)(2,i.Box,{position:"absolute",top:"62px",left:"25px",textColor:"#333344",fontSize:.85,bold:1,children:["\u0441\u0431\u0440\u043e\u0441",(0,o.createComponentVNode)(2,i.Button,{position:"absolute",top:"15px",left:"10px",className:"cardpay_resethole",onClick:function(){return u("toggleenteraccount")}})]}),(0,o.createComponentVNode)(2,i.Button,{selected:d?1:0,position:"absolute",top:"60px",left:"140px",className:"cardpay_switch",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_switch-inside",children:"|||"}),onClick:function(){return u("togglereset")}})]})})}},68078:function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(2381);t.ChemDispenser=function(e,t){var n=(0,i.useBackend)(t),u=n.act,l=n.data,s=l.amount,d=l.energy,f=l.maxEnergy,p=l.isBeakerLoaded,m=l.glass,h=l.beakerContents,v=l.beakerCurrentVolume,g=l.beakerMaxVolume,b=l.chemicals;return(0,o.createComponentVNode)(2,c.Window,{width:420,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Energy",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d/f,children:(0,r.toFixed)(d)+" units"})})})}),(0,o.createComponentVNode)(2,a.Section,{title:"Dispense",buttons:(0,o.createFragment)([[5,10,20,30,40].map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"plus",align:"center",content:e,selected:e===s,onClick:function(){return u("change_amount",{new_amount:e})}},e)})),(0,o.createComponentVNode)(2,a.NumberInput,{width:"40px",animated:1,step:5,minValue:1,maxValue:100,stepPixelSize:3,value:s,onChange:function(e,t){return u("change_amount",{new_amount:t})}})],0),children:b.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{disabled:!p,icon:"tint",width:"130px",lineHeight:1.75,content:e.title,onClick:function(){return u("dispense",{chemical:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,a.Section,{title:(m?"Glass":"Beaker")+" contents",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Eject beaker",icon:"eject",disabled:!p,onClick:function(){return u("eject_beaker")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"Glass":"Beaker",children:p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.AnimatedNumber,{initial:0,value:v}),(0,o.createTextVNode)("/"),g,(0,o.createTextVNode)(" units")],0)||"No "+(m?"glass":"beaker")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:p?0===h.length&&"Nothing":"N/A"}),h.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{color:"label",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{initial:0,value:e.volume})," ","units of ",e.name]},e.name)}))]})]})})]})})}},10996:function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=[{label:"\u0410\u0441\u0444\u0438\u043a\u0441\u0438\u044f",type:"oxyLoss"},{label:"\u0418\u043d\u0442\u043e\u043a\u0441\u0438\u043a\u0430\u0446\u0438\u044f",type:"toxLoss"},{label:"\u041c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"bruteLoss"},{label:"\u0422\u0435\u0440\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"fireLoss"},{label:"\u0413\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"cloneLoss"}],u=[["good","\u0412 \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u044f"],["bad","\u041c\u0451\u0440\u0442\u0432"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:425,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.isOperating,f=l.hasOccupant,p=l.occupant,m=void 0===p?[]:p,h=l.cellTemperature,v=l.cellTemperatureStatus,g=l.isBeakerLoaded,b=l.isOpen,C=l.hasAir;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"\u041f\u0430\u0446\u0438\u0435\u043d\u0442",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"toggle-off":"toggle-on",onClick:function(){return a(b?"close":"open")},selected:!b,children:b?"\u041e\u0442\u043a\u0440\u044b\u0442\u043e":"\u0417\u0430\u043a\u0440\u044b\u0442\u043e"}),children:f?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u041f\u0430\u0446\u0438\u0435\u043d\u0442",children:m.name||"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0417\u0434\u043e\u0440\u043e\u0432\u044c\u0435",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:m.health,max:m.maxHealth,value:m.health/m.maxHealth,color:m.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435",color:u[m.stat][0],children:u[m.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m[e.type]/100,ranges:{bad:[.25,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"\u041f\u0430\u0446\u0438\u0435\u043d\u0442 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"\u041a\u0430\u043f\u0441\u0443\u043b\u0430",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"\u0418\u0437\u0432\u043b\u0435\u0447\u044c \u0441\u043e\u0441\u0443\u0434"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u041f\u0438\u0442\u0430\u043d\u0438\u0435",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(d?"switchOff":"switchOn")},selected:d,disabled:b||!C,children:d?"\u0412\u043a\u043b":"\u0412\u044b\u043a\u043b"})}),C?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0432\u043e\u0437\u0434\u0443\u0445\u0430",color:v,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}):(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u043e\u0437\u0434\u0443\u0445\u0430",color:"bad",children:"\u041d\u0435\u0442 \u0432\u043e\u0437\u0434\u0443\u0445\u0430"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0443\u0434",children:(0,o.createComponentVNode)(2,s)})]})})],4)},s=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,u=a.beakerVolume;return c?(0,o.createComponentVNode)(2,i.Box,{color:!u&&"bad",children:u?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:u,format:function(e){return Math.round(e)+" \u044e\u043d\u0438\u0442\u043e\u0432 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c"}}):"\u0421\u043e\u0441\u0443\u0434 \u043f\u0443\u0441\u0442"}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"})}},26617:function(e,t,n){"use strict";t.__esModule=!0,t.CustomAnnounce=void 0;var o=n(96323),r=n(31246),i=n(2381),a=n(26949);t.CustomAnnounce=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:500,children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,position:"relative",children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Preview",fill:!0,children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,fontSize:"24px",children:null===u.title?"<NO TITLE>":u.title}),(0,o.createComponentVNode)(2,a.Box,{fontSize:"18px",children:null===u.subtitle?"<NO SUBTITLE>":u.subtitle}),(0,o.createComponentVNode)(2,a.Box,{mt:2,children:null===u.message?"<NO MESSAGE>":u.message}),(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:[null!==u.announcer&&"-"," ",u.announcer]}),(0,o.createComponentVNode)(2,a.Box,{mt:2,children:['Current sound is "',u.sound,'"']})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,mb:1,children:(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Content",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Title",icon:"heading",onClick:function(){return c("title")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Subtitle",icon:"paragraph",onClick:function(){return c("subtitle")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Message",icon:"pencil-alt",onClick:function(){return c("message")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,mr:2,content:"Announcer",icon:"bullhorn",onClick:function(){return c("announcer")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Chat",icon:"comments",selected:u.flags.text,onClick:function(){return c("flag_text")}}),(0,o.createComponentVNode)(2,a.Button,{mx:1,content:"Sound",icon:"volume-up",selected:u.flags.sound,onClick:function(){return c("flag_sound")}}),(0,o.createComponentVNode)(2,a.Button,{content:"Consoles",icon:"sticky-note",selected:u.flags.comms,onClick:function(){return c("flag_comms")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sound",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Existing",icon:"list",disabled:!u.rights.funevent,onClick:function(){return c("sound_select")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Upload",icon:"file-upload",disabled:!(u.rights.sound&&u.rights.funevent),onClick:function(){return c("sound_upload")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,ml:1,value:parseInt(u.volume,10),disabled:!(u.rights.sound&&u.rights.funevent),width:"60px",step:1,unit:"%",minValue:0,maxValue:200,onChange:function(e,t){return c("volume",{volume:t})}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Test",icon:"user",onClick:function(){return c("test",{source:"admin"})}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Sample",icon:"closed-captioning",onClick:function(){return c("test",{source:"sample"})}})]})]}),(0,o.createComponentVNode)(2,a.Box,{mt:2,mb:1,children:(0,o.createComponentVNode)(2,a.Button,{content:"Select preset",icon:"archive",disabled:!u.rights.funevent,onClick:function(){return c("preset_select")}})}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Make an announcement",onClick:function(){return c("announce")}})})]})})]})})}},69974:function(e,t,n){"use strict";t.__esModule=!0,t.DisposalUnit=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.DisposalUnit=function(e,t){var n,c,u=(0,r.useBackend)(t),l=u.act,s=u.data;return 2===s.mode?(n="good",c="Ready"):0===s.mode?(n="bad",c="Off"):s.mode<0?(n="bad",c="N/A"):1===s.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:180,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:s.pressure,minValue:0,maxValue:100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:s.flushing?null:"selected",onClick:function(){return l("handle-0")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing?"selected":null,onClick:function(){return l("handle-1")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:s.mode?null:"selected",onClick:function(){return l("pump-0")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode?"selected":null,onClick:function(){return l("pump-1")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return l("eject")}})})]})})})})}},10704:function(e,t,n){"use strict";t.__esModule=!0,t.EmotePanelEditor=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.EmotePanelEditor=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.customEmotes,s=u.allHumanEmotes;return(0,o.createComponentVNode)(2,a.Window,{width:250,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:s.sort().map((function(e){return(0,o.createComponentVNode)(2,i.Box,{fontSize:"20px",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:l.includes(e),onClick:function(){return c("switchEmote",{emote:e})},content:e})},e)}))})})}},53600:function(e,t,n){"use strict";t.__esModule=!0,t.Filteriffic=void 0;var o=n(96323),r=n(1397),i=n(97622),a=n(97622),c=n(31246),u=n(26949),l=n(2381),s=["type","priority"];var d=function(e,t){var n=e.value,r=e.name,i=e.filterName,a=(0,c.useBackend)(t).act;return(0,o.createComponentVNode)(2,u.NumberInput,{value:n,minValue:-500,maxValue:500,stepPixelSize:5,width:"39px",onDrag:function(e,t){var n;return a("modify_filter_value",{name:i,new_data:(n={},n[r]=t,n)})}})},f=function(e,t){var n=e.value,r=e.name,l=e.filterName,s=(0,c.useBackend)(t).act,d=(0,c.useLocalState)(t,l+"-"+r,.01),f=d[0],p=d[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.NumberInput,{value:n,minValue:-500,maxValue:500,stepPixelSize:4,step:f,format:function(e){return(0,i.toFixed)(e,(0,a.numberOfDecimalDigits)(f))},width:"80px",onDrag:function(e,t){var n;return s("transition_filter_value",{name:l,new_data:(n={},n[r]=t,n)})}}),(0,o.createComponentVNode)(2,u.Box,{inline:!0,ml:2,mr:1,children:"Step:"}),(0,o.createComponentVNode)(2,u.NumberInput,{value:f,step:.01,format:function(e){return(0,i.toFixed)(e,4)},width:"70px",onChange:function(e,t){return p(t)}})],4)},p=function(e,t){var n=e.value,r=e.name,i=e.filterName,a=(0,c.useBackend)(t).act;return(0,o.createComponentVNode)(2,u.Input,{value:n,width:"250px",onInput:function(e,t){var n;return a("modify_filter_value",{name:i,new_data:(n={},n[r]=t,n)})}})},m=function(e,t){var n=e.value,r=e.filterName,i=e.name,a=(0,c.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Button,{icon:"pencil-alt",onClick:function(){return a("modify_color_value",{name:r})}}),(0,o.createComponentVNode)(2,u.ColorBox,{color:n,mr:.5}),(0,o.createComponentVNode)(2,u.Input,{value:n,width:"90px",onInput:function(e,t){var n;return a("transition_filter_value",{name:r,new_data:(n={},n[i]=t,n)})}})],4)},h=function(e,t){var n=e.value,r=e.filterName,i=(0,c.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Button,{icon:"pencil-alt",onClick:function(){return i("modify_icon_value",{name:r})}}),(0,o.createComponentVNode)(2,u.Box,{inline:!0,ml:1,children:n})],4)},v=function(e,t){var n=e.name,i=e.value,a=e.filterName,l=e.filterType,s=(0,c.useBackend)(t),d=s.act,f=s.data.filter_info[l].flags;return(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,u.Button.Checkbox,{checked:i&e,content:t,onClick:function(){var t;return d("modify_filter_value",{name:a,new_data:(t={},t[n]=i^e,t)})}})}))(f)},g=function(e,t){var n=e.name,r=(e.value,e.hasValue),i=(e.filterName,{int:(0,o.normalizeProps)((0,o.createComponentVNode)(2,d,Object.assign({},e))),float:(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({},e))),string:(0,o.normalizeProps)((0,o.createComponentVNode)(2,p,Object.assign({},e))),color:(0,o.normalizeProps)((0,o.createComponentVNode)(2,m,Object.assign({},e))),icon:(0,o.normalizeProps)((0,o.createComponentVNode)(2,h,Object.assign({},e))),flags:(0,o.normalizeProps)((0,o.createComponentVNode)(2,v,Object.assign({},e)))});return(0,o.createComponentVNode)(2,u.LabeledList.Item,{label:n,children:[i[{x:"float",y:"float",icon:"icon",render_source:"string",flags:"flags",size:"float",color:"color",offset:"float",radius:"float",falloff:"float",density:"int",threshold:"float",factor:"float",repeat:"int"}[n]]||"Not Found (This is an error)"," ",!r&&(0,o.createComponentVNode)(2,u.Box,{inline:!0,color:"average",children:"(Default)"})]})},b=function(e,t){var n=(0,c.useBackend)(t),r=n.act,i=n.data,a=e.name,l=e.filterDataEntry,d=l.type,f=l.priority,p=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(l,s),m=i.filter_info,h=Object.keys(m[d].defaults);return(0,o.createComponentVNode)(2,u.Collapsible,{title:a+" ("+d+")",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,u.NumberInput,{value:f,stepPixelSize:10,width:"60px",onChange:function(e,t){return r("change_priority",{name:a,new_priority:t})}}),(0,o.createComponentVNode)(2,u.Button.Input,{content:"Rename",placeholder:a,onCommit:function(e,t){return r("rename_filter",{name:a,new_name:t})},width:"90px"}),(0,o.createComponentVNode)(2,u.Button.Confirm,{icon:"minus",onClick:function(){return r("remove_filter",{name:a})}})],4),children:(0,o.createComponentVNode)(2,u.Section,{level:2,children:(0,o.createComponentVNode)(2,u.LabeledList,{children:h.map((function(e){var t=m[d].defaults,n=p[e]||t[e],r=n!==t[e];return(0,o.createComponentVNode)(2,g,{filterName:a,filterType:d,name:e,value:n,hasValue:r},e)}))})})})};t.Filteriffic=function(e,t){var n=(0,c.useBackend)(t),i=n.act,a=n.data,s=a.target_name||"Unknown Object",d=a.target_filter_data||{},f=0!==Object.keys(d).length,p=a.filter_info,m=(0,c.useLocalState)(t,"massApplyPath",""),h=m[0],v=m[1],g=(0,c.useLocalState)(t,"hidden",!1),C=g[0],y=g[1];return(0,o.createComponentVNode)(2,l.Window,{title:"Filteriffic",width:500,height:500,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,u.NoticeBox,{danger:!0,children:"DO NOT MESS WITH EXISTING FILTERS IF YOU DO NOT KNOW THE CONSEQUENCES. YOU HAVE BEEN WARNED."}),(0,o.createComponentVNode)(2,u.Section,{title:C?(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Box,{mr:.5,inline:!0,children:"MASS EDIT:"}),(0,o.createComponentVNode)(2,u.Input,{value:h,width:"100px",onInput:function(e,t){return v(t)}}),(0,o.createComponentVNode)(2,u.Button.Confirm,{content:"Apply",confirmContent:"ARE YOU SURE?",onClick:function(){return i("mass_apply",{path:h})}})],4):(0,o.createComponentVNode)(2,u.Box,{inline:!0,onDblClick:function(){return y(!0)},children:s}),buttons:(0,o.createComponentVNode)(2,u.Dropdown,{icon:"plus",displayText:"Add Filter",nochevron:!0,options:Object.keys(p),onSelected:function(e){return i("add_filter",{name:"default",priority:10,type:e})}}),children:f?(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,b,{filterDataEntry:e,name:t},t)}))(d):(0,o.createComponentVNode)(2,u.Box,{children:"No filters"})})]})})}},24482:function(e,t,n){"use strict";t.__esModule=!0,t.GPS=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e){return e?"("+e.join(", ")+")":"ERROR"};t.GPS=function(e,t){var n=(0,r.useBackend)(t).data,c=n.emped,f=n.active,p=n.area,m=n.position,h=n.saved;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Flex,{direction:"column",height:"100%",children:c?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"0",children:(0,o.createComponentVNode)(2,u,{emp:!0})}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,l)}),f?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",children:(0,o.createComponentVNode)(2,s,{area:p,position:m})}),h&&(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",children:(0,o.createComponentVNode)(2,s,{title:"Saved Position",position:h})}),(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,o.createComponentVNode)(2,d,{height:"100%"})})],0):(0,o.createComponentVNode)(2,u)],0)})})})};var u=function(e,t){var n=e.emp;return(0,o.createComponentVNode)(2,i.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,o.createComponentVNode)(2,i.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:n?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),n?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.active,l=c.tag,s=c.same_z,d=(0,r.useLocalState)(t,"newTag",l),f=d[0],p=d[1];return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",buttons:(0,o.createComponentVNode)(2,i.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return a("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tag",children:[(0,o.createComponentVNode)(2,i.Input,{width:"5rem",value:l,onEnter:function(){return a("tag",{newtag:f})},onInput:function(e,t){return p(t)}}),(0,o.createComponentVNode)(2,i.Button,{disabled:l===f,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){return a("tag",{newtag:f})},children:(0,o.createComponentVNode)(2,i.Icon,{name:"pen"})})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,i.Button,{selected:!s,icon:s?"compress":"expand",content:s?"Local Sector":"Global",onClick:function(){return a("same_z")}})})]})})},s=function(e,t){var n=e.title,r=e.area,a=e.position;return(0,o.createComponentVNode)(2,i.Section,{title:n||"Position",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",children:[r&&(0,o.createFragment)([r,(0,o.createVNode)(1,"br")],0),c(a)]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.position,u=n.signals;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Section,Object.assign({title:"Signals",overflow:"auto"},e,{children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return Object.assign({},e,function(e,t){if(e&&t){if(e[2]!==t[2])return null;var n,o=Math.atan2(t[1]-e[1],t[0]-e[0]),r=Math.sqrt(Math.pow(t[1]-e[1],2)+Math.pow(t[0]-e[0],2));return{angle:(n=o,n*(180/Math.PI)),distance:r}}}(a,e.position))})).map((function(e,t){return(0,o.createComponentVNode)(2,i.Table.Row,{backgroundColor:t%2==0&&"rgba(255, 255, 255, 0.05)",children:[(0,o.createComponentVNode)(2,i.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:e.tag}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",color:"grey",children:e.area}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:e.distance!==undefined&&(0,o.createComponentVNode)(2,i.Box,{opacity:Math.max(1-Math.min(e.distance,100)/100,.5),children:[(0,o.createComponentVNode)(2,i.Icon,{name:e.distance>0?"arrow-right":"circle",rotation:-e.angle}),"\xa0",Math.floor(e.distance)+"m"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:c(e.position)})]},t)}))})})))}},19609:function(e,t,n){"use strict";t.__esModule=!0,t.GuestPass=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(52126);t.GuestPass=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"id-card",selected:!l.showlogs,onClick:function(){return u("mode",{mode:0})},children:"Issue Pass"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"scroll",selected:l.showlogs,onClick:function(){return u("mode",{mode:1})},children:["Records (",l.issue_log.length,")"]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Authorization",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Card",children:(0,o.createComponentVNode)(2,i.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(){return u("scan")}})})})}),!l.showlogs&&(0,o.createComponentVNode)(2,i.Section,{title:"Issue Guest Pass",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Issue To",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.giv_name?l.giv_name:"-----",disabled:!l.scan_name,onClick:function(){return u("giv_name")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Reason",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.reason?l.reason:"-----",disabled:!l.scan_name,onClick:function(){return u("reason")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.duration?l.duration:"-----",disabled:!l.scan_name,onClick:function(){return u("duration")}})})]}),!!l.scan_name&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.AccessList,{grantableList:l.grantableList,accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(e){return u("access",{access:e})},grantAll:function(){return u("grant_all")},denyAll:function(){return u("clear_all")},grantDep:function(e){return u("grant_region",{region:e})},denyDep:function(e){return u("deny_region",{region:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:l.printmsg,disabled:!l.canprint,onClick:function(){return u("issue")}})],4)]}),!!l.showlogs&&(0,o.createComponentVNode)(2,i.Section,{title:"Issuance Log",children:!!l.issue_log.length&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.issue_log.map((function(e,t){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:e},t)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"print",content:"Print",disabled:!l.scan_name,onClick:function(){return u("print")}})],4)||(0,o.createComponentVNode)(2,i.Box,{children:"None."})})]})})}},96696:function(e,t,n){"use strict";t.__esModule=!0,t.Loader=t.ListInput=void 0;var o=n(96323),r=n(21118),i=n(97622),a=n(31246),c=n(26949),u=n(2381),l=n(57890),s=n(6965),d=0;t.ListInput=function(e,t){var n=(0,a.useBackend)(t),i=n.act,p=n.data,m=p.title,h=p.message,v=p.buttons,g=p.timeout,b=(0,a.useLocalState)(t,"search_bar",!1),C=b[0],y=b[1],N=(0,a.useLocalState)(t,"displayed_array",v),_=N[0],V=N[1],x=(0,a.useLocalState)(t,"search_array",[]),w=x[0],S=x[1],k=(0,a.useLocalState)(t,"search_index",0),E=k[0],B=k[1],I=(0,a.useLocalState)(t,"last_char_code",null),L=I[0],O=I[1],M=(0,a.useLocalState)(t,"selected_button",v[0]),A=M[0],T=M[1];return(0,o.createComponentVNode)(2,u.Window,{title:m,width:325,height:325,resizable:!0,children:[g!==undefined&&(0,o.createComponentVNode)(2,f,{value:g}),(0,o.createComponentVNode)(2,u.Window.Content,{children:(0,o.createComponentVNode)(2,c.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{scrollable:!0,className:"ListInput__Section",width:"100%",fill:!0,title:h,tabIndex:0,onKeyDown:function(e){if(e.preventDefault(),(0,s.acquireHotKey)(l.KEY_DOWN),(0,s.acquireHotKey)(l.KEY_UP),!(d>performance.now())){if(d=performance.now()+125,e.keyCode===l.KEY_UP||e.keyCode===l.KEY_DOWN){var t=1;e.keyCode===l.KEY_UP&&(t=-1);for(var n=0;n<v.length&&v[n]!==A;n++);return(n+=t)<0?n=v.length-1:n>=v.length&&(n=0),T(v[n]),O(null),void document.getElementById(v[n]).focus()}if(e.keyCode!==l.KEY_SPACE&&e.keyCode!==l.KEY_ENTER){var o=String.fromCharCode(e.keyCode).toLowerCase();if(o){var r;if(o===L&&w.length>0){var a=E+1;a<w.length?(r=w[a],B(a)):(r=w[0],B(0))}else{var c=_.filter((function(e){return e.substring(0,1).toLowerCase()===o}));c.length>0&&(S(c),B(0),r=c[0])}r&&(O(o),T(r),document.getElementById(r).focus())}}else i("choose",{choice:A})}},buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"search",color:"transparent",selected:C,tooltip:"Search Bar",tooltipPosition:"left",onClick:function(){y(!C),V(v)},compact:!0}),children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:_.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,c.Button,{color:"transparent",content:e,id:e,width:"100%",selected:A===e,onClick:function(){if(A===e)i("choose",{choice:e});else{T(e);for(var t=0;t<v.length&&v[t]!==e;t++);t<0?t=v.length-1:t>=v.length&&(t=0),O(null),document.getElementById(v[t]).focus()}O(null)}},null,{onComponentDidMount:function(t){A===e&&t.focus()}})},e)}))})})}),C&&(0,o.createComponentVNode)(2,c.Flex.Item,{mt:1,children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,onInput:function(e,t){return V(v.filter((0,r.createSearch)(t)))}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{mt:1,children:(0,o.createComponentVNode)(2,c.Flex,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,basis:0,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return i("cancel")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,basis:0,ml:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",disabled:null===A,onClick:function(){return i("choose",{choice:A})}})})]})})]})})]})};var f=function(e){var t=e.value;return(0,o.createVNode)(1,"div","ListInput__Loader",(0,o.createComponentVNode)(2,c.Box,{className:"ListInput__LoaderProgress",style:{width:100*(0,i.clamp01)(t)+"%"}}),2)};t.Loader=f},52954:function(e,t,n){"use strict";t.__esModule=!0,t.Lootcrate=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Lootcrate=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.code,s=u.buttons_pressed;return(0,o.createComponentVNode)(2,a.Window,{width:235,height:140,theme:"ntos",children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-9px",content:1,color:s[0]?1===l[0]||1===l[1]||1===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:1})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-14px",content:2,color:s[1]?2===l[0]||2===l[1]||2===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:2})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-19px",content:3,color:s[2]?3===l[0]||3===l[1]||3===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:3})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-9px",content:4,color:s[3]?4===l[0]||4===l[1]||4===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:4})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-14px",content:5,color:s[4]?5===l[0]||5===l[1]||5===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:5})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-19px",content:6,color:s[5]?6===l[0]||6===l[1]||6===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:6})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-9px",content:7,color:s[6]?7===l[0]||7===l[1]||7===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:7})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-14px",content:8,color:s[7]?8===l[0]||8===l[1]||8===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:8})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-19px",content:9,color:s[8]?9===l[0]||9===l[1]||9===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:9})}})]})]})})})})}},18707:function(e,t,n){"use strict";t.__esModule=!0,t.MafiaPanel=void 0;var o=n(96323),r=n(1060),i=(n(21118),n(31246)),a=n(26949),c=n(2381);t.MafiaPanel=function(e,t){var n,r=(0,i.useBackend)(t),m=r.act,h=r.data,v=h.actions,g=h.phase,b=h.roleinfo,C=h.role_theme,y=h.admin_controls;return(0,o.createComponentVNode)(2,c.Window,{title:"\u041c\u0430\u0444\u0438\u044f",theme:C,width:650,height:580,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,u)}),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,l)}),null==v?void 0:v.map((function(e){return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return m("mf_action",{atype:e})},children:e})},e)})),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,d)}),"\u041d\u0435\u0442 \u0418\u0433\u0440\u044b"!==g&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:1.34,basis:0,children:(0,o.createComponentVNode)(2,f)}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:1,basis:0,children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,s)}),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{height:"80px",children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,children:null==(n=b.action_log)?void 0:n.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:e},e)}))})})]})})]})}),!!y&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,p)})]})})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.lobbydata,l=c.phase,s=c.timeleft,d=u?u.filter((function(e){return"\u0413\u043e\u0442\u043e\u0432"===e.status})):null;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"Lobby",buttons:(0,o.createFragment)([(0,o.createTextVNode)("\u0421\u0442\u0430\u0434\u0438\u044f = "),l,(0,o.createTextVNode)(" | "),(0,o.createComponentVNode)(2,a.TimeDisplay,{auto:"down",value:s}),(0,o.createTextVNode)(" "),(0,o.createComponentVNode)(2,a.Button,{icon:"clipboard-check",tooltipPosition:"bottom-start",tooltip:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u0438\u0433\u0440\u0443. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442, \u0442\u043e\n\u0412\u044b \u0432\u043e\u0439\u0434\u0451\u0442\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e.",content:"\u0412\u043e\u0439\u0442\u0438",onClick:function(){return r("mf_signup")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",tooltipPosition:"bottom-start",tooltip:"\u0412\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u0435\u043b\u0435\u043c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u043e.\n\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0412\u044b \u0443\u043c\u0438\u0440\u0430\u0435\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438\u0433\u0440\u044b.\n\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0412\u044b \u0432\u043e\u0439\u0434\u0451\u0442\u0435 \u0432 \u0440\u0430\u0443\u043d\u0434.",content:"\u041d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c",onClick:function(){return r("mf_spectate")}})],0),children:[(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:["\u0412 \u043b\u043e\u0431\u0431\u0438 ",d?d.length:"0","/12 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432."]}),null==u?void 0:u.map((function(e){return(0,o.createComponentVNode)(2,a.Stack,{className:"candystripe",p:1,align:"baseline",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:"\u0421\u0442\u0430\u0442\u0443\u0441:"}),(0,o.createComponentVNode)(2,a.Stack.Item,{color:"\u0413\u043e\u0442\u043e\u0432"===e.status?"green":"red",children:[e.spectating," ",e.status]})]},e)}))]})},l=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=c.phase,l=c.roleinfo,s=c.timeleft;return(0,o.createComponentVNode)(2,a.Section,{title:u,minHeight:"100px",maxHeight:"50px",buttons:(0,o.createComponentVNode)(2,a.Box,{style:{"font-family":"Consolas, monospace","font-size":"14px","line-height":1.5,"font-weight":"bold"},children:(0,o.createComponentVNode)(2,a.TimeDisplay,{auto:"down",value:s})}),children:(0,o.createComponentVNode)(2,a.Stack,{align:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:["\u0412\u044b - ",l.role]}),(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:l.desc})]}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:[(0,o.createComponentVNode)(2,a.Box,{className:(0,r.classes)(["mafia32x32",l.revealed_icon]),style:{transform:"scale(2) translate(0px, 10%)","vertical-align":"middle"}}),(0,o.createComponentVNode)(2,a.Box,{className:(0,r.classes)(["mafia32x32",l.hud_icon]),style:{transform:"scale(2) translate(-5px, -5px)","vertical-align":"middle"}})]})]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.all_roles;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"\u0420\u043e\u043b\u0438 \u0438 \u0417\u0430\u043c\u0435\u0442\u043a\u0438",minHeight:"120px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"address-book",tooltipPosition:"bottom-start",tooltip:"\u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b - \u044d\u0442\u043e \u0440\u043e\u043b\u0438 \u0432 \u0438\u0433\u0440\u0435. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0437\u043d\u0430\u043a \u0432\u043e\u043f\u0440\u043e\u0441\u0430,\n\u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0440\u043e\u043b\u0438."}),(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"edit",tooltipPosition:"bottom-start",tooltip:"\u041d\u0438\u0436\u043d\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b - \u0432\u0430\u0448\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438. \u041d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u043e\u043b\u044f\u0445 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0441\u0442\u043e\u0439,\n\u043d\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f(\u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f)"})],4),children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:null==c?void 0:c.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{height:"30px",className:"Section__title candystripe",children:(0,o.createComponentVNode)(2,a.Flex,{height:"18px",align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:e}),(0,o.createComponentVNode)(2,a.Flex.Item,{textAlign:"right",children:(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"question",onClick:function(){return r("mf_lookup",{atype:e.slice(0,-3)})}})})]})},e)}))})})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.judgement_phase;return(0,o.createComponentVNode)(2,a.Section,{title:"\u0421\u0443\u0434",buttons:(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"info",tooltipPosition:"left",tooltip:"\u041a\u043e\u0433\u0434\u0430 \u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u0443\u0434\u044f\u0442, \u0432\u044b \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u0435\u0433\u043e \u0441\u0443\u0434\u044c\u0431\u0443.\n\u041f\u043e\u0431\u0435\u0434\u0430 \u041d\u0415\u0412\u0418\u041d\u041e\u0412\u0415\u041d \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0441\u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0434\u0435\u043d\u044c,\n\u043d\u043e... \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0443\u0436\u0435 \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u0442\u0441\u044f.\n\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u0436\u0430\u0432 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u043a\u043d\u043e\u043f\u043a\u0443."}),children:[(0,o.createComponentVNode)(2,a.Flex,{justify:"space-around",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"smile-beam",content:"\u041d\u0415\u0412\u0418\u041d\u041e\u0412\u0415\u041d!",color:"good",disabled:!c,onClick:function(){return r("vote_innocent")}}),!c&&(0,o.createComponentVNode)(2,a.Box,{children:"\u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0441\u0443\u0434\u0438\u0442\u0441\u044f."}),!!c&&(0,o.createComponentVNode)(2,a.Box,{children:"\u0412\u0440\u0435\u043c\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u0443\u0439 \u0438\u043b\u0438 \u0432\u043e\u0437\u0434\u0435\u0440\u0436\u0438\u0441\u044c."}),(0,o.createComponentVNode)(2,a.Button,{icon:"angry",color:"bad",disabled:!c,onClick:function(){return r("vote_guilty")},children:"\u0412\u0418\u041d\u041e\u0412\u0415\u041d!"})]}),(0,o.createComponentVNode)(2,a.Flex,{justify:"center",children:(0,o.createComponentVNode)(2,a.Button,{icon:"meh",color:"white",disabled:!c,onClick:function(){return r("vote_abstain")},children:"\u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f"})})]})},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.players;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"\u0418\u0433\u0440\u0430\u0446\u0444\u043e\u043a\u0438",children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:null==c?void 0:c.map((function(e){var t;return(0,o.createComponentVNode)(2,a.Flex.Item,{height:"30px",className:"Section__title candystripe",children:(0,o.createComponentVNode)(2,a.Stack,{height:"18px",align:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,color:!e.alive&&"red",children:[e.name," ",!e.alive&&"(\u041c\u0401\u0420\u0422\u0412)"]}),(0,o.createComponentVNode)(2,a.Stack.Item,{shrink:0,children:e.votes!==undefined&&!!e.alive&&"\u0413\u043e\u043b\u043e\u0441\u0430: "+e.votes}),(0,o.createComponentVNode)(2,a.Stack.Item,{shrink:0,minWidth:"42px",textAlign:"center",children:null==(t=e.actions)?void 0:t.map((function(t){return(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("mf_targ_action",{atype:t,target:e.ref})},children:t},t)}))})]})},e.ref)}))})})},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Collapsible,{title:"\u0410\u0414\u041c\u0418\u041d \u041f\u0410\u041d\u0415\u041b\u042c \u0423\u041f\u0420\u0410\u0412\u041b\u0415\u041d\u0418\u042f",color:"red",children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Collapsible,{title:"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u041a\u043e\u0434\u0435\u0440\u043e\u0432!",color:"transparent",children:"\u041f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043c\u043d\u0435 \u043e\u0442\u043b\u0430\u0434\u0438\u0442\u044c \u0438\u0433\u0440\u0443 (\u043e\u0439, \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0438\u0433\u0440\u044b \u043d\u0430 12 \u0438\u0433\u0440\u043e\u043a\u043e\u0432!). \u0422\u0430\u043a \u0447\u0442\u043e, \u043e\u043d\u043e \u0432\u0441\u0435 \u0433\u0440\u0443\u0431\u043e\u0432\u0430\u0442\u043e\u0435 \u0438 \u0441\u043a\u043b\u043e\u043d\u043d\u043e \u043b\u043e\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0412\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u0436\u043c\u0451\u0442\u0435 \u043d\u0430 \u043d\u0435\u0451. \u0422\u0430\u043a \u0436\u0435(\u043e\u0434\u0438\u043d \u0438\u0437 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b), \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0433\u0438\u0431\u0430\u0439\u0442\u0435 \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0439\u0442\u0435 \u043b\u044e\u0431\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438! \u042d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0432\u0441\u044e \u0438\u0433\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("next_phase")},children:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0434\u0438\u044f"}),(0,o.createComponentVNode)(2,a.Button,{icon:"home",onClick:function(){return r("players_home")},tooltip:"\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0412\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u044d\u0442\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e,\n\u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0438\u0433\u0440\u043e\u043a\n\u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0431\u0435\u0433\u0430\u0435\u0442 (nullspace, \u0442\u0435\u043b\u0435\u043f\u043e\u0440\u0442\u0430\u0446\u0438\u0438, \u043e\u0442\u043a\u0440\u044b\u0442\u0430\u044f \u0434\u0432\u0435\u0440\u044c).\n\u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u041e\u0427\u0415\u041d\u042c \u041f\u041b\u041e\u0425\u041e \u0415\u0421\u041b\u0418 \u042d\u0422\u041e \u041f\u0420\u041e\u0418\u0417\u041e\u0419\u0414\u0415\u0422.\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u044d\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u0430 \u0437\u0430\u0442\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0438 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431.",children:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0412\u0441\u0435\u0445 \u0414\u043e\u043c\u043e\u0439"}),(0,o.createComponentVNode)(2,a.Button,{icon:"sync-alt",onClick:function(){return r("new_game")},tooltip:"\u042d\u0442\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0438\u0433\u0440\u0443 \u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0447\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e",children:"\u041d\u043e\u0432\u0430\u044f \u0418\u0433\u0440\u0430"}),(0,o.createComponentVNode)(2,a.Button,{icon:"skull",onClick:function(){return r("nuke")},tooltip:"\u0423\u0434\u0430\u043b\u044f\u0435\u0442 \u0434\u0430\u0442\u0443\u043c\u044b, \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0432\u0441\u0435 landmarks, \u0443\u0431\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435\u0445 \u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u0438 \u043c\u0430\u0444\u0438\u044e,\n\u0441\u0442\u0438\u0440\u0430\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0438\u0433\u0440\u044b. \u041d\u0430\u0436\u043c\u0438 \u044d\u0442\u043e, \u0435\u0441\u043b\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0441\u0451 \u043f\u043e\u043b\u043e\u043c\u0430\u043d\u043e.\n\u0422\u044b \u0432\u0435\u0434\u044c \u0443\u0436\u0435 \u0432\u0441\u0451 \u0441\u043b\u043e\u043c\u0430\u043b, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?",children:"Nuke"}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Button,{icon:"paint-brush",onClick:function(){return r("debug_setup")},tooltip:"\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u0438\u0433\u0440\u044b, \u044d\u0442\u043e \u0442\u0430\u043a... \u043f\u0440\u043e\u0441\u0442\u043e.\n\u0412\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0440\u043e\u043b\u044c \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0436\u043c\u0451\u0442\u0435 CANCEL \u0438\u043b\u0438 FINISH.\n\u0421\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0443\u043d\u0434\u0430, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.",children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0421\u0432\u043e\u044e \u0418\u0433\u0440\u0443"}),(0,o.createComponentVNode)(2,a.Button,{icon:"paint-roller",onClick:function(){return r("cancel_setup")},tooltip:"\u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0443\u0442\u0430\u043b\u0438, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u044e\u0434\u0430 \u043d\u0430\u0436\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443.\n\u0418\u0433\u0440\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0435\u0451 \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0433\u0440\u044b.",children:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0421\u0432\u043e\u044e \u0418\u0433\u0440\u0443"})]})})}},55712:function(e,t,n){"use strict";t.__esModule=!0,t.Minesweeper=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Minesweeper=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.width,s=u.height,d=u.grid,f=u.mines,p={"\u2000":"#ffffff",1:"#0092cc",2:"#779933",3:"#ff3333",4:"#087099",5:"#cc3333",6:"#A6B2EC",7:"#600095",8:"#E5E5E5"};return(0,o.createComponentVNode)(2,a.Window,{width:l,height:s+32,title:f,className:"Minesweeper__Window",children:(0,o.createComponentVNode)(2,a.Window.Content,{fitted:!0,height:s+32,children:d.map((function(e){return(0,o.createFragment)([e.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{className:"Minesweeper__Button",disabled:"empty"===e.state?1:0,textColor:p[e.nearest],content:(0,o.createComponentVNode)(2,i.Box,{className:"Minesweeper__Button-Content",children:e.flag?(0,o.createComponentVNode)(2,i.Icon,{name:"flag",color:"#e73409"}):e.nearest}),onClick:function(){return c("button_press",{choice_x:e.x,choice_y:e.y})},onContextMenu:function(t){t.preventDefault(),c("button_flag",{choice_x:e.x,choice_y:e.y})}},t)})),(0,o.createVNode)(1,"br")],0)}))})})}},48078:function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(11409);t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=l.unclaimedPoints,f=(l.ores,l.showAllOres,l.power);l.speed,l.ore_values;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,u.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:f,onClick:function(){return r("power")},children:f?"Processing":"Disabled"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:d<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:d})})})}),(0,o.createComponentVNode)(2,s)]})})};var l=["Not Processing","Smelting","Compressing","Alloying"],s=function(e,t){var n=(0,i.useBackend)(t),c=n.act,u=n.data,s=u.ores,d=u.showAllOres,f=u.ore_values;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){return c("showAllOres")},children:d?"All Ores":"Ores in Machine"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.ore),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:l,selected:l[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:l.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.Collapsible,{title:"Mineral Value List",children:f.length&&f.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),children:[e.amount," points"]},e.name)}))})})})]})}},98948:function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),u=n.act,l=n.data,s=l.stacktypes,d=l.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:d,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return u("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return u("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},70496:function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(11409),l=n(1060),s=["title","items"];var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:410,height:450,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,u.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f)]})})};var f=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=c.has_id,l=c.id,s=c.items,f=(0,i.useLocalState)(t,"search",""),p=f[0],h=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),v=h[0],g=(h[1],(0,i.useLocalState)(t,"descending",!1)),b=g[0],C=(g[1],(0,r.createSearch)(p,(function(e){return e[0]}))),y=!1,N=Object.entries(s).map((function(e,t){var n=Object.entries(e[1]).filter(C).map((function(e){return e[1].affordable=u&&l.points>=e[1].price,e[1]})).sort(d[v]);if(0!==n.length)return b&&(n=n.reverse()),y=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",children:y?N:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})},p=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),u=(c[0],c[1]),l=(0,i.useLocalState)(t,"descending",!1),s=l[0],f=l[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",autoFocus:!0,onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return u(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){return f(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=e.title,d=e.items,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,s);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:u},f,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createVNode)(1,"span",(0,l.classes)(["equipment_locker32x32",e.path]),null,1,{style:{"vertical-align":"middle","horizontal-align":"middle"}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"certificate",disabled:!c.has_id||c.id.points<e.price,content:e.price.toLocaleString("en-US"),onClick:function(){return r("purchase",{cat:u,name:e.name})}})})]},e.name)}))})))}},72160:function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBoard=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.NoticeBoard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data.notices,l=void 0===u?{}:u;return(0,o.createComponentVNode)(2,a.Window,{width:425,height:176,children:(0,o.createComponentVNode)(2,a.Window.Content,{backgroundColor:"#704D25",children:l.length?l.map((function(e){return(0,o.createComponentVNode)(2,i.Flex,{color:"black",backgroundColor:"white",style:{padding:"2px 2px 0 2px"},mb:.5,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{align:"center",grow:1,children:(0,o.createComponentVNode)(2,i.Box,{align:"center",children:e.name})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[e.isphoto&&(0,o.createComponentVNode)(2,i.Button,{icon:"image",content:"Look",onClick:function(){return c("look",{ref:e.ref})}})||e.ispaper&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"eye",onClick:function(){return c("read",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",onClick:function(){return c("write",{ref:e.ref})}})],4)||"Unknown Entity",(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return c("remove",{ref:e.ref})}})]})]},e.ref)})):(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.Box,{color:"white",align:"center",children:"The notice board is empty!"})})})})}},83271:function(e,t,n){"use strict";t.__esModule=!0,t.NuclearBomb=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.code,l=c.hasDisk,s=c.deployed;return(0,o.createComponentVNode)(2,i.Box,{width:"218px",align:"center",children:(0,o.createComponentVNode)(2,i.Grid,{width:"35%",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,i.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"20px",height:"25px",lineHeight:1.25,disabled:"ERROR"===u&&"R"!==e||!l||!s,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};t.NuclearBomb=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.deployed,d=l.timing,f=l.timeLeft,p=l.safety,m=l.hasDisk,h=l.authorized,v=l.code,g=l.timerMin,b=l.timerMax;return(0,o.createComponentVNode)(2,a.Window,{width:237,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",fill:!0,buttons:(0,o.createComponentVNode)(2,i.Button,{color:s?"green":"red",content:s?"Deployed":"Undeployed",icon:"power-off",disabled:!p||d,onClick:function(){return u("deploy")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Authentication Disk",children:(0,o.createComponentVNode)(2,i.Button,{selected:m,icon:"eject",content:m?"Inserted":"None",disabled:!s,onClick:function(){return u(m?"ejectDisk":"insertDisk")}})})}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{fontSize:"25px",textAlign:"center",position:"center",children:v&&v||(0,o.createComponentVNode)(2,i.Box,{textColor:h?"green":"red",children:h?"ALLOWED":m?"ENTER CODE":s?"INSERT DISK":"DEPLOY"})}),(0,o.createComponentVNode)(2,c),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time Left",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f/b,ranges:{good:[.65,Infinity],average:[.25,.65],bad:[-Infinity,.25]},children:[f," seconds"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:!h||f<=g,width:"23.5%",onClick:function(){return u("adjustTimer",{time:g})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:!h||f<=g,width:"23.5%",onClick:function(){return u("adjustTimer",{time:f-5})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:!h||f>=b,width:"23.5%",onClick:function(){return u("adjustTimer",{time:f+5})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:!h||f>=b,width:"23.5%",onClick:function(){return u("adjustTimer",{time:b})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Safety",children:(0,o.createComponentVNode)(2,i.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"Enabled":"Disabled",disabled:!h||d&&!p,onClick:function(){return u("toggleSafety")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Timer",children:(0,o.createComponentVNode)(2,i.Button,{selected:d,icon:"power-off",disabled:!h||p,content:d?"Enabled":"Disabled",onClick:function(){return u("bombSet")}})})]})]})})})}},64427:function(e,t,n){"use strict";t.__esModule=!0,t.Orbit=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var s=/ \(([0-9]+)\)$/,d=function(e){return(0,r.createSearch)(e,(function(e){return e.name}))},f=function(e,t){return e<t?-1:e>t},p=function(e,t){var n=e.name,o=t.name;if(!n||!o)return 0;var r=n.match(s),i=o.match(s);return r&&i&&n.replace(s,"")===o.replace(s,"")?parseInt(r[1],10)-parseInt(i[1],10):f(n,o)},m=function(e,t){var n=(0,i.useBackend)(t).act,r=e.searchText,c=e.source,u=e.title,l=c.filter(d(r));return l.sort(p),c.length>0&&(0,o.createComponentVNode)(2,a.Section,{title:u+" - ("+c.length+")",children:l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,onClick:function(){return n("orbit",{ref:e.ref})}},e.name)}))})},h=function(e,t){var n=(0,i.useBackend)(t).act,r=e.color,c=e.thing;return(0,o.createComponentVNode)(2,a.Button,{color:r,onClick:function(){return n("orbit",{ref:c.ref})},children:c.name})};t.Orbit=function(e,t){for(var n,r=(0,i.useBackend)(t),l=r.act,s=r.data,v=s.alive,g=s.antagonists,b=s.dead,C=s.ghosts,y=s.misc,N=s.npcs,_=(0,i.useLocalState)(t,"searchText",""),V=_[0],x=_[1],w={},S=u(g);!(n=S()).done;)for(var k,E=n.value,B=u(E.antag);!(k=B()).done;){var I=k.value;w[I]===undefined&&(w[I]=[]),w[I].push(E)}var L=Object.entries(w);L.sort((function(e,t){return f(e[0],t[0])}));return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Icon,{name:"search",mr:1})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:V,onInput:function(e,t){return x(t)},onEnter:function(e,t){return function(e){for(var t=0,n=[L.map((function(e){return e[0],e[1]})),v,C,b,N,y];t<n.length;t++){var o=n[t].filter(d(e)).sort(p)[0];if(o!==undefined){l("orbit",{ref:o.ref});break}}}(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Divider,{vertical:!0})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){return l("refresh")}})})]})}),g.length>0&&(0,o.createComponentVNode)(2,a.Section,{title:"Antagonists",children:L.map((function(e){var t=e[0],n=e[1];return(0,o.createComponentVNode)(2,a.Section,{title:t,level:2,children:n.filter(d(V)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"bad",thing:e},e.name)}))},t)}))}),(0,o.createComponentVNode)(2,a.Section,{title:"Alive - ("+v.length+")",children:v.filter(d(V)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"good",thing:e},e.name)}))}),(0,o.createComponentVNode)(2,a.Section,{title:"Ghosts - ("+C.length+")",children:C.filter(d(V)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"grey",thing:e},e.name)}))}),(0,o.createComponentVNode)(2,m,{title:"Dead",source:b,searchText:V}),(0,o.createComponentVNode)(2,m,{title:"NPCs",source:N,searchText:V}),(0,o.createComponentVNode)(2,m,{title:"Misc",source:y,searchText:V})]})})}},21293:function(e,t,n){"use strict";t.__esModule=!0,t.Particool=void 0;var o=n(96323),r=n(97622),i=n(97622),a=n(31246),c=n(26949),u=n(2381),l=n(79926),s=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createComponentVNode)(2,c.NumberInput,{value:n,stepPixelSize:5,width:"39px",onDrag:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"int"}})}})},d=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return n=n||[0,0,0,0,0,0],(0,o.createComponentVNode)(2,c.Flex,{children:(0,o.createComponentVNode)(2,c.Flex.Item,{children:n.map((function(e,t){return(0,o.createComponentVNode)(2,c.NumberInput,{value:e,onDrag:function(e,o){n[t]=o,i("modify_particle_value",{new_data:{name:r,value:n,type:"matrix"}})}},t)}))})})},f=function(e,t){var n=e.value,u=e.name,l=(0,a.useBackend)(t).act,s=(0,a.useLocalState)(t,"particleFloatStep",.01),d=s[0],f=s[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NumberInput,{value:n,stepPixelSize:4,step:d,format:function(e){return(0,r.toFixed)(e,(0,i.numberOfDecimalDigits)(d))},width:"80px",onDrag:function(e,t){return l("modify_particle_value",{new_data:{name:u,value:t,type:"float"}})}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,ml:2,mr:1,children:"Step:"}),(0,o.createComponentVNode)(2,c.NumberInput,{value:d,step:.001,format:function(e){return(0,r.toFixed)(e,4)},width:"70px",onChange:function(e,t){return f(t)}})],4)},p=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act,u="",s="",d="",f="";if(l.logger.log(n),n){var p=n.match(/\((.*)\)/);if(4===(p=(p=p||["","","",""])[1].split(", ")).length){u=p[0],f=p[1];var m=p[2].match(/\((.*)\)/);s=m?m[1]:m;var h=p[3].match(/\((.*)\)/);d=h?h[1]:p[3]}}var v=(0,a.useLocalState)(t,r+"genType",u),g=v[0],b=v[1],C=(0,a.useLocalState)(t,r+"a",s),y=C[0],N=C[1],_=(0,a.useLocalState)(t,r+"b",d),V=_[0],x=_[1],w=(0,a.useLocalState)(t,r+"rand",f),S=w[0],k=w[1];return(0,o.createComponentVNode)(2,c.Collapsible,{title:"Generator Settings - Hit Set to save",children:(0,o.createComponentVNode)(2,c.Section,{level:2,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:g,children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:""+["num","vector","box","color","circle","sphere","square","cube"].join(", "),children:(0,o.createComponentVNode)(2,c.Input,{value:g,onInput:function(e,t){return b(t)}})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"A",children:(0,o.createComponentVNode)(2,c.Input,{value:y,onInput:function(e,t){return N(t)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"B",children:(0,o.createComponentVNode)(2,c.Input,{value:V,onInput:function(e,t){return x(t)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rand Type",children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:""+["UNIFORM_RAND","NORMAL_RAND","LINEAR_RAND","SQUARE_RAND"].join(", "),children:(0,o.createComponentVNode)(2,c.Input,{value:S,onInput:function(e,t){return k(t)}})})})]}),(0,o.createComponentVNode)(2,c.Button,{content:"Set",onClick:function(){return l.logger.log(g),void i("modify_particle_value",{new_data:{name:r,value:{genType:g,a:y,b:V,rand:S},type:"generator"}})}})]})})},m=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createComponentVNode)(2,c.Input,{value:n,width:"250px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"string"}})}})},h=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act,u=n?Object.keys(n).map((function(e){return n[e]})):[];return(0,o.createComponentVNode)(2,c.Input,{value:u.join(","),width:"250px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"numList"}})}})},v=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",onClick:function(){return i("modify_color_value")}}),(0,o.createComponentVNode)(2,c.ColorBox,{color:n,mr:.5}),(0,o.createComponentVNode)(2,c.Input,{value:n,width:"90px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"color"}})}})],4)},g=function(e,t){var n=e.value,r=(0,a.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",onClick:function(){return r("modify_icon_value")}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,ml:1,children:n})],4)},b={width:"float",height:"float",count:"int",spawning:"float",bound1:"numlist",bound2:"numlist",gravity:"numlist",gradient:"string",transform:"matrix",lifespan:"float",fade:"float",icon:"icon",icon_state:"string",color:"color",color_change:"float",position:"generator",velocity:"generator",scale:"generator",grow:"generator",rotation:"float",spin:"float",friction:"float",drift:"generator"},C=function(e,t){var n=e.name,r={int:(0,o.normalizeProps)((0,o.createComponentVNode)(2,s,Object.assign({},e))),float:(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({},e))),string:(0,o.normalizeProps)((0,o.createComponentVNode)(2,m,Object.assign({},e))),numlist:(0,o.normalizeProps)((0,o.createComponentVNode)(2,h,Object.assign({},e))),color:(0,o.normalizeProps)((0,o.createComponentVNode)(2,v,Object.assign({},e))),icon:(0,o.normalizeProps)((0,o.createComponentVNode)(2,g,Object.assign({},e))),generator:(0,o.normalizeProps)((0,o.createComponentVNode)(2,p,Object.assign({},e))),matrix:(0,o.normalizeProps)((0,o.createComponentVNode)(2,d,Object.assign({},e)))};return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:n,children:r[b[n]]||"Not Found (This is an error)"})},y=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data,e.particle);return(0,o.createComponentVNode)(2,c.LabeledList,{children:Object.keys(b).map((function(e){var t=r[e];return(0,o.createComponentVNode)(2,C,{name:e,value:t},e)}))})},N=function(){return(0,o.createComponentVNode)(2,c.Collapsible,{title:"Generator Help",children:[(0,o.createComponentVNode)(2,c.Section,{level:2}),(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createVNode)(1,"table",null,(0,o.createVNode)(1,"tbody",null,[(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"Generator type",16),(0,o.createVNode)(1,"td",null,"Result type",16),(0,o.createVNode)(1,"td",null,"Description",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"num",16),(0,o.createVNode)(1,"td",null,"num",16),(0,o.createVNode)(1,"td",null,"A random number between A and B.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector on a line between A and B.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"box",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector within a box whose corners are at A and B",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"color",16),(0,o.createVNode)(1,"td",null,"color (string) or color matrix",16),(0,o.createVNode)(1,"td",null,"Result type depends on whether A or B are matrices or not. The result is interpolated between A and B; components are not randomized separately.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"circle",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random XY-only vector in a ring between radius A and B, centered at 0,0.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"sphere",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector in a spherical shell between radius A and B, centered at 0,0,0.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"square",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random XY-only vector between squares of sizes A and B. (The length of the square is between A*2 and B*2, centered at 0,0.)",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"cube",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector between cubes of sizes A and B. (The length of the cube is between A*2 and B*2, centered at 0,0,0.)",16)],4)],4),2)})]})};t.Particool=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.target_particle||{},s=l&&Object.keys(l).length>0;return(0,o.createComponentVNode)(2,u.Window,{title:"Particool",width:700,height:500,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:[" ",String(Date.now())," ",(0,o.createVNode)(1,"br"),"Particles? ",s.toString()," -",(null===i.target_particle).toString()," ",(0,o.createVNode)(1,"br"),"dazta Json - ",JSON.stringify(i.target_particle)]}),(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"Particle"}),buttons:s?(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"minus",content:"Remove Particle",onClick:function(){return r("remove_particle")}}):(0,o.createComponentVNode)(2,c.Button,{icon:"plus",content:"Add Particle",onClick:function(){return r("add_particle")}}),children:[(0,o.createComponentVNode)(2,N),s?(0,o.createComponentVNode)(2,y,{particle:l}):(0,o.createComponentVNode)(2,c.Box,{children:"No particle"})]})]})})}},28508:function(e,t,n){"use strict";t.__esModule=!0,t.Photocopier=void 0;var o=n(96323),r=n(26949),i=n(31246),a=n(2381);t.Photocopier=function(e,t){var n=(0,i.useBackend)(t).data,s=n.isAI,d=n.has_toner,f=n.has_item;return(0,o.createComponentVNode)(2,a.Window,{title:"Photocopier",width:240,height:s?309:234,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[d?(0,o.createComponentVNode)(2,c):(0,o.createComponentVNode)(2,r.Section,{title:"Toner",children:(0,o.createComponentVNode)(2,r.Box,{color:"average",children:"No inserted toner cartridge."})}),f?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,r.Section,{title:"Options",children:(0,o.createComponentVNode)(2,r.Box,{color:"average",children:"No inserted item."})}),!!s&&(0,o.createComponentVNode)(2,l)]})})};var c=function(e,t){var n=(0,i.useBackend)(t),a=(n.act,n.data),c=a.max_toner,u=a.current_toner,l=.66*c,s=.33*c;return(0,o.createComponentVNode)(2,r.Section,{title:"Toner",children:(0,o.createComponentVNode)(2,r.ProgressBar,{ranges:{good:[l,c],average:[s,l],bad:[0,s]},value:u,minValue:0,maxValue:c})})},u=function(e,t){var n=(0,i.useBackend)(t),a=n.act,c=n.data,u=c.num_copies;c.has_enough_toner;return(0,o.createComponentVNode)(2,r.Section,{title:"Options",children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{mt:.4,width:11,color:"label",children:"Make copies:"}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.NumberInput,{animate:!0,width:2.6,height:1.65,step:1,stepPixelSize:8,minValue:1,maxValue:10,value:u,onDrag:function(e,t){return a("set_copies",{num_copies:t})}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Button,{ml:.2,icon:"copy",textAlign:"center",onClick:function(){return a("make_copy")},children:"Copy"})})]}),(0,o.createComponentVNode)(2,r.Button,{mt:.5,textAlign:"center",icon:"reply",fluid:!0,onClick:function(){return a("remove")},children:"Remove item"})]})},l=function(e,t){var n=(0,i.useBackend)(t),a=n.act,c=n.data.can_AI_print;return(0,o.createComponentVNode)(2,r.Section,{title:"AI Options",children:(0,o.createComponentVNode)(2,r.Box,{children:(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"images",textAlign:"center",disabled:!c,onClick:function(){return a("ai_photo")},children:"Print photo from database"})})})}},13484:function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(41161);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.direction,d=l.target_pressure,f=l.default_pressure,p=l.min_pressure,m=l.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:405,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-in-alt":"sign-out-alt",content:s?"In":"Out",selected:s,onClick:function(){return u("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:d,unit:"kPa",width:"75px",minValue:p,maxValue:m,step:10,onChange:function(e,t){return u("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:d===p,onClick:function(){return u("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:d===f,onClick:function(){return u("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:d===m,onClick:function(){return u("pressure",{pressure:"max"})}})]})]})})]})})}},54652:function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(41161);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=(l.filter_types,l.target_rate),d=l.default_rate,f=l.min_rate,p=l.max_rate;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:405,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Scrubber",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:s,unit:"L/s",width:"75px",minValue:f,maxValue:p,step:10,onChange:function(e,t){return u("rate",{rate:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===f,onClick:function(){return u("rate",{rate:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===d,onClick:function(){return u("rate",{rate:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===p,onClick:function(){return u("rate",{rate:"max"})}})]})]})})]})})}},79051:function(e,t,n){"use strict";t.__esModule=!0,t.ReligiousTool=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=[],l=function(e,t){return 3===e?(0,o.createComponentVNode)(2,h):t?(0,o.createComponentVNode)(2,m):1===e?(0,o.createComponentVNode)(2,d):2===e?(0,o.createComponentVNode)(2,_):void 0};t.ReligiousTool=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),s=(0,i.useSharedState)(t,"tab",1),d=s[0],f=s[1],p=r.sects;return r.encyclopedia.ASPECTS.map((function(e){return u[e.name]=e.color})),(0,o.createComponentVNode)(2,c.Window,{width:1e3,height:700,children:(0,o.createComponentVNode)(2,c.Window.Content,{fontSize:"14px",children:[(0,o.createComponentVNode)(2,a.Tabs,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.Stack,{direction:"raw",width:"100%",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:1===d,onClick:function(){return f(1)},children:["Religion ",(0,o.createComponentVNode)(2,a.Icon,{name:"place-of-worship"})]})}),!p&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:2===d,onClick:function(){return f(2)},children:["Rites ",(0,o.createComponentVNode)(2,a.Icon,{name:"pray"})]})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:3===d,onClick:function(){return f(3)},children:["Encyclopedia ",(0,o.createComponentVNode)(2,a.Icon,{name:"book-open"})]})})]})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:l(d,p)})]})})};var s=function(e,t){var n=null;return n=t.length?t.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:(0,r.toTitleCase)(e)}),2,null,e)})):(0,o.createComponentVNode)(2,a.Box,{color:"gray",children:"Nothing."}),(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:e,fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",ml:t.length?3:0,children:(0,o.createVNode)(1,"ui",null,n,0)})})})},d=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.name,u=r.deities,l=r.favor,d=r.piety,p=r.max_favor,m=r.passive_favor_gain,h=r.aspects,v=r.techs,g=r.god_spells,b=r.holy_reagents,C=r.faith_reactions;return(0,o.createComponentVNode)(2,a.Section,{title:c,textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{children:u}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Stack,{mt:2,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:"Resources",fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",ml:3,children:(0,o.createVNode)(1,"ui",null,[(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"yellow",children:["Favor: ",l," / ",p,(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)(" (+"),m,(0,o.createTextVNode)(")")],0,{style:{color:"gray","font-size":"8pt"}})]}),2),(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"pink",children:["Piety: ",d]}),2)],4)})})}),(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:"Aspects",fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",children:f("",h)})})}),s("Techs",v)]}),(0,o.createComponentVNode)(2,a.Stack,{children:[s("God Spells",g),s("Holy Reagents",b),s("Faith Reactions",C)]})]})]})},f=function(e,t,n){return void 0===n&&(n=!0),t?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:e}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:[(0,o.createVNode)(1,"ui",null,Object.keys(t).map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:u[e],children:[e," = ",t[e]]}),2,null,e)})),0),n?(0,o.createVNode)(1,"br"):""]})]}):null},p=function(e,t,n){return void 0===n&&(n=!0),e||t?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"Costs:"}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,[!!e&&(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"yellow",children:[e," favor"]}),2),!!t&&(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"pink",children:[t," piety"]}),2)],0)}),n?(0,o.createVNode)(1,"br"):""]}):null},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.sects,l=c.holds_religious_tool;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,title:"Sect Select",children:(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Collapsible,{title:(0,o.createVNode)(1,"b",null,e.name,0),color:"transparent",children:(0,o.createComponentVNode)(2,a.Stack.Item,{children:[(0,o.createComponentVNode)(2,a.BlockQuote,{children:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:e.desc}),(0,o.createComponentVNode)(2,a.Box,{children:[e.aspect_preset||e.aspects_count?(0,o.createVNode)(1,"br"):"",f("Aspects:",e.aspect_preset),e.aspects_count&&(0,o.createComponentVNode)(2,a.Box,{children:["You can choose ",e.aspects_count," aspects."]})]})]})}),(0,o.createComponentVNode)(2,a.Button,{mt:2,textAlign:"center",icon:"plus",fluid:!0,disabled:!l,onClick:function(){return r("sect_select",{path:e.path})},children:[e.aspects_count?"Create":"Select"," ",e.name]})]},e.name)},e.name)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=(0,i.useSharedState)(t,"cat",""),l=u[0],s=u[1],d=c.encyclopedia;return(0,o.createComponentVNode)(2,a.Stack,{children:[(0,o.createComponentVNode)(2,a.Tabs,{vertical:1,children:Object.keys(d).map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:l===e,onClick:function(){return s(e)},children:(0,r.toTitleCase)(e)},e)}))}),(0,o.createComponentVNode)(2,a.Section,{height:52,fill:!0,scrollable:!0,width:"100%",children:(0,o.createComponentVNode)(2,a.Stack.Item,{children:["RITES"===l&&(0,o.createComponentVNode)(2,v),"SECTS"===l&&(0,o.createComponentVNode)(2,g),"ASPECTS"===l&&(0,o.createComponentVNode)(2,b),"GOD SPELLS"===l&&(0,o.createComponentVNode)(2,C),"HOLY REAGENTS"===l&&(0,o.createComponentVNode)(2,y),"FAITH REACTIONS"===l&&(0,o.createComponentVNode)(2,N)]})})]})},v=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.RITES),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc.replace(/<[/]?i>/g,"")}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"b",null,"Length:",16)," ",e.ritual_length/10," seconds."]}),(0,o.createComponentVNode)(2,a.Box,{color:e.can_talismaned?"green":"red",children:["Can",e.can_talismaned?"":"'t"," be talismaned."]}),e.needed_aspects?(0,o.createVNode)(1,"br"):"",f("Needed Aspects:",e.needed_aspects,!1),(!!e.favor_cost||!!e.piety_cost)&&(0,o.createVNode)(1,"br"),p(e.favor_cost,e.piety_cost,!1),(0,o.createComponentVNode)(2,a.Box,{children:!!e.tips.length&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:[" ",(0,o.createVNode)(1,"br"),"Tips:"]}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,e.tips.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:e.replace(/<[/]?i>/g,"")}),2,null,e)})),0)})]})})]})},e.name)}))]})},g=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.SECTS),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),p=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),(0,o.createVNode)(1,"br"),f("Aspect Preset:",e.aspect_preset,!1),e.aspects_count&&(0,o.createComponentVNode)(2,a.Box,{children:["You can choose ",e.aspects_count," aspects."]})]})},e.name)}))]})},b=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.ASPECTS),l=(0,i.useSharedState)(t,"searchText",""),s=l[0],d=l[1],f=(0,r.createSearch)(s,(function(e){return e.name})),p=s.length>0&&c.filter(f)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return d(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{color:u[e.name],title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),e.god_desc&&(0,o.createComponentVNode)(2,a.Box,{children:[" ",(0,o.createVNode)(1,"br"),e.god_desc]})]})},e.name)}))]})},C=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["GOD SPELLS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[f("Needed Aspects:",e.needed_aspects),p(e.favor_cost),(0,o.createComponentVNode)(2,a.Box,{children:["Cooldown: ",e.charge_max/10," seconds"]})]})},e.name)}))]})},y=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["HOLY REAGENTS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),p=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:f("Needed Aspects:",e.needed_aspects,!1)})},e.name)}))]})},N=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["FAITH REACTIONS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.convertable_id+" to "+e.result_id})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:(0,r.capitalize)(e.convertable_id)+" to "+(0,r.capitalize)(e.result_id),children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[f("Needed Aspects:",e.needed_aspects,!1),e.favor_cost?(0,o.createVNode)(1,"br"):"",p(e.favor_cost,0,!1)]})},(0,r.capitalize)(e.convertable_id)+" to "+(0,r.capitalize)(e.result_id))}))]})},_=function(e,t){var n=(0,i.useBackend)(t),c=n.act,u=n.data,l=u.rites,s=u.favor,d=u.piety,f=u.can_talismaning,p=u.holds_religious_tool,m=(0,i.useSharedState)(t,"searchText",""),h=m[0],v=m[1],g=(0,r.createSearch)(h,(function(e){return e.name})),b=h.length>0&&l.filter(g)||l;return(0,o.createComponentVNode)(2,a.Section,{height:52,fill:!0,scrollable:!0,width:"100%",children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return v(t)},mb:1}),(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,mt:2,children:b.map((function(e){return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{fontColor:"white",disabled:!p||s<e.favor_cost||d<e.piety_cost,icon:"arrow-right",onClick:function(){return c("perform_rite",{rite_name:e.name})},children:"Invoke"}),(0,o.createComponentVNode)(2,a.Button,{fontColor:"white",tooltip:2*e.favor_cost+" favor"+(e.piety_cost>0?" "+e.piety_cost+" piety":""),disabled:!f||!e.can_talismaned||s<2*e.favor_cost||d<2*e.piety_cost,icon:"scroll",onClick:function(){return c("talismaning_rite",{rite_name:e.name})},children:"Talismaning"})],4),children:[(0,o.createComponentVNode)(2,a.Box,{color:s<e.favor_cost?"red":"yellow",mb:.5,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"star"})," Costs: ",e.favor_cost," favor",e.piety_cost>0?" and "+e.piety_cost+" piety":"","."]}),(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{children:["Power: ",e.power]}),(0,o.createComponentVNode)(2,a.Box,{children:!!e.tips.length&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:[" ",(0,o.createVNode)(1,"br"),"Tips:"]}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,e.tips.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:e.replace(/<[/]?i>/g,"")}),2,null,e)})),0)})]})})]})]})},e.name)}))})]})}},1945:function(e,t,n){"use strict";t.__esModule=!0,t.Safe=void 0;var o=n(96323),r=n(39646),i=n(31246),a=n(26949),c=n(2381);t.Safe=function(e,t){var n=(0,i.useBackend)(t),d=(n.act,n.data),f=d.dial,p=d.open;return(0,o.createComponentVNode)(2,c.Window,{width:625,height:760,theme:"ntos",children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving-hinge",top:"25%"}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving-hinge",top:"75%"})]}),(0,o.createComponentVNode)(2,a.Icon,{className:"Safe__engraving-arrow",name:"long-arrow-alt-down",size:"3"}),(0,o.createVNode)(1,"br"),p?(0,o.createComponentVNode)(2,l):(0,o.createComponentVNode)(2,a.Box,{as:"img",className:"Safe__dial",src:(0,r.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*f+"deg)"}})]}),!p&&(0,o.createComponentVNode)(2,s)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.dial,l=c.open,s=c.locked,d=function(e,t){return(0,o.createComponentVNode)(2,a.Button,{disabled:l||t&&!s,icon:"arrow-"+(t?"right":"left"),content:(t?"Right":"Left")+" "+e,iconPosition:t?"right":"left",onClick:function(){return r(t?"turnleft":"turnright",{num:e})}})};return(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:s,icon:l?"lock":"lock-open",content:l?"Close":"Open",mb:"0.5rem",onClick:function(){return r("open")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{position:"absolute",children:[d(50),d(10),d(1)]}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer-right",position:"absolute",right:"5px",children:[d(1,!0),d(10,!0),d(50,!0)]}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer-number",children:u})]})},l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.contents;return(0,o.createComponentVNode)(2,a.Box,{className:"Safe__contents",overflow:"auto",children:c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{mb:"0.5rem",onClick:function(){return r("retrieve",{index:t+1})},children:[(0,o.createComponentVNode)(2,a.Box,{as:"img",src:e.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),e.name]}),(0,o.createVNode)(1,"br")],4,e)}))})},s=function(e,t){return(0,o.createComponentVNode)(2,a.Section,{className:"Safe__help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,o.createComponentVNode)(2,a.Box,{children:["1. Turn the dial left to the first number.",(0,o.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,o.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,o.createVNode)(1,"br"),"4. Open the safe."]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},69905:function(e,t,n){"use strict";t.__esModule=!0,t.SamplerPipe=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.SamplerPipe=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.gases,s=u.nodeName,d=u.locked;return(0,o.createComponentVNode)(2,a.Window,{title:"Atmospherics Alet System",width:300,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Node name",children:(0,o.createComponentVNode)(2,i.Input,{disabled:d,fluid:!0,value:s,onChange:function(e,t){return c("setName",{name:t})}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Gases",children:l.map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.name,children:[(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:"Lower"}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.NumberInput,{disabled:d,width:5,minValue:0,maxValue:1,step:.01,value:e.threshold.min,onChange:function(t,n){return c("setBound",{id:e.id,bound:"min",value:n})}})})]}),(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:"Upper"}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.NumberInput,{disabled:d,width:5,minValue:0,maxValue:1,step:.01,value:e.threshold.max,onChange:function(t,n){return c("setBound",{id:e.id,bound:"max",value:n})}})})]})]},e.id)}))})]})})}},95285:function(e,t,n){"use strict";t.__esModule=!0,t.SecureSafe=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.locked,l=c.l_setshort,s=c.code,d=c.emagged;return(0,o.createComponentVNode)(2,i.Box,{width:"185px",children:(0,o.createComponentVNode)(2,i.Grid,{width:"1px",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,i.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"40px",height:"50px",lineHeight:1.25,disabled:!!d||!!l&&1||"R"!==e&&!u||"ERROR"===s&&"R"!==e&&1,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};t.SecureSafe=function(e,t){var n=(0,r.useBackend)(t),u=(n.act,n.data),l=u.code,s=u.l_setshort,d=u.l_set,f=u.emagged,p=u.locked,m=!(d||s);return(0,o.createComponentVNode)(2,a.Window,{width:250,height:380,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Box,{m:"6px",children:[m&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",info:1,children:"ENTER NEW 5-DIGIT PASSCODE."}),!!f&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",danger:1,children:"LOCKING SYSTEM ERROR - 1701"}),!!s&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",danger:1,children:"ALERT: MEMORY SYSTEM ERROR - 6040 201"}),(0,o.createComponentVNode)(2,i.Section,{height:"60px",children:(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",position:"center",fontSize:"35px",children:l&&l||(0,o.createComponentVNode)(2,i.Box,{textColor:p?"red":"green",children:p?"LOCKED":"UNLOCKED"})})}),(0,o.createComponentVNode)(2,i.Flex,{ml:"3px",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,c)}),(0,o.createComponentVNode)(2,i.Flex.Item,{ml:"6px",width:"129px"})]})]})})})}},98115:function(e,t,n){"use strict";t.__esModule=!0,t.SkillsConsole=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.SkillsConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.skill_list,s=u.IQ,d=u.MDI,f=u.skill_min_value,p=u.skill_max_value,m=u.compatible_species,h=u.inserted_cartridge,v=u.cartridge_name,g=u.cartridge_unpacked,b=u.connected_table,C=u.cartridge_points,y=u.connected_patient,N=u.free_points,_=u.can_inject,V=u.power_usage,x=u.power_max,w=u.power_current;return(0,o.createComponentVNode)(2,a.Window,{resizable:!0,width:600,height:675,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Power info",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active power usage",children:[V/1e3," kW"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available power in area",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:"No data"!==x?w/x:"No data"})})]})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{width:"40%",mr:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Patient status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[!b&&(0,o.createComponentVNode)(2,i.Box,{children:"CMF manipulion table is not connected"}),!y&&(0,o.createComponentVNode)(2,i.Box,{children:"No patient detected"}),b&&y&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"IQ",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"MDI",children:d})],4)]})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{width:"60%",children:(0,o.createComponentVNode)(2,i.Section,{title:"Cartridge information",children:[!h&&(0,o.createComponentVNode)(2,i.Box,{children:"No cartridge inserted"}),1===h&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Installed cartridge",children:[v,!g&&(0,o.createComponentVNode)(2,i.Box,{as:"span",m:5,children:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject cartridge",onClick:function(){c("eject")},style:{marginLeft:20}})})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Compatible species",children:m.join(", ")}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available USP",children:[0===g&&C,1===g&&N]})]})]})})]})}),0===g&&1===h&&(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{onClick:function(){c("unpack")},fluid:!0,color:"danger",tooltip:"This action will destroy the cartridge and begin the CMF manipulation procedure.",children:"Unpack cartridge"})}),1===g&&1===h&&(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Section,{title:"CMF manipulation",children:[Object.keys(l).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{onChange:function(t,n){l[e]=n,c("change_skill",l)},step:1,value:l[e],maxValue:p,stepPixelSize:50,minValue:f})})})},e)})),(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){c("inject")},fluid:!0,disabled:0===_,color:"green",children:"Inject implant"}),(0,o.createComponentVNode)(2,i.Button.Confirm,{onClick:function(){c("abort")},fluid:!0,color:"danger",confirmContent:"Confirm ",children:"Abort"})]})]})})]})})})}},68952:function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(1033),c=n(2381),u=1e3;t.Smes=function(e,t){var n=(0,r.useBackend)(t),l=n.act,s=n.data,d=s.capacityPercent,f=s.charge,p=s.inputAttempt,m=s.inputting,h=s.inputLevel,v=s.inputLevelMax,g=s.inputAvailable,b=s.outputAttempt,C=s.outputting,y=s.outputLevel,N=s.outputLevelMax,_=s.outputUsed,V=(d>=100?"good":m&&"average")||"bad",x=(C?"good":f>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{fractionDigits:1,value:.01*d,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sync-alt":"times",selected:p,onClick:function(){return l("tryinput")},children:p?"Auto":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:V,children:(d>=100?"Fully Charged":m&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===h,onClick:function(){return l("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===h,onClick:function(){return l("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:h/u,fillValue:g/u,minValue:0,maxValue:v/u,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*u,1)},onDrag:function(e,t){return l("input",{target:t*u})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:h===v,onClick:function(){return l("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:h===v,onClick:function(){return l("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(g)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){return l("tryoutput")},children:b?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:C?"Sending":f>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===y,onClick:function(){return l("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===y,onClick:function(){return l("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:y/u,minValue:0,maxValue:N/u,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*u,1)},onDrag:function(e,t){return l("output",{target:t*u})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:y===N,onClick:function(){return l("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:y===N,onClick:function(){return l("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(_)})]})})]})})}},56747:function(e,t,n){"use strict";t.__esModule=!0,t.SpawnersMenu=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(1033);t.SpawnersMenu=function(e,t){var n=(0,i.useBackend)(t),l=n.act,s=n.data.spawners;return(0,o.createComponentVNode)(2,c.Window,{title:"\u041c\u0435\u043d\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u043e\u043b\u0435\u0439",width:700,height:525,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[!s.length&&(0,o.createComponentVNode)(2,a.Flex.Item,{fontSize:"14px",textAlign:"center",children:(0,o.createComponentVNode)(2,a.Section,{children:"\u0420\u043e\u043b\u0435\u0439 \u043d\u0435\u0442, \u043d\u043e \u043d\u0435 \u043f\u0435\u0447\u0430\u043b\u044c\u0441\u044f, \u043e\u043d\u0438 \u0441\u043a\u043e\u0440\u043e \u0431\u0443\u0434\u0443\u0442!"})}),s.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{children:[(0,o.createComponentVNode)(2,a.Section,{title:(0,r.toTitleCase)(e.name),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{content:"\u041e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f",onClick:function(){return l("jump",{ref:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{content:e.register_only?e.checked?"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c":"\u0417\u0430\u044f\u0432\u0438\u0442\u044c":"\u041f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f",selected:e.checked,blocked:e.blocked,onClick:function(){return l("spawn",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[e.time_left&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:1===e.time_type?"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e",color:1===e.time_type?"green":"red",children:(0,u.formatTime)(e.time_left)}),!!e.register_only&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u041a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432",children:e.registered_candidates}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u041f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e",children:e.positions}),e.playing>0&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u0418\u0433\u0440\u0430\u0435\u0442",children:e.playing}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",children:e.short_desc}),e.important_warning&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0412\u0430\u0436\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",children:e.important_warning}),e.wiki_ref&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0412\u0438\u043a\u0438",children:(0,o.createVNode)(1,"a",null,e.wiki_ref,0,{href:"{spawner.wiki_ref}",target:"_blank"})})]})}),(0,o.createVNode)(1,"br")]},e.ref)}))]})})})}},47466:function(e,t,n){"use strict";t.__esModule=!0,t.Stack=void 0;var o=n(96323),r=(n(97622),n(31246)),i=n(26949),a=n(2381);n(79926);t.Stack=function(e,t){var n=(0,r.useBackend)(t),u=(n.act,n.data),l=u.amount,s=u.recipes;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:720,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Amount: "+l,children:(0,o.createComponentVNode)(2,c,{recipes:s})})})})};var c=function s(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data,e.recipes);return Object.keys(a).sort().map((function(e){var t=a[e];return t.ref===undefined?(0,o.createComponentVNode)(2,i.Collapsible,{ml:1,mb:-.7,color:"label",title:e,children:(0,o.createComponentVNode)(2,i.Box,{ml:1,children:(0,o.createComponentVNode)(2,s,{recipes:t})})}):(0,o.createComponentVNode)(2,l,{title:e,recipe:t})}))},u=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.recipe),u=e.maxMultiplier,l=Math.min(u,Math.floor(c.max_res_amount/c.res_amount)),s=[5,10,25],d=[],f=function(){var e=m[p];l>=e&&d.push((0,o.createComponentVNode)(2,i.Button,{content:e*c.res_amount+"x",onClick:function(){return a("make",{ref:c.ref,multiplier:e})}}))},p=0,m=s;p<m.length;p++)f();return-1===s.indexOf(l)&&d.push((0,o.createComponentVNode)(2,i.Button,{content:l*c.res_amount+"x",onClick:function(){return a("make",{ref:c.ref,multiplier:l})}})),d},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount,l=e.recipe,s=e.title,d=l.res_amount,f=l.max_res_amount,p=l.req_amount,m=(l.ref,s);m+=" (",m+=p+" ",m+="sheet"+(p>1?"s":""),m+=")",d>1&&(m=d+"x "+m);var h=function(e,t){return e.req_amount>t?0:Math.floor(t/e.req_amount)}(l,c);return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Table,{children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,disabled:!h,icon:"wrench",content:m,onClick:function(){return a("make",{ref:l.ref,multiplier:1})}})}),f>1&&h>1&&(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,u,{recipe:l,maxMultiplier:h})})]})})})}},53759:function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:120,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:u.tankPressure/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:u.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:u.ReleasePressure===u.minReleasePressure,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(u.releasePressure),width:"65px",unit:"kPa",minValue:u.minReleasePressure,maxValue:u.maxReleasePressure,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:u.ReleasePressure===u.maxReleasePressure,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:u.ReleasePressure===u.defaultReleasePressure,onClick:function(){return c("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:u.connected?"toggle-on":"toggle-off",content:"",selected:u.connected?"selected":null,onClick:function(){return c("internal")}})]})]})})})})}},83634:function(e,t,n){"use strict";t.__esModule=!0,t.Vote=void 0;var o=n(96323),r=n(31246),i=n(81890),a=n(26949),c=n(2381);t.Vote=function(e,t){var n=(0,r.useBackend)(t).data,i=n.isAdmin,f=n.currentPoll,p=n.polls,m=Math.min(730,90+(!f||i?45+26*p.filter((function(e){return!e.adminOnly||!!i})).length:0)+(f?135+22*f.choices.length:23));return(0,o.createComponentVNode)(2,c.Window,{width:450,height:m,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,l),(!f||!!i)&&(0,o.createComponentVNode)(2,s),!!f&&(0,o.createComponentVNode)(2,d)]})]})})};var u=function(e,t){var n=(0,r.useBackend)(t).data.currentPoll,c=(0,r.useLocalState)(t,"infoModalOpen",!1),u=c[0],l=c[1];return u?n?(0,o.createComponentVNode)(2,a.Modal,{children:["\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0442\u044c"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canVoteMultiple?"\u0437\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432":"\u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u043e\u0434\u0438\u043d \u0432\u0430\u0440\u0438\u0430\u043d\u0442"}),(0,o.createVNode)(1,"br"),"\u0412\u044b"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canRevote?"\u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c":"\u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})," ","\u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441",(0,o.createVNode)(1,"br"),"\u0412\u044b"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canUnvote?"\u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c":"\u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c"})," ","\u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441",(0,o.createVNode)(1,"br"),n.minimumWinPercentage?(0,o.createFragment)([(0,o.createTextVNode)("\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0431\u0440\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c"),(0,o.createTextVNode)(" "),(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:[100*n.minimumWinPercentage,"%"]}),(0,o.createTextVNode)(", \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0431\u0435\u0434\u0438\u043b")],0):"",n.description&&(0,o.createFragment)([(0,o.createVNode)(1,"hr"),(0,o.createComponentVNode)(2,a.Box,{dangerouslySetInnerHTML:{__html:(0,i.sanitizeText)(n.description)}})],4),(0,o.createVNode)(1,"hr"),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,align:"center",onClick:function(){return l(!1)},children:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"})]}):(l(!1),null):null},l=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.currentPoll,u=(0,r.useLocalState)(t,"infoModalOpen",!1),l=(u[0],u[1]),s=null==c?void 0:c.choices.some((function(e){return e.selected}));return(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!!c&&0!==c.choices.length,title:c?"\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435: "+c.poll.name:"\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435",buttons:c?(0,o.createComponentVNode)(2,a.Button,{icon:"info",color:"transparent",disabled:!c,onClick:function(){return l(!0)}}):undefined,children:c&&0!==c.choices.length?(0,o.createFragment)([c.showWarning?(0,o.createComponentVNode)(2,a.NoticeBox,{children:c.poll.message}):"",!!c.question&&(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:c.question}),(0,o.createComponentVNode)(2,a.Divider),(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack,{fill:!0,justify:"space-around",children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b"}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"\u0413\u043e\u043b\u043e\u0441\u0430"})]}),(0,o.createVNode)(1,"br"),c.choices.map((function(e){return(0,o.createComponentVNode)(2,a.Stack,{justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Box,{height:"22px",children:[(0,o.createComponentVNode)(2,a.Button,{maxWidth:"260px",ellipsis:!0,disabled:!c.canRevote&&s,selected:e.selected,onClick:function(){return i("putVote",{choiceRef:e.ref})},children:e.name.replace(/^\w/,(function(e){return e.toUpperCase()}))}),!!e.selected&&(0,o.createComponentVNode)(2,a.Icon,{name:"vote-yea",color:"green",ml:1,verticalAlign:"super"})]}),(0,o.createComponentVNode)(2,a.Box,{mr:15,children:e.votes})]},e.ref)}))]})],0):(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,mb:"0",children:c?"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432!":"\u041d\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f!"})})})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,u=c.isAdmin,l=c.polls;return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{title:"\u041d\u0430\u0447\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435",children:(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,justify:"space-between",children:l?l.map((function(e){return(!e.adminOnly||!!u)&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{horizontal:!0,children:[!!u&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{width:9.5,textAlign:"center",onClick:function(){return i("toggleAdminOnly",{pollRef:e.type})},children:e.adminOnly?"\u0422\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u043c\u0438\u043d\u044b":"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0432\u0441\u0435\u043c"})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{disabled:!e.canStart&&!u||e.forceBlocked,color:u?e.canStart?undefined:"red":undefined,tooltip:e.message,content:e.name,onClick:function(){return i("callVote",{pollRef:e.type})}})})]})},e.name)})):(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0439!"})})})})},d=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,u=c.currentPoll,l=c.isAdmin;return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Stack,{justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,children:["\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438: ",(null==u?void 0:u.timeRemaining)||0,"\u0441"]}),!!l&&!!u&&(0,o.createComponentVNode)(2,a.Button,{color:"red",disabled:!l,onClick:function(){return i("cancelVote")},children:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435"})]})})})}},35045:function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.wires||[],s=u.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:45+25*l.length+(s.length>0?35:0)+12*s.length,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:l.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.label?e.label:"Wire",labelColor:e.color,color:e.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.wire})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.wire})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.wire})}})],4)},e.color)}))})}),!!s.length&&(0,o.createComponentVNode)(2,i.Section,{children:s.map((function(e){return"string"==typeof e?(0,o.createComponentVNode)(2,i.Box,{children:e},e):(0,o.createComponentVNode)(2,i.Button,{content:e.label,onClick:function(){return c(e.act,e.act_params?e.act_params:undefined)}})}))})]})})}},52126:function(e,t,n){"use strict";t.__esModule=!0,t.AccessList=void 0;var o=n(96323),r=n(1397),i=n(31246),a=n(26949);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var l={0:{icon:"times-circle",color:"bad"},1:{icon:"stop-circle",color:null},2:{icon:"check-circle",color:"good"}};t.AccessList=function(e,t){var n,u=e.sectionButtons,s=void 0===u?null:u,d=e.sectionFlexGrow,f=void 0===d?null:d,p=e.usedByRcd,m=e.rcdButtons,h=e.accesses,v=void 0===h?[]:h,g=e.selectedList,b=void 0===g?[]:g,C=e.grantableList,y=void 0===C?[]:C,N=e.accessMod,_=e.grantAll,V=e.denyAll,x=e.grantDep,w=e.denyDep,S=(0,i.useLocalState)(t,"accessName",null==(n=v[0])?void 0:n.name),k=S[0],E=S[1],B=v.find((function(e){return e.name===k})),I=(0,r.sortBy)((function(e){return e.desc}))((null==B?void 0:B.accesses)||[]),L=function(e){for(var t,n=!1,o=!1,r=c(e);!(t=r()).done;){var i=t.value;b.includes(i.ref)?n=!0:o=!0}return!n&&o?0:n&&o?1:2};return(0,o.createComponentVNode)(2,a.Section,{title:"Access",flexGrow:f,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"check-double",content:"Select All",color:"good",onClick:function(){return _()}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",content:"Deselect All",color:"bad",onClick:function(){return V()}}),s],0),children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Tabs,{vertical:!0,children:v.map((function(e){var t=e.accesses||[],n=l[L(t)].icon,r=l[L(t)].color;return(0,o.createComponentVNode)(2,a.Tabs.Tab,{altSelection:!0,color:r,icon:n,selected:e.name===k,onClick:function(){return E(e.name)},children:e.name},e.name)}))})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,ml:1.5,children:[(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{width:"50%",mr:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"check",content:"Select Region",color:"good",onClick:function(){return x(B.regid)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"50%",ml:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"times",content:"Deselect Region",color:"bad",onClick:function(){return w(B.regid)}})})]}),!!p&&(0,o.createComponentVNode)(2,a.Box,{my:1.5,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Require",children:m})})}),I.map((function(e){return(0,o.createComponentVNode)(2,a.Button.Checkbox,{fluid:!0,content:e.desc,disabled:y.length>0&&!y.includes(e.ref)&&!b.includes(e.ref),checked:b.includes(e.ref),onClick:function(){return N(e.ref)}},e.desc)}))]})]})})}},19447:function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(96323),r=n(31246),i=n(26949);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=e.siliconUser,l=void 0===u?c.siliconUser:u,s=e.locked,d=void 0===s?c.locked:s,f=e.onLockStatusChange,p=void 0===f?function(){return a("lock")}:f,m=e.accessText,h=void 0===m?"an ID card":m;return l?(0,o.createComponentVNode)(2,i.NoticeBox,{color:"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:0,color:d?"red":"green",icon:d?"lock":"unlock",content:d?"Locked":"Unlocked",onClick:function(){p&&p(!d)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",h," ","to ",d?"unlock":"lock"," this interface."]})}},11409:function(e,t,n){"use strict";t.__esModule=!0,t.MiningUser=void 0;var o=n(96323),r=n(31246),i=n(26949);t.MiningUser=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=e.insertIdText,l=c.has_id,s=c.id;return(0,o.createComponentVNode)(2,i.NoticeBox,{success:l,children:l?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",s.name,".",(0,o.createVNode)(1,"br"),"You have ",s.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,i.Box,{style:{clear:"both"}})],4):u})}},41161:function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(96323),r=n(31246),i=n(26949);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.connected,l=c.holding,s=c.on,d=c.pressure,f=c.power_draw,p=c.cell_charge/c.cell_maxcharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:u?"good":"average",children:u?"Connected":"Not Connected"})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:f})," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,.1],average:[.1,.6],good:[.6,Infinity]},value:p})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!l,onClick:function(){return a("eject")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:l.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},30041:function(e,t,n){"use strict";t.__esModule=!0,t.Layout=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(99397),c=["className","theme","children"],u=["className","scrollable","children"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.theme,a=void 0===n?"nanotrasen":n,u=e.children,s=l(e,c);return(0,o.createVNode)(1,"div","theme-"+a,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout",t].concat((0,i.computeBoxClassName)(s))),u,0,Object.assign({},(0,i.computeBoxProps)(s)))),2)};t.Layout=s;var d=function(e){var t=e.className,n=e.scrollable,a=e.children,c=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({},(0,i.computeBoxProps)(c))))};d.defaultHooks={onComponentDidMount:function(e){return(0,a.addScrollableNode)(e)},onComponentWillUnmount:function(e){return(0,a.removeScrollableNode)(e)}},s.Content=d},76738:function(e,t,n){"use strict";t.__esModule=!0,t.NtosWindow=void 0;var o=n(96323),r=n(39646),i=n(31246),a=n(26949),c=n(34881),u=function(e,t){var n=e.title,u=e.width,l=void 0===u?575:u,s=e.height,d=void 0===s?700:s,f=e.theme,p=void 0===f?"ntos":f,m=e.children,h=(0,i.useBackend)(t),v=h.act,g=h.data,b=g.PC_device_theme,C=g.PC_batteryicon,y=g.PC_showbatteryicon,N=g.PC_batterypercent,_=g.PC_ntneticon,V=g.PC_apclinkicon,x=g.PC_stationtime,w=g.PC_programheaders,S=void 0===w?[]:w,k=g.PC_showexitprogram;return(0,o.createComponentVNode)(2,c.Window,{title:n,width:l,height:d,theme:p,children:(0,o.createVNode)(1,"div","NtosWindow",[(0,o.createVNode)(1,"div","NtosWindow__header NtosHeader",[(0,o.createVNode)(1,"div","NtosHeader__left",[(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,mr:2,children:x}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,mr:2,opacity:.33,children:["ntos"===b&&"NtOS","syndicate"===b&&"Syndix"]})],4),(0,o.createVNode)(1,"div","NtosHeader__right",[S.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(e.icon)})},e.icon)})),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:_&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(_)})}),!(!y||!C)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:[(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(C)}),N&&N]}),V&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(V)})}),!!k&&(0,o.createComponentVNode)(2,a.Button,{width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"window-minimize-o",tooltip:"Minimize",tooltipPosition:"bottom",onClick:function(){return v("PC_minimize")}}),!!k&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"window-close-o",tooltip:"Close",tooltipPosition:"bottom-start",onClick:function(){return v("PC_exit")}}),!k&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"power-off",tooltip:"Power off",tooltipPosition:"bottom-start",onClick:function(){return v("PC_shutdown")}})],0)],4),m],0)})};t.NtosWindow=u;u.Content=function(e){return(0,o.createVNode)(1,"div","NtosWindow__content",(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Window.Content,Object.assign({},e))),2)}},52243:function(e,t,n){"use strict";t.__esModule=!0,t.Pane=void 0;var o=n(96323),r=n(1060),i=n(31246),a=n(26949),c=n(27157),u=n(30041),l=["theme","children","className"],s=["className","fitted","children"];function d(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var f=function(e,t){var n=e.theme,s=e.children,f=e.className,p=d(e,l),m=(0,i.useBackend)(t).suspended,h=(0,c.useDebug)(t).debugLayout;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.Layout,Object.assign({className:(0,r.classes)(["Window",f]),theme:n},p,{children:(0,o.createComponentVNode)(2,a.Box,{fillPositionedParent:!0,className:h&&"debug-layout",children:!m&&s})})))};t.Pane=f;f.Content=function(e){var t=e.className,n=e.fitted,i=e.children,a=d(e,s);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",t])},a,{children:n&&i||(0,o.createVNode)(1,"div","Window__contentPadding",i,0)})))}},34881:function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(96323),r=n(1060),i=n(465),a=n(21118),c=n(31246),u=n(26949),l=n(84200),s=n(27157),d=(n(98069),n(41410)),f=n(79926),p=n(30041),m=["className","fitted","children"];function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=(0,f.createLogger)("Window"),g=[400,600],b=function(e){var t,n;function u(){return e.apply(this,arguments)||this}n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var f=u.prototype;return f.componentDidMount=function(){var e=(0,c.useBackend)(this.context).suspended,t=this.props.canClose,n=void 0===t||t;e||(Byond.winset(window.__windowId__,{"can-close":Boolean(n)}),v.log("mounting"),this.updateGeometry())},f.componentDidUpdate=function(e){(this.props.width!==e.width||this.props.height!==e.height)&&this.updateGeometry()},f.updateGeometry=function(){var e,t=(0,c.useBackend)(this.context).config,n=Object.assign({size:g},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),null!=(e=t.window)&&e.key&&(0,d.setWindowKey)(t.window.key),(0,d.recallWindowGeometry)(n)},f.render=function(){var e,t=this.props,n=t.canClose,u=void 0===n||n,f=t.theme,m=t.title,h=t.children,g=t.buttons,b=t.className,C=t.titleClassName,N=(0,c.useBackend)(this.context),_=N.config,V=N.suspended,x=(0,s.useDebug)(this.context).debugLayout,w=(0,i.useDispatch)(this.context),S=null==(e=_.window)?void 0:e.fancy,k=_.user&&(_.user.observer?_.status<l.UI_DISABLED:_.status<l.UI_INTERACTIVE);return(0,o.createComponentVNode)(2,p.Layout,{className:(0,r.classes)(["Window",b]),theme:f,children:[(0,o.createComponentVNode)(2,y,{className:(0,r.classes)(["Window__titleBar",C]),title:!V&&(m||(0,a.decodeHtmlEntities)(_.title)),status:_.status,fancy:S,onDragStart:d.dragStartHandler,onClose:function(){v.log("pressed close"),w((0,c.backendSuspendStart)())},canClose:u,children:g}),(0,o.createVNode)(1,"div",(0,r.classes)(["Window__rest",x&&"debug-layout"]),[!V&&h,k&&(0,o.createVNode)(1,"div","Window__dimmer")],0),S&&(0,o.createFragment)([(0,o.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,d.resizeStartHandler)(1,0)}),(0,o.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,d.resizeStartHandler)(0,1)}),(0,o.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,d.resizeStartHandler)(1,1)})],4)]})},u}(o.Component);t.Window=b;b.Content=function(e){var t=e.className,n=e.fitted,i=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,m);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,p.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",t])},a,{children:n&&i||(0,o.createVNode)(1,"div","Window__contentPadding",i,0)})))};var C=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},y=function(e,t){var n=e.className,c=e.title,l=e.status,s=e.canClose,d=e.fancy,f=e.onDragStart,p=e.onClose,m=e.children;(0,i.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[l===undefined&&(0,o.createComponentVNode)(2,u.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,o.createComponentVNode)(2,u.Icon,{className:"TitleBar__statusIcon",color:C(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&f(e)}}),(0,o.createVNode)(1,"div","TitleBar__title",["string"==typeof c&&c===c.toLowerCase()&&(0,a.toTitleCase)(c)||c,!!m&&(0,o.createVNode)(1,"div","TitleBar__buttons",m,0)],0),!1,Boolean(d&&s)&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:p})],0)}},2381:function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.Pane=t.NtosWindow=t.Layout=void 0;var o=n(30041);t.Layout=o.Layout;var r=n(76738);t.NtosWindow=r.NtosWindow;var i=n(52243);t.Pane=i.Pane;var a=n(34881);t.Window=a.Window},13952:function(e,t){"use strict";t.__esModule=!0,t.captureExternalLinks=void 0;t.captureExternalLinks=function(){document.addEventListener("click",(function(e){for(var t=e.target;;){if(!t||t===document.body)return;if("a"===String(t.tagName).toLowerCase())break;t=t.parentElement}var n=t.getAttribute("href")||"";if(!("?"===n.charAt(0)||n.startsWith("byond://"))){e.preventDefault();var o=n;o.toLowerCase().startsWith("www")&&(o="https://"+o),Byond.topic({tgui:1,window_id:window.__windowId__,type:"openLink",url:o})}}))}},79926:function(e,t,n){"use strict";t.__esModule=!0,t.logger=t.createLogger=void 0;n(82252);var o=0,r=1,i=2,a=3,c=4,u=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];if(e>=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",ns:t,message:a})}},l=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return u.apply(void 0,[o,e].concat(n))},log:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[r,e].concat(n))},info:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[i,e].concat(n))},warn:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[a,e].concat(n))},error:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[c,e].concat(n))}}};t.createLogger=l;var s=l();t.logger=s},77960:function(e,t,n){"use strict";t.__esModule=!0,t.createRenderer=t.suspendRenderer=t.resumeRenderer=void 0;var o,r=n(28440),i=n(96323),a=((0,n(79926).createLogger)("renderer"),!0),c=!1;t.resumeRenderer=function(){a=a||"resumed",c=!1};t.suspendRenderer=function(){c=!0};t.createRenderer=function(e){return function(){r.perf.mark("render/start"),o||(o=document.getElementById("react-root")),(0,i.render)(e(),o),r.perf.mark("render/finish"),c||a&&(a=!1)}}},91199:function(e,t,n){"use strict";t.__esModule=!0,t.getRoutedComponent=void 0;var o=n(96323),r=n(31246),i=(n(12184),n(2381)),a=n(8156),c=function(e,t){return function(){return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}},u=function(){return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0})})};t.getRoutedComponent=function(e){var t=e.getState(),n=(0,r.selectBackend)(t),o=n.suspended,i=n.config;if(o)return u;for(var l,s=null==i?void 0:i["interface"],d=[function(e){return"./"+e+".tsx"},function(e){return"./"+e+".js"},function(e){return"./"+e+"/index.tsx"},function(e){return"./"+e+"/index.js"}];!l&&d.length>0;){var f=d.shift()(s);try{l=a(f)}catch(m){if("MODULE_NOT_FOUND"!==m.code)throw m}}if(!l)return c("notFound",s);var p=l[s];return p||c("missingExport",s)}},81890:function(e,t,n){"use strict";t.__esModule=!0,t.sanitizeText=void 0;var o,r=(o=n(42950))&&o.__esModule?o:{"default":o};var i=["b","br","center","code","div","font","hr","i","li","menu","ol","p","pre","span","table","td","th","tr","u","ul"],a=["class","style"];t.sanitizeText=function(e,t,n){return void 0===t&&(t=i),void 0===n&&(n=a),r["default"].sanitize(e,{ALLOWED_TAGS:t,FORBID_ATTR:n})}},18749:function(e,t,n){"use strict";t.__esModule=!0,t.StoreProvider=t.configureStore=void 0;var o=n(32416),r=n(465),i=n(96323),a=n(39646),c=n(31246),u=n(27157);function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=(0,n(79926).createLogger)("store");t.configureStore=function(e){var t,n;void 0===e&&(e={});var i=(0,o.flow)([(0,r.combineReducers)({debug:u.debugReducer,backend:c.backendReducer}),e.reducer]),l=[].concat((null==(t=e.middleware)?void 0:t.pre)||[],[a.assetMiddleware,c.backendMiddleware],(null==(n=e.middleware)?void 0:n.post)||[]);var s=r.applyMiddleware.apply(void 0,l),f=(0,r.createStore)(i,s);return window.__store__=f,window.__augmentStack__=d(f),f};var d=function(e){return function(t,n){var o,r;n?"object"!=typeof n||n.stack||(n.stack=t):(n=new Error(t.split("\n")[0])).stack=t,s.log("FatalError:",n);var i=e.getState(),a=null==i||null==(o=i.backend)?void 0:o.config,c=t;return c+="\nUser Agent: "+navigator.userAgent,c+="\nState: "+JSON.stringify({ckey:null==a||null==(r=a.client)?void 0:r.ckey,"interface":null==a?void 0:a["interface"],window:null==a?void 0:a.window})}},f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var r=o.prototype;return r.getChildContext=function(){return{store:this.props.store}},r.render=function(){return this.props.children},o}(i.Component);t.StoreProvider=f},88428:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Blink",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.Blink,{children:"Blink"})})}},9184:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i=n(87758),a={title:"BlockQuote",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.BlockQuote,{children:(0,o.createComponentVNode)(2,i.BoxWithSampleText)})})}},36801:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Box",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{bold:!0,children:"bold"}),(0,o.createComponentVNode)(2,r.Box,{italic:!0,children:"italic"}),(0,o.createComponentVNode)(2,r.Box,{opacity:.5,children:"opacity 0.5"}),(0,o.createComponentVNode)(2,r.Box,{opacity:.25,children:"opacity 0.25"}),(0,o.createComponentVNode)(2,r.Box,{m:2,children:"m: 2"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"left",children:"left"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:"center"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"right",children:"right"})]})}},3750:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Button",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=i;var a=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],c=["good","average","bad","black","white"],u=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createComponentVNode)(2,r.Button,{content:"Simple"}),(0,o.createComponentVNode)(2,r.Button,{selected:!0,content:"Selected"}),(0,o.createComponentVNode)(2,r.Button,{altSelected:!0,content:"Alt Selected"}),(0,o.createComponentVNode)(2,r.Button,{disabled:!0,content:"Disabled"}),(0,o.createComponentVNode)(2,r.Button,{color:"transparent",content:"Transparent"}),(0,o.createComponentVNode)(2,r.Button,{icon:"cog",content:"Icon"}),(0,o.createComponentVNode)(2,r.Button,{icon:"power-off"}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,content:"Fluid"}),(0,o.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[c.map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:e,content:e},e)})),(0,o.createVNode)(1,"br"),a.map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:e,content:e},e)})),(0,o.createVNode)(1,"br"),a.map((function(e){return(0,o.createComponentVNode)(2,r.Box,{inline:!0,mx:"7px",color:e,children:e},e)}))]})]})}},68696:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(79926),c={title:"ByondUi",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=c;var u=function(e,t){var n=(0,r.useLocalState)(t,"byondUiEvalCode","Byond.winset('"+window.__windowId__+"', {\n 'is-visible': true,\n})"),c=n[0],u=n[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Button",children:(0,o.createComponentVNode)(2,i.ByondUi,{params:{type:"button",text:"Button"}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Make BYOND calls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"chevron-right",onClick:function(){return setImmediate((function(){try{var e=new Function("return ("+c+")")();e&&e.then?(a.logger.log("Promise"),e.then(a.logger.log)):a.logger.log(e)}catch(t){a.logger.log(t)}}))},children:"Evaluate"}),children:(0,o.createComponentVNode)(2,i.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(e){return u(e.target.value)},children:c})})],4)}},88835:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i=n(87758),a={title:"Collapsible",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.Collapsible,{title:"Collapsible Demo",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:"cog"}),children:(0,o.createComponentVNode)(2,i.BoxWithSampleText)})})}},34458:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Flex & Sections",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"fs_grow",1),a=n[0],c=n[1],u=(0,r.useLocalState)(t,"fs_direction","column"),l=u[0],s=u[1],d=(0,r.useLocalState)(t,"fs_fill",!0),f=d[0],p=d[1],m=(0,r.useLocalState)(t,"fs_title",!0),h=m[0],v=m[1];return(0,o.createComponentVNode)(2,i.Flex,{height:"100%",direction:"column",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{mb:1,children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return s("column"===l?"row":"column")},children:'Flex direction="'+l+'"'}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return c(Number(!a))},children:"Flex.Item grow={"+a+"}"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return p(!f)},children:"Section fill={"+String(f)+"}"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,selected:h,onClick:function(){return v(!h)},children:"Section title"})]})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",direction:l,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{mr:"row"===l&&1,mb:"column"===l&&1,grow:a,children:(0,o.createComponentVNode)(2,i.Section,{title:h&&"Section 1",fill:f,children:"Content"})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:a,children:(0,o.createComponentVNode)(2,i.Section,{title:h&&"Section 2",fill:f,children:"Content"})})]})})]})}},23148:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Input",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"number",0),a=n[0],c=n[1],u=(0,r.useLocalState)(t,"text","Sample text"),l=u[0],s=u[1];return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input (onChange)",children:(0,o.createComponentVNode)(2,i.Input,{value:l,onChange:function(e,t){return s(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input (onInput)",children:(0,o.createComponentVNode)(2,i.Input,{value:l,onInput:function(e,t){return s(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onChange:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Slider (onDrag)",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,o.createComponentVNode)(2,i.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}}),(0,o.createComponentVNode)(2,i.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rotating Icon",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,position:"relative",children:(0,o.createComponentVNode)(2,i.DraggableControl,{value:a,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(e,t){return c(t)},children:function(e){return(0,o.createComponentVNode)(2,i.Box,{onMouseDown:e.handleDragStart,children:[(0,o.createComponentVNode)(2,i.Icon,{size:4,color:"yellow",name:"times",rotation:4*e.displayValue}),e.inputElement]})}})})})]})})}},23613:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Popper",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(){return(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Popper,{popperContent:(0,o.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,o.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,o.createComponentVNode)(2,r.Popper,{popperContent:(0,o.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,o.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},9093:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"ProgressBar",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"progress",.5),a=n[0],c=n[1];return(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.5,Infinity],bad:[-Infinity,.1],average:[0,.5]},minValue:-1,maxValue:1,value:a,children:["Value: ",Number(a).toFixed(1)]}),(0,o.createComponentVNode)(2,i.Box,{mt:1,children:[(0,o.createComponentVNode)(2,i.Button,{content:"-0.1",onClick:function(){return c(a-.1)}}),(0,o.createComponentVNode)(2,i.Button,{content:"+0.1",onClick:function(){return c(a+.1)}})]})]})}},86482:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Stack",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=i;var a=function(){return(0,o.createComponentVNode)(2,r.Box,{inline:!0,width:1,height:1,children:"A"})},c=function(){return(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,a)}),(0,o.createComponentVNode)(2,r.Stack.Divider),(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,a)})],4)},u=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{fill:!0,children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,className:"debug-layout",children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,c)]})}),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,o.createComponentVNode)(2,c)]})})]})})}},63900:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(7151),i=n(26949),a=n(1033),c={title:"Storage",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=c;var u=function(e,t){return window.localStorage?(0,o.createComponentVNode)(2,i.Section,{title:"Local Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"recycle",onClick:function(){localStorage.clear(),r.storage.clear()},children:"Clear"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Remaining space",children:(0,a.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Local storage is not available."})}},88209:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Tabs",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=a;var c=["Tab #1","Tab #2","Tab #3","Tab #4"],u=function(e,t){var n=(0,r.useLocalState)(t,"tabProps",{}),a=n[0],c=n[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"vertical",checked:a.vertical,onClick:function(){return c(Object.assign({},a,{vertical:!a.vertical}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"leftSlot",checked:a.leftSlot,onClick:function(){return c(Object.assign({},a,{leftSlot:!a.leftSlot}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"rightSlot",checked:a.rightSlot,onClick:function(){return c(Object.assign({},a,{rightSlot:!a.rightSlot}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"icon",checked:a.icon,onClick:function(){return c(Object.assign({},a,{icon:!a.icon}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"fluid",checked:a.fluid,onClick:function(){return c(Object.assign({},a,{fluid:!a.fluid}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"centered",checked:a.centered,onClick:function(){return c(Object.assign({},a,{centered:!a.centered}))}})]}),(0,o.createComponentVNode)(2,i.Section,{fitted:!0,children:(0,o.createComponentVNode)(2,l)}),(0,o.createComponentVNode)(2,i.Section,{title:"Normal section",children:[(0,o.createComponentVNode)(2,l),"Some text"]}),(0,o.createComponentVNode)(2,i.Section,{children:"Section-less tabs appear the same as tabs in a fitted section:"}),(0,o.createComponentVNode)(2,l)],4)},l=function(e,t){var n=(0,r.useLocalState)(t,"tabIndex",0),a=n[0],u=n[1],l=(0,r.useLocalState)(t,"tabProps",{})[0];return(0,o.createComponentVNode)(2,i.Tabs,{vertical:l.vertical,fluid:l.fluid,textAlign:l.centered&&"center",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:t===a,icon:l.icon&&"info-circle",leftSlot:l.leftSlot&&(0,o.createComponentVNode)(2,i.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:l.rightSlot&&(0,o.createComponentVNode)(2,i.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){return u(t)},children:e},t)}))})}},38200:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Themes",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"kitchenSinkTheme"),a=n[0],c=n[1];return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Use theme",children:(0,o.createComponentVNode)(2,i.Input,{placeholder:"theme_name",value:a,onInput:function(e,t){return c(t)}})})})})}},48181:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=(n(34739),n(26949)),i={title:"Tooltip",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{children:[(0,o.createComponentVNode)(2,r.Tooltip,{content:"Tooltip text.",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,o.createComponentVNode)(2,r.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,o.createComponentVNode)(2,r.Box,{mt:1,children:["top","left","right","bottom","bottom-start","bottom-end"].map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:e,content:e},e)}))})]})}},87758:function(e,t,n){"use strict";t.__esModule=!0,t.BoxWithSampleText=void 0;var o=n(96323),r=n(26949);t.BoxWithSampleText=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Box,Object.assign({},e,{children:[(0,o.createComponentVNode)(2,r.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,o.createComponentVNode)(2,r.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}},33603:function(){},57397:function(){},62048:function(){},39248:function(){},36030:function(){},32817:function(){},44576:function(){},21805:function(){},39292:function(){},74199:function(){},65138:function(){},8156:function(e,t,n){var o={"./AirlockElectronics":64008,"./AirlockElectronics.tsx":64008,"./AlertModal":72272,"./AlertModal.js":72272,"./Apc":48349,"./Apc.js":48349,"./Autolathe":47533,"./Autolathe.js":47533,"./BloomEdit":15466,"./BloomEdit.js":15466,"./CameraConsole":83548,"./CameraConsole.js":83548,"./Canister":98566,"./Canister.js":98566,"./Canvas":6789,"./Canvas.js":6789,"./CardPay":60301,"./CardPay.js":60301,"./ChemDispenser":68078,"./ChemDispenser.js":68078,"./Cryo":10996,"./Cryo.js":10996,"./CustomAnnounce":26617,"./CustomAnnounce.js":26617,"./DisposalUnit":69974,"./DisposalUnit.js":69974,"./EmotePanelEditor":10704,"./EmotePanelEditor.js":10704,"./Filteriffic":53600,"./Filteriffic.js":53600,"./GPS":24482,"./GPS.js":24482,"./GuestPass":19609,"./GuestPass.js":19609,"./ListInput":96696,"./ListInput.js":96696,"./Lootcrate":52954,"./Lootcrate.js":52954,"./MafiaPanel":18707,"./MafiaPanel.js":18707,"./Minesweeper":55712,"./Minesweeper.js":55712,"./MiningOreProcessingConsole":48078,"./MiningOreProcessingConsole.js":48078,"./MiningStackingConsole":98948,"./MiningStackingConsole.js":98948,"./MiningVendor":70496,"./MiningVendor.js":70496,"./NoticeBoard":72160,"./NoticeBoard.js":72160,"./NuclearBomb":83271,"./NuclearBomb.js":83271,"./Orbit":64427,"./Orbit.js":64427,"./Particool":21293,"./Particool.js":21293,"./Photocopier":28508,"./Photocopier.js":28508,"./PortablePump":13484,"./PortablePump.js":13484,"./PortableScrubber":54652,"./PortableScrubber.js":54652,"./ReligiousTool":79051,"./ReligiousTool.js":79051,"./Safe":1945,"./Safe.js":1945,"./SamplerPipe":69905,"./SamplerPipe.js":69905,"./SecureSafe":95285,"./SecureSafe.js":95285,"./SkillsConsole":98115,"./SkillsConsole.js":98115,"./Smes":68952,"./Smes.js":68952,"./SpawnersMenu":56747,"./SpawnersMenu.js":56747,"./Stack":47466,"./Stack.js":47466,"./Tank":53759,"./Tank.js":53759,"./Vote":83634,"./Vote.tsx":83634,"./Wires":35045,"./Wires.js":35045,"./common/AccessList":52126,"./common/AccessList.js":52126,"./common/InterfaceLockNoticeBox":19447,"./common/InterfaceLockNoticeBox.js":19447,"./common/Mining":11409,"./common/Mining.js":11409,"./common/PortableAtmos":41161,"./common/PortableAtmos.js":41161};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=8156},69321:function(e,t,n){var o={"./Blink.stories.js":88428,"./BlockQuote.stories.js":9184,"./Box.stories.js":36801,"./Button.stories.js":3750,"./ByondUi.stories.js":68696,"./Collapsible.stories.js":88835,"./Flex.stories.js":34458,"./Input.stories.js":23148,"./Popper.stories.js":23613,"./ProgressBar.stories.js":9093,"./Stack.stories.js":86482,"./Storage.stories.js":63900,"./Tabs.stories.js":88209,"./Themes.stories.js":38200,"./Tooltip.stories.js":48181};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=69321},82252:function(e){"use strict";var t=[];e.exports={subscribe:function(e){return t.push(e)},sendMessage:function(e){},sendLogEntry:function(e,t){},setupHotReloading:function(){0}}}},t={};function n(o){var r=t[o];if(r!==undefined)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";n(65379),n(43674),n(69656),n(72411),n(24467),n(37493),n(87420),n(9480),n(66171),n(53276),n(71852),n(59045),n(70887),n(72906),n(24835),n(14653),n(58139),n(34049),n(38356),n(72494),n(31699),n(3263),n(81520),n(80036),n(60515),n(94330),n(96553),n(99139),n(98215),n(32617),n(80186),n(31149),n(71827),n(79770),n(32099),n(72667),n(94920),n(64683),n(26189),n(41185),n(51008),n(47112),n(86e3),n(15196),n(95993),n(25079),n(87143),n(72499),n(73676),n(76746),n(19),n(17038),n(46360),n(16835),n(96683),n(7756),n(21842),n(1613),n(65115),n(27115),n(13280),n(21019),n(66619),n(75469),n(90967),n(35022),n(22604),n(41843),n(86810),n(54670),n(16580),n(31304),n(13078),n(45128),n(31938),n(90958),n(88885),n(45017),n(59743),n(47560),n(31569),n(6134),n(12622),n(60852),n(99085),n(75180),n(79437),n(75370),n(61022),n(50580),n(5301),n(76438),n(97307),n(34016),n(86944),n(60687),n(86957),n(59163),n(34128),n(24267),n(39816),n(4239),n(8381),n(63669),n(25779),n(84580),n(33198),n(71895),n(44910),n(95962),n(73769),n(14962),n(80345),n(18438),n(70552),n(46356),n(57128),n(83588),n(47057),n(67092),n(59478),n(69203),n(27879),n(71507),n(39021),n(8641),n(83064),n(93115),n(33362),n(45090),n(12654),n(58870),n(76581),n(4567),n(28638),n(60314),n(71595),n(98954),n(91332),n(79445),n(36493),n(24476),n(78192),n(58660),n(56592),n(69957),n(9747),n(13578),n(3684),n(19209),n(56737),n(67586),n(7743),n(15890),n(34651),n(18037),n(48415),n(54950),n(76102),n(47816),n(30037),n(54705),n(75831),n(96958),n(75344),n(87853),n(25865),n(1150),n(50444),n(11220),n(6636),n(37650),n(12424),n(64346),n(27553),n(49007),n(17621),n(71078),n(20500),n(85923),n(38956),n(49264),n(70448),n(5775),n(45164),n(83762),n(67265),n(56058),n(87001),n(23535),n(18617),n(70595),n(76820),n(33357),n(38215),n(37281),n(99584),n(43582),n(15378),n(31213),n(19275),n(59),n(43849),n(69838),n(25513),n(72090),n(15511),n(88280),n(37283),n(96250)}(),function(){"use strict";var e=n(96323);n(33603),n(57397),n(62048),n(39248),n(36030),n(32817),n(44576),n(21805),n(39292),n(74199),n(65138);var t,o,r=n(28440),i=(n(82252),n(6965)),a=n(13952),c=n(77960),u=n(18749),l=n(99397);r.perf.mark("inception",null==(t=window.performance)||null==(o=t.timing)?void 0:o.navigationStart),r.perf.mark("init");var s=(0,u.configureStore)(),d=(0,c.createRenderer)((function(){var t=(0,n(91199).getRoutedComponent)(s);return(0,e.createComponentVNode)(2,u.StoreProvider,{store:s,children:(0,e.createComponentVNode)(2,t)})}));!function f(){if("loading"!==document.readyState){for((0,l.setupGlobalEvents)(),(0,i.setupHotKeys)(),(0,a.captureExternalLinks)(),s.subscribe(d),window.update=function(e){return s.dispatch(Byond.parseJson(e))};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}0}else document.addEventListener("DOMContentLoaded",f)}()}()}(); \ No newline at end of file +!function(){var e={92179:function(e,t,n){"use strict";t.__esModule=!0,t.popperGenerator=h,t.createPopper=void 0;var o=f(n(30505)),r=f(n(43545)),i=f(n(46213)),a=f(n(32440)),c=(f(n(61131)),f(n(45700))),u=f(n(68369)),l=(f(n(38574)),f(n(25435)),f(n(22709)),f(n(36284))),s=f(n(19574));t.detectOverflow=s["default"];var d=n(67458);n(56728);function f(e){return e&&e.__esModule?e:{"default":e}}var p={placement:"bottom",modifiers:[],strategy:"absolute"};function m(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function h(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,s=void 0===n?[]:n,f=t.defaultOptions,h=void 0===f?p:f;return function(e,t,n){void 0===n&&(n=h);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},p,h),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},v=[],g=!1,b={state:f,setOptions:function(n){C(),f.options=Object.assign({},h,f.options,n),f.scrollParents={reference:(0,d.isElement)(e)?(0,i["default"])(e):e.contextElement?(0,i["default"])(e.contextElement):[],popper:(0,i["default"])(t)};var o=(0,c["default"])((0,l["default"])([].concat(s,f.options.modifiers)));return f.orderedModifiers=o.filter((function(e){return e.enabled})),f.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:f,name:t,instance:b,options:o}),a=function(){function e(){}return e}();v.push(i||a)}})),b.update()},forceUpdate:function(){if(!g){var e=f.elements,t=e.reference,n=e.popper;if(m(t,n)){f.rects={reference:(0,o["default"])(t,(0,a["default"])(n),"fixed"===f.options.strategy),popper:(0,r["default"])(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach((function(e){return f.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<f.orderedModifiers.length;i++)if(!0!==f.reset){var c=f.orderedModifiers[i],u=c.fn,l=c.options,s=void 0===l?{}:l,d=c.name;"function"==typeof u&&(f=u({state:f,options:s,name:d,instance:b})||f)}else f.reset=!1,i=-1}}},update:(0,u["default"])((function(){return new Promise((function(e){b.forceUpdate(),e(f)}))})),destroy:function(){C(),g=!0}};if(!m(e,t))return b;function C(){v.forEach((function(e){return e()})),v=[]}return b.setOptions(n).then((function(e){!g&&n.onFirstUpdate&&n.onFirstUpdate(e)})),b}}var v=h();t.createPopper=v},97607:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,o.isShadowRoot)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1};var o=n(67458)},94294:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,a=1;(0,o.isHTMLElement)(e)&&t&&(i=n.width/e.offsetWidth||1,a=n.height/e.offsetHeight||1);return{width:r(n.width/i),height:r(n.height/a),top:r(n.top/a),right:r(n.right/i),bottom:r(n.bottom/a),left:r(n.left/i),x:r(n.left/i),y:r(n.top/a)}};var o=n(67458),r=Math.round},48162:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){var o="clippingParents"===t?function(e){var t=(0,a["default"])((0,f["default"])(e)),n=["absolute","fixed"].indexOf((0,l["default"])(e).position)>=0&&(0,s.isHTMLElement)(e)?(0,c["default"])(e):e;if(!(0,s.isElement)(n))return[];return t.filter((function(e){return(0,s.isElement)(e)&&(0,p["default"])(e,n)&&"body"!==(0,m["default"])(e)}))}(e):[].concat(t),r=[].concat(o,[n]),i=r[0],u=r.reduce((function(t,n){var o=b(e,n);return t.top=(0,v.max)(o.top,t.top),t.right=(0,v.min)(o.right,t.right),t.bottom=(0,v.min)(o.bottom,t.bottom),t.left=(0,v.max)(o.left,t.left),t}),b(e,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u};var o=n(56728),r=g(n(78331)),i=g(n(68692)),a=g(n(46213)),c=g(n(32440)),u=g(n(58386)),l=g(n(61131)),s=n(67458),d=g(n(94294)),f=g(n(31613)),p=g(n(97607)),m=g(n(99624)),h=g(n(20935)),v=n(62836);function g(e){return e&&e.__esModule?e:{"default":e}}function b(e,t){return t===o.viewport?(0,h["default"])((0,r["default"])(e)):(0,s.isHTMLElement)(t)?function(e){var t=(0,d["default"])(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,h["default"])((0,i["default"])((0,u["default"])(e)))}},30505:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){void 0===n&&(n=!1);var s=(0,a.isHTMLElement)(t),d=(0,a.isHTMLElement)(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,o=t.height/e.offsetHeight||1;return 1!==n||1!==o}(t),f=(0,u["default"])(t),p=(0,o["default"])(e,d),m={scrollLeft:0,scrollTop:0},h={x:0,y:0};(s||!s&&!n)&&(("body"!==(0,i["default"])(t)||(0,l["default"])(f))&&(m=(0,r["default"])(t)),(0,a.isHTMLElement)(t)?((h=(0,o["default"])(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):f&&(h.x=(0,c["default"])(f)));return{x:p.left+m.scrollLeft-h.x,y:p.top+m.scrollTop-h.y,width:p.width,height:p.height}};var o=s(n(94294)),r=s(n(71942)),i=s(n(99624)),a=n(67458),c=s(n(45471)),u=s(n(58386)),l=s(n(37229));function s(e){return e&&e.__esModule?e:{"default":e}}},61131:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(0,r["default"])(e).getComputedStyle(e)};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},58386:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(((0,o.isElement)(e)?e.ownerDocument:e.document)||window.document).documentElement};var o=n(67458)},68692:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t,n=(0,o["default"])(e),u=(0,a["default"])(e),l=null==(t=e.ownerDocument)?void 0:t.body,s=(0,c.max)(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,c.max)(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),f=-u.scrollLeft+(0,i["default"])(e),p=-u.scrollTop;"rtl"===(0,r["default"])(l||n).direction&&(f+=(0,c.max)(n.clientWidth,l?l.clientWidth:0)-s);return{width:s,height:d,x:f,y:p}};var o=u(n(58386)),r=u(n(61131)),i=u(n(45471)),a=u(n(1255)),c=n(62836);function u(e){return e&&e.__esModule?e:{"default":e}}},50552:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},43545:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=e.offsetWidth,o=e.offsetHeight;Math.abs(t.width-n)<=1&&(n=t.width);Math.abs(t.height-o)<=1&&(o=t.height);return{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}};var o,r=(o=n(94294))&&o.__esModule?o:{"default":o}},99624:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e?(e.nodeName||"").toLowerCase():null}},71942:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return e!==(0,r["default"])(e)&&(0,i.isHTMLElement)(e)?(0,a["default"])(e):(0,o["default"])(e)};var o=c(n(1255)),r=c(n(31677)),i=n(67458),a=c(n(50552));function c(e){return e&&e.__esModule?e:{"default":e}}},32440:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,o["default"])(e),n=s(e);for(;n&&(0,c["default"])(n)&&"static"===(0,i["default"])(n).position;)n=s(n);if(n&&("html"===(0,r["default"])(n)||"body"===(0,r["default"])(n)&&"static"===(0,i["default"])(n).position))return t;return n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.isHTMLElement)(e)){if("fixed"===(0,i["default"])(e).position)return null}var n=(0,u["default"])(e);for(;(0,a.isHTMLElement)(n)&&["html","body"].indexOf((0,r["default"])(n))<0;){var o=(0,i["default"])(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t};var o=l(n(31677)),r=l(n(99624)),i=l(n(61131)),a=n(67458),c=l(n(79130)),u=l(n(31613));function l(e){return e&&e.__esModule?e:{"default":e}}function s(e){return(0,a.isHTMLElement)(e)&&"fixed"!==(0,i["default"])(e).position?e.offsetParent:null}},31613:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){if("html"===(0,o["default"])(e))return e;return e.assignedSlot||e.parentNode||((0,i.isShadowRoot)(e)?e.host:null)||(0,r["default"])(e)};var o=a(n(99624)),r=a(n(58386)),i=n(67458);function a(e){return e&&e.__esModule?e:{"default":e}}},66055:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function u(e){if(["html","body","#document"].indexOf((0,i["default"])(e))>=0)return e.ownerDocument.body;if((0,a.isHTMLElement)(e)&&(0,r["default"])(e))return e;return u((0,o["default"])(e))};var o=c(n(31613)),r=c(n(37229)),i=c(n(99624)),a=n(67458);function c(e){return e&&e.__esModule?e:{"default":e}}},78331:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,o["default"])(e),n=(0,r["default"])(e),a=t.visualViewport,c=n.clientWidth,u=n.clientHeight,l=0,s=0;a&&(c=a.width,u=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=a.offsetLeft,s=a.offsetTop));return{width:c,height:u,x:l+(0,i["default"])(e),y:s}};var o=a(n(31677)),r=a(n(58386)),i=a(n(45471));function a(e){return e&&e.__esModule?e:{"default":e}}},31677:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}},1255:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},45471:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return(0,o["default"])((0,r["default"])(e)).left+(0,i["default"])(e).scrollLeft};var o=a(n(94294)),r=a(n(58386)),i=a(n(1255));function a(e){return e&&e.__esModule?e:{"default":e}}},67458:function(e,t,n){"use strict";t.__esModule=!0,t.isElement=function(e){var t=(0,r["default"])(e).Element;return e instanceof t||e instanceof Element},t.isHTMLElement=function(e){var t=(0,r["default"])(e).HTMLElement;return e instanceof t||e instanceof HTMLElement},t.isShadowRoot=function(e){if("undefined"==typeof ShadowRoot)return!1;var t=(0,r["default"])(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot};var o,r=(o=n(31677))&&o.__esModule?o:{"default":o}},37229:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=(0,r["default"])(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)};var o,r=(o=n(61131))&&o.__esModule?o:{"default":o}},79130:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return["table","td","th"].indexOf((0,r["default"])(e))>=0};var o,r=(o=n(99624))&&o.__esModule?o:{"default":o}},46213:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function u(e,t){var n;void 0===t&&(t=[]);var c=(0,o["default"])(e),l=c===(null==(n=e.ownerDocument)?void 0:n.body),s=(0,i["default"])(c),d=l?[s].concat(s.visualViewport||[],(0,a["default"])(c)?c:[]):c,f=t.concat(d);return l?f:f.concat(u((0,r["default"])(d)))};var o=c(n(66055)),r=c(n(31613)),i=c(n(31677)),a=c(n(37229));function c(e){return e&&e.__esModule?e:{"default":e}}},56728:function(e,t){"use strict";t.__esModule=!0,t.modifierPhases=t.afterWrite=t.write=t.beforeWrite=t.afterMain=t.main=t.beforeMain=t.afterRead=t.read=t.beforeRead=t.placements=t.variationPlacements=t.reference=t.popper=t.viewport=t.clippingParents=t.end=t.start=t.basePlacements=t.auto=t.left=t.right=t.bottom=t.top=void 0;t.top="top";var n="bottom";t.bottom=n;var o="right";t.right=o;var r="left";t.left=r;var i="auto";t.auto=i;var a=["top",n,o,r];t.basePlacements=a;var c="start";t.start=c;var u="end";t.end=u;t.clippingParents="clippingParents";t.viewport="viewport";t.popper="popper";t.reference="reference";var l=a.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]);t.variationPlacements=l;var s=[].concat(a,[i]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]);t.placements=s;var d="beforeRead";t.beforeRead=d;var f="read";t.read=f;var p="afterRead";t.afterRead=p;var m="beforeMain";t.beforeMain=m;var h="main";t.main=h;var v="afterMain";t.afterMain=v;var g="beforeWrite";t.beforeWrite=g;var b="write";t.write=b;var C="afterWrite";t.afterWrite=C;var y=[d,f,p,m,h,v,g,b,C];t.modifierPhases=y},34739:function(e,t,n){"use strict";t.__esModule=!0;var o={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};t.createPopperLite=t.createPopper=t.createPopperBase=t.detectOverflow=t.popperGenerator=void 0;var r=n(56728);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===r[e]||(t[e]=r[e]))}));var i=n(18726);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||(t[e]=i[e]))}));var a=n(92179);t.popperGenerator=a.popperGenerator,t.detectOverflow=a.detectOverflow,t.createPopperBase=a.createPopper;var c=n(48069);t.createPopper=c.createPopper;var u=n(39030);t.createPopperLite=u.createPopper},34559:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(99624))&&o.__esModule?o:{"default":o},i=n(67458);var a={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},a=t.elements[e];(0,i.isHTMLElement)(a)&&(0,r["default"])(a)&&(Object.assign(a.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],a=t.attributes[e]||{},c=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,i.isHTMLElement)(o)&&(0,r["default"])(o)&&(Object.assign(o.style,c),Object.keys(a).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};t["default"]=a},76340:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=f(n(22709)),r=f(n(43545)),i=f(n(97607)),a=f(n(32440)),c=f(n(16615)),u=f(n(52534)),l=f(n(32055)),s=f(n(76294)),d=n(56728);n(67458);function f(e){return e&&e.__esModule?e:{"default":e}}var p=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,l["default"])("number"!=typeof e?e:(0,s["default"])(e,d.basePlacements))};var m={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,l=e.options,s=n.elements.arrow,f=n.modifiersData.popperOffsets,m=(0,o["default"])(n.placement),h=(0,c["default"])(m),v=[d.left,d.right].indexOf(m)>=0?"height":"width";if(s&&f){var g=p(l.padding,n),b=(0,r["default"])(s),C="y"===h?d.top:d.left,y="y"===h?d.bottom:d.right,N=n.rects.reference[v]+n.rects.reference[h]-f[h]-n.rects.popper[v],V=f[h]-n.rects.reference[h],_=(0,a["default"])(s),x=_?"y"===h?_.clientHeight||0:_.clientWidth||0:0,w=N/2-V/2,S=g[C],k=x-b[v]-g[y],E=x/2-b[v]/2+w,B=(0,u["default"])(S,E,k),I=h;n.modifiersData[i]=((t={})[I]=B,t.centerOffset=B-E,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&(0,i["default"])(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};t["default"]=m},11300:function(e,t,n){"use strict";t.__esModule=!0,t.mapToStyles=f,t["default"]=void 0;var o=n(56728),r=s(n(32440)),i=s(n(31677)),a=s(n(58386)),c=s(n(61131)),u=s(n(22709)),l=n(62836);function s(e){return e&&e.__esModule?e:{"default":e}}var d={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(e){var t,n=e.popper,u=e.popperRect,s=e.placement,f=e.offsets,p=e.position,m=e.gpuAcceleration,h=e.adaptive,v=e.roundOffsets,g=!0===v?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:(0,l.round)((0,l.round)(t*o)/o)||0,y:(0,l.round)((0,l.round)(n*o)/o)||0}}(f):"function"==typeof v?v(f):f,b=g.x,C=void 0===b?0:b,y=g.y,N=void 0===y?0:y,V=f.hasOwnProperty("x"),_=f.hasOwnProperty("y"),x=o.left,w=o.top,S=window;if(h){var k=(0,r["default"])(n),E="clientHeight",B="clientWidth";k===(0,i["default"])(n)&&(k=(0,a["default"])(n),"static"!==(0,c["default"])(k).position&&(E="scrollHeight",B="scrollWidth")),k=k,s===o.top&&(w=o.bottom,N-=k[E]-u.height,N*=m?1:-1),s===o.left&&(x=o.right,C-=k[B]-u.width,C*=m?1:-1)}var I,L=Object.assign({position:p},h&&d);return m?Object.assign({},L,((I={})[w]=_?"0":"",I[x]=V?"0":"",I.transform=(S.devicePixelRatio||1)<2?"translate("+C+"px, "+N+"px)":"translate3d("+C+"px, "+N+"px, 0)",I)):Object.assign({},L,((t={})[w]=_?N+"px":"",t[x]=V?C+"px":"",t.transform="",t))}var p={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,c=n.roundOffsets,l=void 0===c||c,s={placement:(0,u["default"])(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,f(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,f(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};t["default"]=p},27020:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(31677))&&o.__esModule?o:{"default":o};var i={passive:!0};var a={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,a=o.scroll,c=void 0===a||a,u=o.resize,l=void 0===u||u,s=(0,r["default"])(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&d.forEach((function(e){e.addEventListener("scroll",n.update,i)})),l&&s.addEventListener("resize",n.update,i),function(){c&&d.forEach((function(e){e.removeEventListener("scroll",n.update,i)})),l&&s.removeEventListener("resize",n.update,i)}},data:{}};t["default"]=a},45922:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=s(n(70045)),r=s(n(22709)),i=s(n(28916)),a=s(n(19574)),c=s(n(31565)),u=n(56728),l=s(n(45412));function s(e){return e&&e.__esModule?e:{"default":e}}var d={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var d=n.mainAxis,f=void 0===d||d,p=n.altAxis,m=void 0===p||p,h=n.fallbackPlacements,v=n.padding,g=n.boundary,b=n.rootBoundary,C=n.altBoundary,y=n.flipVariations,N=void 0===y||y,V=n.allowedAutoPlacements,_=t.options.placement,x=(0,r["default"])(_),w=h||(x===_||!N?[(0,o["default"])(_)]:function(e){if((0,r["default"])(e)===u.auto)return[];var t=(0,o["default"])(e);return[(0,i["default"])(e),t,(0,i["default"])(t)]}(_)),S=[_].concat(w).reduce((function(e,n){return e.concat((0,r["default"])(n)===u.auto?(0,c["default"])(t,{placement:n,boundary:g,rootBoundary:b,padding:v,flipVariations:N,allowedAutoPlacements:V}):n)}),[]),k=t.rects.reference,E=t.rects.popper,B=new Map,I=!0,L=S[0],O=0;O<S.length;O++){var M=S[O],A=(0,r["default"])(M),T=(0,l["default"])(M)===u.start,P=[u.top,u.bottom].indexOf(A)>=0,j=P?"width":"height",F=(0,a["default"])(t,{placement:M,boundary:g,rootBoundary:b,altBoundary:C,padding:v}),R=P?T?u.right:u.left:T?u.bottom:u.top;k[j]>E[j]&&(R=(0,o["default"])(R));var D=(0,o["default"])(R),K=[];if(f&&K.push(F[A]<=0),m&&K.push(F[R]<=0,F[D]<=0),K.every((function(e){return e}))){L=M,I=!1;break}B.set(M,K)}if(I)for(var z=function(e){var t=S.find((function(t){var n=B.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return L=t,"break"},W=N?3:1;W>0;W--){if("break"===z(W))break}t.placement!==L&&(t.modifiersData[s]._skip=!0,t.placement=L,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};t["default"]=d},82860:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=n(56728),i=(o=n(19574))&&o.__esModule?o:{"default":o};function a(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function c(e){return[r.top,r.right,r.bottom,r.left].some((function(t){return e[t]>=0}))}var u={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,u=t.modifiersData.preventOverflow,l=(0,i["default"])(t,{elementContext:"reference"}),s=(0,i["default"])(t,{altBoundary:!0}),d=a(l,o),f=a(s,r,u),p=c(d),m=c(f);t.modifiersData[n]={referenceClippingOffsets:d,popperEscapeOffsets:f,isReferenceHidden:p,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":m})}};t["default"]=u},18726:function(e,t,n){"use strict";t.__esModule=!0,t.preventOverflow=t.popperOffsets=t.offset=t.hide=t.flip=t.eventListeners=t.computeStyles=t.arrow=t.applyStyles=void 0;var o=f(n(34559));t.applyStyles=o["default"];var r=f(n(76340));t.arrow=r["default"];var i=f(n(11300));t.computeStyles=i["default"];var a=f(n(27020));t.eventListeners=a["default"];var c=f(n(45922));t.flip=c["default"];var u=f(n(82860));t.hide=u["default"];var l=f(n(33310));t.offset=l["default"];var s=f(n(74371));t.popperOffsets=s["default"];var d=f(n(21532));function f(e){return e&&e.__esModule?e:{"default":e}}t.preventOverflow=d["default"]},33310:function(e,t,n){"use strict";t.__esModule=!0,t.distanceAndSkiddingToXY=a,t["default"]=void 0;var o,r=(o=n(22709))&&o.__esModule?o:{"default":o},i=n(56728);function a(e,t,n){var o=(0,r["default"])(e),a=[i.left,i.top].indexOf(o)>=0?-1:1,c="function"==typeof n?n(Object.assign({},t,{placement:e})):n,u=c[0],l=c[1];return u=u||0,l=(l||0)*a,[i.left,i.right].indexOf(o)>=0?{x:l,y:u}:{x:u,y:l}}var c={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,r=n.offset,c=void 0===r?[0,0]:r,u=i.placements.reduce((function(e,n){return e[n]=a(n,t.rects,c),e}),{}),l=u[t.placement],s=l.x,d=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[o]=u}};t["default"]=c},74371:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o,r=(o=n(17175))&&o.__esModule?o:{"default":o};var i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,r["default"])({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};t["default"]=i},21532:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=void 0;var o=n(56728),r=m(n(22709)),i=m(n(16615)),a=m(n(82898)),c=m(n(52534)),u=m(n(43545)),l=m(n(32440)),s=m(n(19574)),d=m(n(45412)),f=m(n(41801)),p=n(62836);function m(e){return e&&e.__esModule?e:{"default":e}}var h={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,m=e.name,h=n.mainAxis,v=void 0===h||h,g=n.altAxis,b=void 0!==g&&g,C=n.boundary,y=n.rootBoundary,N=n.altBoundary,V=n.padding,_=n.tether,x=void 0===_||_,w=n.tetherOffset,S=void 0===w?0:w,k=(0,s["default"])(t,{boundary:C,rootBoundary:y,padding:V,altBoundary:N}),E=(0,r["default"])(t.placement),B=(0,d["default"])(t.placement),I=!B,L=(0,i["default"])(E),O=(0,a["default"])(L),M=t.modifiersData.popperOffsets,A=t.rects.reference,T=t.rects.popper,P="function"==typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,j={x:0,y:0};if(M){if(v||b){var F="y"===L?o.top:o.left,R="y"===L?o.bottom:o.right,D="y"===L?"height":"width",K=M[L],z=M[L]+k[F],W=M[L]-k[R],Y=x?-T[D]/2:0,U=B===o.start?A[D]:T[D],H=B===o.start?-T[D]:-A[D],G=t.elements.arrow,$=x&&G?(0,u["default"])(G):{width:0,height:0},q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,f["default"])(),X=q[F],Q=q[R],J=(0,c["default"])(0,A[D],$[D]),Z=I?A[D]/2-Y-J-X-P:U-J-X-P,ee=I?-A[D]/2+Y+J+Q+P:H+J+Q+P,te=t.elements.arrow&&(0,l["default"])(t.elements.arrow),ne=te?"y"===L?te.clientTop||0:te.clientLeft||0:0,oe=t.modifiersData.offset?t.modifiersData.offset[t.placement][L]:0,re=M[L]+Z-oe-ne,ie=M[L]+ee-oe;if(v){var ae=(0,c["default"])(x?(0,p.min)(z,re):z,K,x?(0,p.max)(W,ie):W);M[L]=ae,j[L]=ae-K}if(b){var ce="x"===L?o.top:o.left,ue="x"===L?o.bottom:o.right,le=M[O],se=le+k[ce],de=le-k[ue],fe=(0,c["default"])(x?(0,p.min)(se,re):se,le,x?(0,p.max)(de,ie):de);M[O]=fe,j[O]=fe-le}}t.modifiersData[m]=j}},requiresIfExists:["offset"]};t["default"]=h},39030:function(e,t,n){"use strict";t.__esModule=!0,t.defaultModifiers=t.createPopper=void 0;var o=n(92179);t.popperGenerator=o.popperGenerator,t.detectOverflow=o.detectOverflow;var r=u(n(27020)),i=u(n(74371)),a=u(n(11300)),c=u(n(34559));function u(e){return e&&e.__esModule?e:{"default":e}}var l=[r["default"],i["default"],a["default"],c["default"]];t.defaultModifiers=l;var s=(0,o.popperGenerator)({defaultModifiers:l});t.createPopper=s},48069:function(e,t,n){"use strict";t.__esModule=!0;var o={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};t.defaultModifiers=t.createPopperLite=t.createPopper=void 0;var r=n(92179);t.popperGenerator=r.popperGenerator,t.detectOverflow=r.detectOverflow;var i=v(n(27020)),a=v(n(74371)),c=v(n(11300)),u=v(n(34559)),l=v(n(33310)),s=v(n(45922)),d=v(n(21532)),f=v(n(76340)),p=v(n(82860)),m=n(39030);t.createPopperLite=m.createPopper;var h=n(18726);function v(e){return e&&e.__esModule?e:{"default":e}}Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||(t[e]=h[e]))}));var g=[i["default"],a["default"],c["default"],u["default"],l["default"],s["default"],d["default"],f["default"],p["default"]];t.defaultModifiers=g;var b=(0,r.popperGenerator)({defaultModifiers:g});t.createPopperLite=t.createPopper=b},31565:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t={});var n=t,c=n.placement,u=n.boundary,l=n.rootBoundary,s=n.padding,d=n.flipVariations,f=n.allowedAutoPlacements,p=void 0===f?r.placements:f,m=(0,o["default"])(c),h=m?d?r.variationPlacements:r.variationPlacements.filter((function(e){return(0,o["default"])(e)===m})):r.basePlacements,v=h.filter((function(e){return p.indexOf(e)>=0}));0===v.length&&(v=h);var g=v.reduce((function(t,n){return t[n]=(0,i["default"])(e,{placement:n,boundary:u,rootBoundary:l,padding:s})[(0,a["default"])(n)],t}),{});return Object.keys(g).sort((function(e,t){return g[e]-g[t]}))};var o=c(n(45412)),r=n(56728),i=c(n(19574)),a=c(n(22709));function c(e){return e&&e.__esModule?e:{"default":e}}},17175:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t,n=e.reference,c=e.element,u=e.placement,l=u?(0,o["default"])(u):null,s=u?(0,r["default"])(u):null,d=n.x+n.width/2-c.width/2,f=n.y+n.height/2-c.height/2;switch(l){case a.top:t={x:d,y:n.y-c.height};break;case a.bottom:t={x:d,y:n.y+n.height};break;case a.right:t={x:n.x+n.width,y:f};break;case a.left:t={x:n.x-c.width,y:f};break;default:t={x:n.x,y:n.y}}var p=l?(0,i["default"])(l):null;if(null!=p){var m="y"===p?"height":"width";switch(s){case a.start:t[p]=t[p]-(n[m]/2-c[m]/2);break;case a.end:t[p]=t[p]+(n[m]/2-c[m]/2)}}return t};var o=c(n(22709)),r=c(n(45412)),i=c(n(16615)),a=n(56728);function c(e){return e&&e.__esModule?e:{"default":e}}},68369:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=undefined,n(e())}))}))),t}}},19574:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,m=n.boundary,h=void 0===m?u.clippingParents:m,v=n.rootBoundary,g=void 0===v?u.viewport:v,b=n.elementContext,C=void 0===b?u.popper:b,y=n.altBoundary,N=void 0!==y&&y,V=n.padding,_=void 0===V?0:V,x=(0,s["default"])("number"!=typeof _?_:(0,d["default"])(_,u.basePlacements)),w=C===u.popper?u.reference:u.popper,S=e.elements.reference,k=e.rects.popper,E=e.elements[N?w:C],B=(0,r["default"])((0,l.isElement)(E)?E:E.contextElement||(0,i["default"])(e.elements.popper),h,g),I=(0,o["default"])(S),L=(0,a["default"])({reference:I,element:k,strategy:"absolute",placement:p}),O=(0,c["default"])(Object.assign({},k,L)),M=C===u.popper?O:I,A={top:B.top-M.top+x.top,bottom:M.bottom-B.bottom+x.bottom,left:B.left-M.left+x.left,right:M.right-B.right+x.right},T=e.modifiersData.offset;if(C===u.popper&&T){var P=T[p];Object.keys(A).forEach((function(e){var t=[u.right,u.bottom].indexOf(e)>=0?1:-1,n=[u.top,u.bottom].indexOf(e)>=0?"y":"x";A[e]+=P[n]*t}))}return A};var o=f(n(94294)),r=f(n(48162)),i=f(n(58386)),a=f(n(17175)),c=f(n(20935)),u=n(56728),l=n(67458),s=f(n(32055)),d=f(n(76294));function f(e){return e&&e.__esModule?e:{"default":e}}},76294:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}},41434:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}},82898:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return"x"===e?"y":"x"}},22709:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return e.split("-")[0]};n(56728)},41801:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(){return{top:0,right:0,bottom:0,left:0}}},16615:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},70045:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.replace(/left|right|bottom|top/g,(function(e){return n[e]}))};var n={left:"right",right:"left",bottom:"top",top:"bottom"}},28916:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.replace(/start|end/g,(function(e){return n[e]}))};var n={start:"end",end:"start"}},45412:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return e.split("-")[1]}},62836:function(e,t){"use strict";t.__esModule=!0,t.round=t.min=t.max=void 0;var n=Math.max;t.max=n;var o=Math.min;t.min=o;var r=Math.round;t.round=r},36284:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}},32055:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){return Object.assign({},(0,r["default"])(),e)};var o,r=(o=n(41801))&&o.__esModule?o:{"default":o}},45700:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){var t=function(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}(e);return o.modifierPhases.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])};var o=n(56728)},20935:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},25435:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=new Set;return e.filter((function(e){var o=t(e);if(!n.has(o))return n.add(o),!0}))}},38574:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":t.name;break;case"enabled":t.enabled;case"phase":r.modifierPhases.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":t.effect;break;case"requires":Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach((function(t){e.find((function(e){return e.name===t}))}))}))}))};(o=n(41434))&&o.__esModule;var o,r=n(56728)},52534:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(e,t,n){return(0,o.max)(e,(0,o.min)(t,n))};var o=n(62836)},83923:function(e){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},1372:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},36910:function(e,t,n){"use strict";var o=n(17657),r=n(83681),i=n(74217),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},69953:function(e,t,n){"use strict";var o=n(37015).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},50997:function(e){"use strict";e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},63518:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},32977:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},19216:function(e,t,n){"use strict";var o,r,i,a=n(32977),c=n(75592),u=n(84253),l=n(35611),s=n(28919),d=n(47953),f=n(52188),p=n(11807),m=n(74217).f,h=n(6863),v=n(18444),g=n(17657),b=n(41080),C=u.Int8Array,y=C&&C.prototype,N=u.Uint8ClampedArray,V=N&&N.prototype,_=C&&h(C),x=y&&h(y),w=Object.prototype,S=w.isPrototypeOf,k=g("toStringTag"),E=b("TYPED_ARRAY_TAG"),B=b("TYPED_ARRAY_CONSTRUCTOR"),I=a&&!!v&&"Opera"!==d(u.opera),L=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},A=function(e){if(!l(e))return!1;var t=d(e);return"DataView"===t||s(O,t)||s(M,t)},T=function(e){if(!l(e))return!1;var t=d(e);return s(O,t)||s(M,t)};for(o in O)(i=(r=u[o])&&r.prototype)?f(i,B,r):I=!1;for(o in M)(i=(r=u[o])&&r.prototype)&&f(i,B,r);if((!I||"function"!=typeof _||_===Function.prototype)&&(_=function(){throw TypeError("Incorrect invocation")},I))for(o in O)u[o]&&v(u[o],_);if((!I||!x||x===w)&&(x=_.prototype,I))for(o in O)u[o]&&v(u[o].prototype,x);if(I&&h(V)!==x&&v(V,x),c&&!s(x,k))for(o in L=!0,m(x,k,{get:function(){return l(this)?this[E]:undefined}}),O)u[o]&&f(u[o],E,o);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:I,TYPED_ARRAY_CONSTRUCTOR:B,TYPED_ARRAY_TAG:L&&E,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(v&&!S.call(_,e))throw TypeError("Target is not a typed array constructor");return e},exportTypedArrayMethod:function(e,t,n){if(c){if(n)for(var o in O){var r=u[o];if(r&&s(r.prototype,e))try{delete r.prototype[e]}catch(i){}}x[e]&&!n||p(x,e,n?t:I&&y[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var o,r;if(c){if(v){if(n)for(o in O)if((r=u[o])&&s(r,e))try{delete r[e]}catch(i){}if(_[e]&&!n)return;try{return p(_,e,n?t:I&&_[e]||t)}catch(i){}}for(o in O)!(r=u[o])||r[e]&&!n||p(r,e,t)}},isView:A,isTypedArray:T,TypedArray:_,TypedArrayPrototype:x}},80246:function(e,t,n){"use strict";var o=n(84253),r=n(75592),i=n(32977),a=n(52188),c=n(3993),u=n(69691),l=n(50997),s=n(3997),d=n(39570),f=n(77559),p=n(16567),m=n(6863),h=n(18444),v=n(78870).f,g=n(74217).f,b=n(22051),C=n(29108),y=n(79947),N=y.get,V=y.set,_="ArrayBuffer",x="DataView",w="Wrong index",S=o.ArrayBuffer,k=S,E=o.DataView,B=E&&E.prototype,I=Object.prototype,L=o.RangeError,O=p.pack,M=p.unpack,A=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},P=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},j=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},F=function(e){return O(e,23,4)},R=function(e){return O(e,52,8)},D=function(e,t){g(e.prototype,t,{get:function(){return N(this)[t]}})},K=function(e,t,n,o){var r=f(n),i=N(e);if(r+t>i.byteLength)throw L(w);var a=N(i.buffer).bytes,c=r+i.byteOffset,u=a.slice(c,c+t);return o?u:u.reverse()},z=function(e,t,n,o,r,i){var a=f(n),c=N(e);if(a+t>c.byteLength)throw L(w);for(var u=N(c.buffer).bytes,l=a+c.byteOffset,s=o(+r),d=0;d<t;d++)u[l+d]=s[i?d:t-d-1]};if(i){if(!u((function(){S(1)}))||!u((function(){new S(-1)}))||u((function(){return new S,new S(1.5),new S(NaN),S.name!=_}))){for(var W,Y=(k=function(e){return l(this,k),new S(f(e))}).prototype=S.prototype,U=v(S),H=0;U.length>H;)(W=U[H++])in k||a(k,W,S[W]);Y.constructor=k}h&&m(B)!==I&&h(B,I);var G=new E(new k(2)),$=B.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||c(B,{setInt8:function(e,t){$.call(this,e,t<<24>>24)},setUint8:function(e,t){$.call(this,e,t<<24>>24)}},{unsafe:!0})}else k=function(e){l(this,k,_);var t=f(e);V(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},E=function(e,t,n){l(this,E,x),l(e,k,x);var o=N(e).byteLength,i=s(t);if(i<0||i>o)throw L("Wrong offset");if(i+(n=n===undefined?o-i:d(n))>o)throw L("Wrong length");V(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(D(k,"byteLength"),D(E,"buffer"),D(E,"byteLength"),D(E,"byteOffset")),c(E.prototype,{getInt8:function(e){return K(this,1,e)[0]<<24>>24},getUint8:function(e){return K(this,1,e)[0]},getInt16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=K(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return j(K(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return j(K(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return M(K(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return M(K(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){z(this,1,e,A,t)},setUint8:function(e,t){z(this,1,e,A,t)},setInt16:function(e,t){z(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){z(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){z(this,4,e,P,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){z(this,4,e,P,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){z(this,4,e,F,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){z(this,8,e,R,t,arguments.length>2?arguments[2]:undefined)}});C(k,_),C(E,x),e.exports={ArrayBuffer:k,DataView:E}},59571:function(e,t,n){"use strict";var o=n(12104),r=n(55205),i=n(39570),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),u=r(e,c),l=r(t,c),s=arguments.length>2?arguments[2]:undefined,d=a((s===undefined?c:r(s,c))-l,c-u),f=1;for(l<u&&u<l+d&&(f=-1,l+=d-1,u+=d-1);d-- >0;)l in n?n[u]=n[l]:delete n[u],u+=f,l+=f;return n}},22051:function(e,t,n){"use strict";var o=n(12104),r=n(55205),i=n(39570);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),u=a>2?arguments[2]:undefined,l=u===undefined?n:r(u,n);l>c;)t[c++]=e;return t}},90369:function(e,t,n){"use strict";var o=n(69033).forEach,r=n(37902)("forEach");e.exports=r?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},11955:function(e){"use strict";e.exports=function(e,t){for(var n=0,o=t.length,r=new e(o);o>n;)r[n]=t[n++];return r}},28213:function(e,t,n){"use strict";var o=n(74271),r=n(12104),i=n(32648),a=n(14195),c=n(39570),u=n(39241),l=n(3170);e.exports=function(e){var t,n,s,d,f,p,m=r(e),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:undefined,b=g!==undefined,C=l(m),y=0;if(b&&(g=o(g,v>2?arguments[2]:undefined,2)),C==undefined||h==Array&&a(C))for(n=new h(t=c(m.length));t>y;y++)p=b?g(m[y],y):m[y],u(n,y,p);else for(f=(d=C.call(m)).next,n=new h;!(s=f.call(d)).done;y++)p=b?i(d,g,[s.value,y],!0):s.value,u(n,y,p);return n.length=y,n}},25945:function(e,t,n){"use strict";var o=n(26553),r=n(39570),i=n(55205),a=function(e){return function(t,n,a){var c,u=o(t),l=r(u.length),s=i(a,l);if(e&&n!=n){for(;l>s;)if((c=u[s++])!=c)return!0}else for(;l>s;s++)if((e||s in u)&&u[s]===n)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},69033:function(e,t,n){"use strict";var o=n(74271),r=n(50990),i=n(12104),a=n(39570),c=n(77454),u=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,s=4==e,d=6==e,f=7==e,p=5==e||d;return function(m,h,v,g){for(var b,C,y=i(m),N=r(y),V=o(h,v,3),_=a(N.length),x=0,w=g||c,S=t?w(m,_):n||f?w(m,0):undefined;_>x;x++)if((p||x in N)&&(C=V(b=N[x],x,y),e))if(t)S[x]=C;else if(C)switch(e){case 3:return!0;case 5:return b;case 6:return x;case 2:u.call(S,b)}else switch(e){case 4:return!1;case 7:u.call(S,b)}return d?-1:l||s?s:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},41183:function(e,t,n){"use strict";var o=n(26553),r=n(3997),i=n(39570),a=n(37902),c=Math.min,u=[].lastIndexOf,l=!!u&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),d=l||!s;e.exports=d?function(e){if(l)return u.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=c(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},93537:function(e,t,n){"use strict";var o=n(69691),r=n(17657),i=n(12338),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},37902:function(e,t,n){"use strict";var o=n(69691);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},28249:function(e,t,n){"use strict";var o=n(83923),r=n(12104),i=n(50990),a=n(39570),c=function(e){return function(t,n,c,u){o(n);var l=r(t),s=i(l),d=a(l.length),f=e?d-1:0,p=e?-1:1;if(c<2)for(;;){if(f in s){u=s[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in s&&(u=n(u,s[f],f,l));return u}};e.exports={left:c(!1),right:c(!0)}},58737:function(e){"use strict";var t=Math.floor,n=function(e,t){for(var n,o,r=e.length,i=1;i<r;){for(o=i,n=e[i];o&&t(e[o-1],n)>0;)e[o]=e[--o];o!==i++&&(e[o]=n)}return e},o=function(e,t,n){for(var o=e.length,r=t.length,i=0,a=0,c=[];i<o||a<r;)i<o&&a<r?c.push(n(e[i],t[a])<=0?e[i++]:t[a++]):c.push(i<o?e[i++]:t[a++]);return c};e.exports=function r(e,i){var a=e.length,c=t(a/2);return a<8?n(e,i):o(r(e.slice(0,c),i),r(e.slice(c),i),i)}},73612:function(e,t,n){"use strict";var o=n(35611),r=n(89999),i=n(17657)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)?o(t)&&null===(t=t[i])&&(t=undefined):t=undefined),t===undefined?Array:t}},77454:function(e,t,n){"use strict";var o=n(73612);e.exports=function(e,t){return new(o(e))(0===t?0:t)}},32648:function(e,t,n){"use strict";var o=n(63518),r=n(61781);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(a){throw r(e),a}}},68762:function(e,t,n){"use strict";var o=n(17657)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},"return":function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},77e3:function(e){"use strict";var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},47953:function(e,t,n){"use strict";var o=n(64910),r=n(77e3),i=n(17657)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return e===undefined?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},74568:function(e,t,n){"use strict";var o=n(74217).f,r=n(83681),i=n(3993),a=n(74271),c=n(50997),u=n(56342),l=n(71179),s=n(64157),d=n(75592),f=n(40421).fastKey,p=n(79947),m=p.set,h=p.getterFor;e.exports={getConstructor:function(e,t,n,l){var s=e((function(e,o){c(e,s,t),m(e,{type:t,index:r(null),first:undefined,last:undefined,size:0}),d||(e.size=0),o!=undefined&&u(o,e[l],{that:e,AS_ENTRIES:n})})),p=h(t),v=function(e,t,n){var o,r,i=p(e),a=g(e,t);return a?a.value=n:(i.last=a={index:r=f(t,!0),key:t,value:n,previous:o=i.last,next:undefined,removed:!1},i.first||(i.first=a),o&&(o.next=a),d?i.size++:e.size++,"F"!==r&&(i.index[r]=a)),e},g=function(e,t){var n,o=p(e),r=f(t);if("F"!==r)return o.index[r];for(n=o.first;n;n=n.next)if(n.key==t)return n};return i(s.prototype,{clear:function(){for(var e=p(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=undefined),delete t[n.index],n=n.next;e.first=e.last=undefined,d?e.size=0:this.size=0},"delete":function(e){var t=this,n=p(t),o=g(t,e);if(o){var r=o.next,i=o.previous;delete n.index[o.index],o.removed=!0,i&&(i.next=r),r&&(r.previous=i),n.first==o&&(n.first=r),n.last==o&&(n.last=i),d?n.size--:t.size--}return!!o},forEach:function(e){for(var t,n=p(this),o=a(e,arguments.length>1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(s.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),d&&o(s.prototype,"size",{get:function(){return p(this).size}}),s},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);l(e,t,(function(e,t){m(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),s(t)}}},57396:function(e,t,n){"use strict";var o=n(3993),r=n(40421).getWeakData,i=n(63518),a=n(35611),c=n(50997),u=n(56342),l=n(69033),s=n(28919),d=n(79947),f=d.set,p=d.getterFor,m=l.find,h=l.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},C=function(e,t){return m(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=C(this,e);if(t)return t[1]},has:function(e){return!!C(this,e)},set:function(e,t){var n=C(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,o){c(e,d,t),f(e,{type:t,id:v++,frozen:undefined}),o!=undefined&&u(o,e[l],{that:e,AS_ENTRIES:n})})),m=p(t),h=function(e,t,n){var o=m(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(d.prototype,{"delete":function(e){var t=m(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&s(n,t.id)&&delete n[t.id]},has:function(e){var t=m(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&s(n,t.id)}}),o(d.prototype,n?{get:function(e){var t=m(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),d}}},42006:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(41441),a=n(11807),c=n(40421),u=n(56342),l=n(50997),s=n(35611),d=n(69691),f=n(68762),p=n(29108),m=n(22285);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],C=b&&b.prototype,y=b,N={},V=function(e){var t=C[e];a(C,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!s(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!s(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(v||C.forEach&&!d((function(){(new b).entries().next()})))))y=n.getConstructor(t,e,h,g),c.enable();else if(i(e,!0)){var _=new y,x=_[g](v?{}:-0,1)!=_,w=d((function(){_.has(1)})),S=f((function(e){new b(e)})),k=!v&&d((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));S||((y=t((function(t,n){l(t,y,e);var o=m(new b,t,y);return n!=undefined&&u(n,o[g],{that:o,AS_ENTRIES:h}),o}))).prototype=C,C.constructor=y),(w||k)&&(V("delete"),V("has"),h&&V("get")),(k||x)&&V(g),v&&C.clear&&delete C.clear}return N[e]=y,o({global:!0,forced:y!=b},N),p(y,e),v||n.setStrong(y,e,h),y}},49957:function(e,t,n){"use strict";var o=n(28919),r=n(28482),i=n(22245),a=n(74217);e.exports=function(e,t){for(var n=r(t),c=a.f,u=i.f,l=0;l<n.length;l++){var s=n[l];o(e,s)||c(e,s,u(t,s))}}},93937:function(e,t,n){"use strict";var o=n(17657)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},28954:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},34141:function(e,t,n){"use strict";var o=n(44184),r=n(92082),i=/"/g;e.exports=function(e,t,n,a){var c=r(o(e)),u="<"+t;return""!==n&&(u+=" "+n+'="'+r(a).replace(i,""")+'"'),u+">"+c+"</"+t+">"}},38415:function(e,t,n){"use strict";var o=n(39881).IteratorPrototype,r=n(83681),i=n(39160),a=n(29108),c=n(82723),u=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,l,!1,!0),c[l]=u,e}},52188:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(39160);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},39160:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},39241:function(e,t,n){"use strict";var o=n(14613),r=n(74217),i=n(39160);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},79873:function(e,t,n){"use strict";var o=n(69691),r=n(47497).start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;e.exports=o((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!o((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),o=t<0?"-":t>9999?"+":"";return o+r(i(t),o?6:4,0)+"-"+r(e.getUTCMonth()+1,2,0)+"-"+r(e.getUTCDate(),2,0)+"T"+r(e.getUTCHours(),2,0)+":"+r(e.getUTCMinutes(),2,0)+":"+r(e.getUTCSeconds(),2,0)+"."+r(n,3,0)+"Z"}:u},57763:function(e,t,n){"use strict";var o=n(63518),r=n(28734);e.exports=function(e){if(o(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw TypeError("Incorrect hint");return r(this,e)}},71179:function(e,t,n){"use strict";var o=n(56174),r=n(38415),i=n(6863),a=n(18444),c=n(29108),u=n(52188),l=n(11807),s=n(17657),d=n(1986),f=n(82723),p=n(39881),m=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,v=s("iterator"),g="keys",b="values",C="entries",y=function(){return this};e.exports=function(e,t,n,s,p,N,V){r(n,t,s);var _,x,w,S=function(e){if(e===p&&L)return L;if(!h&&e in B)return B[e];switch(e){case g:case b:case C:return function(){return new n(this,e)}}return function(){return new n(this)}},k=t+" Iterator",E=!1,B=e.prototype,I=B[v]||B["@@iterator"]||p&&B[p],L=!h&&I||S(p),O="Array"==t&&B.entries||I;if(O&&(_=i(O.call(new e)),m!==Object.prototype&&_.next&&(d||i(_)===m||(a?a(_,m):"function"!=typeof _[v]&&u(_,v,y)),c(_,k,!0,!0),d&&(f[k]=y))),p==b&&I&&I.name!==b&&(E=!0,L=function(){return I.call(this)}),d&&!V||B[v]===L||u(B,v,L),f[t]=L,p)if(x={values:S(b),keys:N?L:S(g),entries:S(C)},V)for(w in x)(h||E||!(w in B))&&l(B,w,x[w]);else o({target:t,proto:!0,forced:h||E},x);return x}},55282:function(e,t,n){"use strict";var o=n(65781),r=n(28919),i=n(3444),a=n(74217).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},75592:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},21477:function(e,t,n){"use strict";var o=n(84253),r=n(35611),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},20967:function(e,t,n){"use strict";var o=n(72319).match(/firefox\/(\d+)/i);e.exports=!!o&&+o[1]},46392:function(e){"use strict";e.exports="object"==typeof window},85749:function(e,t,n){"use strict";var o=n(72319);e.exports=/MSIE|Trident/.test(o)},20037:function(e,t,n){"use strict";var o=n(72319),r=n(84253);e.exports=/iphone|ipod|ipad/i.test(o)&&r.Pebble!==undefined},24542:function(e,t,n){"use strict";var o=n(72319);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(o)},41488:function(e,t,n){"use strict";var o=n(77e3),r=n(84253);e.exports="process"==o(r.process)},47501:function(e,t,n){"use strict";var o=n(72319);e.exports=/web0s(?!.*chrome)/i.test(o)},72319:function(e,t,n){"use strict";var o=n(69808);e.exports=o("navigator","userAgent")||""},12338:function(e,t,n){"use strict";var o,r,i=n(84253),a=n(72319),c=i.process,u=i.Deno,l=c&&c.versions||u&&u.version,s=l&&l.v8;s?r=(o=s.split("."))[0]<4?1:o[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},12200:function(e,t,n){"use strict";var o=n(72319).match(/AppleWebKit\/(\d+)\./);e.exports=!!o&&+o[1]},23344:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},56174:function(e,t,n){"use strict";var o=n(84253),r=n(22245).f,i=n(52188),a=n(11807),c=n(30889),u=n(49957),l=n(41441);e.exports=function(e,t){var n,s,d,f,p,m=e.target,h=e.global,v=e.stat;if(n=h?o:v?o[m]||c(m,{}):(o[m]||{}).prototype)for(s in t){if(f=t[s],d=e.noTargetGet?(p=r(n,s))&&p.value:n[s],!l(h?s:m+(v?".":"#")+s,e.forced)&&d!==undefined){if(typeof f==typeof d)continue;u(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,s,f,e)}}},69691:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},68880:function(e,t,n){"use strict";n(12654);var o=n(11807),r=n(71841),i=n(69691),a=n(17657),c=n(52188),u=a("species"),l=RegExp.prototype;e.exports=function(e,t,n,s){var d=a(e),f=!i((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),p=f&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!p||n){var m=/./[d],h=t(d,""[e],(function(e,t,n,o,i){var a=t.exec;return a===r||a===l.exec?f&&!i?{done:!0,value:m.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}));o(String.prototype,e,h[0]),o(l,d,h[1])}s&&c(l[d],"sham",!0)}},904:function(e,t,n){"use strict";var o=n(89999),r=n(39570),i=n(74271);e.exports=function a(e,t,n,c,u,l,s,d){for(var f,p=u,m=0,h=!!s&&i(s,d,3);m<c;){if(m in n){if(f=h?h(n[m],m,t):n[m],l>0&&o(f))p=a(e,t,f,r(f.length),p,l-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=f}p++}m++}return p}},7056:function(e,t,n){"use strict";var o=n(69691);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},74271:function(e,t,n){"use strict";var o=n(83923);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},68719:function(e,t,n){"use strict";var o=n(83923),r=n(35611),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r<t;r++)o[r]="a["+r+"]";a[t]=Function("C,a","return new C("+o.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=o(this),n=i.call(arguments,1),a=function(){var o=n.concat(i.call(arguments));return this instanceof a?c(t,o.length,o):t.apply(e,o)};return r(t.prototype)&&(a.prototype=t.prototype),a}},69808:function(e,t,n){"use strict";var o=n(84253),r=function(e){return"function"==typeof e?e:undefined};e.exports=function(e,t){return arguments.length<2?r(o[e]):o[e]&&o[e][t]}},3170:function(e,t,n){"use strict";var o=n(47953),r=n(82723),i=n(17657)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},55444:function(e,t,n){"use strict";var o=n(12104),r=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,u,l,s){var d=n+e.length,f=u.length,p=c;return l!==undefined&&(l=o(l),p=a),i.call(s,p,(function(o,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=l[i.slice(1,-1)];break;default:var c=+i;if(0===c)return o;if(c>f){var s=r(c/10);return 0===s?o:s<=f?u[s-1]===undefined?i.charAt(1):u[s-1]+i.charAt(1):o}a=u[c-1]}return a===undefined?"":a}))}},84253:function(e,t,n){"use strict";var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},28919:function(e,t,n){"use strict";var o=n(12104),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return r.call(o(e),t)}},90311:function(e){"use strict";e.exports={}},21419:function(e,t,n){"use strict";var o=n(84253);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},2369:function(e,t,n){"use strict";var o=n(69808);e.exports=o("document","documentElement")},78251:function(e,t,n){"use strict";var o=n(75592),r=n(69691),i=n(21477);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},16567:function(e){"use strict";var t=Math.abs,n=Math.pow,o=Math.floor,r=Math.log,i=Math.LN2;e.exports={pack:function(e,a,c){var u,l,s,d=new Array(c),f=8*c-a-1,p=(1<<f)-1,m=p>>1,h=23===a?n(2,-24)-n(2,-77):0,v=e<0||0===e&&1/e<0?1:0,g=0;for((e=t(e))!=e||e===Infinity?(l=e!=e?1:0,u=p):(u=o(r(e)/i),e*(s=n(2,-u))<1&&(u--,s*=2),(e+=u+m>=1?h/s:h*n(2,1-m))*s>=2&&(u++,s/=2),u+m>=p?(l=0,u=p):u+m>=1?(l=(e*s-1)*n(2,a),u+=m):(l=e*n(2,m-1)*n(2,a),u=0));a>=8;d[g++]=255&l,l/=256,a-=8);for(u=u<<a|l,f+=a;f>0;d[g++]=255&u,u/=256,f-=8);return d[--g]|=128*v,d},unpack:function(e,t){var o,r=e.length,i=8*r-t-1,a=(1<<i)-1,c=a>>1,u=i-7,l=r-1,s=e[l--],d=127&s;for(s>>=7;u>0;d=256*d+e[l],l--,u-=8);for(o=d&(1<<-u)-1,d>>=-u,u+=t;u>0;o=256*o+e[l],l--,u-=8);if(0===d)d=1-c;else{if(d===a)return o?NaN:s?-Infinity:Infinity;o+=n(2,t),d-=c}return(s?-1:1)*o*n(2,d-t)}}},50990:function(e,t,n){"use strict";var o=n(69691),r=n(77e3),i="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?i.call(e,""):Object(e)}:Object},22285:function(e,t,n){"use strict";var o=n(35611),r=n(18444);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},89853:function(e,t,n){"use strict";var o=n(55935),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},40421:function(e,t,n){"use strict";var o=n(56174),r=n(90311),i=n(35611),a=n(28919),c=n(74217).f,u=n(78870),l=n(59995),s=n(41080),d=n(7056),f=!1,p=s("meta"),m=0,h=Object.isExtensible||function(){return!0},v=function(e){c(e,p,{value:{objectID:"O"+m++,weakData:{}}})},g=e.exports={enable:function(){g.enable=function(){},f=!0;var e=u.f,t=[].splice,n={};n[p]=1,e(n).length&&(u.f=function(n){for(var o=e(n),r=0,i=o.length;r<i;r++)if(o[r]===p){t.call(o,r,1);break}return o},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,p)){if(!h(e))return"F";if(!t)return"E";v(e)}return e[p].objectID},getWeakData:function(e,t){if(!a(e,p)){if(!h(e))return!0;if(!t)return!1;v(e)}return e[p].weakData},onFreeze:function(e){return d&&f&&h(e)&&!a(e,p)&&v(e),e}};r[p]=!0},79947:function(e,t,n){"use strict";var o,r,i,a=n(82911),c=n(84253),u=n(35611),l=n(52188),s=n(28919),d=n(55935),f=n(85152),p=n(90311),m="Object already initialized",h=c.WeakMap;if(a||d.state){var v=d.state||(d.state=new h),g=v.get,b=v.has,C=v.set;o=function(e,t){if(b.call(v,e))throw new TypeError(m);return t.facade=e,C.call(v,e,t),t},r=function(e){return g.call(v,e)||{}},i=function(e){return b.call(v,e)}}else{var y=f("state");p[y]=!0,o=function(e,t){if(s(e,y))throw new TypeError(m);return t.facade=e,l(e,y,t),t},r=function(e){return s(e,y)?e[y]:{}},i=function(e){return s(e,y)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!u(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},14195:function(e,t,n){"use strict";var o=n(17657),r=n(82723),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},89999:function(e,t,n){"use strict";var o=n(77e3);e.exports=Array.isArray||function(e){return"Array"==o(e)}},41441:function(e,t,n){"use strict";var o=n(69691),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==l||n!=u&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";e.exports=i},93624:function(e,t,n){"use strict";var o=n(35611),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},35611:function(e){"use strict";e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1986:function(e){"use strict";e.exports=!1},86133:function(e,t,n){"use strict";var o=n(35611),r=n(77e3),i=n(17657)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},78253:function(e,t,n){"use strict";var o=n(69808),r=n(40647);e.exports=r?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return"function"==typeof t&&Object(e)instanceof t}},56342:function(e,t,n){"use strict";var o=n(63518),r=n(14195),i=n(39570),a=n(74271),c=n(3170),u=n(61781),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var s,d,f,p,m,h,v,g=n&&n.that,b=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),N=a(t,g,1+b+y),V=function(e){return s&&u(s),new l(!0,e)},_=function(e){return b?(o(e),y?N(e[0],e[1],V):N(e[0],e[1])):y?N(e,V):N(e)};if(C)s=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(r(d)){for(f=0,p=i(e.length);p>f;f++)if((m=_(e[f]))&&m instanceof l)return m;return new l(!1)}s=d.call(e)}for(h=s.next;!(v=h.call(s)).done;){try{m=_(v.value)}catch(x){throw u(s),x}if("object"==typeof m&&m&&m instanceof l)return m}return new l(!1)}},61781:function(e,t,n){"use strict";var o=n(63518);e.exports=function(e){var t=e["return"];if(t!==undefined)return o(t.call(e)).value}},39881:function(e,t,n){"use strict";var o,r,i,a=n(69691),c=n(6863),u=n(52188),l=n(28919),s=n(17657),d=n(1986),f=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(r=c(c(i)))!==Object.prototype&&(o=r):p=!0);var m=o==undefined||a((function(){var e={};return o[f].call(e)!==e}));m&&(o={}),d&&!m||l(o,f)||u(o,f,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},82723:function(e){"use strict";e.exports={}},19997:function(e){"use strict";var t=Math.expm1,n=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:n(e)-1}:t},43334:function(e,t,n){"use strict";var o=n(24305),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),l=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),s=o(e);return i<l?s*(i/l/c+1/a-1/a)*l*c:(n=(t=(1+c/a)*i)-(t-i))>u||n!=n?s*Infinity:s*n}},83659:function(e){"use strict";var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},24305:function(e){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},80909:function(e,t,n){"use strict";var o,r,i,a,c,u,l,s,d=n(84253),f=n(22245).f,p=n(33453).set,m=n(24542),h=n(20037),v=n(47501),g=n(41488),b=d.MutationObserver||d.WebKitMutationObserver,C=d.document,y=d.process,N=d.Promise,V=f(d,"queueMicrotask"),_=V&&V.value;_||(o=function(){var e,t;for(g&&(e=y.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},m||g||v||!b||!C?!h&&N&&N.resolve?((l=N.resolve(undefined)).constructor=N,s=l.then,a=function(){s.call(l,o)}):a=g?function(){y.nextTick(o)}:function(){p.call(d,o)}:(c=!0,u=C.createTextNode(""),new b(o).observe(u,{characterData:!0}),a=function(){u.data=c=!c})),e.exports=_||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},4302:function(e,t,n){"use strict";var o=n(84253);e.exports=o.Promise},54772:function(e,t,n){"use strict";var o=n(12338),r=n(69691);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&o&&o<41}))},82911:function(e,t,n){"use strict";var o=n(84253),r=n(89853),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},82101:function(e,t,n){"use strict";var o=n(83923),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},18774:function(e,t,n){"use strict";var o=n(86133);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},64630:function(e,t,n){"use strict";var o=n(84253).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},78025:function(e,t,n){"use strict";var o=n(84253),r=n(92082),i=n(84703).trim,a=n(65181),c=o.parseFloat,u=1/c(a+"-0")!=-Infinity;e.exports=u?function(e){var t=i(r(e)),n=c(t);return 0===n&&"-"==t.charAt(0)?-0:n}:c},55092:function(e,t,n){"use strict";var o=n(84253),r=n(92082),i=n(84703).trim,a=n(65181),c=o.parseInt,u=/^[+-]?0[Xx]/,l=8!==c(a+"08")||22!==c(a+"0x16");e.exports=l?function(e,t){var n=i(r(e));return c(n,t>>>0||(u.test(n)?16:10))}:c},64905:function(e,t,n){"use strict";var o=n(75592),r=n(69691),i=n(84547),a=n(21061),c=n(77659),u=n(12104),l=n(50990),s=Object.assign,d=Object.defineProperty;e.exports=!s||r((function(){if(o&&1!==s({b:1},s(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=s({},e)[n]||i(s({},t)).join("")!=r}))?function(e,t){for(var n=u(e),r=arguments.length,s=1,d=a.f,f=c.f;r>s;)for(var p,m=l(arguments[s++]),h=d?i(m).concat(d(m)):i(m),v=h.length,g=0;v>g;)p=h[g++],o&&!f.call(m,p)||(n[p]=m[p]);return n}:s},83681:function(e,t,n){"use strict";var o,r=n(63518),i=n(91543),a=n(23344),c=n(90311),u=n(2369),l=n(21477),s=n(85152),d=s("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"</"+"script>"},m=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{o=new ActiveXObject("htmlfile")}catch(t){}h=document.domain&&o?m(o):function(){var e,t=l("iframe");if(t.style)return t.style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F}()||m(o);for(var e=a.length;e--;)delete h.prototype[a[e]];return h()};c[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=r(e),n=new f,f.prototype=null,n[d]=e):n=h(),t===undefined?n:i(n,t)}},91543:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(63518),a=n(84547);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,u=0;c>u;)r.f(e,n=o[u++],t[n]);return e}},74217:function(e,t,n){"use strict";var o=n(75592),r=n(78251),i=n(63518),a=n(14613),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},22245:function(e,t,n){"use strict";var o=n(75592),r=n(77659),i=n(39160),a=n(26553),c=n(14613),u=n(28919),l=n(78251),s=Object.getOwnPropertyDescriptor;t.f=o?s:function(e,t){if(e=a(e),t=c(t),l)try{return s(e,t)}catch(n){}if(u(e,t))return i(!r.f.call(e,t),e[t])}},59995:function(e,t,n){"use strict";var o=n(26553),r=n(78870).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},78870:function(e,t,n){"use strict";var o=n(3613),r=n(23344).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},21061:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},6863:function(e,t,n){"use strict";var o=n(28919),r=n(12104),i=n(85152),a=n(28954),c=i("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),o(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},3613:function(e,t,n){"use strict";var o=n(28919),r=n(26553),i=n(25945).indexOf,a=n(90311);e.exports=function(e,t){var n,c=r(e),u=0,l=[];for(n in c)!o(a,n)&&o(c,n)&&l.push(n);for(;t.length>u;)o(c,n=t[u++])&&(~i(l,n)||l.push(n));return l}},84547:function(e,t,n){"use strict";var o=n(3613),r=n(23344);e.exports=Object.keys||function(e){return o(e,r)}},77659:function(e,t){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!n.call({1:2},1);t.f=r?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},47339:function(e,t,n){"use strict";var o=n(1986),r=n(84253),i=n(69691),a=n(12200);e.exports=o||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}}))},18444:function(e,t,n){"use strict";var o=n(63518),r=n(1372);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},3e4:function(e,t,n){"use strict";var o=n(75592),r=n(84547),i=n(26553),a=n(77659).f,c=function(e){return function(t){for(var n,c=i(t),u=r(c),l=u.length,s=0,d=[];l>s;)n=u[s++],o&&!a.call(c,n)||d.push(e?[n,c[n]]:c[n]);return d}};e.exports={entries:c(!0),values:c(!1)}},13966:function(e,t,n){"use strict";var o=n(64910),r=n(47953);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},28734:function(e,t,n){"use strict";var o=n(35611);e.exports=function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},28482:function(e,t,n){"use strict";var o=n(69808),r=n(78870),i=n(21061),a=n(63518);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},65781:function(e,t,n){"use strict";var o=n(84253);e.exports=o},47673:function(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},48141:function(e,t,n){"use strict";var o=n(63518),r=n(35611),i=n(82101);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},3993:function(e,t,n){"use strict";var o=n(11807);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},11807:function(e,t,n){"use strict";var o=n(84253),r=n(52188),i=n(28919),a=n(30889),c=n(89853),u=n(79947),l=u.get,s=u.enforce,d=String(String).split("String");(e.exports=function(e,t,n,c){var u,l=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||r(n,"name",t),(u=s(n)).source||(u.source=d.join("string"==typeof t?t:""))),e!==o?(l?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:r(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c(this)}))},5641:function(e,t,n){"use strict";var o=n(77e3),r=n(71841);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},71841:function(e,t,n){"use strict";var o,r,i=n(92082),a=n(5105),c=n(1864),u=n(27364),l=n(83681),s=n(79947).get,d=n(8368),f=n(2229),p=RegExp.prototype.exec,m=u("native-string-replace",String.prototype.replace),h=p,v=(o=/a/,r=/b*/g,p.call(o,"a"),p.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),g=c.UNSUPPORTED_Y||c.BROKEN_CARET,b=/()??/.exec("")[1]!==undefined;(v||b||g||d||f)&&(h=function(e){var t,n,o,r,c,u,d,f=this,C=s(f),y=i(e),N=C.raw;if(N)return N.lastIndex=f.lastIndex,t=h.call(N,y),f.lastIndex=N.lastIndex,t;var V=C.groups,_=g&&f.sticky,x=a.call(f),w=f.source,S=0,k=y;if(_&&(-1===(x=x.replace("y","")).indexOf("g")&&(x+="g"),k=y.slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==y.charAt(f.lastIndex-1))&&(w="(?: "+w+")",k=" "+k,S++),n=new RegExp("^(?:"+w+")",x)),b&&(n=new RegExp("^"+w+"$(?!\\s)",x)),v&&(o=f.lastIndex),r=p.call(_?n:f,k),_?r?(r.input=r.input.slice(S),r[0]=r[0].slice(S),r.index=f.lastIndex,f.lastIndex+=r[0].length):f.lastIndex=0:v&&r&&(f.lastIndex=f.global?r.index+r[0].length:o),b&&r&&r.length>1&&m.call(r[0],n,(function(){for(c=1;c<arguments.length-2;c++)arguments[c]===undefined&&(r[c]=undefined)})),r&&V)for(r.groups=u=l(null),c=0;c<V.length;c++)u[(d=V[c])[0]]=r[d[1]];return r}),e.exports=h},5105:function(e,t,n){"use strict";var o=n(63518);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},1864:function(e,t,n){"use strict";var o=n(69691),r=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},8368:function(e,t,n){"use strict";var o=n(69691);e.exports=o((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},2229:function(e,t,n){"use strict";var o=n(69691);e.exports=o((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},44184:function(e){"use strict";e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},61398:function(e){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},30889:function(e,t,n){"use strict";var o=n(84253);e.exports=function(e,t){try{Object.defineProperty(o,e,{value:t,configurable:!0,writable:!0})}catch(n){o[e]=t}return t}},64157:function(e,t,n){"use strict";var o=n(69808),r=n(74217),i=n(17657),a=n(75592),c=i("species");e.exports=function(e){var t=o(e),n=r.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},29108:function(e,t,n){"use strict";var o=n(74217).f,r=n(28919),i=n(17657)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},85152:function(e,t,n){"use strict";var o=n(27364),r=n(41080),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},55935:function(e,t,n){"use strict";var o=n(84253),r=n(30889),i="__core-js_shared__",a=o[i]||r(i,{});e.exports=a},27364:function(e,t,n){"use strict";var o=n(1986),r=n(55935);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.16.1",mode:o?"pure":"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"})},24345:function(e,t,n){"use strict";var o=n(63518),r=n(83923),i=n(17657)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},26096:function(e,t,n){"use strict";var o=n(69691);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},37015:function(e,t,n){"use strict";var o=n(3997),r=n(92082),i=n(44184),a=function(e){return function(t,n){var a,c,u=r(i(t)),l=o(n),s=u.length;return l<0||l>=s?e?"":undefined:(a=u.charCodeAt(l))<55296||a>56319||l+1===s||(c=u.charCodeAt(l+1))<56320||c>57343?e?u.charAt(l):a:e?u.slice(l,l+2):c-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},43331:function(e,t,n){"use strict";var o=n(72319);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},47497:function(e,t,n){"use strict";var o=n(39570),r=n(92082),i=n(9811),a=n(44184),c=Math.ceil,u=function(e){return function(t,n,u){var l,s,d=r(a(t)),f=d.length,p=u===undefined?" ":r(u),m=o(n);return m<=f||""==p?d:(l=m-f,(s=i.call(p,c(l/p.length))).length>l&&(s=s.slice(0,l)),e?d+s:s+d)}};e.exports={start:u(!1),end:u(!0)}},9811:function(e,t,n){"use strict";var o=n(3997),r=n(92082),i=n(44184);e.exports=function(e){var t=r(i(this)),n="",a=o(e);if(a<0||a==Infinity)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},3035:function(e,t,n){"use strict";var o=n(69691),r=n(65181);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},84703:function(e,t,n){"use strict";var o=n(44184),r=n(92082),i="["+n(65181)+"]",a=RegExp("^"+i+i+"*"),c=RegExp(i+i+"*$"),u=function(e){return function(t){var n=r(o(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(c,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},33453:function(e,t,n){"use strict";var o,r,i,a,c=n(84253),u=n(69691),l=n(74271),s=n(2369),d=n(21477),f=n(24542),p=n(41488),m=c.setImmediate,h=c.clearImmediate,v=c.process,g=c.MessageChannel,b=c.Dispatch,C=0,y={},N="onreadystatechange";try{o=c.location}catch(S){}var V=function(e){if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},_=function(e){return function(){V(e)}},x=function(e){V(e.data)},w=function(e){c.postMessage(String(e),o.protocol+"//"+o.host)};m&&h||(m=function(e){for(var t=[],n=arguments.length,o=1;n>o;)t.push(arguments[o++]);return y[++C]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},r(C),C},h=function(e){delete y[e]},p?r=function(e){v.nextTick(_(e))}:b&&b.now?r=function(e){b.now(_(e))}:g&&!f?(a=(i=new g).port2,i.port1.onmessage=x,r=l(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts&&o&&"file:"!==o.protocol&&!u(w)?(r=w,c.addEventListener("message",x,!1)):r=N in d("script")?function(e){s.appendChild(d("script")).onreadystatechange=function(){s.removeChild(this),V(e)}}:function(e){setTimeout(_(e),0)}),e.exports={set:m,clear:h}},81687:function(e,t,n){"use strict";var o=n(77e3);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},55205:function(e,t,n){"use strict";var o=n(3997),r=Math.max,i=Math.min;e.exports=function(e,t){var n=o(e);return n<0?r(n+t,0):i(n,t)}},77559:function(e,t,n){"use strict";var o=n(3997),r=n(39570);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},26553:function(e,t,n){"use strict";var o=n(50990),r=n(44184);e.exports=function(e){return o(r(e))}},3997:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},39570:function(e,t,n){"use strict";var o=n(3997),r=Math.min;e.exports=function(e){return e>0?r(o(e),9007199254740991):0}},12104:function(e,t,n){"use strict";var o=n(44184);e.exports=function(e){return Object(o(e))}},95740:function(e,t,n){"use strict";var o=n(80425);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},80425:function(e,t,n){"use strict";var o=n(3997);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},94673:function(e,t,n){"use strict";var o=n(35611),r=n(78253),i=n(28734),a=n(17657)("toPrimitive");e.exports=function(e,t){if(!o(e)||r(e))return e;var n,c=e[a];if(c!==undefined){if(t===undefined&&(t="default"),n=c.call(e,t),!o(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return t===undefined&&(t="number"),i(e,t)}},14613:function(e,t,n){"use strict";var o=n(94673),r=n(78253);e.exports=function(e){var t=o(e,"string");return r(t)?t:String(t)}},64910:function(e,t,n){"use strict";var o={};o[n(17657)("toStringTag")]="z",e.exports="[object z]"===String(o)},92082:function(e,t,n){"use strict";var o=n(78253);e.exports=function(e){if(o(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},17576:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(75592),a=n(29023),c=n(19216),u=n(80246),l=n(50997),s=n(39160),d=n(52188),f=n(93624),p=n(39570),m=n(77559),h=n(95740),v=n(14613),g=n(28919),b=n(47953),C=n(35611),y=n(78253),N=n(83681),V=n(18444),_=n(78870).f,x=n(76182),w=n(69033).forEach,S=n(64157),k=n(74217),E=n(22245),B=n(79947),I=n(22285),L=B.get,O=B.set,M=k.f,A=E.f,T=Math.round,P=r.RangeError,j=u.ArrayBuffer,F=u.DataView,R=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_CONSTRUCTOR,K=c.TYPED_ARRAY_TAG,z=c.TypedArray,W=c.TypedArrayPrototype,Y=c.aTypedArrayConstructor,U=c.isTypedArray,H="BYTES_PER_ELEMENT",G="Wrong length",$=function(e,t){for(var n=0,o=t.length,r=new(Y(e))(o);o>n;)r[n]=t[n++];return r},q=function(e,t){M(e,t,{get:function(){return L(this)[t]}})},X=function(e){var t;return e instanceof j||"ArrayBuffer"==(t=b(e))||"SharedArrayBuffer"==t},Q=function(e,t){return U(e)&&!y(t)&&t in e&&f(+t)&&t>=0},J=function(e,t){return t=v(t),Q(e,t)?s(2,e[t]):A(e,t)},Z=function(e,t,n){return t=v(t),!(Q(e,t)&&C(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?M(e,t,n):(e[t]=n.value,e)};i?(R||(E.f=J,k.f=Z,q(W,"buffer"),q(W,"byteOffset"),q(W,"byteLength"),q(W,"length")),o({target:"Object",stat:!0,forced:!R},{getOwnPropertyDescriptor:J,defineProperty:Z}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",u="get"+e,s="set"+e,f=r[c],v=f,g=v&&v.prototype,b={},y=function(e,t){M(e,t,{get:function(){return function(e,t){var n=L(e);return n.view[u](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=L(e);n&&(o=(o=T(o))<0?0:o>255?255:255&o),r.view[s](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};R?a&&(v=t((function(e,t,n,o){return l(e,v,c),I(C(t)?X(t)?o!==undefined?new f(t,h(n,i),o):n!==undefined?new f(t,h(n,i)):new f(t):U(t)?$(v,t):x.call(v,t):new f(m(t)),e,v)})),V&&V(v,z),w(_(f),(function(e){e in v||d(v,e,f[e])})),v.prototype=g):(v=t((function(e,t,n,o){l(e,v,c);var r,a,u,s=0,d=0;if(C(t)){if(!X(t))return U(t)?$(v,t):x.call(v,t);r=t,d=h(n,i);var f=t.byteLength;if(o===undefined){if(f%i)throw P(G);if((a=f-d)<0)throw P(G)}else if((a=p(o)*i)+d>f)throw P(G);u=a/i}else u=m(t),r=new j(a=u*i);for(O(e,{buffer:r,byteOffset:d,byteLength:a,length:u,view:new F(r)});s<u;)y(e,s++)})),V&&V(v,z),g=v.prototype=N(W)),g.constructor!==v&&d(g,"constructor",v),d(g,D,v),K&&d(g,K,c),b[c]=v,o({global:!0,forced:v!=f,sham:!R},b),H in v||d(v,H,i),H in g||d(g,H,i),S(c)}):e.exports=function(){}},29023:function(e,t,n){"use strict";var o=n(84253),r=n(69691),i=n(68762),a=n(19216).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,u=o.Int8Array;e.exports=!a||!r((function(){u(1)}))||!r((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||r((function(){return 1!==new u(new c(2),1,undefined).length}))},16688:function(e,t,n){"use strict";var o=n(11955),r=n(25198);e.exports=function(e,t){return o(r(e),t)}},76182:function(e,t,n){"use strict";var o=n(12104),r=n(39570),i=n(3170),a=n(14195),c=n(74271),u=n(19216).aTypedArrayConstructor;e.exports=function(e){var t,n,l,s,d,f,p=o(e),m=arguments.length,h=m>1?arguments[1]:undefined,v=h!==undefined,g=i(p);if(g!=undefined&&!a(g))for(f=(d=g.call(p)).next,p=[];!(s=f.call(d)).done;)p.push(s.value);for(v&&m>2&&(h=c(h,arguments[2],2)),n=r(p.length),l=new(u(this))(n),t=0;n>t;t++)l[t]=v?h(p[t],t):p[t];return l}},25198:function(e,t,n){"use strict";var o=n(19216),r=n(24345),i=o.TYPED_ARRAY_CONSTRUCTOR,a=o.aTypedArrayConstructor;e.exports=function(e){return a(r(e,e[i]))}},41080:function(e){"use strict";var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(e===undefined?"":e)+")_"+(++t+n).toString(36)}},40647:function(e,t,n){"use strict";var o=n(54772);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3444:function(e,t,n){"use strict";var o=n(17657);t.f=o},17657:function(e,t,n){"use strict";var o=n(84253),r=n(27364),i=n(28919),a=n(41080),c=n(54772),u=n(40647),l=r("wks"),s=o.Symbol,d=u?s:s&&s.withoutSetter||a;e.exports=function(e){return i(l,e)&&(c||"string"==typeof l[e])||(c&&i(s,e)?l[e]=s[e]:l[e]=d("Symbol."+e)),l[e]}},65181:function(e){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},15196:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(80246),a=n(64157),c="ArrayBuffer",u=i.ArrayBuffer;o({global:!0,forced:r.ArrayBuffer!==u},{ArrayBuffer:u}),a(c)},95993:function(e,t,n){"use strict";var o=n(56174),r=n(19216);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},25079:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(80246),a=n(63518),c=n(55205),u=n(39570),l=n(24345),s=i.ArrayBuffer,d=i.DataView,f=s.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new s(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(f!==undefined&&t===undefined)return f.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(l(this,s))(u(r-o)),p=new d(this),m=new d(i),h=0;o<r;)m.setUint8(h++,p.getUint8(o++));return i}})},24835:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(89999),a=n(35611),c=n(12104),u=n(39570),l=n(39241),s=n(77454),d=n(93537),f=n(17657),p=n(12338),m=f("isConcatSpreadable"),h=9007199254740991,v="Maximum allowed index exceeded",g=p>=51||!r((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=d("concat"),C=function(e){if(!a(e))return!1;var t=e[m];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!g||!b},{concat:function(e){var t,n,o,r,i,a=c(this),d=s(a,0),f=0;for(t=-1,o=arguments.length;t<o;t++)if(C(i=-1===t?a:arguments[t])){if(f+(r=u(i.length))>h)throw TypeError(v);for(n=0;n<r;n++,f++)n in i&&l(d,f,i[n])}else{if(f>=h)throw TypeError(v);l(d,f++,i)}return d.length=f,d}})},14653:function(e,t,n){"use strict";var o=n(56174),r=n(59571),i=n(36910);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},58139:function(e,t,n){"use strict";var o=n(56174),r=n(69033).every;o({target:"Array",proto:!0,forced:!n(37902)("every")},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},34049:function(e,t,n){"use strict";var o=n(56174),r=n(22051),i=n(36910);o({target:"Array",proto:!0},{fill:r}),i("fill")},38356:function(e,t,n){"use strict";var o=n(56174),r=n(69033).filter;o({target:"Array",proto:!0,forced:!n(93537)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},31699:function(e,t,n){"use strict";var o=n(56174),r=n(69033).findIndex,i=n(36910),a="findIndex",c=!0;a in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i(a)},72494:function(e,t,n){"use strict";var o=n(56174),r=n(69033).find,i=n(36910),a="find",c=!0;a in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i(a)},81520:function(e,t,n){"use strict";var o=n(56174),r=n(904),i=n(12104),a=n(39570),c=n(83923),u=n(77454);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=u(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},3263:function(e,t,n){"use strict";var o=n(56174),r=n(904),i=n(12104),a=n(39570),c=n(3997),u=n(77454);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=u(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},80036:function(e,t,n){"use strict";var o=n(56174),r=n(90369);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},60515:function(e,t,n){"use strict";var o=n(56174),r=n(28213);o({target:"Array",stat:!0,forced:!n(68762)((function(e){Array.from(e)}))},{from:r})},94330:function(e,t,n){"use strict";var o=n(56174),r=n(25945).includes,i=n(36910);o({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},96553:function(e,t,n){"use strict";var o=n(56174),r=n(25945).indexOf,i=n(37902),a=[].indexOf,c=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");o({target:"Array",proto:!0,forced:c||!u},{indexOf:function(e){return c?a.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},99139:function(e,t,n){"use strict";n(56174)({target:"Array",stat:!0},{isArray:n(89999)})},98215:function(e,t,n){"use strict";var o=n(26553),r=n(36910),i=n(82723),a=n(79947),c=n(71179),u="Array Iterator",l=a.set,s=a.getterFor(u);e.exports=c(Array,"Array",(function(e,t){l(this,{type:u,target:o(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},32617:function(e,t,n){"use strict";var o=n(56174),r=n(50990),i=n(26553),a=n(37902),c=[].join,u=r!=Object,l=a("join",",");o({target:"Array",proto:!0,forced:u||!l},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},80186:function(e,t,n){"use strict";var o=n(56174),r=n(41183);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},31149:function(e,t,n){"use strict";var o=n(56174),r=n(69033).map;o({target:"Array",proto:!0,forced:!n(93537)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},71827:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(39241);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},32099:function(e,t,n){"use strict";var o=n(56174),r=n(28249).right,i=n(37902),a=n(12338),c=n(41488);o({target:"Array",proto:!0,forced:!i("reduceRight")||!c&&a>79&&a<83},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},79770:function(e,t,n){"use strict";var o=n(56174),r=n(28249).left,i=n(37902),a=n(12338),c=n(41488);o({target:"Array",proto:!0,forced:!i("reduce")||!c&&a>79&&a<83},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},72667:function(e,t,n){"use strict";var o=n(56174),r=n(89999),i=[].reverse,a=[1,2];o({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),i.call(this)}})},94920:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(89999),a=n(55205),c=n(39570),u=n(26553),l=n(39241),s=n(17657),d=n(93537)("slice"),f=s("species"),p=[].slice,m=Math.max;o({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,o,s,d=u(this),h=c(d.length),v=a(e,h),g=a(t===undefined?h:t,h);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[f])&&(n=undefined):n=undefined,n===Array||n===undefined))return p.call(d,v,g);for(o=new(n===undefined?Array:n)(m(g-v,0)),s=0;v<g;v++,s++)v in d&&l(o,s,d[v]);return o.length=s,o}})},64683:function(e,t,n){"use strict";var o=n(56174),r=n(69033).some;o({target:"Array",proto:!0,forced:!n(37902)("some")},{some:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},26189:function(e,t,n){"use strict";var o=n(56174),r=n(83923),i=n(12104),a=n(39570),c=n(92082),u=n(69691),l=n(58737),s=n(37902),d=n(20967),f=n(85749),p=n(12338),m=n(12200),h=[],v=h.sort,g=u((function(){h.sort(undefined)})),b=u((function(){h.sort(null)})),C=s("sort"),y=!u((function(){if(p)return p<70;if(!(d&&d>3)){if(f)return!0;if(m)return m<603;var e,t,n,o,r="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(o=0;o<47;o++)h.push({k:t+o,v:n})}for(h.sort((function(e,t){return t.v-e.v})),o=0;o<h.length;o++)t=h[o].k.charAt(0),r.charAt(r.length-1)!==t&&(r+=t);return"DGBEFHACIJK"!==r}}));o({target:"Array",proto:!0,forced:g||!b||!C||!y},{sort:function(e){e!==undefined&&r(e);var t=i(this);if(y)return e===undefined?v.call(t):v.call(t,e);var n,o,u=[],s=a(t.length);for(o=0;o<s;o++)o in t&&u.push(t[o]);for(n=(u=l(u,function(e){return function(t,n){return n===undefined?-1:t===undefined?1:e!==undefined?+e(t,n)||0:c(t)>c(n)?1:-1}}(e))).length,o=0;o<n;)t[o]=u[o++];for(;o<s;)delete t[o++];return t}})},41185:function(e,t,n){"use strict";n(64157)("Array")},51008:function(e,t,n){"use strict";var o=n(56174),r=n(55205),i=n(3997),a=n(39570),c=n(12104),u=n(77454),l=n(39241),s=n(93537)("splice"),d=Math.max,f=Math.min,p=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!s},{splice:function(e,t){var n,o,s,h,v,g,b=c(this),C=a(b.length),y=r(e,C),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=C-y):(n=N-2,o=f(d(i(t),0),C-y)),C+n-o>p)throw TypeError(m);for(s=u(b,o),h=0;h<o;h++)(v=y+h)in b&&l(s,h,b[v]);if(s.length=o,n<o){for(h=y;h<C-o;h++)g=h+n,(v=h+o)in b?b[g]=b[v]:delete b[g];for(h=C;h>C-o+n;h--)delete b[h-1]}else if(n>o)for(h=C-o;h>y;h--)g=h+n-1,(v=h+o-1)in b?b[g]=b[v]:delete b[g];for(h=0;h<n;h++)b[h+y]=arguments[h+2];return b.length=C-o+n,s}})},86e3:function(e,t,n){"use strict";n(36910)("flatMap")},47112:function(e,t,n){"use strict";n(36910)("flat")},87143:function(e,t,n){"use strict";var o=n(56174),r=n(80246);o({global:!0,forced:!n(32977)},{DataView:r.DataView})},72499:function(e,t,n){"use strict";n(56174)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},73676:function(e,t,n){"use strict";var o=n(56174),r=n(79873);o({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},76746:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(12104),a=n(94673);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t,"number");return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},19:function(e,t,n){"use strict";var o=n(52188),r=n(57763),i=n(17657)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},17038:function(e,t,n){"use strict";var o=n(11807),r=Date.prototype,i="Invalid Date",a="toString",c=r.toString,u=r.getTime;String(new Date(NaN))!=i&&o(r,a,(function(){var e=u.call(this);return e==e?c.call(this):i}))},46360:function(e,t,n){"use strict";n(56174)({target:"Function",proto:!0},{bind:n(68719)})},16835:function(e,t,n){"use strict";var o=n(35611),r=n(74217),i=n(6863),a=n(17657)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},96683:function(e,t,n){"use strict";var o=n(75592),r=n(74217).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/,u="name";o&&!(u in i)&&r(i,u,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},7756:function(e,t,n){"use strict";var o=n(84253);n(29108)(o.JSON,"JSON",!0)},21842:function(e,t,n){"use strict";var o=n(42006),r=n(74568);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},1613:function(e,t,n){"use strict";var o=n(56174),r=n(83659),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+u:r(e-1+c(e-1)*c(e+1))}})},65115:function(e,t,n){"use strict";var o=n(56174),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},27115:function(e,t,n){"use strict";var o=n(56174),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},13280:function(e,t,n){"use strict";var o=n(56174),r=n(24305),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},21019:function(e,t,n){"use strict";var o=n(56174),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},66619:function(e,t,n){"use strict";var o=n(56174),r=n(19997),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},75469:function(e,t,n){"use strict";var o=n(56174),r=n(19997);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},90967:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{fround:n(43334)})},35022:function(e,t,n){"use strict";var o=n(56174),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,u=arguments.length,l=0;c<u;)l<(n=i(arguments[c++]))?(r=r*(o=l/n)*o+1,l=n):r+=n>0?(o=n/l)*o:n;return l===Infinity?Infinity:l*a(r)}})},22604:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=65535,o=+e,r=+t,i=n&o,a=n&r;return 0|i*a+((n&o>>>16)*a+i*(n&r>>>16)<<16>>>0)}})},41843:function(e,t,n){"use strict";var o=n(56174),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},86810:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{log1p:n(83659)})},54670:function(e,t,n){"use strict";var o=n(56174),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},16580:function(e,t,n){"use strict";n(56174)({target:"Math",stat:!0},{sign:n(24305)})},31304:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(19997),a=Math.abs,c=Math.exp,u=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(u/2)}})},13078:function(e,t,n){"use strict";var o=n(56174),r=n(19997),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},45128:function(e,t,n){"use strict";n(29108)(Math,"Math",!0)},31938:function(e,t,n){"use strict";var o=n(56174),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},90958:function(e,t,n){"use strict";var o=n(75592),r=n(84253),i=n(41441),a=n(11807),c=n(28919),u=n(77e3),l=n(22285),s=n(78253),d=n(94673),f=n(69691),p=n(83681),m=n(78870).f,h=n(22245).f,v=n(74217).f,g=n(84703).trim,b="Number",C=r.Number,y=C.prototype,N=u(p(y))==b,V=function(e){if(s(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,o,r,i,a,c,u,l=d(e,"number");if("string"==typeof l&&l.length>2)if(43===(t=(l=g(l)).charCodeAt(0))||45===t){if(88===(n=l.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(l.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+l}for(a=(i=l.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>r)return NaN;return parseInt(i,o)}return+l};if(i(b,!C(" 0o1")||!C("0b1")||C("+0x1"))){for(var _,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(N?f((function(){y.valueOf.call(n)})):u(n)!=b)?l(new C(V(t)),n,x):V(t)},w=o?m(C):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;w.length>S;S++)c(C,_=w[S])&&!c(x,_)&&v(x,_,h(C,_));x.prototype=y,y.constructor=x,a(r,b,x)}},88885:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},45017:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isFinite:n(64630)})},59743:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isInteger:n(93624)})},47560:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},31569:function(e,t,n){"use strict";var o=n(56174),r=n(93624),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},6134:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},12622:function(e,t,n){"use strict";n(56174)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},60852:function(e,t,n){"use strict";var o=n(56174),r=n(78025);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},99085:function(e,t,n){"use strict";var o=n(56174),r=n(55092);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},75180:function(e,t,n){"use strict";var o=n(56174),r=n(3997),i=n(81687),a=n(9811),c=n(69691),u=1..toFixed,l=Math.floor,s=function m(e,t,n){return 0===t?n:t%2==1?m(e,t-1,n*e):m(e*e,t/2,n)},d=function(e,t,n){for(var o=-1,r=n;++o<6;)r+=t*e[o],e[o]=r%1e7,r=l(r/1e7)},f=function(e,t){for(var n=6,o=0;--n>=0;)o+=e[n],e[n]=l(o/t),o=o%t*1e7},p=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var o=String(e[t]);n=""===n?o:n+a.call("0",7-o.length)+o}return n};o({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}))},{toFixed:function(e){var t,n,o,c,u=i(this),l=r(e),m=[0,0,0,0,0,0],h="",v="0";if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(u*s(2,69,1))-69)<0?u*s(2,-t,1):u/s(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(m,0,n),o=l;o>=7;)d(m,1e7,0),o-=7;for(d(m,s(10,o,1),0),o=t-1;o>=23;)f(m,1<<23),o-=23;f(m,1<<o),d(m,1,1),f(m,2),v=p(m)}else d(m,0,n),d(m,1<<-t,0),v=p(m)+a.call("0",l);return v=l>0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},79437:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(81687),a=1..toPrecision;o({target:"Number",proto:!0,forced:r((function(){return"1"!==a.call(1,undefined)}))||!r((function(){a.call({})}))},{toPrecision:function(e){return e===undefined?a.call(i(this)):a.call(i(this),e)}})},75370:function(e,t,n){"use strict";var o=n(56174),r=n(64905);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},61022:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0,sham:!n(75592)},{create:n(83681)})},50580:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(83923),u=n(74217);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){u.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},5301:function(e,t,n){"use strict";var o=n(56174),r=n(75592);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(91543)})},76438:function(e,t,n){"use strict";var o=n(56174),r=n(75592);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(74217).f})},97307:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(83923),u=n(74217);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){u.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},34016:function(e,t,n){"use strict";var o=n(56174),r=n(3e4).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},86944:function(e,t,n){"use strict";var o=n(56174),r=n(7056),i=n(69691),a=n(35611),c=n(40421).onFreeze,u=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!r},{freeze:function(e){return u&&a(e)?u(c(e)):e}})},60687:function(e,t,n){"use strict";var o=n(56174),r=n(56342),i=n(39241);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},86957:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(26553),a=n(22245).f,c=n(75592),u=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},59163:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(28482),a=n(26553),c=n(22245),u=n(39241);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,l=i(o),s={},d=0;l.length>d;)(n=r(o,t=l[d++]))!==undefined&&u(s,t,n);return s}})},34128:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(59995).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},24267:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(12104),a=n(6863),c=n(28954);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},4239:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},8381:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},63669:function(e,t,n){"use strict";var o=n(56174),r=n(69691),i=n(35611),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},39816:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0},{is:n(61398)})},25779:function(e,t,n){"use strict";var o=n(56174),r=n(12104),i=n(84547);o({target:"Object",stat:!0,forced:n(69691)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},84580:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(14613),u=n(6863),l=n(22245).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e);do{if(t=l(n,o))return t.get}while(n=u(n))}})},33198:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(47339),a=n(12104),c=n(14613),u=n(6863),l=n(22245).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e);do{if(t=l(n,o))return t.set}while(n=u(n))}})},71895:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(40421).onFreeze,a=n(7056),c=n(69691),u=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{preventExtensions:function(e){return u&&r(e)?u(i(e)):e}})},44910:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(40421).onFreeze,a=n(7056),c=n(69691),u=Object.seal;o({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(e){return u&&r(e)?u(i(e)):e}})},95962:function(e,t,n){"use strict";n(56174)({target:"Object",stat:!0},{setPrototypeOf:n(18444)})},73769:function(e,t,n){"use strict";var o=n(64910),r=n(11807),i=n(13966);o||r(Object.prototype,"toString",i,{unsafe:!0})},14962:function(e,t,n){"use strict";var o=n(56174),r=n(3e4).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},80345:function(e,t,n){"use strict";var o=n(56174),r=n(78025);o({global:!0,forced:parseFloat!=r},{parseFloat:r})},18438:function(e,t,n){"use strict";var o=n(56174),r=n(55092);o({global:!0,forced:parseInt!=r},{parseInt:r})},46356:function(e,t,n){"use strict";var o=n(56174),r=n(1986),i=n(4302),a=n(69691),c=n(69808),u=n(24345),l=n(48141),s=n(11807);if(o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=u(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!r&&"function"==typeof i){var d=c("Promise").prototype["finally"];i.prototype["finally"]!==d&&s(i.prototype,"finally",d,{unsafe:!0})}},70552:function(e,t,n){"use strict";var o,r,i,a,c=n(56174),u=n(1986),l=n(84253),s=n(69808),d=n(4302),f=n(11807),p=n(3993),m=n(18444),h=n(29108),v=n(64157),g=n(35611),b=n(83923),C=n(50997),y=n(89853),N=n(56342),V=n(68762),_=n(24345),x=n(33453).set,w=n(80909),S=n(48141),k=n(21419),E=n(82101),B=n(47673),I=n(79947),L=n(41441),O=n(17657),M=n(46392),A=n(41488),T=n(12338),P=O("species"),j="Promise",F=I.get,R=I.set,D=I.getterFor(j),K=d&&d.prototype,z=d,W=K,Y=l.TypeError,U=l.document,H=l.process,G=E.f,$=G,q=!!(U&&U.createEvent&&l.dispatchEvent),X="function"==typeof PromiseRejectionEvent,Q="unhandledrejection",J=!1,Z=L(j,(function(){var e=y(z),t=e!==String(z);if(!t&&66===T)return!0;if(u&&!W["finally"])return!0;if(T>=51&&/native code/.test(e))return!1;var n=new z((function(e){e(1)})),o=function(e){e((function(){}),(function(){}))};return(n.constructor={})[P]=o,!(J=n.then((function(){}))instanceof o)||!t&&M&&!X})),ee=Z||!V((function(e){z.all(e)["catch"]((function(){}))})),te=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},ne=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;w((function(){for(var o=e.value,r=1==e.state,i=0;n.length>i;){var a,c,u,l=n[i++],s=r?l.ok:l.fail,d=l.resolve,f=l.reject,p=l.domain;try{s?(r||(2===e.rejection&&ae(e),e.rejection=1),!0===s?a=o:(p&&p.enter(),a=s(o),p&&(p.exit(),u=!0)),a===l.promise?f(Y("Promise-chain cycle")):(c=te(a))?c.call(a,d,f):d(a)):f(o)}catch(m){p&&!u&&p.exit(),f(m)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&re(e)}))}},oe=function(e,t,n){var o,r;q?((o=U.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),l.dispatchEvent(o)):o={promise:t,reason:n},!X&&(r=l["on"+e])?r(o):e===Q&&k("Unhandled promise rejection",n)},re=function(e){x.call(l,(function(){var t,n=e.facade,o=e.value;if(ie(e)&&(t=B((function(){A?H.emit("unhandledRejection",o,n):oe(Q,n,o)})),e.rejection=A||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},ae=function(e){x.call(l,(function(){var t=e.facade;A?H.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},ce=function(e,t,n){return function(o){e(t,o,n)}},ue=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ne(e,!0))},le=function de(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var o=te(t);o?w((function(){var n={done:!1};try{o.call(t,ce(de,n,e),ce(ue,n,e))}catch(r){ue(n,r,e)}})):(e.value=t,e.state=1,ne(e,!1))}catch(r){ue({done:!1},r,e)}}};if(Z&&(W=(z=function(e){C(this,z,j),b(e),o.call(this);var t=F(this);try{e(ce(le,t),ce(ue,t))}catch(n){ue(t,n)}}).prototype,(o=function(e){R(this,{type:j,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=p(W,{then:function(e,t){var n=D(this),o=G(_(this,z));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=A?H.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&ne(n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=F(e);this.promise=e,this.resolve=ce(le,t),this.reject=ce(ue,t)},E.f=G=function(e){return e===z||e===i?new r(e):$(e)},!u&&"function"==typeof d&&K!==Object.prototype)){a=K.then,J||(f(K,"then",(function(e,t){var n=this;return new z((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),f(K,"catch",W["catch"],{unsafe:!0}));try{delete K.constructor}catch(se){}m&&m(K,W)}c({global:!0,wrap:!0,forced:Z},{Promise:z}),h(z,j,!1,!0),v(j),i=s(j),c({target:j,stat:!0,forced:Z},{reject:function(e){var t=G(this);return t.reject.call(undefined,e),t.promise}}),c({target:j,stat:!0,forced:u||Z},{resolve:function(e){return S(u&&this===i?z:this,e)}}),c({target:j,stat:!0,forced:ee},{all:function(e){var t=this,n=G(t),o=n.resolve,r=n.reject,i=B((function(){var n=b(t.resolve),i=[],a=0,c=1;N(e,(function(e){var u=a++,l=!1;i.push(undefined),c++,n.call(t,e).then((function(e){l||(l=!0,i[u]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=G(t),o=n.reject,r=B((function(){var r=b(t.resolve);N(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},57128:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(83923),a=n(63518),c=n(69691),u=r("Reflect","apply"),l=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){u((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),u?u(e,t,n):l.call(e,t,n)}})},83588:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(83923),a=n(63518),c=n(35611),u=n(83681),l=n(68719),s=n(69691),d=r("Reflect","construct"),f=s((function(){function e(){}return!(d((function(){}),[],e)instanceof e)})),p=!s((function(){d((function(){}))})),m=f||p;o({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!f)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(l.apply(e,o))}var r=n.prototype,s=u(c(r)?r:Object.prototype),m=Function.apply.call(e,s,t);return c(m)?m:s}})},47057:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(63518),a=n(14613),c=n(74217);o({target:"Reflect",stat:!0,forced:n(69691)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},67092:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(22245).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},69203:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(63518),a=n(22245);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},27879:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(6863);o({target:"Reflect",stat:!0,sham:!n(28954)},{getPrototypeOf:function(e){return i(r(e))}})},59478:function(e,t,n){"use strict";var o=n(56174),r=n(35611),i=n(63518),a=n(28919),c=n(22245),u=n(6863);o({target:"Reflect",stat:!0},{get:function l(e,t){var n,o,s=arguments.length<3?e:arguments[2];return i(e)===s?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(s):r(o=u(e))?l(o,t,s):void 0}})},71507:function(e,t,n){"use strict";n(56174)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},39021:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},8641:function(e,t,n){"use strict";n(56174)({target:"Reflect",stat:!0},{ownKeys:n(28482)})},83064:function(e,t,n){"use strict";var o=n(56174),r=n(69808),i=n(63518);o({target:"Reflect",stat:!0,sham:!n(7056)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},33362:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(1372),a=n(18444);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},93115:function(e,t,n){"use strict";var o=n(56174),r=n(63518),i=n(35611),a=n(28919),c=n(69691),u=n(74217),l=n(22245),s=n(6863),d=n(39160);o({target:"Reflect",stat:!0,forced:c((function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function f(e,t,n){var o,c,p=arguments.length<4?e:arguments[3],m=l.f(r(e),t);if(!m){if(i(c=s(e)))return f(c,t,n,p);m=d(0)}if(a(m,"value")){if(!1===m.writable||!i(p))return!1;if(o=l.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,u.f(p,t,o)}else u.f(p,t,d(0,n));return!0}return m.set!==undefined&&(m.set.call(p,n),!0)}})},45090:function(e,t,n){"use strict";var o=n(75592),r=n(84253),i=n(41441),a=n(22285),c=n(52188),u=n(74217).f,l=n(78870).f,s=n(86133),d=n(92082),f=n(5105),p=n(1864),m=n(11807),h=n(69691),v=n(28919),g=n(79947).enforce,b=n(64157),C=n(17657),y=n(8368),N=n(2229),V=C("match"),_=r.RegExp,x=_.prototype,w=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,S=/a/g,k=/a/g,E=new _(S)!==S,B=p.UNSUPPORTED_Y,I=o&&(!E||B||y||N||h((function(){return k[V]=!1,_(S)!=S||_(k)==k||"/a/i"!=_(S,"i")})));if(i("RegExp",I)){for(var L=function(e,t){var n,o,r,i,u,l,p=this instanceof L,m=s(e),h=t===undefined,b=[],C=e;if(!p&&m&&h&&e.constructor===L)return e;if((m||e instanceof L)&&(e=e.source,h&&(t="flags"in C?C.flags:f.call(C))),e=e===undefined?"":d(e),t=t===undefined?"":d(t),C=e,y&&"dotAll"in S&&(o=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,B&&"sticky"in S&&(r=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),N&&(e=(i=function(e){for(var t,n=e.length,o=0,r="",i=[],a={},c=!1,u=!1,l=0,s="";o<=n;o++){if("\\"===(t=e.charAt(o)))t+=e.charAt(++o);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:w.test(e.slice(o+1))&&(o+=2,u=!0),r+=t,l++;continue;case">"===t&&u:if(""===s||v(a,s))throw new SyntaxError("Invalid capture group name");a[s]=!0,i.push([s,l]),u=!1,s="";continue}u?s+=t:r+=t}return[r,i]}(e))[0],b=i[1]),u=a(_(e,t),p?this:x,L),(o||r||b.length)&&(l=g(u),o&&(l.dotAll=!0,l.raw=L(function(e){for(var t,n=e.length,o=0,r="",i=!1;o<=n;o++)"\\"!==(t=e.charAt(o))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),r+=t):r+="[\\s\\S]":r+=t+e.charAt(++o);return r}(e),n)),r&&(l.sticky=!0),b.length&&(l.groups=b)),e!==C)try{c(u,"source",""===C?"(?:)":C)}catch(V){}return u},O=function(e){e in L||u(L,e,{configurable:!0,get:function(){return _[e]},set:function(t){_[e]=t}})},M=l(_),A=0;M.length>A;)O(M[A++]);x.constructor=L,L.prototype=x,m(r,"RegExp",L)}b("RegExp")},12654:function(e,t,n){"use strict";var o=n(56174),r=n(71841);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},58870:function(e,t,n){"use strict";var o=n(75592),r=n(74217),i=n(5105),a=n(69691);o&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},76581:function(e,t,n){"use strict";var o=n(11807),r=n(63518),i=n(92082),a=n(69691),c=n(5105),u="toString",l=RegExp.prototype,s=l.toString,d=a((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f=s.name!=u;(d||f)&&o(RegExp.prototype,u,(function(){var e=r(this),t=i(e.source),n=e.flags;return"/"+t+"/"+i(n===undefined&&e instanceof RegExp&&!("flags"in l)?c.call(e):n)}),{unsafe:!0})},4567:function(e,t,n){"use strict";var o=n(42006),r=n(74568);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},67586:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},7743:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("big")},{big:function(){return r(this,"big","","")}})},15890:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("blink")},{blink:function(){return r(this,"blink","","")}})},34651:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("bold")},{bold:function(){return r(this,"b","","")}})},28638:function(e,t,n){"use strict";var o=n(56174),r=n(37015).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},60314:function(e,t,n){"use strict";var o,r=n(56174),i=n(22245).f,a=n(39570),c=n(92082),u=n(18774),l=n(44184),s=n(93937),d=n(1986),f="".endsWith,p=Math.min,m=s("endsWith");r({target:"String",proto:!0,forced:!!(d||m||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!m},{endsWith:function(e){var t=c(l(this));u(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:p(a(n),o),i=c(e);return f?f.call(t,i,r):t.slice(r-i.length,r)===i}})},18037:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fixed")},{fixed:function(){return r(this,"tt","","")}})},48415:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},54950:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},71595:function(e,t,n){"use strict";var o=n(56174),r=n(55205),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},98954:function(e,t,n){"use strict";var o=n(56174),r=n(18774),i=n(44184),a=n(92082);o({target:"String",proto:!0,forced:!n(93937)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(r(e)),arguments.length>1?arguments[1]:undefined)}})},76102:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("italics")},{italics:function(){return r(this,"i","","")}})},91332:function(e,t,n){"use strict";var o=n(37015).charAt,r=n(92082),i=n(79947),a=n(71179),c="String Iterator",u=i.set,l=i.getterFor(c);a(String,"String",(function(e){u(this,{type:c,string:r(e),index:0})}),(function(){var e,t=l(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},47816:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("link")},{link:function(e){return r(this,"a","href",e)}})},79445:function(e,t,n){"use strict";var o=n(68880),r=n(63518),i=n(39570),a=n(92082),c=n(44184),u=n(69953),l=n(5641);o("match",(function(e,t,n){return[function(t){var n=c(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](a(n))},function(e){var o=r(this),c=a(e),s=n(t,o,c);if(s.done)return s.value;if(!o.global)return l(o,c);var d=o.unicode;o.lastIndex=0;for(var f,p=[],m=0;null!==(f=l(o,c));){var h=a(f[0]);p[m]=h,""===h&&(o.lastIndex=u(c,i(o.lastIndex),d)),m++}return 0===m?null:p}]}))},36493:function(e,t,n){"use strict";var o=n(56174),r=n(47497).end;o({target:"String",proto:!0,forced:n(43331)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},24476:function(e,t,n){"use strict";var o=n(56174),r=n(47497).start;o({target:"String",proto:!0,forced:n(43331)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},78192:function(e,t,n){"use strict";var o=n(56174),r=n(26553),i=n(39570),a=n(92082);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,c=[],u=0;n>u;)c.push(a(t[u++])),u<o&&c.push(a(arguments[u]));return c.join("")}})},58660:function(e,t,n){"use strict";n(56174)({target:"String",proto:!0},{repeat:n(9811)})},56592:function(e,t,n){"use strict";var o=n(68880),r=n(69691),i=n(63518),a=n(3997),c=n(39570),u=n(92082),l=n(44184),s=n(69953),d=n(55444),f=n(5641),p=n(17657)("replace"),m=Math.max,h=Math.min,v="$0"==="a".replace(/./,"$0"),g=!!/./[p]&&""===/./[p]("a","$0");o("replace",(function(e,t,n){var o=g?"$":"$0";return[function(e,n){var o=l(this),r=e==undefined?undefined:e[p];return r!==undefined?r.call(e,o,n):t.call(u(o),e,n)},function(e,r){var l=i(this),p=u(e);if("string"==typeof r&&-1===r.indexOf(o)&&-1===r.indexOf("$<")){var v=n(t,l,p,r);if(v.done)return v.value}var g="function"==typeof r;g||(r=u(r));var b=l.global;if(b){var C=l.unicode;l.lastIndex=0}for(var y=[];;){var N=f(l,p);if(null===N)break;if(y.push(N),!b)break;""===u(N[0])&&(l.lastIndex=s(p,c(l.lastIndex),C))}for(var V,_="",x=0,w=0;w<y.length;w++){N=y[w];for(var S=u(N[0]),k=m(h(a(N.index),p.length),0),E=[],B=1;B<N.length;B++)E.push((V=N[B])===undefined?V:String(V));var I=N.groups;if(g){var L=[S].concat(E,k,p);I!==undefined&&L.push(I);var O=u(r.apply(undefined,L))}else O=d(S,p,k,E,I,r);k>=x&&(_+=p.slice(x,k)+O,x=k+S.length)}return _+p.slice(x)}]}),!!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||g)},69957:function(e,t,n){"use strict";var o=n(68880),r=n(63518),i=n(44184),a=n(61398),c=n(92082),u=n(5641);o("search",(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](c(n))},function(e){var o=r(this),i=c(e),l=n(t,o,i);if(l.done)return l.value;var s=o.lastIndex;a(s,0)||(o.lastIndex=0);var d=u(o,i);return a(o.lastIndex,s)||(o.lastIndex=s),null===d?-1:d.index}]}))},30037:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("small")},{small:function(){return r(this,"small","","")}})},9747:function(e,t,n){"use strict";var o=n(68880),r=n(86133),i=n(63518),a=n(44184),c=n(24345),u=n(69953),l=n(39570),s=n(92082),d=n(5641),f=n(71841),p=n(1864),m=n(69691),h=p.UNSUPPORTED_Y,v=[].push,g=Math.min,b=4294967295;o("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=s(a(this)),i=n===undefined?b:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,u,l,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,p+"g");(c=f.call(h,o))&&!((u=h.lastIndex)>m&&(d.push(o.slice(m,c.index)),c.length>1&&c.index<o.length&&v.apply(d,c.slice(1)),l=c[0].length,m=u,d.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===o.length?!l&&h.test("")||d.push(""):d.push(o.slice(m)),d.length>i?d.slice(0,i):d}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(s(r),t,n)},function(e,r){var a=i(this),f=s(e),p=n(o,a,f,r,o!==t);if(p.done)return p.value;var m=c(a,RegExp),v=a.unicode,C=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(h?"g":"y"),y=new m(h?"^(?:"+a.source+")":a,C),N=r===undefined?b:r>>>0;if(0===N)return[];if(0===f.length)return null===d(y,f)?[f]:[];for(var V=0,_=0,x=[];_<f.length;){y.lastIndex=h?0:_;var w,S=d(y,h?f.slice(_):f);if(null===S||(w=g(l(y.lastIndex+(h?_:0)),f.length))===V)_=u(f,_,v);else{if(x.push(f.slice(V,_)),x.length===N)return x;for(var k=1;k<=S.length-1;k++)if(x.push(S[k]),x.length===N)return x;_=V=w}}return x.push(f.slice(V)),x}]}),!!m((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),h)},13578:function(e,t,n){"use strict";var o,r=n(56174),i=n(22245).f,a=n(39570),c=n(92082),u=n(18774),l=n(44184),s=n(93937),d=n(1986),f="".startsWith,p=Math.min,m=s("startsWith");r({target:"String",proto:!0,forced:!!(d||m||(o=i(String.prototype,"startsWith"),!o||o.writable))&&!m},{startsWith:function(e){var t=c(l(this));u(e);var n=a(p(arguments.length>1?arguments[1]:undefined,t.length)),o=c(e);return f?f.call(t,o,n):t.slice(n,n+o.length)===o}})},54705:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("strike")},{strike:function(){return r(this,"strike","","")}})},75831:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("sub")},{sub:function(){return r(this,"sub","","")}})},96958:function(e,t,n){"use strict";var o=n(56174),r=n(34141);o({target:"String",proto:!0,forced:n(26096)("sup")},{sup:function(){return r(this,"sup","","")}})},19209:function(e,t,n){"use strict";var o=n(56174),r=n(84703).end,i=n(3035)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},56737:function(e,t,n){"use strict";var o=n(56174),r=n(84703).start,i=n(3035)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},3684:function(e,t,n){"use strict";var o=n(56174),r=n(84703).trim;o({target:"String",proto:!0,forced:n(3035)("trim")},{trim:function(){return r(this)}})},69656:function(e,t,n){"use strict";n(55282)("asyncIterator")},43674:function(e,t,n){"use strict";var o=n(56174),r=n(75592),i=n(84253),a=n(28919),c=n(35611),u=n(74217).f,l=n(49957),s=i.Symbol;if(r&&"function"==typeof s&&(!("description"in s.prototype)||s().description!==undefined)){var d={},f=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof f?new s(e):e===undefined?s():s(e);return""===e&&(d[t]=!0),t};l(f,s);var p=f.prototype=s.prototype;p.constructor=f;var m=p.toString,h="Symbol(test)"==String(s("test")),v=/^Symbol\((.*)\)[^)]+$/;u(p,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=m.call(e);if(a(d,e))return"";var n=h?t.slice(7,-1):t.replace(v,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:f})}},72411:function(e,t,n){"use strict";n(55282)("hasInstance")},24467:function(e,t,n){"use strict";n(55282)("isConcatSpreadable")},37493:function(e,t,n){"use strict";n(55282)("iterator")},65379:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(69808),a=n(1986),c=n(75592),u=n(54772),l=n(69691),s=n(28919),d=n(89999),f=n(35611),p=n(78253),m=n(63518),h=n(12104),v=n(26553),g=n(14613),b=n(92082),C=n(39160),y=n(83681),N=n(84547),V=n(78870),_=n(59995),x=n(21061),w=n(22245),S=n(74217),k=n(77659),E=n(52188),B=n(11807),I=n(27364),L=n(85152),O=n(90311),M=n(41080),A=n(17657),T=n(3444),P=n(55282),j=n(29108),F=n(79947),R=n(69033).forEach,D=L("hidden"),K="Symbol",z=A("toPrimitive"),W=F.set,Y=F.getterFor(K),U=Object.prototype,H=r.Symbol,G=i("JSON","stringify"),$=w.f,q=S.f,X=_.f,Q=k.f,J=I("symbols"),Z=I("op-symbols"),ee=I("string-to-symbol-registry"),te=I("symbol-to-string-registry"),ne=I("wks"),oe=r.QObject,re=!oe||!oe.prototype||!oe.prototype.findChild,ie=c&&l((function(){return 7!=y(q({},"a",{get:function(){return q(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=$(U,t);o&&delete U[t],q(e,t,n),o&&e!==U&&q(U,t,o)}:q,ae=function(e,t){var n=J[e]=y(H.prototype);return W(n,{type:K,tag:e,description:t}),c||(n.description=t),n},ce=function(e,t,n){e===U&&ce(Z,t,n),m(e);var o=g(t);return m(n),s(J,o)?(n.enumerable?(s(e,D)&&e[D][o]&&(e[D][o]=!1),n=y(n,{enumerable:C(0,!1)})):(s(e,D)||q(e,D,C(1,{})),e[D][o]=!0),ie(e,o,n)):q(e,o,n)},ue=function(e,t){m(e);var n=v(t),o=N(n).concat(pe(n));return R(o,(function(t){c&&!se.call(n,t)||ce(e,t,n[t])})),e},le=function(e,t){return t===undefined?y(e):ue(y(e),t)},se=function(e){var t=g(e),n=Q.call(this,t);return!(this===U&&s(J,t)&&!s(Z,t))&&(!(n||!s(this,t)||!s(J,t)||s(this,D)&&this[D][t])||n)},de=function(e,t){var n=v(e),o=g(t);if(n!==U||!s(J,o)||s(Z,o)){var r=$(n,o);return!r||!s(J,o)||s(n,D)&&n[D][o]||(r.enumerable=!0),r}},fe=function(e){var t=X(v(e)),n=[];return R(t,(function(e){s(J,e)||s(O,e)||n.push(e)})),n},pe=function(e){var t=e===U,n=X(t?Z:v(e)),o=[];return R(n,(function(e){!s(J,e)||t&&!s(U,e)||o.push(J[e])})),o};(u||(B((H=function(){if(this instanceof H)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==undefined?b(arguments[0]):undefined,t=M(e),n=function o(e){this===U&&o.call(Z,e),s(this,D)&&s(this[D],t)&&(this[D][t]=!1),ie(this,t,C(1,e))};return c&&re&&ie(U,t,{configurable:!0,set:n}),ae(t,e)}).prototype,"toString",(function(){return Y(this).tag})),B(H,"withoutSetter",(function(e){return ae(M(e),e)})),k.f=se,S.f=ce,w.f=de,V.f=_.f=fe,x.f=pe,T.f=function(e){return ae(A(e),e)},c&&(q(H.prototype,"description",{configurable:!0,get:function(){return Y(this).description}}),a||B(U,"propertyIsEnumerable",se,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:H}),R(N(ne),(function(e){P(e)})),o({target:K,stat:!0,forced:!u},{"for":function(e){var t=b(e);if(s(ee,t))return ee[t];var n=H(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!p(e))throw TypeError(e+" is not a symbol");if(s(te,e))return te[e]},useSetter:function(){re=!0},useSimple:function(){re=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!c},{create:le,defineProperty:ce,defineProperties:ue,getOwnPropertyDescriptor:de}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:fe,getOwnPropertySymbols:pe}),o({target:"Object",stat:!0,forced:l((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(h(e))}}),G)&&o({target:"JSON",stat:!0,forced:!u||l((function(){var e=H();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(o=t,(f(t)||e!==undefined)&&!p(e))return d(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!p(t))return t}),r[1]=t,G.apply(null,r)}});H.prototype[z]||E(H.prototype,z,H.prototype.valueOf),j(H,K),O[D]=!0},87420:function(e,t,n){"use strict";n(55282)("match")},9480:function(e,t,n){"use strict";n(55282)("replace")},66171:function(e,t,n){"use strict";n(55282)("search")},53276:function(e,t,n){"use strict";n(55282)("species")},71852:function(e,t,n){"use strict";n(55282)("split")},59045:function(e,t,n){"use strict";n(55282)("toPrimitive")},70887:function(e,t,n){"use strict";n(55282)("toStringTag")},72906:function(e,t,n){"use strict";n(55282)("unscopables")},64346:function(e,t,n){"use strict";var o=n(19216),r=n(59571),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},27553:function(e,t,n){"use strict";var o=n(19216),r=n(69033).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},49007:function(e,t,n){"use strict";var o=n(19216),r=n(22051),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},17621:function(e,t,n){"use strict";var o=n(19216),r=n(69033).filter,i=n(16688),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("filter",(function(e){var t=r(a(this),e,arguments.length>1?arguments[1]:undefined);return i(this,t)}))},20500:function(e,t,n){"use strict";var o=n(19216),r=n(69033).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},71078:function(e,t,n){"use strict";var o=n(19216),r=n(69033).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},75344:function(e,t,n){"use strict";n(17576)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},87853:function(e,t,n){"use strict";n(17576)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},85923:function(e,t,n){"use strict";var o=n(19216),r=n(69033).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},38956:function(e,t,n){"use strict";var o=n(29023);(0,n(19216).exportTypedArrayStaticMethod)("from",n(76182),o)},49264:function(e,t,n){"use strict";var o=n(19216),r=n(25945).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},70448:function(e,t,n){"use strict";var o=n(19216),r=n(25945).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},1150:function(e,t,n){"use strict";n(17576)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},50444:function(e,t,n){"use strict";n(17576)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},25865:function(e,t,n){"use strict";n(17576)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},5775:function(e,t,n){"use strict";var o=n(84253),r=n(19216),i=n(98215),a=n(17657)("iterator"),c=o.Uint8Array,u=i.values,l=i.keys,s=i.entries,d=r.aTypedArray,f=r.exportTypedArrayMethod,p=c&&c.prototype[a],m=!!p&&("values"==p.name||p.name==undefined),h=function(){return u.call(d(this))};f("entries",(function(){return s.call(d(this))})),f("keys",(function(){return l.call(d(this))})),f("values",h,!m),f(a,h,!m)},45164:function(e,t,n){"use strict";var o=n(19216),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},83762:function(e,t,n){"use strict";var o=n(19216),r=n(41183),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},67265:function(e,t,n){"use strict";var o=n(19216),r=n(69033).map,i=n(25198),a=o.aTypedArray;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(i(e))(t)}))}))},56058:function(e,t,n){"use strict";var o=n(19216),r=n(29023),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},23535:function(e,t,n){"use strict";var o=n(19216),r=n(28249).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},87001:function(e,t,n){"use strict";var o=n(19216),r=n(28249).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},18617:function(e,t,n){"use strict";var o=n(19216),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=r(t).length,o=a(n/2),i=0;i<o;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},70595:function(e,t,n){"use strict";var o=n(19216),r=n(39570),i=n(95740),a=n(12104),c=n(69691),u=o.aTypedArray;(0,o.exportTypedArrayMethod)("set",(function(e){u(this);var t=i(arguments.length>1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),l=0;if(c+t>n)throw RangeError("Wrong length");for(;l<c;)this[t+l]=o[l++]}),c((function(){new Int8Array(1).set({})})))},76820:function(e,t,n){"use strict";var o=n(19216),r=n(25198),i=n(69691),a=o.aTypedArray,c=o.exportTypedArrayMethod,u=[].slice;c("slice",(function(e,t){for(var n=u.call(a(this),e,t),o=r(this),i=0,c=n.length,l=new o(c);c>i;)l[i]=n[i++];return l}),i((function(){new Int8Array(1).slice()})))},33357:function(e,t,n){"use strict";var o=n(19216),r=n(69033).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},38215:function(e,t,n){"use strict";var o=n(19216),r=n(84253),i=n(69691),a=n(83923),c=n(39570),u=n(58737),l=n(20967),s=n(85749),d=n(12338),f=n(12200),p=o.aTypedArray,m=o.exportTypedArrayMethod,h=r.Uint16Array,v=h&&h.prototype.sort,g=!!v&&!i((function(){var e=new h(2);e.sort(null),e.sort({})})),b=!!v&&!i((function(){if(d)return d<74;if(l)return l<67;if(s)return!0;if(f)return f<602;var e,t,n=new h(516),o=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,o[e]=e-2*t+3;for(n.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==o[e])return!0}));m("sort",(function(e){var t=this;if(e!==undefined&&a(e),b)return v.call(t,e);p(t);var n,o=c(t.length),r=Array(o);for(n=0;n<o;n++)r[n]=t[n];for(r=u(t,function(e){return function(t,n){return e!==undefined?+e(t,n)||0:n!=n?-1:t!=t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}}(e)),n=0;n<o;n++)t[n]=r[n];return t}),!b||g)},37281:function(e,t,n){"use strict";var o=n(19216),r=n(39570),i=n(55205),a=n(25198),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,u=i(e,o);return new(a(n))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-u))}))},99584:function(e,t,n){"use strict";var o=n(84253),r=n(19216),i=n(69691),a=o.Int8Array,c=r.aTypedArray,u=r.exportTypedArrayMethod,l=[].toLocaleString,s=[].slice,d=!!a&&i((function(){l.call(new a(1))}));u("toLocaleString",(function(){return l.apply(d?s.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},43582:function(e,t,n){"use strict";var o=n(19216).exportTypedArrayMethod,r=n(69691),i=n(84253).Uint8Array,a=i&&i.prototype||{},c=[].toString,u=[].join;r((function(){c.call({})}))&&(c=function(){return u.call(this)});var l=a.toString!=c;o("toString",c,l)},37650:function(e,t,n){"use strict";n(17576)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},12424:function(e,t,n){"use strict";n(17576)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},11220:function(e,t,n){"use strict";n(17576)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},6636:function(e,t,n){"use strict";n(17576)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},15378:function(e,t,n){"use strict";var o,r=n(84253),i=n(3993),a=n(40421),c=n(42006),u=n(57396),l=n(35611),s=n(79947).enforce,d=n(82911),f=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,m=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",m,u);if(d&&f){o=u.getConstructor(m,"WeakMap",!0),a.enable();var v=h.prototype,g=v["delete"],b=v.has,C=v.get,y=v.set;i(v,{"delete":function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(l(e)&&!p(e)){var t=s(this);return t.frozen||(t.frozen=new o),b.call(this,e)?C.call(this,e):t.frozen.get(e)}return C.call(this,e)},set:function(e,t){if(l(e)&&!p(e)){var n=s(this);n.frozen||(n.frozen=new o),b.call(this,e)?y.call(this,e,t):n.frozen.set(e,t)}else y.call(this,e,t);return this}})}},31213:function(e,t,n){"use strict";n(42006)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(57396))},19275:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(33453);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},59:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(80909),a=n(41488),c=r.process;o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=a&&c.domain;i(t?t.bind(e):e)}})},43849:function(e,t,n){"use strict";var o=n(56174),r=n(84253),i=n(72319),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},42950:function(e){"use strict";e.exports=function(){function e(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var t=Object.hasOwnProperty,n=Object.setPrototypeOf,o=Object.isFrozen,r=Object.getPrototypeOf,i=Object.getOwnPropertyDescriptor,a=Object.freeze,c=Object.seal,u=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,d=l.construct;s||(s=function(){function e(e,t,n){return e.apply(t,n)}return e}()),a||(a=function(){function e(e){return e}return e}()),c||(c=function(){function e(e){return e}return e}()),d||(d=function(){function t(t,n){return new(Function.prototype.bind.apply(t,[null].concat(e(n))))}return t}());var f=V(Array.prototype.forEach),p=V(Array.prototype.pop),m=V(Array.prototype.push),h=V(String.prototype.toLowerCase),v=V(String.prototype.match),g=V(String.prototype.replace),b=V(String.prototype.indexOf),C=V(String.prototype.trim),y=V(RegExp.prototype.test),N=_(TypeError);function V(e){return function(t){for(var n=arguments.length,o=Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return s(e,t,o)}}function _(e){return function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return d(e,n)}}function x(e,t){n&&n(e,null);for(var r=t.length;r--;){var i=t[r];if("string"==typeof i){var a=h(i);a!==i&&(o(t)||(t[r]=a),i=a)}e[i]=!0}return e}function w(e){var n=u(null),o=void 0;for(o in e)s(t,e,[o])&&(n[o]=e[o]);return n}function S(e,t){for(;null!==e;){var n=i(e,t);if(n){if(n.get)return V(n.get);if("function"==typeof n.value)return V(n.value)}e=r(e)}function o(e){return null}return o}var k=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),E=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),I=a(["animate","color-profile","cursor","discard","fedropshadow","feimage","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),L=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),O=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),A=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),T=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),j=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=c(/\{\{[\s\S]*|[\s\S]*\}\}/gm),R=c(/<%[\s\S]*|[\s\S]*%>/gm),D=c(/^data-[\-\w.\u00B7-\uFFFF]/),K=c(/^aria-[\-\w]+$/),z=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=c(/^(?:\w+script|data):/i),Y=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function H(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var G=function(){function e(){return"undefined"==typeof window?null:window}return e}(),$=function(){function e(e,t){if("object"!==(void 0===e?"undefined":U(e))||"function"!=typeof e.createPolicy)return null;var n=null,o="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(o)&&(n=t.currentScript.getAttribute(o));var r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:function(){function e(e){return e}return e}()})}catch(i){return null}}return e}();function q(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:G(),t=function(){function e(e){return q(e)}return e}();if(t.version="2.3.1",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var n=e.document,o=e.document,r=e.DocumentFragment,i=e.HTMLTemplateElement,c=e.Node,u=e.Element,l=e.NodeFilter,s=e.NamedNodeMap,d=s===undefined?e.NamedNodeMap||e.MozNamedAttrMap:s,V=e.Text,_=e.Comment,X=e.DOMParser,Q=e.trustedTypes,J=u.prototype,Z=S(J,"cloneNode"),ee=S(J,"nextSibling"),te=S(J,"childNodes"),ne=S(J,"parentNode");if("function"==typeof i){var oe=o.createElement("template");oe.content&&oe.content.ownerDocument&&(o=oe.content.ownerDocument)}var re=$(Q,n),ie=re&&je?re.createHTML(""):"",ae=o,ce=ae.implementation,ue=ae.createNodeIterator,le=ae.createDocumentFragment,se=ae.getElementsByTagName,de=n.importNode,fe={};try{fe=w(o).documentMode?o.documentMode:{}}catch(bt){}var pe={};t.isSupported="function"==typeof ne&&ce&&"undefined"!=typeof ce.createHTMLDocument&&9!==fe;var me=F,he=R,ve=D,ge=K,be=W,Ce=Y,ye=z,Ne=null,Ve=x({},[].concat(H(k),H(E),H(B),H(L),H(M))),_e=null,xe=x({},[].concat(H(A),H(T),H(P),H(j))),we=null,Se=null,ke=!0,Ee=!0,Be=!1,Ie=!1,Le=!1,Oe=!1,Me=!1,Ae=!1,Te=!1,Pe=!0,je=!1,Fe=!0,Re=!0,De=!1,Ke={},ze=null,We=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Ye=null,Ue=x({},["audio","video","img","source","image","track"]),He=null,Ge=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$e="http://www.w3.org/1998/Math/MathML",qe="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1999/xhtml",Qe=Xe,Je=!1,Ze=null,et=o.createElement("form"),tt=function(){function e(e){Ze&&Ze===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=w(e),Ne="ALLOWED_TAGS"in e?x({},e.ALLOWED_TAGS):Ve,_e="ALLOWED_ATTR"in e?x({},e.ALLOWED_ATTR):xe,He="ADD_URI_SAFE_ATTR"in e?x(w(Ge),e.ADD_URI_SAFE_ATTR):Ge,Ye="ADD_DATA_URI_TAGS"in e?x(w(Ue),e.ADD_DATA_URI_TAGS):Ue,ze="FORBID_CONTENTS"in e?x({},e.FORBID_CONTENTS):We,we="FORBID_TAGS"in e?x({},e.FORBID_TAGS):{},Se="FORBID_ATTR"in e?x({},e.FORBID_ATTR):{},Ke="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,Ee=!1!==e.ALLOW_DATA_ATTR,Be=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Le=e.WHOLE_DOCUMENT||!1,Ae=e.RETURN_DOM||!1,Te=e.RETURN_DOM_FRAGMENT||!1,Pe=!1!==e.RETURN_DOM_IMPORT,je=e.RETURN_TRUSTED_TYPE||!1,Me=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Re=!1!==e.KEEP_CONTENT,De=e.IN_PLACE||!1,ye=e.ALLOWED_URI_REGEXP||ye,Qe=e.NAMESPACE||Xe,Ie&&(Ee=!1),Te&&(Ae=!0),Ke&&(Ne=x({},[].concat(H(M))),_e=[],!0===Ke.html&&(x(Ne,k),x(_e,A)),!0===Ke.svg&&(x(Ne,E),x(_e,T),x(_e,j)),!0===Ke.svgFilters&&(x(Ne,B),x(_e,T),x(_e,j)),!0===Ke.mathMl&&(x(Ne,L),x(_e,P),x(_e,j))),e.ADD_TAGS&&(Ne===Ve&&(Ne=w(Ne)),x(Ne,e.ADD_TAGS)),e.ADD_ATTR&&(_e===xe&&(_e=w(_e)),x(_e,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&x(He,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ze===We&&(ze=w(ze)),x(ze,e.FORBID_CONTENTS)),Re&&(Ne["#text"]=!0),Le&&x(Ne,["html","head","body"]),Ne.table&&(x(Ne,["tbody"]),delete we.tbody),a&&a(e),Ze=e)}return e}(),nt=x({},["mi","mo","mn","ms","mtext"]),ot=x({},["foreignobject","desc","title","annotation-xml"]),rt=x({},E);x(rt,B),x(rt,I);var it=x({},L);x(it,O);var at=function(){function e(e){var t=ne(e);t&&t.tagName||(t={namespaceURI:Xe,tagName:"template"});var n=h(e.tagName),o=h(t.tagName);if(e.namespaceURI===qe)return t.namespaceURI===Xe?"svg"===n:t.namespaceURI===$e?"svg"===n&&("annotation-xml"===o||nt[o]):Boolean(rt[n]);if(e.namespaceURI===$e)return t.namespaceURI===Xe?"math"===n:t.namespaceURI===qe?"math"===n&&ot[o]:Boolean(it[n]);if(e.namespaceURI===Xe){if(t.namespaceURI===qe&&!ot[o])return!1;if(t.namespaceURI===$e&&!nt[o])return!1;var r=x({},["title","style","font","a","script"]);return!it[n]&&(r[n]||!rt[n])}return!1}return e}(),ct=function(){function e(e){m(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(bt){try{e.outerHTML=ie}catch(bt){e.remove()}}}return e}(),ut=function(){function e(e,n){try{m(t.removed,{attribute:n.getAttributeNode(e),from:n})}catch(bt){m(t.removed,{attribute:null,from:n})}if(n.removeAttribute(e),"is"===e&&!_e[e])if(Ae||Te)try{ct(n)}catch(bt){}else try{n.setAttribute(e,"")}catch(bt){}}return e}(),lt=function(){function e(e){var t=void 0,n=void 0;if(Me)e="<remove></remove>"+e;else{var r=v(e,/^[\r\n\t ]+/);n=r&&r[0]}var i=re?re.createHTML(e):e;if(Qe===Xe)try{t=(new X).parseFromString(i,"text/html")}catch(bt){}if(!t||!t.documentElement){t=ce.createDocument(Qe,"template",null);try{t.documentElement.innerHTML=Je?"":i}catch(bt){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),Qe===Xe?se.call(t,Le?"html":"body")[0]:Le?t.documentElement:a}return e}(),st=function(){function e(e){return ue.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)}return e}(),dt=function(){function e(e){return!(e instanceof V||e instanceof _||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof d&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI&&"function"==typeof e.insertBefore)}return e}(),ft=function(){function e(e){return"object"===(void 0===c?"undefined":U(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName}return e}(),pt=function(){function e(e,n,o){pe[e]&&f(pe[e],(function(e){e.call(t,n,o,Ze)}))}return e}(),mt=function(){function e(e){var n=void 0;if(pt("beforeSanitizeElements",e,null),dt(e))return ct(e),!0;if(v(e.nodeName,/[\u0080-\uFFFF]/))return ct(e),!0;var o=h(e.nodeName);if(pt("uponSanitizeElement",e,{tagName:o,allowedTags:Ne}),!ft(e.firstElementChild)&&(!ft(e.content)||!ft(e.content.firstElementChild))&&y(/<[/\w]/g,e.innerHTML)&&y(/<[/\w]/g,e.textContent))return ct(e),!0;if("select"===o&&y(/<template/i,e.innerHTML))return ct(e),!0;if(!Ne[o]||we[o]){if(Re&&!ze[o]){var r=ne(e)||e.parentNode,i=te(e)||e.childNodes;if(i&&r)for(var a=i.length-1;a>=0;--a)r.insertBefore(Z(i[a],!0),ee(e))}return ct(e),!0}return e instanceof u&&!at(e)?(ct(e),!0):"noscript"!==o&&"noembed"!==o||!y(/<\/no(script|embed)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(n=e.textContent,n=g(n,me," "),n=g(n,he," "),e.textContent!==n&&(m(t.removed,{element:e.cloneNode()}),e.textContent=n)),pt("afterSanitizeElements",e,null),!1):(ct(e),!0)}return e}(),ht=function(){function e(e,t,n){if(Fe&&("id"===t||"name"===t)&&(n in o||n in et))return!1;if(Ee&&!Se[t]&&y(ve,t));else if(ke&&y(ge,t));else{if(!_e[t]||Se[t])return!1;if(He[t]);else if(y(ye,g(n,Ce,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(n,"data:")||!Ye[e])if(Be&&!y(be,g(n,Ce,"")));else if(n)return!1}return!0}return e}(),vt=function(){function e(e){var n=void 0,o=void 0,r=void 0,i=void 0;pt("beforeSanitizeAttributes",e,null);var a=e.attributes;if(a){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:_e};for(i=a.length;i--;){var u=n=a[i],l=u.name,s=u.namespaceURI;if(o=C(n.value),r=h(l),c.attrName=r,c.attrValue=o,c.keepAttr=!0,c.forceKeepAttr=undefined,pt("uponSanitizeAttribute",e,c),o=c.attrValue,!c.forceKeepAttr&&(ut(l,e),c.keepAttr))if(y(/\/>/i,o))ut(l,e);else{Ie&&(o=g(o,me," "),o=g(o,he," "));var d=e.nodeName.toLowerCase();if(ht(d,r,o))try{s?e.setAttributeNS(s,l,o):e.setAttribute(l,o),p(t.removed)}catch(bt){}}}pt("afterSanitizeAttributes",e,null)}}return e}(),gt=function(){function e(t){var n=void 0,o=st(t);for(pt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)pt("uponSanitizeShadowNode",n,null),mt(n)||(n.content instanceof r&&e(n.content),vt(n));pt("afterSanitizeShadowDOM",t,null)}return e}();return t.sanitize=function(o,i){var a=void 0,u=void 0,l=void 0,s=void 0,d=void 0;if((Je=!o)&&(o="\x3c!--\x3e"),"string"!=typeof o&&!ft(o)){if("function"!=typeof o.toString)throw N("toString is not a function");if("string"!=typeof(o=o.toString()))throw N("dirty is not a string, aborting")}if(!t.isSupported){if("object"===U(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof o)return e.toStaticHTML(o);if(ft(o))return e.toStaticHTML(o.outerHTML)}return o}if(Oe||tt(i),t.removed=[],"string"==typeof o&&(De=!1),De);else if(o instanceof c)1===(u=(a=lt("\x3c!----\x3e")).ownerDocument.importNode(o,!0)).nodeType&&"BODY"===u.nodeName||"HTML"===u.nodeName?a=u:a.appendChild(u);else{if(!Ae&&!Ie&&!Le&&-1===o.indexOf("<"))return re&&je?re.createHTML(o):o;if(!(a=lt(o)))return Ae?null:ie}a&&Me&&ct(a.firstChild);for(var f=st(De?o:a);l=f.nextNode();)3===l.nodeType&&l===s||mt(l)||(l.content instanceof r&>(l.content),vt(l),s=l);if(s=null,De)return o;if(Ae){if(Te)for(d=le.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return Pe&&(d=de.call(n,d,!0)),d}var p=Le?a.outerHTML:a.innerHTML;return Ie&&(p=g(p,me," "),p=g(p,he," ")),re&&je?re.createHTML(p):p},t.setConfig=function(e){tt(e),Oe=!0},t.clearConfig=function(){Ze=null,Oe=!1},t.isValidAttribute=function(e,t,n){Ze||tt({});var o=h(e),r=h(t);return ht(o,r,n)},t.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],m(pe[e],t))},t.removeHook=function(e){pe[e]&&p(pe[e])},t.removeHooks=function(e){pe[e]&&(pe[e]=[])},t.removeAllHooks=function(){pe={}},t}return q()}()},92376:function(e,t){"use strict";t.__esModule=!0,t._CI=Ee,t._HI=j,t._M=Ie,t._MCCC=Ae,t._ME=Oe,t._MFCC=Te,t._MP=Se,t._MR=be,t._RFC=Be,t.__render=De,t.createComponentVNode=function(e,t,n,o,i){var a=new B(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(r(o))return n;if(r(n))return l(o,null);return S(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(r(o))return n;if(r(n))return o;return S(n,o)}(e,t,i),t);_.createVNode&&_.createVNode(a);return a},t.createFragment=O,t.createPortal=function(e,t){var n=j(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),Ke(n,e,o,r)}},t.createTextVNode=L,t.createVNode=I,t.directClone=M,t.findDOMfromVNode=b,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(a(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&r(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?l(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=Ke,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var n=Array.isArray;function o(e){var t=typeof e;return"string"===t||"number"===t}function r(e){return null==e}function i(e){return null===e||!1===e||!0===e||void 0===e}function a(e){return"function"==typeof e}function c(e){return"string"==typeof e}function u(e){return null===e}function l(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!u(e)&&"object"==typeof e}var d={};t.EMPTY_OBJ=d;function f(e){return e.substr(2).toLowerCase()}function p(e,t){e.appendChild(t)}function m(e,t,n){u(n)?p(e,t):e.insertBefore(t,n)}function h(e,t){e.removeChild(t)}function v(e){for(var t=0;t<e.length;t++)e[t]()}function g(e,t,n){var o=e.children;return 4&n?o.$LI:8192&n?2===e.childFlags?o:o[t?0:o.length-1]:o}function b(e,t){for(var n;e;){if(2033&(n=e.flags))return e.dom;e=g(e,t,n)}return null}function C(e,t){do{var n=e.flags;if(2033&n)return void h(t,e.dom);var o=e.children;if(4&n&&(e=o.$LI),8&n&&(e=o),8192&n){if(2!==e.childFlags){for(var r=0,i=o.length;r<i;++r)C(o[r],t);return}e=o}}while(e)}function y(e,t,n){do{var o=e.flags;if(2033&o)return void m(t,e.dom,n);var r=e.children;if(4&o&&(e=r.$LI),8&o&&(e=r),8192&o){if(2!==e.childFlags){for(var i=0,a=r.length;i<a;++i)y(r[i],t,n);return}e=r}}while(e)}function N(e,t,n){return e.constructor.getDerivedStateFromProps?l(n,e.constructor.getDerivedStateFromProps(t,n)):n}t.Fragment="$F";var V={v:!1},_={componentComparator:null,createVNode:null,renderComplete:null};function x(e,t){e.textContent=t}function w(e,t){return s(e)&&e.event===t.event&&e.data===t.data}function S(e,t){for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e}function k(e,t){return!!a(e)&&(e(t),!0)}t.options=_;var E="$";function B(e,t,n,o,r,i,a,c){this.childFlags=e,this.children=t,this.className=n,this.dom=null,this.flags=o,this.key=void 0===r?null:r,this.props=void 0===i?null:i,this.ref=void 0===a?null:a,this.type=c}function I(e,t,n,o,r,i,a,c){var u=void 0===r?1:r,l=new B(u,o,n,e,a,i,c,t);return _.createVNode&&_.createVNode(l),0===u&&P(l,l.children),l}function L(e,t){return new B(1,r(e)||!0===e||!1===e?"":e,null,16,t,null,null,null)}function O(e,t,n){var o=I(8192,8192,null,e,t,null,n,null);switch(o.childFlags){case 1:o.children=A(),o.childFlags=2;break;case 16:o.children=[L(e)],o.childFlags=4}return o}function M(e){var t=-16385&e.flags,n=e.props;if(14&t&&!u(n)){var o=n;for(var r in n={},o)n[r]=o[r]}return 0==(8192&t)?new B(e.childFlags,e.children,e.className,t,e.key,n,e.ref,e.type):function(e){var t=e.children,n=e.childFlags;return O(2===n?M(t):t.map(M),n,e.key)}(e)}function A(){return L("",null)}function T(e,t,r,a){for(var l=e.length;r<l;r++){var s=e[r];if(!i(s)){var d=a+E+r;if(n(s))T(s,t,0,d);else{if(o(s))s=L(s,d);else{var f=s.key,p=c(f)&&f[0]===E;(81920&s.flags||p)&&(s=M(s)),s.flags|=65536,p?f.substring(0,a.length)!==a&&(s.key=a+f):u(f)?s.key=d:s.key=a+f}t.push(s)}}}}function P(e,t){var r,a=1;if(i(t))r=t;else if(o(t))a=16,r=t;else if(n(t)){for(var l=t.length,s=0;s<l;++s){var d=t[s];if(i(d)||n(d)){r=r||t.slice(0,s),T(t,r,s,"");break}if(o(d))(r=r||t.slice(0,s)).push(L(d,E+s));else{var f=d.key,p=(81920&d.flags)>0,m=u(f),h=c(f)&&f[0]===E;p||m||h?(r=r||t.slice(0,s),(p||h)&&(d=M(d)),(m||h)&&(d.key=E+s),r.push(d)):r&&r.push(d),d.flags|=65536}}a=0===(r=r||t).length?1:8}else(r=t).flags|=65536,81920&t.flags&&(r=M(t)),a=2;return e.children=r,e.childFlags=a,e}function j(e){return i(e)||o(e)?L(e,null):n(e)?O(e,0,null):16384&e.flags?M(e):e}var F="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",D={"xlink:actuate":F,"xlink:arcrole":F,"xlink:href":F,"xlink:role":F,"xlink:show":F,"xlink:title":F,"xlink:type":F,"xml:base":R,"xml:lang":R,"xml:space":R};function K(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var z=K(0),W=K(null),Y=K(!0);function U(e,t){var n=t.$EV;return n||(n=t.$EV=K(null)),n[e]||1==++z[e]&&(W[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?G(t,!0,e,Q(t)):t.stopPropagation()}}(e):function(e){return function(t){G(t,!1,e,Q(t))}}(e);return document.addEventListener(f(e),t),t}(e)),n}function H(e,t){var n=t.$EV;n&&n[e]&&(0==--z[e]&&(document.removeEventListener(f(e),W[e]),W[e]=null),n[e]=null)}function G(e,t,n,o){var r=function(e){return a(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var c=i[n];if(c&&(o.dom=r,c.event?c.event(c.data,e):c(e),e.cancelBubble))return}r=r.parentNode}while(!u(r))}function $(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function q(){return this.defaultPrevented}function X(){return this.cancelBubble}function Q(e){var t={dom:document};return e.isDefaultPrevented=q,e.isPropagationStopped=X,e.stopPropagation=$,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function J(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Z(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||d,i=o.dom;if(c(e))J(r,e,n);else for(var u=0;u<e.length;++u)J(r,e[u],n);if(a(t)){var l=this.$V,s=l.props||d;t(s,i,!1,l)}}};return Object.defineProperty(n,"wrapped",{configurable:!1,enumerable:!1,value:!0,writable:!1}),n}function ee(e,t,n){var o="$"+t,r=e[o];if(r){if(r[1].wrapped)return;e.removeEventListener(r[0],r[1]),e[o]=null}a(n)&&(e.addEventListener(t,n),e[o]=[t,n])}function te(e){return"checkbox"===e||"radio"===e}var ne=Z("onInput",ie),oe=Z(["onClick","onChange"],ie);function re(e){e.stopPropagation()}function ie(e,t){var n=e.type,o=e.value,i=e.checked,a=e.multiple,c=e.defaultValue,u=!r(o);n&&n!==t.type&&t.setAttribute("type",n),r(a)||a===t.multiple||(t.multiple=a),r(c)||u||(t.defaultValue=c+""),te(n)?(u&&(t.value=o),r(i)||(t.checked=i)):u&&t.value!==o?(t.defaultValue=o,t.value=o):r(i)||(t.checked=i)}function ae(e,t){if("option"===e.type)!function(e,t){var o=e.props||d,i=e.dom;i.value=o.value,o.value===t||n(t)&&-1!==t.indexOf(o.value)?i.selected=!0:r(t)&&r(o.selected)||(i.selected=o.selected||!1)}(e,t);else{var o=e.children,i=e.flags;if(4&i)ae(o.$LI,t);else if(8&i)ae(o,t);else if(2===e.childFlags)ae(o,t);else if(12&e.childFlags)for(var a=0,c=o.length;a<c;++a)ae(o[a],t)}}re.wrapped=!0;var ce=Z("onChange",ue);function ue(e,t,n,o){var i=Boolean(e.multiple);r(e.multiple)||i===t.multiple||(t.multiple=i);var a=e.selectedIndex;if(-1===a&&(t.selectedIndex=-1),1!==o.childFlags){var c=e.value;"number"==typeof a&&a>-1&&t.options[a]&&(c=t.options[a].value),n&&r(c)&&(c=e.defaultValue),ae(o,c)}}var le,se,de=Z("onInput",pe),fe=Z("onChange");function pe(e,t,n){var o=e.value,i=t.value;if(r(o)){if(n){var a=e.defaultValue;r(a)||a===i||(t.defaultValue=a,t.value=a)}}else i!==o&&(t.defaultValue=o,t.value=o)}function me(e,t,n,o,r,i){64&e?ie(o,n):256&e?ue(o,n,r,t):128&e&&pe(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",de),t.onChange&&ee(e,"change",fe)}(t,n)}function ve(e){return e.type&&te(e.type)?!r(e.checked):!r(e.value)}function ge(e){e&&!k(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(a(e)||void 0!==e.current)&&n.push((function(){k(e,t)||void 0===e.current||(e.current=t)}))}function Ce(e,t){ye(e),C(e,t)}function ye(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var i=e.props;ge(t);var c=e.childFlags;if(!u(i))for(var l=Object.keys(i),s=0,f=l.length;s<f;s++){var p=l[s];Y[p]&&H(p,e.dom)}12&c?Ne(o):2===c&&ye(o)}else o&&(4&n?(a(o.componentWillUnmount)&&o.componentWillUnmount(),ge(e.ref),o.$UN=!0,ye(o.$LI)):8&n?(!r(t=e.ref)&&a(t.onComponentWillUnmount)&&t.onComponentWillUnmount(b(e,!0),e.props||d),ye(o)):1024&n?Ce(o,e.ref):8192&n&&12&e.childFlags&&Ne(o))}function Ne(e){for(var t=0,n=e.length;t<n;++t)ye(e[t])}function Ve(e){e.textContent=""}function _e(e,t,n){Ne(n),8192&t.flags?C(t,e):Ve(e)}function xe(e,t,n,o){var i=e&&e.__html||"",a=t&&t.__html||"";i!==a&&(r(a)||function(e,t){var n=document.createElement("i");return n.innerHTML=t,n.innerHTML===e.innerHTML}(o,a)||(u(n)||(12&n.childFlags?Ne(n.children):2===n.childFlags&&ye(n.children),n.children=null,n.childFlags=1),o.innerHTML=a))}function we(e,t,n,o,i,u,l){switch(e){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":o.autofocus=!!n;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":o[e]=!!n;break;case"defaultChecked":case"value":case"volume":if(u&&"value"===e)break;var d=r(n)?"":n;o[e]!==d&&(o[e]=d);break;case"style":!function(e,t,n){if(r(t))n.removeAttribute("style");else{var o,i,a=n.style;if(c(t))a.cssText=t;else if(r(e)||c(e))for(o in t)i=t[o],a.setProperty(o,i);else{for(o in t)(i=t[o])!==e[o]&&a.setProperty(o,i);for(o in e)r(t[o])&&a.removeProperty(o)}}}(t,n,o);break;case"dangerouslySetInnerHTML":xe(t,n,l,o);break;default:Y[e]?function(e,t,n,o){if(a(n))U(e,o)[e]=n;else if(s(n)){if(w(t,n))return;U(e,o)[e]=n}else H(e,o)}(e,t,n,o):111===e.charCodeAt(0)&&110===e.charCodeAt(1)?function(e,t,n,o){if(s(n)){if(w(t,n))return;n=function(e){var t=e.event;return function(n){t(e.data,n)}}(n)}ee(o,f(e),n)}(e,t,n,o):r(n)?o.removeAttribute(e):i&&D[e]?o.setAttributeNS(D[e],e,n):o.setAttribute(e,n)}}function Se(e,t,n,o,r){var i=!1,a=(448&t)>0;for(var c in a&&(i=ve(n))&&he(t,o,n),n)we(c,null,n[c],o,r,i,null);a&&me(t,e,o,n,!0,i)}function ke(e,t,n){var o=j(e.render(t,e.state,n)),r=n;return a(e.getChildContext)&&(r=l(n,e.getChildContext())),e.$CX=r,o}function Ee(e,t,n,o,r,i){var c=new t(n,o),l=c.$N=Boolean(t.getDerivedStateFromProps||c.getSnapshotBeforeUpdate);if(c.$SVG=r,c.$L=i,e.children=c,c.$BS=!1,c.context=o,c.props===d&&(c.props=n),l)c.state=N(c,n,c.state);else if(a(c.componentWillMount)){c.$BR=!0,c.componentWillMount();var s=c.$PS;if(!u(s)){var f=c.state;if(u(f))c.state=s;else for(var p in s)f[p]=s[p];c.$PS=null}c.$BR=!1}return c.$LI=ke(c,n,o),c}function Be(e,t){var n=e.props||d;return 32768&e.flags?e.type.render(n,e.ref,t):e.type(n,t)}function Ie(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Oe(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Ee(e,e.type,e.props||d,n,o,i);Ie(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Ie(e.children=j(Be(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Te(e,i)):512&a||16&a?Le(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=A());2===c?Ie(a,n,r,o,r,i):Me(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Ie(e.children,e.ref,t,!1,null,r);var i=A();Le(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Le(e,t,n){var o=e.dom=document.createTextNode(e.children);u(t)||m(t,o,n)}function Oe(e,t,n,o,i,a){var c=e.flags,l=e.props,s=e.className,d=e.childFlags,f=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0),p=e.children;if(r(s)||""===s||(o?f.setAttribute("class",s):f.className=s),16===d)x(f,p);else if(1!==d){var h=o&&"foreignObject"!==e.type;2===d?(16384&p.flags&&(e.children=p=M(p)),Ie(p,f,n,h,null,a)):8!==d&&4!==d||Me(p,f,n,h,null,a)}u(t)||m(t,f,i),u(l)||Se(e,c,l,f,o),be(e.ref,f,a)}function Me(e,t,n,o,r,i){for(var a=0;a<e.length;++a){var c=e[a];16384&c.flags&&(e[a]=c=M(c)),Ie(c,t,n,o,r,i)}}function Ae(e,t,n){be(e,t,n),a(t.componentDidMount)&&n.push(function(e){return function(){e.componentDidMount()}}(t))}function Te(e,t){var n=e.ref;r(n)||(k(n.onComponentWillMount,e.props||d),a(n.onComponentDidMount)&&t.push(function(e,t){return function(){e.onComponentDidMount(b(t,!0),t.props||d)}}(n,e)))}function Pe(e,t,n,o,c,s,f){var m=t.flags|=16384;e.flags!==m||e.type!==t.type||e.key!==t.key||2048&m?16384&e.flags?function(e,t,n,o,r,i){ye(e),0!=(t.flags&e.flags&2033)?(Ie(t,null,o,r,null,i),function(e,t,n){e.replaceChild(t,n)}(n,t.dom,e.dom)):(Ie(t,n,o,r,b(e,!0),i),C(e,n))}(e,t,n,o,c,f):Ie(t,n,o,c,s,f):481&m?function(e,t,n,o,i,a){var c,u=t.dom=e.dom,l=e.props,s=t.props,f=!1,p=!1;if(o=o||(32&i)>0,l!==s){var m=l||d;if((c=s||d)!==d)for(var h in(f=(448&i)>0)&&(p=ve(c)),c){var v=m[h],g=c[h];v!==g&&we(h,v,g,u,o,p,e)}if(m!==d)for(var b in m)r(c[b])&&!r(m[b])&&we(b,m[b],null,u,o,p,e)}var C=t.children,y=t.className;e.className!==y&&(r(y)?u.removeAttribute("class"):o?u.setAttribute("class",y):u.className=y);4096&i?function(e,t){e.textContent!==t&&(e.textContent=t)}(u,C):je(e.childFlags,t.childFlags,e.children,C,u,n,o&&"foreignObject"!==t.type,null,e,a);f&&me(i,t,u,c,!1,p);var N=t.ref,V=e.ref;V!==N&&(ge(V),be(N,u,a))}(e,t,o,c,m,f):4&m?function(e,t,n,o,r,i,c){var s=t.children=e.children;if(u(s))return;s.$L=c;var f=t.props||d,p=t.ref,m=e.ref,h=s.state;if(!s.$N){if(a(s.componentWillReceiveProps)){if(s.$BR=!0,s.componentWillReceiveProps(f,o),s.$UN)return;s.$BR=!1}u(s.$PS)||(h=l(h,s.$PS),s.$PS=null)}Fe(s,h,f,n,o,r,!1,i,c),m!==p&&(ge(m),be(p,s,c))}(e,t,n,o,c,s,f):8&m?function(e,t,n,o,i,c,u){var l=!0,s=t.props||d,f=t.ref,p=e.props,m=!r(f),h=e.children;m&&a(f.onComponentShouldUpdate)&&(l=f.onComponentShouldUpdate(p,s));if(!1!==l){m&&a(f.onComponentWillUpdate)&&f.onComponentWillUpdate(p,s);var v=j(Be(t,o));Pe(h,v,n,o,i,c,u),t.children=v,m&&a(f.onComponentDidUpdate)&&f.onComponentDidUpdate(p,s)}else t.children=h}(e,t,n,o,c,s,f):16&m?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&m?t.dom=e.dom:8192&m?function(e,t,n,o,r,i){var a=e.children,c=t.children,u=e.childFlags,l=t.childFlags,s=null;12&l&&0===c.length&&(l=t.childFlags=2,c=t.children=A());var d=0!=(2&l);if(12&u){var f=a.length;(8&u&&8&l||d||!d&&c.length>f)&&(s=b(a[f-1],!1).nextSibling)}je(u,l,a,c,n,o,r,s,e,i)}(e,t,n,o,c,f):function(e,t,n,o){var r=e.ref,a=t.ref,c=t.children;if(je(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==a&&!i(c)){var u=c.dom;h(r,u),p(a,u)}}(e,t,o,f)}function je(e,t,n,o,r,i,a,c,u,l){switch(e){case 2:switch(t){case 2:Pe(n,o,r,i,a,c,l);break;case 1:Ce(n,r);break;case 16:ye(n),x(r,o);break;default:!function(e,t,n,o,r,i){ye(e),Me(t,n,o,r,b(e,!0),i),C(e,n)}(n,o,r,i,a,l)}break;case 1:switch(t){case 2:Ie(o,r,i,a,c,l);break;case 1:break;case 16:x(r,o);break;default:Me(o,r,i,a,c,l)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:x(n,t))}(n,o,r);break;case 2:Ve(r),Ie(o,r,i,a,c,l);break;case 1:Ve(r);break;default:Ve(r),Me(o,r,i,a,c,l)}break;default:switch(t){case 16:Ne(n),x(r,o);break;case 2:_e(r,u,n),Ie(o,r,i,a,c,l);break;case 1:_e(r,u,n);break;default:var s=0|n.length,d=0|o.length;0===s?d>0&&Me(o,r,i,a,c,l):0===d?_e(r,u,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,u,l){var s,d,f=i-1,p=a-1,m=0,h=e[m],v=t[m];e:{for(;h.key===v.key;){if(16384&v.flags&&(t[m]=v=M(v)),Pe(h,v,n,o,r,c,l),e[m]=v,++m>f||m>p)break e;h=e[m],v=t[m]}for(h=e[f],v=t[p];h.key===v.key;){if(16384&v.flags&&(t[p]=v=M(v)),Pe(h,v,n,o,r,c,l),e[f]=v,p--,m>--f||m>p)break e;h=e[f],v=t[p]}}if(m>f){if(m<=p)for(d=(s=p+1)<a?b(t[s],!0):c;m<=p;)16384&(v=t[m]).flags&&(t[m]=v=M(v)),++m,Ie(v,n,o,r,d,l)}else if(m>p)for(;m<=f;)Ce(e[m++],n);else!function(e,t,n,o,r,i,a,c,u,l,s,d,f){var p,m,h,v=0,g=c,C=c,N=i-c+1,V=a-c+1,_=new Int32Array(V+1),x=N===o,w=!1,S=0,k=0;if(r<4||(N|V)<32)for(v=g;v<=i;++v)if(p=e[v],k<V){for(c=C;c<=a;c++)if(m=t[c],p.key===m.key){if(_[c-C]=v+1,x)for(x=!1;g<v;)Ce(e[g++],u);S>c?w=!0:S=c,16384&m.flags&&(t[c]=m=M(m)),Pe(p,m,u,n,l,s,f),++k;break}!x&&c>a&&Ce(p,u)}else x||Ce(p,u);else{var E={};for(v=C;v<=a;++v)E[t[v].key]=v;for(v=g;v<=i;++v)if(p=e[v],k<V)if(void 0!==(c=E[p.key])){if(x)for(x=!1;v>g;)Ce(e[g++],u);_[c-C]=v+1,S>c?w=!0:S=c,16384&(m=t[c]).flags&&(t[c]=m=M(m)),Pe(p,m,u,n,l,s,f),++k}else x||Ce(p,u);else x||Ce(p,u)}if(x)_e(u,d,e),Me(t,u,n,l,s,f);else if(w){var B=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,u=e.length;u>Re&&(Re=u,le=new Int32Array(u),se=new Int32Array(u));for(;n<u;++n)if(0!==(t=e[n])){if(e[o=le[r]]<t){se[n]=o,le[++r]=n;continue}for(i=0,a=r;i<a;)e[le[c=i+a>>1]]<t?i=c+1:a=c;t<e[le[i]]&&(i>0&&(se[n]=le[i-1]),le[i]=n)}i=r+1;var l=new Int32Array(i);a=le[i-1];for(;i-- >0;)l[i]=a,a=se[a],le[i]=0;return l}(_);for(c=B.length-1,v=V-1;v>=0;v--)0===_[v]?(16384&(m=t[S=v+C]).flags&&(t[S]=m=M(m)),Ie(m,u,n,l,(h=S+1)<r?b(t[h],!0):s,f)):c<0||v!==B[c]?y(m=t[S=v+C],u,(h=S+1)<r?b(t[h],!0):s):c--}else if(k!==V)for(v=V-1;v>=0;v--)0===_[v]&&(16384&(m=t[S=v+C]).flags&&(t[S]=m=M(m)),Ie(m,u,n,l,(h=S+1)<r?b(t[h],!0):s,f))}(e,t,o,i,a,f,p,m,n,r,c,u,l)}(n,o,r,i,a,s,d,c,u,l):function(e,t,n,o,r,i,a,c,u){for(var l,s,d=i>a?a:i,f=0;f<d;++f)l=t[f],s=e[f],16384&l.flags&&(l=t[f]=M(l)),Pe(s,l,n,o,r,c,u),e[f]=l;if(i<a)for(f=d;f<a;++f)16384&(l=t[f]).flags&&(l=t[f]=M(l)),Ie(l,n,o,r,c,u);else if(i>a)for(f=d;f<i;++f)Ce(e[f],n)}(n,o,r,i,a,s,d,c,l)}}}function Fe(e,t,n,o,r,i,c,u,s){var d=e.state,f=e.props,p=Boolean(e.$N),m=a(e.shouldComponentUpdate);if(p&&(t=N(e,n,t!==d?l(d,t):t)),c||!m||m&&e.shouldComponentUpdate(n,t,r)){!p&&a(e.componentWillUpdate)&&e.componentWillUpdate(n,t,r),e.props=n,e.state=t,e.context=r;var h=null,v=ke(e,n,r);p&&a(e.getSnapshotBeforeUpdate)&&(h=e.getSnapshotBeforeUpdate(f,d)),Pe(e.$LI,v,o,e.$CX,i,u,s),e.$LI=v,a(e.componentDidUpdate)&&function(e,t,n,o,r){r.push((function(){e.componentDidUpdate(t,n,o)}))}(e,f,d,h,s)}else e.props=n,e.state=t,e.context=r}var Re=0;function De(e,t,n,o){var i=[],c=t.$V;V.v=!0,r(c)?r(e)||(16384&e.flags&&(e=M(e)),Ie(e,t,o,!1,null,i),t.$V=e,c=e):r(e)?(Ce(c,t),t.$V=null):(16384&e.flags&&(e=M(e)),Pe(c,e,t,o,!1,null,i),c=t.$V=e),v(i),V.v=!1,a(n)&&n(),a(_.renderComplete)&&_.renderComplete(c,t)}function Ke(e,t,n,o){void 0===n&&(n=null),void 0===o&&(o=d),De(e,t,n,o)}"undefined"!=typeof document&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);var ze=[],We="undefined"!=typeof Promise?Promise.resolve().then.bind(Promise.resolve()):function(e){window.setTimeout(e,0)},Ye=!1;function Ue(e,t,n,o){var i=e.$PS;if(a(t)&&(t=t(i?l(e.state,i):e.state,e.props,e.context)),r(i))e.$PS=t;else for(var c in t)i[c]=t[c];if(e.$BR)a(n)&&e.$L.push(n.bind(e));else{if(!V.v&&0===ze.length)return $e(e,o),void(a(n)&&n.call(e));if(-1===ze.indexOf(e)&&ze.push(e),o&&(e.$F=!0),Ye||(Ye=!0,We(Ge)),a(n)){var u=e.$QU;u||(u=e.$QU=[]),u.push(n)}}}function He(e){for(var t=e.$QU,n=0;n<t.length;++n)t[n].call(e);e.$QU=null}function Ge(){var e;for(Ye=!1;e=ze.shift();)if(!e.$UN){var t=e.$F;e.$F=!1,$e(e,t),e.$QU&&He(e)}}function $e(e,t){if(t||!e.$BR){var n=e.$PS;e.$PS=null;var o=[];V.v=!0,Fe(e,l(e.state,n),e.props,b(e.$LI,!0).parentNode,e.context,e.$SVG,t,null,o),v(o),V.v=!1}else e.state=e.$PS,e.$PS=null}var qe=function(e,t){this.state=null,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=e||d,this.context=t||d};t.Component=qe,qe.prototype.forceUpdate=function(e){this.$UN||Ue(this,{},e,!0)},qe.prototype.setState=function(e,t){this.$UN||this.$BS||Ue(this,e,t,!1)},qe.prototype.render=function(e,t,n){return null};t.version="7.4.8"},96323:function(e,t,n){"use strict";t.__esModule=!0;var o=n(92376);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||(t[e]=o[e]))}))},10648:function(e,t){"use strict";var n,o;t.__esModule=!0,t.VNodeFlags=t.ChildFlags=void 0,t.VNodeFlags=n,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(n||(t.VNodeFlags=n={})),t.ChildFlags=o,function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(o||(t.ChildFlags=o={}))},69838:function(e){"use strict";var t=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",c=r.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(L){u=function(e,t,n){return e[t]=n}}function l(e,t,n,o){var r=t&&t.prototype instanceof v?t:v,i=Object.create(r.prototype),a=new E(o||[]);return i._invoke=function(e,t,n){var o=d;return function(){function r(r,i){if(o===p)throw new Error("Generator is already running");if(o===m){if("throw"===r)throw i;return I()}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=p;var u=s(e,t,n);if("normal"===u.type){if(o=n.done?m:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}return r}()}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(L){return{type:"throw",arg:L}}}e.wrap=l;var d="suspendedStart",f="suspendedYield",p="executing",m="completed",h={};function v(){}function g(){}function b(){}var C={};u(C,i,(function(){return this}));var y=Object.getPrototypeOf,N=y&&y(y(B([])));N&&N!==n&&o.call(N,i)&&(C=N);var V=b.prototype=v.prototype=Object.create(C);function _(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(r,i,a,c){var u=s(e[r],e,i);if("throw"!==u.type){var l=u.arg,d=l.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var r;this._invoke=function(e,o){function i(){return new t((function(t,r){n(e,o,t,r)}))}return r=r?r.then(i,i):i()}}function w(e,n){var o=e.iterator[n.method];if(o===t){if(n.delegate=null,"throw"===n.method){if(e.iterator["return"]&&(n.method="return",n.arg=t,w(e,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var r=s(o,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,h;var i=r.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function B(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:I}}function I(){return{value:t,done:!0}}return g.prototype=b,u(V,"constructor",b),u(b,"constructor",g),g.displayName=u(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,c,"GeneratorFunction")),e.prototype=Object.create(V),e},e.awrap=function(e){return{__await:e}},_(x.prototype),u(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new x(l(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(V),u(V,c,"Generator"),u(V,i,(function(){return this})),u(V,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function o(){for(;t.length;){var n=t.pop();if(n in e)return o.value=n,o.done=!1,o}return o.done=!0,o}},e.values=B,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(o,r){return c.type="throw",c.arg=e,n.next=o,r&&(n.method="next",n.arg=t),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;k(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,o){return this.delegate={iterator:B(e),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(n){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},96250:function(){"use strict";self.fetch||(self.fetch=function(e,t){return t=t||{},new Promise((function(n,o){var r=new XMLHttpRequest,i=[],a=[],c={},u=function s(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:s,headers:{keys:function(){return i},entries:function(){return a},get:function(e){return c[e.toLowerCase()]},has:function(e){return e.toLowerCase()in c}}}};for(var l in r.open(t.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,t,n){i.push(t=t.toLowerCase()),a.push([t,n]),c[t]=c[t]?c[t]+","+n:n})),n(u())},r.onerror=o,r.withCredentials="include"==t.credentials,t.headers)r.setRequestHeader(l,t.headers[l]);r.send(t.body||null)}))})},1397:function(e,t){"use strict";t.__esModule=!0,t.zipWith=t.zip=t.uniq=t.uniqBy=t.reduce=t.range=t.sort=t.sortBy=t.map=t.filter=t.toKeyedArray=t.toArray=void 0;t.toArray=function(e){if(Array.isArray(e))return e;if("object"==typeof e){var t=Object.prototype.hasOwnProperty,n=[];for(var o in e)t.call(e,o)&&n.push(e[o]);return n}return[]};t.toKeyedArray=function(e,t){return void 0===t&&(t="key"),n((function(e,n){var o;return Object.assign(((o={})[t]=n,o),e)}))(e)};t.filter=function(e){return function(t){if(null===t||t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;o<t.length;o++){var r=t[o];e(r,o,t)&&n.push(r)}return n}throw new Error("filter() can't iterate on type "+typeof t)}};var n=function(e){return function(t){if(null===t||t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;o<t.length;o++)n.push(e(t[o],o,t));return n}if("object"==typeof t){var r=Object.prototype.hasOwnProperty,i=[];for(var a in t)r.call(t,a)&&i.push(e(t[a],a,t));return i}throw new Error("map() can't iterate on type "+typeof t)}};t.map=n;var o=function(e,t){for(var n=e.criteria,o=t.criteria,r=n.length,i=0;i<r;i++){var a=n[i],c=o[i];if(a<c)return-1;if(a>c)return 1}return 0},r=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){if(!Array.isArray(e))return e;for(var n=e.length,r=[],i=function(n){var o=e[n];r.push({criteria:t.map((function(e){return e(o)})),value:o})},a=0;a<n;a++)i(a);for(r.sort(o);n--;)r[n]=r[n].value;return r}};t.sortBy=r;var i=r();t.sort=i;t.range=function(e,t){return new Array(t-e).fill(null).map((function(t,n){return n+e}))};t.reduce=function(e,t){return function(n){var o,r,i=n.length;for(t===undefined?(o=1,r=n[0]):(o=0,r=t);o<i;o++)r=e(r,n[o],o,n);return r}};var a=function(e){return function(t){var n=t.length,o=[],r=e?[]:o,i=-1;e:for(;++i<n;){var a=t[i],c=e?e(a):a;if(a=0!==a?a:0,c==c){for(var u=r.length;u--;)if(r[u]===c)continue e;e&&r.push(c),o.push(a)}else r.includes(c)||(r!==o&&r.push(c),o.push(a))}return o}};t.uniqBy=a;var c=a();t.uniq=c;var u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0!==t.length){for(var o=t.length,r=t[0].length,i=[],a=0;a<r;a++){for(var c=[],u=0;u<o;u++)c.push(t[u][a]);i.push(c)}return i}};t.zip=u;t.zipWith=function(e){return function(){return n((function(t){return e.apply(void 0,t)}))(u.apply(void 0,arguments))}}},52844:function(e,t){"use strict";t.__esModule=!0,t.EventEmitter=void 0;var n=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)},t.off=function(e,t){var n=this.listeners[e];if(!n)throw new Error('There is no listeners for "'+e+'"');this.listeners[e]=n.filter((function(e){return e!==t}))},t.emit=function(e){var t=this.listeners[e];if(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];for(var i=0,a=t.length;i<a;i+=1){var c=t[i];c.apply(void 0,o)}}},t.clear=function(){this.listeners={}},e}();t.EventEmitter=n},32416:function(e,t){"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.__esModule=!0,t.compose=t.flow=void 0;t.flow=function r(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return function(e){for(var o=e,i=arguments.length,a=new Array(i>1?i-1:0),c=1;c<i;c++)a[c-1]=arguments[c];for(var u,l=n(t);!(u=l()).done;){var s=u.value;Array.isArray(s)?o=r.apply(void 0,s).apply(void 0,[o].concat(a)):s&&(o=s.apply(void 0,[o].concat(a)))}return o}};t.compose=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(n){for(var o=arguments.length,r=new Array(o>1?o-1:0),i=1;i<o;i++)r[i-1]=arguments[i];return e.apply(void 0,[t.apply(void 0,[n].concat(r))].concat(r))}}))}},57890:function(e,t){"use strict";t.__esModule=!0,t.KEY_QUOTE=t.KEY_RIGHT_BRACKET=t.KEY_BACKSLASH=t.KEY_LEFT_BRACKET=t.KEY_SLASH=t.KEY_PERIOD=t.KEY_MINUS=t.KEY_COMMA=t.KEY_EQUAL=t.KEY_SEMICOLON=t.KEY_F12=t.KEY_F11=t.KEY_F10=t.KEY_F9=t.KEY_F8=t.KEY_F7=t.KEY_F6=t.KEY_F5=t.KEY_F4=t.KEY_F3=t.KEY_F2=t.KEY_F1=t.KEY_Z=t.KEY_Y=t.KEY_X=t.KEY_W=t.KEY_V=t.KEY_U=t.KEY_T=t.KEY_S=t.KEY_R=t.KEY_Q=t.KEY_P=t.KEY_O=t.KEY_N=t.KEY_M=t.KEY_L=t.KEY_K=t.KEY_J=t.KEY_I=t.KEY_H=t.KEY_G=t.KEY_F=t.KEY_E=t.KEY_D=t.KEY_C=t.KEY_B=t.KEY_A=t.KEY_9=t.KEY_8=t.KEY_7=t.KEY_6=t.KEY_5=t.KEY_4=t.KEY_3=t.KEY_2=t.KEY_1=t.KEY_0=t.KEY_DELETE=t.KEY_INSERT=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_HOME=t.KEY_END=t.KEY_PAGEDOWN=t.KEY_PAGEUP=t.KEY_SPACE=t.KEY_ESCAPE=t.KEY_CAPSLOCK=t.KEY_PAUSE=t.KEY_ALT=t.KEY_CTRL=t.KEY_SHIFT=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=void 0;t.KEY_BACKSPACE=8;t.KEY_TAB=9;t.KEY_ENTER=13;t.KEY_SHIFT=16;t.KEY_CTRL=17;t.KEY_ALT=18;t.KEY_PAUSE=19;t.KEY_CAPSLOCK=20;t.KEY_ESCAPE=27;t.KEY_SPACE=32;t.KEY_PAGEUP=33;t.KEY_PAGEDOWN=34;t.KEY_END=35;t.KEY_HOME=36;t.KEY_LEFT=37;t.KEY_UP=38;t.KEY_RIGHT=39;t.KEY_DOWN=40;t.KEY_INSERT=45;t.KEY_DELETE=46;t.KEY_0=48;t.KEY_1=49;t.KEY_2=50;t.KEY_3=51;t.KEY_4=52;t.KEY_5=53;t.KEY_6=54;t.KEY_7=55;t.KEY_8=56;t.KEY_9=57;t.KEY_A=65;t.KEY_B=66;t.KEY_C=67;t.KEY_D=68;t.KEY_E=69;t.KEY_F=70;t.KEY_G=71;t.KEY_H=72;t.KEY_I=73;t.KEY_J=74;t.KEY_K=75;t.KEY_L=76;t.KEY_M=77;t.KEY_N=78;t.KEY_O=79;t.KEY_P=80;t.KEY_Q=81;t.KEY_R=82;t.KEY_S=83;t.KEY_T=84;t.KEY_U=85;t.KEY_V=86;t.KEY_W=87;t.KEY_X=88;t.KEY_Y=89;t.KEY_Z=90;t.KEY_F1=112;t.KEY_F2=113;t.KEY_F3=114;t.KEY_F4=115;t.KEY_F5=116;t.KEY_F6=117;t.KEY_F7=118;t.KEY_F8=119;t.KEY_F9=120;t.KEY_F10=121;t.KEY_F11=122;t.KEY_F12=123;t.KEY_SEMICOLON=186;t.KEY_EQUAL=187;t.KEY_COMMA=188;t.KEY_MINUS=189;t.KEY_PERIOD=190;t.KEY_SLASH=191;t.KEY_LEFT_BRACKET=219;t.KEY_BACKSLASH=220;t.KEY_RIGHT_BRACKET=221;t.KEY_QUOTE=222},97622:function(e,t){"use strict";t.__esModule=!0,t.numberOfDecimalDigits=t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return e<t?t:e>n?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=+((e*=n=Math.pow(10,t))>0)|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var n=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=n;t.keyOfMatchingRange=function(e,t){for(var o=0,r=Object.keys(t);o<r.length;o++){var i=r[o],a=t[i];if(n(e,a))return i}};t.numberOfDecimalDigits=function(e){return Math.floor(e)!==e&&e.toString().split(".")[1].length||0}},28440:function(e,t){"use strict";var n;t.__esModule=!0,t.perf=void 0;null==(n=window.performance)||n.now;var o={mark:function(e,t){0},measure:function(e,t){}};t.perf=o},1060:function(e,t){"use strict";t.__esModule=!0,t.canRender=t.pureComponentHooks=t.shallowDiffers=t.normalizeChildren=t.classes=void 0;t.classes=function(e){for(var t="",n=0;n<e.length;n++){var o=e[n];"string"==typeof o&&(t+=o+" ")}return t};t.normalizeChildren=function(e){return Array.isArray(e)?e.flat().filter((function(e){return e})):"object"==typeof e?[e]:[]};var n=function(e,t){var n;for(n in e)if(!(n in t))return!0;for(n in t)if(e[n]!==t[n])return!0;return!1};t.shallowDiffers=n;var o={onComponentShouldUpdate:function(e,t){return n(e,t)}};t.pureComponentHooks=o;t.canRender=function(e){return e!==undefined&&null!==e&&"boolean"!=typeof e}},465:function(e,t,n){"use strict";t.__esModule=!0,t.useSelector=t.useDispatch=t.createAction=t.combineReducers=t.applyMiddleware=t.createStore=void 0;var o=n(32416);function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.createStore=function a(e,t){if(t)return t(a)(e);var n,o=[],r=function(t){n=e(n,t);for(var r=0;r<o.length;r++)o[r]()};return r({type:"@@INIT"}),{dispatch:r,subscribe:function(e){o.push(e)},getState:function(){return n}}};t.applyMiddleware=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n){for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var c=e.apply(void 0,[n].concat(i)),u=function(){throw new Error("Dispatching while constructing your middleware is not allowed.")},l={getState:c.getState,dispatch:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return u.apply(void 0,[e].concat(n))}},s=t.map((function(e){return e(l)}));return u=o.compose.apply(void 0,s)(c.dispatch),Object.assign({},c,{dispatch:u})}}};t.combineReducers=function(e){var t=Object.keys(e),n=!1;return function(o,i){void 0===o&&(o={});for(var a,c=Object.assign({},o),u=r(t);!(a=u()).done;){var l=a.value,s=e[l],d=o[l],f=s(d,i);d!==f&&(n=!0,c[l]=f)}return n?c:o}};t.createAction=function(e,t){void 0===t&&(t=null);var n=function(){if(!t)return{type:e,payload:arguments.length<=0?undefined:arguments[0]};var n=t.apply(void 0,arguments);if(!n)throw new Error("prepare function did not return an object");var o={type:e};return"payload"in n&&(o.payload=n.payload),"meta"in n&&(o.meta=n.meta),o};return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n};t.useDispatch=function(e){return e.store.dispatch};t.useSelector=function(e,t){return t(e.store.getState())}},7151:function(e,t){"use strict";function n(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(o,r)}function o(e){return function(){var t=this,o=arguments;return new Promise((function(r,i){var a=e.apply(t,o);function c(e){n(a,r,i,c,u,"next",e)}function u(e){n(a,r,i,c,u,"throw",e)}c(undefined)}))}}t.__esModule=!0,t.storage=t.IMPL_INDEXED_DB=t.IMPL_LOCAL_STORAGE=t.IMPL_MEMORY=void 0;t.IMPL_MEMORY=0;t.IMPL_LOCAL_STORAGE=1;t.IMPL_INDEXED_DB=2;var r="storage-v1",i="readwrite",a=function(e){return function(){try{return Boolean(e())}catch(t){return!1}}},c=a((function(){return window.localStorage&&window.localStorage.getItem})),u=a((function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)})),l=function(){function e(){this.impl=0,this.store={}}var t=e.prototype;return t.get=function(e){return this.store[e]},t.set=function(e,t){this.store[e]=t},t.remove=function(e){this.store[e]=undefined},t.clear=function(){this.store={}},e}(),s=function(){function e(){this.impl=1}var t=e.prototype;return t.get=function(e){var t=localStorage.getItem(e);if("string"==typeof t)return JSON.parse(t)},t.set=function(e,t){localStorage.setItem(e,JSON.stringify(t))},t.remove=function(e){localStorage.removeItem(e)},t.clear=function(){localStorage.clear()},e}(),d=function(){function e(){this.impl=2,this.dbPromise=new Promise((function(e,t){var n=(window.indexedDB||window.msIndexedDB).open("tau-tgui",1);n.onupgradeneeded=function(){try{n.result.createObjectStore(r)}catch(e){t(new Error("Failed to upgrade IDB: "+n.error))}},n.onsuccess=function(){return e(n.result)},n.onerror=function(){t(new Error("Failed to open IDB: "+n.error))}}))}var t=e.prototype;return t.getStore=function(e){return this.dbPromise.then((function(t){return t.transaction(r,e).objectStore(r)}))},t.get=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getStore("readonly");case 2:return n=t.sent,t.abrupt("return",new Promise((function(t,o){var r=n.get(e);r.onsuccess=function(){return t(r.result)},r.onerror=function(){return o(r.error)}})));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.set=function(){var e=o(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null===n&&(n=undefined),t.next=3,this.getStore(i);case 3:t.sent.put(n,e);case 5:case"end":return t.stop()}}),t,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.remove=function(){var e=o(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.getStore(i);case 2:t.sent["delete"](e);case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.clear=function(){var e=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getStore(i);case 2:e.sent.clear();case 4:case"end":return e.stop()}}),t,this)})));return function(){return e.apply(this,arguments)}}(),e}(),f=new(function(){function e(){this.backendPromise=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!u()){e.next=10;break}return e.prev=1,t=new d,e.next=5,t.dbPromise;case 5:return e.abrupt("return",t);case 8:e.prev=8,e.t0=e["catch"](1);case 10:if(!c()){e.next=12;break}return e.abrupt("return",new s);case 12:return e.abrupt("return",new l);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})))()}var t=e.prototype;return t.get=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return n=t.sent,t.abrupt("return",n.get(e));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.set=function(){var e=o(regeneratorRuntime.mark((function t(e,n){var o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return o=t.sent,t.abrupt("return",o.set(e,n));case 4:case"end":return t.stop()}}),t,this)})));return function(t,n){return e.apply(this,arguments)}}(),t.remove=function(){var e=o(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return n=t.sent,t.abrupt("return",n.remove(e));case 4:case"end":return t.stop()}}),t,this)})));return function(t){return e.apply(this,arguments)}}(),t.clear=function(){var e=o(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.backendPromise;case 2:return e=t.sent,t.abrupt("return",e.clear());case 4:case"end":return t.stop()}}),t,this)})));return function(){return e.apply(this,arguments)}}(),e}());t.storage=f},21118:function(e,t){"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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 o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}t.__esModule=!0,t.buildQueryString=t.decodeHtmlEntities=t.toTitleCase=t.capitalize=t.createSearch=t.createGlobPattern=t.multiline=void 0;t.multiline=function r(e){if(Array.isArray(e))return r(e.join(""));for(var t,o,i=e.split("\n"),a=n(i);!(o=a()).done;)for(var c=o.value,u=0;u<c.length;u++){if(" "!==c[u]){(t===undefined||u<t)&&(t=u);break}}return t||(t=0),i.map((function(e){return e.substr(t).trimRight()})).join("\n").trim()};t.createGlobPattern=function(e){var t=new RegExp("^"+e.split(/\*+/).map((function(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")})).join(".*")+"$");return function(e){return t.test(e)}};t.createSearch=function(e,t){var n=e.toLowerCase().trim();return function(e){if(!n)return!0;var o=t?t(e):e;return!!o&&o.toLowerCase().includes(n)}};t.capitalize=function i(e){return Array.isArray(e)?e.map(i):e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()};t.toTitleCase=function a(e){if(Array.isArray(e))return e.map(a);if("string"!=typeof e)return e;for(var t=e.replace(/([^\W_]+[^\s-]*) */g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})),n=0,o=["A","An","And","As","At","But","By","For","For","From","In","Into","Near","Nor","Of","On","Onto","Or","The","To","With"];n<o.length;n++){var r=new RegExp("\\s"+o[n]+"\\s","g");t=t.replace(r,(function(e){return e.toLowerCase()}))}for(var i=0,c=["Id","Tv"];i<c.length;i++){var u=new RegExp("\\b"+c[i]+"\\b","g");t=t.replace(u,(function(e){return e.toLowerCase()}))}return t};t.decodeHtmlEntities=function(e){if(!e)return e;var t={nbsp:" ",amp:"&",quot:'"',lt:"<",gt:">",apos:"'"};return e.replace(/<br>/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},53538:function(e,t){"use strict";t.__esModule=!0,t.sleep=t.debounce=void 0;t.debounce=function(e,t,n){var o;return void 0===n&&(n=!1),function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];var c=function(){o=null,n||e.apply(void 0,i)},u=n&&!o;clearTimeout(o),o=setTimeout(c,t),u&&e.apply(void 0,i)}};t.sleep=function(e){return new Promise((function(t){return setTimeout(t,e)}))}},67288:function(e,t,n){"use strict";t.__esModule=!0,t.vecNormalize=t.vecLength=t.vecInverse=t.vecScale=t.vecDivide=t.vecMultiply=t.vecSubtract=t.vecAdd=void 0;var o=n(1397),r=function(e,t){return e+t},i=function(e,t){return e-t},a=function(e,t){return e*t},c=function(e,t){return e/t};t.vecAdd=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(r)(e,t)}))(t)};t.vecSubtract=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(i)(e,t)}))(t)};t.vecMultiply=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(a)(e,t)}))(t)};var u=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.reduce)((function(e,t){return(0,o.zipWith)(c)(e,t)}))(t)};t.vecDivide=u;t.vecScale=function(e,t){return(0,o.map)((function(e){return e*t}))(e)};t.vecInverse=function(e){return(0,o.map)((function(e){return-e}))(e)};var l=function(e){return Math.sqrt((0,o.reduce)(r)((0,o.zipWith)(a)(e,e)))};t.vecLength=l;t.vecNormalize=function(e){return u(e,l(e))}},88280:function(){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},15511:function(){"use strict";!function(e){function t(){return d.createDocumentFragment()}function n(e){return d.createElement(e)}function o(e,t){if(!e)throw new Error("Failed to construct "+t+": 1 argument required, but only 0 present.")}function r(e){if(1===e.length)return i(e[0]);for(var n=t(),o=M.call(e),r=0;r<e.length;r++)n.appendChild(i(o[r]));return n}function i(e){return"object"==typeof e?e:d.createTextNode(e)}for(var a,c,u,l,s,d=e.document,f=Object.prototype.hasOwnProperty,p=Object.defineProperty||function(e,t,n){return f.call(n,"value")?e[t]=n.value:(f.call(n,"get")&&e.__defineGetter__(t,n.get),f.call(n,"set")&&e.__defineSetter__(t,n.set)),e},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},h=function(e){var t="undefined"==typeof e.className,n=t?e.getAttribute("class")||"":e.className,o=t||"object"==typeof n,r=(o?t?n:n.baseVal:n).replace(g,"");r.length&&O.push.apply(this,r.split(b)),this._isSVG=o,this._=e},v={get:function(){return new h(this)},set:function(){}},g=/^\s+|\s+$/g,b=/\s+/,C="classList",y=function(e,t){return this.contains(e)?t||this.remove(e):(t===undefined||t)&&(t=!0,this.add(e)),!!t},N=e.DocumentFragment&&DocumentFragment.prototype,V=e.Node,_=(V||Element).prototype,x=e.CharacterData||V,w=x&&x.prototype,S=e.DocumentType,k=S&&S.prototype,E=(e.Element||V||e.HTMLElement).prototype,B=e.HTMLSelectElement||n("select").constructor,I=B.prototype.remove,L=e.SVGElement,O=["matches",E.matchesSelector||E.webkitMatchesSelector||E.khtmlMatchesSelector||E.mozMatchesSelector||E.msMatchesSelector||E.oMatchesSelector||function(e){var t=this.parentNode;return!!t&&-1<m.call(t.querySelectorAll(e),this)},"closest",function(e){for(var t,n=this;(t=n&&n.matches)&&!n.matches(e);)n=n.parentNode;return t?n:null},"prepend",function(){var e=this.firstChild,t=r(arguments);e?this.insertBefore(t,e):this.appendChild(t)},"append",function(){this.appendChild(r(arguments))},"before",function(){var e=this.parentNode;e&&e.insertBefore(r(arguments),this)},"after",function(){var e=this.parentNode,t=this.nextSibling,n=r(arguments);e&&(t?e.insertBefore(n,t):e.appendChild(n))},"toggleAttribute",function(e,t){var n=this.hasAttribute(e);return 1<arguments.length?n&&!t?this.removeAttribute(e):t&&!n&&this.setAttribute(e,""):n?this.removeAttribute(e):this.setAttribute(e,""),this.hasAttribute(e)},"replace",function(){this.replaceWith.apply(this,arguments)},"replaceWith",function(){var e=this.parentNode;e&&e.replaceChild(r(arguments),this)},"remove",function(){var e=this.parentNode;e&&e.removeChild(this)}],M=O.slice,A=O.length;A;A-=2)if((c=O[A-2])in E||(E[c]=O[A-1]),"remove"!==c||I._dom4||((B.prototype[c]=function(){return 0<arguments.length?I.apply(this,arguments):E.remove.call(this)})._dom4=!0),/^(?:before|after|replace|replaceWith|remove)$/.test(c)&&(x&&!(c in w)&&(w[c]=O[A-1]),S&&!(c in k)&&(k[c]=O[A-1])),/^(?:append|prepend)$/.test(c))if(N)c in N||(N[c]=O[A-1]);else try{t().constructor.prototype[c]=O[A-1]}catch(P){}var T;n("a").matches("a")||(E[c]=(T=E[c],function(e){return T.call(this.parentNode?this:t().appendChild(this),e)})),h.prototype={length:0,add:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)||O.push.call(this,c);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},contains:function(e){return function(t){return-1<(A=e.call(this,c=function(e){if(!e)throw"SyntaxError";if(b.test(e))throw"InvalidCharacterError";return e}(t)))}}([].indexOf||function(e){for(A=this.length;A--&&this[A]!==e;);return A}),item:function(e){return this[e]||null},remove:function(){for(var e,t=0;t<arguments.length;t++)e=arguments[t],this.contains(e)&&O.splice.call(this,A,1);this._isSVG?this._.setAttribute("class",""+this):this._.className=""+this},toggle:y,toString:function(){return O.join.call(this," ")}},L&&!(C in L.prototype)&&p(L.prototype,C,v),C in d.documentElement?((l=n("div").classList).add("a","b","a"),"a b"!=l&&("add"in(u=l.constructor.prototype)||(u=e.TemporaryTokenList.prototype),s=function(e){return function(){for(var t=0;t<arguments.length;)e.call(this,arguments[t++])}},u.add=s(u.add),u.remove=s(u.remove),u.toggle=y)):p(E,C,v),"contains"in _||p(_,"contains",{value:function(e){for(;e&&e!==this;)e=e.parentNode;return this===e}}),"head"in d||p(d,"head",{get:function(){return a||(a=d.getElementsByTagName("head")[0])}}),function(){for(var t,n=e.requestAnimationFrame,o=e.cancelAnimationFrame,r=["o","ms","moz","webkit"],i=r.length;!o&&i--;)n=n||e[r[i]+"RequestAnimationFrame"],o=e[r[i]+"CancelAnimationFrame"]||e[r[i]+"CancelRequestAnimationFrame"];o||(n?(t=n,n=function(e){var n=!0;return t((function(){n&&e.apply(this,arguments)})),function(){n=!1}},o=function(e){e()}):(n=function(e){return setTimeout(e,15,15)},o=function(e){clearTimeout(e)})),e.requestAnimationFrame=n,e.cancelAnimationFrame=o}();try{new e.CustomEvent("?")}catch(P){e.CustomEvent=function(e,t){function n(e,t,n,o){this.initEvent(e,t,n),this.detail=o}return function(o,r){var i=d.createEvent(e);if("string"!=typeof o)throw new Error("An event name must be provided");return"Event"==e&&(i.initCustomEvent=n),null==r&&(r=t),i.initCustomEvent(o,r.bubbles,r.cancelable,r.detail),i}}(e.CustomEvent?"CustomEvent":"Event",{bubbles:!1,cancelable:!1,detail:null})}try{new Event("_")}catch(P){P=function(e){function t(e,t){o(arguments.length,"Event");var n=d.createEvent("Event");return t||(t={}),n.initEvent(e,!!t.bubbles,!!t.cancelable),n}return t.prototype=e.prototype,t}(e.Event||function(){}),p(e,"Event",{value:P}),Event!==P&&(Event=P)}try{new KeyboardEvent("_",{})}catch(P){P=function(t){var n,r=0,i={char:"",key:"",location:0,ctrlKey:!1,shiftKey:!1,altKey:!1,metaKey:!1,altGraphKey:!1,repeat:!1,locale:navigator.language,detail:0,bubbles:!1,cancelable:!1,keyCode:0,charCode:0,which:0};try{var a=d.createEvent("KeyboardEvent");a.initKeyboardEvent("keyup",!1,!1,e,"+",3,!0,!1,!0,!1,!1),r="+"==(a.keyIdentifier||a.key)&&3==(a.keyLocation||a.location)&&(a.ctrlKey?a.altKey?1:3:a.shiftKey?2:4)||9}catch(P){}function c(e){for(var t=[],n=["ctrlKey","Control","shiftKey","Shift","altKey","Alt","metaKey","Meta","altGraphKey","AltGraph"],o=0;o<n.length;o+=2)e[n[o]]&&t.push(n[o+1]);return t.join(" ")}function u(e,t){for(var n in t)t.hasOwnProperty(n)&&!t.hasOwnProperty.call(e,n)&&(e[n]=t[n]);return e}function l(e,t,n){try{t[e]=n[e]}catch(P){}}function s(t,a){o(arguments.length,"KeyboardEvent"),a=u(a||{},i);var s,f=d.createEvent(n),p=a.ctrlKey,m=a.shiftKey,h=a.altKey,v=a.metaKey,g=a.altGraphKey,b=r>3?c(a):null,C=String(a.key),y=String(a.char),N=a.location,V=a.keyCode||(a.keyCode=C)&&C.charCodeAt(0)||0,_=a.charCode||(a.charCode=y)&&y.charCodeAt(0)||0,x=a.bubbles,w=a.cancelable,S=a.repeat,k=a.locale,E=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in f)f.initKeyEvent(t,x,w,E,p,h,m,v,V,_);else if(0<r&&"initKeyboardEvent"in f){switch(s=[t,x,w,E],r){case 1:s.push(C,N,p,m,h,v,g);break;case 2:s.push(p,h,m,v,V,_);break;case 3:s.push(C,N,p,h,m,v,g);break;case 4:s.push(C,N,b,S,k);break;default:s.push(char,C,N,b,S,k)}f.initKeyboardEvent.apply(f,s)}else f.initEvent(t,x,w);for(C in f)i.hasOwnProperty(C)&&f[C]!==a[C]&&l(C,f,a);return f}return n=0<r?"KeyboardEvent":"Event",s.prototype=t.prototype,s}(e.KeyboardEvent||function(){}),p(e,"KeyboardEvent",{value:P}),KeyboardEvent!==P&&(KeyboardEvent=P)}try{new MouseEvent("_",{})}catch(P){P=function(t){function n(t,n){o(arguments.length,"MouseEvent");var r=d.createEvent("MouseEvent");return n||(n={}),r.initMouseEvent(t,!!n.bubbles,!!n.cancelable,n.view||e,n.detail||1,n.screenX||0,n.screenY||0,n.clientX||0,n.clientY||0,!!n.ctrlKey,!!n.altKey,!!n.shiftKey,!!n.metaKey,n.button||0,n.relatedTarget||null),r}return n.prototype=t.prototype,n}(e.MouseEvent||function(){}),p(e,"MouseEvent",{value:P}),MouseEvent!==P&&(MouseEvent=P)}d.querySelectorAll("*").forEach||function(){function e(e){var t=e.querySelectorAll;e.querySelectorAll=function(e){var n=t.call(this,e);return n.forEach=Array.prototype.forEach,n}}e(d),e(Element.prototype)}();try{d.querySelector(":scope *")}catch(P){!function(){var e="data-scope-"+(1e9*Math.random()>>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,u=e.addEventListener,l=e.removeEventListener,s=0,d=function(){s++},f=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{u("_",d,{once:!0}),c(new a("_")),c(new a("_")),l("_",d,{once:!0})}catch(m){}1!==s&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,u,l,s=i.get(this),d=p(a);s||i.set(this,s=new n),t in s||(s[t]={handler:[],wrap:[]}),u=s[t],(c=f.call(u.handler,r))<0?(c=u.handler.push(r)-1,u.wrap[c]=l=new n):l=u.wrap[c],d in l||(l[d]=o(t,r,a),e.call(this,t,l[d],l[d].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,u,l=i.get(this);if(l&&t in l&&(c=l[t],-1<(a=f.call(c.handler,n))&&(r=p(o))in(u=c.wrap[a]))){for(r in e.call(this,t,u[r],u[r].capture),delete u[r],u)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete l[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},25513:function(e){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,u="_html5shiv",l=0,s={};function d(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function f(e){var t=s[e[u]];return t||(t={},l++,e[u]=l,s[l]=t),t}function p(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=f(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function m(e){e||(e=n);var t=f(e);return!h.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return h.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(h,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="<xyz></xyz>",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var h={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:m,createElement:p,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||f(e)).frag.cloneNode(),i=0,a=d(),c=a.length;i<c;i++)o.createElement(a[i]);return o},addElements:function(e,t){var n=h.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),h.elements=n+" "+e,m(t)}};t.html5=h,m(n),e.exports&&(e.exports=h)}(window,document)},72090:function(){"use strict";!function(e){if(!document.createEvent){var t,n=!0,o=!1,r="onreadystatechange",i="DOMContentLoaded",a="__IE8__"+Math.random(),c=Object.defineProperty||function(e,t,n){e[t]=n.value},u=Object.defineProperties||function(t,n){for(var o in n)if(s.call(n,o))try{c(t,o,n[o])}catch(r){e.console}},l=Object.getOwnPropertyDescriptor,s=Object.prototype.hasOwnProperty,d=e.Element.prototype,f=e.Text.prototype,p=/^[a-z]+$/,m=/loaded|complete/,h={},v=document.createElement("div"),g=document.documentElement,b=g.removeAttribute,C=g.setAttribute,y=function(e){return{enumerable:!0,writable:!0,configurable:!0,value:e}};w(e.HTMLCommentElement.prototype,d,"nodeValue"),w(e.HTMLScriptElement.prototype,null,"text"),w(f,null,"nodeValue"),w(e.HTMLTitleElement.prototype,null,"text"),c(e.HTMLStyleElement.prototype,"textContent",(t=l(e.CSSStyleSheet.prototype,"cssText"),x((function(){return t.get.call(this.styleSheet)}),(function(e){t.set.call(this.styleSheet,e)}))));var N=/\b\s*alpha\s*\(\s*opacity\s*=\s*(\d+)\s*\)/;c(e.CSSStyleDeclaration.prototype,"opacity",{get:function(){var e=this.filter.match(N);return e?(e[1]/100).toString():""},set:function(e){this.zoom=1;var t=!1;e=e<1?" alpha(opacity="+Math.round(100*e)+")":"",this.filter=this.filter.replace(N,(function(){return t=!0,e})),!t&&e&&(this.filter+=e)}}),u(d,{textContent:{get:k,set:L},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},oninput:{get:function(){return this._oninput||null},set:function(e){this._oninput&&(this.removeEventListener("input",this._oninput),this._oninput=e,e&&this.addEventListener("input",e))}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:y((function(e,t,n){if("function"==typeof t||"object"==typeof t){var o,r,i=this,u="on"+e,l=i[a]||c(i,a,{value:{}})[a],d=l[u]||(l[u]={}),f=d.h||(d.h=[]);if(!s.call(d,"w")){if(d.w=function(e){return e[a]||_(i,O(0,e),f,!1)},!s.call(h,u))if(p.test(e)){try{(o=document.createEventObject())[a]=!0,9!=i.nodeType&&(null==i.parentNode&&v.appendChild(i),(r=i.getAttribute(u))&&b.call(i,u)),i.fireEvent(u,o),h[u]=!0}catch(m){for(h[u]=!1;v.hasChildNodes();)v.removeChild(v.firstChild)}null!=r&&C.call(i,u,r)}else h[u]=!1;(d.n=h[u])&&i.attachEvent(u,d.w)}S(f,t)<0&&f[n?"unshift":"push"](t),"input"===e&&i.attachEvent("onkeyup",E)}})),dispatchEvent:y((function(e){var t,n=this,o="on"+e.type,r=n[a],i=r&&r[o],c=!!i;return e.target||(e.target=n),c?i.n?n.fireEvent(o,e):_(n,e,i.h,!0):!(t=n.parentNode)||t.dispatchEvent(e),!e.defaultPrevented})),removeEventListener:y((function(e,t,n){if("function"==typeof t||"object"==typeof t){var o="on"+e,r=this[a],i=r&&r[o],c=i&&i.h,u=c?S(c,t):-1;-1<u&&c.splice(u,1)}}))}),u(f,{addEventListener:y(d.addEventListener),dispatchEvent:y(d.dispatchEvent),removeEventListener:y(d.removeEventListener)}),u(e.XMLHttpRequest.prototype,{addEventListener:y((function(e,t,n){var o=this,r="on"+e,i=o[a]||c(o,a,{value:{}})[a],u=i[r]||(i[r]={}),l=u.h||(u.h=[]);S(l,t)<0&&(o[r]||(o[r]=function(){var t=document.createEvent("Event");t.initEvent(e,!0,!0),o.dispatchEvent(t)}),l[n?"unshift":"push"](t))})),dispatchEvent:y((function(e){var t=this,n="on"+e.type,o=t[a],r=o&&o[n];return!!r&&(r.n?t.fireEvent(n,e):_(t,e,r.h,!0))})),removeEventListener:y(d.removeEventListener)});var V=l(Event.prototype,"button").get;u(e.Event.prototype,{bubbles:y(!0),cancelable:y(!0),preventDefault:y((function(){this.cancelable&&(this.returnValue=!1)})),stopPropagation:y((function(){this.stoppedPropagation=!0,this.cancelBubble=!0})),stopImmediatePropagation:y((function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()})),initEvent:y((function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()})),pageX:{get:function(){return this._pageX||(this._pageX=this.clientX+e.scrollX-(g.clientLeft||0))}},pageY:{get:function(){return this._pageY||(this._pageY=this.clientY+e.scrollY-(g.clientTop||0))}},which:{get:function(){return this.keyCode?this.keyCode:isNaN(this.button)?undefined:this.button+1}},charCode:{get:function(){return this.keyCode&&"keypress"==this.type?this.keyCode:0}},buttons:{get:function(){return V.call(this)}},button:{get:function(){var e=this.buttons;return 1&e?0:2&e?2:4&e?1:undefined}},defaultPrevented:{get:function(){var e=this.returnValue;return!(void 0===e||e)}},relatedTarget:{get:function(){var e=this.type;return"mouseover"===e?this.fromElement:"mouseout"===e?this.toElement:null}}}),u(e.HTMLDocument.prototype,{defaultView:{get:function(){return this.parentWindow}},textContent:{get:function(){return 11===this.nodeType?k.call(this):null},set:function(e){11===this.nodeType&&L.call(this,e)}},addEventListener:y((function(t,o,a){var c=this;d.addEventListener.call(c,t,o,a),n&&t===i&&!m.test(c.readyState)&&(n=!1,c.attachEvent(r,B),e==top&&function u(e){try{c.documentElement.doScroll("left"),B()}catch(t){setTimeout(u,50)}}())})),dispatchEvent:y(d.dispatchEvent),removeEventListener:y(d.removeEventListener),createEvent:y((function(e){var t;if("Event"!==e)throw new Error("unsupported "+e);return(t=document.createEventObject()).timeStamp=(new Date).getTime(),t}))}),u(e.Window.prototype,{getComputedStyle:y(function(){var e=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,t=/^(top|right|bottom|left)$/,n=/\-([a-z])/g,o=function(e,t){return t.toUpperCase()};function r(e){this._=e}function i(){}return r.prototype.getPropertyValue=function(r){var i,a,c,u=this._,l=u.style,s=u.currentStyle,d=u.runtimeStyle;return"opacity"==r?l.opacity||"1":(r=("float"===r?"style-float":r).replace(n,o),i=s?s[r]:l[r],e.test(i)&&!t.test(r)&&(a=l.left,(c=d&&d.left)&&(d.left=s.left),l.left="fontSize"===r?"1em":i,i=l.pixelLeft+"px",l.left=a,c&&(d.left=c)),null==i?i:i+""||"auto")},i.prototype.getPropertyValue=function(){return null},function(e,t){return t?new i(e):new r(e)}}()),addEventListener:y((function(t,n,o){var r,i=e,c="on"+t;i[c]||(i[c]=function(e){return _(i,O(0,e),r,!1)&&undefined}),S(r=i[c][a]||(i[c][a]=[]),n)<0&&r[o?"unshift":"push"](n)})),dispatchEvent:y((function(t){var n=e["on"+t.type];return!n||!1!==n.call(e,t)&&!t.defaultPrevented})),removeEventListener:y((function(t,n,o){var r=(e["on"+t]||Object)[a],i=r?S(r,n):-1;-1<i&&r.splice(i,1)})),pageXOffset:{get:I("scrollLeft")},pageYOffset:{get:I("scrollTop")},scrollX:{get:I("scrollLeft")},scrollY:{get:I("scrollTop")},innerWidth:{get:I("clientWidth")},innerHeight:{get:I("clientHeight")}}),e.HTMLElement=e.Element,function(e,t,n){for(n=0;n<t.length;n++)document.createElement(t[n]);e.length||document.createStyleSheet(""),e[0].addRule(t.join(","),"display:block;")}(document.styleSheets,["header","nav","section","article","aside","footer"]),function(){if(!document.createRange){document.createRange=function(){return new n};var e=n.prototype;e.cloneContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.appendChild(n[o].cloneNode(!0));return e},e.cloneRange=function(){var e=new n;return e._start=this._start,e._end=this._end,e},e.deleteContents=function(){for(var e=this._start.parentNode,n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.removeChild(n[o])},e.extractContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),n=t(this._start,this._end),o=0,r=n.length;o<r;o++)e.appendChild(n[o]);return e},e.setEndAfter=function(e){this._end=e},e.setEndBefore=function(e){this._end=e.previousSibling},e.setStartAfter=function(e){this._start=e.nextSibling},e.setStartBefore=function(e){this._start=e}}function t(e,t){for(var n=[e];e!==t;)n.push(e=e.nextSibling);return n}function n(){}}()}function _(e,t,n,o){for(var r,i,a=n.slice(),c=function(e,t){return e.currentTarget=t,e.eventPhase=e.target===e.currentTarget?2:3,e}(t,e),u=0,l=a.length;u<l&&("object"==typeof(r=a[u])?"function"==typeof r.handleEvent&&r.handleEvent(c):r.call(e,c),!c.stoppedImmediatePropagation);u++);return i=!c.stoppedPropagation,o&&i&&e.parentNode?e.parentNode.dispatchEvent(c):!c.defaultPrevented}function x(e,t){return{configurable:!0,get:e,set:t}}function w(e,t,n){var o=l(t||e,n);c(e,"textContent",x((function(){return o.get.call(this)}),(function(e){o.set.call(this,e)})))}function S(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function k(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function E(e){var t=document.createEvent("Event");t.initEvent("input",!0,!0),(e.srcElement||e.fromElement||document).dispatchEvent(t)}function B(e){!o&&m.test(document.readyState)&&(o=!o,document.detachEvent(r,B),(e=document.createEvent("Event")).initEvent(i,!0,!0),document.dispatchEvent(e))}function I(e){return function(){return g[e]||document.body&&document.body[e]||0}}function L(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function O(t,n){return n||(n=e.event),n.target||(n.target=n.srcElement||n.fromElement||document),n.timeStamp||(n.timeStamp=(new Date).getTime()),n}}(window)},37283:function(){"use strict";window.Int32Array||(window.Int32Array=Array)},39646:function(e,t){"use strict";t.__esModule=!0,t.assetMiddleware=t.resolveAsset=void 0;var n=[/v4shim/i],o={};t.resolveAsset=function(e){return o[e]||e};t.assetMiddleware=function(e){return function(e){return function(t){var r=t.type,i=t.payload;if("asset/stylesheet"!==r)if("asset/mappings"!==r)e(t);else for(var a=function(){var e=u[c];if(n.some((function(t){return t.test(e)})))return"continue";var t=i[e],r=e.split(".").pop();o[e]=t,"css"===r&&Byond.loadCss(t),"js"===r&&Byond.loadJs(t)},c=0,u=Object.keys(i);c<u.length;c++)a();else Byond.loadCss(i)}}}},31246:function(e,t,n){"use strict";t.__esModule=!0,t.useSharedState=t.useLocalState=t.useBackend=t.selectBackend=t.sendAct=t.sendMessage=t.backendMiddleware=t.backendReducer=t.backendSuspendSuccess=t.backendSuspendStart=t.backendSetSharedState=t.backendUpdate=void 0;var o=n(28440),r=n(465),i=n(41410),a=n(40509),c=n(79926),u=n(77960),l=["payload"];var s=(0,c.createLogger)("backend"),d=(0,r.createAction)("backend/update");t.backendUpdate=d;var f=(0,r.createAction)("backend/setSharedState");t.backendSetSharedState=f;var p=(0,r.createAction)("backend/suspendStart");t.backendSuspendStart=p;var m=function(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}};t.backendSuspendSuccess=m;var h={config:{},data:{},shared:{},suspended:Date.now(),suspending:!1};t.backendReducer=function(e,t){void 0===e&&(e=h);var n=t.type,o=t.payload;if("backend/update"===n){var r=Object.assign({},e.config,o.config),i=Object.assign({},e.data,o.static_data,o.data),a=Object.assign({},e.shared);if(o.shared)for(var c=0,u=Object.keys(o.shared);c<u.length;c++){var l=u[c],s=o.shared[l];a[l]=""===s?undefined:JSON.parse(s)}return Object.assign({},e,{config:r,data:i,shared:a,suspended:!1})}if("backend/setSharedState"===n){var d,f=o.key,p=o.nextState;return Object.assign({},e,{shared:Object.assign({},e.shared,(d={},d[f]=p,d))})}if("backend/suspendStart"===n)return Object.assign({},e,{suspending:!0});if("backend/suspendSuccess"===n){var m=o.timestamp;return Object.assign({},e,{data:{},shared:{},config:Object.assign({},e.config,{title:"",status:1}),suspending:!1,suspended:m})}return e};t.backendMiddleware=function(e){var t,n;return function(r){return function(c){var l=b(e.getState()).suspended,f=c.type,p=c.payload;if("update"!==f)if("suspend"!==f){if("ping"!==f){if("backend/suspendStart"===f&&!n){s.log("suspending ("+window.__windowId__+")");var h=function(){return v({type:"suspend"})};h(),n=setInterval(h,2e3)}if("backend/suspendSuccess"===f&&((0,u.suspendRenderer)(),clearInterval(n),n=undefined,Byond.winset(window.__windowId__,{"is-visible":!1}),setImmediate((function(){return(0,a.focusMap)()}))),"backend/update"===f){var g,C,y=null==(g=p.config)||null==(C=g.window)?void 0:C.fancy;t===undefined?t=y:t!==y&&(s.log("changing fancy mode to",y),t=y,Byond.winset(window.__windowId__,{titlebar:!y,"can-resize":!y}))}return"backend/update"===f&&l&&(s.log("backend/update",p),(0,u.resumeRenderer)(),(0,i.setupDrag)(),setImmediate((function(){o.perf.mark("resume/start"),b(e.getState()).suspended||(Byond.winset(window.__windowId__,{"is-visible":!0}),o.perf.mark("resume/finish"))}))),r(c)}v({type:"pingReply"})}else e.dispatch(m());else e.dispatch(d(p))}}};var v=function(e){void 0===e&&(e={});var t=e,n=t.payload,o=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,l),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=v;var g=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?s.error("Payload for act() must be an object, got this:",t):v({type:"act/"+e,payload:t})};t.sendAct=g;var b=function(e){return e.backend||{}};t.selectBackend=b;t.useBackend=function(e){var t=e.store,n=b(t.getState());return Object.assign({},n,{act:g})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=b(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(f({key:t,nextState:"function"==typeof e?e(a):e}))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=b(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){v({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}},13251:function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(97622),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},a(t.initial)?n.state.value=t.initial:a(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=r.prototype;return c.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(a(o)){var r=.5*n+.5*o;this.setState({value:r})}},c.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},c.componentWillUnmount=function(){clearTimeout(this.timer)},c.render=function(){var e,t=this.props,n=this.state,r=t.format,i=t.children,c=n.value,u=t.value;if(!a(u))return u||null;if(r)e=r(c);else{var l=String(u).split(".")[1],s=l?l.length:0;e=(0,o.toFixed)(c,(0,o.clamp)(s,0,8))}return"function"==typeof i?i(e,c):e},r}(r.Component);t.AnimatedNumber=c},90297:function(e,t,n){"use strict";t.__esModule=!0,t.Blink=void 0;var o=n(96323);function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var i=function(e){var t,n;function i(){var t;return(t=e.call(this)||this).state={hidden:!1},t}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,r(t,n);var a=i.prototype;return a.createTimer=function(){var e=this,t=this.props,n=t.interval,o=void 0===n?1e3:n,r=t.time,i=void 0===r?1e3:r;clearInterval(this.interval),clearTimeout(this.timer),this.setState({hidden:!1}),this.interval=setInterval((function(){e.setState({hidden:!0}),e.timer=setTimeout((function(){e.setState({hidden:!1})}),i)}),o+i)},a.componentDidMount=function(){this.createTimer()},a.componentDidUpdate=function(e){e.interval===this.props.interval&&e.time===this.props.time||this.createTimer()},a.componentWillUnmount=function(){clearInterval(this.interval),clearTimeout(this.timer)},a.render=function(e){return(0,o.createVNode)(1,"span",null,e.children,0,{style:{visibility:this.state.hidden?"hidden":"visible"}})},i}(o.Component);t.Blink=i},7149:function(e,t,n){"use strict";t.__esModule=!0,t.BlockQuote=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className"];t.BlockQuote=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},54425:function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(1060),r=n(96323),i=n(10648),a=n(84200),c=["as","className","children"];var u=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=u;var l=function(e){return"string"==typeof e?u(e):"number"==typeof e?u(.5*e):void 0};t.halfUnit=l;var s=function(e){if("string"==typeof e)return a.CSS_COLORS.includes(e)},d=function(e){return function(t,n){"number"!=typeof n&&"string"!=typeof n||(t[e]=n)}},f=function(e,t){return function(n,o){"number"!=typeof o&&"string"!=typeof o||(n[e]=t(o))}},p=function(e,t){return function(n,o){o&&(n[e]=t)}},m=function(e,t,n){return function(o,r){if("number"==typeof r||"string"==typeof r)for(var i=0;i<n.length;i++)o[e+"-"+n[i]]=t(r)}},h=function(e){return function(t,n){s(n)||(t[e]=n)}},v={position:d("position"),overflow:d("overflow"),overflowX:d("overflow-x"),overflowY:d("overflow-y"),top:f("top",u),bottom:f("bottom",u),left:f("left",u),right:f("right",u),width:f("width",u),minWidth:f("min-width",u),maxWidth:f("max-width",u),height:f("height",u),minHeight:f("min-height",u),maxHeight:f("max-height",u),fontSize:f("font-size",u),fontFamily:d("font-family"),lineHeight:function(e,t){"number"==typeof t?e["line-height"]=t:"string"==typeof t&&(e["line-height"]=u(t))},opacity:d("opacity"),textAlign:d("text-align"),verticalAlign:d("vertical-align"),inline:p("display","inline-block"),bold:p("font-weight","bold"),italic:p("font-style","italic"),nowrap:p("white-space","nowrap"),preserveWhitespace:p("white-space","pre-wrap"),m:m("margin",l,["top","bottom","left","right"]),mx:m("margin",l,["left","right"]),my:m("margin",l,["top","bottom"]),mt:f("margin-top",l),mb:f("margin-bottom",l),ml:f("margin-left",l),mr:f("margin-right",l),p:m("padding",l,["top","bottom","left","right"]),px:m("padding",l,["left","right"]),py:m("padding",l,["top","bottom"]),pt:f("padding-top",l),pb:f("padding-bottom",l),pl:f("padding-left",l),pr:f("padding-right",l),color:h("color"),textColor:h("color"),backgroundColor:h("background-color"),fillPositionedParent:function(e,t){t&&(e.position="absolute",e.top=0,e.bottom=0,e.left=0,e.right=0)}},g=function(e){for(var t={},n={},o=0,r=Object.keys(e);o<r.length;o++){var i=r[o];if("style"!==i)if(Byond.IS_LTE_IE8&&"onClick"===i)t.onclick=e[i];else{var a=e[i],c=v[i];c?c(n,a):t[i]=a}}for(var u="",l=0,s=Object.keys(n);l<s.length;l++){var d=s[l];u+=d+":"+n[d]+";"}if(e.style)for(var f=0,p=Object.keys(e.style);f<p.length;f++){var m=p[f];u+=m+":"+e.style[m]+";"}return u.length>0&&(t.style=u),t};t.computeBoxProps=g;var b=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([s(t)&&"color-"+t,s(n)&&"color-bg-"+n])};t.computeBoxClassName=b;var C=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c);if("function"==typeof a)return a(g(e));var l="string"==typeof o?o+" "+b(u):b(u),s=g(u);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,s)};t.Box=C,C.defaultHooks=o.pureComponentHooks},25808:function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(96323),r=n(57890),i=n(1060),a=n(79926),c=n(54425),u=n(65743),l=n(59463),s=["className","fluid","icon","iconRotation","iconSpin","iconColor","iconPosition","color","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","children","onclick","onClick"],d=["checked"],f=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],p=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"];function m(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var g=(0,a.createLogger)("Button"),b=function(e){var t=e.className,n=e.fluid,a=e.icon,d=e.iconRotation,f=e.iconSpin,p=e.iconColor,m=e.iconPosition,h=e.color,b=e.disabled,C=e.selected,y=e.tooltip,N=e.tooltipPosition,V=e.ellipsis,_=e.compact,x=e.circular,w=e.content,S=e.children,k=e.onclick,E=e.onClick,B=v(e,s),I=!(!w&&!S);k&&g.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling");var L=(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Box,Object.assign({className:(0,i.classes)(["Button",n&&"Button--fluid",b&&"Button--disabled",C&&"Button--selected",I&&"Button--hasContent",V&&"Button--ellipsis",x&&"Button--circular",_&&"Button--compact",m&&"Button--iconPosition--"+m,h&&"string"==typeof h?"Button--color--"+h:"Button--color--default",t]),tabIndex:!b&&"0",unselectable:Byond.IS_LTE_IE8,onClick:function(e){!b&&E&&E(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;if(t===r.KEY_SPACE||t===r.KEY_ENTER)return e.preventDefault(),void(!b&&E&&E(e));t!==r.KEY_ESCAPE||e.preventDefault()}},B,{children:[a&&"right"!==m&&(0,o.createComponentVNode)(2,u.Icon,{name:a,color:p,rotation:d,spin:f}),w,S,a&&"right"===m&&(0,o.createComponentVNode)(2,u.Icon,{name:a,color:p,rotation:d,spin:f})]})));return y&&(L=(0,o.createComponentVNode)(2,l.Tooltip,{content:y,position:N,children:L})),L};t.Button=b,b.defaultHooks=i.pureComponentHooks;var C=function(e){var t=e.checked,n=v(e,d);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,b,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=C,b.Checkbox=C;var y=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}m(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,u=t.icon,l=t.color,s=t.content,d=t.onClick,p=v(t,f);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,b,Object.assign({content:this.state.clickedOnce?r:s,icon:this.state.clickedOnce?c:u,color:this.state.clickedOnce?a:l,onClick:function(){return e.state.clickedOnce?d():e.setClickedOnce(!0)}},p)))},t}(o.Component);t.ButtonConfirm=y,b.Confirm=y;var N=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}m(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,s=t.icon,d=t.iconRotation,f=t.iconSpin,m=t.tooltip,h=t.tooltipPosition,g=t.color,b=void 0===g?"default":g,C=(t.placeholder,t.maxLength,v(t,p)),y=(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Box,Object.assign({className:(0,i.classes)(["Button",n&&"Button--fluid","Button--color--"+b])},C,{onClick:function(){return e.setInInput(!0)},children:[s&&(0,o.createComponentVNode)(2,u.Icon,{name:s,rotation:d,spin:f}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===r.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===r.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef)]})));return m&&(y=(0,o.createComponentVNode)(2,l.Tooltip,{content:m,position:h,children:y})),y},t}(o.Component);t.ButtonInput=N,b.Input=N},44051:function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(96323),r=n(1060),i=n(53538),a=n(79926),c=n(54425),u=["params"],l=["params"],s=["params"];function d(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=(0,a.createLogger)("ByondUi"),m=[];window.addEventListener("beforeunload",(function(){for(var e=0;e<m.length;e++){var t=m[e];"string"==typeof t&&(p.log("unmounting '"+t+"' (beforeunload)"),m[e]=null,Byond.winset(t,{parent:""}))}}));var h=function(e){var t,n;function a(t){var n,r;return(r=e.call(this,t)||this).containerRef=(0,o.createRef)(),r.byondUiElement=function(e){var t=m.length;m.push(null);var n=e||"byondui_"+t;return p.log("allocated '"+n+"'"),{render:function(e){p.log("rendering '"+n+"'"),m[t]=n,Byond.winset(n,e)},unmount:function(){p.log("unmounting '"+n+"'"),m[t]=null,Byond.winset(n,{parent:""})}}}(null==(n=t.params)?void 0:n.id),r.handleResize=(0,i.debounce)((function(){r.forceUpdate()}),100),r}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,f(t,n);var h=a.prototype;return h.shouldComponentUpdate=function(e){var t=this.props,n=t.params,o=void 0===n?{}:n,i=d(t,u),a=e.params,c=void 0===a?{}:a,s=d(e,l);return(0,r.shallowDiffers)(o,c)||(0,r.shallowDiffers)(i,s)},h.componentDidMount=function(){Byond.IS_LTE_IE10||(window.addEventListener("resize",this.handleResize),this.componentDidUpdate(),this.handleResize())},h.componentDidUpdate=function(){if(!Byond.IS_LTE_IE10){var e,t,n=this.props.params,o=void 0===n?{}:n,r=(e=this.containerRef.current,{pos:[(t=e.getBoundingClientRect()).left,t.top],size:[t.right-t.left,t.bottom-t.top]});p.debug("bounding box",r),this.byondUiElement.render(Object.assign({parent:window.__windowId__},o,{pos:r.pos[0]+","+r.pos[1],size:r.size[0]+"x"+r.size[1]}))}},h.componentWillUnmount=function(){Byond.IS_LTE_IE10||(window.removeEventListener("resize",this.handleResize),this.byondUiElement.unmount())},h.render=function(){var e=this.props,t=(e.params,d(e,s)),n=(0,c.computeBoxProps)(t);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,(0,o.createVNode)(1,"div",null,null,1,{style:{"min-height":"22px"}}),0,Object.assign({},n),null,this.containerRef))},a}(o.Component);t.ByondUi=h},64726:function(e,t,n){"use strict";t.__esModule=!0,t.Chart=void 0;var o=n(96323),r=n(1397),i=n(1060),a=n(54425),c=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).ref=(0,o.createRef)(),n.state={viewBox:[600,200]},n.handleResize=function(){var e=n.ref.current;n.setState({viewBox:[e.offsetWidth,e.offsetHeight]})},n}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var l=i.prototype;return l.componentDidMount=function(){window.addEventListener("resize",this.handleResize),this.handleResize()},l.componentWillUnmount=function(){window.removeEventListener("resize",this.handleResize)},l.render=function(){var e=this,t=this.props,n=t.data,i=void 0===n?[]:n,u=t.rangeX,l=t.rangeY,s=t.fillColor,d=void 0===s?"none":s,f=t.strokeColor,p=void 0===f?"#ffffff":f,m=t.strokeWidth,h=void 0===m?2:m,v=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,c),g=this.state.viewBox,b=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,g,u,l);if(b.length>0){var C=b[0],y=b[b.length-1];b.push([g[0]+h,y[1]]),b.push([g[0]+h,-h]),b.push([-h,-h]),b.push([-h,C[1]])}var N=function(e){for(var t="",n=0;n<e.length;n++){var o=e[n];t+=o[0]+","+o[1]+" "}return t}(b);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Box,Object.assign({position:"relative"},v,{children:function(t){return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,(0,o.createVNode)(32,"svg",null,(0,o.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+g[1]+")",fill:d,stroke:p,"stroke-width":h,points:N}),2,{viewBox:"0 0 "+g[0]+" "+g[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},t),null,e.ref))}})))},i}(o.Component);l.defaultHooks=i.pureComponentHooks;var s={Line:Byond.IS_LTE_IE8?function(e){return null}:l};t.Chart=s},49751:function(e,t,n){"use strict";t.__esModule=!0,t.Collapsible=void 0;var o=n(96323),r=n(54425),i=n(25808),a=["children","color","title","buttons"];function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e){var t,n;function u(t){var n;n=e.call(this,t)||this;var o=t.open;return n.state={open:o||!1},n}return n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),u.prototype.render=function(){var e=this,t=this.props,n=this.state.open,c=t.children,u=t.color,l=void 0===u?"default":u,s=t.title,d=t.buttons,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,a);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},f,{children:s}))),2),d&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",d,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:c})]})},u}(o.Component);t.Collapsible=u},47233:function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["content","children","className","color","backgroundColor"];var c=function(e){var t=e.content,n=(e.children,e.className),c=e.color,u=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return l.color=t?null:"transparent",l.backgroundColor=c||u,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=c,c.defaultHooks=r.pureComponentHooks},93913:function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","children"];t.Dimmer=function(e){var t=e.className,n=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},c,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},22755:function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(96323),r=n(1060);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},42833:function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251);function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:u(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),n.props.updateRate||400),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize,l=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),s=u(e,l)-n.origin;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+s*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=u(e,l)}else Math.abs(s)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,u=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var l=n.inputRef.current;l.value=u;try{l.focus(),l.select()}catch(s){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,u=t.suppressingFlicker,l=this.props,s=l.animated,d=l.value,f=l.unit,p=l.minValue,m=l.maxValue,h=l.unclamped,v=l.format,g=l.onChange,b=l.onDrag,C=l.children,y=l.height,N=l.lineHeight,V=l.fontSize,_=d;(n||u)&&(_=c);var x=function(e){return e+(f?" "+f:"")},w=s&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:_,format:v,children:x})||x(v?v(_):_),S=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:y,"line-height":N,"font-size":V},onBlur:function(t){var n;i&&(n=h?parseFloat(t.target.value):(0,r.clamp)(parseFloat(t.target.value),p,m),Number.isNaN(n)?e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),g&&g(t,n),b&&b(t,n)))},onKeyDown:function(t){var n;if(13===t.keyCode)return n=h?parseFloat(t.target.value):(0,r.clamp)(parseFloat(t.target.value),p,m),Number.isNaN(n)?void e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),g&&g(t,n),void(b&&b(t,n)));27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return C({dragging:n,editing:i,value:d,displayValue:_,displayElement:w,inputElement:S,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},12489:function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(65743),c=["icon","iconRotation","iconSpin","color","over","noscroll","nochevron","width","onClick","selected","disabled","displayText"],u=["className"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function d(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var f=d.prototype;return f.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},f.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},f.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},f.buildMenu=function(){var e=this,t=this.props.options,n=(void 0===t?[]:t).map((function(t){return(0,o.createComponentVNode)(2,i.Box,{className:"Dropdown__menuentry",onClick:function(){e.setSelected(t)},children:t},t)}));return n.length?n:"No Options Found"},f.render=function(){var e=this,t=this.props,n=t.icon,s=t.iconRotation,d=t.iconSpin,f=t.color,p=void 0===f?"default":f,m=t.over,h=t.noscroll,v=t.nochevron,g=t.width,b=(t.onClick,t.selected,t.disabled),C=t.displayText,y=l(t,c),N=y.className,V=l(y,u),_=m?!this.state.open:this.state.open,x=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([h?"Dropdown__menu-noscroll":"Dropdown__menu",m&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:g}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:g,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+p,b&&"Button--disabled",N])},V,{onClick:function(){b&&!e.state.open||e.setOpen(!e.state.open)},children:[n&&(0,o.createComponentVNode)(2,a.Icon,{name:n,rotation:s,spin:d,mr:1}),(0,o.createVNode)(1,"span","Dropdown__selected-text",C||this.state.selected,0),!!v||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:_?"chevron-up":"chevron-down"}),2)]}))),x],0)},d}(o.Component);t.Dropdown=d},67486:function(e,t,n){"use strict";t.__esModule=!0,t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","direction","wrap","align","justify","inline"],c=["className","style","grow","order","shrink","basis","align"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.justify,l=e.inline,s=u(e,a);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),l&&"Flex--inline",t]),style:Object.assign({},s.style,{"flex-direction":n,"flex-wrap":!0===o?"wrap":o,"align-items":i,"justify-content":c})},s)};t.computeFlexProps=l;var s=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},l(e))))};t.Flex=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.style,o=e.grow,a=e.order,l=e.shrink,s=e.basis,d=void 0===s?e.width:s,f=e.align,p=u(e,c);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",Byond.IS_LTE_IE10&&o>0&&"Flex__item--iefix--grow",t]),style:Object.assign({},n,{"flex-grow":o!==undefined&&Number(o),"flex-shrink":l!==undefined&&Number(l),"flex-basis":(0,i.unit)(d),order:a,"align-self":f})},p)};t.computeFlexItemProps=d;var f=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};f.defaultHooks=r.pureComponentHooks,s.Item=f},28408:function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(96323),r=n(28581),i=n(1060),a=["children"],c=["size","style"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=function(e){var t=e.children,n=u(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=l,l.defaultHooks=i.pureComponentHooks;var s=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,a=u(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},a)))};t.GridColumn=s,l.defaultHooks=i.pureComponentHooks,l.Column=s},65743:function(e,t,n){"use strict";t.__esModule=!0,t.IconStack=t.Icon=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["name","size","spin","className","style","rotation","inverse"],c=["className","style","children"];function u(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var l=/-o$/,s=function(e){var t=e.name,n=e.size,c=e.spin,s=e.className,d=e.style,f=void 0===d?{}:d,p=e.rotation,m=(e.inverse,u(e,a));n&&(f["font-size"]=100*n+"%"),"number"==typeof p&&(f.transform="rotate("+p+"deg)");var h="";t.startsWith("tg-")?h=t:h=(l.test(t)?"far ":"fas ")+"fa-"+t.replace(l,"")+(c?" fa-spin":"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)(["Icon",s,h]),style:f},m)))};t.Icon=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.style,a=void 0===n?{}:n,l=e.children,s=u(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"span","class":(0,r.classes)(["IconStack",t]),style:a},s,{children:l})))};t.IconStack=d,s.Stack=d},63268:function(e,t,n){"use strict";t.__esModule=!0,t.InfinitePlane=void 0;var o=n(96323),r=n(54425),i=n(4033),a=n(12194),c=n(25808),u=["children","backgroundImage","imageWidth","initialLeft","initialTop"];function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){var t,n;function d(){var t;return(t=e.call(this)||this).state={mouseDown:!1,left:0,top:0,lastLeft:0,lastTop:0,zoom:1},t.handleMouseDown=t.handleMouseDown.bind(l(t)),t.handleMouseMove=t.handleMouseMove.bind(l(t)),t.handleZoomIncrease=t.handleZoomIncrease.bind(l(t)),t.handleZoomDecrease=t.handleZoomDecrease.bind(l(t)),t.onMouseUp=t.onMouseUp.bind(l(t)),t.doOffsetMouse=t.doOffsetMouse.bind(l(t)),t}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var f=d.prototype;return f.componentDidMount=function(){window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousedown",this.doOffsetMouse),window.addEventListener("mousemove",this.doOffsetMouse),window.addEventListener("mouseup",this.doOffsetMouse)},f.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousedown",this.doOffsetMouse),window.removeEventListener("mousemove",this.doOffsetMouse),window.removeEventListener("mouseup",this.doOffsetMouse)},f.doOffsetMouse=function(e){var t=this.state.zoom;e.screenZoomX=e.screenX*Math.pow(t,-1),e.screenZoomY=e.screenY*Math.pow(t,-1)},f.handleMouseDown=function(e){this.setState((function(t){return{mouseDown:!0,lastLeft:e.clientX-t.left,lastTop:e.clientY-t.top}}))},f.onMouseUp=function(){this.setState({mouseDown:!1})},f.handleZoomIncrease=function(e){var t=this.props.onZoomChange,n=this.state.zoom,o=Math.min(n+.1,1.5);this.setState({zoom:o}),t&&t(o)},f.handleZoomDecrease=function(e){var t=this.props.onZoomChange,n=this.state.zoom,o=Math.max(n-.1,.5);this.setState({zoom:o}),t&&t(o)},f.handleMouseMove=function(e){var t,n,o=this.props,r=o.onBackgroundMoved,i=o.initialLeft,a=void 0===i?0:i,c=o.initialTop,u=void 0===c?0:c;this.state.mouseDown&&(this.setState((function(o){return t=e.clientX-o.lastLeft,n=e.clientY-o.lastTop,{left:t,top:n}})),r&&r(t+a,n+u))},f.render=function(){var e=this.props,t=e.children,n=e.backgroundImage,l=e.imageWidth,s=e.initialLeft,d=void 0===s?0:s,f=e.initialTop,p=void 0===f?0:f,m=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,u),h=this.state,v=h.left,g=h.top,b=h.zoom,C=d+v,y=p+g;return(0,o.normalizeProps)((0,o.createVNode)(1,"div",null,[(0,o.createVNode)(1,"div",null,null,1,{onMouseDown:this.handleMouseDown,onMouseMove:this.handleMouseMove,style:{position:"fixed",height:"100%",width:"100%","background-image":'url("'+n+'")',"background-position":C+"px "+y+"px","background-repeat":"repeat","background-size":b*l+"px"}}),(0,o.createVNode)(1,"div",null,t,0,{onMouseDown:this.handleMouseDown,onMouseMove:this.handleMouseMove,style:{position:"fixed",transform:"translate("+C+"px, "+y+"px) scale("+b+")","transform-origin":"top left",height:"100%",width:"100%"}}),(0,o.createComponentVNode)(2,i.Stack,{position:"absolute",width:"100%",children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"minus",onClick:this.handleZoomDecrease})}),(0,o.createComponentVNode)(2,i.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:.5,value:b,maxValue:1.5,children:[b,"x"]})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,c.Button,{icon:"plus",onClick:this.handleZoomIncrease})})]})],4,Object.assign({},(0,r.computeBoxProps)(Object.assign({},m,{style:Object.assign({},m.style,{overflow:"hidden",position:"relative"})}))),null,this.ref))},d}(o.Component);t.InfinitePlane=d},77863:function(e,t,n){"use strict";t.__esModule=!0,t.Input=t.toInputValue=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(57890),c=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder"],u=["className","fluid","monospace"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var d=function(e){return"number"!=typeof e&&"string"!=typeof e?"":String(e)};t.toInputValue=d;var f=function(e){var t,n;function f(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return e.keyCode===a.KEY_ENTER?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):e.keyCode===a.KEY_ESCAPE?(t.setEditing(!1),e.target.value=d(t.props.value),void e.target.blur()):void 0},t}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,s(t,n);var p=f.prototype;return p.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=d(e)),this.props.autoFocus&&setTimeout((function(){return t.focus()}),1)},p.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=d(r))},p.setEditing=function(e){this.setState({editing:e})},p.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,a=l(e,c),s=a.className,d=a.fluid,f=a.monospace,p=l(a,u);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",f&&"Input--monospace",s])},p,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},f}(o.Component);t.Input=f},14274:function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=n(42833),u=n(97667),l=["animated","format","maxValue","minValue","unclamped","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children"];t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,s=e.maxValue,d=e.minValue,f=e.unclamped,p=e.onChange,m=e.onDrag,h=e.step,v=e.stepPixelSize,g=e.suppressFlicker,b=e.unit,C=e.value,y=e.className,N=e.style,V=e.fillValue,_=e.color,x=e.ranges,w=void 0===x?{}:x,S=e.size,k=void 0===S?1:S,E=e.bipolar,B=(e.children,function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,l));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,format:n,maxValue:s,minValue:d,unclamped:f,onChange:p,onDrag:m,step:h,stepPixelSize:v,suppressFlicker:g,unit:b,value:C},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,u=e.displayElement,l=e.inputElement,f=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,d,s),m=(0,r.scale)(c,d,s),h=_||(0,r.keyOfMatchingRange)(null!=V?V:n,w)||"default",v=Math.min(270*(m-.5),225);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,E&&"Knob--bipolar",y,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+v+"deg)"}}),2),t&&(0,o.createVNode)(1,"div","Knob__popupValue",u,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":Math.max(((E?2.75:2)-1.5*p)*Math.PI*50,0)},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),l],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"em"},N)},B)),{onMouseDown:f})))}})))}},95592:function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(96323),r=n(67486),i=["children","wrap"],a=["label","children","mx"];function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var u=function(e){var t=e.children,n=e.wrap,a=c(e,i);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,wrap:n,align:"stretch",justify:"space-between"},a,{children:t})))};t.LabeledControls=u;u.Item=function(e){var t=e.label,n=e.children,i=e.mx,u=void 0===i?1:i,l=c(e,a);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:u,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},l,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},21173:function(e,t,n){"use strict";t.__esModule=!0,t.LabeledList=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(22755),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var u=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,u=e.color,l=e.textAlign,s=e.buttons,d=e.content,f=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:u,textAlign:l,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[d,f]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};u.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};l.defaultHooks=r.pureComponentHooks,c.Item=u,c.Divider=l},89416:function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(93913),c=["className","children"];t.Modal=function(e){var t=e.className,n=e.children,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c);return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",t,(0,i.computeBoxClassName)(u)]),n,0,Object.assign({},(0,i.computeBoxProps)(u))))})}},23257:function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","color","info","warning","success","danger"];var c=function(e){var t=e.className,n=e.color,c=e.info,u=(e.warning,e.success),l=e.danger,s=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,c&&"NoticeBox--type--info",u&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},s)))};t.NoticeBox=c,c.defaultHooks=r.pureComponentHooks},97667:function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251),c=n(54425);function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),n.props.updateRate||400),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),u=n.origin-e.screenY;if(t.dragging){var l=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+l,o,i),n.origin=e.screenY}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,u=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var l=n.inputRef.current;l.value=u;try{l.focus(),l.select()}catch(s){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n),l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,u=t.editing,l=t.value,s=t.suppressingFlicker,d=this.props,f=d.className,p=d.fluid,m=d.animated,h=d.value,v=d.unit,g=d.minValue,b=d.maxValue,C=d.height,y=d.width,N=d.lineHeight,V=d.fontSize,_=d.format,x=d.onChange,w=d.onDrag,S=h;(n||s)&&(S=l);var k=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(v?" "+v:""),0,{unselectable:Byond.IS_LTE_IE8})},E=m&&!n&&!s&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:S,format:_,children:k})||k(_?_(S):S);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",p&&"NumberInput--fluid",f]),minWidth:y,minHeight:C,lineHeight:N,fontSize:V,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((S-g)/(b-g)*100,0,100)+"%"}}),2),E,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:u?undefined:"none",height:C,"line-height":N,"font-size":V},onBlur:function(t){if(u){var n=(0,r.clamp)(parseFloat(t.target.value),g,b);Number.isNaN(n)?e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),w&&w(t,n))}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(parseFloat(t.target.value),g,b);return Number.isNaN(n)?void e.setState({editing:!1}):(e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),void(w&&w(t,n)))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},16513:function(e,t,n){"use strict";t.__esModule=!0,t.Popper=void 0;var o=n(34739),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function a(){var t;return(t=e.call(this)||this).renderedContent=void 0,t.popperInstance=void 0,a.id+=1,t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=a.prototype;return c.componentDidMount=function(){var e=this,t=this.props,n=t.additionalStyles,i=t.options;if(this.renderedContent=document.createElement("div"),n)for(var a=0,c=Object.entries(n);a<c.length;a++){var u=c[a],l=u[0],s=u[1];this.renderedContent.style[l]=s}this.renderPopperContent((function(){document.body.appendChild(e.renderedContent),e.popperInstance=(0,o.createPopper)((0,r.findDOMfromVNode)(e.$LI,!0),e.renderedContent,i)}))},c.componentDidUpdate=function(){var e=this;this.renderPopperContent((function(){var t;return null==(t=e.popperInstance)?void 0:t.update()}))},c.componentWillUnmount=function(){var e;null==(e=this.popperInstance)||e.destroy(),this.renderedContent.remove(),this.renderedContent=null},c.renderPopperContent=function(e){(0,r.render)(this.props.popperContent,this.renderedContent,e)},c.render=function(){return this.props.children},a}(r.Component);t.Popper=a,a.id=0},12194:function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=["className","value","minValue","maxValue","color","ranges","children"];var u=function(e){var t=e.className,n=e.value,u=e.minValue,l=void 0===u?0:u,s=e.maxValue,d=void 0===s?1:s,f=e.color,p=e.ranges,m=void 0===p?{}:p,h=e.children,v=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c),g=(0,r.scale)(n,l,d),b=h!==undefined,C=f||(0,r.keyOfMatchingRange)(n,m)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+C,t,(0,a.computeBoxClassName)(v)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(g)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",b?h:(0,r.toFixed)(100*g)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(v))))};t.ProgressBar=u,u.defaultHooks=i.pureComponentHooks},94709:function(e,t,n){"use strict";t.__esModule=!0,t.RoundGauge=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(13251),c=n(54425),u=["value","minValue","maxValue","ranges","alertAfter","format","size","className","style"];t.RoundGauge=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.AnimatedNumber,Object.assign({},e)));var t=e.value,n=e.minValue,l=void 0===n?1:n,s=e.maxValue,d=void 0===s?1:s,f=e.ranges,p=e.alertAfter,m=e.format,h=e.size,v=void 0===h?1:h,g=e.className,b=e.style,C=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,u),y=(0,r.scale)(t,l,d),N=(0,r.clamp01)(y),V=f?{}:{primary:[0,1]};f&&Object.keys(f).forEach((function(e){var t=f[e];V[e]=[(0,r.scale)(t[0],l,d),(0,r.scale)(t[1],l,d)]}));var _=null;return p<t&&(_=(0,r.keyOfMatchingRange)(N,V)),(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:[(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["RoundGauge",g,(0,c.computeBoxClassName)(C)]),(0,o.createVNode)(32,"svg",null,[p&&(0,o.createVNode)(32,"g",(0,i.classes)(["RoundGauge__alert",_?"active RoundGauge__alert--"+_:""]),(0,o.createVNode)(32,"path",null,null,1,{d:"M48.211,14.578C48.55,13.9 49.242,13.472 50,13.472C50.758,13.472 51.45,13.9 51.789,14.578C54.793,20.587 60.795,32.589 63.553,38.106C63.863,38.726 63.83,39.462 63.465,40.051C63.101,40.641 62.457,41 61.764,41C55.996,41 44.004,41 38.236,41C37.543,41 36.899,40.641 36.535,40.051C36.17,39.462 36.137,38.726 36.447,38.106C39.205,32.589 45.207,20.587 48.211,14.578ZM50,34.417C51.426,34.417 52.583,35.574 52.583,37C52.583,38.426 51.426,39.583 50,39.583C48.574,39.583 47.417,38.426 47.417,37C47.417,35.574 48.574,34.417 50,34.417ZM50,32.75C50,32.75 53,31.805 53,22.25C53,20.594 51.656,19.25 50,19.25C48.344,19.25 47,20.594 47,22.25C47,31.805 50,32.75 50,32.75Z"}),2),(0,o.createVNode)(32,"g",null,(0,o.createVNode)(32,"circle","RoundGauge__ringTrack",null,1,{cx:"50",cy:"50",r:"45"}),2),(0,o.createVNode)(32,"g",null,Object.keys(V).map((function(e,t){var n=V[e];return(0,o.createVNode)(32,"circle","RoundGauge__ringFill RoundGauge--color--"+e,null,1,{style:{"stroke-dashoffset":Math.max((2-(n[1]-n[0]))*Math.PI*50,0)},transform:"rotate("+(180+180*n[0])+" 50 50)",cx:"50",cy:"50",r:"45"},t)})),0),(0,o.createVNode)(32,"g","RoundGauge__needle",[(0,o.createVNode)(32,"polygon","RoundGauge__needleLine",null,1,{points:"46,50 50,0 54,50"}),(0,o.createVNode)(32,"circle","RoundGauge__needleMiddle",null,1,{cx:"50",cy:"50",r:"8"})],4,{transform:"rotate("+(180*N-90)+" 50 50)"})],0,{viewBox:"0 0 100 50"}),2,Object.assign({},(0,c.computeBoxProps)(Object.assign({style:Object.assign({"font-size":v+"em"},b)},C))))),(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:t,format:m,size:v})]})}},77381:function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(96323),r=n(1060),i=n(99397),a=n(54425),c=["className","title","buttons","fill","fitted","scrollable","children"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).scrollableRef=void 0,n.scrollable=void 0,n.scrollableRef=(0,o.createRef)(),n.scrollable=t.scrollable,n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var s=l.prototype;return s.componentDidMount=function(){this.scrollable&&(0,i.addScrollableNode)(this.scrollableRef.current)},s.componentWillUnmount=function(){this.scrollable&&(0,i.removeScrollableNode)(this.scrollableRef.current)},s.render=function(){var e=this.props,t=e.className,n=e.title,i=e.buttons,u=e.fill,l=e.fitted,s=e.scrollable,d=e.children,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,c),p=(0,r.canRender)(n)||(0,r.canRender)(i);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section",Byond.IS_LTE_IE8&&"Section--iefix",u&&"Section--fill",l&&"Section--fitted",s&&"Section--scrollable",t,(0,a.computeBoxClassName)(f)]),[p&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",i,0)],4),(0,o.createVNode)(1,"div","Section__rest",(0,o.createVNode)(1,"div","Section__content",d,0,null,null,this.scrollableRef),2)],0,Object.assign({},(0,a.computeBoxProps)(f))))},l}(o.Component);t.Section=l},97968:function(e,t,n){"use strict";t.__esModule=!0,t.SegmentDisplay=void 0;var o=n(96323),r=n(54425),i=["display_text","display_cells_amount","display_height"];t.SegmentDisplay=function(e){for(var t=e.display_text,n=e.display_cells_amount,a=e.display_height,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,i),u=a,l=n,s=l*(.641*a),d=[],f=0;f<l;f++)d.push("#");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Box,Object.assign({width:s+"px",height:a+"px",overflow:"hidden",position:"relative"},c,{children:[(0,o.createComponentVNode)(2,r.Box,{width:s+"px",height:u+"px",position:"absolute",top:"0px",textColor:"#261f16",fontSize:a+"px",textAlign:"right",fontFamily:"Gys14Segment",bold:0,children:[" ",d," "]}),(0,o.createComponentVNode)(2,r.Box,{width:s+"px",height:u+"px",position:"absolute",top:"0px",textColor:"#D0330f",fontSize:a+"px",textAlign:"right",fontFamily:"Gys14Segment",bold:0,children:[" ",t," "]})]})))}},4482:function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(96323),r=n(97622),i=n(1060),a=n(54425),c=n(42833),u=n(97667),l=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"];t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,s=e.maxValue,d=e.minValue,f=e.onChange,p=e.onDrag,m=e.step,h=e.stepPixelSize,v=e.suppressFlicker,g=e.unit,b=e.value,C=e.className,y=e.fillValue,N=e.color,V=e.ranges,_=void 0===V?{}:V,x=e.children,w=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,l),S=x!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:s,minValue:d,onChange:f,onDrag:p,step:m,stepPixelSize:h,suppressFlicker:v,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,u=e.displayElement,l=e.inputElement,f=e.handleDragStart,p=y!==undefined&&null!==y,m=((0,r.scale)(n,d,s),(0,r.scale)(null!=y?y:c,d,s)),h=(0,r.scale)(c,d,s),v=N||(0,r.keyOfMatchingRange)(null!=y?y:n,_)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+v,C,(0,a.computeBoxClassName)(w)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(m)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(m,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",u,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",S?x:u,0),l],0,Object.assign({},(0,a.computeBoxProps)(w),{onMouseDown:f})))}})))}},4033:function(e,t,n){"use strict";t.__esModule=!0,t.Stack=void 0;var o=n(96323),r=n(1060),i=n(67486),a=["className","vertical","fill"],c=["className"],u=["className","hidden"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.vertical,c=e.fill,u=l(e,a);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex,Object.assign({className:(0,r.classes)(["Stack",c&&"Stack--fill",n?"Stack--vertical":"Stack--horizontal",t]),direction:n?"column":"row"},u)))};t.Stack=s;s.Item=function(e){var t=e.className,n=l(e,c);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex.Item,Object.assign({className:(0,r.classes)(["Stack__item",t])},n)))};s.Divider=function(e){var t=e.className,n=e.hidden,a=l(e,u);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Flex.Item,Object.assign({className:(0,r.classes)(["Stack__item","Stack__divider",n&&"Stack__divider--hidden",t])},a)))}},28581:function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(96323),r=n(1060),i=n(54425),a=["className","collapsing","children"],c=["className","header"],u=["className","collapsing","header"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.collapsing,c=e.children,u=l(e,a);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(u)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(u))))};t.Table=s,s.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.header,a=l(e,c);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(a))))};t.TableRow=d,d.defaultHooks=r.pureComponentHooks;var f=function(e){var t=e.className,n=e.collapsing,a=e.header,c=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",a&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableCell=f,f.defaultHooks=r.pureComponentHooks,s.Row=d,s.Cell=f},60839:function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(65743),c=["className","vertical","fill","fluid","children"],u=["className","selected","color","icon","leftSlot","rightSlot","children"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.vertical,a=e.fill,u=e.fluid,s=e.children,d=l(e,c);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",a&&"Tabs--fill",u&&"Tabs--fluid",t,(0,i.computeBoxClassName)(d)]),s,0,Object.assign({},(0,i.computeBoxProps)(d))))};t.Tabs=s;s.Tab=function(e){var t=e.className,n=e.selected,c=e.color,s=e.icon,d=e.leftSlot,f=e.rightSlot,p=e.children,m=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tab","Tabs__Tab","Tab--color--"+c,n&&"Tab--selected",t].concat((0,i.computeBoxClassName)(m))),[(0,r.canRender)(d)&&(0,o.createVNode)(1,"div","Tab__left",d,0)||!!s&&(0,o.createVNode)(1,"div","Tab__left",(0,o.createComponentVNode)(2,a.Icon,{name:s}),2),(0,o.createVNode)(1,"div","Tab__text",p,0),(0,r.canRender)(f)&&(0,o.createVNode)(1,"div","Tab__right",f,0)],0,Object.assign({},(0,i.computeBoxProps)(m))))}},51129:function(e,t,n){"use strict";t.__esModule=!0,t.TextArea=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(77863),c=n(57890),u=["onChange","onKeyDown","onKeyPress","onInput","onFocus","onBlur","onEnter","value","maxLength","placeholder"],l=["className","fluid"];function s(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var f=function(e){var t,n;function f(t,n){var r;(r=e.call(this,t,n)||this).textareaRef=(0,o.createRef)(),r.fillerRef=(0,o.createRef)(),r.state={editing:!1};var i=t.dontUseTabForIndent,u=void 0!==i&&i;return r.handleOnInput=function(e){var t=r.state.editing,n=r.props.onInput;t||r.setEditing(!0),n&&n(e,e.target.value)},r.handleOnChange=function(e){var t=r.state.editing,n=r.props.onChange;t&&r.setEditing(!1),n&&n(e,e.target.value)},r.handleKeyPress=function(e){var t=r.state.editing,n=r.props.onKeyPress;t||r.setEditing(!0),n&&n(e,e.target.value)},r.handleKeyDown=function(e){var t=r.state.editing,n=r.props.onKeyDown;if(e.keyCode===c.KEY_ESCAPE)return r.setEditing(!1),e.target.value=(0,a.toInputValue)(r.props.value),void e.target.blur();if((t||r.setEditing(!0),!u)&&9===(e.keyCode||e.which)){e.preventDefault();var o=e.target,i=o.value,l=o.selectionStart,s=o.selectionEnd;e.target.value=i.substring(0,l)+"\t"+i.substring(s),e.target.selectionEnd=l+1}n&&n(e,e.target.value)},r.handleFocus=function(e){r.state.editing||r.setEditing(!0)},r.handleBlur=function(e){var t=r.state.editing,n=r.props.onChange;t&&(r.setEditing(!1),n&&n(e,e.target.value))},r}n=e,(t=f).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var p=f.prototype;return p.componentDidMount=function(){var e=this.props.value,t=this.textareaRef.current;t&&(t.value=(0,a.toInputValue)(e))},p.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.textareaRef.current;i&&!n&&o!==r&&(i.value=(0,a.toInputValue)(r))},p.setEditing=function(e){this.setState({editing:e})},p.getValue=function(){return this.textareaRef.current&&this.textareaRef.current.value},p.render=function(){var e=this.props,t=(e.onChange,e.onKeyDown,e.onKeyPress,e.onInput,e.onFocus,e.onBlur,e.onEnter,e.value,e.maxLength),n=e.placeholder,a=s(e,u),c=a.className,d=a.fluid,f=s(a,l);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["TextArea",d&&"TextArea--fluid",c])},f,{children:(0,o.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:n,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:t},null,this.textareaRef)})))},f}(o.Component);t.TextArea=f},92464:function(e,t,n){"use strict";t.__esModule=!0,t.TimeDisplay=void 0;var o=n(1033),r=n(96323);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},c=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.last_seen_value=undefined,n.state={value:0},a(t.value)&&(n.state.value=Number(t.value),n.last_seen_value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=r.prototype;return c.componentDidUpdate=function(){var e=this;this.props.auto!==undefined&&(clearInterval(this.timer),this.timer=setInterval((function(){return e.tick()}),1e3))},c.tick=function(){var e=Number(this.state.value);this.props.value!==this.last_seen_value&&(this.last_seen_value=this.props.value,e=this.props.value);var t="up"===this.props.auto?10:-10,n=Math.max(0,e+t);this.setState({value:n})},c.componentDidMount=function(){var e=this;this.props.auto!==undefined&&(this.timer=setInterval((function(){return e.tick()}),1e3))},c.componentWillUnmount=function(){clearInterval(this.timer)},c.render=function(){var e=this.state.value;return a(e)?(0,o.formatTime)(e):this.state.value||null},r}(r.Component);t.TimeDisplay=c},59463:function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=void 0;var o=n(96323),r=n(16513);function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function a(){var t;return(t=e.call(this)||this).state={hovered:!1},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,i(t,n);var c=a.prototype;return c.componentDidMount=function(){var e=this,t=(0,o.findDOMfromVNode)(this.$LI,!0);t.addEventListener("mouseenter",(function(){e.setState({hovered:!0})})),t.addEventListener("mouseleave",(function(){e.setState({hovered:!1})}))},c.render=function(){return(0,o.createComponentVNode)(2,r.Popper,{options:{placement:this.props.position||"auto"},popperContent:(0,o.createVNode)(1,"div","Tooltip",this.props.content,0,{style:{opacity:this.state.hovered?1:0}}),additionalStyles:{"pointer-events":"none"},children:this.props.children})},a}(o.Component);t.Tooltip=a},26949:function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.TimeDisplay=t.TextArea=t.Tabs=t.Table=t.Stack=t.Slider=t.Section=t.RoundGauge=t.Popper=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.InfinitePlane=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.Blink=t.AnimatedNumber=void 0;var o=n(13251);t.AnimatedNumber=o.AnimatedNumber;var r=n(90297);t.Blink=r.Blink;var i=n(7149);t.BlockQuote=i.BlockQuote;var a=n(54425);t.Box=a.Box;var c=n(25808);t.Button=c.Button;var u=n(44051);t.ByondUi=u.ByondUi;var l=n(64726);t.Chart=l.Chart;var s=n(49751);t.Collapsible=s.Collapsible;var d=n(47233);t.ColorBox=d.ColorBox;var f=n(93913);t.Dimmer=f.Dimmer;var p=n(22755);t.Divider=p.Divider;var m=n(42833);t.DraggableControl=m.DraggableControl;var h=n(12489);t.Dropdown=h.Dropdown;var v=n(67486);t.Flex=v.Flex;var g=n(28408);t.Grid=g.Grid;var b=n(65743);t.Icon=b.Icon;var C=n(63268);t.InfinitePlane=C.InfinitePlane;var y=n(77863);t.Input=y.Input;var N=n(14274);t.Knob=N.Knob;var V=n(95592);t.LabeledControls=V.LabeledControls;var _=n(21173);t.LabeledList=_.LabeledList;var x=n(89416);t.Modal=x.Modal;var w=n(23257);t.NoticeBox=w.NoticeBox;var S=n(97667);t.NumberInput=S.NumberInput;var k=n(12194);t.ProgressBar=k.ProgressBar;var E=n(16513);t.Popper=E.Popper;var B=n(94709);t.RoundGauge=B.RoundGauge;var I=n(77381);t.Section=I.Section;var L=n(4482);t.Slider=L.Slider;var O=n(4033);t.Stack=O.Stack;var M=n(28581);t.Table=M.Table;var A=n(60839);t.Tabs=A.Tabs;var T=n(51129);t.TextArea=T.TextArea;var P=n(92464);t.TimeDisplay=P.TimeDisplay;var j=n(59463);t.Tooltip=j.Tooltip},84200:function(e,t){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"},reagent:{acidicbuffer:"#fbc314",basicbuffer:"#3853a4"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#8f4a4b"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"CentCom",freq:1337,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#fcdf03"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"AI Private",freq:1447,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"}];var n=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"}];t.getGasLabel=function(e,t){var o=String(e).toLowerCase(),r=n.find((function(e){return e.id===o||e.name.toLowerCase()===o}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),o=n.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return o&&o.color}},71224:function(e,t,n){"use strict";t.__esModule=!0,t.KitchenSink=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(69321);t.KitchenSink=function(e,t){var n=e.panel,u=(0,r.useLocalState)(t,"kitchenSinkTheme")[0],l=(0,r.useLocalState)(t,"pageIndex",0),s=l[0],d=l[1],f=c.keys().map((function(e){return c(e)})),p=f[s],m=n?a.Pane:a.Window;return(0,o.createComponentVNode)(2,m,{title:"Kitchen Sink",width:600,height:500,theme:u,children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{m:1,mr:0,children:(0,o.createComponentVNode)(2,i.Section,{fill:!0,fitted:!0,children:(0,o.createComponentVNode)(2,i.Tabs,{vertical:!0,children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{color:"transparent",selected:t===s,onClick:function(){return d(t)},children:e.meta.title},t)}))})})}),(0,o.createComponentVNode)(2,i.Flex.Item,{position:"relative",grow:1,children:(0,o.createComponentVNode)(2,m.Content,{scrollable:!0,children:p.meta.render()})})]})})}},98069:function(e,t,n){"use strict";t.__esModule=!0,t.openExternalBrowser=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(465),r=(0,o.createAction)("debug/toggleKitchenSink");t.toggleKitchenSink=r;var i=(0,o.createAction)("debug/toggleDebugLayout");t.toggleDebugLayout=i;var a=(0,o.createAction)("debug/openExternalBrowser");t.openExternalBrowser=a},35177:function(e,t,n){"use strict";t.__esModule=!0,t.useDebug=void 0;var o=n(465),r=n(12184);t.useDebug=function(e){return(0,o.useSelector)(e,r.selectDebug)}},27157:function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.relayMiddleware=t.debugMiddleware=t.KitchenSink=t.useDebug=void 0;var o=n(35177);t.useDebug=o.useDebug;var r=n(71224);t.KitchenSink=r.KitchenSink;var i=n(46656);t.debugMiddleware=i.debugMiddleware,t.relayMiddleware=i.relayMiddleware;var a=n(7124);t.debugReducer=a.debugReducer},46656:function(e,t,n){"use strict";t.__esModule=!0,t.relayMiddleware=t.debugMiddleware=void 0;var o=n(57890),r=n(99397),i=n(6965),a=n(98069),c=["backend/update","chat/message"];t.debugMiddleware=function(e){return(0,i.acquireHotKey)(o.KEY_F11),(0,i.acquireHotKey)(o.KEY_F12),r.globalEvents.on("keydown",(function(t){t.code===o.KEY_F11&&e.dispatch((0,a.toggleDebugLayout)()),t.code===o.KEY_F12&&e.dispatch((0,a.toggleKitchenSink)()),t.ctrl&&t.alt&&t.code===o.KEY_BACKSPACE&&setTimeout((function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")}))})),function(e){return function(t){return e(t)}}};t.relayMiddleware=function(e){var t=n(82252),u="?external"===location.search;return u?t.subscribe((function(t){var n=t.type,o=t.payload;"relay"===n&&o.windowId===window.__windowId__&&e.dispatch(Object.assign({},o.action,{relayed:!0}))})):((0,i.acquireHotKey)(o.KEY_F10),r.globalEvents.on("keydown",(function(t){t===o.KEY_F10&&e.dispatch((0,a.openExternalBrowser)())}))),function(e){return function(n){var o=n.type,r=(n.payload,n.relayed);if(o!==a.openExternalBrowser.type)return!c.includes(o)||r||u||t.sendMessage({type:"relay",payload:{windowId:window.__windowId__,action:n}}),e(n);window.open(location.href+"?external","_blank")}}}},7124:function(e,t){"use strict";t.__esModule=!0,t.debugReducer=void 0;t.debugReducer=function(e,t){void 0===e&&(e={});var n=t.type;t.payload;return"debug/toggleKitchenSink"===n?Object.assign({},e,{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===n?Object.assign({},e,{debugLayout:!e.debugLayout}):e}},12184:function(e,t){"use strict";t.__esModule=!0,t.selectDebug=void 0;t.selectDebug=function(e){return e.debug}},41410:function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(7151),r=n(67288);function i(e,t,n,o,r,i,a){try{var c=e[i](a),u=c.value}catch(l){return void n(l)}c.done?t(u):Promise.resolve(u).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,u,"next",e)}function u(e){i(a,o,r,c,u,"throw",e)}c(undefined)}))}}var c,u,l,s,d,f=(0,n(79926).createLogger)("drag"),p=window.__windowId__,m=!1,h=!1,v=[0,0];t.setWindowKey=function(e){p=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var C=function(e){var t=(0,r.vecAdd)(e,v);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=C;var y=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=y;var N=function(){return[0-v[0],0-v[1]]};t.getScreenPosition=N;var V=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=V;var _=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;i<e.length;i++){var a=e[i];a!==t&&(r.length<n?r.push(a):o=a)}return[r,o]},x=function(){var e=a(regeneratorRuntime.mark((function t(){var e,n,r,i;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return f.log("storing geometry"),e={pos:g(),size:b()},o.storage.set(p,e),t.t0=_,t.next=6,o.storage.get("geometries");case 6:if(t.t1=t.sent,t.t1){t.next=9;break}t.t1=[];case 9:t.t2=t.t1,t.t3=p,n=(0,t.t0)(t.t2,t.t3),r=n[0],(i=n[1])&&o.storage.remove(i),o.storage.set("geometries",r);case 16:case"end":return t.stop()}}),t)})));return function(){return e.apply(this,arguments)}}();t.storeWindowGeometry=x;var w=function(){var e=a(regeneratorRuntime.mark((function t(e){var n,i,a,u;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===e&&(e={}),t.t0=e.fancy,!t.t0){t.next=6;break}return t.next=5,o.storage.get(p);case 5:t.t0=t.sent;case 6:return(n=t.t0)&&f.log("recalled geometry:",n),i=(null==n?void 0:n.pos)||e.pos,a=e.size,t.next=12,c;case 12:u=[window.screen.availWidth,window.screen.availHeight],a&&(a=[Math.min(u[0],a[0]),Math.min(u[1],a[1])],y(a)),i?(a&&e.locked&&(i=k(i,a)[1]),C(i)):a&&(i=(0,r.vecAdd)((0,r.vecScale)(u,.5),(0,r.vecScale)(a,-.5),(0,r.vecScale)(v,-1)),C(i));case 15:case"end":return t.stop()}}),t)})));return function(t){return e.apply(this,arguments)}}();t.recallWindowGeometry=w;var S=function(){var e=a(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=Byond.winget(window.__windowId__,"pos").then((function(e){return[e.x-window.screenLeft,e.y-window.screenTop]})),e.next=3,c;case 3:v=e.sent,f.debug("screen offset",v);case 5:case"end":return e.stop()}}),t)})));return function(){return e.apply(this,arguments)}}();t.setupDrag=S;var k=function(e,t){for(var n=N(),o=V(),r=[e[0],e[1]],i=!1,a=0;a<2;a++){var c=n[a],u=n[a]+o[a];e[a]<c?(r[a]=c,i=!0):e[a]+t[a]>u&&(r[a]=u-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){var t;f.log("drag start"),m=!0,u=[window.screenLeft-e.screenX,window.screenTop-e.screenY],null==(t=e.target)||t.focus(),document.addEventListener("mousemove",B),document.addEventListener("mouseup",E),B(e)};var E=function O(e){f.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",O),m=!1,x()},B=function(e){m&&(e.preventDefault(),C((0,r.vecAdd)([e.screenX,e.screenY],u)))};t.resizeStartHandler=function(e,t){return function(n){var o;l=[e,t],f.log("resize start",l),h=!0,u=[window.screenLeft-n.screenX,window.screenTop-n.screenY],s=[window.innerWidth,window.innerHeight],null==(o=n.target)||o.focus(),document.addEventListener("mousemove",L),document.addEventListener("mouseup",I),L(n)}};var I=function M(e){f.log("resize end",d),L(e),document.removeEventListener("mousemove",L),document.removeEventListener("mouseup",M),h=!1,x()},L=function(e){h&&(e.preventDefault(),(d=(0,r.vecAdd)(s,(0,r.vecMultiply)(l,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),u,[1,1]))))[0]=Math.max(d[0],150),d[1]=Math.max(d[1],50),y(d))}},99397:function(e,t,n){"use strict";t.__esModule=!0,t.KeyEvent=t.removeScrollableNode=t.addScrollableNode=t.canStealFocus=t.setupGlobalEvents=t.globalEvents=void 0;var o=n(52844),r=n(57890),i=new o.EventEmitter;t.globalEvents=i;var a,c=!1;t.setupGlobalEvents=function(e){void 0===e&&(e={}),c=!!e.ignoreWindowFocus};var u=!0,l=function b(e,t){c?u=!0:(a&&(clearTimeout(a),a=null),t?a=setTimeout((function(){return b(e)})):u!==e&&(u=e,i.emit(e?"window-focus":"window-blur"),i.emit("window-focus-change",e)))},s=null,d=function(e){var t=String(e.tagName).toLowerCase();return"input"===t||"textarea"===t};t.canStealFocus=d;var f=function C(){s&&(s.removeEventListener("blur",C),s=null)},p=null,m=null,h=[];t.addScrollableNode=function(e){h.push(e)};t.removeScrollableNode=function(e){var t=h.indexOf(e);t>=0&&h.splice(t,1)};window.addEventListener("mousemove",(function(e){var t=e.target;t!==m&&(m=t,function(e){if(!s&&u)for(var t=document.body;e&&e!==t;){if(h.includes(e)){if(e.contains(p))return;return p=e,void e.focus()}e=e.parentNode}}(t))})),window.addEventListener("focusin",(function(e){if(m=null,p=e.target,l(!0),d(e.target))return t=e.target,f(),void(s=t).addEventListener("blur",f);var t})),window.addEventListener("focusout",(function(e){m=null,l(!1,!0)})),window.addEventListener("blur",(function(e){m=null,l(!1,!0)})),window.addEventListener("beforeunload",(function(e){l(!1)}));var v={},g=function(){function e(e,t,n){this.event=e,this.type=t,this.code=window.event?e.which:e.keyCode,this.ctrl=e.ctrlKey,this.shift=e.shiftKey,this.alt=e.altKey,this.repeat=!!n}var t=e.prototype;return t.hasModifierKeys=function(){return this.ctrl||this.alt||this.shift},t.isModifierKey=function(){return this.code===r.KEY_CTRL||this.code===r.KEY_SHIFT||this.code===r.KEY_ALT},t.isDown=function(){return"keydown"===this.type},t.isUp=function(){return"keyup"===this.type},t.toString=function(){return this._str||(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=r.KEY_F1&&this.code<=r.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]"),this._str},e}();t.KeyEvent=g,document.addEventListener("keydown",(function(e){if(!d(e.target)){var t=e.keyCode,n=new g(e,"keydown",v[t]);i.emit("keydown",n),i.emit("key",n),v[t]=!0}})),document.addEventListener("keyup",(function(e){if(!d(e.target)){var t=e.keyCode,n=new g(e,"keyup");i.emit("keyup",n),i.emit("key",n),v[t]=!1}}))},40509:function(e,t){"use strict";t.__esModule=!0,t.focusWindow=t.focusMap=void 0;t.focusMap=function(){Byond.winset("mapwindow.map",{focus:!0})};t.focusWindow=function(){Byond.winset(window.__windowId__,{focus:!0})}},1033:function(e,t,n){"use strict";t.__esModule=!0,t.formatTime=t.formatSiBaseTenUnit=t.formatDb=t.formatMoney=t.formatPower=t.formatSiUnit=void 0;var o=n(97622),r=["f","p","n","\u03bc","m"," ","k","M","G","T","P","E","Z","Y","R","Q","F","N","H"],i=r.indexOf(" "),a=function(e,t,n){if(void 0===t&&(t=-i),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var a=Math.floor(Math.log10(e)),c=Math.floor(Math.max(3*t,a)),u=Math.floor(a/3),l=Math.floor(c/3),s=(0,o.clamp)(i+l,0,r.length),d=r[s],f=e/Math.pow(1e3,l),p=u>t?2+3*l-c:0;return((0,o.toFixed)(f,p)+" "+d+n).trim()};t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c<r;c++)c>0&&c<i&&(i-c)%3==0&&(a+="\u2009"),a+=n.charAt(c);return a};t.formatDb=function(e){var t=20*Math.log(e)/Math.log(10),n=t>=0?"+":"\u2013",r=Math.abs(t);return n+(r=r===Infinity?"Inf":(0,o.toFixed)(r,2))+" dB"};var c=["","\xb7 10\xb3","\xb7 10\u2076","\xb7 10\u2079","\xb7 10\xb9\xb2","\xb7 10\xb9\u2075","\xb7 10\xb9\u2078","\xb7 10\xb2\xb9","\xb7 10\xb2\u2074","\xb7 10\xb2\u2077","\xb7 10\xb3\u2070","\xb7 10\xb3\xb3","\xb7 10\xb3\u2076","\xb7 10\xb3\u2079"],u=c.indexOf(" ");t.formatSiBaseTenUnit=function(e,t,n){if(void 0===t&&(t=-u),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var r=Math.floor(Math.log10(e)),i=Math.floor(Math.max(3*t,r)),a=Math.floor(r/3),l=Math.floor(i/3),s=(0,o.clamp)(u+l,0,c.length),d=c[s],f=e/Math.pow(1e3,l),p=a>t?2+3*l-i:0;return((0,o.toFixed)(f,p)+" "+d+" "+n).trim()};t.formatTime=function(e,t){var n=(0,o.toFixed)(Math.floor(e/10%60)),r=(0,o.toFixed)(Math.floor(e/600%60)),i=(0,o.toFixed)(Math.floor(e/36e3%24));switch(t){case"short":return""+(i>0?i+"h":"")+(r>0?r+"m":"")+(n>0?n+"s":"");default:var a=n.padStart(2,"0"),c=r.padStart(2,"0");return i.padStart(2,"0")+":"+c+":"+a}}},6965:function(e,t,n){"use strict";t.__esModule=!0,t.setupHotKeys=t.releaseHeldKeys=t.releaseHotKey=t.acquireHotKey=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{"default":e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var c=r?Object.getOwnPropertyDescriptor(e,a):null;c&&(c.get||c.set)?Object.defineProperty(o,a,c):o[a]=e[a]}o["default"]=e,n&&n.set(e,o);return o}(n(57890)),r=n(99397);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}var a=(0,n(79926).createLogger)("hotkeys"),c={},u=[o.KEY_ESCAPE,o.KEY_ENTER,o.KEY_SPACE,o.KEY_TAB,o.KEY_CTRL,o.KEY_SHIFT,o.KEY_UP,o.KEY_DOWN,o.KEY_LEFT,o.KEY_RIGHT,o.KEY_F5],l={},s=function(e){var t=String(e);if("Ctrl+F5"!==t&&"Ctrl+R"!==t){if("Ctrl+F"!==t&&!(e.event.defaultPrevented||e.isModifierKey()||u.includes(e.code))){var n,o=16===(n=e.code)?"Shift":17===n?"Ctrl":18===n?"Alt":33===n?"Northeast":34===n?"Southeast":35===n?"Southwest":36===n?"Northwest":37===n?"West":38===n?"North":39===n?"East":40===n?"South":45===n?"Insert":46===n?"Delete":n>=48&&n<=57||n>=65&&n<=90?String.fromCharCode(n):n>=96&&n<=105?"Numpad"+(n-96):n>=112&&n<=123?"F"+(n-111):188===n?",":189===n?"-":190===n?".":void 0;if(o){var r=c[o];if(r)return a.debug("macro",r),Byond.command(r);if(e.isDown()&&!l[o]){l[o]=!0;var i='KeyDown "'+o+'"';return a.debug(i),Byond.command(i)}if(e.isUp()&&l[o]){l[o]=!1;var s='KeyUp "'+o+'"';return a.debug(s),Byond.command(s)}}}}else location.reload()};t.acquireHotKey=function(e){u.push(e)};t.releaseHotKey=function(e){var t=u.indexOf(e);t>=0&&u.splice(t,1)};var d=function(){for(var e=0,t=Object.keys(l);e<t.length;e++){var n=t[e];l[n]&&(l[n]=!1,a.log('releasing key "'+n+'"'),Byond.command('KeyUp "'+n+'"'))}};t.releaseHeldKeys=d;t.setupHotKeys=function(){Byond.winget("default.*").then((function(e){for(var t={},n=0,o=Object.keys(e);n<o.length;n++){var r=o[n],i=r.split("."),u=i[1],l=i[2];u&&l&&(t[u]||(t[u]={}),t[u][l]=e[r])}for(var s=/\\"/g,d=function(e){return e.substring(1,e.length-1).replace(s,'"')},f=0,p=Object.keys(t);f<p.length;f++){var m=t[p[f]],h=d(m.name);c[h]=d(m.command)}a.debug("loaded macros",c)})),r.globalEvents.on("window-blur",(function(){d()})),r.globalEvents.on("key",(function(e){s(e)}))}},64008:function(e,t,n){"use strict";t.__esModule=!0,t.AirlockElectronics=t.AirLockMainSection=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(52126),u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=n.data,l=(u.accesses,u.oneAccess),s=u.passedName,d=(u.regions,u.unres_direction),f=u.lastOperator;return(0,o.createComponentVNode)(2,i.Section,{title:"Main",children:[(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:["Last operator: ",f,"."]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Access Required",children:(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"One":"All",onClick:function(){return a("one_access")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unrestricted Access",children:[(0,o.createComponentVNode)(2,i.Button,{icon:1&d?"check-square-o":"square-o",content:"North",selected:1&d,onClick:function(){return a("direc_set",{unres_direction:"1"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:2&d?"check-square-o":"square-o",content:"South",selected:2&d,onClick:function(){return a("direc_set",{unres_direction:"2"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:4&d?"check-square-o":"square-o",content:"East",selected:4&d,onClick:function(){return a("direc_set",{unres_direction:"4"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:8&d?"check-square-o":"square-o",content:"West",selected:8&d,onClick:function(){return a("direc_set",{unres_direction:"8"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Airlock Name",children:(0,o.createComponentVNode)(2,i.Input,{fluid:!0,maxLength:30,value:s,onChange:function(e,t){return a("passedName",{passedName:t})}})})]}),(0,o.createComponentVNode)(2,c.AccessList,{accesses:u.regions,selectedList:u.accesses,accessMod:function(e){return a("set",{access:e})},grantAll:function(){return a("grant_all")},denyAll:function(){return a("clear_all")},grantDep:function(e){return a("grant_region",{region:e})},denyDep:function(e){return a("deny_region",{region:e})}})]})};t.AirLockMainSection=u;t.AirlockElectronics=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:420,height:550,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,u)})})}},72272:function(e,t,n){"use strict";t.__esModule=!0,t.Loader=t.AlertModal=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(2381),u=n(57890);function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=function(e){var t,n;function r(){var t;return(t=e.call(this)||this).buttonRefs=[(0,o.createRef)()],t.state={current:0},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var s=r.prototype;return s.componentDidMount=function(){for(var e=(0,i.useBackend)(this.context).data.buttons,t=this.state.current,n=this.buttonRefs[t].current,r=1;r<e.length;r++)this.buttonRefs.push((0,o.createRef)());setTimeout((function(){return n.focus()}),1)},s.setCurrent=function(e,t){var n=(0,i.useBackend)(this.context).data.buttons;e>=n.length?e=t?e-1:0:e<0&&(e=t?0:n.length-1);var o=this.buttonRefs[e].current;o&&setTimeout((function(){return o.focus()}),1),this.setState({current:e})},s.render=function(){var e=this,t=(0,i.useBackend)(this.context),n=t.act,r=t.data,l=r.title,s=r.message,f=r.buttons,p=r.timeout,m=this.state.current,h=function(){return e.setCurrent(m,!1)};return(0,o.createComponentVNode)(2,c.Window,{title:l,width:350,height:150,canClose:p>0,children:[p&&(0,o.createComponentVNode)(2,d,{value:p}),(0,o.createComponentVNode)(2,c.Window.Content,{onFocus:h,onClick:h,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",className:"AlertModal__Message",textAlign:"center",children:(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Box,{m:1,children:s})})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{my:2,children:(0,o.createComponentVNode)(2,a.Flex,{className:"AlertModal__Buttons",children:f.map((function(t,r){return(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,children:(0,o.createVNode)(1,"div","Button Button--color--default",t,0,{px:3,onClick:function(){return n("choose",{choice:t})},onKeyDown:function(o){var r=window.event?o.which:o.keyCode;r===u.KEY_SPACE||r===u.KEY_ENTER?n("choose",{choice:t}):r===u.KEY_LEFT||o.shiftKey&&r===u.KEY_TAB?e.setCurrent(m-1,r===u.KEY_LEFT):r!==u.KEY_RIGHT&&r!==u.KEY_TAB||e.setCurrent(m+1,r===u.KEY_RIGHT)}},null,e.buttonRefs[r])},r)}))})})]})})})]})},r}(o.Component);t.AlertModal=s;var d=function(e){var t=e.value;return(0,o.createVNode)(1,"div","AlertModal__Loader",(0,o.createComponentVNode)(2,a.Box,{className:"AlertModal__LoaderProgress",style:{width:100*(0,r.clamp01)(t)+"%"}}),2)};t.Loader=d},48349:function(e,t,n){"use strict";t.__esModule=!0,t.Apc=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(19447);t.Apc=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:450,height:445,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var u={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"}},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,s=l.locked,d=l.isOperating,f=l.externalPower,p=l.powerCellStatus,m=l.powerCellCharge,h=l.chargeMode,v=l.charging,g=l.totalLoad,b=l.coverLocked,C=l.siliconUser,y=l.malfCanHack,N=l.nightshiftLights,V=l.smartlightMode,_=l.powerChannels,x=s&&!C,w=u[f]||u[0],S=u[v]||u[0],k=_||[];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:w.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d&&!x,disabled:x,onClick:function(){return a("breaker")}}),children:["[ ",w.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:!!p&&(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",fractionDigits:1,value:.01*m})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Power cell removed"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:S.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sync":"times",content:h?"Auto":"Off",disabled:x,onClick:function(){return a("charge")}}),children:["[ ",S.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[k.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!x&&(1===e.status||3===e.status),disabled:x,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!x&&2===e.status,disabled:x,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!x&&0===e.status,disabled:x,onClick:function(){return a("channel",t.off)}})],4),children:e.powerLoad},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:(0,o.createVNode)(1,"b",null,g,0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!C&&(0,o.createFragment)([!!y&&(0,o.createComponentVNode)(2,i.Button,{icon:"terminal",content:"Override Programming",color:"bad",onClick:function(){return a("hack")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"lock":"unlock",content:b?"Engaged":"Disengaged",disabled:x,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:N?"Enabled":"Disabled",onClick:function(){return a("toggle_nightshift")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Lighting Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:V,onClick:function(){return a("change_smartlight")}})})]})})],4)}},47533:function(e,t,n){"use strict";t.__esModule=!0,t.Materials=t.Autolathe=void 0;var o=n(96323),r=n(32416),i=n(1397),a=n(31246),c=n(26949),u=n(2381),l=n(21118),s=n(1060),d=n(1033),f=n(97622);t.Autolathe=function(e,t){var n=(0,a.useBackend)(t),d=n.act,f=n.data,g=f.recipes,b=f.busy,C=f.materials,y=f.categories,N=f.coeff,V=(0,a.useSharedState)(t,"category",0),_=V[0],x=V[1],w=(0,a.useSharedState)(t,"searchText",""),S=w[0],k=w[1],E=(0,l.createSearch)(S,(function(e){return e.name})),B=(0,r.flow)([(0,i.filter)((function(e){return e.category===y[_]||"All"===y[_]})),S&&(0,i.filter)(E),(0,i.sortBy)((function(e){return e.name.toLowerCase()}))])(g),I=(0,r.flow)([(0,i.sortBy)((function(e){return e.toLowerCase()}))])(y);return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{title:"Materials",children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:(0,o.createComponentVNode)(2,v)})}),(0,o.createComponentVNode)(2,c.Section,{title:"Recipes",buttons:(0,o.createComponentVNode)(2,c.Dropdown,{width:"190px",options:I,selected:y[_],onSelected:function(e){return x(y.indexOf(e))}}),children:[(0,o.createComponentVNode)(2,c.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return k(t)},mb:1}),B.map((function(e){return(0,o.createComponentVNode)(2,c.Flex,{justify:"space-between",align:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{mr:1,children:(0,o.createVNode)(1,"span",(0,s.classes)(["autolathe32x32",e.path]),null,1,{style:{"vertical-align":"middle","horizontal-align":"middle"}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,c.Button,{color:e.hidden?"red":null,icon:"hammer",iconSpin:b===e.name,disabled:!m(e,C),onClick:function(){return d("make",{make:e.ref})},children:(0,l.toTitleCase)(e.name)}),e.max_mult>1&&(0,o.createComponentVNode)(2,c.Box,{as:"span",children:[5,10,e.max_mult/2>>0,e.max_mult].map((function(t){return h(e,C,d,t)}))})]}),(0,o.createComponentVNode)(2,c.Flex.Item,{width:"30%",children:(0,o.createComponentVNode)(2,c.Flex,{direction:"row",visibility:"collapse",children:e.requirements&&Object.keys(e.requirements).map((function(t){return(0,o.createComponentVNode)(2,c.Flex,{width:"100%",children:e.requirements[t]>0&&(0,o.createComponentVNode)(2,p,{name:t,amount:e.requirements[t]/N,formatsi:!0,csspath:C.find((function(e){return e.name===t})).path,width:"50%"})||(0,o.createComponentVNode)(2,c.Flex,{width:"50%"})},t)}))||(0,o.createComponentVNode)(2,c.Box,{children:"No resources required."})})})]},e.ref)}))]})]})})};var p=function(e,t){var n=e.name,r=e.csspath,i=e.amount,a=e.color,u=e.style,p=e.direction,m=e.width,h=e.formatsi,v=e.formatmoney,g="0";return g=i<1&&i>0?(0,f.toFixed)(i,2):h?(0,d.formatSiUnit)(i,0).replace(" ",""):v?(0,d.formatMoney)(i):i,(0,o.createComponentVNode)(2,c.Flex,{direction:p,align:"center",width:m,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Box,{className:(0,s.classes)(["sheetmaterials32x32",r]),position:"relative",style:u,children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:(0,l.toTitleCase)(n)})})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Box,{textColor:a,style:{"text-align":"center"},children:g})})]})},m=function(e,t,n){if(void 0===n&&(n=1),null===e.requirements)return!0;for(var o=Object.keys(e.requirements),r=function(){var o=a[i],r=t.find((function(e){return e.name===o}));return r?r.amount<e.requirements[o]*n?{v:!1}:void 0:"continue"},i=0,a=o;i<a.length;i++){var c=r();if("continue"!==c&&"object"==typeof c)return c.v}return!0},h=function(e,t,n,r){if(r<=e.max_mult)return(0,o.createComponentVNode)(2,c.Button,{color:e.hidden?"red":null,disabled:!m(e,t,r),onClick:function(){return n("make",{make:e.ref,multiplier:r})},children:["x",r]})},v=function(e,t){var n=(0,a.useBackend)(t).data,r=e.displayAllMat,i=(n.materials||[]).filter((function(e){return r||e.amount>0}));return 0===i.length?(0,o.createComponentVNode)(2,c.Box,{width:"100%",textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Icon,{textAlign:"center",size:5,name:"inbox"}),(0,o.createVNode)(1,"br"),(0,o.createVNode)(1,"b",null,"No Materials Loaded.",16)]}):(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:i.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{width:"80px",children:[(0,o.createComponentVNode)(2,p,{name:e.name,amount:e.amount,csspath:e.path,formatsi:!0,direction:"column"}),(0,o.createComponentVNode)(2,c.Box,{mt:1,style:{"text-align":"center"}})]},e.name)||null}))})};t.Materials=v},15466:function(e,t,n){"use strict";t.__esModule=!0,t.BloomEdit=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.BloomEdit=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.glow_brightness_base,s=u.glow_brightness_power,d=u.glow_contrast_base,f=u.glow_contrast_power,p=u.exposure_brightness_base,m=u.exposure_brightness_power,h=u.exposure_contrast_base,v=u.exposure_contrast_power;return(0,o.createComponentVNode)(2,a.Window,{title:"BloomEdit",width:500,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Bloom Edit",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Brightness Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u0411\u0430\u0437\u043e\u0432\u0430\u044f \u044f\u0440\u043a\u043e\u0441\u0442\u044c \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:l,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_brightness_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Brightness Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:s,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_brightness_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Contrast Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438, \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:d,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_contrast_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Lamp Contrast Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u043b\u0430\u043c\u043f\u043e\u0447\u043a\u0438 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:f,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("glow_contrast_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Brightness Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:p,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_brightness_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Brightness Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u042f\u0440\u043a\u043e\u0441\u0442\u044c \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:m,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_brightness_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Contrast Base",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:h,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_contrast_base",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exposure Contrast Power",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,children:"\u041a\u043e\u043d\u0442\u0440\u0430\u0441\u0442 \u0441\u0432\u0435\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0443\u0441\u0430 \u043d\u0430 power \u0441\u0432\u0435\u0442\u0430"}),(0,o.createComponentVNode)(2,i.NumberInput,{fluid:!0,value:v,minValue:-10,maxValue:10,step:.01,width:"20px",onChange:function(e,t){return c("exposure_contrast_power",{value:t})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{content:"\u041f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043b\u0430\u043c\u043f\u044b \u0441 \u043d\u043e\u0432\u044b\u043c\u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u043c\u0438",onClick:function(){return c("update_lamps")}}),(0,o.createComponentVNode)(2,i.Button,{content:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e",onClick:function(){return c("default")}})]})]})})})})}},33897:function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(2381),u=[["good","\u0421\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0435"],["average","\u041a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435"],["bad","\u041c\u0451\u0440\u0442\u0432"]],l=[["hasBorer","bad","\u0412 \u043b\u043e\u0431\u043d\u043e\u0439 \u0434\u043e\u043b\u0435 \u0437\u043b\u043e\u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043d\u043e\u0432\u043e\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435."],["blind","bad","\u041a\u0430\u0442\u0430\u0440\u0430\u043a\u0442\u0430."],["hasVirus","average","\u0412 \u043a\u0440\u043e\u0432\u043e\u0442\u043e\u043a\u0435 \u0432\u0438\u0440\u0443\u0441\u043d\u044b\u0439 \u043f\u0430\u0442\u043e\u0433\u0435\u043d."],["nearsighted","average","\u0421\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u0441\u0435\u0442\u0447\u0430\u0442\u043a\u0438."]],s=[["\u0410\u0441\u0444\u0438\u043a\u0441\u0438\u044f","oxyLoss"],["\u041c\u043e\u0437\u0433\u043e\u0432\u044b\u0435","brainLoss"],["\u0418\u043d\u0442\u043e\u043a\u0441\u0438\u043a\u0430\u0446\u0438\u044f","toxLoss"],["\u041e\u0431\u043b\u0443\u0447\u0435\u043d\u0438\u0435","radLoss"],["\u041c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435","bruteLoss"],["\u0413\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435","cloneLoss"],["\u0422\u0435\u0440\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435","fireLoss"],["\u041e\u043f\u044c\u044f\u043d\u0435\u043d\u0438\u0435","drunkenness"]],d={average:[.25,.5],bad:[.5,Infinity]},f=function(e,t){for(var n=[],o=0;o<e.length;o+=2)n.push(t(e[o],e[o+1],o));return n},p=function(e){return e.length>0?e.filter((function(e){return!!e})).reduce((function(e,t){return(0,o.createFragment)([e,(0,o.createComponentVNode)(2,a.Box,{children:t},t)],0)}),null):null};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,u=void 0===a?{}:a,l=r?(0,o.createComponentVNode)(2,m,{occupant:u}):(0,o.createComponentVNode)(2,N);return(0,o.createComponentVNode)(2,c.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:l})})};var m=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,h,{occupant:t}),(0,o.createComponentVNode)(2,v,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,C,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},h=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"\u041f\u0430\u0446\u0438\u0435\u043d\u0442",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"\u0420\u0430\u0441\u043f\u0435\u0447\u0430\u0442\u0430\u0442\u044c \u043e\u0442\u0447\u0435\u0442"}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"\u0418\u0437\u0432\u043b\u0435\u0447\u044c"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0418\u043c\u044f",children:l.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0417\u0434\u043e\u0440\u043e\u0432\u044c\u0435",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:l.maxHealth,value:l.health/l.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u041a\u0440\u043e\u0432\u044c",children:l.blood.hasBlood?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:l.blood.bloodNormal,value:l.blood.bloodLevel/l.blood.bloodNormal,ranges:{good:[.8,Infinity],average:[.6,.8],bad:[-Infinity,.6]},children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,style:{float:"left"},children:[l.blood.pulse," \u0443\u0434/\u043c\u0438\u043d"]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[l.blood.percent,"%"]})]}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"\u041d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435",color:u[l.stat][0],children:u[l.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(l.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(l.bodyTempF,0)}),"\xb0F"]})]})})},v=function(e){var t=e.occupant;return t.hasBorer||t.blind||t.nearsighted||t.hasVirus?(0,o.createComponentVNode)(2,a.Section,{title:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f",children:l.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2]},e[2])}))}):(0,o.createComponentVNode)(2,a.Section,{title:"\u041e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u041d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043e."})})},g=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"\u041f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f",children:(0,o.createComponentVNode)(2,a.Table,{children:f(s,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,b,{value:t[e[1]],marginBottom:r<s.length-2})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&(0,o.createComponentVNode)(2,b,{value:t[n[1]]})})]})],4)}))})})},b=function(e){return(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.value/100,mt:"0.5rem",mb:!!e.marginBottom&&"0.5rem",ranges:d,children:(0,r.round)(e.value,0)})},C=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"\u0412\u043d\u0435\u0448\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u044b",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u041d\u0435\u0442 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439"})}):(0,o.createComponentVNode)(2,a.Section,{title:"\u0412\u043d\u0435\u0448\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u044b",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"\u041f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f"})]}),e.organs.map((function(e,t){var n;return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",backgroundColor:t%2!=0&&"rgba(255, 255, 255, 0.05)",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{color:(!(e.status.dead||e.internalBleeding||e.stump||e.missing)?(!!e.lungRuptured||!!e.status.broken||!!e.open||!!e.germ_level||!!e.unknown_implant)&&"average":"bad")||!!e.status.robotic&&"label",width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",q:!0,children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,mt:t>0&&"0.5rem",value:e.totalLoss/e.maxHealth,ranges:d,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,style:{float:"left"},children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0"]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0)]})]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:t>0&&"calc(0.5rem + 2px)",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",bold:!0,children:p([!!e.internalBleeding&&"\u0410\u0440\u0442\u0435\u0440\u0438\u0430\u043b\u044c\u043d\u043e\u0435 \u043a\u0440\u043e\u0432\u043e\u0442\u0435\u0447\u0435\u043d\u0438\u0435",!!e.status.dead&&"\u041e\u0442\u043a\u0430\u0437",!!e.stump&&"\u041a\u0443\u043b\u044c\u0442\u044f",!!e.missing&&"\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"])}),(0,o.createComponentVNode)(2,a.Box,{color:"average",children:p([!!e.lungRuptured&&"\u0420\u0430\u0437\u0440\u044b\u0432 \u043b\u0435\u0433\u043a\u043e\u0433\u043e",!!e.status.broken&&e.status.broken,!!e.germ_level&&e.germ_level,!!e.open&&"\u041e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 \u0440\u0430\u0437\u0440\u0435\u0437"])}),null==(n=e.implant)?void 0:n.map((function(e){return e.name?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:e.name}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"\u0418\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442"})})),p([!!e.status.splinted&&(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"\u041d\u0430\u043b\u043e\u0436\u0435\u043d\u0430 \u0448\u0438\u043d\u0430"}),!!e.status.robotic&&(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u041f\u0440\u043e\u0442\u0435\u0437"})])]})})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u044b",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u041d\u0435\u0442 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u0439"})}):(0,o.createComponentVNode)(2,a.Section,{title:"\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043e\u0440\u0433\u0430\u043d\u044b",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"\u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"\u041f\u043e\u0432\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",backgroundColor:t%2!=0&&"rgba(255, 255, 255, 0.05)",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{color:(!e.dead&&!e.broken?!!e.robotic&&"label":"bad")||(!!e.germ_level||!!e.bruised)&&"average",width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/e.maxHealth,mt:t>0&&"0.5rem",ranges:d,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:t>0&&"calc(0.5rem + 2px)",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",children:p([!!e.germ_level&&e.germ_level])}),p([!!e.robotic&&(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u041f\u0440\u043e\u0442\u0435\u0437"}),!!e.assisted&&(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"\u0412\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438\u043c\u043f\u043b\u0430\u043d\u0442"}),!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",bold:!0,children:"\u041e\u0442\u043a\u0430\u0437"})])]})})]},t)}))]})})},N=function(){return(0,o.createComponentVNode)(2,a.Section,{fill:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"\u041f\u0430\u0446\u0438\u0435\u043d\u0442 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d."]})})})}},83548:function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleContent=t.CameraConsole=t.selectCameras=t.prevNextCamera=void 0;var o=n(96323),r=n(1397),i=n(32416),a=n(1060),c=n(21118),u=n(31246),l=n(26949),s=n(2381),d=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]};t.prevNextCamera=d;var f=function(e,t){void 0===t&&(t="");var n=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(n),(0,r.sortBy)((function(e){return e.name}))])(e)};t.selectCameras=f;t.CameraConsole=function(e,t){Byond.winget("mapwindow.map","style").then((function(e){Byond.winset(a,"style",e)}));var n=(0,u.useBackend)(t),r=n.act,i=n.data,a=i.mapRef,c=i.activeCamera,m=f(i.cameras),h=d(m,c),v=h[0],g=h[1];return(0,o.createComponentVNode)(2,s.Window,{width:870,height:708,children:[(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,s.Window.Content,{children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,l.Button,{icon:"chevron-left",disabled:!v,onClick:function(){return r("switch_camera",{name:v})}}),(0,o.createComponentVNode)(2,l.Button,{icon:"chevron-right",disabled:!g,onClick:function(){return r("switch_camera",{name:g})}})],4),(0,o.createComponentVNode)(2,l.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)]})};var p=function(e,t){var n=(0,u.useBackend)(t),r=n.act,i=n.data,c=(0,u.useLocalState)(t,"searchText",""),s=c[0],d=c[1],p=i.activeCamera,m=f(i.cameras,s);return(0,o.createComponentVNode)(2,l.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,l.Flex.Item,{children:(0,o.createComponentVNode)(2,l.Input,{autoFocus:!0,fluid:!0,mt:1,placeholder:"Search for a camera",onInput:function(e,t){return d(t)}})}),(0,o.createComponentVNode)(2,l.Flex.Item,{height:"100%",children:(0,o.createComponentVNode)(2,l.Section,{fill:!0,scrollable:!0,children:m.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",p&&e.name===p.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){return r("switch_camera",{name:e.name})}},e.name)}))})})]})};t.CameraConsoleContent=p},98566:function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(1033),u=n(2381);t.Canister=function(e,t){var n=(0,i.useBackend)(t),l=n.act,s=n.data,d=s.name,f=s.canLabel,p=s.portConnected,m=s.tankPressure,h=s.releasePressure,v=s.defaultReleasePressure,g=s.minReleasePressure,b=s.maxReleasePressure,C=s.valveOpen,y=s.hasHoldingTank,N=s.holdingTank;return(0,o.createComponentVNode)(2,u.Window,{width:300,height:232,children:(0,o.createComponentVNode)(2,u.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:d,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",content:"Relabel",disabled:!f,onClick:function(){return l("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{size:1.25,color:!!C&&"yellow",value:h,unit:"kPa",minValue:g,maxValue:b,step:5,stepPixelSize:1,onDrag:function(e,t){return l("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return l("pressure",{pressure:b})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return l("pressure",{pressure:v})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:C?y?"caution":"danger":null,content:C?"Open":"Closed",onClick:function(){return l("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:p?"plug":"times",color:p?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:p?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!y&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:C&&"danger",content:"Eject",onClick:function(){return l("eject")}}),children:[!!y&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.tankPressure})," kPa"]})]}),!y&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},6789:function(e,t,n){"use strict";t.__esModule=!0,t.Canvas=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=["res","value","dotsize"];function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).canvasRef=(0,o.createRef)(),n.onCVClick=t.onCanvasClick,n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,u(t,n);var i=r.prototype;return i.componentDidMount=function(){this.drawCanvas(this.props)},i.componentDidUpdate=function(){this.drawCanvas(this.props)},i.drawCanvas=function(e){var t=this.canvasRef.current.getContext("2d"),n=e.value,o=n.length;if(o){var r=n[0].length,i=Math.round(this.canvasRef.current.width/o),a=Math.round(this.canvasRef.current.height/r);t.save(),t.scale(i,a);for(var c=0;c<n.length;c++)for(var u=n[c],l=0;l<u.length;l++){var s=u[l];t.fillStyle=s,t.fillRect(c,l,1,1)}t.restore()}},i.clickwrapper=function(e){var t=this.props.value.length;if(t){var n=this.props.value[0].length,o=this.canvasRef.current.width/t,r=this.canvasRef.current.height/n,i=Math.floor(e.offsetX/o)+1,a=Math.floor(e.offsetY/r)+1;this.onCVClick(i,a)}},i.render=function(){var e=this,t=this.props,n=(t.res,t.value),r=t.dotsize,i=void 0===r?24:r,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(t,c),u=s(n),l=u[0],d=u[1];return(0,o.normalizeProps)((0,o.createVNode)(1,"canvas",null,"Canvas failed to render.",16,Object.assign({width:l*i||300,height:d*i||300},a,{onClick:function(t){return e.clickwrapper(t)}}),null,this.canvasRef))},r}(o.Component),s=function(e){var t=e.length;return[t,0!==t?e[0].length:0]};t.Canvas=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,d=s(u.grid),f=d[0],p=d[1];return(0,o.createComponentVNode)(2,a.Window,{width:Math.min(700,24*f+72),height:Math.min(700,24*p+72),children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,l,{value:u.grid,dotsize:24,onCanvasClick:function(e,t){return c("paint",{x:e,y:t})}}),(0,o.createComponentVNode)(2,i.Box,{children:[!u.finalized&&(0,o.createComponentVNode)(2,i.Button.Confirm,{onClick:function(){return c("finalize")},content:"Finalize"}),u.name]})]})})})}},60301:function(e,t,n){"use strict";t.__esModule=!0,t.CardPay=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(97968);t.CardPay=function(e,t){for(var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.numbers,d=l.reset_numbers,f=l.mode,p=[],m=function(e){for(var t=function(t){p.push((0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--normal",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--normal",children:3*e+t}),onClick:function(){return u("pressnumber",{number:3*e+t})}}))},n=1;n<4;n++)t(n)},h=0;h<3;h++)m(h);return(0,o.createComponentVNode)(2,a.Window,{theme:"",width:220,height:340,titleClassName:"cardpay_window-titlebar",children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"cardpay_window-contents",children:[(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_monitor",children:(0,o.createComponentVNode)(2,c.SegmentDisplay,{display_cells_amount:8,display_height:40,display_text:function(){var e="",t=s.toString();switch(f){case"Mode_EnterPin":e+="PIN:"+(s?t:"-");for(var n=1;n<=4-t.length;n++)e+="-";break;case"Mode_Account":e+="N\xb0"+(s?t:"-");for(var o=1;o<=6-t.length;o++)e+="-";break;case"Mode_Pay":e+="N\xb0"+(s?t:"-");for(var r=1;r<=6-t.length;r++)e+="-";break;case"Mode_Idle":for(var i=1;i<=3-t.length;i++)e+="-";e+=(s?t:"-")+"$"}return e}()})}),(0,o.createComponentVNode)(2,i.Box,{width:"158px",height:"208px",position:"absolute",left:"32px",top:"95px",children:[p,(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--red",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--red",children:"X"}),onClick:function(){return u("clearnumbers")}}),(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--normal",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--normal",children:0}),onClick:function(){return u("pressnumber",{number:0})}}),(0,o.createComponentVNode)(2,i.Button,{className:"cardpay_button cardpay_button--green",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_button-inside cardpay_button-inside--green",children:"O"}),onClick:function(){return u("approveprice")}})]}),(0,o.createComponentVNode)(2,i.Box,{position:"absolute",top:"62px",left:"25px",textColor:"#333344",fontSize:.85,bold:1,children:["\u0441\u0431\u0440\u043e\u0441",(0,o.createComponentVNode)(2,i.Button,{position:"absolute",top:"15px",left:"10px",className:"cardpay_resethole",onClick:function(){return u("toggleenteraccount")}})]}),(0,o.createComponentVNode)(2,i.Button,{selected:d?1:0,position:"absolute",top:"60px",left:"140px",className:"cardpay_switch",content:(0,o.createComponentVNode)(2,i.Box,{className:"cardpay_switch-inside",children:"|||"}),onClick:function(){return u("togglereset")}})]})})}},68078:function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(96323),r=n(97622),i=n(31246),a=n(26949),c=n(2381);t.ChemDispenser=function(e,t){var n=(0,i.useBackend)(t),u=n.act,l=n.data,s=l.amount,d=l.energy,f=l.maxEnergy,p=l.isBeakerLoaded,m=l.glass,h=l.beakerContents,v=l.beakerCurrentVolume,g=l.beakerMaxVolume,b=l.chemicals;return(0,o.createComponentVNode)(2,c.Window,{width:420,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Energy",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:d/f,children:(0,r.toFixed)(d)+" units"})})})}),(0,o.createComponentVNode)(2,a.Section,{title:"Dispense",buttons:(0,o.createFragment)([[5,10,20,30,40].map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"plus",align:"center",content:e,selected:e===s,onClick:function(){return u("change_amount",{new_amount:e})}},e)})),(0,o.createComponentVNode)(2,a.NumberInput,{width:"40px",animated:1,step:5,minValue:1,maxValue:100,stepPixelSize:3,value:s,onChange:function(e,t){return u("change_amount",{new_amount:t})}})],0),children:b.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{disabled:!p,icon:"tint",width:"130px",lineHeight:1.75,content:e.title,onClick:function(){return u("dispense",{chemical:e.id})}},e.id)}))}),(0,o.createComponentVNode)(2,a.Section,{title:(m?"Glass":"Beaker")+" contents",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Eject beaker",icon:"eject",disabled:!p,onClick:function(){return u("eject_beaker")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"Glass":"Beaker",children:p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.AnimatedNumber,{initial:0,value:v}),(0,o.createTextVNode)("/"),g,(0,o.createTextVNode)(" units")],0)||"No "+(m?"glass":"beaker")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:p?0===h.length&&"Nothing":"N/A"}),h.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{color:"label",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{initial:0,value:e.volume})," ","units of ",e.name]},e.name)}))]})]})})]})})}},10996:function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=[{label:"\u0410\u0441\u0444\u0438\u043a\u0441\u0438\u044f",type:"oxyLoss"},{label:"\u0418\u043d\u0442\u043e\u043a\u0441\u0438\u043a\u0430\u0446\u0438\u044f",type:"toxLoss"},{label:"\u041c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"bruteLoss"},{label:"\u0422\u0435\u0440\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"fireLoss"},{label:"\u0413\u0435\u043d\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435",type:"cloneLoss"}],u=[["good","\u0412 \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043e\u0437\u043d\u0430\u043d\u0438\u044f"],["bad","\u041c\u0451\u0440\u0442\u0432"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:400,height:425,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.isOperating,f=l.hasOccupant,p=l.occupant,m=void 0===p?[]:p,h=l.cellTemperature,v=l.cellTemperatureStatus,g=l.isBeakerLoaded,b=l.isOpen,C=l.hasAir;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"\u041f\u0430\u0446\u0438\u0435\u043d\u0442",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"toggle-off":"toggle-on",onClick:function(){return a(b?"close":"open")},selected:!b,children:b?"\u041e\u0442\u043a\u0440\u044b\u0442\u043e":"\u0417\u0430\u043a\u0440\u044b\u0442\u043e"}),children:f?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u041f\u0430\u0446\u0438\u0435\u043d\u0442",children:m.name||"\u041d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0417\u0434\u043e\u0440\u043e\u0432\u044c\u0435",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:m.health,max:m.maxHealth,value:m.health/m.maxHealth,color:m.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435",color:u[m.stat][0],children:u[m.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m[e.type]/100,ranges:{bad:[.25,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(m[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"\u041f\u0430\u0446\u0438\u0435\u043d\u0442 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"\u041a\u0430\u043f\u0441\u0443\u043b\u0430",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"\u0418\u0437\u0432\u043b\u0435\u0447\u044c \u0441\u043e\u0441\u0443\u0434"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u041f\u0438\u0442\u0430\u043d\u0438\u0435",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(d?"switchOff":"switchOn")},selected:d,disabled:b||!C,children:d?"\u0412\u043a\u043b":"\u0412\u044b\u043a\u043b"})}),C?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0422\u0435\u043c\u043f\u0435\u0440\u0430\u0442\u0443\u0440\u0430 \u0432\u043e\u0437\u0434\u0443\u0445\u0430",color:v,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}):(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u043e\u0437\u0434\u0443\u0445\u0430",color:"bad",children:"\u041d\u0435\u0442 \u0432\u043e\u0437\u0434\u0443\u0445\u0430"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"\u0421\u043e\u0441\u0443\u0434",children:(0,o.createComponentVNode)(2,s)})]})})],4)},s=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,u=a.beakerVolume;return c?(0,o.createComponentVNode)(2,i.Box,{color:!u&&"bad",children:u?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:u,format:function(e){return Math.round(e)+" \u044e\u043d\u0438\u0442\u043e\u0432 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c"}}):"\u0421\u043e\u0441\u0443\u0434 \u043f\u0443\u0441\u0442"}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"\u041e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442"})}},26617:function(e,t,n){"use strict";t.__esModule=!0,t.CustomAnnounce=void 0;var o=n(96323),r=n(31246),i=n(2381),a=n(26949);t.CustomAnnounce=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data;return(0,o.createComponentVNode)(2,i.Window,{width:600,height:500,children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,position:"relative",children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Preview",fill:!0,children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,fontSize:"24px",children:null===u.title?"<NO TITLE>":u.title}),(0,o.createComponentVNode)(2,a.Box,{fontSize:"18px",children:null===u.subtitle?"<NO SUBTITLE>":u.subtitle}),(0,o.createComponentVNode)(2,a.Box,{mt:2,children:null===u.message?"<NO MESSAGE>":u.message}),(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:[null!==u.announcer&&"-"," ",u.announcer]}),(0,o.createComponentVNode)(2,a.Box,{mt:2,children:['Current sound is "',u.sound,'"']})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{mx:1,mb:1,children:(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Content",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Title",icon:"heading",onClick:function(){return c("title")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Subtitle",icon:"paragraph",onClick:function(){return c("subtitle")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Message",icon:"pencil-alt",onClick:function(){return c("message")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,mr:2,content:"Announcer",icon:"bullhorn",onClick:function(){return c("announcer")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Chat",icon:"comments",selected:u.flags.text,onClick:function(){return c("flag_text")}}),(0,o.createComponentVNode)(2,a.Button,{mx:1,content:"Sound",icon:"volume-up",selected:u.flags.sound,onClick:function(){return c("flag_sound")}}),(0,o.createComponentVNode)(2,a.Button,{content:"Consoles",icon:"sticky-note",selected:u.flags.comms,onClick:function(){return c("flag_comms")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sound",children:[(0,o.createComponentVNode)(2,a.Button,{content:"Existing",icon:"list",disabled:!u.rights.funevent,onClick:function(){return c("sound_select")}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Upload",icon:"file-upload",disabled:!(u.rights.sound&&u.rights.funevent),onClick:function(){return c("sound_upload")}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,ml:1,value:parseInt(u.volume,10),disabled:!(u.rights.sound&&u.rights.funevent),width:"60px",step:1,unit:"%",minValue:0,maxValue:200,onChange:function(e,t){return c("volume",{volume:t})}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Test",icon:"user",onClick:function(){return c("test",{source:"admin"})}}),(0,o.createComponentVNode)(2,a.Button,{ml:1,content:"Sample",icon:"closed-captioning",onClick:function(){return c("test",{source:"sample"})}})]})]}),(0,o.createComponentVNode)(2,a.Box,{mt:2,mb:1,children:(0,o.createComponentVNode)(2,a.Button,{content:"Select preset",icon:"archive",disabled:!u.rights.funevent,onClick:function(){return c("preset_select")}})}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Make an announcement",onClick:function(){return c("announce")}})})]})})]})})}},69974:function(e,t,n){"use strict";t.__esModule=!0,t.DisposalUnit=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.DisposalUnit=function(e,t){var n,c,u=(0,r.useBackend)(t),l=u.act,s=u.data;return 2===s.mode?(n="good",c="Ready"):0===s.mode?(n="bad",c="Off"):s.mode<0?(n="bad",c="N/A"):1===s.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:180,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:s.pressure,minValue:0,maxValue:100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:s.isAI||s.panel_open,content:"Disengaged",selected:s.flushing?null:"selected",onClick:function(){return l("handle-0")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:s.isAI||s.panel_open,content:"Engaged",selected:s.flushing?"selected":null,onClick:function(){return l("handle-1")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===s.mode,content:"Off",selected:s.mode?null:"selected",onClick:function(){return l("pump-0")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===s.mode,content:"On",selected:s.mode?"selected":null,onClick:function(){return l("pump-1")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:s.isAI,content:"Eject Contents",onClick:function(){return l("eject")}})})]})})})})}},10704:function(e,t,n){"use strict";t.__esModule=!0,t.EmotePanelEditor=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.EmotePanelEditor=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.customEmotes,s=u.allHumanEmotes;return(0,o.createComponentVNode)(2,a.Window,{width:250,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:s.sort().map((function(e){return(0,o.createComponentVNode)(2,i.Box,{fontSize:"20px",children:(0,o.createComponentVNode)(2,i.Button.Checkbox,{checked:l.includes(e),onClick:function(){return c("switchEmote",{emote:e})},content:e})},e)}))})})}},53600:function(e,t,n){"use strict";t.__esModule=!0,t.Filteriffic=void 0;var o=n(96323),r=n(1397),i=n(97622),a=n(97622),c=n(31246),u=n(26949),l=n(2381),s=["type","priority"];var d=function(e,t){var n=e.value,r=e.name,i=e.filterName,a=(0,c.useBackend)(t).act;return(0,o.createComponentVNode)(2,u.NumberInput,{value:n,minValue:-500,maxValue:500,stepPixelSize:5,width:"39px",onDrag:function(e,t){var n;return a("modify_filter_value",{name:i,new_data:(n={},n[r]=t,n)})}})},f=function(e,t){var n=e.value,r=e.name,l=e.filterName,s=(0,c.useBackend)(t).act,d=(0,c.useLocalState)(t,l+"-"+r,.01),f=d[0],p=d[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.NumberInput,{value:n,minValue:-500,maxValue:500,stepPixelSize:4,step:f,format:function(e){return(0,i.toFixed)(e,(0,a.numberOfDecimalDigits)(f))},width:"80px",onDrag:function(e,t){var n;return s("transition_filter_value",{name:l,new_data:(n={},n[r]=t,n)})}}),(0,o.createComponentVNode)(2,u.Box,{inline:!0,ml:2,mr:1,children:"Step:"}),(0,o.createComponentVNode)(2,u.NumberInput,{value:f,step:.01,format:function(e){return(0,i.toFixed)(e,4)},width:"70px",onChange:function(e,t){return p(t)}})],4)},p=function(e,t){var n=e.value,r=e.name,i=e.filterName,a=(0,c.useBackend)(t).act;return(0,o.createComponentVNode)(2,u.Input,{value:n,width:"250px",onInput:function(e,t){var n;return a("modify_filter_value",{name:i,new_data:(n={},n[r]=t,n)})}})},m=function(e,t){var n=e.value,r=e.filterName,i=e.name,a=(0,c.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Button,{icon:"pencil-alt",onClick:function(){return a("modify_color_value",{name:r})}}),(0,o.createComponentVNode)(2,u.ColorBox,{color:n,mr:.5}),(0,o.createComponentVNode)(2,u.Input,{value:n,width:"90px",onInput:function(e,t){var n;return a("transition_filter_value",{name:r,new_data:(n={},n[i]=t,n)})}})],4)},h=function(e,t){var n=e.value,r=e.filterName,i=(0,c.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Button,{icon:"pencil-alt",onClick:function(){return i("modify_icon_value",{name:r})}}),(0,o.createComponentVNode)(2,u.Box,{inline:!0,ml:1,children:n})],4)},v=function(e,t){var n=e.name,i=e.value,a=e.filterName,l=e.filterType,s=(0,c.useBackend)(t),d=s.act,f=s.data.filter_info[l].flags;return(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,u.Button.Checkbox,{checked:i&e,content:t,onClick:function(){var t;return d("modify_filter_value",{name:a,new_data:(t={},t[n]=i^e,t)})}})}))(f)},g=function(e,t){var n=e.name,r=(e.value,e.hasValue),i=(e.filterName,{int:(0,o.normalizeProps)((0,o.createComponentVNode)(2,d,Object.assign({},e))),float:(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({},e))),string:(0,o.normalizeProps)((0,o.createComponentVNode)(2,p,Object.assign({},e))),color:(0,o.normalizeProps)((0,o.createComponentVNode)(2,m,Object.assign({},e))),icon:(0,o.normalizeProps)((0,o.createComponentVNode)(2,h,Object.assign({},e))),flags:(0,o.normalizeProps)((0,o.createComponentVNode)(2,v,Object.assign({},e)))});return(0,o.createComponentVNode)(2,u.LabeledList.Item,{label:n,children:[i[{x:"float",y:"float",icon:"icon",render_source:"string",flags:"flags",size:"float",color:"color",offset:"float",radius:"float",falloff:"float",density:"int",threshold:"float",factor:"float",repeat:"int"}[n]]||"Not Found (This is an error)"," ",!r&&(0,o.createComponentVNode)(2,u.Box,{inline:!0,color:"average",children:"(Default)"})]})},b=function(e,t){var n=(0,c.useBackend)(t),r=n.act,i=n.data,a=e.name,l=e.filterDataEntry,d=l.type,f=l.priority,p=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(l,s),m=i.filter_info,h=Object.keys(m[d].defaults);return(0,o.createComponentVNode)(2,u.Collapsible,{title:a+" ("+d+")",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,u.NumberInput,{value:f,stepPixelSize:10,width:"60px",onChange:function(e,t){return r("change_priority",{name:a,new_priority:t})}}),(0,o.createComponentVNode)(2,u.Button.Input,{content:"Rename",placeholder:a,onCommit:function(e,t){return r("rename_filter",{name:a,new_name:t})},width:"90px"}),(0,o.createComponentVNode)(2,u.Button.Confirm,{icon:"minus",onClick:function(){return r("remove_filter",{name:a})}})],4),children:(0,o.createComponentVNode)(2,u.Section,{level:2,children:(0,o.createComponentVNode)(2,u.LabeledList,{children:h.map((function(e){var t=m[d].defaults,n=p[e]||t[e],r=n!==t[e];return(0,o.createComponentVNode)(2,g,{filterName:a,filterType:d,name:e,value:n,hasValue:r},e)}))})})})};t.Filteriffic=function(e,t){var n=(0,c.useBackend)(t),i=n.act,a=n.data,s=a.target_name||"Unknown Object",d=a.target_filter_data||{},f=0!==Object.keys(d).length,p=a.filter_info,m=(0,c.useLocalState)(t,"massApplyPath",""),h=m[0],v=m[1],g=(0,c.useLocalState)(t,"hidden",!1),C=g[0],y=g[1];return(0,o.createComponentVNode)(2,l.Window,{title:"Filteriffic",width:500,height:500,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,u.NoticeBox,{danger:!0,children:"DO NOT MESS WITH EXISTING FILTERS IF YOU DO NOT KNOW THE CONSEQUENCES. YOU HAVE BEEN WARNED."}),(0,o.createComponentVNode)(2,u.Section,{title:C?(0,o.createFragment)([(0,o.createComponentVNode)(2,u.Box,{mr:.5,inline:!0,children:"MASS EDIT:"}),(0,o.createComponentVNode)(2,u.Input,{value:h,width:"100px",onInput:function(e,t){return v(t)}}),(0,o.createComponentVNode)(2,u.Button.Confirm,{content:"Apply",confirmContent:"ARE YOU SURE?",onClick:function(){return i("mass_apply",{path:h})}})],4):(0,o.createComponentVNode)(2,u.Box,{inline:!0,onDblClick:function(){return y(!0)},children:s}),buttons:(0,o.createComponentVNode)(2,u.Dropdown,{icon:"plus",displayText:"Add Filter",nochevron:!0,options:Object.keys(p),onSelected:function(e){return i("add_filter",{name:"default",priority:10,type:e})}}),children:f?(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,b,{filterDataEntry:e,name:t},t)}))(d):(0,o.createComponentVNode)(2,u.Box,{children:"No filters"})})]})})}},24482:function(e,t,n){"use strict";t.__esModule=!0,t.GPS=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e){return e?"("+e.join(", ")+")":"ERROR"};t.GPS=function(e,t){var n=(0,r.useBackend)(t).data,c=n.emped,f=n.active,p=n.area,m=n.position,h=n.saved;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Flex,{direction:"column",height:"100%",children:c?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"0",children:(0,o.createComponentVNode)(2,u,{emp:!0})}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,l)}),f?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",children:(0,o.createComponentVNode)(2,s,{area:p,position:m})}),h&&(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",children:(0,o.createComponentVNode)(2,s,{title:"Saved Position",position:h})}),(0,o.createComponentVNode)(2,i.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,o.createComponentVNode)(2,d,{height:"100%"})})],0):(0,o.createComponentVNode)(2,u)],0)})})})};var u=function(e,t){var n=e.emp;return(0,o.createComponentVNode)(2,i.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,o.createComponentVNode)(2,i.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:n?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),n?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.active,l=c.tag,s=c.same_z,d=(0,r.useLocalState)(t,"newTag",l),f=d[0],p=d[1];return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",buttons:(0,o.createComponentVNode)(2,i.Button,{selected:u,icon:u?"toggle-on":"toggle-off",content:u?"On":"Off",onClick:function(){return a("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tag",children:[(0,o.createComponentVNode)(2,i.Input,{width:"5rem",value:l,onEnter:function(){return a("tag",{newtag:f})},onInput:function(e,t){return p(t)}}),(0,o.createComponentVNode)(2,i.Button,{disabled:l===f,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){return a("tag",{newtag:f})},children:(0,o.createComponentVNode)(2,i.Icon,{name:"pen"})})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Range",children:(0,o.createComponentVNode)(2,i.Button,{selected:!s,icon:s?"compress":"expand",content:s?"Local Sector":"Global",onClick:function(){return a("same_z")}})})]})})},s=function(e,t){var n=e.title,r=e.area,a=e.position;return(0,o.createComponentVNode)(2,i.Section,{title:n||"Position",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",children:[r&&(0,o.createFragment)([r,(0,o.createVNode)(1,"br")],0),c(a)]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.position,u=n.signals;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Section,Object.assign({title:"Signals",overflow:"auto"},e,{children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return Object.assign({},e,function(e,t){if(e&&t){if(e[2]!==t[2])return null;var n,o=Math.atan2(t[1]-e[1],t[0]-e[0]),r=Math.sqrt(Math.pow(t[1]-e[1],2)+Math.pow(t[0]-e[0],2));return{angle:(n=o,n*(180/Math.PI)),distance:r}}}(a,e.position))})).map((function(e,t){return(0,o.createComponentVNode)(2,i.Table.Row,{backgroundColor:t%2==0&&"rgba(255, 255, 255, 0.05)",children:[(0,o.createComponentVNode)(2,i.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:e.tag}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",color:"grey",children:e.area}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:e.distance!==undefined&&(0,o.createComponentVNode)(2,i.Box,{opacity:Math.max(1-Math.min(e.distance,100)/100,.5),children:[(0,o.createComponentVNode)(2,i.Icon,{name:e.distance>0?"arrow-right":"circle",rotation:-e.angle}),"\xa0",Math.floor(e.distance)+"m"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:c(e.position)})]},t)}))})})))}},19609:function(e,t,n){"use strict";t.__esModule=!0,t.GuestPass=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(52126);t.GuestPass=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"id-card",selected:!l.showlogs,onClick:function(){return u("mode",{mode:0})},children:"Issue Pass"}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{icon:"scroll",selected:l.showlogs,onClick:function(){return u("mode",{mode:1})},children:["Records (",l.issue_log.length,")"]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Authorization",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Card",children:(0,o.createComponentVNode)(2,i.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(){return u("scan")}})})})}),!l.showlogs&&(0,o.createComponentVNode)(2,i.Section,{title:"Issue Guest Pass",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Issue To",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.giv_name?l.giv_name:"-----",disabled:!l.scan_name,onClick:function(){return u("giv_name")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Reason",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.reason?l.reason:"-----",disabled:!l.scan_name,onClick:function(){return u("reason")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pencil-alt",content:l.duration?l.duration:"-----",disabled:!l.scan_name,onClick:function(){return u("duration")}})})]}),!!l.scan_name&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.AccessList,{grantableList:l.grantableList,accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(e){return u("access",{access:e})},grantAll:function(){return u("grant_all")},denyAll:function(){return u("clear_all")},grantDep:function(e){return u("grant_region",{region:e})},denyDep:function(e){return u("deny_region",{region:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:l.printmsg,disabled:!l.canprint,onClick:function(){return u("issue")}})],4)]}),!!l.showlogs&&(0,o.createComponentVNode)(2,i.Section,{title:"Issuance Log",children:!!l.issue_log.length&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.issue_log.map((function(e,t){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:e},t)}))}),(0,o.createComponentVNode)(2,i.Button,{icon:"print",content:"Print",disabled:!l.scan_name,onClick:function(){return u("print")}})],4)||(0,o.createComponentVNode)(2,i.Box,{children:"None."})})]})})}},96696:function(e,t,n){"use strict";t.__esModule=!0,t.Loader=t.ListInput=void 0;var o=n(96323),r=n(21118),i=n(97622),a=n(31246),c=n(26949),u=n(2381),l=n(57890),s=n(6965),d=0;t.ListInput=function(e,t){var n=(0,a.useBackend)(t),i=n.act,p=n.data,m=p.title,h=p.message,v=p.buttons,g=p.timeout,b=(0,a.useLocalState)(t,"search_bar",!1),C=b[0],y=b[1],N=(0,a.useLocalState)(t,"displayed_array",v),V=N[0],_=N[1],x=(0,a.useLocalState)(t,"search_array",[]),w=x[0],S=x[1],k=(0,a.useLocalState)(t,"search_index",0),E=k[0],B=k[1],I=(0,a.useLocalState)(t,"last_char_code",null),L=I[0],O=I[1],M=(0,a.useLocalState)(t,"selected_button",v[0]),A=M[0],T=M[1];return(0,o.createComponentVNode)(2,u.Window,{title:m,width:325,height:325,resizable:!0,children:[g!==undefined&&(0,o.createComponentVNode)(2,f,{value:g}),(0,o.createComponentVNode)(2,u.Window.Content,{children:(0,o.createComponentVNode)(2,c.Flex,{direction:"column",height:"100%",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{scrollable:!0,className:"ListInput__Section",width:"100%",fill:!0,title:h,tabIndex:0,onKeyDown:function(e){if(e.preventDefault(),(0,s.acquireHotKey)(l.KEY_DOWN),(0,s.acquireHotKey)(l.KEY_UP),!(d>performance.now())){if(d=performance.now()+125,e.keyCode===l.KEY_UP||e.keyCode===l.KEY_DOWN){var t=1;e.keyCode===l.KEY_UP&&(t=-1);for(var n=0;n<v.length&&v[n]!==A;n++);return(n+=t)<0?n=v.length-1:n>=v.length&&(n=0),T(v[n]),O(null),void document.getElementById(v[n]).focus()}if(e.keyCode!==l.KEY_SPACE&&e.keyCode!==l.KEY_ENTER){var o=String.fromCharCode(e.keyCode).toLowerCase();if(o){var r;if(o===L&&w.length>0){var a=E+1;a<w.length?(r=w[a],B(a)):(r=w[0],B(0))}else{var c=V.filter((function(e){return e.substring(0,1).toLowerCase()===o}));c.length>0&&(S(c),B(0),r=c[0])}r&&(O(o),T(r),document.getElementById(r).focus())}}else i("choose",{choice:A})}},buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"search",color:"transparent",selected:C,tooltip:"Search Bar",tooltipPosition:"left",onClick:function(){y(!C),_(v)},compact:!0}),children:(0,o.createComponentVNode)(2,c.Flex,{wrap:"wrap",children:V.map((function(e){return(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,c.Button,{color:"transparent",content:e,id:e,width:"100%",selected:A===e,onClick:function(){if(A===e)i("choose",{choice:e});else{T(e);for(var t=0;t<v.length&&v[t]!==e;t++);t<0?t=v.length-1:t>=v.length&&(t=0),O(null),document.getElementById(v[t]).focus()}O(null)}},null,{onComponentDidMount:function(t){A===e&&t.focus()}})},e)}))})})}),C&&(0,o.createComponentVNode)(2,c.Flex.Item,{mt:1,children:(0,o.createComponentVNode)(2,c.Input,{fluid:!0,onInput:function(e,t){return _(v.filter((0,r.createSearch)(t)))}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{mt:1,children:(0,o.createComponentVNode)(2,c.Flex,{textAlign:"center",children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,basis:0,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"bad",lineHeight:2,content:"Cancel",onClick:function(){return i("cancel")}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,basis:0,ml:1,children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,color:"good",lineHeight:2,content:"Confirm",disabled:null===A,onClick:function(){return i("choose",{choice:A})}})})]})})]})})]})};var f=function(e){var t=e.value;return(0,o.createVNode)(1,"div","ListInput__Loader",(0,o.createComponentVNode)(2,c.Box,{className:"ListInput__LoaderProgress",style:{width:100*(0,i.clamp01)(t)+"%"}}),2)};t.Loader=f},52954:function(e,t,n){"use strict";t.__esModule=!0,t.Lootcrate=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Lootcrate=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.code,s=u.buttons_pressed;return(0,o.createComponentVNode)(2,a.Window,{width:235,height:140,theme:"ntos",children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-9px",content:1,color:s[0]?1===l[0]||1===l[1]||1===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:1})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-14px",content:2,color:s[1]?2===l[0]||2===l[1]||2===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:2})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+6px",right:"-19px",content:3,color:s[2]?3===l[0]||3===l[1]||3===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:3})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-9px",content:4,color:s[3]?4===l[0]||4===l[1]||4===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:4})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-14px",content:5,color:s[4]?5===l[0]||5===l[1]||5===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:5})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+5px",right:"-19px",content:6,color:s[5]?6===l[0]||6===l[1]||6===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:6})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-9px",content:7,color:s[6]?7===l[0]||7===l[1]||7===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:7})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-14px",content:8,color:s[7]?8===l[0]||8===l[1]||8===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:8})}}),(0,o.createComponentVNode)(2,i.Button,{top:"+4px",right:"-19px",content:9,color:s[8]?9===l[0]||9===l[1]||9===l[2]?"good":"bad":null,onClick:function(){return c("test_for_luck",{number:9})}})]})]})})})})}},18707:function(e,t,n){"use strict";t.__esModule=!0,t.MafiaPanel=void 0;var o=n(96323),r=n(1060),i=(n(21118),n(31246)),a=n(26949),c=n(2381);t.MafiaPanel=function(e,t){var n,r=(0,i.useBackend)(t),m=r.act,h=r.data,v=h.actions,g=h.phase,b=h.roleinfo,C=h.role_theme,y=h.admin_controls;return(0,o.createComponentVNode)(2,c.Window,{title:"\u041c\u0430\u0444\u0438\u044f",theme:C,width:650,height:580,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,u)}),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,l)}),null==v?void 0:v.map((function(e){return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return m("mf_action",{atype:e})},children:e})},e)})),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,d)}),"\u041d\u0435\u0442 \u0418\u0433\u0440\u044b"!==g&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:1.34,basis:0,children:(0,o.createComponentVNode)(2,f)}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:1,basis:0,children:(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,s)}),!!b&&(0,o.createComponentVNode)(2,a.Stack.Item,{height:"80px",children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,children:null==(n=b.action_log)?void 0:n.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:e},e)}))})})]})})]})}),!!y&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,p)})]})})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.lobbydata,l=c.phase,s=c.timeleft,d=u?u.filter((function(e){return"\u0413\u043e\u0442\u043e\u0432"===e.status})):null;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"Lobby",buttons:(0,o.createFragment)([(0,o.createTextVNode)("\u0421\u0442\u0430\u0434\u0438\u044f = "),l,(0,o.createTextVNode)(" | "),(0,o.createComponentVNode)(2,a.TimeDisplay,{auto:"down",value:s}),(0,o.createTextVNode)(" "),(0,o.createComponentVNode)(2,a.Button,{icon:"clipboard-check",tooltipPosition:"bottom-start",tooltip:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f \u0432 \u0438\u0433\u0440\u0443. \u0415\u0441\u043b\u0438 \u043e\u043d\u0430 \u0443\u0436\u0435 \u0438\u0434\u0451\u0442, \u0442\u043e\n\u0412\u044b \u0432\u043e\u0439\u0434\u0451\u0442\u0435 \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e.",content:"\u0412\u043e\u0439\u0442\u0438",onClick:function(){return r("mf_signup")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",tooltipPosition:"bottom-start",tooltip:"\u0412\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u0435\u043b\u0435\u043c, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0412\u044b\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u043e.\n\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u0412\u044b \u0443\u043c\u0438\u0440\u0430\u0435\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0438\u0433\u0440\u044b.\n\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c, \u0435\u0441\u043b\u0438 \u0412\u044b \u0432\u043e\u0439\u0434\u0451\u0442\u0435 \u0432 \u0440\u0430\u0443\u043d\u0434.",content:"\u041d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c",onClick:function(){return r("mf_spectate")}})],0),children:[(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:["\u0412 \u043b\u043e\u0431\u0431\u0438 ",d?d.length:"0","/12 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u0445 \u0438\u0433\u0440\u043e\u043a\u043e\u0432."]}),null==u?void 0:u.map((function(e){return(0,o.createComponentVNode)(2,a.Stack,{className:"candystripe",p:1,align:"baseline",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:"\u0421\u0442\u0430\u0442\u0443\u0441:"}),(0,o.createComponentVNode)(2,a.Stack.Item,{color:"\u0413\u043e\u0442\u043e\u0432"===e.status?"green":"red",children:[e.spectating," ",e.status]})]},e)}))]})},l=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=c.phase,l=c.roleinfo,s=c.timeleft;return(0,o.createComponentVNode)(2,a.Section,{title:u,minHeight:"100px",maxHeight:"50px",buttons:(0,o.createComponentVNode)(2,a.Box,{style:{"font-family":"Consolas, monospace","font-size":"14px","line-height":1.5,"font-weight":"bold"},children:(0,o.createComponentVNode)(2,a.TimeDisplay,{auto:"down",value:s})}),children:(0,o.createComponentVNode)(2,a.Stack,{align:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:["\u0412\u044b - ",l.role]}),(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:l.desc})]}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:[(0,o.createComponentVNode)(2,a.Box,{className:(0,r.classes)(["mafia32x32",l.revealed_icon]),style:{transform:"scale(2) translate(0px, 10%)","vertical-align":"middle"}}),(0,o.createComponentVNode)(2,a.Box,{className:(0,r.classes)(["mafia32x32",l.hud_icon]),style:{transform:"scale(2) translate(-5px, -5px)","vertical-align":"middle"}})]})]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.all_roles;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"\u0420\u043e\u043b\u0438 \u0438 \u0417\u0430\u043c\u0435\u0442\u043a\u0438",minHeight:"120px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"address-book",tooltipPosition:"bottom-start",tooltip:"\u0412\u0435\u0440\u0445\u043d\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b - \u044d\u0442\u043e \u0440\u043e\u043b\u0438 \u0432 \u0438\u0433\u0440\u0435. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0430 \u0437\u043d\u0430\u043a \u0432\u043e\u043f\u0440\u043e\u0441\u0430,\n\u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0440\u043e\u043b\u0438."}),(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"edit",tooltipPosition:"bottom-start",tooltip:"\u041d\u0438\u0436\u043d\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043b - \u0432\u0430\u0448\u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u0435 \u0437\u0430\u043c\u0435\u0442\u043a\u0438. \u041d\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0440\u043e\u043b\u044f\u0445 \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0441\u0442\u043e\u0439,\n\u043d\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0442\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f(\u0434\u0435\u0442\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0435 \u0440\u0430\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f)"})],4),children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:null==c?void 0:c.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{height:"30px",className:"Section__title candystripe",children:(0,o.createComponentVNode)(2,a.Flex,{height:"18px",align:"center",justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:e}),(0,o.createComponentVNode)(2,a.Flex.Item,{textAlign:"right",children:(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"question",onClick:function(){return r("mf_lookup",{atype:e.slice(0,-3)})}})})]})},e)}))})})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.judgement_phase;return(0,o.createComponentVNode)(2,a.Section,{title:"\u0421\u0443\u0434",buttons:(0,o.createComponentVNode)(2,a.Button,{color:"transparent",icon:"info",tooltipPosition:"left",tooltip:"\u041a\u043e\u0433\u0434\u0430 \u043a\u043e\u0433\u043e-\u0442\u043e \u0441\u0443\u0434\u044f\u0442, \u0432\u044b \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u0435\u0433\u043e \u0441\u0443\u0434\u044c\u0431\u0443.\n\u041f\u043e\u0431\u0435\u0434\u0430 \u041d\u0415\u0412\u0418\u041d\u041e\u0412\u0415\u041d \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0447\u0435\u043b\u043e\u0432\u0435\u043a \u0441\u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0435\u0449\u0451 \u043e\u0434\u0438\u043d \u0434\u0435\u043d\u044c,\n\u043d\u043e... \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u043e\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u044d\u0442\u043e\u0433\u043e \u0443\u0436\u0435 \u043d\u0435 \u0441\u043b\u0443\u0447\u0438\u0442\u0441\u044f.\n\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0442\u044c, \u043d\u0430\u0436\u0430\u0432 \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u044e\u044e \u043a\u043d\u043e\u043f\u043a\u0443."}),children:[(0,o.createComponentVNode)(2,a.Flex,{justify:"space-around",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"smile-beam",content:"\u041d\u0415\u0412\u0418\u041d\u041e\u0412\u0415\u041d!",color:"good",disabled:!c,onClick:function(){return r("vote_innocent")}}),!c&&(0,o.createComponentVNode)(2,a.Box,{children:"\u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u0441\u0443\u0434\u0438\u0442\u0441\u044f."}),!!c&&(0,o.createComponentVNode)(2,a.Box,{children:"\u0412\u0440\u0435\u043c\u044f \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f. \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u0443\u0439 \u0438\u043b\u0438 \u0432\u043e\u0437\u0434\u0435\u0440\u0436\u0438\u0441\u044c."}),(0,o.createComponentVNode)(2,a.Button,{icon:"angry",color:"bad",disabled:!c,onClick:function(){return r("vote_guilty")},children:"\u0412\u0418\u041d\u041e\u0412\u0415\u041d!"})]}),(0,o.createComponentVNode)(2,a.Flex,{justify:"center",children:(0,o.createComponentVNode)(2,a.Button,{icon:"meh",color:"white",disabled:!c,onClick:function(){return r("vote_abstain")},children:"\u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0442\u044c\u0441\u044f"})})]})},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.players;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!0,title:"\u0418\u0433\u0440\u0430\u0446\u0444\u043e\u043a\u0438",children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:null==c?void 0:c.map((function(e){var t;return(0,o.createComponentVNode)(2,a.Flex.Item,{height:"30px",className:"Section__title candystripe",children:(0,o.createComponentVNode)(2,a.Stack,{height:"18px",align:"center",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,color:!e.alive&&"red",children:[e.name," ",!e.alive&&"(\u041c\u0401\u0420\u0422\u0412)"]}),(0,o.createComponentVNode)(2,a.Stack.Item,{shrink:0,children:e.votes!==undefined&&!!e.alive&&"\u0413\u043e\u043b\u043e\u0441\u0430: "+e.votes}),(0,o.createComponentVNode)(2,a.Stack.Item,{shrink:0,minWidth:"42px",textAlign:"center",children:null==(t=e.actions)?void 0:t.map((function(t){return(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("mf_targ_action",{atype:t,target:e.ref})},children:t},t)}))})]})},e.ref)}))})})},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Collapsible,{title:"\u0410\u0414\u041c\u0418\u041d \u041f\u0410\u041d\u0415\u041b\u042c \u0423\u041f\u0420\u0410\u0412\u041b\u0415\u041d\u0418\u042f",color:"red",children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Collapsible,{title:"\u041f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u041a\u043e\u0434\u0435\u0440\u043e\u0432!",color:"transparent",children:"\u041f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u044d\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043c\u043e\u0447\u044c \u043c\u043d\u0435 \u043e\u0442\u043b\u0430\u0434\u0438\u0442\u044c \u0438\u0433\u0440\u0443 (\u043e\u0439, \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0438\u0433\u0440\u044b \u043d\u0430 12 \u0438\u0433\u0440\u043e\u043a\u043e\u0432!). \u0422\u0430\u043a \u0447\u0442\u043e, \u043e\u043d\u043e \u0432\u0441\u0435 \u0433\u0440\u0443\u0431\u043e\u0432\u0430\u0442\u043e\u0435 \u0438 \u0441\u043a\u043b\u043e\u043d\u043d\u043e \u043b\u043e\u043c\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u043c\u0430\u043b\u0435\u0439\u0448\u0435\u043c\u0443 \u043f\u043e\u0432\u043e\u0434\u0443. \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0412\u044b \u0437\u043d\u0430\u0435\u0442\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438, \u043a\u043e\u0433\u0434\u0430 \u0436\u043c\u0451\u0442\u0435 \u043d\u0430 \u043d\u0435\u0451. \u0422\u0430\u043a \u0436\u0435(\u043e\u0434\u0438\u043d \u0438\u0437 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u0432 \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b), \u043d\u0438\u043a\u043e\u0433\u043e \u043d\u0435 \u0433\u0438\u0431\u0430\u0439\u0442\u0435 \u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u0439\u0442\u0435 \u043b\u044e\u0431\u044b\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438! \u042d\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u0434\u0451\u0442 \u043a \u0440\u0430\u043d\u0442\u0430\u0439\u043c\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0432\u0441\u044e \u0438\u0433\u0440\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043b\u043e\u043c\u0430\u0435\u0442 \u0441\u0435\u0440\u0432\u0435\u0440!"}),(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("next_phase")},children:"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u0441\u0442\u0430\u0434\u0438\u044f"}),(0,o.createComponentVNode)(2,a.Button,{icon:"home",onClick:function(){return r("players_home")},tooltip:"\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0412\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u043d\u0430\u0436\u0438\u043c\u0430\u0442\u044c \u044d\u0442\u0443 \u043a\u043d\u043e\u043f\u043a\u0443 \u043e\u0447\u0435\u043d\u044c \u0447\u0430\u0441\u0442\u043e,\n\u044d\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0438\u0433\u0440\u043e\u043a\n\u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0431\u0435\u0433\u0430\u0435\u0442 (nullspace, \u0442\u0435\u043b\u0435\u043f\u043e\u0440\u0442\u0430\u0446\u0438\u0438, \u043e\u0442\u043a\u0440\u044b\u0442\u0430\u044f \u0434\u0432\u0435\u0440\u044c).\n\u0412 \u043b\u044e\u0431\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u041e\u0427\u0415\u041d\u042c \u041f\u041b\u041e\u0425\u041e \u0415\u0421\u041b\u0418 \u042d\u0422\u041e \u041f\u0420\u041e\u0418\u0417\u041e\u0419\u0414\u0415\u0422.\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u044d\u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0433\u0440\u043e\u043a\u043e\u0432 \u0432\u0435\u0440\u043d\u0443\u0442\u044c, \u0430 \u0437\u0430\u0442\u0435\u043c \u0441\u043e\u043e\u0431\u0449\u0438 \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431.",children:"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0412\u0441\u0435\u0445 \u0414\u043e\u043c\u043e\u0439"}),(0,o.createComponentVNode)(2,a.Button,{icon:"sync-alt",onClick:function(){return r("new_game")},tooltip:"\u042d\u0442\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0435\u0442 \u0442\u0435\u043a\u0443\u0449\u0443\u044e \u0438\u0433\u0440\u0443 \u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0447\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e",children:"\u041d\u043e\u0432\u0430\u044f \u0418\u0433\u0440\u0430"}),(0,o.createComponentVNode)(2,a.Button,{icon:"skull",onClick:function(){return r("nuke")},tooltip:"\u0423\u0434\u0430\u043b\u044f\u0435\u0442 \u0434\u0430\u0442\u0443\u043c\u044b, \u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u0432\u0441\u0435 landmarks, \u0443\u0431\u0438\u0432\u0430\u0435\u0442 \u0432\u0441\u0435\u0445 \u0436\u0438\u0442\u0435\u043b\u0435\u0439 \u0438 \u043c\u0430\u0444\u0438\u044e,\n\u0441\u0442\u0438\u0440\u0430\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u0438\u0433\u0440\u044b. \u041d\u0430\u0436\u043c\u0438 \u044d\u0442\u043e, \u0435\u0441\u043b\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u0441\u0451 \u043f\u043e\u043b\u043e\u043c\u0430\u043d\u043e.\n\u0422\u044b \u0432\u0435\u0434\u044c \u0443\u0436\u0435 \u0432\u0441\u0451 \u0441\u043b\u043e\u043c\u0430\u043b, \u043d\u0435 \u0442\u0430\u043a \u043b\u0438?",children:"Nuke"}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Button,{icon:"paint-brush",onClick:function(){return r("debug_setup")},tooltip:"\u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u0438\u0433\u0440\u044b, \u044d\u0442\u043e \u0442\u0430\u043a... \u043f\u0440\u043e\u0441\u0442\u043e.\n\u0412\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0435 \u0440\u043e\u043b\u044c \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043d\u0430\u0436\u043c\u0451\u0442\u0435 CANCEL \u0438\u043b\u0438 FINISH.\n\u0421\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0440\u0430\u0443\u043d\u0434\u0430, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438.",children:"\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0421\u0432\u043e\u044e \u0418\u0433\u0440\u0443"}),(0,o.createComponentVNode)(2,a.Button,{icon:"paint-roller",onClick:function(){return r("cancel_setup")},tooltip:"\u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0443\u0442\u0430\u043b\u0438, \u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u044e\u0434\u0430 \u043d\u0430\u0436\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443.\n\u0418\u0433\u0440\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u0442 \u0435\u0451 \u043f\u043e\u0441\u043b\u0435 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0433\u0440\u044b.",children:"\u0421\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0421\u0432\u043e\u044e \u0418\u0433\u0440\u0443"})]})})}},55712:function(e,t,n){"use strict";t.__esModule=!0,t.Minesweeper=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Minesweeper=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.width,s=u.height,d=u.grid,f=u.mines,p={"\u2000":"#ffffff",1:"#0092cc",2:"#779933",3:"#ff3333",4:"#087099",5:"#cc3333",6:"#A6B2EC",7:"#600095",8:"#E5E5E5"};return(0,o.createComponentVNode)(2,a.Window,{width:l,height:s+32,title:f,className:"Minesweeper__Window",children:(0,o.createComponentVNode)(2,a.Window.Content,{fitted:!0,height:s+32,children:d.map((function(e){return(0,o.createFragment)([e.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{className:"Minesweeper__Button",disabled:"empty"===e.state?1:0,textColor:p[e.nearest],content:(0,o.createComponentVNode)(2,i.Box,{className:"Minesweeper__Button-Content",children:e.flag?(0,o.createComponentVNode)(2,i.Icon,{name:"flag",color:"#e73409"}):e.nearest}),onClick:function(){return c("button_press",{choice_x:e.x,choice_y:e.y})},onContextMenu:function(t){t.preventDefault(),c("button_flag",{choice_x:e.x,choice_y:e.y})}},t)})),(0,o.createVNode)(1,"br")],0)}))})})}},48078:function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(11409);t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=l.unclaimedPoints,f=(l.ores,l.showAllOres,l.power);l.speed,l.ore_values;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,u.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:f,onClick:function(){return r("power")},children:f?"Processing":"Disabled"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:d<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:d})})})}),(0,o.createComponentVNode)(2,s)]})})};var l=["Not Processing","Smelting","Compressing","Alloying"],s=function(e,t){var n=(0,i.useBackend)(t),c=n.act,u=n.data,s=u.ores,d=u.showAllOres,f=u.ore_values;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){return c("showAllOres")},children:d?"All Ores":"Ores in Machine"}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.ore),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:l,selected:l[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:l.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.Collapsible,{title:"Mineral Value List",children:f.length&&f.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),children:[e.amount," points"]},e.name)}))})})})]})}},98948:function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),u=n.act,l=n.data,s=l.stacktypes,d=l.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:d,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return u("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),s.length&&s.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return u("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},70496:function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(11409),l=n(1060),s=["title","items"];var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:410,height:450,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,u.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f)]})})};var f=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=c.has_id,l=c.id,s=c.items,f=(0,i.useLocalState)(t,"search",""),p=f[0],h=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),v=h[0],g=(h[1],(0,i.useLocalState)(t,"descending",!1)),b=g[0],C=(g[1],(0,r.createSearch)(p,(function(e){return e[0]}))),y=!1,N=Object.entries(s).map((function(e,t){var n=Object.entries(e[1]).filter(C).map((function(e){return e[1].affordable=u&&l.points>=e[1].price,e[1]})).sort(d[v]);if(0!==n.length)return b&&(n=n.reverse()),y=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",children:y?N:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})},p=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),u=(c[0],c[1]),l=(0,i.useLocalState)(t,"descending",!1),s=l[0],f=l[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",autoFocus:!0,onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return u(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){return f(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=e.title,d=e.items,f=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,s);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:u},f,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:(0,o.createVNode)(1,"span",(0,l.classes)(["equipment_locker32x32",e.path]),null,1,{style:{"vertical-align":"middle","horizontal-align":"middle"}})}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"certificate",disabled:!c.has_id||c.id.points<e.price,content:e.price.toLocaleString("en-US"),onClick:function(){return r("purchase",{cat:u,name:e.name})}})})]},e.name)}))})))}},72160:function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBoard=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.NoticeBoard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data.notices,l=void 0===u?{}:u;return(0,o.createComponentVNode)(2,a.Window,{width:425,height:176,children:(0,o.createComponentVNode)(2,a.Window.Content,{backgroundColor:"#704D25",children:l.length?l.map((function(e){return(0,o.createComponentVNode)(2,i.Flex,{color:"black",backgroundColor:"white",style:{padding:"2px 2px 0 2px"},mb:.5,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{align:"center",grow:1,children:(0,o.createComponentVNode)(2,i.Box,{align:"center",children:e.name})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[e.isphoto&&(0,o.createComponentVNode)(2,i.Button,{icon:"image",content:"Look",onClick:function(){return c("look",{ref:e.ref})}})||e.ispaper&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"eye",onClick:function(){return c("read",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",onClick:function(){return c("write",{ref:e.ref})}})],4)||"Unknown Entity",(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return c("remove",{ref:e.ref})}})]})]},e.ref)})):(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.Box,{color:"white",align:"center",children:"The notice board is empty!"})})})})}},83271:function(e,t,n){"use strict";t.__esModule=!0,t.NuclearBomb=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.code,l=c.hasDisk,s=c.deployed;return(0,o.createComponentVNode)(2,i.Box,{width:"218px",align:"center",children:(0,o.createComponentVNode)(2,i.Grid,{width:"35%",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,i.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"20px",height:"25px",lineHeight:1.25,disabled:"ERROR"===u&&"R"!==e||!l||!s,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};t.NuclearBomb=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.deployed,d=l.timing,f=l.timeLeft,p=l.safety,m=l.hasDisk,h=l.authorized,v=l.code,g=l.timerMin,b=l.timerMax;return(0,o.createComponentVNode)(2,a.Window,{width:237,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",fill:!0,buttons:(0,o.createComponentVNode)(2,i.Button,{color:s?"green":"red",content:s?"Deployed":"Undeployed",icon:"power-off",disabled:!p||d,onClick:function(){return u("deploy")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Authentication Disk",children:(0,o.createComponentVNode)(2,i.Button,{selected:m,icon:"eject",content:m?"Inserted":"None",disabled:!s,onClick:function(){return u(m?"ejectDisk":"insertDisk")}})})}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{fontSize:"25px",textAlign:"center",position:"center",children:v&&v||(0,o.createComponentVNode)(2,i.Box,{textColor:h?"green":"red",children:h?"ALLOWED":m?"ENTER CODE":s?"INSERT DISK":"DEPLOY"})}),(0,o.createComponentVNode)(2,c),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time Left",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f/b,ranges:{good:[.65,Infinity],average:[.25,.65],bad:[-Infinity,.25]},children:[f," seconds"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Time Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:!h||f<=g,width:"23.5%",onClick:function(){return u("adjustTimer",{time:g})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:!h||f<=g,width:"23.5%",onClick:function(){return u("adjustTimer",{time:f-5})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:!h||f>=b,width:"23.5%",onClick:function(){return u("adjustTimer",{time:f+5})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:!h||f>=b,width:"23.5%",onClick:function(){return u("adjustTimer",{time:b})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Safety",children:(0,o.createComponentVNode)(2,i.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"Enabled":"Disabled",disabled:!h||d&&!p,onClick:function(){return u("toggleSafety")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Timer",children:(0,o.createComponentVNode)(2,i.Button,{selected:d,icon:"power-off",disabled:!h||p,content:d?"Enabled":"Disabled",onClick:function(){return u("bombSet")}})})]})]})})})}},64427:function(e,t,n){"use strict";t.__esModule=!0,t.Orbit=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381);function u(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var s=/ \(([0-9]+)\)$/,d=function(e){return(0,r.createSearch)(e,(function(e){return e.name}))},f=function(e,t){return e<t?-1:e>t},p=function(e,t){var n=e.name,o=t.name;if(!n||!o)return 0;var r=n.match(s),i=o.match(s);return r&&i&&n.replace(s,"")===o.replace(s,"")?parseInt(r[1],10)-parseInt(i[1],10):f(n,o)},m=function(e,t){var n=(0,i.useBackend)(t).act,r=e.searchText,c=e.source,u=e.title,l=c.filter(d(r));return l.sort(p),c.length>0&&(0,o.createComponentVNode)(2,a.Section,{title:u+" - ("+c.length+")",children:l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,onClick:function(){return n("orbit",{ref:e.ref})}},e.name)}))})},h=function(e,t){var n=(0,i.useBackend)(t).act,r=e.color,c=e.thing;return(0,o.createComponentVNode)(2,a.Button,{color:r,onClick:function(){return n("orbit",{ref:c.ref})},children:c.name})};t.Orbit=function(e,t){for(var n,r=(0,i.useBackend)(t),l=r.act,s=r.data,v=s.alive,g=s.antagonists,b=s.dead,C=s.ghosts,y=s.misc,N=s.npcs,V=(0,i.useLocalState)(t,"searchText",""),_=V[0],x=V[1],w={},S=u(g);!(n=S()).done;)for(var k,E=n.value,B=u(E.antag);!(k=B()).done;){var I=k.value;w[I]===undefined&&(w[I]=[]),w[I].push(E)}var L=Object.entries(w);L.sort((function(e,t){return f(e[0],t[0])}));return(0,o.createComponentVNode)(2,c.Window,{children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Icon,{name:"search",mr:1})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search...",autoFocus:!0,fluid:!0,value:_,onInput:function(e,t){return x(t)},onEnter:function(e,t){return function(e){for(var t=0,n=[L.map((function(e){return e[0],e[1]})),v,C,b,N,y];t<n.length;t++){var o=n[t].filter(d(e)).sort(p)[0];if(o!==undefined){l("orbit",{ref:o.ref});break}}}(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Divider,{vertical:!0})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{inline:!0,color:"transparent",tooltip:"Refresh",tooltipPosition:"bottom-start",icon:"sync-alt",onClick:function(){return l("refresh")}})})]})}),g.length>0&&(0,o.createComponentVNode)(2,a.Section,{title:"Antagonists",children:L.map((function(e){var t=e[0],n=e[1];return(0,o.createComponentVNode)(2,a.Section,{title:t,level:2,children:n.filter(d(_)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"bad",thing:e},e.name)}))},t)}))}),(0,o.createComponentVNode)(2,a.Section,{title:"Alive - ("+v.length+")",children:v.filter(d(_)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"good",thing:e},e.name)}))}),(0,o.createComponentVNode)(2,a.Section,{title:"Ghosts - ("+C.length+")",children:C.filter(d(_)).sort(p).map((function(e){return(0,o.createComponentVNode)(2,h,{color:"grey",thing:e},e.name)}))}),(0,o.createComponentVNode)(2,m,{title:"Dead",source:b,searchText:_}),(0,o.createComponentVNode)(2,m,{title:"NPCs",source:N,searchText:_}),(0,o.createComponentVNode)(2,m,{title:"Misc",source:y,searchText:_})]})})}},21293:function(e,t,n){"use strict";t.__esModule=!0,t.Particool=void 0;var o=n(96323),r=n(97622),i=n(97622),a=n(31246),c=n(26949),u=n(2381),l=n(79926),s=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createComponentVNode)(2,c.NumberInput,{value:n,stepPixelSize:5,width:"39px",onDrag:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"int"}})}})},d=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return n=n||[0,0,0,0,0,0],(0,o.createComponentVNode)(2,c.Flex,{children:(0,o.createComponentVNode)(2,c.Flex.Item,{children:n.map((function(e,t){return(0,o.createComponentVNode)(2,c.NumberInput,{value:e,onDrag:function(e,o){n[t]=o,i("modify_particle_value",{new_data:{name:r,value:n,type:"matrix"}})}},t)}))})})},f=function(e,t){var n=e.value,u=e.name,l=(0,a.useBackend)(t).act,s=(0,a.useLocalState)(t,"particleFloatStep",.01),d=s[0],f=s[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.NumberInput,{value:n,stepPixelSize:4,step:d,format:function(e){return(0,r.toFixed)(e,(0,i.numberOfDecimalDigits)(d))},width:"80px",onDrag:function(e,t){return l("modify_particle_value",{new_data:{name:u,value:t,type:"float"}})}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,ml:2,mr:1,children:"Step:"}),(0,o.createComponentVNode)(2,c.NumberInput,{value:d,step:.001,format:function(e){return(0,r.toFixed)(e,4)},width:"70px",onChange:function(e,t){return f(t)}})],4)},p=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act,u="",s="",d="",f="";if(l.logger.log(n),n){var p=n.match(/\((.*)\)/);if(4===(p=(p=p||["","","",""])[1].split(", ")).length){u=p[0],f=p[1];var m=p[2].match(/\((.*)\)/);s=m?m[1]:m;var h=p[3].match(/\((.*)\)/);d=h?h[1]:p[3]}}var v=(0,a.useLocalState)(t,r+"genType",u),g=v[0],b=v[1],C=(0,a.useLocalState)(t,r+"a",s),y=C[0],N=C[1],V=(0,a.useLocalState)(t,r+"b",d),_=V[0],x=V[1],w=(0,a.useLocalState)(t,r+"rand",f),S=w[0],k=w[1];return(0,o.createComponentVNode)(2,c.Collapsible,{title:"Generator Settings - Hit Set to save",children:(0,o.createComponentVNode)(2,c.Section,{level:2,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:g,children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:""+["num","vector","box","color","circle","sphere","square","cube"].join(", "),children:(0,o.createComponentVNode)(2,c.Input,{value:g,onInput:function(e,t){return b(t)}})})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"A",children:(0,o.createComponentVNode)(2,c.Input,{value:y,onInput:function(e,t){return N(t)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"B",children:(0,o.createComponentVNode)(2,c.Input,{value:_,onInput:function(e,t){return x(t)}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Rand Type",children:(0,o.createComponentVNode)(2,c.Tooltip,{position:"bottom",content:""+["UNIFORM_RAND","NORMAL_RAND","LINEAR_RAND","SQUARE_RAND"].join(", "),children:(0,o.createComponentVNode)(2,c.Input,{value:S,onInput:function(e,t){return k(t)}})})})]}),(0,o.createComponentVNode)(2,c.Button,{content:"Set",onClick:function(){return l.logger.log(g),void i("modify_particle_value",{new_data:{name:r,value:{genType:g,a:y,b:_,rand:S},type:"generator"}})}})]})})},m=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createComponentVNode)(2,c.Input,{value:n,width:"250px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"string"}})}})},h=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act,u=n?Object.keys(n).map((function(e){return n[e]})):[];return(0,o.createComponentVNode)(2,c.Input,{value:u.join(","),width:"250px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"numList"}})}})},v=function(e,t){var n=e.value,r=e.name,i=(0,a.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",onClick:function(){return i("modify_color_value")}}),(0,o.createComponentVNode)(2,c.ColorBox,{color:n,mr:.5}),(0,o.createComponentVNode)(2,c.Input,{value:n,width:"90px",onInput:function(e,t){return i("modify_particle_value",{new_data:{name:r,value:t,type:"color"}})}})],4)},g=function(e,t){var n=e.value,r=(0,a.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pencil-alt",onClick:function(){return r("modify_icon_value")}}),(0,o.createComponentVNode)(2,c.Box,{inline:!0,ml:1,children:n})],4)},b={width:"float",height:"float",count:"int",spawning:"float",bound1:"numlist",bound2:"numlist",gravity:"numlist",gradient:"string",transform:"matrix",lifespan:"float",fade:"float",icon:"icon",icon_state:"string",color:"color",color_change:"float",position:"generator",velocity:"generator",scale:"generator",grow:"generator",rotation:"float",spin:"float",friction:"float",drift:"generator"},C=function(e,t){var n=e.name,r={int:(0,o.normalizeProps)((0,o.createComponentVNode)(2,s,Object.assign({},e))),float:(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({},e))),string:(0,o.normalizeProps)((0,o.createComponentVNode)(2,m,Object.assign({},e))),numlist:(0,o.normalizeProps)((0,o.createComponentVNode)(2,h,Object.assign({},e))),color:(0,o.normalizeProps)((0,o.createComponentVNode)(2,v,Object.assign({},e))),icon:(0,o.normalizeProps)((0,o.createComponentVNode)(2,g,Object.assign({},e))),generator:(0,o.normalizeProps)((0,o.createComponentVNode)(2,p,Object.assign({},e))),matrix:(0,o.normalizeProps)((0,o.createComponentVNode)(2,d,Object.assign({},e)))};return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:n,children:r[b[n]]||"Not Found (This is an error)"})},y=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data,e.particle);return(0,o.createComponentVNode)(2,c.LabeledList,{children:Object.keys(b).map((function(e){var t=r[e];return(0,o.createComponentVNode)(2,C,{name:e,value:t},e)}))})},N=function(){return(0,o.createComponentVNode)(2,c.Collapsible,{title:"Generator Help",children:[(0,o.createComponentVNode)(2,c.Section,{level:2}),(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createVNode)(1,"table",null,(0,o.createVNode)(1,"tbody",null,[(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"Generator type",16),(0,o.createVNode)(1,"td",null,"Result type",16),(0,o.createVNode)(1,"td",null,"Description",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"num",16),(0,o.createVNode)(1,"td",null,"num",16),(0,o.createVNode)(1,"td",null,"A random number between A and B.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector on a line between A and B.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"box",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector within a box whose corners are at A and B",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"color",16),(0,o.createVNode)(1,"td",null,"color (string) or color matrix",16),(0,o.createVNode)(1,"td",null,"Result type depends on whether A or B are matrices or not. The result is interpolated between A and B; components are not randomized separately.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"circle",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random XY-only vector in a ring between radius A and B, centered at 0,0.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"sphere",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector in a spherical shell between radius A and B, centered at 0,0,0.",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"square",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random XY-only vector between squares of sizes A and B. (The length of the square is between A*2 and B*2, centered at 0,0.)",16)],4),(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td",null,"cube",16),(0,o.createVNode)(1,"td",null,"vector",16),(0,o.createVNode)(1,"td",null,"A random vector between cubes of sizes A and B. (The length of the cube is between A*2 and B*2, centered at 0,0,0.)",16)],4)],4),2)})]})};t.Particool=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.target_particle||{},s=l&&Object.keys(l).length>0;return(0,o.createComponentVNode)(2,u.Window,{title:"Particool",width:700,height:500,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.NoticeBox,{danger:!0,children:[" ",String(Date.now())," ",(0,o.createVNode)(1,"br"),"Particles? ",s.toString()," -",(null===i.target_particle).toString()," ",(0,o.createVNode)(1,"br"),"dazta Json - ",JSON.stringify(i.target_particle)]}),(0,o.createComponentVNode)(2,c.Section,{title:(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:"Particle"}),buttons:s?(0,o.createComponentVNode)(2,c.Button.Confirm,{icon:"minus",content:"Remove Particle",onClick:function(){return r("remove_particle")}}):(0,o.createComponentVNode)(2,c.Button,{icon:"plus",content:"Add Particle",onClick:function(){return r("add_particle")}}),children:[(0,o.createComponentVNode)(2,N),s?(0,o.createComponentVNode)(2,y,{particle:l}):(0,o.createComponentVNode)(2,c.Box,{children:"No particle"})]})]})})}},28508:function(e,t,n){"use strict";t.__esModule=!0,t.Photocopier=void 0;var o=n(96323),r=n(26949),i=n(31246),a=n(2381);t.Photocopier=function(e,t){var n=(0,i.useBackend)(t).data,s=n.isAI,d=n.has_toner,f=n.has_item;return(0,o.createComponentVNode)(2,a.Window,{title:"Photocopier",width:240,height:s?309:234,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[d?(0,o.createComponentVNode)(2,c):(0,o.createComponentVNode)(2,r.Section,{title:"Toner",children:(0,o.createComponentVNode)(2,r.Box,{color:"average",children:"No inserted toner cartridge."})}),f?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,r.Section,{title:"Options",children:(0,o.createComponentVNode)(2,r.Box,{color:"average",children:"No inserted item."})}),!!s&&(0,o.createComponentVNode)(2,l)]})})};var c=function(e,t){var n=(0,i.useBackend)(t),a=(n.act,n.data),c=a.max_toner,u=a.current_toner,l=.66*c,s=.33*c;return(0,o.createComponentVNode)(2,r.Section,{title:"Toner",children:(0,o.createComponentVNode)(2,r.ProgressBar,{ranges:{good:[l,c],average:[s,l],bad:[0,s]},value:u,minValue:0,maxValue:c})})},u=function(e,t){var n=(0,i.useBackend)(t),a=n.act,c=n.data,u=c.num_copies;c.has_enough_toner;return(0,o.createComponentVNode)(2,r.Section,{title:"Options",children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{mt:.4,width:11,color:"label",children:"Make copies:"}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.NumberInput,{animate:!0,width:2.6,height:1.65,step:1,stepPixelSize:8,minValue:1,maxValue:10,value:u,onDrag:function(e,t){return a("set_copies",{num_copies:t})}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Button,{ml:.2,icon:"copy",textAlign:"center",onClick:function(){return a("make_copy")},children:"Copy"})})]}),(0,o.createComponentVNode)(2,r.Button,{mt:.5,textAlign:"center",icon:"reply",fluid:!0,onClick:function(){return a("remove")},children:"Remove item"})]})},l=function(e,t){var n=(0,i.useBackend)(t),a=n.act,c=n.data.can_AI_print;return(0,o.createComponentVNode)(2,r.Section,{title:"AI Options",children:(0,o.createComponentVNode)(2,r.Box,{children:(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"images",textAlign:"center",disabled:!c,onClick:function(){return a("ai_photo")},children:"Print photo from database"})})})}},13484:function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(41161);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=l.direction,d=l.target_pressure,f=l.default_pressure,p=l.min_pressure,m=l.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:405,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-in-alt":"sign-out-alt",content:s?"In":"Out",selected:s,onClick:function(){return u("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:d,unit:"kPa",width:"75px",minValue:p,maxValue:m,step:10,onChange:function(e,t){return u("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:d===p,onClick:function(){return u("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:d===f,onClick:function(){return u("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:d===m,onClick:function(){return u("pressure",{pressure:"max"})}})]})]})})]})})}},54652:function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=n(41161);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),u=n.act,l=n.data,s=(l.filter_types,l.target_rate),d=l.default_rate,f=l.min_rate,p=l.max_rate;return(0,o.createComponentVNode)(2,a.Window,{width:300,height:405,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Scrubber",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:s,unit:"L/s",width:"75px",minValue:f,maxValue:p,step:10,onChange:function(e,t){return u("rate",{rate:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===f,onClick:function(){return u("rate",{rate:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===d,onClick:function(){return u("rate",{rate:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===p,onClick:function(){return u("rate",{rate:"max"})}})]})]})})]})})}},79051:function(e,t,n){"use strict";t.__esModule=!0,t.ReligiousTool=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=[],l=function(e,t){return 3===e?(0,o.createComponentVNode)(2,h):t?(0,o.createComponentVNode)(2,m):1===e?(0,o.createComponentVNode)(2,d):2===e?(0,o.createComponentVNode)(2,V):void 0};t.ReligiousTool=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),s=(0,i.useSharedState)(t,"tab",1),d=s[0],f=s[1],p=r.sects;return r.encyclopedia.ASPECTS.map((function(e){return u[e.name]=e.color})),(0,o.createComponentVNode)(2,c.Window,{width:1e3,height:700,children:(0,o.createComponentVNode)(2,c.Window.Content,{fontSize:"14px",children:[(0,o.createComponentVNode)(2,a.Tabs,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.Stack,{direction:"raw",width:"100%",children:[(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:1===d,onClick:function(){return f(1)},children:["Religion ",(0,o.createComponentVNode)(2,a.Icon,{name:"place-of-worship"})]})}),!p&&(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:2===d,onClick:function(){return f(2)},children:["Rites ",(0,o.createComponentVNode)(2,a.Icon,{name:"pray"})]})}),(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:3===d,onClick:function(){return f(3)},children:["Encyclopedia ",(0,o.createComponentVNode)(2,a.Icon,{name:"book-open"})]})})]})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:l(d,p)})]})})};var s=function(e,t){var n=null;return n=t.length?t.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:(0,r.toTitleCase)(e)}),2,null,e)})):(0,o.createComponentVNode)(2,a.Box,{color:"gray",children:"Nothing."}),(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:e,fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",ml:t.length?3:0,children:(0,o.createVNode)(1,"ui",null,n,0)})})})},d=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.name,u=r.deities,l=r.favor,d=r.piety,p=r.max_favor,m=r.passive_favor_gain,h=r.aspects,v=r.techs,g=r.god_spells,b=r.holy_reagents,C=r.faith_reactions;return(0,o.createComponentVNode)(2,a.Section,{title:c,textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{children:u}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Stack,{mt:2,children:[(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:"Resources",fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",ml:3,children:(0,o.createVNode)(1,"ui",null,[(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"yellow",children:["Favor: ",l," / ",p,(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)(" (+"),m,(0,o.createTextVNode)(")")],0,{style:{color:"gray","font-size":"8pt"}})]}),2),(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"pink",children:["Piety: ",d]}),2)],4)})})}),(0,o.createComponentVNode)(2,a.Stack.Item,{width:"100%",height:22,children:(0,o.createComponentVNode)(2,a.Section,{title:"Aspects",fill:1,children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"left",children:f("",h)})})}),s("Techs",v)]}),(0,o.createComponentVNode)(2,a.Stack,{children:[s("God Spells",g),s("Holy Reagents",b),s("Faith Reactions",C)]})]})]})},f=function(e,t,n){return void 0===n&&(n=!0),t?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:e}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:[(0,o.createVNode)(1,"ui",null,Object.keys(t).map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:u[e],children:[e," = ",t[e]]}),2,null,e)})),0),n?(0,o.createVNode)(1,"br"):""]})]}):null},p=function(e,t,n){return void 0===n&&(n=!0),e||t?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"Costs:"}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,[!!e&&(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"yellow",children:[e," favor"]}),2),!!t&&(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{color:"pink",children:[t," piety"]}),2)],0)}),n?(0,o.createVNode)(1,"br"):""]}):null},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.sects,l=c.holds_religious_tool;return(0,o.createComponentVNode)(2,a.Section,{fill:!0,title:"Sect Select",children:(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Collapsible,{title:(0,o.createVNode)(1,"b",null,e.name,0),color:"transparent",children:(0,o.createComponentVNode)(2,a.Stack.Item,{children:[(0,o.createComponentVNode)(2,a.BlockQuote,{children:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:e.desc}),(0,o.createComponentVNode)(2,a.Box,{children:[e.aspect_preset||e.aspects_count?(0,o.createVNode)(1,"br"):"",f("Aspects:",e.aspect_preset),e.aspects_count&&(0,o.createComponentVNode)(2,a.Box,{children:["You can choose ",e.aspects_count," aspects."]})]})]})}),(0,o.createComponentVNode)(2,a.Button,{mt:2,textAlign:"center",icon:"plus",fluid:!0,disabled:!l,onClick:function(){return r("sect_select",{path:e.path})},children:[e.aspects_count?"Create":"Select"," ",e.name]})]},e.name)},e.name)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data),u=(0,i.useSharedState)(t,"cat",""),l=u[0],s=u[1],d=c.encyclopedia;return(0,o.createComponentVNode)(2,a.Stack,{children:[(0,o.createComponentVNode)(2,a.Tabs,{vertical:1,children:Object.keys(d).map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{fluid:!0,selected:l===e,onClick:function(){return s(e)},children:(0,r.toTitleCase)(e)},e)}))}),(0,o.createComponentVNode)(2,a.Section,{height:52,fill:!0,scrollable:!0,width:"100%",children:(0,o.createComponentVNode)(2,a.Stack.Item,{children:["RITES"===l&&(0,o.createComponentVNode)(2,v),"SECTS"===l&&(0,o.createComponentVNode)(2,g),"ASPECTS"===l&&(0,o.createComponentVNode)(2,b),"GOD SPELLS"===l&&(0,o.createComponentVNode)(2,C),"HOLY REAGENTS"===l&&(0,o.createComponentVNode)(2,y),"FAITH REACTIONS"===l&&(0,o.createComponentVNode)(2,N)]})})]})},v=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.RITES),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc.replace(/<[/]?i>/g,"")}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createVNode)(1,"b",null,"Length:",16)," ",e.ritual_length/10," seconds."]}),(0,o.createComponentVNode)(2,a.Box,{color:e.can_talismaned?"green":"red",children:["Can",e.can_talismaned?"":"'t"," be talismaned."]}),e.needed_aspects?(0,o.createVNode)(1,"br"):"",f("Needed Aspects:",e.needed_aspects,!1),(!!e.favor_cost||!!e.piety_cost)&&(0,o.createVNode)(1,"br"),p(e.favor_cost,e.piety_cost,!1),(0,o.createComponentVNode)(2,a.Box,{children:!!e.tips.length&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:[" ",(0,o.createVNode)(1,"br"),"Tips:"]}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,e.tips.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:e.replace(/<[/]?i>/g,"")}),2,null,e)})),0)})]})})]})},e.name)}))]})},g=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.SECTS),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),p=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),(0,o.createVNode)(1,"br"),f("Aspect Preset:",e.aspect_preset,!1),e.aspects_count&&(0,o.createComponentVNode)(2,a.Box,{children:["You can choose ",e.aspects_count," aspects."]})]})},e.name)}))]})},b=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia.ASPECTS),l=(0,i.useSharedState)(t,"searchText",""),s=l[0],d=l[1],f=(0,r.createSearch)(s,(function(e){return e.name})),p=s.length>0&&c.filter(f)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return d(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{color:u[e.name],title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),e.god_desc&&(0,o.createComponentVNode)(2,a.Box,{children:[" ",(0,o.createVNode)(1,"br"),e.god_desc]})]})},e.name)}))]})},C=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["GOD SPELLS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[f("Needed Aspects:",e.needed_aspects),p(e.favor_cost),(0,o.createComponentVNode)(2,a.Box,{children:["Cooldown: ",e.charge_max/10," seconds"]})]})},e.name)}))]})},y=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["HOLY REAGENTS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.name})),p=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),p.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:e.name,children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:f("Needed Aspects:",e.needed_aspects,!1)})},e.name)}))]})},N=function(e,t){var n=(0,i.useBackend)(t),c=(n.act,n.data.encyclopedia["FAITH REACTIONS"]),u=(0,i.useSharedState)(t,"searchText",""),l=u[0],s=u[1],d=(0,r.createSearch)(l,(function(e){return e.convertable_id+" to "+e.result_id})),m=l.length>0&&c.filter(d)||c;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return s(t)},mb:1}),m.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{title:(0,r.capitalize)(e.convertable_id)+" to "+(0,r.capitalize)(e.result_id),children:(0,o.createComponentVNode)(2,a.BlockQuote,{children:[f("Needed Aspects:",e.needed_aspects,!1),e.favor_cost?(0,o.createVNode)(1,"br"):"",p(e.favor_cost,0,!1)]})},(0,r.capitalize)(e.convertable_id)+" to "+(0,r.capitalize)(e.result_id))}))]})},V=function(e,t){var n=(0,i.useBackend)(t),c=n.act,u=n.data,l=u.rites,s=u.favor,d=u.piety,f=u.can_talismaning,p=u.holds_religious_tool,m=(0,i.useSharedState)(t,"searchText",""),h=m[0],v=m[1],g=(0,r.createSearch)(h,(function(e){return e.name})),b=h.length>0&&l.filter(g)||l;return(0,o.createComponentVNode)(2,a.Section,{height:52,fill:!0,scrollable:!0,width:"100%",children:[(0,o.createComponentVNode)(2,a.Input,{autoFocus:!0,fluid:!0,placeholder:"Search for...",onInput:function(e,t){return v(t)},mb:1}),(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,mt:2,children:b.map((function(e){return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{title:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{fontColor:"white",disabled:!p||s<e.favor_cost||d<e.piety_cost,icon:"arrow-right",onClick:function(){return c("perform_rite",{rite_name:e.name})},children:"Invoke"}),(0,o.createComponentVNode)(2,a.Button,{fontColor:"white",tooltip:2*e.favor_cost+" favor"+(e.piety_cost>0?" "+e.piety_cost+" piety":""),disabled:!f||!e.can_talismaned||s<2*e.favor_cost||d<2*e.piety_cost,icon:"scroll",onClick:function(){return c("talismaning_rite",{rite_name:e.name})},children:"Talismaning"})],4),children:[(0,o.createComponentVNode)(2,a.Box,{color:s<e.favor_cost?"red":"yellow",mb:.5,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"star"})," Costs: ",e.favor_cost," favor",e.piety_cost>0?" and "+e.piety_cost+" piety":"","."]}),(0,o.createComponentVNode)(2,a.BlockQuote,{children:[(0,o.createComponentVNode)(2,a.Box,{children:e.desc}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{children:["Power: ",e.power]}),(0,o.createComponentVNode)(2,a.Box,{children:!!e.tips.length&&(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:[" ",(0,o.createVNode)(1,"br"),"Tips:"]}),(0,o.createComponentVNode)(2,a.Box,{ml:3,children:(0,o.createVNode)(1,"ui",null,e.tips.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,a.Box,{children:e.replace(/<[/]?i>/g,"")}),2,null,e)})),0)})]})})]})]})},e.name)}))})]})}},1945:function(e,t,n){"use strict";t.__esModule=!0,t.Safe=void 0;var o=n(96323),r=n(39646),i=n(31246),a=n(26949),c=n(2381);t.Safe=function(e,t){var n=(0,i.useBackend)(t),d=(n.act,n.data),f=d.dial,p=d.open;return(0,o.createComponentVNode)(2,c.Window,{width:625,height:760,theme:"ntos",children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving-hinge",top:"25%"}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__engraving-hinge",top:"75%"})]}),(0,o.createComponentVNode)(2,a.Icon,{className:"Safe__engraving-arrow",name:"long-arrow-alt-down",size:"3"}),(0,o.createVNode)(1,"br"),p?(0,o.createComponentVNode)(2,l):(0,o.createComponentVNode)(2,a.Box,{as:"img",className:"Safe__dial",src:(0,r.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*f+"deg)"}})]}),!p&&(0,o.createComponentVNode)(2,s)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,u=c.dial,l=c.open,s=c.locked,d=function(e,t){return(0,o.createComponentVNode)(2,a.Button,{disabled:l||t&&!s,icon:"arrow-"+(t?"right":"left"),content:(t?"Right":"Left")+" "+e,iconPosition:t?"right":"left",onClick:function(){return r(t?"turnleft":"turnright",{num:e})}})};return(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:s,icon:l?"lock":"lock-open",content:l?"Close":"Open",mb:"0.5rem",onClick:function(){return r("open")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,a.Box,{position:"absolute",children:[d(50),d(10),d(1)]}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer-right",position:"absolute",right:"5px",children:[d(1,!0),d(10,!0),d(50,!0)]}),(0,o.createComponentVNode)(2,a.Box,{className:"Safe__dialer-number",children:u})]})},l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.contents;return(0,o.createComponentVNode)(2,a.Box,{className:"Safe__contents",overflow:"auto",children:c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{mb:"0.5rem",onClick:function(){return r("retrieve",{index:t+1})},children:[(0,o.createComponentVNode)(2,a.Box,{as:"img",src:e.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),e.name]}),(0,o.createVNode)(1,"br")],4,e)}))})},s=function(e,t){return(0,o.createComponentVNode)(2,a.Section,{className:"Safe__help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,o.createComponentVNode)(2,a.Box,{children:["1. Turn the dial left to the first number.",(0,o.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,o.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,o.createVNode)(1,"br"),"4. Open the safe."]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},69905:function(e,t,n){"use strict";t.__esModule=!0,t.SamplerPipe=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.SamplerPipe=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.gases,s=u.nodeName,d=u.locked;return(0,o.createComponentVNode)(2,a.Window,{title:"Atmospherics Alet System",width:300,height:400,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Node name",children:(0,o.createComponentVNode)(2,i.Input,{disabled:d,fluid:!0,value:s,onChange:function(e,t){return c("setName",{name:t})}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Gases",children:l.map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.name,children:[(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:"Lower"}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.NumberInput,{disabled:d,width:5,minValue:0,maxValue:1,step:.01,value:e.threshold.min,onChange:function(t,n){return c("setBound",{id:e.id,bound:"min",value:n})}})})]}),(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{grow:!0,children:"Upper"}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.NumberInput,{disabled:d,width:5,minValue:0,maxValue:1,step:.01,value:e.threshold.max,onChange:function(t,n){return c("setBound",{id:e.id,bound:"max",value:n})}})})]})]},e.id)}))})]})})}},95285:function(e,t,n){"use strict";t.__esModule=!0,t.SecureSafe=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.locked,l=c.l_setshort,s=c.code,d=c.emagged;return(0,o.createComponentVNode)(2,i.Box,{width:"185px",children:(0,o.createComponentVNode)(2,i.Grid,{width:"1px",children:[["1","4","7","R"],["2","5","8","0"],["3","6","9","E"]].map((function(e){return(0,o.createComponentVNode)(2,i.Grid.Column,{children:e.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,bold:!0,mb:"6px",content:e,textAlign:"center",fontSize:"40px",height:"50px",lineHeight:1.25,disabled:!!d||!!l&&1||"R"!==e&&!u||"ERROR"===s&&"R"!==e&&1,onClick:function(){return a("type",{digit:e})}},e)}))},e[0])}))})})};t.SecureSafe=function(e,t){var n=(0,r.useBackend)(t),u=(n.act,n.data),l=u.code,s=u.l_setshort,d=u.l_set,f=u.emagged,p=u.locked,m=!(d||s);return(0,o.createComponentVNode)(2,a.Window,{width:250,height:380,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Box,{m:"6px",children:[m&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",info:1,children:"ENTER NEW 5-DIGIT PASSCODE."}),!!f&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",danger:1,children:"LOCKING SYSTEM ERROR - 1701"}),!!s&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",danger:1,children:"ALERT: MEMORY SYSTEM ERROR - 6040 201"}),(0,o.createComponentVNode)(2,i.Section,{height:"60px",children:(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",position:"center",fontSize:"35px",children:l&&l||(0,o.createComponentVNode)(2,i.Box,{textColor:p?"red":"green",children:p?"LOCKED":"UNLOCKED"})})}),(0,o.createComponentVNode)(2,i.Flex,{ml:"3px",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,c)}),(0,o.createComponentVNode)(2,i.Flex.Item,{ml:"6px",width:"129px"})]})]})})})}},98115:function(e,t,n){"use strict";t.__esModule=!0,t.SkillsConsole=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.SkillsConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.skill_list,s=u.IQ,d=u.MDI,f=u.skill_min_value,p=u.skill_max_value,m=u.compatible_species,h=u.inserted_cartridge,v=u.cartridge_name,g=u.cartridge_unpacked,b=u.connected_table,C=u.cartridge_points,y=u.connected_patient,N=u.free_points,V=u.can_inject,_=u.power_usage,x=u.power_max,w=u.power_current;return(0,o.createComponentVNode)(2,a.Window,{resizable:!0,width:600,height:675,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Power info",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active power usage",children:[_/1e3," kW"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available power in area",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:"No data"!==x?w/x:"No data"})})]})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Stack,{children:[(0,o.createComponentVNode)(2,i.Stack.Item,{width:"40%",mr:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Patient status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[!b&&(0,o.createComponentVNode)(2,i.Box,{children:"CMF manipulion table is not connected"}),!y&&(0,o.createComponentVNode)(2,i.Box,{children:"No patient detected"}),b&&y&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"IQ",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"MDI",children:d})],4)]})})}),(0,o.createComponentVNode)(2,i.Stack.Item,{width:"60%",children:(0,o.createComponentVNode)(2,i.Section,{title:"Cartridge information",children:[!h&&(0,o.createComponentVNode)(2,i.Box,{children:"No cartridge inserted"}),1===h&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Installed cartridge",children:[v,!g&&(0,o.createComponentVNode)(2,i.Box,{as:"span",m:5,children:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject cartridge",onClick:function(){c("eject")},style:{marginLeft:20}})})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Compatible species",children:m.join(", ")}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available USP",children:[0===g&&C,1===g&&N]})]})]})})]})}),0===g&&1===h&&(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{onClick:function(){c("unpack")},fluid:!0,color:"danger",tooltip:"This action will destroy the cartridge and begin the CMF manipulation procedure.",children:"Unpack cartridge"})}),1===g&&1===h&&(0,o.createComponentVNode)(2,i.Stack.Item,{children:(0,o.createComponentVNode)(2,i.Section,{title:"CMF manipulation",children:[Object.keys(l).map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{onChange:function(t,n){l[e]=n,c("change_skill",l)},step:1,value:l[e],maxValue:p,stepPixelSize:50,minValue:f})})})},e)})),(0,o.createComponentVNode)(2,i.Box,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){c("inject")},fluid:!0,disabled:0===V,color:"green",children:"Inject implant"}),(0,o.createComponentVNode)(2,i.Button.Confirm,{onClick:function(){c("abort")},fluid:!0,color:"danger",confirmContent:"Confirm ",children:"Abort"})]})]})})]})})})}},68952:function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(1033),c=n(2381),u=1e3;t.Smes=function(e,t){var n=(0,r.useBackend)(t),l=n.act,s=n.data,d=s.capacityPercent,f=s.charge,p=s.inputAttempt,m=s.inputting,h=s.inputLevel,v=s.inputLevelMax,g=s.inputAvailable,b=s.outputAttempt,C=s.outputting,y=s.outputLevel,N=s.outputLevelMax,V=s.outputUsed,_=(d>=100?"good":m&&"average")||"bad",x=(C?"good":f>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{fractionDigits:1,value:.01*d,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sync-alt":"times",selected:p,onClick:function(){return l("tryinput")},children:p?"Auto":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:_,children:(d>=100?"Fully Charged":m&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===h,onClick:function(){return l("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===h,onClick:function(){return l("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:h/u,fillValue:g/u,minValue:0,maxValue:v/u,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*u,1)},onDrag:function(e,t){return l("input",{target:t*u})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:h===v,onClick:function(){return l("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:h===v,onClick:function(){return l("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(g)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:b?"power-off":"times",selected:b,onClick:function(){return l("tryoutput")},children:b?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:C?"Sending":f>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===y,onClick:function(){return l("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===y,onClick:function(){return l("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:y/u,minValue:0,maxValue:N/u,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(e*u,1)},onDrag:function(e,t){return l("output",{target:t*u})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:y===N,onClick:function(){return l("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:y===N,onClick:function(){return l("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(V)})]})})]})})}},56747:function(e,t,n){"use strict";t.__esModule=!0,t.SpawnersMenu=void 0;var o=n(96323),r=n(21118),i=n(31246),a=n(26949),c=n(2381),u=n(1033);t.SpawnersMenu=function(e,t){var n=(0,i.useBackend)(t),l=n.act,s=n.data.spawners;return(0,o.createComponentVNode)(2,c.Window,{title:"\u041c\u0435\u043d\u044e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u043e\u043b\u0435\u0439",width:700,height:525,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[!s.length&&(0,o.createComponentVNode)(2,a.Flex.Item,{fontSize:"14px",textAlign:"center",children:(0,o.createComponentVNode)(2,a.Section,{children:"\u0420\u043e\u043b\u0435\u0439 \u043d\u0435\u0442, \u043d\u043e \u043d\u0435 \u043f\u0435\u0447\u0430\u043b\u044c\u0441\u044f, \u043e\u043d\u0438 \u0441\u043a\u043e\u0440\u043e \u0431\u0443\u0434\u0443\u0442!"})}),s.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{children:[(0,o.createComponentVNode)(2,a.Section,{title:(0,r.toTitleCase)(e.name),buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{content:"\u041e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f",onClick:function(){return l("jump",{ref:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{content:e.register_only?e.checked?"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c":"\u0417\u0430\u044f\u0432\u0438\u0442\u044c":"\u041f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f",selected:e.checked,blocked:e.blocked,onClick:function(){return l("spawn",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[e.time_left&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:1===e.time_type?"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f":"\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u043e",color:1===e.time_type?"green":"red",children:(0,u.formatTime)(e.time_left)}),!!e.register_only&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u041a\u0430\u043d\u0434\u0438\u0434\u0430\u0442\u043e\u0432",children:e.registered_candidates}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u041f\u043e\u0437\u0438\u0446\u0438\u0439 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e",children:e.positions}),e.playing>0&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"green",label:"\u0418\u0433\u0440\u0430\u0435\u0442",children:e.playing}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",children:e.short_desc}),e.important_warning&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0412\u0430\u0436\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",children:e.important_warning}),e.wiki_ref&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"\u0412\u0438\u043a\u0438",children:(0,o.createVNode)(1,"a",null,e.wiki_ref,0,{href:"{spawner.wiki_ref}",target:"_blank"})})]})}),(0,o.createVNode)(1,"br")]},e.ref)}))]})})})}},47466:function(e,t,n){"use strict";t.__esModule=!0,t.Stack=void 0;var o=n(96323),r=(n(97622),n(31246)),i=n(26949),a=n(2381);n(79926);t.Stack=function(e,t){var n=(0,r.useBackend)(t),u=(n.act,n.data),l=u.amount,s=u.recipes;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:720,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Amount: "+l,children:(0,o.createComponentVNode)(2,c,{recipes:s})})})})};var c=function s(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data,e.recipes);return Object.keys(a).sort().map((function(e){var t=a[e];return t.ref===undefined?(0,o.createComponentVNode)(2,i.Collapsible,{ml:1,mb:-.7,color:"label",title:e,children:(0,o.createComponentVNode)(2,i.Box,{ml:1,children:(0,o.createComponentVNode)(2,s,{recipes:t})})}):(0,o.createComponentVNode)(2,l,{title:e,recipe:t})}))},u=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.recipe),u=e.maxMultiplier,l=Math.min(u,Math.floor(c.max_res_amount/c.res_amount)),s=[5,10,25],d=[],f=function(){var e=m[p];l>=e&&d.push((0,o.createComponentVNode)(2,i.Button,{content:e*c.res_amount+"x",onClick:function(){return a("make",{ref:c.ref,multiplier:e})}}))},p=0,m=s;p<m.length;p++)f();return-1===s.indexOf(l)&&d.push((0,o.createComponentVNode)(2,i.Button,{content:l*c.res_amount+"x",onClick:function(){return a("make",{ref:c.ref,multiplier:l})}})),d},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount,l=e.recipe,s=e.title,d=l.res_amount,f=l.max_res_amount,p=l.req_amount,m=(l.ref,s);m+=" (",m+=p+" ",m+="sheet"+(p>1?"s":""),m+=")",d>1&&(m=d+"x "+m);var h=function(e,t){return e.req_amount>t?0:Math.floor(t/e.req_amount)}(l,c);return(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Table,{children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,disabled:!h,icon:"wrench",content:m,onClick:function(){return a("make",{ref:l.ref,multiplier:1})}})}),f>1&&h>1&&(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,children:(0,o.createComponentVNode)(2,u,{recipe:l,maxMultiplier:h})})]})})})}},53759:function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:120,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:u.tankPressure/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:u.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:u.ReleasePressure===u.minReleasePressure,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(u.releasePressure),width:"65px",unit:"kPa",minValue:u.minReleasePressure,maxValue:u.maxReleasePressure,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:u.ReleasePressure===u.maxReleasePressure,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:u.ReleasePressure===u.defaultReleasePressure,onClick:function(){return c("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:u.connected?"toggle-on":"toggle-off",content:"",selected:u.connected?"selected":null,onClick:function(){return c("internal")}})]})]})})})})}},83634:function(e,t,n){"use strict";t.__esModule=!0,t.Vote=void 0;var o=n(96323),r=n(31246),i=n(81890),a=n(26949),c=n(2381);t.Vote=function(e,t){var n=(0,r.useBackend)(t).data,i=n.isAdmin,f=n.currentPoll,p=n.polls,m=Math.min(730,90+(!f||i?45+26*p.filter((function(e){return!e.adminOnly||!!i})).length:0)+(f?135+22*f.choices.length:23));return(0,o.createComponentVNode)(2,c.Window,{width:450,height:m,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,l),(!f||!!i)&&(0,o.createComponentVNode)(2,s),!!f&&(0,o.createComponentVNode)(2,d)]})]})})};var u=function(e,t){var n=(0,r.useBackend)(t).data.currentPoll,c=(0,r.useLocalState)(t,"infoModalOpen",!1),u=c[0],l=c[1];return u?n?(0,o.createComponentVNode)(2,a.Modal,{children:["\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u0442\u044c"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canVoteMultiple?"\u0437\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432":"\u0442\u043e\u043b\u044c\u043a\u043e \u0437\u0430 \u043e\u0434\u0438\u043d \u0432\u0430\u0440\u0438\u0430\u043d\u0442"}),(0,o.createVNode)(1,"br"),"\u0412\u044b"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canRevote?"\u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c":"\u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c"})," ","\u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441",(0,o.createVNode)(1,"br"),"\u0412\u044b"," ",(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:n.canUnvote?"\u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c":"\u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c"})," ","\u0441\u0432\u043e\u0439 \u0433\u043e\u043b\u043e\u0441",(0,o.createVNode)(1,"br"),n.minimumWinPercentage?(0,o.createFragment)([(0,o.createTextVNode)("\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0431\u0440\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0443\u043c"),(0,o.createTextVNode)(" "),(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,children:[100*n.minimumWinPercentage,"%"]}),(0,o.createTextVNode)(", \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u043e\u0431\u0435\u0434\u0438\u043b")],0):"",n.description&&(0,o.createFragment)([(0,o.createVNode)(1,"hr"),(0,o.createComponentVNode)(2,a.Box,{dangerouslySetInnerHTML:{__html:(0,i.sanitizeText)(n.description)}})],4),(0,o.createVNode)(1,"hr"),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,align:"center",onClick:function(){return l(!1)},children:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"})]}):(l(!1),null):null},l=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.currentPoll,u=(0,r.useLocalState)(t,"infoModalOpen",!1),l=(u[0],u[1]),s=null==c?void 0:c.choices.some((function(e){return e.selected}));return(0,o.createComponentVNode)(2,a.Stack.Item,{grow:!0,children:(0,o.createComponentVNode)(2,a.Section,{fill:!0,scrollable:!!c&&0!==c.choices.length,title:c?"\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435: "+c.poll.name:"\u0413\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435",buttons:c?(0,o.createComponentVNode)(2,a.Button,{icon:"info",color:"transparent",disabled:!c,onClick:function(){return l(!0)}}):undefined,children:c&&0!==c.choices.length?(0,o.createFragment)([c.showWarning?(0,o.createComponentVNode)(2,a.NoticeBox,{children:c.poll.message}):"",!!c.question&&(0,o.createComponentVNode)(2,a.Box,{italic:!0,children:c.question}),(0,o.createComponentVNode)(2,a.Divider),(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,children:[(0,o.createComponentVNode)(2,a.Stack,{fill:!0,justify:"space-around",children:[(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"\u0412\u0430\u0440\u0438\u0430\u043d\u0442\u044b"}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,children:"\u0413\u043e\u043b\u043e\u0441\u0430"})]}),(0,o.createVNode)(1,"br"),c.choices.map((function(e){return(0,o.createComponentVNode)(2,a.Stack,{justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Box,{height:"22px",children:[(0,o.createComponentVNode)(2,a.Button,{maxWidth:"260px",ellipsis:!0,disabled:!c.canRevote&&s,selected:e.selected,onClick:function(){return i("putVote",{choiceRef:e.ref})},children:e.name.replace(/^\w/,(function(e){return e.toUpperCase()}))}),!!e.selected&&(0,o.createComponentVNode)(2,a.Icon,{name:"vote-yea",color:"green",ml:1,verticalAlign:"super"})]}),(0,o.createComponentVNode)(2,a.Box,{mr:15,children:e.votes})]},e.ref)}))]})],0):(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,mb:"0",children:c?"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432!":"\u041d\u0435\u0442 \u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u044f!"})})})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,u=c.isAdmin,l=c.polls;return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{title:"\u041d\u0430\u0447\u0430\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435",children:(0,o.createComponentVNode)(2,a.Stack,{vertical:!0,justify:"space-between",children:l?l.map((function(e){return(!e.adminOnly||!!u)&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Stack,{horizontal:!0,children:[!!u&&(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{width:9.5,textAlign:"center",onClick:function(){return i("toggleAdminOnly",{pollRef:e.type})},children:e.adminOnly?"\u0422\u043e\u043b\u044c\u043a\u043e \u0430\u0434\u043c\u0438\u043d\u044b":"\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u043e \u0432\u0441\u0435\u043c"})}),(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Button,{disabled:!e.canStart&&!u||e.forceBlocked,color:u?e.canStart?undefined:"red":undefined,tooltip:e.message,content:e.name,onClick:function(){return i("callVote",{pollRef:e.type})}})})]})},e.name)})):(0,o.createComponentVNode)(2,a.NoticeBox,{info:!0,children:"\u041d\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0439!"})})})})},d=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,u=c.currentPoll,l=c.isAdmin;return(0,o.createComponentVNode)(2,a.Stack.Item,{children:(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Stack,{justify:"space-between",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,children:["\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438: ",(null==u?void 0:u.timeRemaining)||0,"\u0441"]}),!!l&&!!u&&(0,o.createComponentVNode)(2,a.Button,{color:"red",disabled:!l,onClick:function(){return i("cancelVote")},children:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043d\u0438\u0435"})]})})})}},35045:function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(2381);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,u=n.data,l=u.wires||[],s=u.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:45+25*l.length+(s.length>0?35:0)+12*s.length,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:l.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.label?e.label:"Wire",labelColor:e.color,color:e.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.wire})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.wire})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.wire})}})],4)},e.color)}))})}),!!s.length&&(0,o.createComponentVNode)(2,i.Section,{children:s.map((function(e){return"string"==typeof e?(0,o.createComponentVNode)(2,i.Box,{children:e},e):(0,o.createComponentVNode)(2,i.Button,{content:e.label,onClick:function(){return c(e.act,e.act_params?e.act_params:undefined)}})}))})]})})}},52126:function(e,t,n){"use strict";t.__esModule=!0,t.AccessList=void 0;var o=n(96323),r=n(1397),i=n(31246),a=n(26949);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var l={0:{icon:"times-circle",color:"bad"},1:{icon:"stop-circle",color:null},2:{icon:"check-circle",color:"good"}};t.AccessList=function(e,t){var n,u=e.sectionButtons,s=void 0===u?null:u,d=e.sectionFlexGrow,f=void 0===d?null:d,p=e.usedByRcd,m=e.rcdButtons,h=e.accesses,v=void 0===h?[]:h,g=e.selectedList,b=void 0===g?[]:g,C=e.grantableList,y=void 0===C?[]:C,N=e.accessMod,V=e.grantAll,_=e.denyAll,x=e.grantDep,w=e.denyDep,S=(0,i.useLocalState)(t,"accessName",null==(n=v[0])?void 0:n.name),k=S[0],E=S[1],B=v.find((function(e){return e.name===k})),I=(0,r.sortBy)((function(e){return e.desc}))((null==B?void 0:B.accesses)||[]),L=function(e){for(var t,n=!1,o=!1,r=c(e);!(t=r()).done;){var i=t.value;b.includes(i.ref)?n=!0:o=!0}return!n&&o?0:n&&o?1:2};return(0,o.createComponentVNode)(2,a.Section,{title:"Access",flexGrow:f,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"check-double",content:"Select All",color:"good",onClick:function(){return V()}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",content:"Deselect All",color:"bad",onClick:function(){return _()}}),s],0),children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Tabs,{vertical:!0,children:v.map((function(e){var t=e.accesses||[],n=l[L(t)].icon,r=l[L(t)].color;return(0,o.createComponentVNode)(2,a.Tabs.Tab,{altSelection:!0,color:r,icon:n,selected:e.name===k,onClick:function(){return E(e.name)},children:e.name},e.name)}))})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,ml:1.5,children:[(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{width:"50%",mr:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"check",content:"Select Region",color:"good",onClick:function(){return x(B.regid)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{width:"50%",ml:0,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"times",content:"Deselect Region",color:"bad",onClick:function(){return w(B.regid)}})})]}),!!p&&(0,o.createComponentVNode)(2,a.Box,{my:1.5,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Require",children:m})})}),I.map((function(e){return(0,o.createComponentVNode)(2,a.Button.Checkbox,{fluid:!0,content:e.desc,disabled:y.length>0&&!y.includes(e.ref)&&!b.includes(e.ref),checked:b.includes(e.ref),onClick:function(){return N(e.ref)}},e.desc)}))]})]})})}},19447:function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(96323),r=n(31246),i=n(26949);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=e.siliconUser,l=void 0===u?c.siliconUser:u,s=e.locked,d=void 0===s?c.locked:s,f=e.onLockStatusChange,p=void 0===f?function(){return a("lock")}:f,m=e.accessText,h=void 0===m?"an ID card":m;return l?(0,o.createComponentVNode)(2,i.NoticeBox,{color:"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:0,color:d?"red":"green",icon:d?"lock":"unlock",content:d?"Locked":"Unlocked",onClick:function(){p&&p(!d)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",h," ","to ",d?"unlock":"lock"," this interface."]})}},11409:function(e,t,n){"use strict";t.__esModule=!0,t.MiningUser=void 0;var o=n(96323),r=n(31246),i=n(26949);t.MiningUser=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=e.insertIdText,l=c.has_id,s=c.id;return(0,o.createComponentVNode)(2,i.NoticeBox,{success:l,children:l?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",s.name,".",(0,o.createVNode)(1,"br"),"You have ",s.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,i.Box,{style:{clear:"both"}})],4):u})}},41161:function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(96323),r=n(31246),i=n(26949);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=c.connected,l=c.holding,s=c.on,d=c.pressure,f=c.power_draw,p=c.cell_charge/c.cell_maxcharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"power-off":"times",content:s?"On":"Off",selected:s,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:u?"good":"average",children:u?"Connected":"Not Connected"})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:f})," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,.1],average:[.1,.6],good:[.6,Infinity]},value:p})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!l,onClick:function(){return a("eject")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:l.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},30041:function(e,t,n){"use strict";t.__esModule=!0,t.Layout=void 0;var o=n(96323),r=n(1060),i=n(54425),a=n(99397),c=["className","theme","children"],u=["className","scrollable","children"];function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var s=function(e){var t=e.className,n=e.theme,a=void 0===n?"nanotrasen":n,u=e.children,s=l(e,c);return(0,o.createVNode)(1,"div","theme-"+a,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout",t].concat((0,i.computeBoxClassName)(s))),u,0,Object.assign({},(0,i.computeBoxProps)(s)))),2)};t.Layout=s;var d=function(e){var t=e.className,n=e.scrollable,a=e.children,c=l(e,u);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({},(0,i.computeBoxProps)(c))))};d.defaultHooks={onComponentDidMount:function(e){return(0,a.addScrollableNode)(e)},onComponentWillUnmount:function(e){return(0,a.removeScrollableNode)(e)}},s.Content=d},76738:function(e,t,n){"use strict";t.__esModule=!0,t.NtosWindow=void 0;var o=n(96323),r=n(39646),i=n(31246),a=n(26949),c=n(34881),u=function(e,t){var n=e.title,u=e.width,l=void 0===u?575:u,s=e.height,d=void 0===s?700:s,f=e.theme,p=void 0===f?"ntos":f,m=e.children,h=(0,i.useBackend)(t),v=h.act,g=h.data,b=g.PC_device_theme,C=g.PC_batteryicon,y=g.PC_showbatteryicon,N=g.PC_batterypercent,V=g.PC_ntneticon,_=g.PC_apclinkicon,x=g.PC_stationtime,w=g.PC_programheaders,S=void 0===w?[]:w,k=g.PC_showexitprogram;return(0,o.createComponentVNode)(2,c.Window,{title:n,width:l,height:d,theme:p,children:(0,o.createVNode)(1,"div","NtosWindow",[(0,o.createVNode)(1,"div","NtosWindow__header NtosHeader",[(0,o.createVNode)(1,"div","NtosHeader__left",[(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,mr:2,children:x}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,mr:2,opacity:.33,children:["ntos"===b&&"NtOS","syndicate"===b&&"Syndix"]})],4),(0,o.createVNode)(1,"div","NtosHeader__right",[S.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(e.icon)})},e.icon)})),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:V&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(V)})}),!(!y||!C)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:[(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(C)}),N&&N]}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(_)})}),!!k&&(0,o.createComponentVNode)(2,a.Button,{width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"window-minimize-o",tooltip:"Minimize",tooltipPosition:"bottom",onClick:function(){return v("PC_minimize")}}),!!k&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"window-close-o",tooltip:"Close",tooltipPosition:"bottom-start",onClick:function(){return v("PC_exit")}}),!k&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"power-off",tooltip:"Power off",tooltipPosition:"bottom-start",onClick:function(){return v("PC_shutdown")}})],0)],4),m],0)})};t.NtosWindow=u;u.Content=function(e){return(0,o.createVNode)(1,"div","NtosWindow__content",(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.Window.Content,Object.assign({},e))),2)}},52243:function(e,t,n){"use strict";t.__esModule=!0,t.Pane=void 0;var o=n(96323),r=n(1060),i=n(31246),a=n(26949),c=n(27157),u=n(30041),l=["theme","children","className"],s=["className","fitted","children"];function d(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}var f=function(e,t){var n=e.theme,s=e.children,f=e.className,p=d(e,l),m=(0,i.useBackend)(t).suspended,h=(0,c.useDebug)(t).debugLayout;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.Layout,Object.assign({className:(0,r.classes)(["Window",f]),theme:n},p,{children:(0,o.createComponentVNode)(2,a.Box,{fillPositionedParent:!0,className:h&&"debug-layout",children:!m&&s})})))};t.Pane=f;f.Content=function(e){var t=e.className,n=e.fitted,i=e.children,a=d(e,s);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,u.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",t])},a,{children:n&&i||(0,o.createVNode)(1,"div","Window__contentPadding",i,0)})))}},34881:function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(96323),r=n(1060),i=n(465),a=n(21118),c=n(31246),u=n(26949),l=n(84200),s=n(27157),d=(n(98069),n(41410)),f=n(79926),p=n(30041),m=["className","fitted","children"];function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var v=(0,f.createLogger)("Window"),g=[400,600],b=function(e){var t,n;function u(){return e.apply(this,arguments)||this}n=e,(t=u).prototype=Object.create(n.prototype),t.prototype.constructor=t,h(t,n);var f=u.prototype;return f.componentDidMount=function(){var e=(0,c.useBackend)(this.context).suspended,t=this.props.canClose,n=void 0===t||t;e||(Byond.winset(window.__windowId__,{"can-close":Boolean(n)}),v.log("mounting"),this.updateGeometry())},f.componentDidUpdate=function(e){(this.props.width!==e.width||this.props.height!==e.height)&&this.updateGeometry()},f.updateGeometry=function(){var e,t=(0,c.useBackend)(this.context).config,n=Object.assign({size:g},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),null!=(e=t.window)&&e.key&&(0,d.setWindowKey)(t.window.key),(0,d.recallWindowGeometry)(n)},f.render=function(){var e,t=this.props,n=t.canClose,u=void 0===n||n,f=t.theme,m=t.title,h=t.children,g=t.buttons,b=t.className,C=t.titleClassName,N=(0,c.useBackend)(this.context),V=N.config,_=N.suspended,x=(0,s.useDebug)(this.context).debugLayout,w=(0,i.useDispatch)(this.context),S=null==(e=V.window)?void 0:e.fancy,k=V.user&&(V.user.observer?V.status<l.UI_DISABLED:V.status<l.UI_INTERACTIVE);return(0,o.createComponentVNode)(2,p.Layout,{className:(0,r.classes)(["Window",b]),theme:f,children:[(0,o.createComponentVNode)(2,y,{className:(0,r.classes)(["Window__titleBar",C]),title:!_&&(m||(0,a.decodeHtmlEntities)(V.title)),status:V.status,fancy:S,onDragStart:d.dragStartHandler,onClose:function(){v.log("pressed close"),w((0,c.backendSuspendStart)())},canClose:u,children:g}),(0,o.createVNode)(1,"div",(0,r.classes)(["Window__rest",x&&"debug-layout"]),[!_&&h,k&&(0,o.createVNode)(1,"div","Window__dimmer")],0),S&&(0,o.createFragment)([(0,o.createVNode)(1,"div","Window__resizeHandle__e",null,1,{onMousedown:(0,d.resizeStartHandler)(1,0)}),(0,o.createVNode)(1,"div","Window__resizeHandle__s",null,1,{onMousedown:(0,d.resizeStartHandler)(0,1)}),(0,o.createVNode)(1,"div","Window__resizeHandle__se",null,1,{onMousedown:(0,d.resizeStartHandler)(1,1)})],4)]})},u}(o.Component);t.Window=b;b.Content=function(e){var t=e.className,n=e.fitted,i=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,m);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,p.Layout.Content,Object.assign({className:(0,r.classes)(["Window__content",t])},a,{children:n&&i||(0,o.createVNode)(1,"div","Window__contentPadding",i,0)})))};var C=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},y=function(e,t){var n=e.className,c=e.title,l=e.status,s=e.canClose,d=e.fancy,f=e.onDragStart,p=e.onClose,m=e.children;(0,i.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[l===undefined&&(0,o.createComponentVNode)(2,u.Icon,{className:"TitleBar__statusIcon",name:"tools",opacity:.5})||(0,o.createComponentVNode)(2,u.Icon,{className:"TitleBar__statusIcon",color:C(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&f(e)}}),(0,o.createVNode)(1,"div","TitleBar__title",["string"==typeof c&&c===c.toLowerCase()&&(0,a.toTitleCase)(c)||c,!!m&&(0,o.createVNode)(1,"div","TitleBar__buttons",m,0)],0),!1,Boolean(d&&s)&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:p})],0)}},2381:function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.Pane=t.NtosWindow=t.Layout=void 0;var o=n(30041);t.Layout=o.Layout;var r=n(76738);t.NtosWindow=r.NtosWindow;var i=n(52243);t.Pane=i.Pane;var a=n(34881);t.Window=a.Window},13952:function(e,t){"use strict";t.__esModule=!0,t.captureExternalLinks=void 0;t.captureExternalLinks=function(){document.addEventListener("click",(function(e){for(var t=e.target;;){if(!t||t===document.body)return;if("a"===String(t.tagName).toLowerCase())break;t=t.parentElement}var n=t.getAttribute("href")||"";if(!("?"===n.charAt(0)||n.startsWith("byond://"))){e.preventDefault();var o=n;o.toLowerCase().startsWith("www")&&(o="https://"+o),Byond.topic({tgui:1,window_id:window.__windowId__,type:"openLink",url:o})}}))}},79926:function(e,t,n){"use strict";t.__esModule=!0,t.logger=t.createLogger=void 0;n(82252);var o=0,r=1,i=2,a=3,c=4,u=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];if(e>=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",ns:t,message:a})}},l=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return u.apply(void 0,[o,e].concat(n))},log:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[r,e].concat(n))},info:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[i,e].concat(n))},warn:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[a,e].concat(n))},error:function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return u.apply(void 0,[c,e].concat(n))}}};t.createLogger=l;var s=l();t.logger=s},77960:function(e,t,n){"use strict";t.__esModule=!0,t.createRenderer=t.suspendRenderer=t.resumeRenderer=void 0;var o,r=n(28440),i=n(96323),a=((0,n(79926).createLogger)("renderer"),!0),c=!1;t.resumeRenderer=function(){a=a||"resumed",c=!1};t.suspendRenderer=function(){c=!0};t.createRenderer=function(e){return function(){r.perf.mark("render/start"),o||(o=document.getElementById("react-root")),(0,i.render)(e(),o),r.perf.mark("render/finish"),c||a&&(a=!1)}}},91199:function(e,t,n){"use strict";t.__esModule=!0,t.getRoutedComponent=void 0;var o=n(96323),r=n(31246),i=(n(12184),n(2381)),a=n(8156),c=function(e,t){return function(){return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}},u=function(){return(0,o.createComponentVNode)(2,i.Window,{children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0})})};t.getRoutedComponent=function(e){var t=e.getState(),n=(0,r.selectBackend)(t),o=n.suspended,i=n.config;if(o)return u;for(var l,s=null==i?void 0:i["interface"],d=[function(e){return"./"+e+".tsx"},function(e){return"./"+e+".js"},function(e){return"./"+e+"/index.tsx"},function(e){return"./"+e+"/index.js"}];!l&&d.length>0;){var f=d.shift()(s);try{l=a(f)}catch(m){if("MODULE_NOT_FOUND"!==m.code)throw m}}if(!l)return c("notFound",s);var p=l[s];return p||c("missingExport",s)}},81890:function(e,t,n){"use strict";t.__esModule=!0,t.sanitizeText=void 0;var o,r=(o=n(42950))&&o.__esModule?o:{"default":o};var i=["b","br","center","code","div","font","hr","i","li","menu","ol","p","pre","span","table","td","th","tr","u","ul"],a=["class","style"];t.sanitizeText=function(e,t,n){return void 0===t&&(t=i),void 0===n&&(n=a),r["default"].sanitize(e,{ALLOWED_TAGS:t,FORBID_ATTR:n})}},18749:function(e,t,n){"use strict";t.__esModule=!0,t.StoreProvider=t.configureStore=void 0;var o=n(32416),r=n(465),i=n(96323),a=n(39646),c=n(31246),u=n(27157);function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=(0,n(79926).createLogger)("store");t.configureStore=function(e){var t,n;void 0===e&&(e={});var i=(0,o.flow)([(0,r.combineReducers)({debug:u.debugReducer,backend:c.backendReducer}),e.reducer]),l=[].concat((null==(t=e.middleware)?void 0:t.pre)||[],[a.assetMiddleware,c.backendMiddleware],(null==(n=e.middleware)?void 0:n.post)||[]);var s=r.applyMiddleware.apply(void 0,l),f=(0,r.createStore)(i,s);return window.__store__=f,window.__augmentStack__=d(f),f};var d=function(e){return function(t,n){var o,r;n?"object"!=typeof n||n.stack||(n.stack=t):(n=new Error(t.split("\n")[0])).stack=t,s.log("FatalError:",n);var i=e.getState(),a=null==i||null==(o=i.backend)?void 0:o.config,c=t;return c+="\nUser Agent: "+navigator.userAgent,c+="\nState: "+JSON.stringify({ckey:null==a||null==(r=a.client)?void 0:r.ckey,"interface":null==a?void 0:a["interface"],window:null==a?void 0:a.window})}},f=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,l(t,n);var r=o.prototype;return r.getChildContext=function(){return{store:this.props.store}},r.render=function(){return this.props.children},o}(i.Component);t.StoreProvider=f},88428:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Blink",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.Blink,{children:"Blink"})})}},9184:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i=n(87758),a={title:"BlockQuote",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.BlockQuote,{children:(0,o.createComponentVNode)(2,i.BoxWithSampleText)})})}},36801:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Box",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{bold:!0,children:"bold"}),(0,o.createComponentVNode)(2,r.Box,{italic:!0,children:"italic"}),(0,o.createComponentVNode)(2,r.Box,{opacity:.5,children:"opacity 0.5"}),(0,o.createComponentVNode)(2,r.Box,{opacity:.25,children:"opacity 0.25"}),(0,o.createComponentVNode)(2,r.Box,{m:2,children:"m: 2"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"left",children:"left"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:"center"}),(0,o.createComponentVNode)(2,r.Box,{textAlign:"right",children:"right"})]})}},3750:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Button",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=i;var a=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],c=["good","average","bad","black","white"],u=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createComponentVNode)(2,r.Button,{content:"Simple"}),(0,o.createComponentVNode)(2,r.Button,{selected:!0,content:"Selected"}),(0,o.createComponentVNode)(2,r.Button,{altSelected:!0,content:"Alt Selected"}),(0,o.createComponentVNode)(2,r.Button,{disabled:!0,content:"Disabled"}),(0,o.createComponentVNode)(2,r.Button,{color:"transparent",content:"Transparent"}),(0,o.createComponentVNode)(2,r.Button,{icon:"cog",content:"Icon"}),(0,o.createComponentVNode)(2,r.Button,{icon:"power-off"}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,content:"Fluid"}),(0,o.createComponentVNode)(2,r.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[c.map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:e,content:e},e)})),(0,o.createVNode)(1,"br"),a.map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:e,content:e},e)})),(0,o.createVNode)(1,"br"),a.map((function(e){return(0,o.createComponentVNode)(2,r.Box,{inline:!0,mx:"7px",color:e,children:e},e)}))]})]})}},68696:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a=n(79926),c={title:"ByondUi",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=c;var u=function(e,t){var n=(0,r.useLocalState)(t,"byondUiEvalCode","Byond.winset('"+window.__windowId__+"', {\n 'is-visible': true,\n})"),c=n[0],u=n[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Button",children:(0,o.createComponentVNode)(2,i.ByondUi,{params:{type:"button",text:"Button"}})}),(0,o.createComponentVNode)(2,i.Section,{title:"Make BYOND calls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"chevron-right",onClick:function(){return setImmediate((function(){try{var e=new Function("return ("+c+")")();e&&e.then?(a.logger.log("Promise"),e.then(a.logger.log)):a.logger.log(e)}catch(t){a.logger.log(t)}}))},children:"Evaluate"}),children:(0,o.createComponentVNode)(2,i.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(e){return u(e.target.value)},children:c})})],4)}},88835:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i=n(87758),a={title:"Collapsible",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{children:(0,o.createComponentVNode)(2,r.Collapsible,{title:"Collapsible Demo",buttons:(0,o.createComponentVNode)(2,r.Button,{icon:"cog"}),children:(0,o.createComponentVNode)(2,i.BoxWithSampleText)})})}},34458:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Flex & Sections",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"fs_grow",1),a=n[0],c=n[1],u=(0,r.useLocalState)(t,"fs_direction","column"),l=u[0],s=u[1],d=(0,r.useLocalState)(t,"fs_fill",!0),f=d[0],p=d[1],m=(0,r.useLocalState)(t,"fs_title",!0),h=m[0],v=m[1];return(0,o.createComponentVNode)(2,i.Flex,{height:"100%",direction:"column",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{mb:1,children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return s("column"===l?"row":"column")},children:'Flex direction="'+l+'"'}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return c(Number(!a))},children:"Flex.Item grow={"+a+"}"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,onClick:function(){return p(!f)},children:"Section fill={"+String(f)+"}"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,selected:h,onClick:function(){return v(!h)},children:"Section title"})]})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",direction:l,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{mr:"row"===l&&1,mb:"column"===l&&1,grow:a,children:(0,o.createComponentVNode)(2,i.Section,{title:h&&"Section 1",fill:f,children:"Content"})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:a,children:(0,o.createComponentVNode)(2,i.Section,{title:h&&"Section 2",fill:f,children:"Content"})})]})})]})}},23148:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Input",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"number",0),a=n[0],c=n[1],u=(0,r.useLocalState)(t,"text","Sample text"),l=u[0],s=u[1];return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input (onChange)",children:(0,o.createComponentVNode)(2,i.Input,{value:l,onChange:function(e,t){return s(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input (onInput)",children:(0,o.createComponentVNode)(2,i.Input,{value:l,onInput:function(e,t){return s(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onChange:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Slider (onDrag)",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,o.createComponentVNode)(2,i.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}}),(0,o.createComponentVNode)(2,i.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:a,minValue:-100,maxValue:100,onDrag:function(e,t){return c(t)}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rotating Icon",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,position:"relative",children:(0,o.createComponentVNode)(2,i.DraggableControl,{value:a,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(e,t){return c(t)},children:function(e){return(0,o.createComponentVNode)(2,i.Box,{onMouseDown:e.handleDragStart,children:[(0,o.createComponentVNode)(2,i.Icon,{size:4,color:"yellow",name:"times",rotation:4*e.displayValue}),e.inputElement]})}})})})]})})}},23613:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Popper",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(){return(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Popper,{popperContent:(0,o.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,o.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,o.createComponentVNode)(2,r.Popper,{popperContent:(0,o.createComponentVNode)(2,r.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,o.createComponentVNode)(2,r.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},9093:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"ProgressBar",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"progress",.5),a=n[0],c=n[1];return(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.5,Infinity],bad:[-Infinity,.1],average:[0,.5]},minValue:-1,maxValue:1,value:a,children:["Value: ",Number(a).toFixed(1)]}),(0,o.createComponentVNode)(2,i.Box,{mt:1,children:[(0,o.createComponentVNode)(2,i.Button,{content:"-0.1",onClick:function(){return c(a-.1)}}),(0,o.createComponentVNode)(2,i.Button,{content:"+0.1",onClick:function(){return c(a+.1)}})]})]})}},86482:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(26949),i={title:"Stack",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=i;var a=function(){return(0,o.createComponentVNode)(2,r.Box,{inline:!0,width:1,height:1,children:"A"})},c=function(){return(0,o.createFragment)([(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,a)}),(0,o.createComponentVNode)(2,r.Stack.Divider),(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,a)})],4)},u=function(e,t){return(0,o.createComponentVNode)(2,r.Section,{fill:!0,children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,className:"debug-layout",children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1,children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,vertical:!0,children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{children:(0,o.createComponentVNode)(2,r.Stack,{fill:!0,children:[(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,o.createComponentVNode)(2,c),(0,o.createComponentVNode)(2,c)]})}),(0,o.createComponentVNode)(2,r.Stack.Item,{grow:1}),(0,o.createComponentVNode)(2,c)]})})]})})}},63900:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(7151),i=n(26949),a=n(1033),c={title:"Storage",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=c;var u=function(e,t){return window.localStorage?(0,o.createComponentVNode)(2,i.Section,{title:"Local Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"recycle",onClick:function(){localStorage.clear(),r.storage.clear()},children:"Clear"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Remaining space",children:(0,a.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Local storage is not available."})}},88209:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Tabs",render:function(){return(0,o.createComponentVNode)(2,u)}};t.meta=a;var c=["Tab #1","Tab #2","Tab #3","Tab #4"],u=function(e,t){var n=(0,r.useLocalState)(t,"tabProps",{}),a=n[0],c=n[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"vertical",checked:a.vertical,onClick:function(){return c(Object.assign({},a,{vertical:!a.vertical}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"leftSlot",checked:a.leftSlot,onClick:function(){return c(Object.assign({},a,{leftSlot:!a.leftSlot}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"rightSlot",checked:a.rightSlot,onClick:function(){return c(Object.assign({},a,{rightSlot:!a.rightSlot}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"icon",checked:a.icon,onClick:function(){return c(Object.assign({},a,{icon:!a.icon}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"fluid",checked:a.fluid,onClick:function(){return c(Object.assign({},a,{fluid:!a.fluid}))}}),(0,o.createComponentVNode)(2,i.Button.Checkbox,{inline:!0,content:"centered",checked:a.centered,onClick:function(){return c(Object.assign({},a,{centered:!a.centered}))}})]}),(0,o.createComponentVNode)(2,i.Section,{fitted:!0,children:(0,o.createComponentVNode)(2,l)}),(0,o.createComponentVNode)(2,i.Section,{title:"Normal section",children:[(0,o.createComponentVNode)(2,l),"Some text"]}),(0,o.createComponentVNode)(2,i.Section,{children:"Section-less tabs appear the same as tabs in a fitted section:"}),(0,o.createComponentVNode)(2,l)],4)},l=function(e,t){var n=(0,r.useLocalState)(t,"tabIndex",0),a=n[0],u=n[1],l=(0,r.useLocalState)(t,"tabProps",{})[0];return(0,o.createComponentVNode)(2,i.Tabs,{vertical:l.vertical,fluid:l.fluid,textAlign:l.centered&&"center",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:t===a,icon:l.icon&&"info-circle",leftSlot:l.leftSlot&&(0,o.createComponentVNode)(2,i.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:l.rightSlot&&(0,o.createComponentVNode)(2,i.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){return u(t)},children:e},t)}))})}},38200:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=n(31246),i=n(26949),a={title:"Themes",render:function(){return(0,o.createComponentVNode)(2,c)}};t.meta=a;var c=function(e,t){var n=(0,r.useLocalState)(t,"kitchenSinkTheme"),a=n[0],c=n[1];return(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Use theme",children:(0,o.createComponentVNode)(2,i.Input,{placeholder:"theme_name",value:a,onInput:function(e,t){return c(t)}})})})})}},48181:function(e,t,n){"use strict";t.__esModule=!0,t.meta=void 0;var o=n(96323),r=(n(34739),n(26949)),i={title:"Tooltip",render:function(){return(0,o.createComponentVNode)(2,a)}};t.meta=i;var a=function(){return(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Box,{children:[(0,o.createComponentVNode)(2,r.Tooltip,{content:"Tooltip text.",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,o.createComponentVNode)(2,r.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,o.createComponentVNode)(2,r.Box,{mt:1,children:["top","left","right","bottom","bottom-start","bottom-end"].map((function(e){return(0,o.createComponentVNode)(2,r.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:e,content:e},e)}))})]})}},87758:function(e,t,n){"use strict";t.__esModule=!0,t.BoxWithSampleText=void 0;var o=n(96323),r=n(26949);t.BoxWithSampleText=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Box,Object.assign({},e,{children:[(0,o.createComponentVNode)(2,r.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,o.createComponentVNode)(2,r.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}},33603:function(){},57397:function(){},62048:function(){},39248:function(){},36030:function(){},32817:function(){},44576:function(){},21805:function(){},39292:function(){},74199:function(){},65138:function(){},8156:function(e,t,n){var o={"./AirlockElectronics":64008,"./AirlockElectronics.tsx":64008,"./AlertModal":72272,"./AlertModal.js":72272,"./Apc":48349,"./Apc.js":48349,"./Autolathe":47533,"./Autolathe.js":47533,"./BloomEdit":15466,"./BloomEdit.js":15466,"./BodyScanner":33897,"./BodyScanner.js":33897,"./CameraConsole":83548,"./CameraConsole.js":83548,"./Canister":98566,"./Canister.js":98566,"./Canvas":6789,"./Canvas.js":6789,"./CardPay":60301,"./CardPay.js":60301,"./ChemDispenser":68078,"./ChemDispenser.js":68078,"./Cryo":10996,"./Cryo.js":10996,"./CustomAnnounce":26617,"./CustomAnnounce.js":26617,"./DisposalUnit":69974,"./DisposalUnit.js":69974,"./EmotePanelEditor":10704,"./EmotePanelEditor.js":10704,"./Filteriffic":53600,"./Filteriffic.js":53600,"./GPS":24482,"./GPS.js":24482,"./GuestPass":19609,"./GuestPass.js":19609,"./ListInput":96696,"./ListInput.js":96696,"./Lootcrate":52954,"./Lootcrate.js":52954,"./MafiaPanel":18707,"./MafiaPanel.js":18707,"./Minesweeper":55712,"./Minesweeper.js":55712,"./MiningOreProcessingConsole":48078,"./MiningOreProcessingConsole.js":48078,"./MiningStackingConsole":98948,"./MiningStackingConsole.js":98948,"./MiningVendor":70496,"./MiningVendor.js":70496,"./NoticeBoard":72160,"./NoticeBoard.js":72160,"./NuclearBomb":83271,"./NuclearBomb.js":83271,"./Orbit":64427,"./Orbit.js":64427,"./Particool":21293,"./Particool.js":21293,"./Photocopier":28508,"./Photocopier.js":28508,"./PortablePump":13484,"./PortablePump.js":13484,"./PortableScrubber":54652,"./PortableScrubber.js":54652,"./ReligiousTool":79051,"./ReligiousTool.js":79051,"./Safe":1945,"./Safe.js":1945,"./SamplerPipe":69905,"./SamplerPipe.js":69905,"./SecureSafe":95285,"./SecureSafe.js":95285,"./SkillsConsole":98115,"./SkillsConsole.js":98115,"./Smes":68952,"./Smes.js":68952,"./SpawnersMenu":56747,"./SpawnersMenu.js":56747,"./Stack":47466,"./Stack.js":47466,"./Tank":53759,"./Tank.js":53759,"./Vote":83634,"./Vote.tsx":83634,"./Wires":35045,"./Wires.js":35045,"./common/AccessList":52126,"./common/AccessList.js":52126,"./common/InterfaceLockNoticeBox":19447,"./common/InterfaceLockNoticeBox.js":19447,"./common/Mining":11409,"./common/Mining.js":11409,"./common/PortableAtmos":41161,"./common/PortableAtmos.js":41161};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=8156},69321:function(e,t,n){var o={"./Blink.stories.js":88428,"./BlockQuote.stories.js":9184,"./Box.stories.js":36801,"./Button.stories.js":3750,"./ByondUi.stories.js":68696,"./Collapsible.stories.js":88835,"./Flex.stories.js":34458,"./Input.stories.js":23148,"./Popper.stories.js":23613,"./ProgressBar.stories.js":9093,"./Stack.stories.js":86482,"./Storage.stories.js":63900,"./Tabs.stories.js":88209,"./Themes.stories.js":38200,"./Tooltip.stories.js":48181};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=69321},82252:function(e){"use strict";var t=[];e.exports={subscribe:function(e){return t.push(e)},sendMessage:function(e){},sendLogEntry:function(e,t){},setupHotReloading:function(){0}}}},t={};function n(o){var r=t[o];if(r!==undefined)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";n(65379),n(43674),n(69656),n(72411),n(24467),n(37493),n(87420),n(9480),n(66171),n(53276),n(71852),n(59045),n(70887),n(72906),n(24835),n(14653),n(58139),n(34049),n(38356),n(72494),n(31699),n(3263),n(81520),n(80036),n(60515),n(94330),n(96553),n(99139),n(98215),n(32617),n(80186),n(31149),n(71827),n(79770),n(32099),n(72667),n(94920),n(64683),n(26189),n(41185),n(51008),n(47112),n(86e3),n(15196),n(95993),n(25079),n(87143),n(72499),n(73676),n(76746),n(19),n(17038),n(46360),n(16835),n(96683),n(7756),n(21842),n(1613),n(65115),n(27115),n(13280),n(21019),n(66619),n(75469),n(90967),n(35022),n(22604),n(41843),n(86810),n(54670),n(16580),n(31304),n(13078),n(45128),n(31938),n(90958),n(88885),n(45017),n(59743),n(47560),n(31569),n(6134),n(12622),n(60852),n(99085),n(75180),n(79437),n(75370),n(61022),n(50580),n(5301),n(76438),n(97307),n(34016),n(86944),n(60687),n(86957),n(59163),n(34128),n(24267),n(39816),n(4239),n(8381),n(63669),n(25779),n(84580),n(33198),n(71895),n(44910),n(95962),n(73769),n(14962),n(80345),n(18438),n(70552),n(46356),n(57128),n(83588),n(47057),n(67092),n(59478),n(69203),n(27879),n(71507),n(39021),n(8641),n(83064),n(93115),n(33362),n(45090),n(12654),n(58870),n(76581),n(4567),n(28638),n(60314),n(71595),n(98954),n(91332),n(79445),n(36493),n(24476),n(78192),n(58660),n(56592),n(69957),n(9747),n(13578),n(3684),n(19209),n(56737),n(67586),n(7743),n(15890),n(34651),n(18037),n(48415),n(54950),n(76102),n(47816),n(30037),n(54705),n(75831),n(96958),n(75344),n(87853),n(25865),n(1150),n(50444),n(11220),n(6636),n(37650),n(12424),n(64346),n(27553),n(49007),n(17621),n(71078),n(20500),n(85923),n(38956),n(49264),n(70448),n(5775),n(45164),n(83762),n(67265),n(56058),n(87001),n(23535),n(18617),n(70595),n(76820),n(33357),n(38215),n(37281),n(99584),n(43582),n(15378),n(31213),n(19275),n(59),n(43849),n(69838),n(25513),n(72090),n(15511),n(88280),n(37283),n(96250)}(),function(){"use strict";var e=n(96323);n(33603),n(57397),n(62048),n(39248),n(36030),n(32817),n(44576),n(21805),n(39292),n(74199),n(65138);var t,o,r=n(28440),i=(n(82252),n(6965)),a=n(13952),c=n(77960),u=n(18749),l=n(99397);r.perf.mark("inception",null==(t=window.performance)||null==(o=t.timing)?void 0:o.navigationStart),r.perf.mark("init");var s=(0,u.configureStore)(),d=(0,c.createRenderer)((function(){var t=(0,n(91199).getRoutedComponent)(s);return(0,e.createComponentVNode)(2,u.StoreProvider,{store:s,children:(0,e.createComponentVNode)(2,t)})}));!function f(){if("loading"!==document.readyState){for((0,l.setupGlobalEvents)(),(0,i.setupHotKeys)(),(0,a.captureExternalLinks)(),s.subscribe(d),window.update=function(e){return s.dispatch(Byond.parseJson(e))};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}0}else document.addEventListener("DOMContentLoaded",f)}()}()}(); \ No newline at end of file