diff --git a/.gitattributes b/.gitattributes index e0aa6c27648..480f95b594a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -35,10 +35,14 @@ *.png binary *.so binary -## Merger hooks, run tools/hooks/install.bat or install.sh to set up +## Merge hooks, run tools/hooks/install.bat or install.sh to set up *.dmm text eol=lf merge=dmm *.dmi binary merge=dmi +## TGUI bundle merge drivers +*.bundle.* binary merge=tgui-merge-bundle +*.chunk.* binary merge=tgui-merge-bundle + ## Force tab indents on dm files *.dm whitespace=indent-with-non-tab diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8270308d5f..6011bb93b94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 + - name: Setup Cache uses: actions/cache@v4 with: @@ -37,13 +38,19 @@ jobs: python-version: '3.11.6' cache: 'pip' + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'yarn' + cache-dependency-path: ./tgui/yarn.lock + - name: Install python packages run: pip3 install -r tools/requirements.txt - name: Run Linters run: | find . -name "*.json" -not -path "*/node_modules/*" -print0 | xargs -0 python3 ./tools/ci/json_verifier.py - tools/ci/build_tgui.sh + tgui/bin/tgui --ci tools/ci/check_grep.sh python3 tools/ci/check_line_endings.py python3 tools/ci/unticked_files.py ${GITHUB_WORKSPACE} diff --git a/.github/workflows/testmerge.yml b/.github/workflows/testmerge.yml index 360cd0f5255..ecc9206c851 100644 --- a/.github/workflows/testmerge.yml +++ b/.github/workflows/testmerge.yml @@ -8,7 +8,7 @@ on: env: BASE_BRANCH: master220 - TESTMERGE_BRANCH: testmerge2 + TESTMERGE_BRANCH: testmerge REQUIRED_LABEL: testmerge jobs: @@ -25,16 +25,23 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, state: 'open', + sort: 'updated', + direction: 'desc', + per_page: 100 }); const labeledPRs = []; - for (const pr of pullRequests) { + const sortedPRsASC = pullRequests.sort((a, b) => a.created_at.localeCompare(b.created_at)); + for (const pr of sortedPRsASC) { if (pr.labels.some(label => label.name === label_needed)) { - const prInfo = await github.rest.pulls.get({ + console.log(`PR ${pr.title}`); + + const { data: prInfo } = await github.rest.pulls.get({ owner: context.repo.owner, repo: context.repo.repo, pull_number: pr.number }); - if (prInfo.data.mergeable) { + + if (prInfo.mergeable) { labeledPRs.push({ number: pr.number, title: pr.title @@ -43,27 +50,63 @@ jobs: } } const prDetails = JSON.stringify(labeledPRs); - console.log(`Pull Requests with the label "${label_needed}" and no merge conflicts: ${prDetails}`); + console.log(`Pull Requests with the label "${label_needed}" and no merge conflicts:\n${prDetails}`); if (prDetails.length == 0) { core.setFailed(`No pull requests with the label "${label_needed}" and no merge conflicts found.`); } core.setOutput('labeled_pr_details', prDetails); + - name: Git checkout uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} fetch-depth: 0 ref: ${{ env.BASE_BRANCH }} + + - uses: actions/setup-python@v5 + with: + python-version: '3.11.6' + cache: 'pip' + + - uses: actions/setup-node@v4 + with: + node-version: 20 + cache: 'yarn' + cache-dependency-path: ./tgui/yarn.lock + + - name: Install python packages + run: | + pip3 install -r tools/requirements.txt + pip3 install GitPython + - name: Iterate over PRs and perform actions id: prepare_testmerge_branch run: | set -e + # Define the color functions + red() { + echo -e "\033[31m$1\033[0m" + } + + green() { + echo -e "\033[32m$1\033[0m" + } + + yellow() { + echo -e "\033[33m$1\033[0m" + } + git config --local user.email "action@github.com" git config --local user.name "Testmerge Worker" git switch ${{ env.TESTMERGE_BRANCH }} || git switch -c ${{ env.TESTMERGE_BRANCH }} git reset --hard ${{ env.BASE_BRANCH }} + ./tools/hooks/install.sh + ./tgui/bin/tgui --install-git-hooks + + MERGED_PRS=() + # Print debug information echo "PR details JSON:" echo '${{ steps.get_labeled_prs.outputs.labeled_pr_details }}' @@ -71,25 +114,59 @@ jobs: echo '${{ steps.get_labeled_prs.outputs.labeled_pr_details }}' | jq -c '.[]' | while read -r PR_DETAIL; do PR_NUMBER=$(echo "$PR_DETAIL" | jq -r '.number') PR_TITLE=$(echo "$PR_DETAIL" | jq -r '.title') - echo "Preparing $PR_TITLE (#$PR_NUMBER)" - git fetch origin pull/$PR_NUMBER/head:pr-$PR_NUMBER + PR_LAST_COMMIT=$(git rev-parse --short pr-$PR_NUMBER | head -c 7) + PR_STRING="$PR_TITLE (#$PR_NUMBER) [$PR_LAST_COMMIT]" + echo "::group::$PR_STRING" + echo "Preparing..." # Check for merge conflicts git merge --no-commit --no-ff pr-$PR_NUMBER || true CONFLICTS=$(git ls-files -u | wc -l) if [ "$CONFLICTS" -gt 0 ] ; then - echo "There is a merge conflict. Skipping $PR_TITLE (#$PR_NUMBER)" + echo "::endgroup::" + echo "$(red "$PR_STRING: There is a merge conflict. Skipping!")" git merge --abort continue fi git merge --abort git merge --squash pr-$PR_NUMBER - git commit -m "$PR_TITLE (#$PR_NUMBER) [testmerge]" + git commit -m "$PR_TITLE (#$PR_NUMBER) [testmerge][$PR_LAST_COMMIT]" # Perform your git actions here, for example: - echo "Successfully merged $PR_TITLE (#$PR_NUMBER)" + echo "::endgroup::" + echo "$(green "$PR_STRING: Successfully merged!")" + MERGED_PRS+=("$PR_NUMBER") done + # Generate changelog + python3 tools/changelog/gen_changelog.py + git add html/changelogs/archive/\*.yml + CHANGES=$(git diff --name-only --cached | wc -l) + if [ "$CHANGES" -gt 0 ] ; then + git config --local user.email "action@github.com" + git config --local user.name "Changelog Generation" + git commit -m "Automatic changelog generation" + fi + git push -f origin ${{ env.TESTMERGE_BRANCH }} + + # Output the list of merged PRs + echo "merged_prs=${MERGED_PRS[*]}" >> $GITHUB_OUTPUT + + - name: Comment on merged PRs + uses: actions/github-script@v7 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + script: | + const mergedPRs = '${{ steps.prepare_testmerge_branch.outputs.merged_prs }}'.split(' '); + for (const prNumber of mergedPRs) { + await github.rest.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: parseInt(prNumber), + body: 'Данный PR был добавлен в ветку "${{ env.TESTMERGE_BRANCH }}" для тестов. Он попадёт на сервер после деплоя.' + }); + console.log(`Commented on PR #${prNumber}`); + } diff --git a/_build_dependencies.sh b/_build_dependencies.sh index 6d27f81355c..a1292ad3e18 100644 --- a/_build_dependencies.sh +++ b/_build_dependencies.sh @@ -1,8 +1,8 @@ # This file has all the information on what versions of libraries are thrown into the code # For dreamchecker -export SPACEMANDMM_TAG=suite-1.8 +export SPACEMANDMM_TAG=suite-1.9 # For TGUI -export NODE_VERSION=18 +export NODE_VERSION=20 # Stable Byond Major export STABLE_BYOND_MAJOR=515 # Stable Byond Minor diff --git a/_maps/map_files/Delta/delta.dmm b/_maps/map_files/Delta/delta.dmm index f462e315ba8..b7bf54b0027 100644 --- a/_maps/map_files/Delta/delta.dmm +++ b/_maps/map_files/Delta/delta.dmm @@ -15481,7 +15481,7 @@ /turf/simulated/floor/plasteel{ icon_state = "dark" }, -/area/aisat/maintenance) +/area/turret_protected/aisat) "bRt" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ @@ -60397,7 +60397,7 @@ /obj/effect/decal/warning_stripes/southwest, /obj/structure/table/reinforced, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/engine, /area/security/execution) "iJV" = ( @@ -102731,7 +102731,7 @@ /turf/simulated/floor/plasteel{ icon_state = "dark" }, -/area/aisat) +/area/turret_protected/aisat) "sOS" = ( /obj/machinery/disposal, /obj/effect/decal/warning_stripes/red/hollow, @@ -135109,13 +135109,13 @@ qni qni bJW bJW -cvf -cvf -cvf +bJW +bJW +bJW bRr -cvf -cvf -cvf +bJW +bJW +bJW qrT qrT qrT @@ -136144,7 +136144,7 @@ bPM bRy bTA bTA -wRH +bTA dxt wRH iox @@ -137165,13 +137165,13 @@ qni qni bJW bJW -cvg -cvg -cvg +bJW +bJW +bJW sOI -cvg -cvg -cvg +bJW +bJW +bJW qrT qrT qrT diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_biodome_beach.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_biodome_beach.dmm index c7c7dd90c26..d4bbc78e3d0 100644 --- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_biodome_beach.dmm +++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_biodome_beach.dmm @@ -384,14 +384,15 @@ /turf/simulated/floor/pod/light, /area/ruin/powered/beach) "ry" = ( -/obj/structure/table, /obj/item/storage/toolbox/mechanical, /obj/item/storage/box/lights/mixed, /obj/item/stack/cable_coil, /obj/machinery/light/small{ dir = 1 }, -/obj/item/storage/box/donkpockets, +/obj/structure/closet/crate, +/obj/item/reagent_containers/spray/spraytan, +/obj/item/reagent_containers/glass/bucket, /turf/simulated/floor/plating, /area/ruin/powered/beach) "rC" = ( @@ -400,11 +401,20 @@ /area/ruin/powered/beach) "rX" = ( /obj/item/tank/internals/oxygen, +/obj/structure/sink{ + dir = 4; + pixel_x = 12 + }, /turf/simulated/floor/plating, /area/ruin/powered/beach) "sq" = ( /turf/simulated/floor/plating, /area/ruin/powered/beach) +"sJ" = ( +/obj/structure/flora/ausbushes/stalkybush, +/obj/item/fish_eggs/babycarp, +/turf/simulated/floor/beach/water, +/area/ruin/powered/beach) "tq" = ( /obj/structure/table/wood, /obj/item/clothing/glasses/sunglasses/big{ @@ -413,6 +423,11 @@ /obj/item/clothing/glasses/sunglasses/big, /turf/simulated/floor/wood, /area/ruin/powered/beach) +"tG" = ( +/obj/effect/turf_decal/sand/plating, +/obj/machinery/vending/crittercare/free, +/turf/simulated/floor/plasteel, +/area/ruin/powered/beach) "uA" = ( /obj/item/radio/beacon, /turf/simulated/floor/beach/sand, @@ -433,6 +448,7 @@ /obj/effect/turf_decal/stripes/asteroid/line{ dir = 1 }, +/obj/item/fish_eggs/babycarp, /turf/simulated/floor/plasteel, /area/ruin/powered/beach) "wf" = ( @@ -485,9 +501,20 @@ /area/ruin/powered/beach) "zM" = ( /obj/structure/table, -/obj/item/storage/box/beakers, -/obj/item/reagent_containers/spray/spraytan, -/obj/item/storage/box/drinkingglasses, +/obj/item/storage/box/donkpockets{ + pixel_x = -5; + pixel_y = 13 + }, +/obj/item/storage/firstaid/aquatic_kit/full{ + pixel_x = 7; + pixel_y = 14 + }, +/obj/item/storage/box/beakers{ + pixel_x = -5 + }, +/obj/item/storage/box/drinkingglasses{ + pixel_x = 8 + }, /turf/simulated/floor/plating, /area/ruin/powered/beach) "Bl" = ( @@ -572,6 +599,14 @@ }, /turf/simulated/floor/beach/sand, /area/ruin/powered/beach) +"Rx" = ( +/obj/structure/closet/secure_closet/freezer/meat/open, +/obj/item/reagent_containers/food/snacks/meat/humanoid/monkey, +/obj/item/reagent_containers/food/snacks/meat/humanoid/monkey, +/obj/item/reagent_containers/food/snacks/meat/humanoid/monkey, +/obj/item/reagent_containers/food/snacks/meat/humanoid/monkey, +/turf/simulated/floor/wood, +/area/ruin/powered/beach) "SA" = ( /obj/structure/urinal{ pixel_y = 28 @@ -603,7 +638,12 @@ /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, /area/ruin/powered/beach) "TS" = ( -/obj/structure/closet/secure_closet/freezer/meat, +/obj/structure/closet/secure_closet/freezer/fridge/open, +/obj/item/reagent_containers/food/condiment/flour, +/obj/item/reagent_containers/food/condiment/flour, +/obj/item/reagent_containers/food/condiment/flour, +/obj/item/reagent_containers/food/condiment/flour, +/obj/item/reagent_containers/food/condiment/flour, /turf/simulated/floor/wood, /area/ruin/powered/beach) "UU" = ( @@ -630,6 +670,12 @@ }, /turf/simulated/floor/pod, /area/ruin/powered/beach) +"XO" = ( +/obj/machinery/fishtank/wall{ + opacity = 1 + }, +/turf/simulated/floor/plating, +/area/ruin/powered/beach) "YN" = ( /obj/effect/turf_decal/sand/plating, /obj/machinery/vending/snack/free, @@ -1158,7 +1204,7 @@ Ml zz oN Ml -Ml +XO NQ Ml UU @@ -1218,7 +1264,7 @@ Ml qf Ky ZW -TS +Rx TS Ml gg @@ -1279,7 +1325,7 @@ vu Ek KX YN -gg +tG gg gg gg @@ -1356,7 +1402,7 @@ bT bU bU bU -bV +sJ bU bW "} diff --git a/_maps/map_files/RandomRuins/SpaceRuins/astroak.dmm b/_maps/map_files/RandomRuins/SpaceRuins/astroak.dmm new file mode 100644 index 00000000000..001608d93b8 --- /dev/null +++ b/_maps/map_files/RandomRuins/SpaceRuins/astroak.dmm @@ -0,0 +1,2572 @@ +//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE +"aP" = ( +/obj/structure/cult/archives, +/obj/item/clothing/suit/space/cult, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"bV" = ( +/obj/structure/flora/tree/dead, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"cb" = ( +/obj/structure/cult/pylon, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"cD" = ( +/obj/effect/turf_decal{ + dir = 5; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"cH" = ( +/obj/item/toy/sword, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"cT" = ( +/obj/item/trash/candle, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"dw" = ( +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"eH" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/item/stack/sheet/cloth, +/obj/item/stack/rods, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"eJ" = ( +/turf/simulated/floor/plating/asteroid/airless, +/area/ruin/unpowered/no_grav) +"eM" = ( +/obj/structure/table/wood/fancy, +/obj/item/storage/fancy/cigarettes/cigpack_carp, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"fM" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"fW" = ( +/obj/structure/railing{ + dir = 4 + }, +/obj/item/fish_eggs/clownfish{ + pixel_x = 3; + pixel_y = -5 + }, +/turf/simulated/floor/beach/water{ + icon_state = "seadeep" + }, +/area/ruin/unpowered) +"gl" = ( +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"gw" = ( +/obj/effect/decal/cleanable/blood/tracks{ + dir = 8 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"gy" = ( +/obj/item/trash/candle, +/obj/effect/decal/cleanable/blood/tracks{ + dir = 8 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"gE" = ( +/obj/machinery/shield/cult, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"gJ" = ( +/obj/effect/turf_decal{ + dir = 6; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass"; + dir = 8 + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"gK" = ( +/obj/structure/window/full/paperframe, +/obj/structure/curtain/open/shower/security{ + anchored = 1 + }, +/turf/simulated/floor/plating, +/area/ruin/unpowered) +"hC" = ( +/obj/item/trash/tastybread, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"kz" = ( +/obj/structure/closet, +/obj/item/clothing/suit/hooded/salmon_costume, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"lt" = ( +/obj/item/flag/cult, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"ly" = ( +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch{ + oxygen = 0; + nitrogen = 0; + temperature = 2.7 + }, +/area/ruin/unpowered/no_grav) +"lA" = ( +/turf/simulated/wall/mineral/wood/nonmetal, +/area/ruin/unpowered/no_grav) +"lX" = ( +/obj/effect/decal/cleanable/blood/old, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"mw" = ( +/turf/simulated/mineral/random/high_chance, +/area/ruin/unpowered/no_grav) +"mM" = ( +/obj/item/reagent_containers/glass/bucket/wooden, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"ne" = ( +/obj/structure/table_frame/wood, +/obj/effect/landmark/tiles/damageturf, +/obj/item/stack/sheet/wood, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"nr" = ( +/obj/structure/wooden_sign{ + desc = "Астроак открыт для посещения"; + name = "Астроак" + }, +/obj/structure/sign/holy{ + pixel_y = 32 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"nA" = ( +/obj/item/stack/sheet/wood{ + amount = 2 + }, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"nG" = ( +/obj/structure/table/wood/fancy/red, +/obj/item/flashlight/lantern{ + icon_state = "lantern-on" + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"nL" = ( +/turf/simulated/wall/cult_fake, +/area/ruin/unpowered) +"nO" = ( +/mob/living/simple_animal/hostile/carp/mcarp, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"oi" = ( +/obj/structure/table_frame/wood, +/obj/effect/landmark/tiles/damageturf, +/obj/item/stack/tile/carpet/red, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"oY" = ( +/obj/item/chair/wood, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"pq" = ( +/turf/simulated/wall/mineral/wood/nonmetal, +/area/ruin/unpowered) +"pB" = ( +/obj/structure/noticeboard{ + pixel_y = 30 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"qF" = ( +/obj/structure/cult/archives, +/obj/item/clothing/head/helmet/space/cult, +/obj/structure/sign/poster/contraband/very_robust{ + pixel_y = 32 + }, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"qO" = ( +/obj/structure/statue/carp_mini{ + pixel_y = 16 + }, +/obj/structure/table/wood/fancy/red, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"rb" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/wood/fancy/birch{ + oxygen = 0; + nitrogen = 0; + temperature = 2.7 + }, +/area/ruin/unpowered/no_grav) +"rA" = ( +/obj/item/reagent_containers/food/drinks/bottle/unholywater, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"rD" = ( +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"sF" = ( +/obj/structure/cable{ + icon_state = "0-2" + }, +/obj/machinery/power/apc/noalarm{ + pixel_y = 26; + dir = 1 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"sT" = ( +/obj/structure/sacrificealtar, +/obj/item/nullrod/carp, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"sX" = ( +/obj/structure/flora/ausbushes/sparsegrass, +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 10 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"tE" = ( +/obj/structure/bookcase/random/religion, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"tR" = ( +/obj/effect/decal/cleanable/blood/tracks, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"uI" = ( +/obj/structure/sign/poster/official/religious{ + pixel_x = 32 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"uJ" = ( +/obj/effect/decal/cleanable/blood/tracks, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"uP" = ( +/obj/structure/closet/crate/can, +/obj/item/trash/gum, +/obj/item/trash/doshik, +/obj/item/hatchet/wooden, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"wh" = ( +/obj/effect/spawner/random_spawners/blood_20, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"wk" = ( +/obj/item/trash/candy, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"wU" = ( +/obj/item/trash/chips, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"yv" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/cable{ + icon_state = "1-4" + }, +/turf/simulated/floor/plating/airless, +/area/ruin/unpowered/no_grav) +"yF" = ( +/mob/living/simple_animal/hostile/carp/mcarp, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"yT" = ( +/turf/template_noop, +/area/template_noop) +"zb" = ( +/obj/structure/cult/forge, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"zg" = ( +/obj/structure/sign/poster/contraband/wanted{ + pixel_y = 32 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"zC" = ( +/obj/structure/railing, +/obj/machinery/poolcontroller{ + pixel_x = -25; + srange = 3; + deep_water = 1 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"zF" = ( +/obj/structure/cable{ + icon_state = "1-8" + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"zK" = ( +/obj/effect/turf_decal{ + dir = 10; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium_corner"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"zN" = ( +/obj/structure/closet/crate, +/obj/item/pickaxe/diamond, +/obj/item/flashlight/lantern, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"zR" = ( +/obj/item/melee/cultblade/dagger, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Aa" = ( +/obj/structure/bed, +/obj/item/bedsheet/wiz, +/obj/effect/decal/cleanable/blood, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Af" = ( +/mob/living/simple_animal/hostile/illusion/cult{ + deathmessage = "disappears into the air with a cry of agony"; + desc = "The deceived soul"; + health = 200; + maxHealth = 200; + name = "The soul of the cultist"; + icon = 'icons/mob/mob.dmi'; + icon_living = "shade"; + icon_state = "shade"; + icon_dead = "shade_dead"; + melee_damage_lower = 10; + melee_damage_upper = 25 + }, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Av" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 9 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Ay" = ( +/obj/structure/cult/altar, +/obj/item/tome, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Be" = ( +/obj/structure/window/reinforced/survival_pod{ + dir = 8; + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Bj" = ( +/mob/living/simple_animal/hostile/carp, +/turf/template_noop, +/area/template_noop) +"BG" = ( +/obj/item/trash/candle{ + pixel_y = 11 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"BY" = ( +/obj/structure/sign/poster/official/tsf_emblem{ + pixel_y = 32 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"CG" = ( +/obj/item/shield/riot/buckler, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"DC" = ( +/obj/item/restraints/legcuffs/bola/cult, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"DN" = ( +/obj/item/fluff/rsik_katana, +/obj/effect/landmark/tiles/damageturf, +/obj/effect/decal/remains/human, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"DP" = ( +/obj/structure/window/reinforced/survival_pod{ + dir = 6; + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"DS" = ( +/obj/item/flashlight/lantern{ + icon_state = "lantern-on"; + pixel_x = 6 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"DX" = ( +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Eg" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/cable{ + icon_state = "0-4" + }, +/turf/simulated/floor/plating/airless, +/area/ruin/unpowered/no_grav) +"ED" = ( +/obj/effect/decal/cleanable/blood/old, +/obj/item/flag/cult, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"EW" = ( +/obj/structure/curtain/open/shower/security{ + anchored = 1 + }, +/obj/structure/mineral_door/wood, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"EX" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/effect/decal/remains/human, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/wood/fancy/birch{ + oxygen = 0; + nitrogen = 0; + temperature = 2.7 + }, +/area/ruin/unpowered/no_grav) +"FE" = ( +/obj/item/fish_eggs/clownfish{ + pixel_x = -8; + pixel_y = -15 + }, +/obj/structure/railing/corner, +/turf/simulated/floor/beach/water{ + icon_state = "seadeep" + }, +/area/ruin/unpowered) +"Ga" = ( +/obj/effect/decal/cleanable/blood/gibs/old, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Ge" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 4 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"GG" = ( +/obj/item/fish_eggs/babycarp{ + pixel_x = -8; + pixel_y = 6 + }, +/turf/simulated/floor/beach/water{ + icon_state = "seadeep" + }, +/area/ruin/unpowered) +"GI" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/sign/poster/ripped{ + pixel_x = -32 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"GL" = ( +/obj/structure/flora/grass/jungle, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"GT" = ( +/obj/machinery/door/window/survival_pod{ + dir = 8 + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Hb" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 10 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Hc" = ( +/obj/effect/decal/cleanable/blood/gibs/old, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Hd" = ( +/obj/effect/decal/remains/human, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"HE" = ( +/obj/item/flashlight/lantern{ + icon_state = "lantern-on" + }, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"HL" = ( +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"HP" = ( +/obj/structure/sacrificealtar, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Ih" = ( +/obj/effect/turf_decal{ + dir = 9; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass"; + dir = 4 + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Ii" = ( +/obj/structure/bed, +/obj/item/bedsheet/fluff/hugosheet, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"It" = ( +/obj/effect/decal/cleanable/blood/gibs/old, +/obj/effect/landmark/tiles/damageturf, +/mob/living/simple_animal/pet/dog/corgi/narsie{ + name = "Nars-Corgi"; + melee_damage_lower = 9; + melee_damage_upper = 15; + maxHealth = 75; + health = 75; + faction = list("neutral","cult", "illusion") + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Jf" = ( +/obj/structure/railing/corner{ + dir = 8 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"KJ" = ( +/obj/structure/railing, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "ramptop" + }, +/area/ruin/unpowered) +"Lr" = ( +/obj/structure/mineral_door/wood, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"LX" = ( +/obj/item/trash/candle{ + pixel_y = 13 + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"MC" = ( +/obj/effect/rune{ + allow_excess_invokers = 1; + cultist_desc = "an ancient rune that will absorb the power of believers."; + cultist_name = "Sacrifice"; + scribe_damage = 30 + }, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"MH" = ( +/obj/item/stack/cable_coil{ + amount = 5 + }, +/turf/template_noop, +/area/template_noop) +"Ni" = ( +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass"; + dir = 4 + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Np" = ( +/obj/structure/flora/ausbushes/sparsegrass, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Nw" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 4 + }, +/obj/structure/window/reinforced/survival_pod{ + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"NL" = ( +/obj/effect/turf_decal{ + dir = 8; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Ou" = ( +/turf/simulated/floor/beach/water{ + icon_state = "seadeep" + }, +/area/ruin/unpowered) +"OQ" = ( +/obj/effect/turf_decal{ + dir = 10; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass"; + dir = 8 + }, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium_corner"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"OV" = ( +/obj/item/chair/wood, +/mob/living/simple_animal/hostile/carp/mcarp, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Py" = ( +/obj/structure/table/wood/fancy/red, +/obj/item/toy/carpplushie/ice, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"PM" = ( +/obj/structure/table/wood/fancy/red, +/obj/item/toy/carpplushie/nebula, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"PS" = ( +/obj/structure/closet/crate/trashcart/gibs, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Qw" = ( +/obj/structure/closet, +/obj/item/clothing/suit/hooded/carp_costume, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Qy" = ( +/obj/structure/decorative_structures/corpse, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"QD" = ( +/obj/structure/mineral_door/wood, +/obj/structure/barricade/wooden/crude, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"QI" = ( +/obj/effect/decal/cleanable/blood, +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"QO" = ( +/obj/effect/turf_decal{ + dir = 1; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass" + }, +/obj/effect/turf_decal{ + icon_state = "grass_edge_medium_corner"; + name = "grass"; + dir = 4 + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Rm" = ( +/obj/structure/cult/altar, +/obj/item/book_of_babel, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"RO" = ( +/obj/item/stack/sheet/wood{ + amount = 2 + }, +/turf/template_noop, +/area/template_noop) +"Sb" = ( +/obj/effect/landmark/tiles/damageturf, +/turf/simulated/floor/plating/airless, +/area/ruin/unpowered/no_grav) +"Sf" = ( +/obj/machinery/door/window/survival_pod{ + dir = 2 + }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "grass_edge_medium"; + name = "grass" + }, +/turf/simulated/floor/plating/asteroid, +/area/ruin/unpowered) +"Tw" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window" + }, +/obj/structure/flora/grass/jungle, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"TW" = ( +/obj/structure/mineral_door/wood, +/obj/structure/barricade/wooden/crude, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"Uk" = ( +/obj/item/melee/cultblade, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Uy" = ( +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"UE" = ( +/obj/structure/closet, +/obj/item/stack/sheet/runed_metal_fake/fifty, +/turf/simulated/floor/engine/cult, +/area/ruin/unpowered) +"Vp" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 1 + }, +/obj/structure/window/reinforced/survival_pod{ + dir = 8; + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"VP" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/cable{ + icon_state = "2-8" + }, +/turf/simulated/floor/plating/airless, +/area/ruin/unpowered/no_grav) +"Wd" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window" + }, +/obj/structure/window/reinforced/survival_pod{ + dir = 8; + name = "window" + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Wi" = ( +/obj/structure/window/reinforced/survival_pod{ + name = "window" + }, +/obj/structure/window/reinforced/survival_pod{ + name = "window"; + dir = 4 + }, +/turf/simulated/floor/grass, +/area/ruin/unpowered) +"Yx" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/effect/decal/cleanable/blood/old, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"ZC" = ( +/obj/structure/bed, +/obj/item/bedsheet/cult, +/obj/effect/decal/remains/human, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) +"ZY" = ( +/obj/effect/landmark/tiles/damageturf, +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/wood/fancy/birch, +/area/ruin/unpowered) + +(1,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(2,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(3,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(4,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(5,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +MH +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(6,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +RO +ly +yT +yT +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(7,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +RO +yT +yT +yT +yT +Sb +ly +ly +yT +yT +yT +yT +yT +yT +yT +yT +eJ +eJ +eJ +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +Bj +yT +yT +yT +yT +"} +(8,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +Sb +Eg +ly +ly +lA +lA +yT +yT +yT +yT +yT +eJ +eJ +eJ +eJ +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(9,1,1) = {" +yT +yT +yT +Bj +yT +yT +yT +yT +yT +yT +ly +ly +VP +yv +ly +lA +mw +mw +yT +yT +yT +eJ +eJ +eJ +eJ +Vp +GT +Be +Wd +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(10,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +ly +ly +ly +ly +rb +ly +lA +mw +mw +mw +mw +pq +pq +pq +pq +Be +Av +gl +Np +Hb +Wd +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(11,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +lA +lA +lA +ly +EX +ly +lA +mw +mw +mw +mw +pq +GG +Ou +pq +Np +Uy +OQ +cD +DP +Wi +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(12,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +lA +mw +pq +TW +QD +pq +pq +pq +pq +pq +pq +pq +FE +fW +pq +zg +Uy +bV +rD +fM +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(13,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +pq +dw +ZY +DX +DX +BG +dw +GI +DX +zC +KJ +mM +pq +Uy +Uy +Uy +rD +Tw +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(14,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +pq +sF +zF +nO +wU +DX +DX +DX +OV +Jf +Jf +DX +pq +GL +Uy +gJ +Ih +Hb +Wd +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(15,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +mw +pq +pq +PM +DX +HP +Qy +uJ +uJ +uJ +DX +dw +wk +EW +Uy +gJ +Ni +Uy +Uy +fM +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(16,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +mw +pq +oi +DX +BG +DX +cH +cT +DX +dw +DX +DX +pq +nr +gl +Np +Uy +DP +Wi +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +"} +(17,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +mw +pq +qO +DX +DX +dw +DX +DX +DX +Hd +DX +oY +Lr +NL +QO +Uy +GL +fM +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(18,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +pq +nG +dw +DX +LX +dw +DX +DX +DX +dw +eH +pq +pB +zK +cD +Uy +fM +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(19,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +pq +Py +DX +sT +yF +gw +hC +DX +uI +yF +uP +pq +BY +Uy +zK +NL +Sf +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(20,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +pq +pq +DX +DX +CG +gy +pq +nA +pq +Lr +pq +pq +GL +Uy +Uy +Np +fM +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(21,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +mw +mw +mw +pq +tE +tE +DX +QI +pq +DX +DX +wh +DS +pq +pq +Uy +Uy +Uy +sX +Wd +eJ +eJ +eJ +yT +Bj +yT +yT +yT +yT +yT +"} +(22,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +pq +pq +pq +pq +tE +eM +pq +wh +DX +DN +wh +ne +gK +Uy +Uy +Uy +Uy +fM +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +"} +(23,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +nL +lt +gE +pq +pq +pq +pq +dw +DX +wh +Qw +pq +pq +Uy +Np +Uy +DP +Wi +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(24,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +nL +Hc +gE +gE +gE +gE +pq +dw +nO +DX +kz +pq +zN +Uy +DP +Ge +Nw +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(25,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +nL +nL +HL +Uk +DX +Ga +gE +pq +ZC +Aa +Ii +pq +pq +Ge +Ge +Nw +eJ +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +"} +(26,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +nL +aP +HL +Af +dw +rA +ED +pq +pq +pq +pq +pq +mw +eJ +eJ +eJ +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(27,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +nL +qF +MC +tR +tR +lX +HL +Rm +nL +mw +mw +mw +mw +eJ +eJ +eJ +eJ +eJ +eJ +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(28,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +nL +zb +HL +Yx +dw +HL +zR +Ay +nL +mw +mw +mw +mw +mw +eJ +eJ +yT +yT +eJ +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(29,1,1) = {" +yT +yT +yT +Bj +yT +yT +yT +yT +mw +mw +mw +pq +HL +DX +DX +HE +Af +HL +cb +nL +mw +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(30,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +pq +cb +DC +HL +HL +HL +nL +nL +nL +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(31,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +pq +nL +nL +PS +It +UE +nL +mw +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(32,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +nL +nL +pq +pq +nL +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(33,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +mw +mw +mw +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(34,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(35,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +mw +mw +mw +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(36,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(37,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +Bj +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(38,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(39,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} +(40,1,1) = {" +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +yT +"} diff --git a/_maps/map_files/RandomZLevels/academy.dmm b/_maps/map_files/RandomZLevels/academy.dmm index f40bb88ce3a..76e45f74f42 100644 --- a/_maps/map_files/RandomZLevels/academy.dmm +++ b/_maps/map_files/RandomZLevels/academy.dmm @@ -18,7 +18,9 @@ /area/awaymission/academy/classrooms) "ag" = ( /obj/structure/table, -/obj/item/reagent_containers/food/snacks/jellyburger/slime, +/obj/item/reagent_containers/food/snacks/jellyburger/slime{ + antable = 0 + }, /turf/simulated/floor/grass, /area/awaymission/academy/academygate) "ai" = ( @@ -1453,7 +1455,9 @@ /area/awaymission/academy/classrooms) "gh" = ( /obj/structure/table, -/obj/item/reagent_containers/food/snacks/grown/bluecherries, +/obj/item/reagent_containers/food/snacks/grown/bluecherries{ + antable = 0 + }, /turf/simulated/floor/grass, /area/awaymission/academy/academygate) "gi" = ( @@ -3609,7 +3613,9 @@ /area/awaymission/academy/classrooms) "uy" = ( /obj/structure/disposalpipe/segment, -/obj/item/reagent_containers/food/snacks/cheesewedge, +/obj/item/reagent_containers/food/snacks/cheesewedge{ + antable = 0 + }, /turf/simulated/floor/indestructible/carpet, /area/awaymission/academy/academyaft) "uA" = ( @@ -3655,7 +3661,9 @@ /obj/structure/disposalpipe/segment{ dir = 10 }, -/obj/item/reagent_containers/food/snacks/cheesewedge, +/obj/item/reagent_containers/food/snacks/cheesewedge{ + antable = 0 + }, /turf/simulated/floor/indestructible/carpet, /area/awaymission/academy/academyaft) "uZ" = ( @@ -4393,13 +4401,6 @@ icon_state = "cafeteria" }, /area/awaymission/academy/academyaft) -"CA" = ( -/obj/structure/disposalpipe/segment{ - dir = 9 - }, -/obj/item/reagent_containers/food/snacks/cheesewedge, -/turf/simulated/floor/indestructible/carpet, -/area/awaymission/academy/academyaft) "CG" = ( /obj/structure/chair/sofa{ dir = 8 @@ -4686,7 +4687,9 @@ /area/awaymission/academy) "Fx" = ( /obj/structure/table, -/obj/item/reagent_containers/food/snacks/grown/citrus/orange, +/obj/item/reagent_containers/food/snacks/grown/citrus/orange{ + antable = 0 + }, /turf/simulated/floor/grass, /area/awaymission/academy/academygate) "FA" = ( @@ -5219,7 +5222,9 @@ /turf/simulated/floor/carpet, /area/awaymission/academy/academyaft) "KX" = ( -/obj/item/reagent_containers/food/snacks/cheesewedge, +/obj/item/reagent_containers/food/snacks/cheesewedge{ + antable = 0 + }, /obj/structure/disposalpipe/segment, /turf/simulated/floor/indestructible/carpet, /area/awaymission/academy/academyaft) @@ -5379,7 +5384,9 @@ /obj/structure/disposalpipe/segment{ dir = 5 }, -/obj/item/reagent_containers/food/snacks/cheesewedge, +/obj/item/reagent_containers/food/snacks/cheesewedge{ + antable = 0 + }, /turf/simulated/floor/indestructible/carpet, /area/awaymission/academy/academyaft) "MH" = ( @@ -6253,7 +6260,9 @@ /obj/structure/disposalpipe/segment{ invisibility = 101 }, -/obj/item/reagent_containers/food/snacks/cheesewedge, +/obj/item/reagent_containers/food/snacks/cheesewedge{ + antable = 0 + }, /turf/simulated/floor/indestructible/carpet, /area/awaymission/academy/academyaft) "Vc" = ( @@ -17066,11 +17075,11 @@ HJ US US US -US uy uy uy -CA +uy +KD Zo US US @@ -17195,13 +17204,13 @@ YQ Zo US US -US +uy uy uy uy uy MB -uY +HJ ra ra ra @@ -17324,7 +17333,7 @@ rW YQ HJ US -US +uy uy uy uy @@ -17332,7 +17341,7 @@ uy MB uY Vb -Vb +ra ra ra ra @@ -17453,7 +17462,7 @@ rW rW YQ Zo -US +uy uy uy uy @@ -17463,7 +17472,7 @@ uY uy uy uy -uy +US US US US @@ -17583,7 +17592,7 @@ ip rW YQ HJ -US +uy uy uy uy @@ -17594,7 +17603,7 @@ uy uy uy uy -uy +US US US US @@ -17713,7 +17722,7 @@ ip rW YQ Zo -US +uy uy uy MB @@ -17725,7 +17734,7 @@ uy uy uy uy -uy +US US US TG @@ -17844,7 +17853,7 @@ rW YQ HJ US -US +uy MB uY Vb @@ -17856,7 +17865,7 @@ Vb Vb Vb Vb -Vb +ra ra KD YQ @@ -17975,8 +17984,7 @@ YQ Zo US TG -HJ -uy +uY uy uy uy @@ -17988,6 +17996,7 @@ uy uy uy uy +US TG YQ Uu @@ -18106,7 +18115,6 @@ UC TG HJ US -US uy uy uy @@ -18118,7 +18126,8 @@ uy uy uy uy -CA +uy +KD YQ Uu Ra @@ -18235,7 +18244,6 @@ YQ HJ JM US -US uy uy uy @@ -18248,6 +18256,7 @@ uy uy uy uy +US TG YQ Uu @@ -18364,7 +18373,6 @@ rW YQ Zo US -US uy uy uy @@ -18378,6 +18386,7 @@ uy uy uy US +US KD YQ Uu @@ -18493,7 +18502,6 @@ sq rW YQ HJ -US uy uy uy @@ -18508,6 +18516,7 @@ uy uy US US +US TG YQ Uu @@ -18623,7 +18632,6 @@ ip rW YQ Zo -US uy uy uy @@ -18638,6 +18646,7 @@ uy US US US +US KD YQ Uu @@ -18753,7 +18762,6 @@ ip rW YQ HJ -US uy uy uy @@ -18768,6 +18776,7 @@ US US US US +US TG YQ Uu @@ -18884,7 +18893,6 @@ rW YQ Zo US -US uy uy uy @@ -18898,6 +18906,7 @@ US US US US +US KD YQ Uu @@ -19015,7 +19024,6 @@ YQ HJ US US -US uy uy uy @@ -19028,6 +19036,7 @@ US US US US +US TG YQ Uu @@ -19146,8 +19155,7 @@ Zo US US US -US -KX +uy KX KX KX @@ -19158,6 +19166,7 @@ US US US US +US KD YQ Uu diff --git a/_maps/map_files/celestation/celestation.dmm b/_maps/map_files/celestation/celestation.dmm index 34edd8c6ac7..4a225106122 100644 --- a/_maps/map_files/celestation/celestation.dmm +++ b/_maps/map_files/celestation/celestation.dmm @@ -833,8 +833,6 @@ dir = 5 }, /obj/structure/closet/secure_closet/hos, -/obj/item/megaphone, -/obj/item/reagent_containers/food/drinks/flask/barflask, /obj/item/spacepod_equipment/key{ id = 100000 }, @@ -2969,9 +2967,7 @@ /turf/simulated/floor/engine/hull/ceiling, /area/mine/unexplored/cere/orbiting) "ayE" = ( -/obj/machinery/computer/prisoner{ - req_access = list(2) - }, +/obj/machinery/computer/brigcells, /turf/simulated/floor/wood/fancy/light, /area/security/hos) "ayK" = ( @@ -7799,14 +7795,11 @@ dir = 4 }, /obj/structure/table/wood, -/obj/item/radio/intercom{ - pixel_y = -28 - }, /obj/machinery/light{ dir = 8 }, -/obj/structure/sign/poster/official/random{ - pixel_x = -32 +/obj/item/radio/intercom{ + pixel_x = -28 }, /turf/simulated/floor/wood/fancy/light{ color = "gray" @@ -11831,6 +11824,12 @@ }, /turf/simulated/floor/plating, /area/quartermaster/storage) +"bGn" = ( +/obj/structure/chair/office/dark{ + dir = 4 + }, +/turf/simulated/floor/wood/fancy/light, +/area/security/hos) "bGt" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -13211,6 +13210,13 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/machinery/turretid/stun{ + control_area = "AI Satellite Secondary Antechamber"; + name = "AI Satellite Secondary Antechamber Turret Control"; + req_access = list(75); + pixel_x = -30; + pixel_y = -24 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -13759,6 +13765,10 @@ name = "Labor Camp Monitoring"; network = list("Labor Camp") }, +/obj/machinery/alarm{ + dir = 4; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkred" @@ -15890,6 +15900,10 @@ "cdq" = ( /obj/machinery/cryopod/robot, /obj/effect/landmark/join_late_cyborg, +/obj/item/radio/intercom{ + pixel_y = 22; + pixel_x = 0 + }, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "navyblue" @@ -18756,7 +18770,7 @@ "cvQ" = ( /obj/structure/table, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/engine, /area/security/execution) "cvR" = ( @@ -18888,6 +18902,13 @@ /obj/machinery/camera/autoname{ dir = 8 }, +/obj/machinery/turretid/lethal{ + check_synth = 1; + name = "AI Chamber Turret Control"; + req_access = list(75); + pixel_x = 32; + pixel_y = 0 + }, /turf/simulated/floor/glass/reinforced, /area/turret_protected/ai) "cwP" = ( @@ -27391,11 +27412,6 @@ /turf/simulated/wall/r_wall/coated, /area/engine/supermatter) "dNS" = ( -/obj/structure/sign/atmosplaque{ - desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полной адаптации Стацнии под нужды НаноТрейзен. Благодарим вас за труд, SQUEEK!. Слава НаноТрейзен!"; - name = "Благодарственное Письмо Для Старшего Рабочего Команды Архитекторов Фаррагуса."; - pixel_x = 32 - }, /obj/machinery/recharge_station, /turf/simulated/floor/plasteel{ icon_state = "darkyellowcorners" @@ -27541,13 +27557,14 @@ /turf/simulated/floor/plating, /area/maintenance/cele/servise) "dOS" = ( -/obj/machinery/turretid/lethal{ - check_synth = 1; - name = "AI Chamber Turret Control"; - req_access = list(75) +/obj/machinery/turretid/stun{ + name = "AI Satellite Turret Control"; + req_access = list(75); + pixel_x = 0; + pixel_y = -26 }, -/turf/simulated/wall/r_wall, -/area/turret_protected/ai) +/turf/simulated/floor/plating, +/area/turret_protected/aisat) "dOW" = ( /obj/effect/spawner/random_spawners/rock_50, /turf/simulated/floor/plating{ @@ -31042,6 +31059,12 @@ /obj/structure/cable/orange{ icon_state = "4-8" }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, /turf/simulated/floor/carpet/royalblack, /area/crew_quarters/bar) "eBF" = ( @@ -33939,14 +33962,6 @@ icon_state = "dark" }, /area/engine/engineering) -"fgB" = ( -/obj/machinery/turretid/stun{ - control_area = "AI Satellite Antechamber"; - name = "AI Satellite Antechamber Turret Control"; - req_access = list(75) - }, -/turf/simulated/wall/r_wall, -/area/turret_protected/aisat_interior) "fgL" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -35180,7 +35195,6 @@ }, /area/engine/mechanic_workshop/hangar) "fsW" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable/orange{ icon_state = "1-2" }, @@ -35192,7 +35206,12 @@ name = "Bar Junction"; sortType = 19 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -44571,11 +44590,6 @@ /turf/simulated/floor/carpet/arcade, /area/crew_quarters/dorms) "hes" = ( -/obj/structure/sign/goldenplaque{ - desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полной адаптации Стацнии под нужды НаноТрейзен. Благодарим вас за труд, BeebBeebBoob. Слава НаноТрейзен!"; - name = "Благодарственное Письмо Для Бригадира Команды Архитекторов Фаррагуса."; - pixel_x = -32 - }, /obj/machinery/recharge_station, /turf/simulated/floor/plasteel{ dir = 8; @@ -52276,12 +52290,10 @@ /turf/simulated/floor/plating, /area/security/prisonlockers) "iEd" = ( -/obj/machinery/requests_console{ - announcementConsole = 1; - department = "Bridge"; - departmentType = 5; - name = "Bridge Requests Console"; - pixel_y = 30 +/obj/structure/sign/beautyplaque{ + pixel_y = 32; + name = "Благодарственное Письмо Для Бригадира Команды Архитекторов Селестии"; + desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в области инженерного менеджмента, а также успешное проектирование Селестии по всем стандартам НаноТрейзен. Благодарим вас за труд, Saad_f603. Слава НаноТрейзен!" }, /turf/simulated/floor/carpet/black, /area/bridge) @@ -54853,9 +54865,7 @@ }, /area/security/medbay) "jbZ" = ( -/obj/machinery/computer/secure_data{ - dir = 1 - }, +/obj/machinery/computer/secure_data, /turf/simulated/floor/plasteel{ icon_state = "grimy" }, @@ -59177,8 +59187,12 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/machinery/alarm{ - pixel_y = 26 +/obj/machinery/requests_console{ + announcementConsole = 1; + department = "Bridge"; + departmentType = 5; + name = "Bridge Requests Console"; + pixel_y = 30 }, /turf/simulated/floor/carpet/black, /area/bridge) @@ -60525,12 +60539,13 @@ /area/toxins/lab) "kiQ" = ( /obj/machinery/turretid/stun{ - control_area = "AI Satellite Secondary Antechamber"; - name = "AI Satellite Secondary Antechamber Turret Control"; - req_access = list(75) + name = "AI Satellite Turret Control"; + req_access = list(75); + pixel_x = 0; + pixel_y = 28 }, -/turf/simulated/wall/r_wall, -/area/turret_protected/aisat_interior/secondary) +/turf/simulated/floor/plating, +/area/turret_protected/aisat) "kiY" = ( /turf/simulated/floor/plasteel{ dir = 9; @@ -69562,9 +69577,9 @@ /obj/structure/table/reinforced, /obj/item/storage/bible, /obj/item/reagent_containers/food/drinks/bottle/holywater, -/obj/item/clothing/glasses/sunglasses/blindfold, -/obj/item/clothing/glasses/sunglasses/blindfold, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, +/obj/item/clothing/glasses/sunglasses/blindfold/black, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/plating/asteroid, /area/security/processing) "lXK" = ( @@ -80254,12 +80269,6 @@ }, /turf/simulated/floor/glass, /area/hallway/primary/central) -"odp" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/turf/space/openspace, -/area/space) "odx" = ( /obj/structure/window/reinforced{ dir = 8 @@ -80538,12 +80547,6 @@ /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel, /area/crew_quarters/locker) -"ogP" = ( -/obj/machinery/computer/card/minor/hos{ - dir = 1 - }, -/turf/simulated/floor/wood/fancy/light, -/area/security/hos) "ogS" = ( /obj/effect/spawner/random_spawners/blood_20, /obj/effect/decal/cleanable/dirt, @@ -81355,6 +81358,12 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/wood/fancy/light{ color = "gray" }, @@ -90258,14 +90267,6 @@ /obj/item/storage/box/mousetraps, /turf/simulated/floor/plasteel, /area/janitor) -"pWZ" = ( -/obj/machinery/turretid/stun{ - control_area = "AI Satellite"; - name = "AI Satellite Turret Control"; - req_access = list(75) - }, -/turf/simulated/wall/r_wall, -/area/turret_protected/aisat) "pXa" = ( /turf/simulated/wall/r_wall, /area/engine/engineering) @@ -97412,7 +97413,6 @@ dir = 4 }, /obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/item/clothing/glasses/welding, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -102865,7 +102865,7 @@ "sxI" = ( /obj/structure/table, /obj/item/clothing/mask/muzzle, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/plating, /area/maintenance/fsmaint2) "sxK" = ( @@ -103005,6 +103005,12 @@ /obj/structure/cable/orange{ icon_state = "4-8" }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -105565,6 +105571,12 @@ name = "Bar"; req_access = list(25) }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/plasteel, /area/crew_quarters/bar) "sXp" = ( @@ -118296,6 +118308,13 @@ /obj/structure/cable{ icon_state = "2-4" }, +/obj/machinery/turretid/stun{ + control_area = "AI Satellite Antechamber"; + name = "AI Satellite Antechamber Turret Control"; + req_access = list(75); + pixel_x = -28; + pixel_y = 0 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "navyblue" @@ -119595,7 +119614,6 @@ pixel_y = -3; req_access = list(2) }, -/obj/item/paper/monitorkey, /turf/simulated/floor/plasteel{ icon_state = "grimy" }, @@ -131598,8 +131616,12 @@ dir = 1; network = list("SS13","MiniSat") }, -/obj/item/radio/intercom{ - pixel_y = -28 +/obj/machinery/turretid/stun{ + control_area = "AI Satellite Antechamber"; + name = "AI Satellite Antechamber Turret Control"; + req_access = list(75); + pixel_x = 0; + pixel_y = -26 }, /turf/simulated/floor/plasteel{ icon_state = "navyblue" @@ -219760,7 +219782,7 @@ eab liR xAa liR -dJF +bGn rWS qQo pNG @@ -220016,7 +220038,7 @@ rWS oAE cVf dkU -ogP +dJF ayE rWS buS @@ -220275,7 +220297,7 @@ rWS cgG rWS rWS -iIO +rWS qQo pNG mWc @@ -225719,7 +225741,7 @@ vZy vZy vZy qZf -kiQ +vZy vZy vZy rjo @@ -227315,7 +227337,7 @@ dFy dFy dFy qdY -odp +soY qdY dFy dFy @@ -227774,7 +227796,7 @@ kCa kCa mMX wJb -fgB +mMX aXe mMX eph @@ -228025,7 +228047,7 @@ ntZ clk gKY oAd -oAd +dOS gKY vWt roh @@ -228036,8 +228058,8 @@ jHo ktZ roh dMW -pWZ -oAd +gKY +kiQ oAd gKY umH @@ -287656,7 +287678,7 @@ oVi oVi oVi pip -dOS +cnV gmZ oVi oVi diff --git a/_maps/map_files/cerestation/cerestation.dmm b/_maps/map_files/cerestation/cerestation.dmm index 0d7974b5da1..c9d129dfc45 100644 --- a/_maps/map_files/cerestation/cerestation.dmm +++ b/_maps/map_files/cerestation/cerestation.dmm @@ -22082,7 +22082,7 @@ "cRn" = ( /obj/structure/table, /obj/item/clothing/mask/muzzle, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/plating, /area/maintenance/atmospherics) "cRo" = ( @@ -27637,8 +27637,8 @@ /area/maintenance/disposal/west) "dNS" = ( /obj/structure/sign/atmosplaque{ - desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полной адаптации Стацнии под нужды НаноТрейзен. Благодарим вас за труд, SQUEEK!. Слава НаноТрейзен!"; - name = "Благодарственное Письмо Для Старшего Рабочего Команды Архитекторов Фаррагуса."; + desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полную адаптацию станции под стандарты НаноТрейзен. Благодарим вас за труд, SQUEEK!. Слава НаноТрейзен!"; + name = "Благодарственное Письмо Для Старшего Рабочего Команды Архитекторов Фаррагуса"; pixel_x = 32 }, /turf/simulated/floor/plasteel{ @@ -38068,8 +38068,8 @@ /area/maintenance/port2) "hes" = ( /obj/structure/sign/goldenplaque{ - desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полной адаптации Стацнии под нужды НаноТрейзен. Благодарим вас за труд, BeebBeebBoob. Слава НаноТрейзен!"; - name = "Благодарственное Письмо Для Бригадира Команды Архитекторов Фаррагуса."; + desc = "Важное Уточнение! Рабочие пожелали оставаться анонимными, поэтому, обойдёмся их прозвищами. За выдающиеся успехи в работе с Фаррагусом, а также полную адаптацию станции под нужды НаноТрейзен. Благодарим вас за труд, BeebBeebBoob. Слава НаноТрейзен!"; + name = "Благодарственное Письмо Для Бригадира Команды Архитекторов Фаррагуса"; pixel_x = -32 }, /turf/simulated/floor/plasteel{ @@ -39842,7 +39842,7 @@ "hFt" = ( /obj/structure/table, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/engine, /area/security/execution) "hFw" = ( @@ -66054,9 +66054,9 @@ /obj/structure/table/reinforced, /obj/item/storage/bible, /obj/item/reagent_containers/food/drinks/bottle/holywater, -/obj/item/clothing/glasses/sunglasses/blindfold, -/obj/item/clothing/glasses/sunglasses/blindfold, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, +/obj/item/clothing/glasses/sunglasses/blindfold/black, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/plating/asteroid/ancient, /area/security/processing) "oYe" = ( @@ -94227,8 +94227,6 @@ "xiZ" = ( /obj/effect/decal/warning_stripes/northeast, /obj/structure/closet/secure_closet/hos, -/obj/item/megaphone, -/obj/item/reagent_containers/food/drinks/flask/barflask, /obj/item/spacepod_equipment/key{ id = 100000 }, diff --git a/_maps/map_files/cyberiad/cyberiad.dmm b/_maps/map_files/cyberiad/cyberiad.dmm index 226646e4ceb..5b11ca44c0b 100644 --- a/_maps/map_files/cyberiad/cyberiad.dmm +++ b/_maps/map_files/cyberiad/cyberiad.dmm @@ -10741,7 +10741,6 @@ pixel_y = 1 }, /obj/item/book/manual/sop_legal, -/obj/item/megaphone, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -18615,7 +18614,7 @@ "bgZ" = ( /obj/structure/table, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /obj/machinery/alarm{ dir = 4; pixel_x = -24 @@ -71664,7 +71663,6 @@ "nMn" = ( /obj/machinery/light/small, /obj/machinery/turretid/stun{ - control_area = "AI Satellite Antechamber"; name = "AI Antechamber Turret Control"; pixel_y = -24; req_access = list(75) diff --git a/_maps/map_files/event/Station/delta_old.dmm b/_maps/map_files/event/Station/delta_old.dmm index b8b80724412..cfd7cf038dd 100644 --- a/_maps/map_files/event/Station/delta_old.dmm +++ b/_maps/map_files/event/Station/delta_old.dmm @@ -6,14 +6,6 @@ /obj/effect/landmark/event/carpspawn, /turf/space, /area/space) -"aah" = ( -/obj/effect/spawner/window/reinforced, -/obj/structure/cable{ - icon_state = "0-4" - }, -/obj/item/balltoy, -/turf/simulated/floor/plating, -/area/security/customs) "aam" = ( /obj/structure/cable{ icon_state = "1-2" @@ -10195,15 +10187,6 @@ icon_state = "neutralfull" }, /area/crew_quarters/locker) -"bwx" = ( -/obj/machinery/door/poddoor/preopen{ - id_tag = "Brig_lockdown"; - name = "Brig Lockdown" - }, -/turf/simulated/floor/plasteel{ - icon_state = "red" - }, -/area/security/main) "bwy" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -13371,7 +13354,7 @@ "bLO" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite Antechamber"; + control_area = "AI Satellite Antechamber"; name = "AI Antechamber Turret Control"; pixel_y = 28; req_access = list(75) @@ -14574,7 +14557,7 @@ /turf/simulated/floor/plasteel{ icon_state = "dark" }, -/area/aisat/maintenance) +/area/turret_protected/aisat) "bRt" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ @@ -14625,15 +14608,6 @@ icon_state = "darkbluecorners" }, /area/turret_protected/aisat) -"bRC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/wall/r_wall, -/area/aisat) "bRD" = ( /obj/structure/showcase{ density = 0; @@ -14648,7 +14622,7 @@ dir = 4 }, /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite"; + control_area = "AI Satellite"; name = "AI Antechamber Turret Control"; pixel_x = -32; req_access = list(75) @@ -14787,7 +14761,7 @@ dir = 4 }, /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite"; + control_area = "AI Satellite"; name = "AI Antechamber Turret Control"; pixel_x = 32; req_access = list(75) @@ -14972,7 +14946,7 @@ dir = 4 }, /turf/simulated/wall/r_wall, -/area/aisat/maintenance) +/area/turret_protected/aisat) "bTy" = ( /turf/simulated/floor/plasteel{ dir = 8; @@ -47591,10 +47565,6 @@ "fMt" = ( /turf/simulated/wall/r_wall, /area/maintenance/starboardsolar) -"fMu" = ( -/obj/structure/closet/secure_closet/pilot_sniper, -/turf/space, -/area/space) "fMD" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -58753,7 +58723,7 @@ /obj/effect/decal/warning_stripes/southwest, /obj/structure/table/reinforced, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /obj/structure/cable{ icon_state = "4-8" }, @@ -60415,8 +60385,6 @@ icon_state = "1-2" }, /obj/structure/closet/secure_closet/hos, -/obj/item/megaphone, -/obj/item/reagent_containers/food/drinks/flask/barflask, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -65205,15 +65173,15 @@ c_tag = "HoS Bedroom"; network = list("SS13","Security") }, -/obj/item/ammo_box/a357{ +/obj/item/ammo_box/speedloader/a357{ pixel_x = -9; pixel_y = 9 }, -/obj/item/ammo_box/a357{ +/obj/item/ammo_box/speedloader/a357{ pixel_x = -4; pixel_y = 4 }, -/obj/item/ammo_box/a357, +/obj/item/ammo_box/speedloader/a357, /obj/item/clothing/accessory/holster, /obj/structure/safe{ known_by = list("hos") @@ -95734,7 +95702,7 @@ "sNY" = ( /obj/item/twohanded/required/kirbyplants, /obj/machinery/turretid/stun{ - control_area = "\improper Telecoms Central Compartment"; + control_area = "Telecoms Central Compartment"; name = "AI Antechamber Turret Control"; pixel_y = -26; req_access = list(75) @@ -95766,19 +95734,6 @@ icon_state = "whitepurple" }, /area/medical/research) -"sOI" = ( -/obj/machinery/door/airlock/hatch{ - name = "MiniSat Chamber Hallway"; - req_access = list(75) - }, -/obj/machinery/door/firedoor, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/plasteel{ - icon_state = "dark" - }, -/area/aisat) "sOS" = ( /obj/machinery/disposal, /obj/effect/decal/warning_stripes/red/hollow, @@ -123042,7 +122997,7 @@ aaa aaa aaa aaa -fMu +aaa aaa aaa aaa @@ -124477,13 +124432,13 @@ qni qni bJW bJW -cvf -cvf -cvf +bJW +bJW +bJW bRr bTx -cvf -cvf +bJW +bJW qrT qrT qrT @@ -125512,7 +125467,7 @@ bPM bRy bTA bTA -wRH +bTA dxt wRH iox @@ -126533,13 +126488,13 @@ qni qni bJW bJW -cvg -cvg -cvg -sOI -bRC -cvg -cvg +bJW +bJW +bJW +bRr +bTx +bJW +bJW qrT qrT qrT @@ -167915,7 +167870,7 @@ tzh pYG vQG tMU -aah +jTh dle ttw pcp @@ -171004,7 +170959,7 @@ xFL syB mIk hvr -bwx +uEq eVO uFp iGw diff --git a/_maps/map_files/event/Station/towerstation.dmm b/_maps/map_files/event/Station/towerstation.dmm index dceab27fa89..d554c5d7af0 100644 --- a/_maps/map_files/event/Station/towerstation.dmm +++ b/_maps/map_files/event/Station/towerstation.dmm @@ -3688,7 +3688,7 @@ /obj/effect/decal/warning_stripes/west, /obj/structure/table/reinforced, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /turf/simulated/floor/engine, /area/security/permabrig) "cth" = ( @@ -22902,7 +22902,7 @@ /area/medical/psych) "oNd" = ( /obj/machinery/turretid{ - control_area = "/area/turret_protected/ai_upload"; + control_area = "AI Upload Chamber"; icon_state = "control_stun"; name = "AI Upload turret control"; pixel_y = 28 diff --git a/_maps/map_files/generic/CentComm.dmm b/_maps/map_files/generic/CentComm.dmm index 8bb280e3429..c7f2ad3e703 100644 --- a/_maps/map_files/generic/CentComm.dmm +++ b/_maps/map_files/generic/CentComm.dmm @@ -6025,7 +6025,6 @@ layer = 5; locked = 1 }, -/obj/effect/decal/warning_stripes/yellow, /obj/machinery/door_control/secure{ id = "CC_supply_internal"; name = "Supply External Shutters"; @@ -12759,7 +12758,7 @@ /area/shuttle/administration) "fVC" = ( /obj/machinery/turretid{ - control_area = "\improper Centcom Special Operations"; + control_area = "Centcom Special Operations Forces"; name = "Quarantine Turret"; pixel_x = 3; pixel_y = -26 @@ -14381,7 +14380,6 @@ layer = 5; locked = 1 }, -/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ icon_state = "darkyellowalt" }, @@ -34033,7 +34031,10 @@ req_access = list(114); pixel_x = -24 }, -/turf/simulated/wall/indestructible/reinforced, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkyellowalt" + }, /area/centcom/supply) "pLm" = ( /obj/machinery/light{ @@ -35552,7 +35553,6 @@ layer = 5; locked = 1 }, -/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ icon_state = "darkyellowalt" }, @@ -50769,7 +50769,6 @@ layer = 5; locked = 1 }, -/obj/effect/decal/warning_stripes/yellow, /obj/machinery/door_control/secure{ id = "CC_supply_external"; name = "Supply Internal Shutters"; @@ -104393,7 +104392,7 @@ rgL coX rLT mpv -hTD +mTv fAg fAg fAg @@ -104650,7 +104649,7 @@ fqL eiV mMp aWp -cFn +wRu gvy hHu mzs diff --git a/_maps/map_files/generic/syndicatebase.dmm b/_maps/map_files/generic/syndicatebase.dmm index 73d118a8912..dccbb330eb1 100644 --- a/_maps/map_files/generic/syndicatebase.dmm +++ b/_maps/map_files/generic/syndicatebase.dmm @@ -16661,7 +16661,7 @@ /area/syndicate/unpowered/syndicate_space_base/dormitories/cabin1) "oIK" = ( /obj/structure/table/wood, -/obj/item/toy/plushie/orange_fox/grump, +/obj/item/toy/plushie/black_fox, /turf/simulated/floor/wood, /area/syndicate/unpowered/syndicate_space_base/dormitories/cabin1) "oJk" = ( @@ -20821,14 +20821,6 @@ icon_state = "dark" }, /area/syndicate/unpowered/syndicate_space_base/rnd/genetics) -"rRZ" = ( -/obj/effect/spawner/random_spawners/syndicate/turret/grenade{ - active_power_usage = 1000; - idle_power_usage = 200; - use_power = 1 - }, -/turf/simulated/mineral/silver, -/area/ruin/unpowered) "rSi" = ( /obj/structure/rack{ dir = 8; @@ -22080,8 +22072,8 @@ dir = 1; pixel_y = -24 }, -/obj/item/toy/plushie/orange_fox/grump{ - pixel_y = 10 +/obj/item/toy/plushie/coffee_fox{ + desc = "Extremely soft toy, sewn by a truly professional artist who loves his job. There is a tag with the inscription \"Fur...\" hanging on the paw." }, /obj/item/storage/toolbox/syndicate, /turf/simulated/floor/carpet/black, @@ -46479,7 +46471,7 @@ mEC mEC mEC mEC -rRZ +xiM pdd pdd pdd diff --git a/_maps/map_files/generic/z2_old.dmm b/_maps/map_files/generic/z2_old.dmm index 425a1df4322..025fd172c0c 100644 --- a/_maps/map_files/generic/z2_old.dmm +++ b/_maps/map_files/generic/z2_old.dmm @@ -7835,7 +7835,7 @@ /turf/simulated/floor/wood, /area/secret/gaybar) "fTJ" = ( -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /obj/structure/table, /obj/item/taperecorder, /obj/item/camera/digital, diff --git a/_maps/map_files/nova/Lavaland.dmm b/_maps/map_files/nova/Lavaland.dmm index cd521869524..bca7828f3cc 100644 --- a/_maps/map_files/nova/Lavaland.dmm +++ b/_maps/map_files/nova/Lavaland.dmm @@ -97,10 +97,13 @@ /turf/simulated/floor/lava/lava_land_surface, /area/lavaland/surface/outdoors/necropolis) "aE" = ( +/obj/effect/decal/cleanable/dirt, +/obj/item/radio/intercom/locked/prison{ + pixel_y = 24 + }, /obj/structure/closet/secure_closet/security, -/obj/effect/decal/cleanable/cobweb, /turf/simulated/floor/plasteel{ - icon_state = "darkredcorners" + icon_state = "darkred" }, /area/mine/laborcamp/security) "aI" = ( @@ -109,21 +112,23 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" }, /area/mine/laborcamp) "aL" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 +/obj/structure/cable{ + icon_state = "2-8" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 + dir = 4 }, -/obj/structure/cable{ - icon_state = "2-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, /turf/simulated/floor/plasteel, /area/mine/eva) @@ -258,6 +263,7 @@ /area/lavaland/surface/outdoors) "cH" = ( /obj/machinery/door/firedoor, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "brown" @@ -371,6 +377,11 @@ name = "Mining Station Maintenance"; req_access = list(48) }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plating, /area/mine/living_quarters) "dM" = ( @@ -436,6 +447,13 @@ }, /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, /area/lavaland/surface/outdoors) +"eu" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 2 + }, +/turf/simulated/floor/plasteel, +/area/mine/laborcamp) "ev" = ( /obj/structure/stone_tile/cracked, /obj/structure/stone_tile{ @@ -505,7 +523,7 @@ dir = 5; icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "eR" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 @@ -526,27 +544,23 @@ /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, /area/lavaland/surface/outdoors/necropolis) "fc" = ( -/obj/machinery/requests_console{ - department = "Labor Camp"; - pixel_y = -32 - }, -/obj/effect/turf_decal/arrows, /obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "brown" }, /area/mine/laborcamp) "fe" = ( -/obj/effect/decal/cleanable/cobweb2, /obj/machinery/power/terminal{ dir = 8 }, +/obj/effect/decal/cleanable/dirt, /obj/structure/cable{ - d2 = 2; - icon_state = "0-2" + d2 = 4; + icon_state = "0-4" }, -/obj/machinery/portable_atmospherics/canister/air, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/mine/laborcamp) "fi" = ( @@ -567,13 +581,18 @@ /turf/simulated/floor/plasteel/dark, /area/mine/cafeteria) "fm" = ( -/obj/structure/toilet{ - dir = 4 - }, -/obj/effect/spawner/lootdrop/maintenance, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/cobweb, /obj/effect/decal/cleanable/vomit, +/obj/structure/toilet/cancollectmapitems{ + dir = 4 + }, +/obj/item/card/id/prisoner{ + name = "Prisoner 1-984"; + goal = 100000; + points = 1984; + registered_name = "Prisoner 1-984" + }, /turf/simulated/floor/plasteel/white, /area/mine/laborcamp) "fn" = ( @@ -603,16 +622,14 @@ /area/mine/necropolis) "fF" = ( /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 }, /turf/simulated/floor/plasteel{ - icon_state = "darkredfull" + icon_state = "brownfull" }, -/area/mine/laborcamp/security) +/area/mine/laborcamp) "fI" = ( /obj/structure/stone_tile/surrounding_tile{ dir = 1 @@ -669,7 +686,7 @@ /obj/effect/decal/warning_stripes/red/hollow, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, -/area/mine/eva) +/area/mine/lobby) "fX" = ( /obj/effect/turf_decal/tile/neutral{ dir = 1 @@ -702,20 +719,23 @@ /turf/simulated/floor/indestructible/boss, /area/mine/necropolis) "ga" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 +/obj/effect/decal/cleanable/dirt, +/obj/machinery/flasher{ + id = "labor"; + pixel_y = 0; + pixel_x = -25 }, -/obj/structure/cable{ - icon_state = "1-2" +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "brown" }, -/turf/simulated/floor/plasteel, -/area/mine/eva) +/area/mine/laborcamp) "gg" = ( /obj/machinery/shower{ dir = 8 }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/unary/vent_pump/on{ +/obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 2 }, /turf/simulated/floor/plasteel/white, @@ -728,7 +748,6 @@ /area/mine/necropolis) "gk" = ( /obj/item/radio/intercom{ - pixel_x = 30; pixel_y = 24 }, /turf/simulated/floor/plasteel{ @@ -798,6 +817,18 @@ }, /turf/simulated/floor/indestructible/boss, /area/mine/necropolis) +"gC" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "brownfull" + }, +/area/mine/laborcamp) "gF" = ( /obj/structure/cable{ d1 = 4; @@ -896,6 +927,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/structure/cable{ + icon_state = "2-8" + }, /turf/simulated/floor/plating, /area/mine/living_quarters) "hr" = ( @@ -1027,10 +1061,10 @@ /turf/simulated/floor/plasteel/dark, /area/mine/cafeteria) "ik" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 2 - }, /obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "il" = ( @@ -1318,7 +1352,7 @@ pixel_y = -25 }, /turf/simulated/floor/plating, -/area/mine/eva) +/area/mine/lobby) "jX" = ( /obj/structure/stone_tile/surrounding_tile{ dir = 1 @@ -1352,12 +1386,15 @@ /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, /area/lavaland/surface/outdoors/necropolis) "kd" = ( -/obj/machinery/power/port_gen/pacman{ - anchored = 1 +/obj/effect/turf_decal/arrows, +/obj/machinery/requests_console{ + department = "Labor Camp"; + pixel_y = -32 }, -/obj/structure/cable, /obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, +/turf/simulated/floor/plasteel{ + icon_state = "brown" + }, /area/mine/laborcamp) "kf" = ( /obj/machinery/light/small{ @@ -1482,16 +1519,24 @@ pixel_x = -28 }, /obj/effect/decal/cleanable/vomit, +/obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plasteel/white, /area/mine/laborcamp) "lh" = ( +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 2 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, /turf/simulated/floor/plasteel{ - dir = 6; - icon_state = "darkred" + icon_state = "darkredfull" }, /area/mine/laborcamp/security) "li" = ( @@ -1597,6 +1642,9 @@ /obj/machinery/light/small{ dir = 4 }, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 2 + }, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "lG" = ( @@ -1646,6 +1694,7 @@ /area/mine/necropolis) "lY" = ( /obj/machinery/door/firedoor, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ icon_state = "brown" }, @@ -1780,6 +1829,7 @@ /obj/machinery/door/firedoor, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel, /area/mine/living_quarters) "nb" = ( @@ -1845,9 +1895,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 }, -/obj/structure/cable{ - icon_state = "1-2" - }, /turf/simulated/floor/plasteel, /area/mine/lobby) "nN" = ( @@ -1858,16 +1905,10 @@ }, /area/mine/eva) "nQ" = ( -/obj/machinery/light/small{ - dir = 1 - }, /obj/effect/decal/cleanable/dirt, /obj/item/radio/intercom/locked/prison{ pixel_y = 24 }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 2 - }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -1897,10 +1938,6 @@ dir = 1 }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/flasher{ - id = "labor"; - pixel_y = 24 - }, /obj/structure/table, /obj/item/storage/fancy/cigarettes/cigpack_random, /obj/item/lighter/random{ @@ -1932,6 +1969,10 @@ }, /area/mine/laborcamp) "ok" = ( +/obj/item/radio/intercom{ + pixel_x = 28; + pixel_y = -4 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -1963,10 +2004,10 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 10 }, +/obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 + dir = 4 }, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "ou" = ( @@ -2022,13 +2063,6 @@ }, /area/mine/laborcamp/security) "oS" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/structure/reagent_dispensers/fueltank, -/obj/machinery/light/small{ - dir = 4 - }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/mine/laborcamp) @@ -2095,7 +2129,7 @@ dir = 9; icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "pj" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 @@ -2210,6 +2244,11 @@ /obj/structure/cable{ icon_state = "2-8" }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -2287,6 +2326,14 @@ icon_state = "brown" }, /area/mine/living_quarters) +"qD" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply, +/turf/simulated/floor/plasteel, +/area/mine/laborcamp) "qJ" = ( /obj/structure/stone_tile, /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, @@ -2395,7 +2442,7 @@ /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, -/area/mine/eva) +/area/mine/lobby) "rr" = ( /obj/structure/table, /obj/structure/bedsheetbin, @@ -2489,8 +2536,8 @@ }, /obj/item/storage/toolbox/mechanical, /obj/item/reagent_containers/spray/cleaner, -/obj/item/restraints/handcuffs/cable, /obj/item/kitchen/knife, +/obj/item/assembly/mousetrap, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -2595,14 +2642,16 @@ /area/mine/cafeteria) "sZ" = ( /obj/structure/closet/crate/freezer, -/obj/item/reagent_containers/iv_bag/bloodsynthetic/nitrogenis, -/obj/item/reagent_containers/iv_bag/bloodsynthetic/oxygenis, /obj/machinery/light/small{ dir = 4 }, /obj/machinery/vending/wallmed{ pixel_x = 26 }, +/obj/item/reagent_containers/iv_bag/bloodsynthetic/nitrogenis, +/obj/item/reagent_containers/iv_bag/bloodsynthetic/nitrogenis, +/obj/item/reagent_containers/iv_bag/bloodsynthetic/oxygenis, +/obj/item/reagent_containers/iv_bag/bloodsynthetic/oxygenis, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -2618,6 +2667,7 @@ /obj/machinery/light/small{ dir = 2 }, +/obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "td" = ( @@ -2629,13 +2679,14 @@ }, /area/mine/living_quarters) "tf" = ( +/obj/structure/cable, +/obj/effect/decal/cleanable/dirt, /obj/machinery/power/apc{ name = "Labor Camp APC"; - pixel_x = 1; - pixel_y = -28 + pixel_x = -26; + pixel_y = 0; + dir = 8 }, -/obj/structure/cable, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/mine/laborcamp) "tq" = ( @@ -2693,14 +2744,14 @@ dir = 8 }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 1 - }, /obj/machinery/camera{ c_tag = "Labor Camp Bathroom"; dir = 1; network = list("Labor Camp") }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, /turf/simulated/floor/plasteel/white, /area/mine/laborcamp) "tP" = ( @@ -2735,6 +2786,7 @@ /area/lavaland/surface/outdoors/unexplored) "uf" = ( /obj/effect/turf_decal/caution/stand_clear, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -2867,7 +2919,7 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 }, /turf/simulated/floor/plasteel{ @@ -2974,10 +3026,11 @@ }, /area/mine/laborcamp) "vf" = ( -/obj/structure/closet/secure_closet/freezer/meat, +/obj/structure/table, +/obj/item/storage/fancy/donut_box, /obj/effect/decal/cleanable/dirt, -/obj/item/radio/intercom/locked/prison{ - pixel_y = 24 +/obj/machinery/alarm{ + pixel_y = 22 }, /obj/machinery/light/small{ dir = 1 @@ -3019,6 +3072,7 @@ d2 = 8; icon_state = "4-8" }, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel, /area/mine/living_quarters) "vl" = ( @@ -3119,7 +3173,7 @@ /turf/simulated/floor/plasteel{ icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "vX" = ( /obj/structure/stone_tile/cracked{ dir = 8 @@ -3207,6 +3261,7 @@ /obj/machinery/power/smes{ charge = 1e+006 }, +/obj/structure/cable, /turf/simulated/floor/plating, /area/mine/living_quarters) "wK" = ( @@ -3278,6 +3333,10 @@ /turf/simulated/floor/lava/lava_land_surface, /area/mine/necropolis) "xe" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/structure/closet/secure_closet/freezer/meat, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "darkred" @@ -3305,9 +3364,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, +/obj/effect/decal/cleanable/cobweb, /turf/simulated/floor/plasteel{ icon_state = "darkredfull" }, @@ -3316,6 +3373,13 @@ /obj/structure/stone_tile/block/burnt, /turf/simulated/floor/lava/lava_land_surface, /area/mine/necropolis) +"xB" = ( +/obj/machinery/power/port_gen/pacman{ + anchored = 1 + }, +/obj/structure/cable, +/turf/simulated/floor/plating, +/area/mine/laborcamp) "xC" = ( /obj/machinery/driver_button{ id_tag = "trash1"; @@ -3363,6 +3427,7 @@ /area/mine/necropolis) "xY" = ( /obj/machinery/door/firedoor, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -3504,7 +3569,7 @@ dir = 1; icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "yZ" = ( /obj/structure/stone_tile/block{ dir = 8 @@ -3534,18 +3599,12 @@ /turf/simulated/floor/plasteel, /area/mine/eva) "zm" = ( -/obj/item/paper_bin{ - pixel_x = 1; - pixel_y = 9 +/obj/machinery/cryopod{ + dir = 2 }, -/obj/structure/table, -/obj/item/pen, /obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, /turf/simulated/floor/plasteel{ - dir = 6; + dir = 5; icon_state = "brown" }, /area/mine/laborcamp) @@ -3638,6 +3697,16 @@ icon_state = "wood-broken" }, /area/mine/laborcamp) +"zZ" = ( +/obj/structure/reagent_dispensers/fueltank, +/obj/machinery/light/small{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "1-2" + }, +/turf/simulated/floor/plating, +/area/mine/laborcamp) "Aa" = ( /obj/structure/stone_tile/block/cracked{ dir = 4 @@ -4081,6 +4150,7 @@ /obj/machinery/light/small{ dir = 1 }, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -4661,15 +4731,12 @@ /turf/simulated/floor/lava/lava_land_surface, /area/mine/necropolis) "Gq" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "darkred" - }, -/area/mine/laborcamp/security) +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/decal/warning_stripes/yellow, +/turf/simulated/floor/plasteel, +/area/mine/lobby) "Gr" = ( /obj/structure/stone_tile{ dir = 8 @@ -4816,10 +4883,10 @@ dir = 4 }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/door/airlock/glass{ - name = "Labor Camp Bedrooms hall" +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "brown" }, -/turf/simulated/floor/plasteel, /area/mine/laborcamp) "Hs" = ( /turf/simulated/floor/plasteel{ @@ -4845,6 +4912,7 @@ /area/lavaland/surface/outdoors/necropolis) "Hy" = ( /obj/machinery/door/firedoor, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -4966,8 +5034,7 @@ /area/mine/living_quarters) "IV" = ( /obj/structure/disposalpipe/segment{ - dir = 1; - icon_state = "pipe-c" + dir = 5 }, /turf/simulated/floor/plating, /area/mine/living_quarters) @@ -5026,9 +5093,6 @@ dir = 4; pixel_x = -24 }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, /turf/simulated/floor/plasteel{ icon_state = "barber" }, @@ -5379,7 +5443,7 @@ }, /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, -/area/mine/eva) +/area/mine/lobby) "LS" = ( /obj/structure/stone_tile/block/cracked{ dir = 4 @@ -5483,7 +5547,13 @@ /obj/structure/sign/poster/official/obey{ pixel_y = 32 }, -/obj/effect/decal/cleanable/dirt, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 2 + }, +/obj/machinery/light/small{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -5575,6 +5645,14 @@ icon_state = "clockwork_floor" }, /area/mine/necropolis) +"MS" = ( +/obj/effect/decal/cleanable/cobweb2, +/obj/machinery/portable_atmospherics/canister/air, +/obj/structure/cable{ + icon_state = "2-8" + }, +/turf/simulated/floor/plating, +/area/mine/laborcamp) "MU" = ( /obj/structure/stone_tile/block/cracked{ dir = 4 @@ -5639,9 +5717,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 8 }, -/obj/structure/cable{ - icon_state = "1-2" - }, /obj/structure/cable{ icon_state = "2-8" }, @@ -5651,14 +5726,15 @@ /turf/simulated/floor/plasteel, /area/mine/lobby) "ND" = ( -/obj/machinery/cryopod{ - dir = 2 - }, /obj/machinery/computer/cryopod{ pixel_y = 28 }, +/obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 2 + }, /turf/simulated/floor/plasteel{ - dir = 5; + dir = 1; icon_state = "brown" }, /area/mine/laborcamp) @@ -5731,7 +5807,7 @@ pixel_y = 25 }, /turf/simulated/floor/plasteel/dark, -/area/mine/eva) +/area/mine/lobby) "Ol" = ( /obj/structure/stone_tile/block/cracked{ dir = 4 @@ -5774,7 +5850,7 @@ /area/mine/living_quarters) "OL" = ( /obj/machinery/suit_storage_unit/lavaland, -/obj/machinery/light/small{ +/obj/machinery/light{ dir = 4 }, /turf/simulated/floor/plasteel{ @@ -6020,7 +6096,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/obj/effect/decal/cleanable/dirt, +/obj/machinery/door/airlock/glass{ + name = "Labor Camp Bedrooms hall" + }, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "Qo" = ( @@ -6379,15 +6457,17 @@ /turf/simulated/floor/lava/lava_land_surface, /area/mine/necropolis) "SF" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 +/obj/structure/table, +/obj/item/paper_bin{ + pixel_x = 1; + pixel_y = 9 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ +/obj/item/pen, +/obj/machinery/light/small{ dir = 4 }, /turf/simulated/floor/plasteel{ - dir = 4; + dir = 6; icon_state = "brown" }, /area/mine/laborcamp) @@ -6467,7 +6547,7 @@ dir = 10; icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "Ts" = ( /obj/structure/chair{ dir = 1 @@ -6675,7 +6755,7 @@ dir = 6; icon_state = "brown" }, -/area/mine/eva) +/area/mine/lobby) "UU" = ( /obj/structure/stone_tile/block/cracked{ dir = 8 @@ -6855,6 +6935,12 @@ /turf/simulated/floor/indestructible/boss, /area/lavaland/surface/outdoors/necropolis) "Wh" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, /obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel, /area/mine/eva) @@ -6865,6 +6951,7 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel, /area/mine/lobby) "Wn" = ( @@ -6898,11 +6985,13 @@ }, /area/mine/necropolis) "Ws" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, /obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, /turf/simulated/floor/plasteel, /area/mine/laborcamp) "Wv" = ( @@ -7016,15 +7105,16 @@ "Xf" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 + dir = 6 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 + dir = 5 }, /turf/simulated/floor/plasteel/white, /area/mine/laborcamp) "Xu" = ( /obj/machinery/door/firedoor, +/obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "brown" @@ -7134,16 +7224,16 @@ /turf/simulated/floor/indestructible/boss, /area/mine/necropolis) "Yr" = ( -/obj/structure/table, -/obj/item/storage/fancy/donut_box, /obj/effect/decal/cleanable/dirt, -/obj/machinery/alarm{ - pixel_y = 22 +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8; + pixel_y = 0 }, /turf/simulated/floor/plasteel{ - icon_state = "darkred" + dir = 4; + icon_state = "brown" }, -/area/mine/laborcamp/security) +/area/mine/laborcamp) "Ys" = ( /obj/structure/stone_tile, /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface, @@ -7257,9 +7347,6 @@ dir = 4 }, /obj/effect/decal/cleanable/dirt, -/obj/machinery/light/small{ - dir = 1 - }, /turf/simulated/floor/plasteel{ icon_state = "darkredcorners" }, @@ -7353,22 +7440,18 @@ }, /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 + dir = 10 }, /turf/simulated/floor/plasteel{ icon_state = "darkredfull" }, /area/mine/laborcamp/security) "ZE" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 2 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 }, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel, -/area/mine/laborcamp) +/area/mine/eva) "ZG" = ( /obj/structure/stone_tile/block/cracked{ dir = 4 @@ -7394,6 +7477,9 @@ /area/lavaland/surface/outdoors) "ZJ" = ( /obj/effect/decal/cleanable/dirt, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, /turf/simulated/floor/plasteel{ icon_state = "brownfull" }, @@ -12052,7 +12138,7 @@ hr iu ah XT -Ne +bB oA kk oA @@ -12812,7 +12898,7 @@ Ne hr VG Zp -ve +ga Ll Rt ve @@ -13070,7 +13156,7 @@ hr nX pj Bu -uB +fF gI uB WR @@ -13082,7 +13168,7 @@ ZJ wZ dI Mw -xq +lh lL OZ Ne @@ -13327,7 +13413,7 @@ hr mc Zp jZ -jZ +Yr jZ BT BG @@ -13587,7 +13673,7 @@ iu zL iu nQ -Lu +gC fc iu iu @@ -13844,18 +13930,18 @@ jF gL tq uf -BG -sV +qM +kd iu NT as tf dI aE -lh -fF -Gq -OZ +Es +Es +HV +dI Ne Cg Cg @@ -14101,17 +14187,17 @@ Cs bV iu ND -SF -zm +Lu +sV iu fe oS -kd +oS dI vf -Es -Es -HV +wj +wj +zg dI Ne Ne @@ -14357,19 +14443,19 @@ Pj TU uS iu -iu +zm Hp +SF iu -iu -iu -iu -iu -dI -Yr -wj -wj -zg +MS +zZ +xB dI +Px +oN +ej +Tf +OZ Ne Ne Ne @@ -14614,18 +14700,18 @@ Ab tv GJ iu -MH +iu Ql -VH -zY -hX iu -Ne +iu +iu +iu +iu +dI +OZ +OZ +OZ OZ -Px -oN -ej -Tf OZ Ne Ne @@ -14871,19 +14957,19 @@ Va ko DE iu -ik +MH Ws -iu -xD -qR +VH +zY +hX iu Ne -OZ -OZ -OZ -OZ -OZ -OZ +Ne +Ne +Ne +Ne +Ne +Ne Ne Ne Ne @@ -15128,11 +15214,11 @@ zJ hr iu iu -yS -qM -iu -iu +eu +qD iu +xD +qR iu Ne Ne @@ -15385,11 +15471,11 @@ Wq tc iu rr -ZE +yS or -lD -Si -CM +iu +iu +iu iu Ne Ne @@ -15643,10 +15729,10 @@ yS iu PR lF -yS -iu -uP -BR +ik +lD +Si +CM iu Ne Ne @@ -15902,8 +15988,8 @@ iu iu iu iu -iu -iu +uP +BR iu Ne Ne @@ -16158,10 +16244,10 @@ qb tU Ho Ho -Ho -Ho -Ne -Ne +iu +iu +iu +iu Ne Ne Ne @@ -16415,8 +16501,8 @@ DH DH DH DH -DH -DH +Ho +Ho DH Ne Ne @@ -21039,7 +21125,7 @@ Ne Ne Ne Ne -CO +dg oL dg oL @@ -22839,7 +22925,7 @@ bB CO CO CO -Ls +gk us Dd mY @@ -23610,7 +23696,7 @@ Ne Ne bB oL -gk +Ls AQ iB uL @@ -26429,9 +26515,9 @@ yX bG WJ nM -Wi -Zq -Zq +Gq +yX +yX NC gp Zq @@ -27196,10 +27282,10 @@ zt zt VD VD -bH -Rk +VD +zt Oi -Rk +zt FT Kz pH @@ -27453,15 +27539,15 @@ bB bB bB bB -bH +VD pi fW To bH MD -FG +Bp aL -ga +zh zh GQ FT @@ -27710,15 +27796,15 @@ Ne bB bB bB -bH +VD yY ro vS bH rl -Bp +FG Wh -Bp +ZE Bp OQ FT @@ -27967,7 +28053,7 @@ Ne Ne bB bB -bH +VD eQ LQ UQ @@ -28224,10 +28310,10 @@ Ne Ne bB bB -bH -Rk +VD +zt jW -Rk +zt bH bH bH diff --git a/_maps/map_files/nova/nova.dmm b/_maps/map_files/nova/nova.dmm index cb3f053527e..c37b125e85b 100644 --- a/_maps/map_files/nova/nova.dmm +++ b/_maps/map_files/nova/nova.dmm @@ -341,9 +341,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "acY" = ( /obj/machinery/door/airlock/security/glass{ @@ -365,7 +363,6 @@ layer = 2.9 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -436,17 +433,20 @@ icon_state = "neutralfull" }, /area/hallway/primary/starboard) -"adH" = ( -/obj/machinery/flasher/portable, -/obj/item/wrench, -/obj/structure/cable{ - icon_state = "4-8" +"adJ" = ( +/obj/structure/railing{ + dir = 1 + }, +/obj/structure/chair/comfy/beige{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 1 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "red" + icon_state = "darkbluecornersalt" }, -/area/security/holding_cell) +/area/crew_quarters/fitness) "adT" = ( /obj/machinery/atmospherics/pipe/simple/visible{ dir = 4 @@ -470,14 +470,6 @@ level = 1.4 }, /obj/structure/curtain/open, -/obj/machinery/power/apc{ - dir = 4; - name = "east bump"; - pixel_x = 26 - }, -/obj/structure/cable{ - icon_state = "0-8" - }, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "whiteblue"; @@ -1401,6 +1393,9 @@ dir = 4 }, /obj/machinery/door/firedoor, +/obj/effect/turf_decal/siding/wood{ + dir = 8 + }, /turf/simulated/floor/wood/fancy/light{ color = "orange" }, @@ -1628,7 +1623,7 @@ id_tag = "solar_tool_inner"; locked = 1; name = "Engineering External Access"; - req_access = list(32) + req_access = list(13) }, /obj/structure/cable{ icon_state = "4-8" @@ -1873,9 +1868,6 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint2) "anI" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 8 }, @@ -1887,6 +1879,14 @@ name = "IAA Office"; sortType = 29 }, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -2121,8 +2121,15 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint4) "apH" = ( +/obj/machinery/atmospherics/pipe/simple/visible/cyan{ + desc = "Труба содержит дыхательную смесь для подачи на станцию"; + dir = 10; + name = "Труба дыхательной смеси" + }, +/obj/structure/sign/poster/contraband/tools{ + pixel_y = 32 + }, /obj/effect/decal/cleanable/dirt, -/obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, /area/maintenance/brig) "apP" = ( @@ -2451,10 +2458,10 @@ /turf/simulated/floor/plating, /area/maintenance/starboard) "asT" = ( -/obj/item/twohanded/required/kirbyplants, /obj/machinery/camera{ c_tag = "Library North" }, +/obj/machinery/libraryscanner, /turf/simulated/floor/wood, /area/library) "asU" = ( @@ -2549,6 +2556,9 @@ /obj/structure/window/reinforced{ dir = 4 }, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_regular_floor = "yellowsiding"; @@ -2612,20 +2622,19 @@ }, /area/hallway/primary/command/east) "auE" = ( -/obj/structure/chair{ - dir = 4 - }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 +/obj/structure/table, +/obj/item/restraints/handcuffs{ + pixel_y = -3 }, -/obj/machinery/light_switch{ - pixel_x = -24 +/obj/item/restraints/handcuffs{ + pixel_y = 3 }, +/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ - dir = 9; + dir = 10; icon_state = "red" }, -/area/security/holding_cell) +/area/security/processing) "auP" = ( /obj/structure/table/reinforced, /obj/machinery/door/firedoor, @@ -2684,10 +2693,12 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/structure/disposalpipe/segment, +/obj/structure/disposalpipe/segment{ + dir = 5 + }, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + dir = 1; + icon_state = "red" }, /area/security/seceqstorage) "avt" = ( @@ -2851,9 +2862,7 @@ /obj/machinery/light{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "awu" = ( /obj/machinery/atmospherics/pipe/simple/hidden{ @@ -2894,6 +2903,9 @@ /obj/machinery/door/firedoor/border_only{ dir = 1 }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -3141,6 +3153,10 @@ /obj/machinery/light{ dir = 4 }, +/obj/machinery/newscaster{ + pixel_y = 32; + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "blue" @@ -3214,7 +3230,7 @@ "azB" = ( /obj/machinery/computer/atmos_alert, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "azG" = ( /obj/item/stock_parts/scanning_module{ pixel_x = 1; @@ -3396,7 +3412,7 @@ /obj/effect/decal/cleanable/dirt, /obj/machinery/power/apc/worn_out{ cell_type = 0; - dir = 1; + dir = 8; pixel_x = -26 }, /turf/simulated/floor/plating, @@ -3705,6 +3721,18 @@ }, /turf/simulated/floor/plating, /area/maintenance/ai) +"aCP" = ( +/obj/structure/morgue{ + dir = 2 + }, +/obj/machinery/light{ + dir = 1; + in_use = 1 + }, +/turf/simulated/floor/plasteel{ + icon_state = "cult" + }, +/area/chapel/office) "aCQ" = ( /obj/machinery/door/airlock/security/glass{ id = "Interrogation"; @@ -3830,25 +3858,10 @@ }, /area/medical/virology/lab) "aDA" = ( -/obj/structure/closet/secure_closet/security, -/obj/effect/turf_decal/stripes/end{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/red/end{ - dir = 1 - }, -/obj/item/clothing/mask/balaclava, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/obj/item/flashlight/seclite, -/obj/machinery/camera{ - c_tag = "Brig Equipment Storage"; - dir = 1; - network = list("SS13","Security") - }, +/obj/item/twohanded/required/kirbyplants, /turf/simulated/floor/plasteel{ - icon_state = "dark" + icon_state = "redfull"; + tag = "icon-redfull (NORTHWEST)" }, /area/security/seceqstorage) "aDI" = ( @@ -3933,10 +3946,21 @@ }, /area/bridge) "aEB" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plating, -/area/crew_quarters/fitness) +/obj/machinery/alarm{ + dir = 8; + pixel_x = 24 + }, +/obj/structure/table/wood, +/obj/item/stack/wrapping_paper, +/obj/machinery/light/small{ + dir = 4 + }, +/obj/machinery/newscaster{ + name = "north newscaster"; + pixel_y = 34 + }, +/turf/simulated/floor/wood, +/area/civilian/pet_store) "aED" = ( /obj/effect/decal/warning_stripes/west, /turf/simulated/floor/plasteel, @@ -4203,7 +4227,7 @@ }, /area/hallway/primary/central/second/east) "aGk" = ( -/obj/structure/closet/wardrobe/white, +/obj/structure/closet/wardrobe/pink, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutralcorner" @@ -4768,7 +4792,10 @@ }, /area/medical/research/nhallway) "aJW" = ( -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/fitness) "aJZ" = ( /obj/effect/spawner/lootdrop/crate_spawner, @@ -5096,12 +5123,10 @@ }, /area/medical/reception) "aMg" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + dir = 10; + icon_state = "red" }, /area/security/seceqstorage) "aMh" = ( @@ -5150,14 +5175,14 @@ }, /area/hallway/primary/command) "aMC" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(12) - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/door/airlock/maintenance{ + req_access = list(22) + }, /turf/simulated/floor/plating, /area/maintenance/fsmaint3) "aME" = ( @@ -5230,6 +5255,11 @@ icon_state = "neutralfull" }, /area/quartermaster/delivery) +"aNw" = ( +/obj/structure/flora/rock/jungle, +/obj/structure/flora/junglebush/b, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "aNx" = ( /obj/structure/cable{ icon_state = "2-8" @@ -5416,12 +5446,6 @@ }, /area/maintenance/detectives_office) "aOV" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, /turf/simulated/floor/plasteel{ icon_state = "floorgrime" }, @@ -5578,11 +5602,9 @@ }, /area/medical/medbay) "aPP" = ( -/turf/simulated/floor/plasteel{ - dir = 6; - icon_state = "red" - }, -/area/security/lobby) +/obj/structure/chair/office, +/turf/simulated/floor/wood/oak, +/area/crew_quarters/courtroom) "aPT" = ( /obj/effect/spawner/window/reinforced, /obj/structure/cable, @@ -5772,6 +5794,12 @@ name = "Cargo Lockdown"; opacity = 0 }, +/obj/machinery/door_control{ + id = "CargoBay Shutters South"; + name = "CargoBay Shutters South Controls"; + pixel_y = 24; + req_access = list(50) + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -5835,7 +5863,6 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint3) "aRp" = ( -/obj/structure/plasticflaps/mining, /obj/machinery/conveyor{ id = "QMLoad2"; dir = 1 @@ -5847,6 +5874,7 @@ name = "Cargo Lockdown"; opacity = 0 }, +/obj/structure/plasticflaps/mining, /turf/simulated/floor/plating, /area/quartermaster/delivery) "aRu" = ( @@ -5960,6 +5988,10 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -6095,7 +6127,7 @@ dir = 6 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "aSX" = ( /obj/structure/cable{ icon_state = "1-4" @@ -6111,23 +6143,15 @@ /area/maintenance/tourist) "aSY" = ( /obj/structure/railing/corner{ - dir = 4 - }, -/obj/effect/turf_decal/siding/wood/corner{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 1 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluecorners" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "aTa" = ( /obj/item/twohanded/required/kirbyplants, @@ -6161,8 +6185,10 @@ /area/security/permabrig) "aTu" = ( /obj/machinery/firealarm{ - dir = 8; - pixel_x = -25 + pixel_y = 26 + }, +/obj/machinery/newscaster{ + pixel_x = -30 }, /turf/simulated/floor/plasteel{ dir = 9; @@ -6249,14 +6275,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply, /turf/simulated/floor/plasteel, /area/engine/engineering) -"aUl" = ( -/obj/structure/disposalpipe/segment{ - dir = 5 - }, -/turf/simulated/floor/plasteel{ - dir = 1 - }, -/area/quartermaster/office) "aUs" = ( /obj/effect/decal/warning_stripes/yellow, /obj/structure/cable{ @@ -6319,6 +6337,11 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/door/airlock/security/glass{ + name = "Brig Customs"; + req_access = list(63); + security_level = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -6406,9 +6429,6 @@ dir = 1; layer = 2.9 }, -/obj/machinery/light{ - dir = 8 - }, /turf/simulated/floor/grass, /area/hallway/secondary/exit) "aVi" = ( @@ -6539,15 +6559,23 @@ /area/maintenance/apmaint) "aWl" = ( /obj/machinery/chem_master/condimaster, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "aWo" = ( /obj/structure/closet/firecloset, /obj/effect/decal/warning_stripes/yellow/hollow, /turf/simulated/floor/plasteel, /area/engine/gravitygenerator) +"aWt" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "whiteblue"; + tag = "icon-whiteblue (WEST)" + }, +/area/medical/cryo) "aWu" = ( /obj/machinery/computer/monitor{ name = "Engineering Power Monitoring Console" @@ -6567,12 +6595,10 @@ /area/medical/medrest) "aWz" = ( /obj/effect/decal/cleanable/dirt, +/obj/structure/cable, /obj/machinery/power/apc{ - cell_type = 0; - name = "south bump"; pixel_y = -26 }, -/obj/structure/cable, /turf/simulated/floor/plating, /area/maintenance/asmaint3) "aWH" = ( @@ -6715,6 +6741,8 @@ /obj/item/rcd_ammo, /obj/item/rcd_ammo, /obj/item/clothing/gloves/color/fyellow, +/obj/item/clothing/gloves/color/fyellow, +/obj/item/clothing/glasses/meson, /obj/item/clothing/glasses/meson, /turf/simulated/floor/plating, /area/maintenance/apmaint) @@ -6731,7 +6759,8 @@ /area/security/prison/cell_block/A) "aYr" = ( /obj/machinery/door/airlock/maintenance{ - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -6865,13 +6894,6 @@ /obj/structure/cable{ icon_state = "0-8" }, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plating, /area/security/brig) "aZO" = ( @@ -6879,11 +6901,6 @@ /obj/structure/cable{ icon_state = "0-4" }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 2; - id_tag = "Chemistry"; - name = "Chemistry Privacy Shutter" - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "open"; @@ -6891,6 +6908,11 @@ name = "Quarantine Lockdown"; opacity = 0 }, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "Chemistry1"; + name = "Chemistry Privacy Shutter" + }, /turf/simulated/floor/plating, /area/medical/chemistry) "aZX" = ( @@ -7196,6 +7218,40 @@ icon_state = "dark" }, /area/tcommsat/chamber) +"bcp" = ( +/obj/machinery/vending/wallmed{ + layer = 3.3; + name = "Emergency NanoMed"; + pixel_y = 30 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "purple" + }, +/area/hallway/primary/central/north) +"bcw" = ( +/obj/structure/spacepoddoor{ + luminosity = 3 + }, +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "open"; + id_tag = "Brig_lockdown"; + name = "Cargo Lockdown"; + opacity = 0 + }, +/obj/machinery/door/poddoor{ + id_tag = "miningshuttlebay"; + layer = 3.1 + }, +/obj/machinery/door_control{ + desc = "A remote control-switch for the pod doors."; + id = "miningshuttlebay"; + name = "Pod Door Control"; + pixel_y = 24 + }, +/turf/simulated/floor/plating, +/area/quartermaster/miningdock) "bcx" = ( /obj/machinery/atmospherics/unary/vent_scrubber{ name = "standard air scrubber"; @@ -7487,6 +7543,7 @@ /obj/item/radio/headset/headset_sci{ pixel_x = -3 }, +/obj/item/storage/belt/utility, /obj/item/clothing/head/welding{ pixel_x = -3; pixel_y = 5 @@ -7828,6 +7885,12 @@ icon_state = "yellowcorner" }, /area/hallway/primary/starboard/east) +"bhc" = ( +/obj/effect/turf_decal/stripes/corner, +/turf/simulated/floor/plasteel{ + dir = 1 + }, +/area/security/main) "bhh" = ( /obj/effect/decal/warning_stripes/north, /turf/simulated/floor/plasteel{ @@ -7868,6 +7931,9 @@ icon_state = "2-8" }, /obj/effect/landmark/start/quartermaster, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -7900,9 +7966,6 @@ name = "Bar Office"; req_access = list(25) }, -/obj/effect/turf_decal/siding/wood{ - dir = 8 - }, /obj/structure/disposalpipe/segment{ dir = 4 }, @@ -7917,7 +7980,10 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/plasteel/grimy, +/obj/effect/turf_decal/siding/wood{ + dir = 4 + }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "bhW" = ( /obj/structure/closet/bombcloset, @@ -8844,15 +8910,11 @@ /turf/simulated/floor/carpet/royalblack, /area/ntrep) "boU" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, +/obj/machinery/hologram/holopad, +/obj/effect/decal/warning_stripes/yellow/hollow, /turf/simulated/floor/plasteel{ dir = 1; - icon_state = "neutralcorner" + icon_state = "dark" }, /area/crew_quarters/fitness) "boY" = ( @@ -8884,6 +8946,10 @@ /obj/structure/cable{ icon_state = "2-4" }, +/obj/machinery/camera{ + c_tag = "Medbay Patient Room"; + network = list("SS13","Medical") + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "whiteblue"; @@ -8997,6 +9063,9 @@ scrub_N2O = 1; scrub_Toxins = 1 }, +/obj/machinery/newscaster{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "whiteblue"; @@ -9062,9 +9131,6 @@ /obj/effect/turf_decal/siding/yellow{ dir = 10 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, /turf/simulated/floor/wood, /area/crew_quarters/courtroom) "bqm" = ( @@ -9132,20 +9198,6 @@ }, /turf/simulated/floor/plating, /area/bridge) -"bqF" = ( -/obj/structure/flora/ausbushes/ppflowers, -/obj/structure/flora/ausbushes/brflowers, -/obj/structure/flora/ausbushes/ywflowers/hell, -/obj/structure/flora/firebush, -/obj/structure/window/reinforced, -/obj/structure/window/reinforced{ - dir = 4 - }, -/obj/machinery/light{ - dir = 8 - }, -/turf/simulated/floor/grass, -/area/hallway/secondary/exit) "bqH" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ @@ -9170,6 +9222,7 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -9917,6 +9970,10 @@ /obj/structure/disposalpipe/junction{ dir = 4 }, +/obj/machinery/light_switch{ + pixel_x = -24; + pixel_y = 24 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "red" @@ -10290,9 +10347,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "bym" = ( /turf/simulated/floor/beach/water{ @@ -10439,6 +10494,20 @@ }, /turf/simulated/floor/plating, /area/maintenance/fsmaint2) +"bzs" = ( +/obj/structure/railing{ + dir = 1 + }, +/obj/structure/table/glass, +/obj/item/folder, +/obj/item/pen, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "bzv" = ( /obj/structure/chair/sofa{ dir = 4 @@ -10694,9 +10763,9 @@ color = "red"; dir = 1 }, -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "darkred" @@ -10839,10 +10908,27 @@ dir = 6; network = list("Engineering","SS13") }, +/obj/machinery/light{ + dir = 1; + on = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, /area/engine/hardsuitstorage) +"bCw" = ( +/obj/structure/sign/directions/evac{ + pixel_y = -8 + }, +/obj/structure/sign/directions/science{ + dir = 1 + }, +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = 8 + }, +/turf/simulated/wall, +/area/hallway/spacebridge/comcar) "bCH" = ( /obj/effect/turf_decal/siding/wood{ do_not_delete_me = 1 @@ -10871,13 +10957,15 @@ }, /area/quartermaster/storage) "bCR" = ( -/obj/machinery/light{ - dir = 8 +/obj/machinery/firealarm{ + dir = 4; + pixel_x = 28 }, -/turf/simulated/floor/engine{ - name = "Holodeck Projector Floor" +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" }, -/area/holodeck/alphadeck) +/area/crew_quarters/fitness) "bCS" = ( /obj/docking_port/stationary{ dir = 2; @@ -10921,7 +11009,13 @@ }, /area/security/processing) "bDb" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/unary/vent_scrubber{ + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1; + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -11030,11 +11124,12 @@ "bDG" = ( /obj/machinery/conveyor{ id = "QMLoad2"; - dir = 8 + dir = 1 }, /obj/machinery/conveyor{ id = "QMLoad2"; - dir = 1 + dir = 8; + layer = 2.494 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -11052,6 +11147,16 @@ icon_state = "solarpanel" }, /area/solar/starboardaux) +"bDL" = ( +/obj/structure/sign/directions/science{ + dir = 1 + }, +/obj/structure/sign/directions/engineering{ + pixel_y = 8; + dir = 4 + }, +/turf/simulated/wall, +/area/hallway/primary/fore) "bDM" = ( /obj/effect/turf_decal/box/white/corners, /obj/machinery/atmospherics/pipe/simple/hidden/universal{ @@ -11118,10 +11223,9 @@ /turf/simulated/floor/plating, /area/engine/supermatter) "bEk" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/light/small, -/turf/simulated/floor/plating, -/area/maintenance/brig) +/obj/machinery/libraryscanner, +/turf/simulated/floor/plasteel, +/area/quartermaster/sorting) "bEs" = ( /obj/structure/lattice/catwalk, /turf/space, @@ -11204,8 +11308,6 @@ /area/hallway/secondary/entry/additional) "bFa" = ( /mob/living/simple_animal/pet/cat/birman/Crusher, -/obj/effect/decal/cleanable/generic, -/obj/effect/decal/cleanable/blood/gibs/robot, /obj/structure/reagent_dispensers/fueltank/chem{ pixel_y = -32 }, @@ -11252,7 +11354,7 @@ /turf/simulated/floor/grass, /area/maintenance/fore2) "bFj" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ +/obj/machinery/light{ dir = 4 }, /turf/simulated/floor/plasteel{ @@ -11264,9 +11366,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 6 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "bFs" = ( /obj/effect/decal/warning_stripes/southwest, @@ -11376,6 +11476,18 @@ icon_state = "tranquillite" }, /area/crew_quarters/kitchen) +"bGf" = ( +/obj/structure/railing{ + dir = 10 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 10 + }, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "bGi" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -12062,6 +12174,11 @@ icon_state = "redcorner" }, /area/security/brigstaff) +"bLs" = ( +/obj/structure/flora/rock/jungle, +/obj/structure/flora/grass/jungle/b, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "bLw" = ( /obj/structure/table/wood, /obj/structure/window/reinforced, @@ -12156,7 +12273,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -12173,6 +12289,16 @@ icon_state = "darkgrey" }, /area/engine/mechanic_workshop/hangar) +"bMf" = ( +/obj/effect/decal/warning_stripes/west, +/obj/structure/sign/poster/official/random{ + pixel_y = 0; + pixel_x = 32 + }, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/security/podbay) "bMg" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -12318,15 +12444,10 @@ /turf/simulated/floor/plating, /area/maintenance/tourist) "bNu" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 1 - }, -/turf/simulated/floor/plasteel{ - dir = 10; - icon_state = "red" - }, -/area/security/lobby) +/obj/structure/filingcabinet/chestdrawer, +/obj/effect/turf_decal/siding/wood, +/turf/simulated/floor/carpet/green, +/area/security/detectives_office) "bNw" = ( /turf/simulated/wall, /area/crew_quarters/toilet) @@ -13012,6 +13133,10 @@ }, /obj/structure/table, /obj/machinery/atmospherics/pipe/multiz, +/obj/item/kitchen/knife/combat/survival, +/obj/item/kitchen/knife/combat/survival{ + pixel_x = 6 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -13332,7 +13457,7 @@ dir = 5; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "bUt" = ( /obj/structure/cable{ icon_state = "4-8" @@ -13407,6 +13532,7 @@ /area/toxins/explab) "bUW" = ( /obj/effect/spawner/random_spawners/cobweb_right_frequent, +/obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, /area/maintenance/asmaint4) "bUX" = ( @@ -13436,9 +13562,7 @@ /area/medical/paramedic) "bVj" = ( /obj/effect/turf_decal/siding/wood, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "bVl" = ( /obj/structure/rack, @@ -13489,10 +13613,6 @@ }, /obj/structure/closet/emcloset, /obj/effect/decal/warning_stripes/yellow/hollow, -/obj/machinery/vending/wallmed{ - name = "Emergency NanoMed"; - pixel_x = -26 - }, /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, @@ -13741,17 +13861,13 @@ }, /area/space) "bXj" = ( -/obj/structure/window/reinforced{ +/obj/item/twohanded/required/kirbyplants, +/obj/machinery/light{ dir = 1; - layer = 2.9 - }, -/obj/machinery/atmospherics/unary/vent_scrubber{ - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 + in_use = 1 }, /turf/simulated/floor/plasteel{ + dir = 1; icon_state = "dark" }, /area/crew_quarters/fitness) @@ -13817,21 +13933,20 @@ /turf/simulated/floor/plasteel, /area/security/permabrig) "bXL" = ( -/obj/structure/closet/secure_closet/security, -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 6 - }, -/obj/item/clothing/mask/balaclava, /obj/machinery/light{ dir = 1; in_use = 1 }, -/obj/item/flashlight/seclite, +/obj/item/radio/intercom{ + pixel_y = 24; + pixel_x = 30 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 5; + icon_state = "red" }, /area/security/seceqstorage) "bXO" = ( @@ -13943,9 +14058,7 @@ /obj/effect/turf_decal/siding/wood/corner{ dir = 8 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "bYP" = ( /obj/machinery/door/firedoor/border_only{ @@ -14086,19 +14199,15 @@ }, /area/security/permabrig) "bZV" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal, +/obj/machinery/atmospherics/pipe/simple/hidden/universal, /turf/simulated/floor/plasteel/dark, /area/maintenance/starboardaux) "bZW" = ( -/obj/structure/lattice/catwalk, -/obj/structure/cable{ - icon_state = "1-8" - }, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/hologram/holopad, +/turf/simulated/floor/plasteel{ + icon_state = "white" }, -/turf/space, -/area/solar/starboardaux) +/area/medical/paramedic) "cab" = ( /obj/structure/reagent_dispensers/watertank/high, /turf/simulated/floor/plasteel{ @@ -14121,16 +14230,17 @@ /turf/simulated/floor/wood, /area/maintenance/library) "cae" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/item/radio/intercom{ name = "west station intercom (General)"; pixel_x = -28 }, -/turf/simulated/floor/wood, +/obj/machinery/light{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "cag" = ( /obj/machinery/door/poddoor{ @@ -14178,8 +14288,15 @@ }, /area/medical/research) "cax" = ( -/turf/simulated/floor/engine/hull, -/area/space) +/obj/machinery/door/airlock/public/glass{ + name = "Walkway" + }, +/obj/machinery/door/firedoor, +/obj/effect/turf_decal/caution/red, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/hallway/primary/port/south) "caz" = ( /obj/structure/window/reinforced, /obj/structure/closet/coffin, @@ -14209,6 +14326,10 @@ icon_state = "4-8" }, /obj/structure/table, +/obj/machinery/recharger{ + pixel_x = 1; + pixel_y = 3 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -14261,13 +14382,9 @@ name = "Cabin" }, /obj/machinery/door/firedoor, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "4-8" +/turf/simulated/floor/plasteel{ + icon_state = "darkgreenfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/sleep/secondary) "cbh" = ( /turf/simulated/wall, @@ -14470,6 +14587,10 @@ "ccz" = ( /obj/structure/table, /obj/effect/decal/cleanable/dirt, +/obj/machinery/newscaster{ + pixel_y = 0; + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ icon_state = "bar" }, @@ -14522,8 +14643,8 @@ /area/medical/medbay) "cdl" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/light{ - dir = 4 +/obj/machinery/status_display{ + pixel_x = 32 }, /turf/simulated/floor/plasteel{ dir = 5; @@ -14611,6 +14732,10 @@ }, /area/hallway/secondary/exit) "cdH" = ( +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -14694,9 +14819,6 @@ /obj/structure/extinguisher_cabinet{ pixel_y = 30 }, -/obj/machinery/newscaster/security_unit{ - pixel_x = 30 - }, /obj/machinery/atmospherics/unary/portables_connector, /obj/item/wrench, /obj/effect/decal/warning_stripes/red, @@ -14912,6 +15034,15 @@ icon_state = "darkredfull" }, /area/turret_protected/ai) +"cgA" = ( +/obj/machinery/portable_atmospherics/canister/air{ + filled = 0.05 + }, +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "cgD" = ( /obj/item/reagent_containers/glass/bucket, /turf/simulated/floor/grass, @@ -15176,6 +15307,18 @@ dir = 1 }, /area/security/customs) +"ciF" = ( +/obj/structure/railing{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "ciN" = ( /obj/item/radio/intercom{ pixel_y = 24 @@ -15258,11 +15401,6 @@ /obj/effect/mapping_helpers/airlock/unres{ dir = 8 }, -/obj/machinery/door/airlock/security/glass{ - id_tag = "BrigEast"; - name = "Brig North Entrance"; - req_access = list(63) - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "open"; @@ -15270,6 +15408,12 @@ name = "Brig Lockdown"; opacity = 0 }, +/obj/machinery/door/airlock/security/glass{ + id_tag = "BrigEast"; + name = "Brig North Entrance"; + req_access = list(63); + security_level = 1 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "redcorner" @@ -15302,7 +15446,6 @@ /obj/machinery/door/airlock/public/glass{ id = "vipbar"; id_tag = "vipbar_bolt"; - locked = 1; name = "ViP Room 2" }, /obj/machinery/door/firedoor, @@ -15625,7 +15768,7 @@ /area/crew_quarters/captain) "cml" = ( /obj/machinery/camera{ - c_tag = "Rec Room South"; + c_tag = "Fitness Room South"; dir = 1 }, /turf/simulated/floor/plasteel{ @@ -15985,6 +16128,9 @@ name = "east fire alarm"; pixel_x = 24 }, +/obj/effect/turf_decal/stripes/line{ + dir = 1 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -16148,6 +16294,17 @@ icon_state = "neutral" }, /area/hallway/secondary/exit) +"cqc" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "2-8" + }, +/turf/simulated/floor/wood, +/area/security/detectives_office) "cqm" = ( /obj/item/radio/intercom{ name = "west station intercom (General)"; @@ -16282,7 +16439,6 @@ /turf/simulated/floor/plating, /area/maintenance/disposal) "cqZ" = ( -/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "redcorner" @@ -16376,6 +16532,10 @@ icon_state = "purple" }, /area/assembly/showroom) +"crD" = ( +/obj/structure/ladder, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "crF" = ( /obj/structure/sign/vacuum{ pixel_x = 32 @@ -16833,7 +16993,6 @@ /turf/simulated/floor/plating, /area/maintenance/xenozoo) "cuQ" = ( -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/item/radio/intercom{ pixel_y = 24 @@ -16843,6 +17002,7 @@ dir = 1; in_use = 1 }, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -16896,13 +17056,14 @@ }, /area/hydroponics) "cvc" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/camera{ + c_tag = "Holodeck South"; + dir = 1 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/wood, -/area/crew_quarters/fitness) +/turf/simulated/floor/engine{ + name = "Holodeck Projector Floor" + }, +/area/holodeck/alphadeck) "cvf" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/effect/decal/cleanable/dirt, @@ -17421,7 +17582,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced, @@ -17439,8 +17599,12 @@ /turf/simulated/floor/wood, /area/security/permabrig) "czV" = ( -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/delivery, +/obj/machinery/door/firedoor/border_only{ + dir = 8 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -17474,9 +17638,7 @@ /area/maintenance/atmospherics) "cAk" = ( /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "cAp" = ( /obj/structure/cable{ @@ -17619,9 +17781,7 @@ /obj/machinery/computer/security/telescreen/entertainment{ pixel_y = -32 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "cBD" = ( /obj/structure/table/reinforced, @@ -17927,6 +18087,10 @@ }, /turf/simulated/floor/plasteel, /area/quartermaster/sorting) +"cEl" = ( +/obj/structure/closet/walllocker/emerglocker/south, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "cEr" = ( /obj/structure/cable, /obj/effect/decal/warning_stripes/southeast, @@ -18003,7 +18167,6 @@ }, /area/maintenance/medroom) "cER" = ( -/obj/structure/disposalpipe/segment, /obj/structure/extinguisher_cabinet{ pixel_x = 25 }, @@ -18092,6 +18255,15 @@ /obj/effect/spawner/random_spawners/rodent, /turf/simulated/floor/wood, /area/maintenance/casino) +"cFn" = ( +/obj/effect/decal/warning_stripes/yellow/hollow, +/obj/structure/cable, +/obj/machinery/light, +/obj/machinery/power/emitter{ + dir = 1 + }, +/turf/simulated/floor/glass/reinforced/plasma, +/area/engine/controlroom) "cFs" = ( /obj/effect/decal/warning_stripes/southwest, /turf/simulated/floor/plating/airless, @@ -18339,6 +18511,7 @@ /obj/structure/bookcase{ name = "bookcase (Non-Fiction)" }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "cGX" = ( @@ -18469,6 +18642,11 @@ /obj/structure/extinguisher_cabinet{ pixel_x = -28 }, +/obj/machinery/crema_switch{ + id = "creamed2"; + pixel_x = -24; + pixel_y = 24 + }, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -18518,14 +18696,17 @@ /turf/simulated/floor/plasteel, /area/storage/primary) "cIl" = ( -/obj/structure/sign/poster/official/random{ - pixel_y = 32 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/vending/wallmed{ + name = "North Emergency NanoMed"; + pixel_y = 30 }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutralcorner" + dir = 1 }, -/area/crew_quarters/locker) +/area/hallway/secondary/exit) "cIw" = ( /obj/effect/spawner/window/reinforced, /obj/structure/cable{ @@ -18550,6 +18731,10 @@ "cIE" = ( /obj/structure/closet/crate/medical, /obj/item/tank/internals/anesthetic, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whiteblue"; @@ -18731,12 +18916,12 @@ /turf/simulated/floor/wood, /area/library) "cKy" = ( -/obj/structure/plasticflaps/mining, /obj/effect/spawner/lootdrop/maintenance/double, /obj/machinery/conveyor{ id = "QMLoad2"; dir = 1 }, +/obj/structure/plasticflaps/mining, /turf/simulated/floor/plating, /area/quartermaster/delivery) "cKD" = ( @@ -18917,13 +19102,14 @@ }, /area/hallway/secondary/entry) "cMg" = ( -/obj/effect/turf_decal/siding/wood{ - dir = 9 - }, /obj/structure/chair/office, /obj/machinery/light{ dir = 8 }, +/obj/effect/turf_decal/siding/wood{ + dir = 8; + do_not_delete_me = 1 + }, /turf/simulated/floor/wood/oak, /area/crew_quarters/courtroom) "cMj" = ( @@ -18944,6 +19130,9 @@ /area/maintenance/disposal) "cMt" = ( /obj/effect/decal/warning_stripes/east, +/obj/structure/cable{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ dir = 8 }, @@ -19139,9 +19328,7 @@ pixel_y = -32 }, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "cNB" = ( /obj/structure/cable{ @@ -19468,7 +19655,6 @@ /area/medical/medrest) "cPP" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 4 }, /turf/simulated/floor/engine, @@ -19519,16 +19705,13 @@ }, /area/engine/hardsuitstorage) "cQj" = ( -/obj/item/twohanded/required/kirbyplants, -/obj/structure/sign/poster/official/random{ - pixel_y = 32 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 }, -/obj/machinery/light{ - dir = 1; - in_use = 1 +/turf/simulated/floor/plasteel{ + dir = 1 }, -/turf/simulated/floor/wood, -/area/security/detectives_office) +/area/security/processing) "cQp" = ( /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -19649,6 +19832,9 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 }, +/obj/structure/disposalpipe/segment{ + dir = 10 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -19710,7 +19896,6 @@ /area/maintenance/starboard) "cRj" = ( /obj/machinery/vending/cigarette, -/obj/structure/window/reinforced, /obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 10; @@ -19720,11 +19905,7 @@ "cRk" = ( /obj/structure/bed/dogbed, /mob/living/simple_animal/pet/dog/security/detective, -/obj/machinery/camera{ - c_tag = "Detective's Office"; - dir = 1; - network = list("SS13","Security") - }, +/obj/machinery/light, /turf/simulated/floor/wood, /area/security/detectives_office) "cRo" = ( @@ -19786,19 +19967,12 @@ /turf/simulated/floor/wood, /area/maintenance/casino) "cRC" = ( -/obj/structure/rack{ - dir = 8; - layer = 2.9 - }, -/obj/item/restraints/handcuffs, -/obj/item/restraints/handcuffs{ - pixel_y = -4 - }, +/obj/structure/table, /turf/simulated/floor/plasteel{ - dir = 5; + dir = 1; icon_state = "red" }, -/area/security/holding_cell) +/area/security/processing) "cRI" = ( /turf/simulated/wall, /area/maintenance/detectives_office) @@ -20193,20 +20367,20 @@ "cUZ" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/lootdrop/maintenance, +/obj/machinery/light/small{ + dir = 1 + }, /turf/simulated/floor/plating, /area/maintenance/asmaint) "cVh" = ( -/obj/structure/table, -/obj/item/storage/fancy/donut_box, -/obj/machinery/firealarm{ - layer = 3.25; - pixel_y = -26 +/obj/machinery/light, +/obj/structure/chair{ + dir = 8 }, /turf/simulated/floor/plasteel{ - dir = 6; icon_state = "red" }, -/area/security/holding_cell) +/area/security/processing) "cVk" = ( /obj/structure/railing{ dir = 4 @@ -20234,7 +20408,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -20364,8 +20537,13 @@ }, /area/security/securehallway) "cWq" = ( -/turf/simulated/wall/shuttle/nosmooth, -/area/shuttle/arrival/station) +/obj/structure/sign/poster/official/work_for_a_future{ + pixel_y = -32 + }, +/turf/simulated/floor/plasteel{ + icon_state = "brown" + }, +/area/quartermaster/lobby) "cWs" = ( /obj/effect/decal/cleanable/dust, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -20415,12 +20593,17 @@ icon_state = "1-2" }, /obj/machinery/door/airlock/maintenance{ - req_access = list(12) + req_access = list(12); + locked = 1; + welded = 1 + }, +/obj/structure/barricade/wooden{ + layer = 3.5 }, /turf/simulated/floor/plasteel{ dir = 1 }, -/area/hallway/secondary/exit) +/area/maintenance/apmaint) "cWO" = ( /obj/structure/cable{ icon_state = "1-2" @@ -20595,6 +20778,9 @@ /obj/structure/cable{ icon_state = "1-4" }, +/obj/structure/disposalpipe/segment{ + dir = 5 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -20633,12 +20819,26 @@ /turf/simulated/floor/wood, /area/crew_quarters/arcade) "cYk" = ( -/obj/machinery/photocopier{ - pixel_y = 5 - }, /obj/structure/cable{ icon_state = "1-2" }, +/obj/structure/table/reinforced, +/obj/item/stock_parts/matter_bin{ + pixel_x = 3; + pixel_y = 3 + }, +/obj/item/stock_parts/matter_bin, +/obj/item/stock_parts/micro_laser, +/obj/item/stock_parts/manipulator, +/obj/item/stock_parts/manipulator, +/obj/item/stock_parts/scanning_module, +/obj/item/stock_parts/capacitor, +/obj/item/stack/cable_coil{ + amount = 3 + }, +/obj/item/stack/cable_coil{ + amount = 3 + }, /turf/simulated/floor/plasteel{ icon_state = "whitepurple"; tag = "icon-whitepurple (WEST)" @@ -20754,6 +20954,20 @@ dir = 8 }, /area/hallway/primary/central/second/south) +"cYZ" = ( +/obj/structure/sign/directions/cargo{ + dir = 4 + }, +/obj/structure/sign/directions/engineering{ + pixel_y = -8; + dir = 1 + }, +/obj/structure/sign/directions/medical{ + dir = 1; + pixel_y = 8 + }, +/turf/simulated/wall, +/area/crew_quarters/serviceyard) "cZe" = ( /obj/effect/landmark/start/captain, /obj/structure/chair/comfy/blue{ @@ -21156,7 +21370,7 @@ /turf/simulated/floor/plating, /area/maintenance/gambling_den) "ddC" = ( -/obj/effect/landmark/start/civilian, +/obj/structure/chair/stool, /turf/simulated/floor/plasteel{ dir = 8 }, @@ -21287,7 +21501,10 @@ /obj/structure/cable{ icon_state = "2-4" }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "dfe" = ( /turf/simulated/floor/plasteel{ @@ -21323,7 +21540,6 @@ /area/bridge) "dfy" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/engine, @@ -21436,7 +21652,7 @@ "dgD" = ( /obj/machinery/door/airlock/maintenance{ req_access = list(12,39); - name = "Vorology maintenance" + name = "Virology maintenance" }, /obj/structure/cable{ icon_state = "1-2"; @@ -21445,6 +21661,27 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/maintenance/asmaint4) +"dgH" = ( +/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ + id_tag = "solar_chapel_airlock"; + layer = 3.3; + pixel_y = 25; + req_access = list(13); + tag_airpump = "solar_chapel_pump"; + tag_chamber_sensor = "solar_chapel_sensor"; + tag_exterior_door = "solar_chapel_outer"; + tag_interior_door = "solar_chapel_inner" + }, +/obj/machinery/airlock_sensor{ + id_tag = "solar_chapel_sensor"; + layer = 3.3; + pixel_y = 32 + }, +/obj/machinery/light/small{ + dir = 1 + }, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "dgN" = ( /obj/effect/turf_decal/siding/wood{ dir = 4 @@ -21458,9 +21695,7 @@ /obj/structure/cable{ icon_state = "1-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "dgO" = ( /obj/structure/cable{ @@ -21487,6 +21722,7 @@ dir = 4; pixel_x = -22 }, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whiteblue"; @@ -21544,7 +21780,7 @@ "dhf" = ( /obj/structure/table/glass, /obj/item/reagent_containers/food/drinks/cans/beer, -/obj/structure/sign/poster/official/random{ +/obj/structure/sign/poster/secret/lizard{ pixel_x = 32 }, /turf/simulated/floor/light{ @@ -21595,7 +21831,7 @@ dir = 4; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "dhu" = ( /obj/structure/railing/corner{ dir = 1 @@ -21636,7 +21872,7 @@ /area/medical/morgue) "dhH" = ( /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite"; + control_area = "AI Satellite"; name = "AI Antechamber Turret Control"; req_access = list(75); pixel_y = -32 @@ -21897,6 +22133,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal/siding/wood{ + dir = 4 + }, /turf/simulated/floor/wood/fancy/light, /area/crew_quarters/heads/hop) "djR" = ( @@ -21931,7 +22170,7 @@ charge = 2e+006 }, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "djY" = ( /obj/item/radio/intercom{ pixel_x = 28 @@ -21997,14 +22236,11 @@ /turf/simulated/floor/plating, /area/maintenance/apmaint) "dkw" = ( -/obj/machinery/alarm{ - dir = 1; - pixel_y = -25 - }, -/turf/simulated/floor/plasteel{ - icon_state = "red" - }, -/area/security/lobby) +/obj/effect/decal/cleanable/dirt, +/obj/structure/rack, +/obj/effect/spawner/lootdrop/maintenance/double, +/turf/simulated/floor/plating, +/area/maintenance/brig) "dkD" = ( /obj/structure/window/reinforced, /mob/living/carbon/human/lesser/monkey, @@ -22140,13 +22376,6 @@ dir = 1; id_tag = "SecMedPrivOutside" }, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plating, /area/security/medbay) "dmj" = ( @@ -22718,15 +22947,13 @@ }, /area/medical/research) "dpY" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/light{ dir = 8 }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "dqk" = ( /obj/effect/decal/cleanable/dirt, @@ -23132,7 +23359,7 @@ }, /area/quartermaster/delivery) "dsO" = ( -/obj/structure/filingcabinet, +/obj/machinery/libraryscanner, /turf/simulated/floor/wood, /area/library) "dsQ" = ( @@ -23172,9 +23399,7 @@ c_tag = "Bar"; dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "dte" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -23327,8 +23552,7 @@ "duu" = ( /obj/structure/chair/comfy/black, /obj/structure/window/reinforced{ - dir = 1; - layer = 2.9 + dir = 1 }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) @@ -23425,18 +23649,24 @@ "dvd" = ( /obj/machinery/atmospherics/pipe/simple/visible, /obj/effect/landmark/start/doctor, +/obj/structure/cable{ + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ dir = 8 }, /area/medical/cryo) "dvf" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ +/obj/machinery/light{ dir = 1 }, -/area/quartermaster/office) +/obj/machinery/vending/wallmed{ + layer = 3.3; + name = "Emergency NanoMed"; + pixel_y = 30 + }, +/turf/simulated/floor/engine, +/area/hallway/primary/central) "dvi" = ( /obj/structure/cable{ d1 = 4; @@ -23511,6 +23741,13 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, +/obj/machinery/requests_console{ + department = "Warden"; + departmentType = 7; + name = "Warden's Requests Console"; + pixel_x = -32; + pixel_y = 28 + }, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "red" @@ -23526,7 +23763,6 @@ layer = 2.9 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -24039,6 +24275,9 @@ /area/maintenance/starboardsolar) "dzQ" = ( /obj/structure/closet/crate/can, +/obj/item/wirecutters, +/obj/item/stack/sheet/cloth, +/obj/item/trash/raisins, /turf/simulated/floor/plating, /area/security/permabrig) "dAb" = ( @@ -24074,6 +24313,13 @@ dir = 8 }, /obj/effect/decal/warning_stripes/yellow/hollow, +/obj/machinery/door/poddoor{ + density = 0; + icon_state = "open"; + id_tag = "Eng_lockdown"; + name = "Engineering Lockdown"; + opacity = 0 + }, /turf/simulated/floor/plasteel, /area/atmos/control) "dAn" = ( @@ -24137,7 +24383,10 @@ pixel_x = -24 }, /obj/structure/cable, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "dAF" = ( /turf/simulated/floor/plasteel{ @@ -24506,6 +24755,11 @@ /area/crew_quarters/heads) "dDz" = ( /obj/effect/decal/warning_stripes/west, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 0; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -24521,19 +24775,16 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint2) "dDG" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 +/obj/machinery/light{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ +/obj/structure/chair/office{ dir = 8 }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/structure/cable{ - icon_state = "2-4" +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "dDK" = ( /obj/machinery/door/airlock/research{ @@ -24650,9 +24901,12 @@ /obj/structure/cable{ icon_state = "2-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "dEJ" = ( /obj/structure/safe/floor, @@ -24935,6 +25189,7 @@ /obj/item/clothing/glasses/meson, /obj/item/multitool, /obj/item/clothing/gloves/color/fyellow, +/obj/item/clothing/gloves/color/fyellow, /turf/simulated/floor/plasteel{ icon_state = "caution" }, @@ -24973,8 +25228,9 @@ /turf/simulated/floor/engine/co2, /area/atmos) "dHS" = ( +/obj/effect/landmark/start/bartender, /obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 + dir = 1 }, /turf/simulated/floor/plasteel/grimy, /area/crew_quarters/bar) @@ -24985,23 +25241,11 @@ }, /area/maintenance/trading) "dIa" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/firealarm{ - dir = 1; - name = "south fire alarm"; - pixel_y = 26 +/obj/item/twohanded/required/kirbyplants, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "dIb" = ( /obj/machinery/firealarm{ @@ -25018,12 +25262,6 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -25179,6 +25417,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "red" @@ -25588,7 +25829,7 @@ /turf/simulated/wall, /area/crew_quarters/chief) "dMJ" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal{ +/obj/machinery/atmospherics/pipe/simple/hidden/universal{ dir = 4 }, /turf/simulated/floor/plasteel/dark, @@ -25631,14 +25872,6 @@ icon_state = "neutralfull" }, /area/hallway/primary/starboard/east) -"dNb" = ( -/obj/machinery/vending/security, -/obj/effect/decal/warning_stripes/red/hollow, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "redcorner" - }, -/area/security/seceqstorage) "dNd" = ( /obj/machinery/door/airlock/security/glass{ id = "Interrogation"; @@ -25896,22 +26129,18 @@ }, /area/security/range) "dOF" = ( -/obj/structure/closet/secure_closet/security, -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 9 +/obj/structure/sign/directions/evac{ + pixel_y = -8 }, -/obj/item/clothing/mask/balaclava, -/obj/structure/extinguisher_cabinet{ - pixel_x = -26 +/obj/structure/sign/directions/security{ + pixel_y = 8; + dir = 1 }, -/obj/item/flashlight/seclite, -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/structure/sign/directions/medical{ + dir = 1 }, -/area/security/seceqstorage) +/turf/simulated/wall, +/area/hallway/primary/fore) "dOH" = ( /turf/simulated/floor/plasteel{ dir = 4; @@ -26017,9 +26246,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "dPE" = ( /obj/structure/table, @@ -26212,13 +26439,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "dark" @@ -26251,9 +26471,7 @@ dir = 1 }, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "dRi" = ( /obj/structure/urinal{ @@ -26261,7 +26479,7 @@ }, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/machinery/firealarm{ - dir = 1; + dir = 4; pixel_x = 28 }, /turf/simulated/floor/plasteel, @@ -26444,23 +26662,13 @@ /turf/simulated/floor/wood, /area/library) "dSs" = ( -/obj/structure/table/wood, -/obj/item/flashlight/lamp/green{ - on = 0; - pixel_x = -6 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 4 - }, -/obj/item/folder/red{ - pixel_x = 4 +/obj/machinery/vending/wallmed{ + pixel_y = -30 }, -/obj/item/folder/red{ - pixel_x = 6; - pixel_y = 2 +/turf/simulated/floor/plasteel{ + dir = 1 }, -/turf/simulated/floor/carpet/green, -/area/security/detectives_office) +/area/security/lobby) "dSt" = ( /obj/machinery/atmospherics/unary/cold_sink/freezer{ dir = 1 @@ -26593,7 +26801,6 @@ id_tag = "specops_home"; locked = 1 }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/additional) "dTp" = ( @@ -26792,8 +26999,6 @@ /obj/item/stack/sheet/glass{ amount = 50 }, -/obj/item/storage/toolbox/mechanical, -/obj/item/stack/cable_coil/random, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "whitepurple" @@ -26859,21 +27064,11 @@ /turf/simulated/floor/plating, /area/maintenance/livingcomplex) "dWi" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 5 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 1 }, /area/security/seceqstorage) "dWj" = ( @@ -26896,7 +27091,6 @@ /obj/structure/table/wood, /obj/item/reagent_containers/food/drinks/bottle/whiskey, /obj/item/reagent_containers/food/drinks/flask/detflask, -/obj/machinery/light, /turf/simulated/floor/wood, /area/security/detectives_office) "dWp" = ( @@ -26958,7 +27152,6 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 1 }, -/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -26967,24 +27160,6 @@ /obj/structure/closet/secure_closet/cabinet/bar, /turf/simulated/floor/plasteel/grimy, /area/crew_quarters/bar) -"dXl" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - dir = 1 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 6 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 9 - }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, -/turf/simulated/floor/plasteel{ - icon_state = "dark" - }, -/area/security/seceqstorage) "dXt" = ( /turf/simulated/wall/r_wall, /area/turret_protected/ai_upload) @@ -27012,16 +27187,12 @@ }, /area/medical/virology/lab) "dXy" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 8 - }, +/obj/machinery/vending/clothing/departament/security, /obj/effect/decal/warning_stripes/red/hollow, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + icon_state = "dark" }, -/area/security/main) +/area/security/seceqstorage) "dXO" = ( /obj/effect/landmark/start/bartender, /turf/simulated/floor/plasteel/grimy, @@ -27168,15 +27339,14 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint) "dYV" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/firealarm{ + dir = 1; + name = "south fire alarm"; + pixel_y = -24 }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "neutral" + dir = 4; + icon_state = "darkbluecornersalt" }, /area/crew_quarters/fitness) "dZb" = ( @@ -27312,7 +27482,7 @@ dir = 6; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "dZL" = ( /obj/structure/window/reinforced{ dir = 4 @@ -27630,6 +27800,15 @@ }, /turf/simulated/floor/plasteel, /area/quartermaster/sorting) +"ebK" = ( +/obj/machinery/atm{ + pixel_x = -32 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluealt" + }, +/area/hallway/primary/command/west) "ebS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ @@ -27724,14 +27903,14 @@ }, /area/medical/research/nhallway) "ecG" = ( -/obj/machinery/firealarm{ - dir = 8; - pixel_x = -25 - }, /obj/machinery/camera{ c_tag = "Mining Shuttle West"; dir = 4 }, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "purple" @@ -27741,9 +27920,7 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "ecQ" = ( /obj/structure/disposalpipe/segment, @@ -27814,15 +27991,13 @@ /turf/simulated/floor/carpet/red, /area/civilian/vacantoffice) "edn" = ( -/obj/structure/closet/walllocker/emerglocker{ - pixel_x = -32 - }, /obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/effect/decal/cleanable/dirt, +/obj/structure/closet/walllocker/emerglocker/west, /turf/simulated/floor/plating, /area/maintenance/tourist) "edt" = ( @@ -27890,17 +28065,12 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint) "edQ" = ( -/obj/structure/table/glass, -/obj/item/paper_bin{ - pixel_x = -2; - pixel_y = 7 - }, -/obj/item/pen, /obj/item/radio/intercom{ name = "east station intercom (General)"; pixel_x = 32; pixel_y = -2 }, +/obj/machinery/libraryscanner, /turf/simulated/floor/plasteel{ icon_state = "barber" }, @@ -28003,6 +28173,19 @@ }, /turf/space/openspace, /area/solar/starboard) +"eer" = ( +/obj/machinery/access_button{ + command = "cycle_exterior"; + frequency = 1379; + layer = 3.3; + master_tag = "n_tool_airlock"; + name = "exterior access button"; + pixel_x = 25; + pixel_y = -25; + req_access = list(13) + }, +/turf/simulated/floor/engine/hull/reinforced, +/area/space) "eev" = ( /obj/machinery/photocopier, /obj/machinery/light, @@ -28104,6 +28287,7 @@ /obj/machinery/light/small{ dir = 1 }, +/obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/maintenance/fore) "efA" = ( @@ -28254,7 +28438,7 @@ /turf/simulated/floor/plasteel, /area/engine/mechanic_workshop) "egz" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal, +/obj/machinery/atmospherics/pipe/simple/hidden/universal, /turf/simulated/floor/plasteel, /area/quartermaster/miningstorage) "egA" = ( @@ -28337,23 +28521,16 @@ /turf/simulated/floor/plasteel, /area/gateway) "egQ" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - layer = 2.9 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 1; - do_not_delete_me = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 1 +/obj/structure/cable{ + icon_state = "1-2" }, -/obj/item/clothing/mask/balaclava, -/obj/structure/disposalpipe/segment, -/obj/item/flashlight/seclite, +/obj/machinery/hologram/holopad, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 1 }, /area/security/seceqstorage) "eha" = ( @@ -28451,8 +28628,7 @@ layer = 4; pixel_x = -32 }, -/obj/effect/decal/warning_stripes/red, -/obj/machinery/light/small, +/obj/effect/decal/warning_stripes/red/hollow, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "dark" @@ -28894,12 +29070,6 @@ /obj/structure/flora/ausbushes/sparsegrass, /turf/simulated/floor/grass, /area/maintenance/fore) -"ekR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/wall, -/area/crew_quarters/fitness) "ekS" = ( /obj/structure/cable{ icon_state = "4-8" @@ -29142,6 +29312,10 @@ /obj/machinery/light{ dir = 4 }, +/obj/machinery/status_display{ + layer = 4; + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ icon_state = "cafeteria" }, @@ -29192,7 +29366,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced, @@ -29421,10 +29594,10 @@ /turf/simulated/floor/grass, /area/hydroponics) "eoz" = ( -/obj/structure/sign/poster/contraband/random{ +/obj/machinery/light, +/obj/structure/sign/poster/official/random{ pixel_y = -32 }, -/obj/machinery/light, /turf/simulated/floor/wood, /area/civilian/vacantoffice) "eoC" = ( @@ -29576,6 +29749,9 @@ /area/hallway/primary/central/second/north) "epG" = ( /obj/structure/statue/chickenstatue, +/obj/structure/sign/poster/official/mr_cheng{ + pixel_y = -32 + }, /turf/simulated/floor/wood, /area/crew_quarters/mrchangs) "epL" = ( @@ -29687,9 +29863,10 @@ name = "Bar" }, /obj/machinery/door/firedoor, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" +/obj/effect/turf_decal/siding/wood{ + dir = 1 }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "eri" = ( /obj/machinery/atmospherics/unary/cold_sink/freezer, @@ -29748,7 +29925,6 @@ "erC" = ( /obj/structure/showcase, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -29833,6 +30009,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "brown" }, @@ -29866,8 +30043,8 @@ color = "red"; dir = 1 }, -/obj/structure/closet, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "darkred" @@ -29975,6 +30152,10 @@ /obj/structure/disposalpipe/segment{ dir = 10 }, +/obj/effect/turf_decal{ + dir = 10; + icon_state = "golden_stripes_corner" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -30097,15 +30278,11 @@ }, /area/medical/reception) "eut" = ( -/obj/structure/cable{ - icon_state = "0-4" - }, -/obj/machinery/power/apc{ - dir = 8; - name = "west bump"; - pixel_x = -26 - }, /obj/machinery/computer/card, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_y = 0; + pixel_x = -32 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "bluefull" @@ -30221,11 +30398,14 @@ }, /area/medical/medrest) "evm" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 4 +/obj/machinery/light_switch{ + pixel_y = 0; + pixel_x = -24 + }, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "darkred" }, -/turf/simulated/floor/wood, /area/security/detectives_office) "evr" = ( /turf/simulated/wall/r_wall, @@ -30245,11 +30425,11 @@ /turf/simulated/floor/wood, /area/library/game_zone) "evB" = ( -/obj/item/twohanded/required/kirbyplants, /obj/machinery/camera{ c_tag = "Library South"; dir = 1 }, +/obj/machinery/libraryscanner, /turf/simulated/floor/wood, /area/library) "evL" = ( @@ -30582,6 +30762,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/effect/turf_decal{ + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -30613,12 +30796,12 @@ /turf/simulated/floor/plasteel, /area/engine/mechanic_workshop/expedition) "exT" = ( -/obj/structure/chair/stool, /obj/machinery/power/apc{ name = "south bump"; pixel_y = -26 }, /obj/structure/cable, +/obj/structure/closet/secure_closet/personal, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -30647,13 +30830,12 @@ /area/toxins/launch) "eyc" = ( /obj/structure/chair/comfy/black, -/obj/structure/window/reinforced{ - dir = 1; - layer = 2.9 - }, /obj/item/radio/intercom{ pixel_y = 24 }, +/obj/structure/window/reinforced{ + dir = 1 + }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) "eyd" = ( @@ -30825,10 +31007,10 @@ icon_state = "1-2" }, /obj/machinery/door/airlock/maintenance{ - req_access = list(12,47) + req_access = list(47) }, /turf/simulated/floor/plating, -/area/toxins/launch) +/area/maintenance/starboard) "ezr" = ( /obj/effect/decal/warning_stripes/south, /obj/item/radio/intercom{ @@ -30856,7 +31038,7 @@ dir = 4; pixel_x = 25 }, -/obj/machinery/photocopier, +/obj/structure/filingcabinet/chestdrawer/autopsy, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "dark"; @@ -31013,7 +31195,6 @@ /area/maintenance/asmaint4) "eAo" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/closet/secure_closet/medical1, @@ -31079,7 +31260,6 @@ }, /obj/item/robotanalyzer, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/plasteel{ @@ -31122,7 +31302,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -31142,9 +31321,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "eAX" = ( /obj/structure/railing{ @@ -31332,6 +31509,9 @@ "eCz" = ( /obj/machinery/disposal, /obj/effect/decal/warning_stripes/yellow, +/obj/structure/disposalpipe/trunk{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "neutral" @@ -31353,9 +31533,7 @@ /obj/machinery/door/airlock/public/glass{ name = "Bar" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "eCK" = ( /obj/effect/decal/cleanable/dirt, @@ -31370,7 +31548,7 @@ /area/security/permabrig) "eCO" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 + dir = 4 }, /turf/simulated/floor/carpet/royalblack, /area/crew_quarters/courtroom) @@ -31461,9 +31639,6 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, -/obj/machinery/light{ - dir = 8 - }, /obj/item/radio/intercom{ pixel_x = -26; pixel_y = -4 @@ -31701,13 +31876,17 @@ /turf/simulated/floor/plasteel, /area/medical/research/nhallway) "eGe" = ( -/obj/machinery/light/small{ - dir = 1 +/obj/structure/sign/poster/contraband/random{ + pixel_x = -32 }, -/turf/simulated/floor/plasteel{ - icon_state = "floorgrime" +/obj/item/chair{ + dir = 4 }, -/area/maintenance/asmaint) +/obj/machinery/light/small{ + dir = 8 + }, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "eGh" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ @@ -31850,6 +32029,15 @@ icon_state = "neutralfull" }, /area/atmos) +"eHk" = ( +/obj/structure/window/reinforced{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "darkred" + }, +/area/security/detectives_office) "eHs" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -32008,10 +32196,10 @@ }, /area/atmos) "eIl" = ( -/obj/item/twohanded/required/kirbyplants, /obj/structure/sign/poster/official/random{ pixel_y = 32 }, +/obj/machinery/photocopier, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutral" @@ -32080,9 +32268,11 @@ /area/chapel/main) "eIR" = ( /obj/structure/railing/corner, -/obj/effect/turf_decal/siding/wood/corner, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "eIS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -32113,6 +32303,16 @@ }, /turf/simulated/floor/carpet/red, /area/security/warden) +"eJc" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "whitepurple"; + tag = "icon-whitepurple (NORTH)" + }, +/area/toxins/launch) "eJf" = ( /obj/machinery/light{ dir = 1; @@ -32160,9 +32360,7 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "eJB" = ( /obj/effect/decal/cleanable/dust, @@ -32351,8 +32549,12 @@ /turf/simulated/wall, /area/medical/psych) "eLr" = ( -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/delivery, +/obj/machinery/door/firedoor/border_only{ + dir = 8 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "darkred" @@ -32449,14 +32651,11 @@ /obj/structure/cable{ icon_state = "2-4" }, -/obj/machinery/light/small{ - dir = 8 - }, /turf/simulated/floor/plating, /area/maintenance/brig) "eLO" = ( -/obj/machinery/door/airlock/maintenance, -/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/lootdrop/maintenance, +/obj/structure/closet, /turf/simulated/floor/plating, /area/maintenance/fore) "eLP" = ( @@ -32531,6 +32730,9 @@ pixel_x = 26 }, /obj/item/storage/fancy/donut_box, +/obj/machinery/light{ + dir = 4 + }, /turf/simulated/floor/wood, /area/security/detectives_office) "eMb" = ( @@ -32539,7 +32741,6 @@ dir = 1; name = "Труба дыхательной смеси" }, -/obj/item/clothing/mask/gas, /obj/effect/decal/cleanable/dirt, /obj/machinery/power/apc{ dir = 4; @@ -32564,27 +32765,10 @@ icon_state = "podfloor" }, /area/maintenance/apmaint) -"eMg" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" - }, -/area/security/seceqstorage) "eMi" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/obj/item/radio/intercom{ - pixel_y = 24 - }, -/obj/structure/cable{ - icon_state = "2-8" - }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ + dir = 5; icon_state = "red" }, /area/security/seceqstorage) @@ -32879,9 +33063,6 @@ dir = 10 }, /obj/item/twohanded/required/kirbyplants, -/obj/machinery/newscaster/security_unit{ - pixel_y = -30 - }, /turf/simulated/floor/carpet/red, /area/security/hos) "eOO" = ( @@ -32999,6 +33180,7 @@ name = "Operating Theatre"; req_access = list(45) }, +/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ icon_state = "whitebluefull" }, @@ -33272,12 +33454,6 @@ name = "Quarantine Lockdown"; opacity = 0 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, /obj/effect/decal/warning_stripes/yellow, /obj/effect/decal/warning_stripes/east, /obj/effect/decal/warning_stripes/west, @@ -33502,7 +33678,6 @@ pixel_y = 2 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/table/reinforced, @@ -33803,7 +33978,11 @@ /obj/structure/cable{ icon_state = "4-8" }, -/turf/simulated/floor/wood, +/obj/item/storage/firstaid/regular, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/sleep/secondary) "eXu" = ( /obj/structure/cable{ @@ -33864,7 +34043,6 @@ }, /area/medical/cryo) "eXQ" = ( -/obj/structure/chair/stool, /obj/structure/cable{ icon_state = "1-2" }, @@ -33984,10 +34162,7 @@ pixel_x = 5; pixel_y = 5 }, -/obj/item/eftpos, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "eYy" = ( /obj/structure/cable{ @@ -34222,9 +34397,7 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "eZZ" = ( /obj/structure/cable{ @@ -34524,14 +34697,18 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/structure/cable{ icon_state = "1-4" }, /obj/structure/disposalpipe/segment{ dir = 5 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 5 + }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -34659,12 +34836,11 @@ /turf/simulated/floor/plasteel, /area/assembly/chargebay) "fda" = ( -/obj/machinery/newscaster{ - pixel_x = 30 - }, -/obj/machinery/light{ - dir = 4 +/obj/structure/sink{ + dir = 4; + pixel_x = 12 }, +/obj/item/reagent_containers/glass/bucket, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -34688,14 +34864,11 @@ /obj/structure/cable{ icon_state = "1-8" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/obj/structure/cable{ - icon_state = "2-8" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 }, /turf/simulated/floor/plasteel{ dir = 1 @@ -34758,9 +34931,7 @@ /obj/structure/closet/gmcloset{ name = "formal wardrobe" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "fdS" = ( /obj/effect/decal/cleanable/dirt, @@ -34926,9 +35097,6 @@ /obj/structure/table/wood/fancy/red, /turf/simulated/floor/carpet/red, /area/crew_quarters/theatre) -"ffg" = ( -/turf/simulated/wall/r_wall, -/area/engine/engine_smes) "ffh" = ( /obj/effect/decal/warning_stripes/north, /obj/structure/cable{ @@ -34989,6 +35157,10 @@ /area/hallway/primary/fore) "ffT" = ( /obj/machinery/light, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = -30 + }, /turf/simulated/floor/plasteel{ icon_state = "purple" }, @@ -35258,14 +35430,6 @@ icon_state = "darkgreenfull" }, /area/hydroponics) -"fhr" = ( -/obj/machinery/light{ - dir = 4 - }, -/turf/simulated/floor/engine{ - name = "Holodeck Projector Floor" - }, -/area/holodeck/alphadeck) "fht" = ( /obj/item/radio/intercom{ name = "west station intercom (General)"; @@ -35317,7 +35481,6 @@ /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/eastarrival) "fhL" = ( -/obj/machinery/light, /obj/machinery/camera{ c_tag = "Central Ring Hallway South 2"; dir = 1 @@ -35401,10 +35564,11 @@ "fik" = ( /obj/structure/cable/yellow, /obj/machinery/power/smes{ - charge = 2e+006 + charge = 2e+006; + name = "Shield power storage unit" }, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "fio" = ( /obj/machinery/door/firedoor, /obj/effect/turf_decal/arrows/white, @@ -35524,6 +35688,10 @@ /obj/machinery/light{ dir = 4 }, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -35979,10 +36147,6 @@ /area/hallway/primary/central/north) "fmP" = ( /obj/structure/filingcabinet, -/obj/item/radio/intercom{ - dir = 1; - pixel_y = 28 - }, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "blue" @@ -36029,6 +36193,7 @@ name = "Cargo Lockdown"; opacity = 0 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel, /area/quartermaster/office) "fnb" = ( @@ -36329,6 +36494,7 @@ /obj/machinery/holosign/surgery{ id = "surgery2" }, +/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ icon_state = "whitebluefull" }, @@ -36366,17 +36532,20 @@ /area/security/medbay) "fpz" = ( /obj/structure/table/wood, -/obj/item/paper_bin{ - pixel_x = -3; - pixel_y = 7 - }, -/obj/item/pen/multi{ - pixel_x = -7; - pixel_y = 5 - }, /obj/effect/turf_decal/siding/wood{ dir = 4 }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/item/folder/red{ + pixel_x = 4 + }, +/obj/item/folder/red{ + pixel_x = 6; + pixel_y = 2 + }, +/obj/effect/spawner/lootdrop/officetoys, /turf/simulated/floor/carpet/green, /area/security/detectives_office) "fpC" = ( @@ -36599,14 +36768,12 @@ /turf/simulated/floor/redgrid, /area/turret_protected/aisat_interior) "frq" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/obj/machinery/power/apc{ + dir = 1; + pixel_y = 26 }, -/obj/machinery/camera{ - c_tag = "Medbay Patient Room"; - network = list("SS13","Medical") +/obj/structure/cable{ + icon_state = "0-8" }, /turf/simulated/floor/plasteel{ dir = 1; @@ -37032,6 +37199,10 @@ dir = 5 }, /obj/item/toy/figure/dsquad, +/obj/effect/turf_decal{ + dir = 10; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -37649,15 +37820,15 @@ }, /area/medical/research/restroom) "fyZ" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(63) - }, /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/door/airlock/maintenance{ + req_access = list(12) + }, /turf/simulated/floor/plating, /area/maintenance/brig) "fzb" = ( @@ -37890,6 +38061,7 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 4 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -38053,11 +38225,13 @@ /turf/simulated/floor/shuttle, /area/shuttle/arrival/station) "fCq" = ( -/obj/machinery/light, -/turf/simulated/floor/plasteel{ - icon_state = "red" +/obj/structure/chair/office, +/obj/effect/turf_decal/siding/wood{ + dir = 4; + do_not_delete_me = 1 }, -/area/security/lobby) +/turf/simulated/floor/wood/oak, +/area/crew_quarters/courtroom) "fCw" = ( /obj/machinery/computer/station_alert, /obj/machinery/alarm{ @@ -38094,7 +38268,6 @@ /obj/machinery/light{ dir = 8 }, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "red" @@ -38226,7 +38399,7 @@ /obj/machinery/atmospherics/unary/portables_connector, /obj/machinery/portable_atmospherics/scrubber, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "fDG" = ( /turf/simulated/floor/plasteel{ icon_state = "white" @@ -38321,9 +38494,7 @@ /turf/simulated/floor/plating, /area/engine/engineering/monitor) "fEn" = ( -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "fEt" = ( /obj/structure/chair{ @@ -38420,9 +38591,7 @@ icon_state = "1-2" }, /obj/machinery/door/firedoor, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "fEG" = ( /obj/effect/decal/cleanable/dirt, @@ -38943,9 +39112,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "fJi" = ( /obj/structure/cable{ @@ -38967,9 +39134,6 @@ }, /area/hallway/secondary/exit) "fJm" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 }, @@ -38977,9 +39141,15 @@ dir = 4 }, /obj/structure/cable{ - icon_state = "2-8" + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, /area/crew_quarters/sleep/secondary) "fJo" = ( /obj/effect/spawner/window/reinforced, @@ -39004,10 +39174,6 @@ /obj/machinery/light{ dir = 8 }, -/obj/structure/disposalpipe/junction{ - dir = 4; - tag = "icon-pipe-j1 (EAST)" - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -39017,6 +39183,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/disposalpipe/junction/reversed{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -39087,6 +39256,10 @@ }, /turf/simulated/floor/plating, /area/maintenance/fpmaint) +"fKd" = ( +/obj/random/tool, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "fKg" = ( /obj/effect/landmark/tiles/damageturf, /turf/simulated/floor/plating, @@ -39151,6 +39324,10 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = -30 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -39446,6 +39623,11 @@ icon_state = "neutralfull" }, /area/atmos/control) +"fMV" = ( +/obj/structure/flora/junglebush, +/obj/structure/flora/grass/jungle/b, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "fMX" = ( /obj/structure/cable{ d1 = 4; @@ -39723,6 +39905,17 @@ /obj/effect/decal/cleanable/dust, /turf/simulated/floor/wood, /area/maintenance/casino) +"fOY" = ( +/obj/structure/sign/directions/security{ + pixel_y = 8; + dir = 8 + }, +/obj/structure/sign/directions/medical, +/obj/structure/sign/directions/evac{ + pixel_y = -8 + }, +/turf/simulated/wall, +/area/medical/morgue) "fPd" = ( /obj/effect/turf_decal/siding/wood, /turf/simulated/floor/wood, @@ -39979,6 +40172,12 @@ pixel_y = -10; pixel_x = 5 }, +/obj/machinery/door/firedoor/border_only{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "red" @@ -40017,7 +40216,7 @@ on = 1; scrub_N2O = 1; scrub_Toxins = 1; - dir = 1 + dir = 8 }, /turf/simulated/floor/carpet/royalblack, /area/crew_quarters/courtroom) @@ -40025,7 +40224,9 @@ /obj/structure/chair/comfy/black{ dir = 1 }, -/obj/structure/window/reinforced, +/obj/structure/window/reinforced{ + layer = 4.2 + }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) "fRz" = ( @@ -40348,9 +40549,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "fTR" = ( /obj/effect/decal/cleanable/dirt, @@ -40740,6 +40939,12 @@ pixel_y = -10; pixel_x = 5 }, +/obj/machinery/door/firedoor/border_only{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "red" @@ -40764,13 +40969,6 @@ }, /turf/simulated/floor/plating, /area/maintenance/trading) -"fWX" = ( -/obj/structure/disposalpipe/segment, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "browncorner" - }, -/area/quartermaster/office) "fXb" = ( /turf/simulated/floor/plasteel{ dir = 8; @@ -40789,9 +40987,7 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "fXp" = ( /obj/machinery/sleeper{ @@ -41153,9 +41349,7 @@ /obj/machinery/camera{ c_tag = "NT Representative's Office" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "fZz" = ( /obj/effect/decal/cleanable/dirt, @@ -41287,13 +41481,14 @@ /turf/simulated/floor/wood/fancy/cherry, /area/magistrateoffice) "gaj" = ( -/obj/effect/turf_decal/siding/wood{ - dir = 5 - }, /obj/structure/chair/office, /obj/machinery/light{ dir = 4 }, +/obj/effect/turf_decal/siding/wood{ + dir = 4; + do_not_delete_me = 1 + }, /turf/simulated/floor/wood/oak, /area/crew_quarters/courtroom) "gay" = ( @@ -41401,6 +41596,18 @@ }, /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/commercial) +"gby" = ( +/obj/structure/railing/corner{ + dir = 8 + }, +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "gbA" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -41500,6 +41707,10 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 5 }, +/obj/machinery/alarm{ + dir = 1; + pixel_y = -22 + }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "darkpurple" @@ -41813,7 +42024,8 @@ "geG" = ( /obj/machinery/door/airlock/security/glass{ name = "Brig Customs"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/structure/disposalpipe/segment, /obj/machinery/door/firedoor, @@ -41908,9 +42120,6 @@ /obj/item/pneumatic_cannon/ghetto, /obj/item/tank/internals/oxygen, /obj/item/clothing/gloves/color/yellow, -/obj/item/radio/intercom{ - pixel_x = -28 - }, /obj/structure/sign/poster/contraband/missing_gloves{ pixel_y = 32 }, @@ -41952,9 +42161,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "gfy" = ( /obj/effect/turf_decal/stripes/line{ @@ -42036,6 +42243,7 @@ /obj/item/storage/box/bodybags/biohazard, /obj/item/clothing/suit/apron/surgical, /obj/item/storage/box/bodybags, +/obj/item/storage/belt/medical/surgery/loaded, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "whitebluecorner" @@ -42140,6 +42348,13 @@ icon_state = "darkbluealt" }, /area/hallway/primary/command/east) +"ghy" = ( +/obj/structure/closet/wardrobe/mixed, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/crew_quarters/locker) "ghD" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -42181,6 +42396,10 @@ icon_state = "dark" }, /area/crew_quarters/bar/atrium) +"ghM" = ( +/obj/structure/grille, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "ghP" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -43034,9 +43253,7 @@ "gnd" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "gnh" = ( /obj/structure/cable{ @@ -43243,6 +43460,16 @@ }, /turf/simulated/floor/carpet/green, /area/maintenance/casino) +"goT" = ( +/obj/structure/disposalpipe/segment, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/bridge/meeting_room) "gpe" = ( /obj/machinery/light{ dir = 8 @@ -43299,7 +43526,8 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint2) "gpq" = ( -/turf/simulated/wall/r_wall, +/obj/item/twohanded/required/kirbyplants/dead, +/turf/simulated/floor/plating, /area/maintenance/brig) "gpu" = ( /obj/effect/turf_decal/stripes/white/line, @@ -43382,6 +43610,14 @@ icon_state = "freezerfloor" }, /area/maintenance/cafeteria) +"gqo" = ( +/obj/structure/extinguisher_cabinet{ + pixel_y = -30 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluealt" + }, +/area/hallway/primary/central/second/north) "gqp" = ( /obj/structure/railing/corner{ dir = 4 @@ -43397,11 +43633,6 @@ /obj/structure/cable{ icon_state = "0-8" }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 2; - id_tag = "Chemistry"; - name = "Chemistry Privacy Shutter" - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "open"; @@ -43409,6 +43640,11 @@ name = "Quarantine Lockdown"; opacity = 0 }, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "Chemistry1"; + name = "Chemistry Privacy Shutter" + }, /turf/simulated/floor/plating, /area/medical/chemistry) "gqy" = ( @@ -43432,6 +43668,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -43614,6 +43851,10 @@ /obj/structure/sign/directions/evac{ pixel_y = 8 }, +/obj/structure/sign/directions/medical{ + dir = 1; + pixel_y = -8 + }, /turf/simulated/wall, /area/quartermaster/lobby) "gsf" = ( @@ -43821,6 +44062,7 @@ }, /area/crew_quarters/kitchen) "gtE" = ( +/obj/item/twohanded/required/kirbyplants, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "red" @@ -43922,7 +44164,6 @@ /obj/structure/disposalpipe/segment{ dir = 9 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 }, @@ -43930,17 +44171,20 @@ icon_state = "1-8" }, /obj/machinery/hologram/holopad, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, /turf/simulated/floor/plasteel/grimy, /area/crew_quarters/bar) "guy" = ( /obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, /turf/simulated/floor/plasteel/grimy, /area/crew_quarters/bar) "guz" = ( @@ -43990,11 +44234,13 @@ /area/medical/medrest) "guU" = ( /obj/structure/cable{ - icon_state = "4-8" + icon_state = "2-4" }, -/turf/simulated/floor/plasteel{ - icon_state = "floorgrime" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel, /area/storage/office) "guV" = ( /turf/simulated/floor/plasteel{ @@ -44168,14 +44414,6 @@ /turf/simulated/floor/plating, /area/security/permabrig) "gwk" = ( -/obj/machinery/power/apc{ - dir = 1; - name = "north bump"; - pixel_y = 26 - }, -/obj/structure/cable{ - icon_state = "0-4" - }, /obj/structure/closet/cardboard, /obj/item/storage/box/lights/mixed, /turf/simulated/floor/plating, @@ -44278,8 +44516,11 @@ }, /area/engine/mechanic_workshop/hangar) "gxi" = ( -/obj/machinery/vending/wallmed{ - pixel_y = -30 +/obj/item/radio/intercom{ + pixel_x = 30 + }, +/obj/structure/sign/poster/official/random{ + pixel_y = -32 }, /turf/simulated/floor/plasteel{ dir = 6; @@ -44651,9 +44892,8 @@ /obj/structure/chair/sofa/left{ dir = 4 }, -/obj/item/radio/intercom{ - dir = 1; - pixel_y = 24 +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_y = 32 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -44725,24 +44965,6 @@ icon_state = "darkred" }, /area/turret_protected/aisat) -"gBJ" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - layer = 2.9 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 9 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 6 - }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, -/turf/simulated/floor/plasteel{ - icon_state = "dark" - }, -/area/security/seceqstorage) "gBM" = ( /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, @@ -44916,10 +45138,6 @@ icon_state = "1-2" }, /obj/effect/turf_decal/caution/stand_clear, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 8; - id_tag = "aisat" - }, /obj/structure/cable{ icon_state = "2-4" }, @@ -44982,11 +45200,9 @@ /turf/simulated/floor/plating, /area/maintenance/fpmaint) "gDO" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/turf/simulated/floor/plasteel{ + icon_state = "darkbluealt" }, -/turf/simulated/floor/plating, /area/crew_quarters/fitness) "gDP" = ( /obj/effect/turf_decal/siding/wood, @@ -45098,10 +45314,11 @@ /turf/space, /area/space) "gEV" = ( -/obj/structure/disposalpipe/segment, +/obj/structure/cable{ + icon_state = "1-4" + }, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + icon_state = "red" }, /area/security/seceqstorage) "gFc" = ( @@ -45132,9 +45349,11 @@ /turf/simulated/floor/plating, /area/hallway/primary/central/second/west) "gFA" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/power/apc{ + name = "south bump"; + pixel_y = -26 }, +/obj/structure/cable, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -45789,7 +46008,6 @@ /area/maintenance/asmaint3) "gJO" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/glass/reinforced, @@ -45843,12 +46061,9 @@ }, /area/hallway/primary/fore) "gKt" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, /turf/simulated/floor/plasteel{ - dir = 6; - icon_state = "red" + dir = 1; + icon_state = "redcorner" }, /area/security/seceqstorage) "gKz" = ( @@ -45869,6 +46084,11 @@ /obj/machinery/atm{ pixel_x = 32 }, +/obj/machinery/camera{ + c_tag = "Locker Room Antechamber"; + dir = 9; + pixel_y = 0 + }, /turf/simulated/floor/wood/fancy/light, /area/crew_quarters/serviceyard) "gKE" = ( @@ -45879,6 +46099,13 @@ /obj/machinery/light{ dir = 4 }, +/obj/machinery/atmospherics/unary/vent_scrubber{ + dir = 8; + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "whiteblue"; @@ -45968,6 +46195,7 @@ /obj/item/folder/red{ pixel_y = 3 }, +/obj/item/storage/fancy/donut_box, /turf/simulated/floor/plasteel{ icon_state = "redfull" }, @@ -46070,6 +46298,17 @@ }, /turf/simulated/floor/carpet/green, /area/medical/virology) +"gLP" = ( +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 0; + pixel_x = -26 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluealt" + }, +/area/hallway/primary/central/second/north) "gLW" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 10 @@ -46132,9 +46371,9 @@ }, /area/hallway/primary/central/se) "gMV" = ( -/obj/structure/table, -/obj/item/toy/figure/assistant, /obj/machinery/light, +/obj/structure/table, +/obj/item/camera, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -46224,7 +46463,6 @@ /area/hallway/secondary/entry) "gNK" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 4 }, /turf/simulated/floor/glass/reinforced, @@ -46271,6 +46509,13 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/maintenance/asmaint2) +"gOg" = ( +/obj/structure/railing/corner, +/obj/effect/turf_decal/siding/wideplating/dark/corner, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluecorners" + }, +/area/crew_quarters/fitness) "gOj" = ( /obj/effect/spawner/window/reinforced, /obj/structure/cable{ @@ -46361,7 +46606,7 @@ /area/maintenance/asmaint) "gPk" = ( /obj/effect/decal/cleanable/dirt, -/obj/effect/spawner/random_spawners/grille_13, +/obj/structure/reagent_dispensers/watertank, /turf/simulated/floor/plating, /area/maintenance/fpmaint) "gPn" = ( @@ -46501,23 +46746,6 @@ icon_state = "neutral" }, /area/hallway/primary/central/sw) -"gQE" = ( -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/security/glass{ - name = "Brig"; - req_access = list(63) - }, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull" - }, -/area/security/prison/cell_block/A) "gQJ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -46567,6 +46795,10 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/newscaster/security_unit{ + pixel_y = -30; + pixel_x = -32 + }, /turf/simulated/floor/carpet/red, /area/security/hos) "gRs" = ( @@ -46702,6 +46934,19 @@ icon_state = "darkred" }, /area/security/hos) +"gSt" = ( +/obj/machinery/door/airlock/external{ + frequency = 1379; + id_tag = "solar_chapel_inner"; + locked = 1; + name = "Engineering External Access"; + req_access = list(13) + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "gSu" = ( /obj/machinery/door/airlock{ id_tag = "toilet_unit1"; @@ -46937,7 +47182,7 @@ pixel_y = 34 }, /obj/machinery/camera{ - c_tag = "Rec Room North" + c_tag = "Fitness Room North" }, /turf/simulated/floor/plasteel, /area/crew_quarters/fitness) @@ -47477,9 +47722,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "gXW" = ( /obj/structure/cable{ @@ -47729,6 +47972,10 @@ name = "Bridge Requests Console"; pixel_x = -30 }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -47777,7 +48024,6 @@ layer = 2.9 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -47787,19 +48033,24 @@ /turf/simulated/floor/grass, /area/crew_quarters/serviceyard) "gZK" = ( -/obj/structure/chair/sofa/corp{ - dir = 4 - }, /obj/machinery/recharger/wallcharger{ pixel_x = -24 }, -/obj/effect/landmark/start/security_officer, -/obj/machinery/light{ - dir = 8 +/obj/structure/closet/secure_closet/security, +/obj/machinery/camera{ + c_tag = "Brig Equipment Storage"; + dir = 5; + network = list("SS13","Security") + }, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 4 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "gZM" = ( @@ -47939,7 +48190,16 @@ /obj/structure/disposalpipe/trunk{ dir = 8 }, -/obj/effect/decal/warning_stripes/yellow, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "golden_stripes" + }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, +/obj/machinery/light{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -47994,6 +48254,7 @@ /obj/structure/bookcase{ name = "bookcase (Fiction)" }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "hbt" = ( @@ -48032,11 +48293,7 @@ /turf/simulated/floor/plating, /area/maintenance/detectives_office) "hbK" = ( -/obj/structure/table, -/obj/machinery/recharger{ - pixel_x = 1; - pixel_y = 3 - }, +/obj/machinery/mineral/equipment_vendor, /turf/simulated/floor/plasteel, /area/quartermaster/miningdock) "hbO" = ( @@ -48256,6 +48513,12 @@ /turf/simulated/floor/carpet/black, /area/crew_quarters/bar/atrium) "hdp" = ( +/obj/machinery/atmospherics/unary/vent_scrubber{ + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 + }, /obj/structure/sign/poster/official/random{ pixel_y = 32 }, @@ -48458,22 +48721,8 @@ }, /area/medical/biostorage) "hev" = ( -/obj/structure/table/reinforced, -/obj/item/stock_parts/matter_bin, -/obj/item/stock_parts/matter_bin{ - pixel_x = 3; - pixel_y = 3 - }, -/obj/item/stock_parts/capacitor, -/obj/item/stock_parts/scanning_module, -/obj/item/stock_parts/micro_laser, -/obj/item/stock_parts/manipulator, -/obj/item/stock_parts/manipulator, -/obj/item/stack/cable_coil, -/obj/item/stack/cable_coil{ - amount = 3 - }, /obj/machinery/light, +/obj/machinery/libraryscanner, /turf/simulated/floor/plasteel{ icon_state = "whitepurple"; tag = "icon-whitepurple (WEST)" @@ -48517,22 +48766,15 @@ color = "red"; dir = 1 }, -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "darkred" }, /area/security/evidence) "hfa" = ( -/obj/machinery/door_control{ - desc = "A remote control-switch for the pod doors."; - id = "miningshuttlebay"; - name = "Pod Door Control"; - pixel_x = 26; - pixel_y = -7 - }, /obj/machinery/light{ dir = 4 }, @@ -48548,6 +48790,9 @@ icon_state = "darkred" }, /area/maintenance/secpost) +"hfh" = ( +/turf/simulated/wall/r_wall, +/area/security/brig) "hfj" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ @@ -48971,7 +49216,6 @@ "hiv" = ( /obj/structure/window/reinforced, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/item/twohanded/required/kirbyplants, @@ -48992,6 +49236,7 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/landmark/start/scientist, /turf/simulated/floor/plasteel{ icon_state = "white" }, @@ -49040,6 +49285,19 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/crew_quarters/arcade) +"hiT" = ( +/obj/machinery/light{ + dir = 1; + in_use = 1 + }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/crew_quarters/locker) "hiW" = ( /obj/effect/decal/warning_stripes/west, /obj/machinery/status_display{ @@ -49072,10 +49330,6 @@ /turf/simulated/floor/plating, /area/maintenance/engineering) "hjr" = ( -/obj/machinery/camera{ - c_tag = "Cremator"; - dir = 8 - }, /obj/machinery/power/apc{ pixel_x = 28; dir = 4 @@ -49203,7 +49457,6 @@ /obj/structure/flora/ausbushes/ywflowers, /obj/effect/decal/straw/medium, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -49229,6 +49482,9 @@ /obj/effect/turf_decal/siding/wood{ dir = 4 }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, /turf/simulated/floor/carpet/red, /area/civilian/vacantoffice) "hkh" = ( @@ -49255,10 +49511,22 @@ /turf/simulated/floor/plating, /area/maintenance/starboard) "hkB" = ( -/obj/structure/table/reinforced, -/obj/item/storage/firstaid/regular, -/turf/simulated/floor/plasteel, -/area/crew_quarters/fitness) +/obj/machinery/door/airlock/public/glass{ + name = "Pet Store" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/door/firedoor, +/turf/simulated/floor/plasteel{ + icon_state = "floorgrime" + }, +/area/storage/office) "hkF" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ @@ -49523,6 +49791,25 @@ }, /turf/simulated/floor/plating, /area/maintenance/fsmaint2) +"hmC" = ( +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/sign/poster/contraband/random{ + pixel_y = -32 + }, +/turf/simulated/floor/plating, +/area/maintenance/asmaint) "hmD" = ( /obj/machinery/camera{ c_tag = "Central Ring Hallway South 4"; @@ -49745,6 +50032,13 @@ pixel_y = -8; dir = 1 }, +/obj/structure/sign/directions/security{ + dir = 8 + }, +/obj/structure/sign/directions/science{ + dir = 8; + pixel_y = 8 + }, /turf/simulated/wall, /area/crew_quarters/serviceyard) "hoS" = ( @@ -49914,6 +50208,10 @@ /obj/machinery/light/small{ dir = 8 }, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = -26 + }, /turf/simulated/floor/carpet/red, /area/maintenance/backstage) "hqd" = ( @@ -49995,8 +50293,6 @@ /turf/simulated/floor/engine, /area/hallway/primary/central) "hrn" = ( -/obj/structure/chair/stool, -/obj/effect/landmark/start/civilian, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 }, @@ -50234,9 +50530,13 @@ /obj/structure/chair/comfy/teal{ dir = 1 }, -/obj/machinery/camera{ - c_tag = "Medbay Break Room"; - dir = 8 +/obj/machinery/power/apc{ + dir = 4; + name = "east bump"; + pixel_x = 26 + }, +/obj/structure/cable{ + icon_state = "0-8" }, /turf/simulated/floor/plasteel{ dir = 4; @@ -50498,7 +50798,6 @@ /area/maintenance/casino) "hvh" = ( /obj/structure/closet/wardrobe/grey, -/obj/structure/closet/wardrobe/white, /obj/machinery/light, /turf/simulated/floor/plasteel{ dir = 8; @@ -50581,9 +50880,7 @@ /obj/effect/turf_decal/siding/wood{ dir = 8 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "hwd" = ( /obj/item/radio/intercom{ @@ -50858,18 +51155,15 @@ }, /area/aisat/aihallway) "hyG" = ( -/obj/effect/spawner/window/reinforced, -/obj/structure/cable{ - icon_state = "0-2" - }, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/sign/directions/engineering{ + pixel_y = 8 }, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "aisat" +/obj/structure/sign/directions/science, +/obj/structure/sign/directions/evac{ + pixel_y = -8 }, -/turf/simulated/floor/plating, -/area/turret_protected/ai) +/turf/simulated/wall, +/area/maintenance/asmaint2) "hyP" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light_construct{ @@ -50966,6 +51260,14 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/requests_console{ + announcementConsole = 1; + department = "Head of Security's Desk"; + departmentType = 5; + name = "Head of Security Requests Console"; + pixel_y = 30; + pixel_x = -32 + }, /turf/simulated/floor/carpet/red, /area/security/hos) "hzU" = ( @@ -51205,7 +51507,18 @@ /area/hallway/primary/central/second/south) "hCi" = ( /obj/structure/table/wood/fancy/black, -/obj/item/lighter/zippo/qm, +/obj/item/mining_voucher{ + pixel_y = 6; + pixel_x = -6 + }, +/obj/item/lighter/zippo/qm{ + pixel_x = 7; + pixel_y = 5 + }, +/obj/item/mining_voucher{ + pixel_y = 6; + pixel_x = -6 + }, /turf/simulated/floor/wood, /area/quartermaster/qm) "hCr" = ( @@ -51315,6 +51628,10 @@ "hDi" = ( /obj/item/twohanded/required/kirbyplants, /obj/structure/disposalpipe/segment, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -51330,6 +51647,13 @@ /obj/structure/grille/broken, /turf/space, /area/space) +"hDr" = ( +/obj/effect/landmark/start/detective, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkred" + }, +/area/security/detectives_office) "hDs" = ( /obj/structure/lattice/catwalk, /obj/structure/cable{ @@ -51380,7 +51704,6 @@ id_tag = "ferry_home"; locked = 1 }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/additional) "hDL" = ( @@ -51551,15 +51874,26 @@ "hFm" = ( /obj/machinery/hologram/holopad, /obj/effect/turf_decal/box, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ icon_state = "neutral" }, /area/crew_quarters/fitness) "hFn" = ( -/obj/structure/disposalpipe/segment{ - dir = 4 +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkred" }, -/turf/simulated/floor/wood, /area/security/detectives_office) "hFw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -51918,10 +52252,12 @@ /obj/structure/chair/comfy/black{ dir = 1 }, -/obj/structure/window/reinforced, /obj/item/radio/intercom{ pixel_y = -28 }, +/obj/structure/window/reinforced{ + layer = 4.2 + }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) "hJq" = ( @@ -51964,6 +52300,7 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 8 }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -51984,14 +52321,13 @@ }, /area/medical/reception) "hJE" = ( -/obj/item/radio/intercom{ - name = "south station intercom (General)"; - pixel_y = -28 - }, -/turf/simulated/floor/plasteel{ - icon_state = "red" +/obj/machinery/door/window/eastright{ + name = "Forensic laboratory"; + req_access = list(4); + dir = 2 }, -/area/security/lobby) +/turf/simulated/floor/wood, +/area/security/detectives_office) "hJH" = ( /obj/structure/computerframe{ dir = 1 @@ -52271,7 +52607,6 @@ /turf/simulated/floor/plasteel, /area/security/permabrig) "hNq" = ( -/obj/effect/landmark/start/detective, /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 8 }, @@ -52288,19 +52623,6 @@ icon_state = "dark" }, /area/chapel/main) -"hNt" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 1; - id_tag = "temporary holding cell"; - locked = 1; - name = "Temporary Holding Cell Privacy Shutters" - }, -/obj/structure/cable{ - icon_state = "0-8" - }, -/turf/simulated/floor/plating, -/area/security/holding_cell) "hNy" = ( /obj/structure/cable{ icon_state = "4-8" @@ -52378,7 +52700,7 @@ /area/hallway/secondary/exit) "hNW" = ( /obj/structure/window/reinforced, -/obj/machinery/atmospherics/unary/vent_pump/on{ +/obj/effect/turf_decal/siding/wideplating/dark{ dir = 8 }, /turf/simulated/floor/plasteel{ @@ -52581,7 +52903,6 @@ /obj/structure/flora/ausbushes/hell, /obj/structure/flora/ausbushes/stalkybush, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -52822,9 +53143,7 @@ do_not_delete_me = 1 }, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "hRv" = ( /obj/effect/decal/cleanable/dirt, @@ -53006,13 +53325,6 @@ }, /turf/simulated/floor/plating, /area/magistrateoffice) -"hSP" = ( -/obj/structure/table, -/obj/item/storage/fancy/donut_box, -/turf/simulated/floor/plasteel{ - icon_state = "redfull" - }, -/area/security/processing) "hSU" = ( /obj/structure/cable{ d1 = 4; @@ -53103,6 +53415,16 @@ color = "orange" }, /area/crew_quarters/captain) +"hTz" = ( +/obj/machinery/newscaster{ + pixel_y = 0; + pixel_x = -30 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" + }, +/area/crew_quarters/serviceyard) "hTB" = ( /obj/structure/railing{ dir = 4 @@ -53531,16 +53853,10 @@ /turf/simulated/floor/wood, /area/security/permabrig) "hWZ" = ( -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - icon_state = "red" - }, -/area/security/lobby) +/obj/effect/decal/cleanable/blood/gibs/robot, +/obj/effect/decal/cleanable/generic, +/turf/simulated/floor/plasteel, +/area/engine/mechanic_workshop) "hXd" = ( /obj/machinery/atmospherics/pipe/simple/visible/cyan{ desc = "Труба содержит дыхательную смесь для подачи на станцию"; @@ -53830,13 +54146,21 @@ }, /area/quartermaster/delivery) "hYW" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 + dir = 4 }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluealt" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "hYX" = ( /obj/structure/lattice/catwalk, @@ -53950,6 +54274,10 @@ /obj/item/paper_bin, /obj/item/pen, /obj/effect/decal/warning_stripes/yellow/hollow, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = 26 + }, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "neutral" @@ -54399,8 +54727,8 @@ /obj/structure/sign/directions/evac{ pixel_y = -8 }, -/obj/structure/sign/directions/medical, -/obj/structure/sign/directions/security{ +/obj/structure/sign/directions/science, +/obj/structure/sign/directions/engineering{ pixel_y = 8 }, /turf/simulated/wall, @@ -54564,18 +54892,16 @@ }, /area/medical/surgery/north) "idV" = ( -/obj/structure/disposalpipe/segment, -/obj/structure/sign/poster/official/random{ - pixel_x = 32 - }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "red" +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 2; + frequency = 1379; + id_tag = "n_tool_pump" }, -/area/security/main) +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "idW" = ( /obj/machinery/vending/wallmed{ - pixel_x = 30 + pixel_x = 25 }, /obj/machinery/light{ dir = 4 @@ -54730,7 +55056,6 @@ /obj/structure/flora/ausbushes/fernybush, /obj/structure/flora/ausbushes/lavendergrass, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -55113,6 +55438,12 @@ pixel_y = -10; pixel_x = 5 }, +/obj/machinery/door/firedoor/border_only{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "red" @@ -55388,13 +55719,10 @@ /turf/simulated/floor/glass/reinforced, /area/hallway/secondary/exit) "ijY" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkgreen" }, -/mob/living/simple_animal/pet/penguin/emperor, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "ikb" = ( /obj/machinery/papershredder, @@ -55719,15 +56047,20 @@ }, /area/crew_quarters/serviceyard) "imh" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = 26 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 +/obj/structure/chair/office{ + dir = 8 + }, +/obj/machinery/camera{ + c_tag = "Rec Room East"; + dir = 8 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" + dir = 1; + icon_state = "dark" }, /area/crew_quarters/fitness) "imx" = ( @@ -55772,22 +56105,6 @@ }, /turf/simulated/floor/wood, /area/maintenance/casino) -"imG" = ( -/obj/structure/chair{ - dir = 4 - }, -/obj/machinery/atmospherics/unary/vent_scrubber/on{ - dir = 4 - }, -/obj/machinery/alarm{ - dir = 4; - pixel_x = -25 - }, -/turf/simulated/floor/plasteel{ - dir = 10; - icon_state = "red" - }, -/area/security/holding_cell) "imK" = ( /obj/machinery/door/airlock/maintenance{ req_access = list(12,47) @@ -55907,14 +56224,19 @@ "inl" = ( /obj/machinery/door/airlock/maintenance, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "inp" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/unary/vent_scrubber{ + dir = 4; + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "inq" = ( /obj/structure/cable{ @@ -56094,6 +56416,31 @@ icon_state = "dark" }, /area/security/securearmory) +"ioL" = ( +/obj/machinery/light{ + dir = 4 + }, +/obj/item/twohanded/required/kirbyplants, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, +/area/crew_quarters/fitness) +"ioT" = ( +/obj/effect/turf_decal/siding/wood{ + dir = 1 + }, +/obj/machinery/power/apc{ + dir = 4; + name = "east bump"; + pixel_x = 26 + }, +/obj/structure/cable{ + d2 = 8; + icon_state = "0-8" + }, +/turf/simulated/floor/wood/dark, +/area/crew_quarters/bar/atrium) "ioW" = ( /obj/structure/lattice/catwalk, /obj/machinery/atmospherics/unary/outlet_injector/on{ @@ -56270,7 +56617,7 @@ dir = 4 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "iqk" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel, @@ -56551,6 +56898,10 @@ "isz" = ( /turf/simulated/wall, /area/crew_quarters/serviceyard) +"isB" = ( +/obj/structure/sign/vacuum, +/turf/simulated/wall, +/area/maintenance/maintcentral) "isC" = ( /obj/structure/cable{ icon_state = "0-4" @@ -56644,9 +56995,7 @@ pixel_x = 32; pixel_y = -30 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "itp" = ( /obj/structure/rack{ @@ -56751,9 +57100,14 @@ /turf/simulated/floor/carpet/cyan, /area/maintenance/livingcomplex) "itR" = ( -/obj/structure/table/reinforced, -/obj/item/paper/holodeck, -/turf/simulated/floor/plasteel, +/obj/structure/chair/office/light{ + dir = 8 + }, +/obj/effect/landmark/ninja_teleport, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/fitness) "itS" = ( /obj/machinery/door/airlock/public/glass{ @@ -56881,6 +57235,10 @@ /area/hallway/primary/fore) "iuG" = ( /obj/effect/decal/warning_stripes/south, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 28 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -56893,10 +57251,10 @@ /turf/simulated/floor/plasteel, /area/engine/controlroom) "iuU" = ( -/obj/machinery/r_n_d/destructive_analyzer{ - pixel_y = 2 - }, /obj/effect/decal/warning_stripes/southwest, +/obj/machinery/r_n_d/protolathe{ + pixel_x = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -56951,12 +57309,6 @@ "ivm" = ( /turf/simulated/wall, /area/medical/cryo) -"ivv" = ( -/obj/machinery/light, -/turf/simulated/floor/plasteel{ - icon_state = "red" - }, -/area/security/processing) "ivz" = ( /obj/machinery/status_display{ pixel_y = 32 @@ -56973,6 +57325,17 @@ icon_state = "bar" }, /area/security/permabrig) +"ivD" = ( +/obj/structure/railing/corner, +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 2; + pixel_y = 0 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "ivE" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/grille/broken, @@ -57079,6 +57442,17 @@ /turf/simulated/floor/grass, /area/hallway/primary/central/nw) "iwu" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ icon_state = "neutralcorner" }, @@ -57087,9 +57461,7 @@ /obj/machinery/vending/wallmed{ pixel_y = 30 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "iwz" = ( /obj/effect/turf_decal/siding/wood{ @@ -57380,7 +57752,6 @@ /obj/machinery/door/airlock/external{ name = "Escape Pod Airlock" }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/additional) "iyR" = ( @@ -57529,6 +57900,10 @@ /obj/structure/chair/sofa/right{ dir = 8 }, +/obj/item/radio/intercom{ + dir = 1; + pixel_y = 24 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_regular_floor = "yellowsiding"; @@ -57619,7 +57994,6 @@ /area/maintenance/trading) "izX" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/plasteel/dark, @@ -58083,15 +58457,10 @@ /turf/simulated/floor/carpet/red, /area/crew_quarters/cabin4) "iEH" = ( -/obj/structure/table/wood, -/obj/machinery/recharger{ - pixel_x = 1; - pixel_y = 3 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 6 +/obj/structure/window/reinforced{ + layer = 4.2 }, -/turf/simulated/floor/carpet/green, +/turf/simulated/floor/wood, /area/security/detectives_office) "iEO" = ( /turf/simulated/floor/plasteel{ @@ -58335,6 +58704,10 @@ name = "east fire alarm"; pixel_x = 24 }, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -58488,11 +58861,24 @@ /turf/simulated/floor/carpet/red, /area/chapel/main) "iIo" = ( -/obj/structure/chair/office/light{ +/obj/effect/turf_decal/siding/wideplating/dark{ dir = 8 }, -/obj/effect/landmark/ninja_teleport, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluealt" + }, /area/crew_quarters/fitness) "iIr" = ( /obj/effect/decal/warning_stripes/northeast, @@ -59055,18 +59441,25 @@ /obj/effect/decal/cleanable/dirt, /obj/structure/closet/firecloset, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "iNp" = ( -/obj/structure/chair/sofa/corp/right{ - dir = 4 - }, /obj/machinery/recharger/wallcharger{ pixel_x = -24 }, -/obj/effect/landmark/start/security_officer, +/obj/structure/closet/secure_closet/security, +/obj/structure/window/reinforced{ + color = "red"; + layer = 2.9 + }, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 6 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 9 + }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "iNq" = ( @@ -59359,6 +59752,10 @@ icon_state = "red" }, /area/security/processing) +"iQc" = ( +/obj/structure/flora/ausbushes/hell, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "iQf" = ( /obj/machinery/atmospherics/unary/vent_pump/high_volume{ dir = 8; @@ -59462,6 +59859,11 @@ icon_state = "red" }, /area/security/securehallway) +"iQW" = ( +/obj/structure/flora/ausbushes/ywflowers, +/obj/structure/flora/rock/jungle, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "iRb" = ( /obj/structure/table, /obj/item/clipboard, @@ -59510,8 +59912,14 @@ }, /area/maintenance/casino) "iSa" = ( -/obj/machinery/computer/HolodeckControl, -/turf/simulated/floor/plasteel, +/obj/machinery/camera{ + c_tag = "Rec Room South"; + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluealt" + }, /area/crew_quarters/fitness) "iSe" = ( /obj/machinery/atmospherics/unary/portables_connector{ @@ -59576,6 +59984,22 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/plating, /area/maintenance/tourist) +"iSO" = ( +/obj/machinery/access_button{ + command = "cycle_interior"; + frequency = 1379; + layer = 3.3; + master_tag = "solar_chapel_airlock"; + name = "interior access button"; + pixel_x = 25; + pixel_y = 25; + req_access = list(13) + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 6 + }, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "iSV" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/cable/multiz{ @@ -59776,9 +60200,7 @@ dir = 1; in_use = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "iUw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -59796,8 +60218,7 @@ }, /area/engine/mechanic_workshop/hangar) "iUx" = ( -/obj/structure/table, -/obj/item/storage/fancy/crayons, +/obj/structure/closet/secure_closet/personal, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -59828,12 +60249,11 @@ /turf/simulated/floor/plating, /area/quartermaster/qm) "iUH" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkgreen" }, -/turf/simulated/floor/plating, -/area/crew_quarters/fitness) +/area/crew_quarters/sleep/secondary) "iUN" = ( /turf/simulated/floor/plasteel, /area/assembly/robotics) @@ -60200,6 +60620,15 @@ /obj/item/toy/figure/cmo, /turf/simulated/floor/carpet/blue, /area/medical/cmo) +"iXE" = ( +/obj/machinery/newscaster{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkred" + }, +/area/security/permahallway) "iXG" = ( /obj/effect/turf_decal/siding/red{ dir = 4 @@ -60813,6 +61242,11 @@ icon_state = "neutral" }, /area/toxins/mixing) +"jcu" = ( +/obj/item/clothing/gloves/color/fyellow, +/obj/structure/rack, +/turf/simulated/floor/plating, +/area/maintenance/asmaint4) "jcx" = ( /obj/structure/cable{ icon_state = "1-2" @@ -60942,10 +61376,6 @@ pixel_y = 3 }, /obj/item/tank/jetpack/carbondioxide, -/obj/machinery/light{ - dir = 1; - on = 1 - }, /turf/simulated/floor/plasteel{ icon_state = "yellowfull" }, @@ -61168,8 +61598,22 @@ }, /area/hallway/primary/central/second/east) "jeV" = ( -/obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, +/obj/structure/table/wood, +/obj/item/paper_bin{ + pixel_x = -3; + pixel_y = 7 + }, +/obj/item/pen/multi{ + pixel_x = -7; + pixel_y = 5 + }, +/obj/effect/turf_decal/siding/wood{ + dir = 4 + }, +/obj/item/book/manual/security_space_law{ + pixel_y = 6 + }, +/turf/simulated/floor/carpet/green, /area/security/detectives_office) "jeZ" = ( /obj/structure/cable{ @@ -61191,12 +61635,16 @@ /area/maintenance/maintcentral) "jfa" = ( /obj/structure/table/wood, -/obj/effect/spawner/lootdrop/officetoys, -/obj/effect/turf_decal/siding/wood{ - dir = 4 +/obj/item/flashlight/lamp/green{ + on = 0; + pixel_x = -6 }, -/obj/structure/cable{ - icon_state = "4-8" +/obj/machinery/recharger{ + pixel_x = 1; + pixel_y = 3 + }, +/obj/effect/turf_decal/siding/wood{ + dir = 6 }, /turf/simulated/floor/carpet/green, /area/security/detectives_office) @@ -61332,19 +61780,15 @@ }, /turf/simulated/floor/plating, /area/toxins/launch) -"jgw" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +"jgv" = ( +/obj/structure/disposaloutlet{ + dir = 2 }, -/turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "red" +/obj/structure/disposalpipe/trunk{ + dir = 4 }, -/area/security/holding_cell) +/turf/simulated/floor/plating/airless, +/area/space) "jgD" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/grille/broken, @@ -61386,16 +61830,20 @@ /area/hallway/primary/central/second/west) "jgX" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 + dir = 8 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 + dir = 4 }, /obj/structure/cable{ - icon_state = "2-8" + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkblue" }, -/obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "jhd" = ( /obj/structure/cable{ @@ -61440,7 +61888,12 @@ }, /obj/structure/closet/secure_closet/guncabinet{ anchored = 1; - name = "Lethal Bullets" + name = "Lethal Bullets"; + req_access = list(1) + }, +/obj/item/ammo_box/shotgun{ + pixel_x = -3; + pixel_y = 6 }, /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -61619,6 +62072,9 @@ dir = 1; in_use = 1 }, +/obj/machinery/newscaster{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "purple" @@ -61671,6 +62127,12 @@ icon_state = "hydrofloor" }, /area/maintenance/secpost) +"jiG" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/table, +/obj/item/storage/toolbox/mechanical/old, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "jiH" = ( /obj/machinery/camera{ c_tag = "Medbay Suit Storage"; @@ -61774,6 +62236,9 @@ "jjw" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "2-8" + }, /turf/simulated/floor/plasteel, /area/crew_quarters/toilet3) "jjC" = ( @@ -62029,7 +62494,7 @@ dir = 4 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "jll" = ( /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, @@ -62130,14 +62595,15 @@ }, /area/security/prison/cell_block/A) "jms" = ( -/obj/machinery/power/apc{ - name = "south bump"; - pixel_y = 26 - }, /obj/structure/cable{ d2 = 2; icon_state = "0-2" }, +/obj/machinery/power/apc{ + dir = 1; + name = "north bump"; + pixel_y = 26 + }, /turf/simulated/floor/engine, /area/engine/aienter) "jmu" = ( @@ -62263,23 +62729,24 @@ }, /area/hallway/primary/central/ne) "jmY" = ( -/obj/effect/turf_decal/stripes/line{ - dir = 5 +/turf/simulated/floor/plasteel{ + icon_state = "redfull"; + tag = "icon-redfull (NORTHWEST)" }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 10 +/area/security/seceqstorage) +"jna" = ( +/obj/structure/sign/directions/medical{ + dir = 1 }, -/obj/structure/closet/secure_closet/security, -/obj/item/clothing/mask/balaclava, -/obj/machinery/light{ - dir = 1; - in_use = 1 +/obj/structure/sign/directions/science{ + pixel_y = 8; + dir = 1 }, -/obj/item/flashlight/seclite, -/turf/simulated/floor/plasteel{ - icon_state = "dark" +/obj/structure/sign/directions/evac{ + pixel_y = -8 }, -/area/security/seceqstorage) +/turf/simulated/wall, +/area/hallway/primary/central) "jnj" = ( /obj/structure/rack/gunrack, /obj/item/gun/projectile/automatic/sp91rc{ @@ -62413,9 +62880,7 @@ dir = 4 }, /obj/machinery/chem_dispenser/soda, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "joc" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -62689,6 +63154,7 @@ /obj/item/storage/belt/medical, /obj/item/clothing/glasses/hud/health, /obj/item/clothing/glasses/regular, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "whiteblue" @@ -63158,7 +63624,6 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint2) "jtH" = ( -/obj/structure/disposalpipe/segment, /obj/structure/cable{ icon_state = "1-2" }, @@ -63172,6 +63637,10 @@ /obj/structure/disposalpipe/segment{ dir = 6 }, +/obj/effect/turf_decal{ + dir = 6; + icon_state = "golden_stripes_corner" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -63202,15 +63671,17 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint2) "jur" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/extinguisher_cabinet{ + pixel_y = -28 }, +/obj/machinery/optable, +/obj/item/scalpel, +/obj/item/autopsy_scanner, +/obj/item/clothing/gloves/color/latex/nitrile, /turf/simulated/floor/plasteel{ - icon_state = "red" + icon_state = "darkred" }, -/area/security/lobby) +/area/security/detectives_office) "jux" = ( /obj/structure/closet/secure_closet/scientist, /obj/structure/sign/poster/official/random{ @@ -63289,9 +63760,7 @@ }, /obj/item/flag/nt, /obj/machinery/light, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "jvb" = ( /obj/machinery/light{ @@ -63312,6 +63781,12 @@ "jvk" = ( /obj/structure/table/reinforced, /obj/machinery/reagentgrinder, +/obj/machinery/requests_console{ + department = "Xenobiology"; + departmentType = 2; + name = "Xenobiology Requests Console"; + pixel_y = 28 + }, /turf/simulated/floor/plasteel, /area/toxins/xenobiology) "jvn" = ( @@ -63348,13 +63823,12 @@ }, /area/hallway/primary/starboard/south) "jvC" = ( +/obj/structure/curtain/open/shower/centcom, /obj/machinery/shower{ dir = 1; layer = 5; - pixel_y = -5; - on = 1 + pixel_y = -5 }, -/obj/structure/curtain/open/shower/centcom, /turf/simulated/floor/plasteel/freezer, /area/ntrep) "jvL" = ( @@ -63688,6 +64162,7 @@ /obj/item/storage/belt/medical, /obj/item/clothing/glasses/hud/health, /obj/item/clothing/glasses/regular, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "whiteblue"; @@ -63724,7 +64199,10 @@ c_tag = "Dorm Second Floor Cryo"; dir = 4 }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "jyU" = ( /obj/structure/cable{ @@ -63900,7 +64378,6 @@ /obj/machinery/portable_atmospherics/canister/oxygen, /obj/effect/decal/warning_stripes/yellow, /obj/machinery/power/apc{ - cell_type = 0; name = "south bump"; pixel_y = -26 }, @@ -64072,9 +64549,7 @@ /obj/machinery/keycard_auth{ pixel_y = 24 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "jBq" = ( /obj/machinery/door/window/eastright{ @@ -64177,6 +64652,9 @@ /obj/structure/table/wood, /obj/item/clipboard, /obj/item/toy/figure/detective, +/obj/structure/sign/poster/official/random{ + pixel_y = -32 + }, /turf/simulated/floor/wood, /area/security/detectives_office) "jCI" = ( @@ -64340,13 +64818,28 @@ /area/quartermaster/sorting) "jDY" = ( /obj/structure/table, -/obj/item/analyzer, -/obj/item/healthanalyzer, /obj/machinery/requests_console{ department = "Tech Storage"; name = "Tech Storage Requests Console"; pixel_y = -32 }, +/obj/item/circuitboard/smes{ + pixel_y = -4; + pixel_x = -4 + }, +/obj/item/circuitboard/powermonitor{ + pixel_y = -2; + pixel_x = -2 + }, +/obj/item/circuitboard/stationalert, +/obj/item/circuitboard/atmos_alert{ + pixel_y = 2; + pixel_x = 2 + }, +/obj/item/circuitboard/thermomachine{ + pixel_y = 4; + pixel_x = 4 + }, /turf/simulated/floor/plasteel{ icon_state = "caution" }, @@ -64472,7 +64965,6 @@ d2 = 2; icon_state = "1-2" }, -/obj/structure/fans/tiny, /obj/machinery/door/airlock/external{ frequency = 1379; id_tag = "engineering_west_inner"; @@ -64550,10 +65042,6 @@ /turf/simulated/floor/carpet/red, /area/chapel/main) "jFC" = ( -/obj/structure/bed/dogbed{ - name = "fox box" - }, -/mob/living/simple_animal/pet/dog/fox/Renault, /obj/effect/turf_decal/siding/wood{ dir = 8 }, @@ -64561,6 +65049,7 @@ dir = 8; layer = 2.9 }, +/obj/machinery/photocopier, /turf/simulated/floor/carpet/royalblue, /area/crew_quarters/captain) "jFE" = ( @@ -64634,7 +65123,7 @@ /turf/simulated/floor/wood, /area/medical/cmo) "jFR" = ( -/obj/machinery/atmospherics/pipe/simple/visible/universal, +/obj/machinery/atmospherics/pipe/simple/hidden/universal, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -64829,9 +65318,7 @@ pixel_x = 3 }, /obj/item/book/manual/sop_command, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "jHf" = ( /obj/structure/disposalpipe/segment{ @@ -64916,9 +65403,6 @@ /area/mimeoffice) "jHU" = ( /obj/machinery/vending/coffee, -/obj/structure/window/reinforced{ - dir = 1 - }, /obj/effect/decal/warning_stripes/yellow, /turf/simulated/floor/plasteel{ dir = 9; @@ -64943,6 +65427,9 @@ /obj/structure/disposalpipe/segment{ dir = 9 }, +/obj/machinery/newscaster{ + pixel_y = -30 + }, /turf/simulated/floor/plasteel{ icon_state = "cafeteria" }, @@ -64957,9 +65444,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/door/firedoor, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "jIs" = ( /turf/simulated/wall, @@ -64977,6 +65462,9 @@ name = "west fire alarm"; pixel_x = -24 }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, /turf/simulated/floor/plasteel{ icon_state = "whiteblue"; dir = 8 @@ -65131,6 +65619,15 @@ icon_state = "dark" }, /area/hallway/primary/central/second/north) +"jJp" = ( +/obj/machinery/atm{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "yellowcorner" + }, +/area/hallway/primary/starboard) "jJq" = ( /obj/structure/cable{ icon_state = "1-2" @@ -65278,7 +65775,7 @@ name = "exterior access button"; pixel_x = 25; pixel_y = -25; - req_access = list(32) + req_access = list(13) }, /obj/structure/cable{ icon_state = "0-4" @@ -65482,6 +65979,20 @@ "jLB" = ( /turf/simulated/openspace, /area/engine/controlroom) +"jLD" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "2-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "whitebluefull" + }, +/area/medical/medbay2) "jLG" = ( /obj/machinery/camera{ c_tag = "HoS Bedroom"; @@ -65742,7 +66253,10 @@ /area/maintenance/tourist) "jNs" = ( /obj/machinery/vending/cola, -/obj/effect/decal/warning_stripes/yellow, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -65998,7 +66512,6 @@ pixel_x = 2; pixel_y = 2 }, -/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ icon_state = "floorgrime" }, @@ -66125,6 +66638,12 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, /turf/simulated/floor/carpet/royalblack, /area/crew_quarters/courtroom) "jQS" = ( @@ -66529,13 +67048,22 @@ "jUk" = ( /obj/machinery/door/airlock/security/glass{ name = "Brig Customs"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ icon_state = "red" }, /area/security/brig) +"jUo" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/closet/crate/can, +/obj/item/clothing/glasses/sunglasses, +/obj/effect/spawner/lootdrop/maintenance, +/obj/item/trash/candy, +/turf/simulated/floor/plating, +/area/maintenance/asmaint) "jUp" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ @@ -66899,6 +67427,10 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -66943,6 +67475,9 @@ id_tag = "xeno5" }, /obj/effect/spawner/window/reinforced, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/toxins/xenobiology) "jXz" = ( @@ -67237,18 +67772,13 @@ /turf/simulated/wall, /area/toxins/test_chamber) "kaW" = ( -/obj/machinery/atmospherics/unary/vent_scrubber{ - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1; - dir = 1 - }, +/obj/effect/decal/cleanable/dirt, +/obj/structure/reagent_dispensers/watertank, /turf/simulated/floor/plasteel{ - dir = 6; - icon_state = "vault" + dir = 5; + icon_state = "whitehall" }, -/area/chapel/main) +/area/maintenance/fsmaint3) "kaY" = ( /turf/simulated/floor/plasteel{ icon_state = "darkbluealt" @@ -67681,19 +68211,13 @@ }, /area/security/interrogation) "keK" = ( -/obj/structure/railing{ - dir = 4 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 4 - }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 }, -/obj/machinery/door/firedoor/border_only{ - dir = 4 +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "keM" = ( /obj/structure/sign/barber{ @@ -67710,6 +68234,14 @@ /obj/effect/decal/warning_stripes/west, /turf/simulated/floor/plating, /area/maintenance/maintcentral) +"kfb" = ( +/obj/machinery/door/airlock/glass{ + name = "Holodeck Door" + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/crew_quarters/fitness) "kfc" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -67892,6 +68424,16 @@ }, /turf/simulated/floor/plating, /area/maintenance/ai) +"kgq" = ( +/obj/machinery/vending/wallmed{ + name = "North Emergency NanoMed"; + pixel_y = 30 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutralcorner" + }, +/area/crew_quarters/locker) "kgC" = ( /obj/structure/cable{ icon_state = "4-8" @@ -68097,6 +68639,17 @@ icon_state = "dark" }, /area/crew_quarters/sleep) +"khZ" = ( +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = -8; + pixel_x = 32 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "purple" + }, +/area/hallway/primary/fore) "kie" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/decal/remains/mouse, @@ -68173,7 +68726,6 @@ /area/toxins/storage) "kiE" = ( /obj/structure/table, -/obj/item/aicard, /obj/item/aiModule/reset, /obj/item/radio/intercom{ name = "east station intercom (General)"; @@ -68190,29 +68742,6 @@ icon_state = "dark" }, /area/crew_quarters/chief) -"kiI" = ( -/obj/structure/railing{ - dir = 1 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/door/firedoor/border_only{ - dir = 1 - }, -/turf/simulated/floor/wood, -/area/crew_quarters/fitness) "kiM" = ( /obj/machinery/status_display{ pixel_x = 32 @@ -68319,7 +68848,6 @@ /area/maintenance/casino) "kjF" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 4 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -68714,13 +69242,6 @@ /area/maintenance/detectives_office) "kmC" = ( /obj/machinery/door/firedoor, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plasteel{ icon_state = "red" }, @@ -69047,10 +69568,23 @@ }, /area/hallway/secondary/entry/lounge) "kpt" = ( -/obj/structure/disposalpipe/segment, +/obj/effect/decal/warning_stripes/yellow/hollow, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "browncorner" + dir = 1 }, /area/quartermaster/office) "kpA" = ( @@ -69141,6 +69675,7 @@ pixel_x = 7; pixel_y = 7 }, +/obj/item/reagent_containers/glass/bucket, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -69176,10 +69711,6 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 8; - id_tag = "aisat" - }, /turf/simulated/floor/plating, /area/turret_protected/ai) "kqA" = ( @@ -69546,6 +70077,10 @@ icon_state = "red" }, /area/security/customs) +"ktU" = ( +/obj/structure/closet/walllocker/emerglocker/east, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "ktX" = ( /obj/structure/disposalpipe/segment{ dir = 6 @@ -69642,6 +70177,10 @@ /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel/freezer, /area/ntrep) +"kuB" = ( +/obj/structure/reagent_dispensers/fueltank, +/turf/simulated/floor/plating, +/area/maintenance/brig) "kuC" = ( /obj/effect/spawner/random_spawners/rodent, /turf/simulated/floor/plating, @@ -69682,7 +70221,7 @@ dir = 10 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "kvi" = ( /obj/structure/cable{ icon_state = "4-8" @@ -69725,16 +70264,16 @@ }, /area/hallway/primary/command/west) "kvw" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, /obj/structure/cable{ icon_state = "4-8" }, /obj/effect/landmark/start/chaplain, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -69786,22 +70325,22 @@ /turf/simulated/floor/plating, /area/blueshield) "kvH" = ( -/obj/machinery/door/airlock/security/glass{ - name = "Brig Customs"; - req_access = list(63); - security_level = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/door/firedoor, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9 }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" +/obj/machinery/access_button{ + command = "cycle_interior"; + frequency = 1379; + layer = 3.3; + master_tag = "n_tool_airlock"; + name = "interior access button"; + pixel_x = -25; + pixel_y = 25; + req_access = list(13) }, -/area/security/seceqstorage) +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "kvI" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -69936,12 +70475,12 @@ }, /area/security/prisonlockers) "kwL" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 - }, +/obj/structure/table/reinforced, +/obj/item/paper_bin, +/obj/item/pen, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutral" + dir = 4; + icon_state = "darkgreen" }, /area/crew_quarters/fitness) "kwY" = ( @@ -70340,7 +70879,7 @@ dir = 8; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "kAq" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -70400,6 +70939,15 @@ icon_state = "yellow" }, /area/maintenance/electrical) +"kAX" = ( +/obj/machinery/light{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkred" + }, +/area/security/permahallway) "kAY" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 @@ -70460,6 +71008,12 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/security/prison/cell_block/A) +"kBn" = ( +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "kBq" = ( /obj/machinery/atmospherics/unary/vent_scrubber{ name = "standard air scrubber"; @@ -70525,6 +71079,9 @@ /obj/structure/sign/directions/medical{ dir = 1 }, +/obj/structure/sign/directions/evac{ + pixel_y = -8 + }, /turf/simulated/wall, /area/hallway/primary/central/second/north) "kCc" = ( @@ -70731,6 +71288,13 @@ icon_state = "brown" }, /area/quartermaster/miningstorage) +"kDG" = ( +/obj/machinery/newscaster{ + pixel_y = 0; + pixel_x = 32 + }, +/turf/simulated/floor/wood/dark, +/area/crew_quarters/bar/atrium) "kDL" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/grille/broken, @@ -70859,6 +71423,10 @@ /obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plating, /area/maintenance/fsmaint) +"kEV" = ( +/obj/machinery/light/small, +/turf/simulated/floor/plating, +/area/maintenance/brig) "kEY" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -71097,14 +71665,23 @@ }, /area/crew_quarters/toilet4) "kGR" = ( -/obj/structure/closet/crate/can, -/obj/item/clothing/glasses/sunglasses, -/obj/effect/spawner/lootdrop/maintenance, -/obj/item/trash/candy, +/obj/structure/ladder, /turf/simulated/floor/plasteel{ icon_state = "floorgrime" }, /area/maintenance/asmaint) +"kGS" = ( +/obj/structure/railing/corner{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "kGY" = ( /obj/machinery/light/small, /obj/effect/decal/cleanable/dirt, @@ -71184,12 +71761,13 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/door/firedoor, /obj/machinery/door/airlock/highsecurity{ name = "Secure Tech Storage"; req_access = list(19,23); + check_one_access = 0; security_level = 6 }, -/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel, /area/storage/tech) "kHT" = ( @@ -71299,7 +71877,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/turretid/stun{ - control_area = "\improper AI Upload Chamber"; + control_area = "AI Upload Chamber"; name = "AI Upload Turret Control"; pixel_y = -24; req_access = list(75); @@ -71308,13 +71886,19 @@ /turf/simulated/floor/plasteel/dark, /area/turret_protected/ai_upload) "kIz" = ( -/obj/machinery/vending/wallmed{ - pixel_y = -30 +/obj/structure/sign/poster/official/random{ + pixel_y = 32 }, -/turf/simulated/floor/plasteel{ - icon_state = "red" +/obj/machinery/light{ + dir = 1; + in_use = 1 }, -/area/security/lobby) +/obj/structure/disposalpipe/trunk{ + dir = 4 + }, +/obj/machinery/disposal, +/turf/simulated/floor/wood, +/area/security/detectives_office) "kIK" = ( /obj/machinery/bodyscanner{ dir = 4 @@ -71577,7 +72161,6 @@ layer = 2.9 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -71907,6 +72490,13 @@ /area/crew_quarters/courtroom) "kOb" = ( /obj/structure/disposalpipe/segment, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, +/obj/machinery/newscaster{ + pixel_x = -30 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -72140,6 +72730,10 @@ /obj/machinery/light{ dir = 8 }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -72425,6 +73019,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -72434,6 +73031,9 @@ /obj/machinery/light{ dir = 4 }, +/obj/machinery/newscaster{ + pixel_x = 30 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "green" @@ -72551,13 +73151,14 @@ /turf/simulated/floor/wood, /area/medical/cmo) "kTK" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/status_display{ + pixel_y = -32 }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/machinery/light, +/turf/simulated/floor/plasteel{ + dir = 2; + icon_state = "darkgreen" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "kTP" = ( /obj/effect/decal/cleanable/dust, @@ -73028,9 +73629,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "kWL" = ( /obj/machinery/computer/card/minor/hos, @@ -73639,15 +74238,14 @@ /area/maintenance/fsmaint3) "lbn" = ( /obj/structure/chair/comfy/teal, -/obj/machinery/power/apc{ - dir = 4; - name = "east bump"; - pixel_x = 26 +/obj/effect/landmark/start/intern, +/obj/machinery/camera{ + c_tag = "Medbay Break Room"; + dir = 8 }, -/obj/structure/cable{ - icon_state = "0-8" +/obj/structure/sign/poster/official/random{ + pixel_x = 32 }, -/obj/effect/landmark/start/intern, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "whiteblue"; @@ -73834,13 +74432,16 @@ /turf/simulated/floor/plating, /area/maintenance/brig) "lch" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/structure/window/reinforced{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluealt" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "lci" = ( /obj/structure/table/wood, @@ -73908,9 +74509,6 @@ /obj/machinery/light_construct, /turf/simulated/floor/wood, /area/maintenance/casino) -"lcT" = ( -/turf/simulated/wall/r_wall, -/area/security/holding_cell) "lcY" = ( /turf/simulated/wall/r_wall, /area/blueshield) @@ -73949,20 +74547,14 @@ /turf/simulated/floor/plasteel, /area/engine/mechanic_workshop/expedition) "ldl" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - dir = 1 +/obj/structure/cable{ + icon_state = "1-2" }, -/obj/effect/turf_decal/stripes/line{ - do_not_delete_me = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/obj/effect/turf_decal/stripes/red/line, -/obj/item/clothing/mask/balaclava, -/obj/structure/disposalpipe/segment, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 1 }, /area/security/seceqstorage) "ldn" = ( @@ -74114,8 +74706,12 @@ }, /area/storage/eva) "leN" = ( -/obj/effect/decal/warning_stripes/yellow/hollow, -/turf/simulated/floor/plasteel, +/obj/item/twohanded/required/kirbyplants, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/fitness) "leV" = ( /obj/machinery/kitchen_machine/candy_maker, @@ -74143,13 +74739,11 @@ }, /area/medical/reception) "lfg" = ( -/obj/structure/closet/secure_closet/cargotech, -/obj/item/stamp/granted, -/obj/item/stamp/denied, /obj/machinery/camera{ c_tag = "Cargo Office East"; dir = 8 }, +/obj/machinery/vending/cigarette, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -74181,8 +74775,11 @@ }, /area/hallway/primary/central/se) "lfn" = ( -/obj/machinery/hologram/holopad, -/obj/effect/decal/warning_stripes/yellow/hollow, +/obj/structure/weightmachine/stacklifter, +/obj/machinery/light{ + dir = 1; + in_use = 1 + }, /turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "lfp" = ( @@ -74257,6 +74854,10 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/machinery/camera{ + c_tag = "Supermatter North"; + network = list("SS13","Engineering") + }, /turf/simulated/floor/plasteel, /area/engine/controlroom) "lgr" = ( @@ -74305,15 +74906,17 @@ /area/toxins/xenobiology) "lgx" = ( /obj/structure/table/wood, -/obj/machinery/firealarm{ - dir = 1; - pixel_y = 28 - }, +/obj/item/storage/photo_album, /obj/item/camera{ desc = "A one use - polaroid camera. 30 photos left."; name = "detectives camera"; pictures_left = 30 }, +/obj/machinery/camera{ + c_tag = "Detective's Office"; + dir = 8; + network = list("SS13","Security") + }, /turf/simulated/floor/wood, /area/security/detectives_office) "lgz" = ( @@ -74322,18 +74925,6 @@ }, /turf/simulated/floor/shuttle/plating, /area/shuttle/arrival/station) -"lgC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" - }, -/area/security/seceqstorage) "lgE" = ( /obj/machinery/door/airlock/external{ frequency = 1379; @@ -74499,15 +75090,29 @@ }, /area/security/reception) "lhO" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, /obj/effect/decal/cleanable/dirt, /obj/machinery/light/small{ dir = 1 }, +/obj/structure/cable{ + icon_state = "0-4" + }, +/obj/machinery/power/apc{ + dir = 1; + name = "north bump"; + pixel_y = 26 + }, /turf/simulated/floor/plating, /area/maintenance/asmaint2) +"lhV" = ( +/obj/structure/railing/corner{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "lhW" = ( /obj/structure/cable{ icon_state = "1-2" @@ -74607,10 +75212,16 @@ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, /area/quartermaster/office) +"liB" = ( +/obj/structure/flora/junglebush, +/obj/structure/flora/ausbushes/sparsegrass/hell, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "liC" = ( /obj/item/flag/cargo, /obj/effect/decal/cleanable/dirt, @@ -74624,10 +75235,11 @@ }, /area/quartermaster/delivery) "liD" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/computer/HolodeckControl, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkgreen" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "ljh" = ( /obj/effect/spawner/lootdrop/maintenance{ @@ -74664,6 +75276,16 @@ icon_state = "hydrofloor" }, /area/crew_quarters/kitchen) +"ljB" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "whitepurple"; + tag = "icon-whitepurple (NORTH)" + }, +/area/toxins/launch) "ljG" = ( /obj/structure/chair/comfy/brown{ dir = 1 @@ -74770,6 +75392,7 @@ /turf/simulated/floor/plating, /area/maintenance/disposal) "lkD" = ( +/obj/item/twohanded/required/kirbyplants, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkgreenfull" @@ -75071,8 +75694,7 @@ }, /area/storage/primary) "lno" = ( -/obj/structure/table, -/obj/structure/bedsheetbin, +/obj/structure/closet/wardrobe/white, /turf/simulated/floor/plasteel{ icon_state = "barber" }, @@ -75140,10 +75762,6 @@ /obj/machinery/light/small{ dir = 1 }, -/obj/machinery/vending/wallmed{ - name = "Emergency NanoMed"; - pixel_y = 28 - }, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "darkred" @@ -75157,7 +75775,8 @@ /obj/machinery/door/airlock/security/glass{ id_tag = "BrigEast"; name = "Brig North Entrance"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -75310,6 +75929,7 @@ name = "south fire alarm"; pixel_y = 26 }, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ icon_state = "floorgrime" }, @@ -75342,9 +75962,6 @@ }, /area/medical/virology/lab) "lpE" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(12) - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -75354,6 +75971,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/machinery/door/airlock/maintenance, /turf/simulated/floor/plating, /area/maintenance/brig) "lpF" = ( @@ -75369,7 +75987,6 @@ id_tag = "ntstation"; locked = 1 }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel, /area/maintenance/tourist) "lpK" = ( @@ -75406,11 +76023,11 @@ icon_state = "1-2" }, /obj/effect/decal/warning_stripes/north, -/obj/machinery/atmospherics/pipe/simple/visible/universal{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/universal{ + dir = 4 + }, /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) "lqu" = ( @@ -75484,11 +76101,12 @@ }, /area/atmos) "lqP" = ( -/obj/structure/table, -/obj/item/storage/fancy/donut_box, /obj/structure/sign/poster/official/random{ pixel_y = -32 }, +/obj/structure/table, +/obj/item/storage/fancy/crayons, +/obj/item/toy/figure/assistant, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -75764,7 +76382,10 @@ /turf/simulated/wall, /area/engine/break_room) "ltp" = ( -/obj/structure/closet/emcloset, +/obj/machinery/newscaster{ + pixel_y = 32 + }, +/obj/machinery/libraryscanner, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "yellow" @@ -75787,6 +76408,9 @@ /area/lawoffice) "ltt" = ( /obj/machinery/atmospherics/pipe/simple/visible, +/obj/machinery/newscaster/security_unit{ + pixel_x = 30 + }, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "darkred" @@ -75929,9 +76553,7 @@ /area/maintenance/banya) "luG" = ( /obj/structure/disposalpipe/segment, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "luO" = ( /obj/effect/landmark/start/cargo_technician, @@ -76039,9 +76661,6 @@ name = "CargoBay Shutters South" }, /obj/machinery/door/firedoor, -/obj/structure/disposalpipe/segment{ - dir = 4 - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "open"; @@ -76224,8 +76843,14 @@ }, /area/security/processing) "lxw" = ( -/obj/structure/disposalpipe/segment{ - dir = 5 +/obj/machinery/disposal, +/obj/structure/sign/deathsposal{ + pixel_y = 0; + pixel_x = 32 + }, +/obj/effect/decal/warning_stripes/red, +/obj/structure/disposalpipe/trunk{ + dir = 8 }, /turf/simulated/floor/plasteel{ dir = 6; @@ -76412,6 +77037,7 @@ /obj/structure/bookcase{ name = "bookcase (Adult)" }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "lzd" = ( @@ -76787,6 +77413,10 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/light{ + dir = 1; + in_use = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -76832,7 +77462,7 @@ /turf/simulated/floor/plasteel{ dir = 1 }, -/area/security/main) +/area/security/processing) "lCm" = ( /obj/structure/cable{ icon_state = "1-2" @@ -76900,9 +77530,7 @@ icon_state = "2-8" }, /obj/machinery/hologram/holopad, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "lCI" = ( /obj/effect/spawner/window/reinforced, @@ -77142,7 +77770,7 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/structure/disposalpipe/junction{ +/obj/structure/disposalpipe/segment{ dir = 4 }, /turf/simulated/floor/plasteel{ @@ -77263,9 +77891,7 @@ }, /area/security/lobby) "lFq" = ( -/obj/machinery/fishtank/wall{ - opacity = 1 - }, +/obj/machinery/fishtank/tank, /turf/simulated/floor/carpet/royalblack, /area/ntrep) "lFB" = ( @@ -77315,9 +77941,9 @@ /area/engine/mechanic_workshop/hangar) "lFI" = ( /obj/effect/decal/cleanable/dirt, -/obj/item/wirecutters, /obj/structure/rack, -/obj/item/crowbar/large, +/obj/item/wrench, +/obj/random/tool, /turf/simulated/floor/plating, /area/maintenance/perma) "lFM" = ( @@ -77331,7 +77957,6 @@ /area/maintenance/ai) "lFQ" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -77359,6 +77984,21 @@ icon_state = "tranquillite" }, /area/security/permabrig) +"lFY" = ( +/obj/machinery/door/airlock/public/glass{ + name = "Walkway" + }, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/caution/red, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/hallway/primary/port/south) "lGe" = ( /obj/structure/cable{ icon_state = "2-4" @@ -77616,9 +78256,7 @@ }, /area/hallway/primary/central/second/west) "lIv" = ( -/obj/effect/decal/cleanable/dirt, -/obj/structure/grille, -/turf/simulated/floor/plating, +/turf/simulated/wall/r_wall, /area/maintenance/fore) "lIC" = ( /obj/effect/decal/warning_stripes/yellow/hollow, @@ -77731,6 +78369,17 @@ icon_state = "dark" }, /area/aisat/maintenance) +"lJL" = ( +/obj/machinery/crematorium{ + id = "creamed" + }, +/obj/structure/sign/fire{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel{ + icon_state = "cult" + }, +/area/chapel/office) "lJU" = ( /obj/structure/window/reinforced{ dir = 8 @@ -77866,13 +78515,6 @@ }, /turf/simulated/floor/plating, /area/maintenance/asmaint3) -"lKR" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/turf/simulated/floor/plating, -/area/crew_quarters/fitness) "lKV" = ( /obj/effect/turf_decal/arrows/white{ dir = 4 @@ -78151,6 +78793,13 @@ icon_state = "neutralfull" }, /area/hallway/secondary/entry/commercial) +"lNF" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/table, +/obj/random/toolbox, +/obj/item/wrench, +/turf/simulated/floor/plating, +/area/maintenance/asmaint6) "lNK" = ( /obj/item/toy/figure/ninja, /obj/machinery/atmospherics/unary/vent_pump/high_volume{ @@ -78165,18 +78814,21 @@ /turf/simulated/wall, /area/engine/aienter) "lNW" = ( -/obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, +/obj/effect/decal/warning_stripes/yellow, /obj/structure/cable{ d1 = 4; d2 = 8; icon_state = "4-8" }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -78369,23 +79021,16 @@ /obj/structure/disposalpipe/trunk{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "lPE" = ( /obj/effect/turf_decal/siding/wood, /obj/item/radio/intercom{ pixel_y = 21 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "lPF" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(12) - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -78395,6 +79040,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/machinery/door/airlock/maintenance{ + name = "Detective Maintenance"; + req_access = list(4); + security_level = 1 + }, /turf/simulated/floor/plating, /area/maintenance/brig) "lPM" = ( @@ -78411,6 +79061,9 @@ pixel_y = 4; pixel_x = 4 }, +/obj/effect/turf_decal{ + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -78959,7 +79612,8 @@ "lUr" = ( /obj/structure/barricade/wooden, /obj/machinery/door/airlock/maintenance{ - name = "Telescience" + name = "Telescience"; + req_access = list(47) }, /turf/simulated/floor/plating, /area/teleporter/abandoned) @@ -79245,9 +79899,7 @@ }, /area/engine/mechanic_workshop/hangar) "lVZ" = ( -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "lWk" = ( /obj/structure/cable, @@ -79282,8 +79934,9 @@ }, /area/maintenance/fsmaint3) "lWn" = ( +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ - icon_state = "red" + dir = 1 }, /area/security/lobby) "lWo" = ( @@ -79333,6 +79986,10 @@ }, /turf/simulated/floor/wood, /area/medical/psych) +"lWy" = ( +/obj/structure/closet/firecloset, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "lWD" = ( /obj/machinery/atmospherics/pipe/manifold/visible/yellow{ desc = "Труба хранит в себе набор газов для смешивания"; @@ -79415,17 +80072,22 @@ }, /area/atmos) "lXl" = ( -/obj/structure/sign/directions/cargo{ - dir = 4; - pixel_y = 8 +/obj/structure/table, +/obj/item/storage/toolbox/mechanical{ + pixel_x = -2; + pixel_y = -1 }, -/obj/structure/sign/directions/evac, -/obj/structure/sign/directions/engineering{ +/obj/item/storage/toolbox/emergency, +/obj/machinery/requests_console{ + department = "Locker Room"; + name = "Locker Room Requests Console"; + pixel_x = 32 + }, +/turf/simulated/floor/plasteel{ dir = 4; - pixel_y = -8 + icon_state = "neutralcorner" }, -/turf/simulated/wall, -/area/hallway/primary/central) +/area/crew_quarters/locker) "lXq" = ( /obj/structure/cable{ icon_state = "1-2" @@ -79459,15 +80121,8 @@ /turf/simulated/floor/plating, /area/maintenance/fore) "lXC" = ( -/obj/structure/closet/secure_closet/security, -/obj/effect/turf_decal/stripes/line{ - dir = 10 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 5 - }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, +/obj/machinery/vending/security, +/obj/effect/decal/warning_stripes/red/hollow, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -79713,6 +80368,7 @@ /area/security/main) "lZE" = ( /obj/effect/decal/cleanable/dirt, +/obj/item/clothing/mask/gas, /turf/simulated/floor/plasteel{ icon_state = "yellowfull" }, @@ -79737,14 +80393,6 @@ /obj/machinery/door_control{ id = "ailockdown"; name = "AI Asteroid Lockdown"; - pixel_x = -5; - pixel_y = -27; - req_access = list(56) - }, -/obj/machinery/door_control{ - id = "aisat"; - name = "AI Core Lockdown"; - pixel_x = 5; pixel_y = -27; req_access = list(56) }, @@ -79776,6 +80424,14 @@ icon_state = "dark" }, /area/turret_protected/ai) +"mac" = ( +/obj/effect/decal/cleanable/dirt, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/effect/spawner/lootdrop/maintenance, +/turf/simulated/floor/plating, +/area/maintenance/perma) "mae" = ( /obj/machinery/light{ dir = 4 @@ -79804,21 +80460,20 @@ /turf/simulated/floor/plasteel, /area/toxins/xenobiology) "maC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/machinery/status_display{ + pixel_y = 32 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/camera{ + c_tag = "Holodeck Control Room" }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/obj/machinery/light{ + dir = 1; + in_use = 1 }, -/obj/machinery/camera{ - c_tag = "Rec Room Second Floor North" +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "maD" = ( /obj/machinery/door/airlock/maintenance{ @@ -79868,20 +80523,6 @@ /obj/structure/lattice/catwalk, /turf/space, /area/solar/port) -"maZ" = ( -/obj/machinery/status_display{ - pixel_y = -32 - }, -/obj/machinery/atmospherics/unary/vent_scrubber{ - dir = 8; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 - }, -/obj/machinery/light, -/turf/simulated/floor/plasteel, -/area/crew_quarters/fitness) "mbd" = ( /obj/machinery/atmospherics/unary/vent_scrubber{ name = "standard air scrubber"; @@ -80141,12 +80782,8 @@ /turf/simulated/floor/plating/airless, /area/engine/engineering) "mct" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 8 - }, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + icon_state = "red" }, /area/security/seceqstorage) "mcx" = ( @@ -80208,6 +80845,10 @@ /obj/item/tank/internals/emergency_oxygen/empty, /obj/item/clothing/mask/breath, /obj/item/radio, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 30 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "darkyellow" @@ -80313,7 +80954,6 @@ /area/quartermaster/delivery) "mdh" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/chair{ @@ -80598,6 +81238,14 @@ }, /turf/simulated/floor/plating, /area/maintenance/apmaint) +"meZ" = ( +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 8; + frequency = 1379; + id_tag = "solar_chapel_pump" + }, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "mfb" = ( /obj/effect/decal/warning_stripes/south, /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ @@ -80658,7 +81306,6 @@ pixel_y = 5; pixel_x = 5 }, -/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -80778,13 +81425,13 @@ }, /area/hallway/secondary/exit) "mfU" = ( -/obj/structure/window/reinforced{ - dir = 8 - }, /obj/structure/chair/comfy/black{ dir = 4 }, /obj/effect/landmark/start/civilian, +/obj/structure/window/reinforced{ + dir = 8 + }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) "mfW" = ( @@ -81175,12 +81822,18 @@ }, /area/hallway/primary/central/west) "mjx" = ( -/obj/item/twohanded/required/kirbyplants, +/obj/machinery/photocopier, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "red" }, /area/hallway/primary/central/second/west) +"mjC" = ( +/obj/structure/flora/tree/jungle/small{ + pixel_y = -2 + }, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "mjG" = ( /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -81265,9 +81918,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "mjV" = ( /obj/effect/decal/warning_stripes/southwestcorner, @@ -81356,6 +82007,7 @@ icon_state = "2-8" }, /obj/machinery/door/firedoor, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -81370,7 +82022,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -81647,7 +82298,20 @@ /turf/simulated/floor/wood, /area/library) "mmn" = ( -/obj/structure/disposalpipe/segment, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -81883,23 +82547,13 @@ /turf/simulated/floor/wood, /area/library) "moy" = ( -/obj/machinery/door/airlock/public/glass{ - name = "Pet Store" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/effect/turf_decal/siding/wood, -/obj/structure/cable{ - icon_state = "1-2" +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 }, -/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ - icon_state = "floorgrime" + icon_state = "dark" }, -/area/storage/office) +/area/crew_quarters/fitness) "moA" = ( /obj/structure/disposalpipe/segment{ dir = 9 @@ -82049,10 +82703,10 @@ name = "Captain's Desk Door"; req_access = list(20) }, -/obj/item/stamp/captain, /obj/effect/turf_decal/siding/wood{ dir = 8 }, +/obj/item/stamp/captain, /turf/simulated/floor/carpet/royalblue, /area/crew_quarters/captain) "mqb" = ( @@ -82248,7 +82902,6 @@ name = "Engineering External Access"; req_access = list(10,13) }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "podfloor" @@ -82293,6 +82946,10 @@ /obj/machinery/light{ dir = 8 }, +/obj/machinery/firealarm{ + dir = 8; + pixel_x = -25 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "brown" @@ -82333,9 +82990,7 @@ /mob/living/carbon/human/lesser/monkey/punpun{ icon_state = "punpun1" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "mtx" = ( /obj/structure/table/reinforced, @@ -82695,8 +83350,12 @@ /turf/simulated/floor/plating/airless, /area/space) "mwG" = ( -/obj/machinery/door/firedoor, -/obj/effect/turf_decal/delivery, +/obj/machinery/door/firedoor/border_only{ + dir = 8 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -82819,6 +83478,12 @@ }, /turf/simulated/floor/plating, /area/maintenance/trading) +"mxw" = ( +/obj/structure/flora/tree/jungle/small{ + pixel_y = -8 + }, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "mxx" = ( /obj/structure/railing{ dir = 8 @@ -83003,6 +83668,16 @@ }, /turf/simulated/floor/plasteel, /area/engine/controlroom) +"myO" = ( +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 30 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "red" + }, +/area/hallway/primary/central/second/west) "myP" = ( /obj/machinery/vending/cigarette, /obj/effect/decal/warning_stripes/red/hollow, @@ -83014,7 +83689,7 @@ "myQ" = ( /obj/structure/table/reinforced, /obj/item/taperecorder, -/obj/item/clothing/glasses/sunglasses/blindfold, +/obj/item/clothing/glasses/sunglasses/blindfold/black, /obj/structure/window/reinforced{ color = "red"; dir = 8 @@ -83046,6 +83721,18 @@ dir = 1 }, /area/hallway/primary/central/second/west) +"mzt" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/crew_quarters/fitness) "mzx" = ( /obj/structure/cable{ icon_state = "1-2" @@ -83359,7 +84046,7 @@ icon_state = "0-4" }, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "mCf" = ( /obj/machinery/atmospherics/pipe/multiz{ dir = 8 @@ -83458,7 +84145,6 @@ }, /area/medical/medrest) "mDi" = ( -/obj/structure/plasticflaps/mining, /obj/machinery/conveyor{ id = "QMLoad" }, @@ -83469,6 +84155,7 @@ name = "Cargo Lockdown"; opacity = 0 }, +/obj/structure/plasticflaps/mining, /turf/simulated/floor/plating, /area/quartermaster/delivery) "mDl" = ( @@ -83587,12 +84274,12 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint) "mEe" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 + }, /turf/simulated/floor/plasteel{ icon_state = "neutral" }, @@ -83689,14 +84376,33 @@ }, /area/bridge) "mEN" = ( -/obj/structure/chair/comfy/brown{ - dir = 1 +/obj/structure/window/reinforced{ + dir = 4 + }, +/obj/structure/closet/secure_closet{ + anchored = 1; + name = "Evidence Storage"; + req_access = list(4) + }, +/obj/item/storage/box/bodybags, +/obj/item/folder/red, +/obj/item/folder/red, +/obj/item/folder/red, +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkred" }, -/turf/simulated/floor/wood, /area/security/detectives_office) "mEV" = ( /turf/simulated/floor/wood, /area/crew_quarters/serviceyard) +"mFh" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/landmark/start/cargo_technician, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, +/area/quartermaster/delivery) "mFi" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -83826,9 +84532,7 @@ /area/crew_quarters/toilet) "mGm" = ( /obj/machinery/vending/boozeomat, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "mGw" = ( /obj/machinery/camera{ @@ -84434,7 +85138,10 @@ pixel_x = -22 }, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "mKN" = ( /obj/structure/sign/science{ @@ -84706,7 +85413,6 @@ /obj/structure/cable{ icon_state = "0-8" }, -/obj/item/clothing/under/fluff/kikeridress, /obj/item/clothing/under/fluff/soviet_casual_uniform, /turf/simulated/floor/carpet/black, /area/crew_quarters/cabin2) @@ -84767,10 +85473,13 @@ }, /area/toxins/test_chamber) "mMy" = ( -/obj/structure/table/reinforced, -/obj/item/paper_bin, -/obj/item/pen, -/turf/simulated/floor/plasteel, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "mMG" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -84960,6 +85669,19 @@ icon_state = "neutralfull" }, /area/hallway/primary/central/se) +"mND" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "2-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "white" + }, +/area/medical/cryo) "mNG" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -85007,6 +85729,9 @@ locked = 1; name = "Firing Range Privacy Shutters" }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/security/range) "mNU" = ( @@ -85055,6 +85780,7 @@ /obj/item/storage/belt/medical, /obj/item/clothing/glasses/hud/health, /obj/item/clothing/glasses/regular, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whiteblue"; @@ -85132,13 +85858,13 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel{ - icon_state = "red" +/obj/structure/disposalpipe/segment{ + dir = 9 }, -/area/security/lobby) +/turf/simulated/floor/wood, +/area/security/detectives_office) "mOV" = ( /obj/structure/chair/comfy/red{ dir = 4 @@ -85195,6 +85921,9 @@ dir = 4 }, /obj/machinery/door/firedoor, +/obj/effect/turf_decal/siding/wood{ + dir = 4 + }, /turf/simulated/floor/plasteel/freezer, /area/crew_quarters/heads/hop) "mPn" = ( @@ -85240,17 +85969,11 @@ }, /area/toxins/test_chamber) "mPE" = ( -/obj/machinery/alarm{ - dir = 8; - pixel_x = 24 - }, -/obj/structure/table/wood, -/obj/item/stack/wrapping_paper, -/obj/machinery/light/small{ - dir = 4 +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, -/area/civilian/pet_store) +/area/crew_quarters/fitness) "mPF" = ( /obj/spacepod/sec, /turf/simulated/floor/plasteel{ @@ -85337,12 +86060,15 @@ /turf/simulated/wall/rust, /area/maintenance/backstage) "mQB" = ( -/obj/structure/table, -/obj/item/camera, +/obj/structure/disposalpipe/segment, +/obj/structure/sign/directions/evac{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ - dir = 8 + dir = 4; + icon_state = "neutral" }, -/area/crew_quarters/locker) +/area/crew_quarters/serviceyard) "mQF" = ( /obj/structure/table/wood, /obj/item/paper_bin, @@ -85525,7 +86251,8 @@ icon_state = "1-2" }, /obj/machinery/door/airlock/maintenance{ - name = "Telescience" + name = "Telescience"; + req_access = list(47) }, /turf/simulated/floor/plating, /area/teleporter/abandoned) @@ -85732,16 +86459,22 @@ }, /turf/simulated/floor/plasteel/freezer, /area/crew_quarters/toilet2) +"mTa" = ( +/obj/effect/decal/cleanable/dirt, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = 26 + }, +/turf/simulated/floor/plating, +/area/maintenance/secpost) "mTk" = ( /obj/structure/cable{ - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 + icon_state = "4-8" }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + dir = 6; + icon_state = "red" }, /area/security/seceqstorage) "mTl" = ( @@ -85795,8 +86528,12 @@ }, /area/chapel/main) "mTC" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 }, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" @@ -85921,7 +86658,8 @@ id = "conferenceroomwindows"; id_tag = "conferenceroombolts"; name = "Conference Room"; - req_access = list(19) + req_access = list(19); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment, @@ -85959,6 +86697,9 @@ dir = 8; pixel_x = 25 }, +/obj/machinery/light{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "blue" @@ -85977,7 +86718,6 @@ /area/medical/virology/lab) "mVb" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/plasteel/dark, @@ -86205,7 +86945,7 @@ /obj/structure/extinguisher_cabinet{ pixel_x = -28 }, -/obj/machinery/camera{ +/obj/machinery/camera/emp_proof{ c_tag = "Particle Accellerator"; dir = 4; network = list("Engineering","SS13") @@ -86392,6 +87132,21 @@ icon_state = "whitegreencorner" }, /area/medical/virology/lab) +"mYB" = ( +/obj/structure/sign/directions/cargo{ + dir = 1; + pixel_y = -8 + }, +/obj/structure/sign/directions/science{ + dir = 1; + pixel_y = 0 + }, +/obj/structure/sign/directions/engineering{ + dir = 1; + pixel_y = 8 + }, +/turf/simulated/wall, +/area/crew_quarters/serviceyard) "mYD" = ( /obj/structure/window/reinforced{ dir = 1 @@ -86517,6 +87272,7 @@ dir = 1 }, /obj/machinery/door/firedoor/border_only, +/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "darkbluealt" @@ -86661,12 +87417,8 @@ dir = 1; layer = 2.9 }, -/obj/machinery/atmospherics/unary/vent_scrubber{ - dir = 8; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 }, /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -86806,6 +87558,18 @@ /obj/effect/landmark/event/blobstart, /turf/simulated/floor/plating, /area/maintenance/medroom) +"nbl" = ( +/obj/structure/railing{ + dir = 9 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 9 + }, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "nbn" = ( /obj/structure/chair/wood/wings{ dir = 8; @@ -86842,10 +87606,6 @@ }, /area/security/processing) "nbu" = ( -/obj/structure/closet/secure_closet/guncabinet{ - anchored = 1; - name = "Lethal Bullets" - }, /obj/item/ammo_box/magazine/enforcer/lethal{ pixel_x = 3; pixel_y = -3 @@ -86860,6 +87620,22 @@ pixel_y = 6 }, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/rack{ + dir = 8; + layer = 2.9 + }, +/obj/structure/window/reinforced{ + color = "red" + }, +/obj/structure/window/reinforced{ + color = "red"; + dir = 1 + }, +/obj/machinery/door/window{ + name = "Secure Armory"; + req_access = list(1); + color = "red" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -86952,11 +87728,16 @@ /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) "nbR" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 + }, +/obj/structure/window/reinforced{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/plating, /area/crew_quarters/fitness) "ncg" = ( /obj/machinery/door/airlock/security/glass{ @@ -87266,9 +88047,10 @@ /obj/structure/cable{ icon_state = "0-8" }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "red" + icon_state = "redfull"; + tag = "icon-redfull (NORTHWEST)" }, /area/security/seceqstorage) "new" = ( @@ -87300,9 +88082,11 @@ }, /area/hallway/primary/central/second/east) "neK" = ( -/obj/structure/sign/directions/evac, +/obj/structure/sign/directions/evac{ + pixel_y = 0 + }, /turf/simulated/wall, -/area/crew_quarters/locker) +/area/hallway/spacebridge/comcar) "neM" = ( /obj/effect/decal/warning_stripes/yellow, /obj/machinery/door/window/southleft{ @@ -87534,19 +88318,27 @@ /turf/simulated/floor/engine, /area/engine/supermatter) "ngz" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/structure/cable{ - icon_state = "1-4" +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, /area/crew_quarters/sleep/secondary) "ngB" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/plasteel, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluealt" + }, /area/crew_quarters/fitness) "ngN" = ( /obj/structure/lattice, @@ -87923,7 +88715,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -88069,10 +88860,14 @@ }, /area/medical/sleeper) "njR" = ( -/obj/structure/filingcabinet/chestdrawer/autopsy, /obj/machinery/alarm{ pixel_y = 24 }, +/obj/structure/disposalpipe/trunk{ + dir = 8 + }, +/obj/machinery/disposal, +/obj/effect/decal/warning_stripes/yellow/hollow, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "dark"; @@ -88176,7 +88971,8 @@ /obj/machinery/door/airlock/security/glass{ id_tag = "BrigLeft"; name = "Brig"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/machinery/door/poddoor{ @@ -88307,20 +89103,6 @@ }, /turf/simulated/floor/plasteel, /area/engine/engineering) -"nmg" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - icon_state = "white" - }, -/area/medical/paramedic) "nmq" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/access_button{ @@ -88501,6 +89283,12 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/toxins/rdoffice) +"nnc" = ( +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "darkgreen" + }, +/area/crew_quarters/fitness) "nnk" = ( /obj/effect/decal/warning_stripes/west{ icon = 'icons/turf/floors.dmi'; @@ -88583,6 +89371,10 @@ /obj/structure/table/wood/poker, /obj/effect/decal/cleanable/dust, /obj/effect/spawner/lootdrop/maintenance, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = 26 + }, /turf/simulated/floor/wood, /area/maintenance/casino) "nnV" = ( @@ -88735,7 +89527,8 @@ /turf/simulated/floor/engine/n20, /area/atmos) "npx" = ( -/obj/structure/chair/stool, +/obj/structure/table, +/obj/item/storage/fancy/donut_box, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutralcorner" @@ -88822,7 +89615,7 @@ dir = 4 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "nqt" = ( /obj/machinery/door/airlock/public/glass{ name = "Casino" @@ -88912,9 +89705,7 @@ /obj/effect/turf_decal/siding/wood/corner{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "nrr" = ( /obj/machinery/door/firedoor, @@ -89070,9 +89861,7 @@ /obj/structure/table, /obj/item/book/manual/barman_recipes, /obj/item/reagent_containers/food/drinks/shaker, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "ntk" = ( /obj/structure/railing{ @@ -89323,6 +90112,22 @@ icon_state = "dark" }, /area/maintenance/trading) +"nvo" = ( +/obj/structure/table/reinforced, +/obj/machinery/door/firedoor, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "Bar"; + name = "Bar Privacy Shutters" + }, +/obj/item/storage/box/papersack, +/obj/item/storage/box/papersack, +/obj/item/storage/box/papersack, +/turf/simulated/floor/light{ + icon_state = "light_on-p"; + state = 7 + }, +/area/crew_quarters/bar) "nvr" = ( /obj/structure/chair/sofa, /turf/simulated/floor/plasteel{ @@ -89366,6 +90171,9 @@ /area/hallway/secondary/exit) "nvF" = ( /obj/machinery/washing_machine, +/obj/machinery/newscaster{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "whitegreen" @@ -89495,7 +90303,8 @@ "nws" = ( /obj/machinery/door/airlock/security/glass{ name = "Brig Customs"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ @@ -89554,6 +90363,19 @@ /obj/item/storage/briefcase, /turf/simulated/floor/carpet/red, /area/civilian/vacantoffice) +"nxa" = ( +/obj/machinery/access_button{ + command = "cycle_exterior"; + frequency = 1379; + layer = 3.3; + master_tag = "solar_chapel_airlock"; + name = "exterior access button"; + pixel_x = -25; + pixel_y = -25; + req_access = list(10,13) + }, +/turf/simulated/floor/engine/hull/reinforced, +/area/space) "nxg" = ( /obj/machinery/computer/crew{ dir = 4 @@ -89613,7 +90435,6 @@ }, /obj/structure/window/reinforced, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -89814,6 +90635,9 @@ dir = 1; in_use = 1 }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutralcorner" @@ -89874,7 +90698,10 @@ pixel_x = -28 }, /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "nzv" = ( /obj/effect/spawner/random_spawners/rodent, @@ -90324,7 +91151,12 @@ /turf/simulated/openspace, /area/engine/supermatter) "nCl" = ( -/obj/structure/closet/wardrobe/white, +/obj/structure/closet/wardrobe/black, +/obj/item/clothing/under/fluff/soviet_casual_uniform, +/obj/item/clothing/under/fluff/soviet_casual_uniform, +/obj/item/clothing/under/fluff/soviet_casual_uniform, +/obj/item/clothing/under/fluff/soviet_casual_uniform, +/obj/item/clothing/under/fluff/soviet_casual_uniform, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -90387,10 +91219,10 @@ }, /area/engine/aienter) "nCw" = ( -/obj/structure/plasticflaps/mining, /obj/machinery/conveyor{ id = "QMLoad" }, +/obj/structure/plasticflaps/mining, /turf/simulated/floor/plating, /area/quartermaster/delivery) "nCE" = ( @@ -90482,6 +91314,10 @@ /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 4 }, +/obj/machinery/vending/wallmed{ + pixel_y = 0; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "red" @@ -90699,6 +91535,17 @@ icon_state = "darkbluealt" }, /area/bridge) +"nFb" = ( +/obj/structure/railing, +/obj/structure/chair/comfy/beige{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wideplating/dark, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluecornersalt" + }, +/area/crew_quarters/fitness) "nFp" = ( /turf/simulated/floor/plating, /area/maintenance/ai) @@ -91128,7 +91975,8 @@ /obj/machinery/door/airlock/command{ id_tag = "conferenceroombolts"; name = "Conference Room"; - req_access = list(19) + req_access = list(19); + security_level = 1 }, /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, @@ -91148,7 +91996,6 @@ "nJj" = ( /obj/structure/table/reinforced, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/item/mmi, @@ -91269,6 +92116,7 @@ "nKm" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/cobweb2, +/obj/structure/reagent_dispensers/fueltank, /turf/simulated/floor/plating, /area/maintenance/engineering) "nKn" = ( @@ -91322,7 +92170,8 @@ /obj/machinery/newscaster/security_unit{ pixel_x = 30 }, -/obj/item/storage/photo_album, +/obj/item/storage/briefcase, +/obj/item/taperecorder, /turf/simulated/floor/wood, /area/security/detectives_office) "nKx" = ( @@ -91368,6 +92217,16 @@ icon_state = "darkredfull" }, /area/security/securearmory) +"nKO" = ( +/obj/structure/chair/sofa/corp/right, +/obj/structure/window/reinforced{ + dir = 1 + }, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_x = -32 + }, +/turf/simulated/floor/carpet/black, +/area/crew_quarters/bar/atrium) "nKQ" = ( /obj/structure/railing{ dir = 1 @@ -91375,6 +92234,18 @@ /obj/structure/flora/ausbushes/sunnybush, /turf/simulated/floor/grass, /area/maintenance/fore2) +"nKR" = ( +/obj/machinery/power/apc{ + dir = 8; + name = "west bump"; + pixel_x = -26 + }, +/obj/structure/cable{ + d2 = 4; + icon_state = "0-4" + }, +/turf/simulated/floor/plasteel, +/area/crew_quarters/toilet3) "nKT" = ( /obj/structure/cable{ icon_state = "1-2" @@ -91433,9 +92304,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "nLt" = ( /turf/simulated/floor/plasteel{ @@ -91513,6 +92382,7 @@ /obj/structure/bookcase{ name = "bookcase (Reference)" }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "nLW" = ( @@ -91706,9 +92576,7 @@ pixel_x = 26 }, /obj/machinery/light, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "nNd" = ( /obj/machinery/atmospherics/unary/vent_scrubber{ @@ -91724,14 +92592,14 @@ }, /area/gateway) "nNm" = ( -/obj/item/flash, -/obj/item/restraints/handcuffs, +/obj/structure/window/reinforced{ + layer = 4.2 + }, +/obj/structure/table/wood, /obj/item/storage/box/evidence, /obj/item/storage/box/evidence, /obj/item/hand_labeler, -/obj/effect/turf_decal/siding/wood, -/obj/structure/closet/secure_closet/cabinet/detective, -/turf/simulated/floor/carpet/green, +/turf/simulated/floor/wood, /area/security/detectives_office) "nNn" = ( /obj/structure/sign/fire, @@ -91761,6 +92629,8 @@ /obj/item/storage/toolbox/mechanical{ pixel_y = -5 }, +/obj/item/flashlight, +/obj/item/flashlight, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -91912,16 +92782,13 @@ /turf/simulated/floor/plating, /area/maintenance/gambling_den) "nOH" = ( -/obj/structure/table/wood/fancy/royalblue, -/obj/item/hand_tele{ - pixel_y = 2 - }, -/obj/item/coin/plasma{ - pixel_x = -13 - }, /obj/machinery/newscaster{ pixel_y = 32 }, +/obj/item/hand_tele{ + pixel_y = 2 + }, +/obj/structure/table/wood/fancy/royalblue, /turf/simulated/floor/carpet/royalblue, /area/crew_quarters/captain) "nOI" = ( @@ -92229,10 +93096,20 @@ }, /turf/simulated/floor/plating, /area/security/reception) +"nRd" = ( +/obj/machinery/light/small{ + dir = 4; + tag = "icon-bulb1 (EAST)" + }, +/turf/simulated/floor/plating, +/area/security/permahallway) "nRg" = ( /obj/structure/cable{ icon_state = "1-8" }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "blue" @@ -92277,12 +93154,17 @@ /turf/simulated/floor/glass/reinforced, /area/maintenance/fore2) "nRB" = ( -/obj/structure/chair{ +/obj/structure/cable{ + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" + icon_state = "neutralfull" }, /area/crew_quarters/fitness) "nRG" = ( @@ -92662,6 +93544,7 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -93005,6 +93888,9 @@ /obj/structure/table, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/item/storage/firstaid/regular, +/obj/machinery/light{ + dir = 8 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutral" @@ -93053,13 +93939,6 @@ /area/maintenance/fore) "nXU" = ( /obj/machinery/door/firedoor, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -93210,6 +94089,9 @@ id_tag = "xeno4" }, /obj/effect/spawner/window/reinforced, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/toxins/xenobiology) "nZO" = ( @@ -93234,6 +94116,7 @@ /obj/structure/bookcase{ name = "bookcase (Religious)" }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "nZX" = ( @@ -93610,7 +94493,10 @@ /area/medical/medbay) "ocu" = ( /obj/machinery/vending/cigarette, -/obj/effect/decal/warning_stripes/yellow, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -93924,23 +94810,11 @@ }, /area/security/brigstaff) "oeE" = ( -/obj/structure/railing{ - dir = 8 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 8 - }, -/obj/machinery/atmospherics/unary/vent_scrubber{ - dir = 4; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 - }, -/obj/machinery/door/firedoor/border_only{ - dir = 8 +/obj/structure/bed/dogbed/pet, +/mob/living/simple_animal/pet/cat/white/Penny, +/turf/simulated/floor/plasteel{ + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "oeI" = ( /obj/structure/table/reinforced, @@ -94686,8 +95560,9 @@ "olG" = ( /obj/machinery/atmospherics/binary/pump{ dir = 8; - name = "Nitrogen to Loop" + name = "Азот (N2) в контур" }, +/obj/effect/decal/warning_stripes/yellow/hollow, /obj/effect/decal/warning_stripes/east, /turf/simulated/floor/plasteel{ icon_state = "redfull"; @@ -94991,18 +95866,13 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint3) "ooE" = ( -/obj/structure/cable, -/obj/machinery/power/apc{ - name = "south bump"; - pixel_y = -26 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, +/obj/structure/table, +/obj/item/reagent_containers/food/drinks/mug/sec, /turf/simulated/floor/plasteel{ + dir = 10; icon_state = "red" }, -/area/security/holding_cell) +/area/security/processing) "ooF" = ( /obj/effect/landmark/start/trainee_engineer, /turf/simulated/floor/plasteel{ @@ -95364,27 +96234,13 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint3) "orZ" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/light{ - dir = 8 - }, -/obj/structure/sign/poster/official/random{ - pixel_x = -32 +/obj/machinery/camera{ + c_tag = "Holodeck North" }, -/turf/simulated/floor/wood, -/area/crew_quarters/fitness) -"osa" = ( -/obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); - dir = 8 +/turf/simulated/floor/engine{ + name = "Holodeck Projector Floor" }, -/obj/structure/lattice, -/turf/space, -/area/space) +/area/holodeck/alphadeck) "osb" = ( /obj/machinery/door/poddoor{ density = 0; @@ -95517,7 +96373,7 @@ /obj/effect/decal/cleanable/dirt, /obj/structure/closet/emcloset, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "osP" = ( /obj/structure/table, /obj/item/paper_bin, @@ -95538,7 +96394,10 @@ /area/crew_quarters/arcade) "osY" = ( /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/fitness) "ota" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -95797,7 +96656,6 @@ /obj/machinery/door/airlock/public/glass{ id = "vipbar1"; id_tag = "vipbar1_bolt"; - locked = 1; name = "ViP Room 1" }, /obj/effect/turf_decal/siding/red{ @@ -95818,6 +96676,9 @@ }, /obj/item/flag/nt, /obj/machinery/light, +/obj/effect/turf_decal{ + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -95832,6 +96693,9 @@ /obj/machinery/light{ dir = 1 }, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_y = 32 + }, /turf/simulated/floor/carpet/red, /area/civilian/vacantoffice) "ouO" = ( @@ -95892,6 +96756,7 @@ /obj/effect/decal/cleanable/dirt, /obj/structure/table, /obj/item/wrench, +/obj/random/tool, /turf/simulated/floor/plating, /area/maintenance/brig) "ovt" = ( @@ -95911,23 +96776,15 @@ }, /area/aisat/aihallway) "ovA" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "temporary holding cell"; - locked = 1; - name = "Temporary Holding Cell Privacy Shutters" - }, -/obj/structure/cable{ - icon_state = "0-8" - }, -/obj/structure/cable{ - icon_state = "1-8" +/obj/structure/table, +/obj/item/flashlight/lamp{ + layer = 4; + pixel_y = 7 }, -/obj/structure/cable{ - icon_state = "2-8" +/turf/simulated/floor/plasteel{ + icon_state = "redfull" }, -/turf/simulated/floor/plating, -/area/security/holding_cell) +/area/security/processing) "ovD" = ( /obj/structure/cable{ icon_state = "0-4" @@ -95974,17 +96831,18 @@ }, /area/atmos/control) "ovP" = ( -/obj/machinery/atmospherics/unary/vent_scrubber{ +/obj/machinery/power/apc{ dir = 8; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 + name = "west bump"; + pixel_x = -26 + }, +/obj/structure/cable{ + d2 = 4; + icon_state = "0-4" }, /turf/simulated/floor/plasteel{ - dir = 4; icon_state = "whiteblue"; - tag = "icon-whiteblue (NORTH)" + dir = 8 }, /area/medical/medbay2) "ovQ" = ( @@ -96146,8 +97004,9 @@ /obj/structure/railing/corner{ dir = 8 }, -/obj/effect/turf_decal/siding/wood, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" + }, /area/crew_quarters/fitness) "owG" = ( /obj/structure/table/wood, @@ -96556,6 +97415,15 @@ tag = "icon-whitepurple (SOUTHWEST)" }, /area/medical/research/nhallway) +"oAa" = ( +/obj/machinery/light/small, +/obj/machinery/photocopier, +/obj/effect/decal/warning_stripes/red, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "dark" + }, +/area/hallway/primary/command/west) "oAi" = ( /obj/structure/table, /obj/item/kitchen/knife/plastic, @@ -96601,22 +97469,16 @@ }, /area/engine/gravitygenerator) "oAX" = ( +/obj/machinery/door/firedoor, /obj/machinery/door/airlock/security/glass{ name = "Brig"; - req_access = list(63) - }, -/obj/machinery/door/firedoor, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 + req_access = list(63); + security_level = 1 }, /turf/simulated/floor/plasteel{ icon_state = "redfull" }, -/area/security/prison/cell_block/A) +/area/security/processing) "oAZ" = ( /obj/machinery/firealarm{ name = "north fire alarm"; @@ -96773,16 +97635,6 @@ }, /turf/simulated/floor/plating, /area/bridge/checkpoint/north) -"oCi" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" - }, -/area/security/seceqstorage) "oCC" = ( /obj/structure/cable{ icon_state = "2-8" @@ -97013,6 +97865,10 @@ /obj/structure/cable{ icon_state = "0-2" }, +/obj/structure/bed/dogbed{ + name = "fox box" + }, +/mob/living/simple_animal/pet/dog/fox/Renault, /turf/simulated/floor/wood/fancy/light{ color = "orange" }, @@ -97126,13 +97982,13 @@ /turf/simulated/floor/plating, /area/maintenance/maintcentral) "oFj" = ( +/obj/machinery/light{ + dir = 4 + }, /obj/machinery/conveyor{ id = "QMLoad2"; dir = 1 }, -/obj/machinery/light{ - dir = 4 - }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "brown" @@ -97470,7 +98326,7 @@ dir = 1; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "oIb" = ( /obj/machinery/atmospherics/pipe/simple/visible/yellow{ dir = 4 @@ -97614,7 +98470,15 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/wood, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkgreenfull" + }, /area/crew_quarters/sleep/secondary) "oJl" = ( /obj/effect/decal/cleanable/dust, @@ -97672,9 +98536,12 @@ /turf/simulated/floor/plating, /area/maintenance/portsolar) "oJw" = ( -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = 8 + }, +/turf/simulated/wall, +/area/hallway/primary/central/second/west) "oJC" = ( /obj/effect/decal/warning_stripes/south, /obj/effect/decal/warning_stripes/north, @@ -97751,6 +98618,9 @@ /turf/simulated/floor/plating, /area/medical/cmo) "oKs" = ( +/obj/structure/sign/poster/official/random{ + pixel_y = -32 + }, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -98008,7 +98878,6 @@ /obj/item/clothing/suit/armor/bulletproof, /obj/item/clothing/head/helmet/alt, /obj/item/clothing/shoes/jackboots/armored, -/obj/item/clothing/gloves/color/black/ballistic, /obj/machinery/door/window{ name = "Secure Armory"; req_access = list(1); @@ -98021,6 +98890,7 @@ color = "red"; dir = 1 }, +/obj/item/clothing/gloves/combat, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -98106,6 +98976,13 @@ icon_state = "caution" }, /area/atmos/control) +"oNb" = ( +/obj/machinery/atmospherics/unary/portables_connector{ + dir = 1 + }, +/obj/machinery/portable_atmospherics/canister/air, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "oNk" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 @@ -98310,6 +99187,10 @@ /obj/structure/sign/directions/evac{ pixel_y = 8 }, +/obj/structure/sign/directions/science{ + dir = 1; + pixel_y = -8 + }, /turf/simulated/wall, /area/security/lobby) "oOJ" = ( @@ -98561,9 +99442,7 @@ /obj/effect/turf_decal/siding/wood{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "oQD" = ( /obj/effect/decal/cleanable/dirt, @@ -98681,6 +99560,9 @@ /obj/machinery/door/firedoor/border_only{ dir = 1 }, +/obj/structure/table, +/obj/item/paper_bin, +/obj/item/pen, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -98944,7 +99826,8 @@ /obj/structure/railing{ dir = 1 }, -/obj/effect/spawner/random_spawners/grille_13, +/obj/structure/closet/crate, +/obj/effect/spawner/lootdrop/maintenance/double, /turf/simulated/floor/plating, /area/maintenance/starboard) "oTg" = ( @@ -98972,7 +99855,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/disposalpipe/segment, /obj/machinery/door/airlock/maintenance{ - req_access = list(12,47) + req_access = list(47) }, /turf/simulated/floor/plating, /area/maintenance/asmaint3) @@ -99030,18 +99913,6 @@ icon_state = "purplefull" }, /area/toxins/test_chamber) -"oTV" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/vending/wallmed{ - name = "Emergency NanoMed"; - pixel_x = 26 - }, -/turf/simulated/floor/wood, -/area/crew_quarters/fitness) "oTX" = ( /obj/structure/cable{ icon_state = "1-2" @@ -99360,13 +100231,12 @@ /turf/simulated/floor/shuttle/plating, /area/shuttle/arrival/station) "oVW" = ( -/obj/machinery/camera{ - c_tag = "Holodeck North" - }, -/turf/simulated/floor/engine{ - name = "Holodeck Projector Floor" +/obj/structure/chair/office, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/area/holodeck/alphadeck) +/area/crew_quarters/fitness) "oWc" = ( /obj/machinery/door/airlock/medical/glass{ id_tag = "MedbayFoyerPort"; @@ -99403,6 +100273,10 @@ pixel_x = -6; pixel_y = 6 }, +/obj/item/ammo_box/shotgun/tranquilizer{ + pixel_x = -6; + pixel_y = 6 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -99676,6 +100550,7 @@ /obj/machinery/door/firedoor/border_only{ dir = 1 }, +/obj/machinery/photocopier, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "brown" @@ -99774,19 +100649,15 @@ icon_state = "1-4" }, /obj/effect/decal/warning_stripes/south, -/obj/machinery/power/apc{ - cell_type = 25000; - dir = 4; - name = "east bump"; - shock_proof = 1; - pixel_y = -26 - }, -/obj/structure/cable/yellow, /obj/machinery/light, +/obj/machinery/alarm{ + dir = 1; + pixel_y = -22 + }, /turf/simulated/floor/plasteel{ icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "oZe" = ( /obj/structure/girder, /obj/effect/decal/cleanable/dirt, @@ -99858,7 +100729,7 @@ id_tag = "solar_tool_outer"; locked = 1; name = "Engineering External Access"; - req_access = list(32) + req_access = list(13) }, /obj/structure/cable{ icon_state = "4-8" @@ -100023,18 +100894,12 @@ }, /area/hallway/primary/central/second/south) "pao" = ( -/obj/structure/chair/sofa/corp/right{ - dir = 8 - }, -/obj/machinery/recharger/wallcharger{ - pixel_x = 32 - }, -/obj/effect/landmark/start/security_officer, +/obj/structure/table, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "redcorner" + dir = 0; + icon_state = "red" }, -/area/security/seceqstorage) +/area/security/processing) "pav" = ( /obj/structure/railing/corner{ dir = 8 @@ -100212,6 +101077,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -100333,6 +101199,11 @@ dir = 1 }, /area/bridge/checkpoint/south) +"pcK" = ( +/obj/structure/flora/grass/jungle, +/obj/structure/flora/ausbushes/brflowers, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "pcL" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/light/small{ @@ -100382,6 +101253,10 @@ pixel_x = 3; pixel_y = -4 }, +/obj/effect/turf_decal{ + dir = 6; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -100482,6 +101357,8 @@ /obj/structure/closet/secure_closet/medical3, /obj/item/clothing/suit/straight_jacket, /obj/item/clothing/mask/muzzle, +/obj/item/reagent_containers/hypospray/safety, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "dark" @@ -100983,11 +101860,11 @@ /obj/structure/cable{ icon_state = "2-8" }, -/obj/machinery/atmospherics/pipe/simple/visible/universal{ - dir = 4 - }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/universal{ + dir = 4 + }, /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) "phJ" = ( @@ -101074,6 +101951,10 @@ icon_state = "1-8" }, /obj/item/toy/russian_revolver, +/obj/machinery/recharger{ + pixel_x = 1; + pixel_y = 3 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "darkred" @@ -101155,6 +102036,21 @@ }, /turf/simulated/floor/engine, /area/hallway/primary/central) +"piU" = ( +/obj/structure/sign/directions/engineering{ + dir = 4; + pixel_y = 8 + }, +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = -8 + }, +/obj/structure/sign/directions/science{ + dir = 1; + pixel_y = 0 + }, +/turf/simulated/wall, +/area/hallway/primary/central/south) "piV" = ( /obj/structure/closet/critter, /obj/item/clothing/mask/facehugger/toy, @@ -101271,8 +102167,8 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint) "pjI" = ( -/obj/structure/closet, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "darkred" @@ -101337,6 +102233,21 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/maintenance/fsmaint3) +"pkz" = ( +/obj/structure/sign/directions/science{ + dir = 1; + pixel_y = 0 + }, +/obj/structure/sign/directions/engineering{ + dir = 1; + pixel_y = 8 + }, +/obj/structure/sign/directions/cargo{ + dir = 1; + pixel_y = -8 + }, +/turf/simulated/wall, +/area/maintenance/fsmaint) "pkC" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -101483,10 +102394,10 @@ "plk" = ( /obj/structure/window/reinforced/polarized, /obj/structure/closet/crate/trashcart, +/obj/effect/decal/cleanable/dirt, +/obj/item/crowbar/large, /obj/item/clothing/under/bluepyjamas, /obj/item/clothing/shoes/sandal/white, -/obj/effect/decal/cleanable/dirt, -/obj/item/stack/sheet/cloth, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "blue" @@ -101524,10 +102435,6 @@ /area/hallway/secondary/exit) "pls" = ( /obj/structure/table/wood, -/obj/item/lighter/zippo/engraved{ - pixel_x = 1; - pixel_y = 3 - }, /obj/machinery/light, /turf/simulated/floor/plating, /area/maintenance/livingcomplex) @@ -101563,6 +102470,9 @@ dir = 1; in_use = 1 }, +/obj/machinery/atm{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "brown" @@ -101773,9 +102683,6 @@ /obj/machinery/alarm{ pixel_y = 24 }, -/obj/machinery/light/small{ - dir = 1 - }, /turf/simulated/floor/plasteel/freezer, /area/crew_quarters/toilet2) "pnG" = ( @@ -101808,16 +102715,9 @@ }, /area/atmos) "pnU" = ( -/obj/structure/table, -/obj/item/flashlight/lamp{ - layer = 4; - pixel_x = 7; - pixel_y = 14 - }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull" - }, -/area/security/processing) +/obj/effect/spawner/random_spawners/rodent, +/turf/simulated/floor/plating, +/area/maintenance/fore2) "pnY" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/blood/tracks{ @@ -101895,9 +102795,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "poG" = ( /obj/effect/decal/cleanable/dirt, @@ -101925,6 +102823,12 @@ }, /turf/simulated/floor/plating, /area/maintenance/detectives_office) +"poR" = ( +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "ppc" = ( /turf/simulated/floor/plasteel{ dir = 4; @@ -101947,7 +102851,7 @@ }, /obj/machinery/portable_atmospherics/pump, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "ppp" = ( /obj/structure/chair/sofa/corp/right{ dir = 1 @@ -102071,7 +102975,10 @@ /obj/structure/disposalpipe/segment{ dir = 6 }, -/obj/effect/decal/warning_stripes/yellow, +/obj/effect/turf_decal{ + dir = 9; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -102270,7 +103177,7 @@ /obj/item/pen, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/machinery/camera{ - c_tag = "Rec Room Center"; + c_tag = "Fitness Room Center"; dir = 4; pixel_y = -22 }, @@ -102432,6 +103339,7 @@ /obj/machinery/light{ dir = 4 }, +/obj/item/book/manual/random, /turf/simulated/floor/wood, /area/security/permabrig) "ptF" = ( @@ -102540,9 +103448,6 @@ /obj/item/radio/intercom{ pixel_y = -26 }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, /turf/simulated/floor/plasteel, /area/storage/office) "puw" = ( @@ -102744,7 +103649,8 @@ /obj/machinery/door/airlock/security/glass{ id_tag = "BrigLeft"; name = "Brig"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/machinery/door/poddoor{ @@ -102831,9 +103737,9 @@ /turf/simulated/floor/plating, /area/crew_quarters/bar/atrium) "pwo" = ( -/obj/machinery/crema_switch{ - id = "creamed"; - pixel_x = 24 +/obj/machinery/camera{ + c_tag = "Cremator"; + dir = 8 }, /turf/simulated/floor/plasteel{ icon_state = "cult" @@ -102874,12 +103780,21 @@ /area/toxins/test_area) "pwP" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 6 + dir = 8 }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/mob/living/simple_animal/pet/penguin/emperor, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkblue" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "pwW" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -102939,19 +103854,11 @@ }, /area/medical/medrest) "pxh" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 8 - }, -/obj/structure/cable{ - icon_state = "2-4" +/obj/item/twohanded/required/kirbyplants, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "pxo" = ( /obj/structure/railing{ @@ -103177,7 +104084,7 @@ }, /area/chapel/office) "pyN" = ( -/obj/structure/chair/stool, +/obj/machinery/arcade/minesweeper, /turf/simulated/floor/wood, /area/crew_quarters/arcade) "pyO" = ( @@ -103316,7 +104223,7 @@ icon_state = "4-8" }, /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite Antechamber"; + control_area = "AI Satellite Antechamber"; name = "AI Antechamber Turret Control"; pixel_y = -28; req_access = list(75) @@ -103373,6 +104280,12 @@ }, /turf/simulated/floor/plating, /area/maintenance/gambling_den) +"pAd" = ( +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluecornersalt" + }, +/area/crew_quarters/fitness) "pAe" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -103720,10 +104633,6 @@ scrub_N2O = 1; scrub_Toxins = 1 }, -/obj/machinery/alarm{ - dir = 1; - pixel_y = -22 - }, /obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "darkpurple" @@ -103740,23 +104649,21 @@ /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) "pCO" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9 }, -/obj/structure/cable{ - icon_state = "1-2" +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, /area/crew_quarters/sleep/secondary) "pCQ" = ( -/obj/machinery/camera{ - c_tag = "Holodeck South"; - dir = 1 - }, -/turf/simulated/floor/engine{ - name = "Holodeck Projector Floor" +/obj/machinery/light, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluealt" }, -/area/holodeck/alphadeck) +/area/crew_quarters/fitness) "pCS" = ( /obj/machinery/door/airlock/maintenance, /obj/structure/barricade/wooden, @@ -103857,13 +104764,6 @@ dir = 9 }, /obj/item/twohanded/required/kirbyplants, -/obj/machinery/requests_console{ - announcementConsole = 1; - department = "Head of Security's Desk"; - departmentType = 5; - name = "Head of Security Requests Console"; - pixel_y = 30 - }, /turf/simulated/floor/carpet/red, /area/security/hos) "pDK" = ( @@ -103901,10 +104801,23 @@ /turf/simulated/floor/plating, /area/maintenance/apmaint) "pEj" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /obj/structure/disposalpipe/segment{ - dir = 5 + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 1 }, -/turf/simulated/floor/plasteel, /area/quartermaster/office) "pEm" = ( /obj/structure/cable{ @@ -103947,13 +104860,13 @@ /turf/simulated/floor/plating, /area/security/main) "pEJ" = ( -/obj/structure/sign/directions/engineering{ - pixel_y = 8 - }, /obj/structure/sign/directions/evac{ pixel_y = -8 }, -/obj/structure/sign/directions/science, +/obj/structure/sign/directions/medical, +/obj/structure/sign/directions/security{ + pixel_y = 8 + }, /turf/simulated/wall, /area/bridge/checkpoint/north) "pEP" = ( @@ -104014,10 +104927,6 @@ /turf/simulated/floor/wood, /area/crew_quarters/arcade) "pFy" = ( -/obj/machinery/door/airlock/maintenance{ - name = "Medbay Maintenance"; - req_access = list(5) - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -104027,6 +104936,10 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/machinery/door/airlock/maintenance{ + name = "Library Maintenance"; + req_access = list(12) + }, /turf/simulated/floor/plating, /area/maintenance/asmaint4) "pFz" = ( @@ -104059,28 +104972,6 @@ /obj/effect/decal/cleanable/glass, /turf/simulated/floor/plating, /area/maintenance/apmaint) -"pFF" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/machinery/door/firedoor, -/obj/machinery/door/airlock/security/glass{ - name = "Temporary Holding Cell"; - req_access = list(63) - }, -/turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" - }, -/area/security/holding_cell) "pFG" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/portable_atmospherics/canister/oxygen, @@ -104106,11 +104997,9 @@ /turf/simulated/floor/plating, /area/maintenance/ai) "pFI" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - dir = 0; + dir = 9; icon_state = "red" }, /area/security/seceqstorage) @@ -104218,8 +105107,9 @@ /obj/item/camera{ pixel_x = -13 }, -/obj/machinery/light/small{ - dir = 1 +/obj/machinery/light{ + dir = 1; + in_use = 1 }, /turf/simulated/floor/plasteel{ icon_state = "floorgrime" @@ -104286,6 +105176,10 @@ icon_state = "hydrofloor" }, /area/crew_quarters/kitchen) +"pGG" = ( +/obj/structure/closet/emcloset, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "pGJ" = ( /obj/structure/cable{ icon_state = "1-2" @@ -104329,10 +105223,10 @@ /turf/simulated/floor/plasteel, /area/medical/virology/lab) "pHa" = ( -/obj/machinery/light{ - dir = 4 - }, /obj/structure/railing/corner, +/obj/machinery/ai_status_display{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -104484,6 +105378,12 @@ icon_state = "neutral" }, /area/hallway/primary/central/second/east) +"pIz" = ( +/obj/effect/decal/cleanable/dust, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/maintenance/livingcomplex) "pIM" = ( /obj/effect/decal/cleanable/blood, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -104739,7 +105639,6 @@ }, /area/gateway) "pKV" = ( -/obj/structure/disposalpipe/segment, /obj/structure/cable{ d1 = 4; d2 = 8; @@ -104751,6 +105650,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/disposalpipe/segment{ + dir = 5 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -104777,6 +105679,15 @@ icon_state = "neutralfull" }, /area/crew_quarters/toilet4) +"pLd" = ( +/obj/effect/decal/cleanable/dirt, +/obj/item/radio/intercom{ + pixel_x = 28 + }, +/turf/simulated/floor/plasteel{ + icon_state = "tranquillite" + }, +/area/maintenance/trading) "pLe" = ( /obj/machinery/portable_atmospherics/canister/toxins, /obj/effect/decal/warning_stripes/yellow/hollow, @@ -104897,6 +105808,11 @@ /obj/structure/cable{ icon_state = "2-4" }, +/obj/machinery/door/airlock/security/glass{ + name = "Brig Customs"; + req_access = list(63); + security_level = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -104906,6 +105822,10 @@ /obj/machinery/suit_storage_unit/engine, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/effect/decal/warning_stripes/southwest, +/obj/machinery/light{ + dir = 1; + on = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -105117,7 +106037,7 @@ dir = 4 }, /turf/simulated/floor/plating, -/area/crew_quarters/courtroom) +/area/maintenance/brig) "pNu" = ( /obj/structure/cable{ d1 = 4; @@ -105426,16 +106346,17 @@ }, /area/security/permahallway) "pPY" = ( -/obj/machinery/conveyor{ - id = "QMLoad2"; - dir = 8 +/obj/machinery/light{ + dir = 4 }, /obj/machinery/conveyor{ id = "QMLoad2"; dir = 1 }, -/obj/machinery/light{ - dir = 4 +/obj/machinery/conveyor{ + id = "QMLoad2"; + dir = 8; + layer = 2.494 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -105733,16 +106654,6 @@ /obj/effect/spawner/lootdrop/maintenance/tripple, /turf/simulated/floor/plating, /area/maintenance/apmaint) -"pSc" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "temporary holding cell"; - locked = 1; - name = "Temporary Holding Cell Privacy Shutters" - }, -/obj/structure/cable, -/turf/simulated/floor/plating, -/area/security/holding_cell) "pSd" = ( /turf/simulated/floor/plasteel, /area/storage/primary) @@ -106041,12 +106952,6 @@ /area/security/evidence) "pUx" = ( /obj/structure/table/reinforced, -/obj/machinery/door_control{ - desc = "A remote control switch for the medbay foyer."; - id = "MedbayFoyerPort"; - name = "Medbay Doors Control"; - normaldoorcontrol = 1 - }, /obj/machinery/door/window/eastright{ base_state = "left"; icon_state = "left"; @@ -106068,6 +106973,13 @@ pixel_x = 3; pixel_y = 10 }, +/obj/item/paper_bin{ + pixel_x = -2; + pixel_y = -8 + }, +/obj/item/pen{ + pixel_y = -12 + }, /turf/simulated/floor/plasteel{ icon_state = "barber" }, @@ -106465,7 +107377,8 @@ "pWW" = ( /obj/machinery/door/airlock/security/glass{ name = "Brig Customs"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment{ @@ -106514,6 +107427,9 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 }, +/obj/machinery/light{ + dir = 8 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkred" @@ -106621,9 +107537,7 @@ }, /area/bridge/checkpoint/north) "pXY" = ( -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "pXZ" = ( /obj/machinery/atmospherics/unary/portables_connector, @@ -106851,9 +107765,9 @@ /turf/simulated/floor/greengrid, /area/turret_protected/ai) "pZl" = ( -/obj/structure/railing/corner, -/obj/effect/turf_decal/siding/wood/corner, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluecornersalt" + }, /area/crew_quarters/fitness) "pZn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -106876,11 +107790,12 @@ /obj/machinery/alarm{ pixel_y = 22 }, -/obj/effect/landmark/start/scientist, /obj/machinery/camera{ c_tag = "Research and Development North"; network = list("Research","SS13") }, +/obj/structure/table/reinforced, +/obj/item/storage/toolbox/mechanical, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "whitepurple" @@ -107068,6 +107983,12 @@ icon_state = "dark" }, /area/security/prisonershuttle) +"qbg" = ( +/obj/structure/flora/ausbushes/brflowers, +/obj/structure/flora/grass/jungle/b, +/obj/structure/flora/junglebush/b, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "qbi" = ( /obj/structure/cable{ icon_state = "2-4" @@ -107256,7 +108177,7 @@ /obj/machinery/cell_charger, /obj/item/stock_parts/cell/high, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "qcq" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 @@ -107271,6 +108192,9 @@ dir = 1; in_use = 1 }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -107382,20 +108306,21 @@ d2 = 2; icon_state = "1-2" }, -/obj/machinery/door/airlock/engineering/glass{ - name = "Engineering Storage"; - req_access = list(32) - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/effect/decal/warning_stripes/north, -/obj/effect/decal/warning_stripes/south, /obj/machinery/door/firedoor, /obj/structure/cable{ icon_state = "4-8" }, +/obj/effect/decal/warning_stripes/yellow, +/obj/effect/decal/warning_stripes/north, +/obj/effect/decal/warning_stripes/south, +/obj/machinery/door/airlock/engineering/glass{ + name = "Engineering Storage"; + req_access = list(32) + }, /turf/simulated/floor/plasteel, -/area/engine/engine_smes) +/area/engine/engineering) "qdt" = ( /obj/machinery/door/firedoor, /obj/effect/decal/warning_stripes/yellow, @@ -107511,6 +108436,16 @@ dir = 1 }, /area/security/seceqstorage) +"qeQ" = ( +/obj/machinery/door/airlock/external{ + frequency = 1379; + id_tag = "solar_chapel_outer"; + locked = 1; + name = "Engineering External Access"; + req_access = list(10,13) + }, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "qeS" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -108277,6 +109212,11 @@ dir = 1 }, /obj/effect/decal/warning_stripes/yellow/hollow, +/obj/machinery/door/poddoor/shutters/preopen{ + id_tag = "Hydroponics Shutters"; + name = "Hydroponics Shutters"; + dir = 1 + }, /turf/simulated/floor/plasteel{ dir = 5 }, @@ -108382,7 +109322,7 @@ icon_state = "0-4" }, /turf/simulated/floor/plating, -/area/engine/engine_smes) +/area/engine/engineering) "qlX" = ( /obj/effect/turf_decal/siding/wideplating/dark, /turf/simulated/floor/plasteel{ @@ -108406,10 +109346,19 @@ }, /area/hallway/primary/fore) "qmk" = ( -/obj/structure/bed/dogbed/pet, -/mob/living/simple_animal/pet/cat/white/Penny, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ - dir = 4; + dir = 8; icon_state = "neutral" }, /area/crew_quarters/fitness) @@ -108548,14 +109497,12 @@ d2 = 4; icon_state = "0-4" }, +/obj/effect/decal/warning_stripes/south, /obj/machinery/power/apc{ cell_type = 25000; - dir = 4; - name = "east bump"; shock_proof = 1; pixel_y = -26 }, -/obj/effect/decal/warning_stripes/south, /turf/simulated/floor/plasteel{ icon_state = "yellow" }, @@ -109246,12 +110193,12 @@ }, /area/maintenance/fpmaint) "qtv" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/door/airlock/glass{ + name = "Holodeck Door" + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkgreenfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "qtz" = ( /obj/machinery/atmospherics/binary/pump/on{ @@ -109505,6 +110452,7 @@ dir = 1 }, /obj/machinery/door/firedoor/border_only, +/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkbluealt" @@ -109541,7 +110489,6 @@ /area/medical/medbay) "qvc" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 4 }, /turf/simulated/floor/plasteel/dark, @@ -109573,7 +110520,6 @@ /obj/structure/rack, /obj/item/tank/internals/emergency_oxygen, /obj/item/clothing/mask/breath, -/obj/item/wrench, /turf/simulated/floor/plating, /area/maintenance/perma) "qvx" = ( @@ -109738,6 +110684,8 @@ /obj/effect/turf_decal/siding/wood{ dir = 4 }, +/obj/structure/chair/stool, +/obj/effect/landmark/start/civilian, /turf/simulated/floor/carpet/arcade, /area/crew_quarters/arcade) "qwv" = ( @@ -109785,6 +110733,7 @@ /turf/simulated/floor/plating, /area/engine/engineering) "qwO" = ( +/obj/item/twohanded/required/kirbyplants, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "red" @@ -109906,18 +110855,15 @@ "qya" = ( /obj/effect/turf_decal/siding/yellow, /obj/structure/tribune{ - pixel_y = 4 + pixel_y = 0; + anchored = 1 }, /obj/structure/disposalpipe/segment, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, /obj/structure/cable{ icon_state = "1-2" }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /turf/simulated/floor/wood, /area/crew_quarters/courtroom) "qyc" = ( @@ -109946,7 +110892,6 @@ /obj/structure/table, /obj/item/reagent_containers/food/snacks/grown/geranium, /obj/item/reagent_containers/food/snacks/grown/moonflower, -/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -110099,6 +111044,16 @@ icon_state = "redcorner" }, /area/security/customs) +"qyW" = ( +/obj/machinery/newscaster{ + pixel_y = 0; + pixel_x = -30 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "red" + }, +/area/security/securehallway) "qzc" = ( /turf/simulated/wall/rust, /area/maintenance/tourist) @@ -110124,7 +111079,6 @@ /area/hallway/primary/fore) "qzn" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 4 }, /turf/simulated/floor/glass/reinforced, @@ -110289,13 +111243,6 @@ /turf/simulated/floor/carpet, /area/chapel/office) "qAN" = ( -/obj/machinery/door_control{ - id = "CargoBay Shutters South"; - name = "CargoBay Shutters South Controls"; - pixel_x = -26; - pixel_y = 31; - req_access = list(50) - }, /obj/structure/cable{ d1 = 4; d2 = 8; @@ -110330,6 +111277,16 @@ /obj/effect/decal/warning_stripes/yellow/hollow, /turf/simulated/floor/plasteel, /area/crew_quarters/toilet) +"qAV" = ( +/obj/machinery/door/airlock/public/glass{ + name = "Walkway" + }, +/obj/machinery/door/firedoor, +/obj/effect/turf_decal/caution/red, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/hallway/primary/starboard/south) "qAY" = ( /obj/effect/turf_decal/siding/wood{ dir = 1 @@ -110370,14 +111327,21 @@ }, /area/blueshield) "qBm" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ +/obj/effect/turf_decal/stripes/line{ + dir = 9 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 6 + }, +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/machinery/light, +/obj/structure/window/reinforced{ + color = "red"; dir = 8 }, -/obj/effect/decal/warning_stripes/red/hollow, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "qBn" = ( @@ -110427,6 +111391,9 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/structure/disposalpipe/segment{ + dir = 6 + }, /turf/simulated/floor/plasteel{ icon_state = "red" }, @@ -111355,6 +112322,15 @@ /obj/machinery/vending/coffee, /turf/simulated/floor/plasteel, /area/crew_quarters/serviceyard) +"qJP" = ( +/obj/machinery/alarm{ + dir = 1; + pixel_y = -25 + }, +/turf/simulated/floor/plasteel{ + dir = 1 + }, +/area/security/lobby) "qJQ" = ( /obj/effect/decal/cleanable/vomit, /obj/structure/sign/poster/contraband/very_robust{ @@ -111453,13 +112429,17 @@ }, /area/aisat/aihallway) "qKy" = ( -/obj/structure/sign/directions/medical{ +/obj/structure/sign/directions/science{ dir = 1 }, -/obj/structure/sign/directions/security{ - dir = 8; +/obj/structure/sign/directions/cargo{ + dir = 4; pixel_y = 8 }, +/obj/structure/sign/directions/engineering{ + pixel_y = -8; + dir = 1 + }, /turf/simulated/wall, /area/hallway/primary/central/second/north) "qKC" = ( @@ -111482,6 +112462,24 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/wood, /area/quartermaster/qm) +"qKH" = ( +/obj/structure/chair/office, +/obj/effect/turf_decal/siding/wood{ + dir = 8; + do_not_delete_me = 1 + }, +/turf/simulated/floor/wood/oak, +/area/crew_quarters/courtroom) +"qKI" = ( +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = 30 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "neutral" + }, +/area/hallway/primary/central/second/east) "qKJ" = ( /obj/structure/sign/chemistry, /turf/simulated/wall/r_wall, @@ -111683,18 +112681,12 @@ req_access = list(1); color = "red" }, -/obj/item/grenade/barrier{ - pixel_x = -3; - pixel_y = 3 - }, -/obj/item/grenade/barrier, -/obj/item/grenade/barrier{ - pixel_x = 3; - pixel_y = -3 +/obj/item/clothing/head/helmet/night, +/obj/item/clothing/head/helmet/night{ + pixel_y = -2 }, -/obj/item/grenade/barrier{ - pixel_x = 6; - pixel_y = -6 +/obj/item/clothing/head/helmet/night{ + pixel_y = -4 }, /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -111976,7 +112968,8 @@ }, /obj/machinery/door/airlock/security/glass{ name = "Brig"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -111987,17 +112980,10 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /turf/simulated/floor/plasteel{ icon_state = "redfull" }, -/area/security/prison/cell_block/A) +/area/security/processing) "qOC" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -112668,17 +113654,12 @@ /turf/simulated/floor/plating, /area/maintenance/apmaint) "qTd" = ( -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/chair, /turf/simulated/floor/plasteel{ - dir = 1 + dir = 8; + icon_state = "red" }, -/area/security/holding_cell) +/area/security/processing) "qTf" = ( /obj/structure/cable{ icon_state = "4-8" @@ -112805,9 +113786,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "qUb" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -112931,7 +113910,6 @@ layer = 2.9 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced, @@ -113234,7 +114212,7 @@ dir = 5 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "qYi" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/vent_scrubber{ @@ -113645,11 +114623,6 @@ /obj/structure/cable{ icon_state = "1-8" }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 2; - id_tag = "Chemistry"; - name = "Chemistry Privacy Shutter" - }, /obj/machinery/door/poddoor{ density = 0; icon_state = "open"; @@ -113662,6 +114635,11 @@ d2 = 4; icon_state = "1-4" }, +/obj/machinery/door/poddoor/shutters/preopen{ + dir = 2; + id_tag = "Chemistry1"; + name = "Chemistry Privacy Shutter" + }, /turf/simulated/floor/plating, /area/medical/chemistry) "rbS" = ( @@ -113749,22 +114727,18 @@ /area/engine/break_room) "rcS" = ( /obj/structure/chair/sofa/left, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ icon_state = "cafeteria" }, /area/medical/research/restroom) "rcX" = ( -/obj/structure/closet/secure_closet/security, -/obj/effect/turf_decal/stripes/end{ - dir = 1 - }, -/obj/effect/turf_decal/stripes/red/end{ - dir = 1 - }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 4; + icon_state = "red" }, /area/security/seceqstorage) "rdm" = ( @@ -113796,16 +114770,10 @@ /turf/simulated/floor/glass/reinforced, /area/maintenance/fore2) "rdB" = ( -/obj/structure/railing{ - dir = 8 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 8 - }, -/obj/machinery/door/firedoor/border_only{ - dir = 8 +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluealt" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "rdK" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -113813,9 +114781,7 @@ /obj/structure/cable{ icon_state = "1-2" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "rdT" = ( /obj/effect/decal/warning_stripes/east, @@ -113839,6 +114805,38 @@ /obj/structure/closet/firecloset, /turf/simulated/floor/plating, /area/maintenance/tourist) +"rdX" = ( +/obj/structure/rack{ + dir = 8; + layer = 2.9 + }, +/obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/window/reinforced{ + color = "red" + }, +/obj/structure/window/reinforced{ + color = "red"; + dir = 1 + }, +/obj/machinery/door/window{ + dir = 8; + name = "Secure Armory"; + req_access = list(1); + color = "red" + }, +/obj/item/storage/box/barrier, +/obj/item/grenade/barrier{ + pixel_x = 6; + pixel_y = -6 + }, +/obj/item/grenade/barrier{ + pixel_x = 3; + pixel_y = -3 + }, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/security/securearmory) "red" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -114224,6 +115222,10 @@ }, /turf/simulated/floor/grass, /area/maintenance/fore) +"rhp" = ( +/obj/structure/sign/poster/official/nanotrasen_logo, +/turf/simulated/wall/r_wall, +/area/ntrep) "rhu" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/camera{ @@ -114742,7 +115744,7 @@ "rlg" = ( /obj/item/twohanded/required/kirbyplants, /obj/machinery/turretid/stun{ - control_area = "\improper Telecoms Central Compartment"; + control_area = "Telecoms Central Compartment"; name = "AI Antechamber Turret Control"; pixel_y = -26; req_access = list(75) @@ -115007,6 +116009,19 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/hallway/secondary/entry/commercial) +"rmx" = ( +/obj/structure/disposalpipe/segment, +/obj/machinery/light{ + dir = 4 + }, +/obj/structure/sign/restroom{ + pixel_x = 31 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" + }, +/area/crew_quarters/serviceyard) "rmy" = ( /obj/machinery/atmospherics/pipe/simple/visible/green{ desc = "Труба проводящая газ по фильтрам, где он перемещается в камеры хранения"; @@ -115059,10 +116074,8 @@ /area/maintenance/engineering) "rmT" = ( /obj/effect/decal/warning_stripes/southwest, -/obj/structure/table/reinforced, -/obj/machinery/recharger{ - pixel_x = 1; - pixel_y = 3 +/obj/machinery/r_n_d/destructive_analyzer{ + pixel_y = 2 }, /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -115409,6 +116422,20 @@ /obj/machinery/light/small, /turf/simulated/floor/plating, /area/maintenance/fore) +"rpm" = ( +/obj/machinery/power/apc{ + dir = 1; + pixel_y = 26 + }, +/obj/structure/cable{ + d2 = 2; + icon_state = "0-2" + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "arrival" + }, +/area/hallway/secondary/entry) "rpv" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/table/wood/fancy/black, @@ -115814,9 +116841,6 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 9 }, -/obj/machinery/status_display{ - pixel_x = 32 - }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -115827,20 +116851,13 @@ /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/additional) "rua" = ( -/obj/machinery/status_display{ - layer = 4; - pixel_y = 32 - }, -/obj/machinery/camera{ - c_tag = "Holodeck Control Room" - }, -/obj/machinery/atmospherics/unary/vent_pump/on{ +/obj/effect/turf_decal/siding/wideplating/dark{ dir = 8 }, -/obj/machinery/light{ - dir = 1 +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluealt" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "ruc" = ( /obj/structure/chair/sofa/pew/right{ @@ -115854,6 +116871,9 @@ dir = 4 }, /obj/effect/decal/cleanable/dirt, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_x = -32 + }, /turf/simulated/floor/plasteel{ icon_state = "bar" }, @@ -115967,6 +116987,29 @@ }, /turf/simulated/floor/plating, /area/security/permabrig) +"ruW" = ( +/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ + id_tag = "n_tool_airlock"; + layer = 3.3; + pixel_y = 0; + req_access = list(13); + tag_airpump = "n_tool_pump"; + tag_chamber_sensor = "n_tool_sensor"; + tag_exterior_door = "n_tool_outer"; + tag_interior_door = "n_tool_inner"; + pixel_x = -25 + }, +/obj/machinery/airlock_sensor{ + id_tag = "n_tool_sensor"; + layer = 3.3; + pixel_y = 7; + pixel_x = -25 + }, +/obj/machinery/light/small{ + dir = 8 + }, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "rvc" = ( /obj/structure/chair/comfy/teal{ dir = 4 @@ -116009,13 +117052,6 @@ }, /area/hallway/primary/central/ne) "rvo" = ( -/obj/machinery/door/poddoor{ - density = 0; - icon_state = "open"; - id_tag = "Brig_lockdown"; - name = "Brig Lockdown"; - opacity = 0 - }, /obj/effect/spawner/window/reinforced, /obj/structure/cable{ icon_state = "0-4" @@ -116033,6 +117069,9 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/light/small{ + dir = 8 + }, /turf/simulated/floor/plating, /area/maintenance/brig) "rvq" = ( @@ -116051,7 +117090,7 @@ /area/engine/controlroom) "rvs" = ( /obj/effect/decal/cleanable/dirt, -/obj/effect/spawner/lootdrop/crate_spawner, +/obj/structure/closet/crate/secure/loot, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -116411,7 +117450,6 @@ pixel_x = 24 }, /obj/structure/closet/secure_closet/security, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "red" @@ -116446,11 +117484,6 @@ /obj/structure/cable{ icon_state = "0-4" }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 8; - id_tag = "Chemistry"; - name = "Chemistry Privacy Shutter" - }, /turf/simulated/floor/plating, /area/medical/biostorage) "rxE" = ( @@ -116611,15 +117644,22 @@ }, /area/medical/surgery/south) "ryM" = ( -/obj/machinery/power/apc{ - name = "south bump"; - pixel_y = -26 +/obj/machinery/firealarm{ + dir = 1; + pixel_y = 28 }, -/obj/structure/cable, -/turf/simulated/floor/plasteel{ - icon_state = "red" +/obj/structure/table/wood, +/obj/item/folder/red, +/obj/item/folder/red{ + pixel_x = 2; + pixel_y = 2 }, -/area/security/lobby) +/obj/item/folder/red{ + pixel_x = 4; + pixel_y = 4 + }, +/turf/simulated/floor/wood, +/area/security/detectives_office) "ryO" = ( /obj/structure/table/wood/poker, /obj/item/deck/cards, @@ -116727,6 +117767,9 @@ /obj/structure/cable{ icon_state = "4-8" }, +/obj/structure/disposalpipe/segment{ + dir = 9 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -116964,16 +118007,11 @@ /turf/simulated/floor/plasteel/freezer, /area/crew_quarters/toilet2) "rBy" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/structure/cable{ - icon_state = "1-8" +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "rBF" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -116985,9 +118023,6 @@ }, /area/engine/mechanic_workshop/hangar) "rBG" = ( -/obj/structure/disposalpipe/segment{ - dir = 9 - }, /obj/structure/cable{ icon_state = "1-4" }, @@ -117091,9 +118126,10 @@ }, /area/quartermaster/lobby) "rCp" = ( -/obj/structure/closet/emcloset, +/obj/effect/spawner/random_spawners/cobweb_right_frequent, +/obj/structure/reagent_dispensers/watertank, /turf/simulated/floor/plating, -/area/maintenance/fsmaint2) +/area/maintenance/starboard) "rCs" = ( /obj/machinery/smartfridge/secure/chemistry, /turf/simulated/floor/plating, @@ -117139,23 +118175,7 @@ }, /area/toxins/xenobiology) "rCX" = ( -/obj/structure/noticeboard{ - pixel_y = 30 - }, -/obj/structure/table/wood, -/obj/item/folder/red, -/obj/item/folder/red{ - pixel_x = 2; - pixel_y = 2 - }, -/obj/item/folder/red{ - pixel_x = 4; - pixel_y = 4 - }, -/obj/machinery/light{ - dir = 1; - in_use = 1 - }, +/obj/effect/landmark/start/detective, /turf/simulated/floor/wood, /area/security/detectives_office) "rCY" = ( @@ -117193,6 +118213,17 @@ }, /turf/simulated/floor/plating, /area/engine/controlroom) +"rDi" = ( +/obj/item/twohanded/required/kirbyplants, +/obj/structure/disposalpipe/segment, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" + }, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/bridge/meeting_room) "rDj" = ( /obj/machinery/door/firedoor, /obj/effect/decal/warning_stripes/yellow, @@ -117261,6 +118292,12 @@ /obj/effect/spawner/window/reinforced, /turf/simulated/floor/plating, /area/quartermaster/miningdock) +"rDP" = ( +/obj/effect/decal/cleanable/dirt, +/obj/effect/spawner/lootdrop/maintenance, +/obj/structure/closet/crate, +/turf/simulated/floor/plating, +/area/maintenance/brig) "rDT" = ( /turf/simulated/floor/plasteel{ icon_state = "yellowcorner" @@ -117336,14 +118373,6 @@ }, /area/hallway/primary/command/west) "rEC" = ( -/obj/machinery/door_control{ - id = "CargoBay Shutters South"; - name = "CargoBay Shutters South Controls"; - pixel_x = 27; - pixel_y = 31; - req_access = list(50) - }, -/obj/structure/disposalpipe/segment, /obj/structure/cable{ d1 = 4; d2 = 8; @@ -117355,6 +118384,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/structure/disposalpipe/segment{ + dir = 9 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "browncorner" @@ -117456,6 +118488,18 @@ icon_state = "darkbluealt" }, /area/hallway/primary/command) +"rFn" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1 + }, +/area/security/processing) "rFt" = ( /obj/structure/cable{ d1 = 1; @@ -117646,6 +118690,16 @@ /obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plating, /area/maintenance/asmaint2) +"rGr" = ( +/obj/machinery/camera{ + c_tag = "Rec Room Second Floor South"; + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" + }, +/area/crew_quarters/fitness) "rGt" = ( /obj/machinery/door/firedoor, /obj/effect/decal/warning_stripes/yellow, @@ -117853,18 +118907,14 @@ }, /area/crew_quarters/sleep) "rHO" = ( -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; - icon_state = "space"; - layer = 4; - name = "EXTERNAL AIRLOCK"; - pixel_x = 32 - }, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/warning_stripes/southeastcorner, /obj/machinery/atmospherics/unary/vent_scrubber/on{ dir = 8 }, +/obj/structure/sign/vacuum{ + pixel_x = 32 + }, /turf/simulated/floor/plating, /area/maintenance/maintcentral) "rHV" = ( @@ -117929,24 +118979,12 @@ }, /area/quartermaster/miningstorage) "rIF" = ( -/obj/structure/railing/corner{ - dir = 1 - }, -/obj/effect/turf_decal/siding/wood/corner{ - dir = 1 - }, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 + dir = 9 }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "rIK" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -118077,6 +119115,22 @@ icon_state = "neutralfull" }, /area/hallway/primary/central/east) +"rJG" = ( +/obj/structure/railing{ + dir = 1 + }, +/obj/machinery/door/firedoor/border_only{ + dir = 1 + }, +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 2 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "red" + }, +/area/security/lobby) "rJJ" = ( /obj/machinery/hydroponics/soil, /obj/item/seeds/chili, @@ -118294,7 +119348,6 @@ /obj/structure/flora/firebush, /obj/structure/window/reinforced, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, @@ -118317,7 +119370,6 @@ icon_state = "1-2" }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/engine, @@ -118396,6 +119448,12 @@ icon_state = "greencorner" }, /area/hydroponics) +"rMb" = ( +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "rMe" = ( /obj/machinery/autolathe/security, /obj/item/stack/sheet/metal{ @@ -118764,8 +119822,11 @@ }, /area/toxins/xenobiology) "rOC" = ( -/obj/structure/filingcabinet/chestdrawer, -/turf/simulated/floor/carpet/green, +/obj/structure/noticeboard{ + pixel_y = 30 + }, +/obj/item/twohanded/required/kirbyplants, +/turf/simulated/floor/wood, /area/security/detectives_office) "rOG" = ( /obj/structure/disposalpipe/segment, @@ -119376,9 +120437,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "rSH" = ( /obj/structure/table, @@ -119653,6 +120712,16 @@ "rUH" = ( /turf/simulated/floor/redgrid, /area/aisat/aihallway) +"rUN" = ( +/obj/effect/decal/cleanable/dust, +/obj/machinery/vending/wallmed{ + layer = 3.3; + name = "Emergency NanoMed"; + pixel_y = 0; + pixel_x = -26 + }, +/turf/simulated/floor/plating, +/area/maintenance/livingcomplex) "rUP" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -119662,17 +120731,15 @@ }, /area/security/warden) "rUQ" = ( -/obj/effect/decal/cleanable/dirt, -/obj/machinery/atmospherics/pipe/simple/visible/cyan{ - desc = "Труба содержит дыхательную смесь для подачи на станцию"; - dir = 10; - name = "Труба дыхательной смеси" +/obj/structure/disposalpipe/segment, +/obj/effect/turf_decal{ + dir = 4; + icon_state = "golden_stripes" }, -/obj/structure/sign/poster/contraband/tools{ - pixel_y = 32 +/turf/simulated/floor/plasteel{ + icon_state = "dark" }, -/turf/simulated/floor/plating, -/area/maintenance/brig) +/area/bridge/meeting_room) "rUT" = ( /obj/machinery/door/firedoor, /obj/machinery/door/airlock/medical/glass{ @@ -120015,15 +121082,22 @@ }, /area/crew_quarters/kitchen) "rYb" = ( -/obj/structure/disposalpipe/segment{ - dir = 9 +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 }, -/obj/effect/turf_decal/arrows/white, -/obj/effect/turf_decal/number/number_1{ - dir = 1 +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/disposalpipe/segment{ + dir = 10 }, /turf/simulated/floor/plasteel{ - icon_state = "brown" + dir = 1 }, /area/quartermaster/office) "rYd" = ( @@ -120058,6 +121132,16 @@ }, /turf/simulated/floor/wood, /area/maintenance/casino) +"rYi" = ( +/obj/structure/chair/sofa/corp/left{ + dir = 1 + }, +/obj/structure/window/reinforced, +/obj/machinery/computer/security/telescreen/entertainment{ + pixel_x = 32 + }, +/turf/simulated/floor/carpet/black, +/area/crew_quarters/bar/atrium) "rYj" = ( /obj/structure/chair/wood{ dir = 4 @@ -120313,6 +121397,18 @@ /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, /area/maintenance/asmaint) +"saj" = ( +/obj/structure/railing{ + dir = 5 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 5 + }, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "sao" = ( /obj/structure/closet{ icon_state = "cabinet" @@ -120338,6 +121434,8 @@ /obj/machinery/light{ dir = 8 }, +/obj/item/storage/box/papersack, +/obj/item/storage/box/papersack, /turf/simulated/floor/plasteel{ icon_state = "cafeteria" }, @@ -120499,15 +121597,13 @@ /area/toxins/rdoffice) "sbx" = ( /obj/machinery/camera{ - c_tag = "Rec Room Second Floor South"; - dir = 1 + c_tag = "Rec Room Second Floor North"; + dir = 9 }, -/obj/machinery/firealarm{ - dir = 1; - name = "south fire alarm"; - pixel_y = -24 +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "sbA" = ( /obj/structure/closet/chefcloset, @@ -120553,7 +121649,9 @@ }, /area/quartermaster/storage) "sbP" = ( -/obj/machinery/light/small, +/obj/structure/sign/poster/official/random{ + pixel_y = -32 + }, /turf/simulated/floor/plasteel/freezer, /area/crew_quarters/toilet2) "sbQ" = ( @@ -120849,7 +121947,9 @@ }, /area/aisat/aihallway) "sdN" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -121052,9 +122152,7 @@ /obj/effect/turf_decal/siding/wood/corner, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "seN" = ( /obj/machinery/prize_counter, @@ -121098,7 +122196,6 @@ /obj/item/clothing/suit/armor/bulletproof, /obj/item/clothing/head/helmet/alt, /obj/item/clothing/shoes/jackboots/armored, -/obj/item/clothing/gloves/color/black/ballistic, /obj/structure/window/reinforced{ color = "red" }, @@ -121111,6 +122208,7 @@ req_access = list(1); color = "red" }, +/obj/item/clothing/gloves/combat, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -121294,7 +122392,7 @@ "sgB" = ( /obj/structure/sign/security, /turf/simulated/wall/r_wall, -/area/maintenance/brig) +/area/security/brig) "sgI" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 @@ -121447,17 +122545,13 @@ }, /area/atmos/control) "shW" = ( -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/sign/poster/official/random{ pixel_x = -32 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 8 +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "shZ" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, @@ -121568,9 +122662,11 @@ /turf/simulated/floor/plating, /area/maintenance/fore) "sjv" = ( +/obj/structure/table/reinforced, +/obj/item/stack/cable_coil/random, /obj/item/radio/intercom{ dir = 1; - pixel_y = 28 + pixel_y = 24 }, /turf/simulated/floor/plasteel{ dir = 1; @@ -121683,11 +122779,12 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/door/airlock/maintenance{ name = "Bridge Maintenance"; - req_access = list(17) + req_access = list(17); + security_level = 1 }, /obj/structure/disposalpipe/segment, /turf/simulated/floor/plating, -/area/maintenance/maintcentral) +/area/bridge/meeting_room) "skw" = ( /obj/structure/window/reinforced{ dir = 8 @@ -121702,14 +122799,13 @@ /obj/structure/flora/ausbushes/brflowers, /obj/structure/flora/ausbushes/ppflowers, /obj/structure/flora/ausbushes/reedbush, -/obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); - dir = 8 - }, /obj/structure/window/reinforced{ dir = 1; layer = 2.9 }, +/obj/structure/window/reinforced{ + dir = 8 + }, /turf/simulated/floor/grass, /area/hallway/secondary/exit) "skE" = ( @@ -122049,10 +123145,6 @@ }, /area/crew_quarters/toilet4) "snu" = ( -/obj/machinery/door/airlock/maintenance{ - name = "Engineering Maintenance"; - req_access = list(10) - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -122065,6 +123157,9 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, +/obj/machinery/door/airlock/maintenance{ + req_access = list(47) + }, /turf/simulated/floor/plating, /area/maintenance/engineering) "snw" = ( @@ -122435,9 +123530,7 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "sqt" = ( /obj/effect/decal/cleanable/dirt, @@ -122472,9 +123565,7 @@ /obj/structure/sign/poster/official/high_class_martini{ pixel_y = -32 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "sqJ" = ( /obj/structure/railing{ @@ -122505,9 +123596,6 @@ "sqX" = ( /obj/structure/table/glass, /obj/item/storage/firstaid/regular, -/obj/structure/sign/poster/official/random{ - pixel_x = 32 - }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "whiteblue"; @@ -122597,12 +123685,12 @@ }, /area/quartermaster/miningdock) "srB" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(12) - }, /obj/structure/cable{ icon_state = "4-8" }, +/obj/machinery/door/airlock/maintenance{ + req_access = list(63) + }, /turf/simulated/floor/plating, /area/maintenance/brig) "srL" = ( @@ -122937,7 +124025,6 @@ /area/security/permabrig) "suh" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/closet/secure_closet/medical1, @@ -122981,7 +124068,7 @@ id_tag = "solar_tool_airlock"; layer = 3.3; pixel_y = 25; - req_access = list(32); + req_access = list(13); tag_airpump = "solar_tool_pump"; tag_chamber_sensor = "solar_tool_sensor"; tag_exterior_door = "solar_tool_outer"; @@ -123083,7 +124170,7 @@ icon_state = "2-8" }, /turf/simulated/floor/plating, -/area/engine/engine_smes) +/area/engine/engineering) "svl" = ( /obj/machinery/door/poddoor/shutters{ density = 0; @@ -123233,7 +124320,10 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 4 }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/sleep/secondary) "swa" = ( /obj/structure/cable{ @@ -123403,10 +124493,11 @@ }, /area/hallway/secondary/entry/lounge) "sxA" = ( -/obj/machinery/computer/security/telescreen/entertainment{ - pixel_y = -32 - }, /obj/machinery/light, +/obj/item/radio/intercom{ + dir = 1; + pixel_y = -28 + }, /turf/simulated/floor/plasteel{ icon_state = "blue" }, @@ -123444,6 +124535,18 @@ icon_state = "neutralfull" }, /area/atmos) +"sys" = ( +/obj/structure/railing{ + dir = 6 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 6 + }, +/turf/simulated/floor/plasteel{ + dir = 6; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "syu" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -123661,9 +124764,6 @@ name = "west station intercom (General)"; pixel_x = -28 }, -/obj/machinery/light{ - dir = 8 - }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "darkred" @@ -123815,9 +124915,6 @@ /obj/machinery/vending/engivend, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/effect/decal/warning_stripes/west, -/obj/machinery/light{ - dir = 4 - }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -123856,16 +124953,13 @@ }, /area/security/range) "sAW" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/obj/structure/cable{ - icon_state = "1-4" +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "sAZ" = ( /obj/structure/cable/yellow{ @@ -123875,14 +124969,18 @@ }, /obj/machinery/computer/station_alert, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "sBd" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 +/obj/structure/chair/office, +/obj/machinery/camera{ + c_tag = "Rec Room North" + }, +/obj/machinery/alarm{ + pixel_y = 26 }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" + dir = 1; + icon_state = "dark" }, /area/crew_quarters/fitness) "sBe" = ( @@ -124120,19 +125218,15 @@ }, /area/medical/cryo) "sDd" = ( -/obj/machinery/disposal, -/obj/structure/disposalpipe/trunk{ - dir = 4 - }, /obj/machinery/light{ dir = 1; in_use = 1 }, -/obj/effect/decal/warning_stripes/yellow/hollow, /obj/machinery/button/windowtint{ id = "Morgue"; pixel_x = 2; - pixel_y = 26 + pixel_y = 26; + range = 10 }, /obj/machinery/light_switch{ dir = 4; @@ -124140,6 +125234,7 @@ pixel_x = 10; pixel_y = 26 }, +/obj/machinery/photocopier, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "dark"; @@ -124340,8 +125435,8 @@ /area/maintenance/fore2) "sFd" = ( /obj/effect/decal/cleanable/cobweb2, -/obj/structure/closet, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -124353,20 +125448,10 @@ /turf/simulated/floor/wood, /area/civilian/vacantoffice) "sFg" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9 - }, -/obj/structure/disposalpipe/segment, -/obj/structure/cable{ - icon_state = "1-4" - }, -/obj/machinery/hologram/holopad, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + dir = 8; + icon_state = "red" }, /area/security/seceqstorage) "sFk" = ( @@ -124518,7 +125603,7 @@ "sGk" = ( /obj/machinery/door/airlock/maintenance{ name = "Medbay Maintenance"; - req_access = list(5) + req_access = list(64) }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 8 @@ -124549,6 +125634,12 @@ icon_state = "dark" }, /area/engine/mechanic_workshop/hangar) +"sGp" = ( +/obj/structure/flora/rock/pile, +/obj/structure/flora/ausbushes/sparsegrass/hell, +/obj/structure/flora/junglebush, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "sGt" = ( /obj/machinery/camera{ c_tag = "Atmospherics Air Tank"; @@ -125118,6 +126209,9 @@ "sKv" = ( /obj/structure/table/wood, /obj/item/folder/blue, +/obj/item/coin/plasma{ + pixel_x = 2 + }, /turf/simulated/floor/carpet/royalblue, /area/crew_quarters/captain) "sKx" = ( @@ -125135,9 +126229,7 @@ /obj/machinery/status_display{ pixel_y = -32 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "sKI" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -125244,9 +126336,6 @@ dir = 1 }, /obj/item/flag/nt, -/obj/machinery/light{ - dir = 1 - }, /turf/simulated/floor/wood/fancy/oak, /area/bridge/meeting_room) "sLN" = ( @@ -125401,6 +126490,10 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/machinery/light_switch{ + pixel_x = 24; + pixel_y = 24 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "red" @@ -125476,16 +126569,23 @@ }, /area/medical/virology/lab) "sND" = ( -/obj/structure/chair/sofa/corp/left{ - dir = 8 - }, /obj/machinery/recharger/wallcharger{ pixel_x = 32 }, -/obj/effect/landmark/start/security_officer, +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 10 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 5 + }, +/obj/structure/window/reinforced{ + color = "red"; + layer = 2.9 + }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "sNE" = ( @@ -125585,10 +126685,12 @@ }, /area/security/medbay) "sOv" = ( -/obj/structure/chair{ +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/machinery/light{ dir = 4 }, -/obj/effect/landmark/start/civilian, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -125623,7 +126725,7 @@ /area/crew_quarters/serviceyard) "sOK" = ( /obj/effect/decal/cleanable/dirt, -/turf/simulated/wall, +/turf/simulated/wall/r_wall, /area/maintenance/fore) "sON" = ( /obj/structure/sink/kitchen{ @@ -125793,7 +126895,7 @@ name = "interior access button"; pixel_x = -25; pixel_y = 25; - req_access = list(32) + req_access = list(13) }, /obj/effect/decal/warning_stripes/west, /turf/simulated/floor/plating, @@ -125953,7 +127055,6 @@ d2 = 2; icon_state = "1-2" }, -/obj/structure/fans/tiny, /obj/machinery/door/airlock/external{ frequency = 1379; id_tag = "engineering_west_outer"; @@ -125975,7 +127076,7 @@ dir = 9; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "sSh" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/decal/cleanable/blood/tracks{ @@ -126305,20 +127406,6 @@ icon_state = "dark" }, /area/security/securearmory) -"sTE" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/wood, -/area/crew_quarters/fitness) "sTG" = ( /mob/living/simple_animal/mouse/white{ desc = "Близкий друг психиатра. Не подпускать к Рантайму."; @@ -126603,6 +127690,17 @@ icon_state = "whitepurplefull" }, /area/toxins/explab) +"sVP" = ( +/obj/structure/railing, +/obj/structure/chair/comfy/beige{ + dir = 8 + }, +/obj/effect/turf_decal/siding/wideplating/dark, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluecornersalt" + }, +/area/crew_quarters/fitness) "sVW" = ( /obj/machinery/light{ dir = 1 @@ -127057,7 +128155,14 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/wood, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "sZf" = ( /obj/structure/chair/sofa/corp{ @@ -127075,11 +128180,24 @@ /obj/machinery/door/firedoor/border_only{ dir = 1 }, +/obj/structure/table, +/obj/item/stack/packageWrap, +/obj/item/hand_labeler, /turf/simulated/floor/plasteel{ dir = 5; icon_state = "brown" }, /area/quartermaster/office) +"sZm" = ( +/obj/machinery/door/airlock/external{ + frequency = 1379; + id_tag = "n_tool_outer"; + locked = 1; + name = "Engineering External Access"; + req_access = list(13) + }, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "sZt" = ( /obj/machinery/atmospherics/unary/vent_pump/on, /obj/structure/table/wood, @@ -127131,13 +128249,8 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint) "sZU" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "neutral" - }, +/obj/effect/turf_decal/siding/wideplating/dark, +/turf/simulated/wall, /area/crew_quarters/fitness) "sZW" = ( /obj/effect/decal/warning_stripes/north, @@ -127200,6 +128313,11 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, +/obj/item/folder/red{ + pixel_y = 3 + }, +/obj/item/book/manual/sop_security, +/obj/item/book/manual/security_space_law, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -127222,15 +128340,15 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint) "tar" = ( -/obj/machinery/door/airlock/maintenance{ - req_access = list(12) - }, /obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/structure/disposalpipe/segment, +/obj/machinery/door/airlock/maintenance{ + req_access = list(47) + }, /turf/simulated/floor/plating, /area/maintenance/asmaint2) "tau" = ( @@ -127582,10 +128700,6 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/structure/cable{ - icon_state = "2-8" - }, -/obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 8 @@ -127696,6 +128810,10 @@ /area/maintenance/fsmaint) "tdn" = ( /obj/structure/table/wood, +/obj/item/lighter/zippo/engraved{ + pixel_x = 1; + pixel_y = 3 + }, /turf/simulated/floor/plating, /area/maintenance/livingcomplex) "tdo" = ( @@ -127751,10 +128869,6 @@ /area/maintenance/fsmaint3) "tdG" = ( /obj/effect/decal/warning_stripes/north, -/obj/machinery/camera{ - c_tag = "Supermatter North"; - network = list("SS13","Engineering") - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -127818,12 +128932,6 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint2) "tdX" = ( -/obj/structure/table/reinforced, -/obj/item/book/manual/security_space_law, -/obj/item/book/manual/sop_security, -/obj/item/folder/red{ - pixel_y = 3 - }, /obj/machinery/firealarm{ dir = 4; pixel_x = -28 @@ -127831,6 +128939,19 @@ /obj/machinery/light{ dir = 8 }, +/obj/structure/rack, +/obj/item/flashlight/flare{ + pixel_y = 4 + }, +/obj/item/flashlight/flare{ + pixel_y = 1 + }, +/obj/item/flashlight/flare{ + pixel_y = -2 + }, +/obj/item/flashlight/flare{ + pixel_y = -6 + }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "red" @@ -127887,11 +129008,6 @@ /area/toxins/storage) "tes" = ( /obj/effect/decal/warning_stripes/red/hollow, -/obj/structure/closet/secure_closet/guncabinet{ - anchored = 1; - name = "Magazines for SP-91-RC"; - req_access = list(1) - }, /obj/item/ammo_box/magazine/sp91rc{ pixel_x = 8 }, @@ -127905,6 +129021,19 @@ /obj/structure/window/reinforced{ color = "red" }, +/obj/structure/rack{ + dir = 8; + layer = 2.9 + }, +/obj/structure/window/reinforced{ + color = "red"; + dir = 1 + }, +/obj/machinery/door/window{ + name = "Secure Armory"; + req_access = list(1); + color = "red" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -127973,6 +129102,18 @@ icon_state = "neutralfull" }, /area/atmos) +"tfa" = ( +/obj/structure/railing/corner{ + dir = 4 + }, +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluecorners" + }, +/area/crew_quarters/fitness) "tfc" = ( /obj/structure/chair/office{ dir = 4 @@ -128330,12 +129471,21 @@ /turf/simulated/floor/wood, /area/library) "thp" = ( -/obj/effect/decal/warning_stripes/yellow, /obj/structure/table/wood, /obj/item/taperecorder{ pixel_x = -4; pixel_y = 2 }, +/obj/effect/turf_decal{ + dir = 1; + icon_state = "golden_stripes" + }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, +/obj/machinery/light{ + dir = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -128627,7 +129777,6 @@ /obj/structure/sign/poster/contraband/random{ pixel_y = 32 }, -/obj/item/twohanded/required/kirbyplants/dead, /turf/simulated/floor/plating, /area/maintenance/brig) "tjI" = ( @@ -128664,6 +129813,18 @@ icon_state = "red" }, /area/security/processing) +"tkb" = ( +/obj/structure/railing{ + dir = 8 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "tkc" = ( /obj/effect/decal/cleanable/dirt, /obj/machinery/atmospherics/unary/portables_connector{ @@ -128671,7 +129832,7 @@ }, /obj/machinery/portable_atmospherics/pump, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "tke" = ( /obj/machinery/door/airlock/security/glass{ name = "Briefing Room"; @@ -129038,17 +130199,9 @@ /turf/simulated/floor/engine/n20, /area/atmos) "tns" = ( -/obj/machinery/crematorium{ - id = "creamed" - }, -/obj/machinery/light{ - dir = 1; - in_use = 1 - }, -/turf/simulated/floor/plasteel{ - icon_state = "cult" - }, -/area/chapel/office) +/obj/structure/sign/holy, +/turf/simulated/wall, +/area/chapel/main) "tnu" = ( /turf/simulated/floor/plasteel{ dir = 1; @@ -129096,6 +130249,15 @@ /obj/effect/turf_decal/delivery, /turf/simulated/floor/plasteel, /area/security/permabrig) +"tow" = ( +/obj/machinery/vending/wallmed{ + pixel_x = -25 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, +/area/crew_quarters/serviceyard) "toz" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/table, @@ -129318,6 +130480,7 @@ "tqr" = ( /obj/structure/table, /obj/item/storage/box/bodybags, +/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -129365,8 +130528,15 @@ /turf/simulated/floor/glass/reinforced, /area/engine/aienter) "tqE" = ( -/obj/structure/table, -/obj/item/storage/fancy/crayons, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 1 + }, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -129750,15 +130920,11 @@ }, /area/hallway/primary/central/second/east) "tti" = ( -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; - icon_state = "space"; - layer = 4; - name = "EXTERNAL AIRLOCK"; - pixel_x = -32 - }, /obj/effect/decal/warning_stripes/northwestcorner, /obj/effect/decal/cleanable/blood/oil, +/obj/structure/sign/vacuum{ + pixel_x = -32 + }, /turf/simulated/floor/plating, /area/maintenance/maintcentral) "ttj" = ( @@ -130003,14 +131169,17 @@ /turf/simulated/floor/plasteel, /area/engine/controlroom) "tuB" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 4 +/obj/item/twohanded/required/kirbyplants, +/obj/structure/window/reinforced{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "tuE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -130355,7 +131524,16 @@ /turf/simulated/floor/carpet/royalblack, /area/bridge/meeting_room) "twz" = ( -/obj/structure/sign/directions/evac, +/obj/structure/sign/directions/security{ + dir = 1; + pixel_y = 8 + }, +/obj/structure/sign/directions/medical{ + dir = 1 + }, +/obj/structure/sign/directions/evac{ + pixel_y = -8 + }, /turf/simulated/wall, /area/janitor) "twD" = ( @@ -130448,9 +131626,7 @@ /obj/machinery/alarm{ pixel_y = 22 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "txc" = ( /obj/machinery/door/airlock/atmos/glass{ @@ -130711,25 +131887,33 @@ /turf/simulated/floor/carpet/red, /area/maintenance/backstage) "tyM" = ( -/obj/machinery/vending/security, -/obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 1; + do_not_delete_me = 1 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 1 + }, /turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "redcorner" + icon_state = "dark" }, /area/security/seceqstorage) "tyR" = ( /obj/structure/cable{ - icon_state = "1-2" + d1 = 4; + d2 = 8; + icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers, /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 4 + dir = 1 }, -/obj/structure/cable{ - icon_state = "2-8" +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "tza" = ( /obj/effect/landmark/event/lightsout, @@ -130883,7 +132067,6 @@ /area/maintenance/xenozoo) "tAw" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/plasteel{ @@ -131194,19 +132377,19 @@ /turf/simulated/floor/wood/fancy/light, /area/crew_quarters/heads) "tDj" = ( -/obj/structure/chair/sofa/corp{ - dir = 8 - }, /obj/machinery/recharger/wallcharger{ pixel_x = 32 }, -/obj/effect/landmark/start/security_officer, -/obj/machinery/light{ - dir = 4 +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 8 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 8 }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "tDr" = ( @@ -131485,6 +132668,15 @@ dir = 4; network = list("SS13","Medical") }, +/obj/structure/cable{ + d2 = 4; + icon_state = "0-4" + }, +/obj/machinery/power/apc{ + dir = 8; + name = "west bump"; + pixel_x = -26 + }, /turf/simulated/floor/plasteel{ dir = 8 }, @@ -131604,10 +132796,12 @@ /turf/simulated/floor/plasteel/dark, /area/maintenance/starboardaux) "tFB" = ( -/obj/structure/closet/firecloset, -/obj/effect/decal/cleanable/dirt, -/turf/simulated/floor/plating, -/area/maintenance/brig) +/obj/machinery/dnaforensics, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkred" + }, +/area/security/detectives_office) "tFD" = ( /obj/effect/decal/warning_stripes/south, /turf/simulated/floor/plasteel, @@ -131956,6 +133150,15 @@ "tHM" = ( /turf/simulated/floor/plasteel/airless, /area/toxins/test_area) +"tHQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/decal/cleanable/dirt, +/turf/simulated/floor/plating, +/area/maintenance/brig) "tHU" = ( /obj/effect/turf_decal/siding/wood{ dir = 4 @@ -132205,6 +133408,9 @@ light_range = 6; name = "lantern" }, +/obj/structure/sign/poster/official/nanotrasen_logo{ + pixel_y = 32 + }, /turf/simulated/floor/grass, /area/hallway/primary/central/nw) "tJV" = ( @@ -132324,13 +133530,16 @@ }, /area/hallway/primary/central/se) "tLn" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 +/obj/machinery/firealarm{ + dir = 1; + name = "south fire alarm"; + pixel_y = 26 }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/structure/chair/office, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "tLu" = ( /turf/simulated/floor/plasteel{ @@ -132400,6 +133609,15 @@ }, /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) +"tLN" = ( +/obj/machinery/light{ + dir = 1 + }, +/obj/machinery/newscaster{ + pixel_y = 32 + }, +/turf/simulated/floor/engine, +/area/hallway/primary/central) "tMg" = ( /turf/simulated/openspace, /area/hallway/primary/central/south) @@ -132471,14 +133689,19 @@ /turf/simulated/floor/plating, /area/maintenance/disposal) "tMX" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, /obj/structure/cable{ - icon_state = "1-2" + icon_state = "4-8" }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "tNd" = ( /obj/structure/disposalpipe/segment, @@ -132846,12 +134069,11 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint6) "tPJ" = ( -/obj/structure/window/reinforced, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, +/obj/structure/table/reinforced, +/obj/item/storage/firstaid/regular, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 8; + icon_state = "darkgreen" }, /area/crew_quarters/fitness) "tPM" = ( @@ -132915,7 +134137,9 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/structure/disposalpipe/segment, +/obj/structure/disposalpipe/junction{ + dir = 2 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutral" @@ -133519,11 +134743,11 @@ /area/crew_quarters/toilet2) "tUa" = ( /obj/structure/table, -/obj/machinery/computer/library, /obj/machinery/light{ dir = 8 }, /obj/effect/decal/cleanable/dust, +/obj/machinery/computer/library/checkout, /turf/simulated/floor/wood, /area/security/permabrig) "tUc" = ( @@ -133675,6 +134899,17 @@ icon_state = "neutralfull" }, /area/hallway/primary/central) +"tVh" = ( +/obj/machinery/door/airlock/external{ + frequency = 1379; + id_tag = "n_tool_inner"; + locked = 1; + name = "Engineering External Access"; + req_access = list(13) + }, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "tVj" = ( /obj/structure/window/reinforced, /obj/structure/window/reinforced{ @@ -133910,6 +135145,7 @@ }, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -134255,9 +135491,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ icon_state = "white" }, @@ -134461,9 +135695,7 @@ d2 = 8; icon_state = "4-8" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "uaM" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ @@ -134554,9 +135786,7 @@ d2 = 4; icon_state = "1-4" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "ubn" = ( /obj/machinery/door/firedoor, @@ -134587,6 +135817,14 @@ icon_state = "dark" }, /area/chapel/main) +"ubx" = ( +/obj/machinery/newscaster{ + pixel_y = -30 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluealt" + }, +/area/hallway/primary/central/second/north) "ubJ" = ( /obj/structure/window/reinforced{ dir = 1; @@ -134711,7 +135949,17 @@ }, /area/maintenance/trading) "ucz" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "neutral" @@ -134811,9 +136059,7 @@ /obj/effect/turf_decal/siding/wood/corner{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "udC" = ( /obj/effect/turf_decal/tile/blue{ @@ -135035,9 +136281,7 @@ /area/gateway) "ufi" = ( /obj/effect/landmark/start/bartender, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "ufu" = ( /obj/structure/table/socle, @@ -135142,9 +136386,7 @@ dir = 4 }, /obj/machinery/chem_dispenser/beer, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "ugr" = ( /obj/structure/cable{ @@ -135197,7 +136439,8 @@ /obj/structure/sign/directions/medical{ dir = 8 }, -/obj/structure/sign/directions/evac{ +/obj/structure/sign/directions/cargo{ + dir = 2; pixel_y = -8 }, /turf/simulated/wall, @@ -135519,6 +136762,7 @@ /obj/structure/cable{ icon_state = "1-2" }, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -135559,6 +136803,15 @@ icon_state = "yellow" }, /area/engine/engineering) +"ujr" = ( +/obj/machinery/newscaster{ + pixel_y = 32 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "blue" + }, +/area/hallway/primary/central/north) "ujt" = ( /obj/machinery/atmospherics/pipe/manifold/hidden/supply{ dir = 1 @@ -135672,6 +136925,10 @@ "uku" = ( /turf/simulated/wall/r_wall/coated, /area/toxins/explab) +"uky" = ( +/obj/structure/flora/junglebush, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "ukz" = ( /obj/structure/computerframe, /obj/structure/computerframe, @@ -135730,13 +136987,13 @@ /area/medical/medbay2) "ull" = ( /obj/structure/filingcabinet/medical, -/obj/machinery/computer/security/telescreen/entertainment{ - pixel_y = 32 - }, /obj/machinery/light{ dir = 1; in_use = 1 }, +/obj/structure/sign/poster/official/random{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "blue" @@ -135830,6 +137087,7 @@ icon_state = "1-2" }, /obj/machinery/hologram/holopad, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -136015,9 +137273,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "unI" = ( /obj/structure/table/reinforced, @@ -136115,10 +137371,12 @@ /turf/simulated/wall/rust, /area/maintenance/apmaint) "uoB" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/table/reinforced, +/obj/item/paper/holodeck, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkgreen" }, -/turf/simulated/wall, /area/crew_quarters/fitness) "uoR" = ( /obj/structure/lattice, @@ -136271,13 +137529,14 @@ icon_state = "2-8" }, /obj/effect/turf_decal/caution/stand_clear, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "aisat" - }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, /area/turret_protected/ai) +"uqi" = ( +/obj/structure/ladder, +/turf/simulated/floor/plating, +/area/maintenance/asmaint6) "uqw" = ( /obj/structure/table, /obj/item/reagent_containers/food/condiment/saltshaker{ @@ -136400,12 +137659,6 @@ /obj/item/reagent_containers/dropper, /obj/item/reagent_containers/dropper, /obj/structure/table/glass, -/obj/machinery/door_control{ - id = "Chemistry"; - name = "Chem Hallway Desk Shutters"; - pixel_x = -26; - pixel_y = -26 - }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "yellow" @@ -136428,7 +137681,6 @@ /obj/structure/cable{ icon_state = "1-2" }, -/obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/wood, @@ -136438,6 +137690,18 @@ /obj/structure/closet/walllocker/emerglocker/west, /turf/simulated/floor/plasteel, /area/hallway/secondary/entry/additional) +"urD" = ( +/obj/structure/railing/corner{ + dir = 8 + }, +/obj/effect/turf_decal/siding/wideplating/dark/corner{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluecorners" + }, +/area/crew_quarters/fitness) "urE" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -136519,7 +137783,6 @@ name = "Engineering External Access"; req_access = list(10,13) }, -/obj/structure/fans/tiny, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "podfloor" @@ -136591,7 +137854,16 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 6 }, -/turf/simulated/floor/wood, +/obj/structure/cable{ + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "usT" = ( /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, @@ -136673,7 +137945,6 @@ /turf/simulated/floor/shuttle, /area/shuttle/arrival/station) "uto" = ( -/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ icon_state = "redcorner" }, @@ -136886,9 +138157,7 @@ pixel_y = 33 }, /obj/structure/filingcabinet/employment, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "uva" = ( /obj/machinery/atmospherics/unary/outlet_injector/on{ @@ -136948,6 +138217,10 @@ /obj/effect/decal/cleanable/dirt, /turf/simulated/floor/plating, /area/maintenance/fsmaint2) +"uvI" = ( +/obj/structure/reagent_dispensers/watertank, +/turf/simulated/floor/plating, +/area/maintenance/maintcentral) "uvP" = ( /obj/structure/disposalpipe/segment{ dir = 4 @@ -137814,6 +139087,9 @@ /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/effect/turf_decal/siding/wood{ + dir = 1 + }, /turf/simulated/floor/wood/fancy/light, /area/crew_quarters/heads/hop) "uCv" = ( @@ -137944,12 +139220,12 @@ /turf/simulated/floor/plating, /area/maintenance/banya) "uCV" = ( -/obj/structure/window/reinforced{ - dir = 8 - }, /obj/structure/chair/comfy/black{ dir = 4 }, +/obj/structure/window/reinforced{ + dir = 8 + }, /turf/simulated/floor/carpet/royalblack, /area/hallway/secondary/exit) "uDc" = ( @@ -138022,7 +139298,8 @@ id = "conferenceroomwindows"; id_tag = "conferenceroombolts"; name = "Conference Room"; - req_access = list(19) + req_access = list(19); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/structure/cable{ @@ -138142,7 +139419,7 @@ charge = 2e+006 }, /turf/simulated/floor/redgrid, -/area/engine/engine_smes) +/area/engine/engineering) "uES" = ( /obj/structure/cable{ icon_state = "1-2" @@ -138178,6 +139455,12 @@ /obj/structure/chair/stool/holostool, /turf/simulated/floor/plating, /area/maintenance/fsmaint2) +"uFu" = ( +/obj/machinery/light, +/turf/simulated/floor/plasteel{ + icon_state = "neutral" + }, +/area/hallway/primary/central/south) "uFB" = ( /obj/structure/railing, /turf/simulated/floor/plasteel{ @@ -138809,7 +140092,7 @@ "uKe" = ( /obj/machinery/disposal, /obj/structure/disposalpipe/trunk{ - dir = 4 + dir = 1 }, /obj/effect/decal/warning_stripes/yellow/hollow, /obj/machinery/light, @@ -139117,6 +140400,13 @@ }, /turf/simulated/floor/wood, /area/maintenance/casino) +"uMB" = ( +/obj/structure/table/reinforced, +/obj/item/storage/toolbox/mechanical, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/maintenance/trading) "uMI" = ( /obj/effect/spawner/window/reinforced, /obj/structure/cable{ @@ -139130,6 +140420,17 @@ /obj/effect/decal/warning_stripes/south, /turf/simulated/floor/plasteel/airless, /area/toxins/test_area) +"uNb" = ( +/obj/structure/disposalpipe/segment{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + icon_state = "red" + }, +/area/security/main) "uNc" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ @@ -139672,14 +140973,14 @@ }, /area/toxins/storage) "uRK" = ( -/obj/machinery/door_control{ - id = "temporary holding cell"; - name = "Temporary Holding Cell Privacy Shutters Control"; - pixel_x = 24; - req_access = list(63); - pixel_y = -24 +/obj/structure/chair{ + dir = 4 + }, +/obj/machinery/light_switch{ + pixel_x = -24 }, /turf/simulated/floor/plasteel{ + dir = 8; icon_state = "red" }, /area/security/processing) @@ -139893,9 +141194,9 @@ }, /area/maintenance/banya) "uTI" = ( -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "darkred" @@ -139934,11 +141235,10 @@ /area/maintenance/fpmaint) "uUv" = ( /obj/structure/railing, -/obj/effect/turf_decal/siding/wood{ - do_not_delete_me = 1 +/obj/effect/turf_decal/siding/wideplating/dark, +/turf/simulated/floor/plasteel{ + icon_state = "darkblue" }, -/obj/machinery/door/firedoor/border_only, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "uUw" = ( /turf/simulated/wall, @@ -140027,7 +141327,7 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment{ - dir = 9 + dir = 5 }, /turf/simulated/floor/plasteel{ dir = 5; @@ -140036,17 +141336,16 @@ }, /area/medical/morgue) "uVm" = ( -/obj/machinery/suit_storage_unit/engine, -/obj/effect/decal/warning_stripes/yellow/hollow, -/obj/machinery/light{ - dir = 1; - on = 1 +/obj/machinery/crematorium{ + id = "creamed2" + }, +/obj/structure/sign/fire{ + pixel_y = 32 }, -/obj/effect/decal/warning_stripes/south, /turf/simulated/floor/plasteel{ - icon_state = "dark" + icon_state = "cult" }, -/area/engine/hardsuitstorage) +/area/chapel/office) "uVn" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 5 @@ -140179,8 +141478,12 @@ /turf/simulated/floor/plasteel, /area/engine/engineering) "uVQ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 8 +/obj/machinery/atmospherics/unary/vent_scrubber{ + dir = 8; + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -140323,7 +141626,7 @@ icon_state = "0-4" }, /turf/simulated/floor/plating, -/area/engine/engine_smes) +/area/engine/engineering) "uWR" = ( /obj/effect/decal/warning_stripes/yellow/hollow, /obj/effect/decal/cleanable/dirt, @@ -140680,27 +141983,26 @@ }, /area/turret_protected/ai) "uZg" = ( -/obj/structure/table/wood, -/obj/item/book/manual/security_space_law{ - pixel_y = 6 +/obj/machinery/door/window/eastleft{ + dir = 2; + req_access = list(4); + name = "Forensic laboratory" }, -/obj/effect/turf_decal/siding/wood, -/turf/simulated/floor/carpet/green, +/turf/simulated/floor/wood, /area/security/detectives_office) "uZh" = ( -/obj/effect/spawner/window/reinforced, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/sign/directions/evac{ + pixel_y = -8 }, -/obj/structure/cable{ - icon_state = "0-2" +/obj/structure/sign/directions/security{ + dir = 1; + pixel_y = 8 }, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 8; - id_tag = "aisat" +/obj/structure/sign/directions/medical{ + dir = 1 }, -/turf/simulated/floor/plating, -/area/turret_protected/ai) +/turf/simulated/wall, +/area/hallway/primary/central/south) "uZo" = ( /obj/effect/decal/warning_stripes/southwest, /obj/machinery/alarm{ @@ -140867,6 +142169,10 @@ /obj/item/radio/intercom{ pixel_x = -28 }, +/obj/effect/turf_decal{ + dir = 8; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -140892,13 +142198,6 @@ dir = 4; pixel_x = -25 }, -/obj/machinery/atmospherics/unary/vent_scrubber{ - dir = 4; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 - }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whiteblue" @@ -141079,10 +142378,9 @@ /turf/simulated/floor/plating, /area/maintenance/medroom) "vbS" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + dir = 8; + icon_state = "red" }, /area/security/seceqstorage) "vbW" = ( @@ -141665,9 +142963,7 @@ "vgl" = ( /obj/machinery/disposal, /obj/structure/disposalpipe/trunk, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "vgo" = ( /obj/effect/decal/warning_stripes/east, @@ -141680,11 +142976,16 @@ }, /area/security/medbay) "vgG" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 + }, +/obj/structure/window/reinforced{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "darkbluecornersalt" }, -/turf/simulated/floor/plating, /area/crew_quarters/fitness) "vgH" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -141784,6 +143085,10 @@ icon_state = "brown" }, /area/quartermaster/delivery) +"vhM" = ( +/obj/structure/flora/junglebush/b, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "vhN" = ( /turf/simulated/wall, /area/crew_quarters/sleep) @@ -141995,9 +143300,7 @@ /obj/machinery/door/airlock/public/glass{ name = "Bar" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "vjD" = ( /obj/structure/disposalpipe/segment{ @@ -142370,12 +143673,12 @@ /turf/simulated/floor/carpet/black, /area/crew_quarters/bar/atrium) "vmD" = ( -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/structure/cable{ icon_state = "1-2" }, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ icon_state = "darkred" }, @@ -142504,9 +143807,7 @@ /obj/structure/sign/barsign{ pixel_y = -32 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "vny" = ( /obj/structure/chair/wood{ @@ -142639,9 +143940,7 @@ }, /area/maintenance/fsmaint3) "voX" = ( -/obj/structure/disposalpipe/segment{ - dir = 5 - }, +/obj/effect/landmark/start/security_officer, /turf/simulated/floor/plasteel{ icon_state = "redfull"; tag = "icon-redfull (NORTHWEST)" @@ -142823,7 +144122,7 @@ "vqS" = ( /obj/effect/decal/cleanable/dirt, /obj/structure/table/glass, -/obj/item/storage/backpack/duffel/medical, +/obj/item/storage/backpack/duffel/syndie/surgery_fake, /turf/simulated/floor/plasteel{ icon_state = "white" }, @@ -143239,11 +144538,6 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint) "vuU" = ( -/obj/structure/cable{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, /obj/structure/cable{ icon_state = "1-4" }, @@ -143265,9 +144559,7 @@ /obj/structure/disposalpipe/segment, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "vuX" = ( /obj/structure/cable{ @@ -143292,6 +144584,7 @@ pixel_x = 6; pixel_y = -2 }, +/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -143419,6 +144712,16 @@ }, /turf/simulated/floor/plating, /area/maintenance/fsmaint) +"vvY" = ( +/obj/structure/extinguisher_cabinet{ + pixel_x = -26 + }, +/obj/machinery/vending/security, +/obj/effect/decal/warning_stripes/red/hollow, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/security/seceqstorage) "vwb" = ( /obj/structure/table, /obj/machinery/cell_charger{ @@ -143644,9 +144947,7 @@ dir = 8; pixel_x = 25 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "vxG" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -143769,9 +145070,7 @@ "vyp" = ( /obj/effect/turf_decal/box, /obj/machinery/hologram/holopad, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "vyr" = ( /obj/machinery/camera{ @@ -143886,9 +145185,15 @@ /turf/simulated/floor/plating, /area/maintenance/maintcentral) "vzz" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plating, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 8 + }, +/obj/structure/window/reinforced{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + icon_state = "darkbluecornersalt" + }, /area/crew_quarters/fitness) "vzP" = ( /obj/structure/flora/ausbushes/ppflowers, @@ -143899,7 +145204,6 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/window/reinforced{ @@ -143909,16 +145213,11 @@ /turf/simulated/floor/grass, /area/crew_quarters/serviceyard) "vzW" = ( -/obj/machinery/atmospherics/unary/vent_scrubber{ - dir = 4; - name = "standard air scrubber"; - on = 1; - scrub_N2O = 1; - scrub_Toxins = 1 +/obj/structure/cable{ + icon_state = "4-8" }, /turf/simulated/floor/plasteel{ - icon_state = "redfull"; - tag = "icon-redfull (NORTHWEST)" + icon_state = "red" }, /area/security/seceqstorage) "vzX" = ( @@ -143929,6 +145228,15 @@ icon_state = "neutral" }, /area/hallway/primary/central/se) +"vAb" = ( +/obj/structure/sign/holy{ + pixel_x = -32 + }, +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "vault" + }, +/area/chapel/office) "vAe" = ( /turf/simulated/floor/plasteel{ icon_state = "dark" @@ -144048,16 +145356,14 @@ }, /area/hallway/primary/central/second/west) "vBH" = ( -/obj/structure/railing{ - dir = 4 - }, -/obj/effect/turf_decal/siding/wood{ - dir = 4 +/obj/structure/cable{ + icon_state = "1-2" }, -/obj/machinery/door/firedoor/border_only{ - dir = 4 +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "vBM" = ( /obj/structure/window/reinforced{ @@ -144693,7 +145999,6 @@ }, /area/security/execution) "vGL" = ( -/obj/effect/decal/warning_stripes/north, /obj/structure/cable{ icon_state = "1-4" }, @@ -144702,9 +146007,11 @@ }, /obj/machinery/atmospherics/binary/pump{ desc = "Подаёт токсины для смешивания с другими газами"; - name = "Южный винтиль подачи токсинов в реактор"; + name = "Южный винтиль подачи токсинов (Плазмы) в реактор"; target_pressure = 101 }, +/obj/effect/decal/warning_stripes/yellow/hollow, +/obj/effect/decal/warning_stripes/north, /turf/simulated/floor/plasteel{ icon_state = "purplefull" }, @@ -144739,6 +146046,7 @@ /obj/machinery/light/small{ dir = 4 }, +/obj/item/clothing/gloves/color/fyellow, /turf/simulated/floor/plating, /area/maintenance/maintcentral) "vHn" = ( @@ -144758,7 +146066,8 @@ /area/tcommsat/chamber) "vHo" = ( /obj/machinery/power/supermatter_shard{ - anchored = 1 + anchored = 1; + zap_sound_extrarange = -6 }, /turf/simulated/floor/engine, /area/engine/supermatter) @@ -144848,8 +146157,11 @@ /turf/simulated/floor/glass, /area/crew_quarters/bar/atrium) "vHM" = ( -/turf/simulated/wall/rust, -/area/crew_quarters/mrchangs) +/obj/machinery/atmospherics/unary/vent_scrubber/on{ + dir = 8 + }, +/turf/simulated/floor/plasteel/grimy, +/area/crew_quarters/bar) "vHU" = ( /obj/structure/sign/custodian{ pixel_x = 32 @@ -144925,6 +146237,7 @@ /obj/item/storage/belt/medical, /obj/item/clothing/glasses/hud/health, /obj/item/clothing/glasses/regular, +/obj/item/reagent_containers/hypospray/safety, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "whiteblue" @@ -145041,6 +146354,10 @@ /obj/item/flag/chameleon, /turf/simulated/floor/plating, /area/quartermaster/qm) +"vJQ" = ( +/obj/structure/ladder, +/turf/simulated/floor/plating, +/area/maintenance/starboard) "vJS" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 9 @@ -145404,6 +146721,9 @@ /obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ dir = 1 }, +/obj/structure/disposalpipe/segment{ + dir = 6 + }, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -145602,11 +146922,10 @@ }, /area/aisat/aihallway) "vNR" = ( -/obj/machinery/computer/med_data, -/obj/item/radio/intercom{ - pixel_x = -28 - }, -/turf/simulated/floor/carpet/green, +/obj/item/flash, +/obj/item/restraints/handcuffs, +/obj/structure/closet/secure_closet/cabinet/detective, +/turf/simulated/floor/wood, /area/security/detectives_office) "vNT" = ( /obj/machinery/door/airlock/medical/glass{ @@ -145653,21 +146972,15 @@ /turf/simulated/wall, /area/maintenance/apmaint) "vOb" = ( -/obj/structure/closet/secure_closet/security, -/obj/structure/window/reinforced{ - color = "red"; - layer = 2.9 - }, -/obj/effect/turf_decal/stripes/line{ - dir = 5 - }, -/obj/effect/turf_decal/stripes/red/line{ - dir = 10 +/obj/machinery/atmospherics/unary/vent_scrubber{ + dir = 8; + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 }, -/obj/item/clothing/mask/balaclava, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ - icon_state = "dark" + dir = 1 }, /area/security/seceqstorage) "vOc" = ( @@ -145704,15 +147017,15 @@ /turf/simulated/floor/plating, /area/security/permabrig) "vOj" = ( -/obj/structure/cable{ - icon_state = "1-2" +/obj/machinery/disposal, +/obj/structure/disposalpipe/trunk{ + dir = 8 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/effect/decal/warning_stripes/red/hollow, /turf/simulated/floor/plasteel{ - icon_state = "red" + icon_state = "dark" }, -/area/security/processing) +/area/security/seceqstorage) "vOk" = ( /obj/effect/spawner/random_spawners/rodent, /turf/simulated/floor/plating, @@ -145762,7 +147075,8 @@ "vOx" = ( /obj/machinery/door/airlock/security/glass{ name = "Brig Customs"; - req_access = list(63) + req_access = list(63); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/structure/cable{ @@ -145803,8 +147117,7 @@ }, /area/medical/research) "vOO" = ( -/obj/structure/table, -/obj/item/stack/sheet/cloth/ten, +/obj/machinery/atmospherics/unary/vent_scrubber/on, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "neutral" @@ -145857,13 +147170,10 @@ }, /area/quartermaster/delivery) "vPh" = ( -/obj/structure/railing/corner{ - dir = 8 - }, -/obj/effect/turf_decal/siding/wood/corner{ - dir = 8 +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluecornersalt" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "vPj" = ( /obj/structure/table/reinforced, @@ -145989,7 +147299,8 @@ id = "conferenceroomwindows"; id_tag = "conferenceroombolts"; name = "Conference Room"; - req_access = list(19) + req_access = list(19); + security_level = 1 }, /obj/machinery/door/firedoor, /obj/structure/disposalpipe/segment, @@ -146026,12 +147337,14 @@ /turf/simulated/floor/plating, /area/maintenance/fsmaint2) "vRc" = ( -/obj/effect/turf_decal/siding/wood, /obj/structure/sign/directions/floor/alt{ dir = 6; pixel_x = 32 }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 4; + icon_state = "neutral" + }, /area/crew_quarters/fitness) "vRq" = ( /obj/structure/cable{ @@ -146212,18 +147525,20 @@ /turf/simulated/wall/r_wall, /area/engine/controlroom) "vSY" = ( -/obj/machinery/camera{ - c_tag = "Locker Room Antechamber"; - dir = 8 - }, /obj/machinery/light{ dir = 4 }, +/obj/structure/sign/restroom{ + pixel_x = 31 + }, /turf/simulated/floor/wood/fancy/light, /area/crew_quarters/serviceyard) "vTa" = ( /obj/machinery/vending/coffee, -/obj/effect/decal/warning_stripes/yellow, +/obj/effect/turf_decal{ + dir = 5; + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -146275,6 +147590,7 @@ /obj/machinery/holosign/surgery{ id = "surgery1" }, +/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ icon_state = "whitebluefull" }, @@ -146567,10 +147883,6 @@ /turf/simulated/floor/plasteel, /area/security/permabrig) "vVc" = ( -/obj/structure/closet/secure_closet/guncabinet{ - anchored = 1; - name = "Magazines for SMG" - }, /obj/item/ammo_box/magazine/wt550m9{ pixel_x = 6; pixel_y = -6 @@ -146593,6 +147905,22 @@ pixel_y = 4 }, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/rack{ + dir = 8; + layer = 2.9 + }, +/obj/structure/window/reinforced{ + color = "red"; + dir = 1 + }, +/obj/structure/window/reinforced{ + color = "red" + }, +/obj/machinery/door/window{ + name = "Secure Armory"; + req_access = list(1); + color = "red" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -146643,6 +147971,24 @@ }, /turf/simulated/floor/engine, /area/hallway/primary/central) +"vVp" = ( +/obj/structure/sign/directions/medical{ + dir = 1 + }, +/obj/structure/sign/directions/evac{ + pixel_y = -8 + }, +/obj/structure/sign/directions/security{ + dir = 1; + pixel_y = 8 + }, +/turf/simulated/wall, +/area/maintenance/tourist) +"vVs" = ( +/obj/structure/flora/rock/pile, +/obj/structure/flora/grass/jungle, +/turf/simulated/floor/grass, +/area/crew_quarters/fitness) "vVC" = ( /obj/effect/decal/warning_stripes/north, /turf/simulated/floor/plasteel{ @@ -146677,9 +148023,6 @@ /obj/structure/flora/ausbushes/ppflowers, /obj/structure/flora/ausbushes/ywflowers, /obj/structure/flora/ausbushes/genericbush, -/obj/machinery/light{ - dir = 8 - }, /turf/simulated/floor/grass, /area/hallway/secondary/exit) "vWa" = ( @@ -146831,11 +148174,14 @@ /turf/simulated/floor/wood, /area/civilian/pet_store) "vWY" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/item/twohanded/required/kirbyplants, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/obj/effect/decal/warning_stripes/yellow/hollow, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "vWZ" = ( /turf/simulated/wall/r_wall/coated, @@ -146997,6 +148343,10 @@ /obj/effect/spawner/random_spawners/blood_5, /turf/simulated/floor/carpet/royalblack, /area/maintenance/fsmaint2) +"vYg" = ( +/obj/structure/reagent_dispensers/watertank, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "vYj" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -147093,19 +148443,19 @@ dir = 4 }, /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/grass, /area/crew_quarters/serviceyard) "vYQ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/structure/cable{ + icon_state = "1-2" }, -/obj/machinery/door/airlock/glass{ - name = "Holodeck Door" +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/turf/simulated/floor/plasteel{ + icon_state = "neutralfull" }, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "vYX" = ( /obj/machinery/atmospherics/unary/vent_scrubber/on, @@ -147616,7 +148966,6 @@ /turf/simulated/floor/carpet/green, /area/library/game_zone) "wdn" = ( -/obj/structure/disposalpipe/segment, /obj/machinery/alarm{ dir = 4; pixel_x = -24 @@ -147628,9 +148977,7 @@ /area/quartermaster/office) "wdp" = ( /obj/item/twohanded/required/kirbyplants, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "wds" = ( /obj/effect/decal/warning_stripes/north, @@ -147640,12 +148987,20 @@ /turf/simulated/floor/plasteel, /area/engine/mechanic_workshop/expedition) "wdu" = ( +/obj/item/grenade/clusterbuster/honk, /turf/simulated/floor/plating, /area/maintenance/library) "wdB" = ( -/obj/effect/spawner/random_spawners/wall_rusted_30, +/obj/structure/sign/directions/security{ + dir = 1; + pixel_y = -8 + }, +/obj/structure/sign/directions/medical{ + dir = 1; + pixel_y = 8 + }, /turf/simulated/wall, -/area/crew_quarters/toilet3) +/area/hallway/primary/port/south) "wdF" = ( /obj/machinery/light{ dir = 1; @@ -147881,7 +149236,7 @@ "wfo" = ( /obj/machinery/door/airlock/security{ name = "Evidence Storage"; - req_access = list(63); + req_access = list(1); security_level = 1 }, /obj/structure/cable{ @@ -147942,11 +149297,13 @@ }, /area/crew_quarters/kitchen) "wfW" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 +/obj/structure/chair/office{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/obj/effect/decal/warning_stripes/yellow/hollow, -/turf/simulated/floor/plasteel, /area/crew_quarters/fitness) "wfY" = ( /obj/effect/decal/cleanable/dirt, @@ -148079,15 +149436,19 @@ /turf/simulated/floor/carpet/red, /area/lawoffice) "whj" = ( -/obj/structure/chair/sofa/corp/left{ - dir = 4 - }, /obj/machinery/recharger/wallcharger{ pixel_x = -24 }, -/obj/effect/landmark/start/security_officer, +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/effect/turf_decal/stripes/line{ + dir = 4 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 4 + }, /turf/simulated/floor/plasteel{ - icon_state = "redcorner" + icon_state = "dark" }, /area/security/seceqstorage) "whk" = ( @@ -148182,18 +149543,18 @@ }, /area/hallway/primary/central/south) "wil" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ - dir = 1 - }, /obj/structure/cable{ icon_state = "2-8" }, /obj/structure/disposalpipe/segment{ dir = 10 }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "neutral" @@ -148595,9 +149956,7 @@ dir = 1; in_use = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "wkQ" = ( /obj/effect/decal/cleanable/dirt, @@ -148611,7 +149970,8 @@ /area/toxins/test_chamber) "wkT" = ( /obj/effect/decal/cleanable/dirt, -/obj/structure/grille/broken, +/obj/structure/closet, +/obj/effect/spawner/lootdrop/maintenance, /turf/simulated/floor/plating, /area/maintenance/fore) "wkV" = ( @@ -148771,11 +150131,21 @@ /turf/simulated/floor/plating, /area/maintenance/asmaint4) "wmg" = ( -/obj/machinery/vending/clothing/departament/security, -/obj/effect/decal/warning_stripes/red/hollow, +/obj/effect/turf_decal/stripes/line{ + dir = 5 + }, +/obj/effect/turf_decal/stripes/red/line{ + dir = 10 + }, +/obj/structure/closet/secure_closet/security, +/obj/item/clothing/mask/balaclava, +/obj/machinery/light, +/obj/structure/window/reinforced{ + color = "red"; + dir = 4 + }, /turf/simulated/floor/plasteel{ - dir = 1; - icon_state = "red" + icon_state = "dark" }, /area/security/seceqstorage) "wmp" = ( @@ -148795,7 +150165,7 @@ "wmt" = ( /obj/machinery/atmospherics/binary/pump{ desc = "Подаёт токсины для смешивания с другими газами"; - name = "Северный винтиль подачи токсинов в реактор"; + name = "Северный винтиль подачи токсинов (Плазмы) в реактор"; target_pressure = 101 }, /obj/effect/decal/warning_stripes/yellow/hollow, @@ -148957,6 +150327,14 @@ }, /turf/simulated/floor/wood, /area/security/permabrig) +"wnt" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/newscaster{ + pixel_y = 0; + pixel_x = -32 + }, +/turf/simulated/floor/plasteel, +/area/quartermaster/sorting) "wnu" = ( /obj/machinery/vending/snack, /obj/effect/decal/warning_stripes/yellow/hollow, @@ -149032,6 +150410,19 @@ icon_state = "wood-broken" }, /area/maintenance/livingcomplex) +"wnQ" = ( +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 4 + }, +/turf/simulated/floor/plasteel{ + dir = 1 + }, +/area/security/processing) "wnS" = ( /obj/effect/decal/warning_stripes/yellow/hollow, /obj/effect/decal/warning_stripes/southwest, @@ -149139,6 +150530,9 @@ /obj/structure/cable{ icon_state = "1-4" }, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plasteel{ dir = 1; icon_state = "red" @@ -149446,9 +150840,7 @@ pixel_y = 36; req_access = list(28) }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "wqI" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -149567,6 +150959,7 @@ name = "Operating Theatre"; req_access = list(45) }, +/obj/machinery/door/firedoor, /turf/simulated/floor/plasteel{ icon_state = "whitebluefull" }, @@ -150001,6 +151394,9 @@ id_tag = "xeno6" }, /obj/effect/spawner/window/reinforced, +/obj/structure/disposalpipe/segment{ + dir = 4 + }, /turf/simulated/floor/plating, /area/toxins/xenobiology) "wuC" = ( @@ -150126,7 +151522,7 @@ /area/maintenance/auxsolarport) "wvK" = ( /obj/machinery/turretid/stun{ - control_area = "\improper AI Satellite Secondary Antechamber"; + control_area = "AI Satellite Secondary Antechamber"; name = "AI Satellite Secondary Antechamber Turret Control"; pixel_y = -32; req_access = list(75) @@ -150199,7 +151595,7 @@ /obj/machinery/vending/wallmed{ layer = 3.3; name = "Emergency NanoMed"; - pixel_y = 32 + pixel_y = 30 }, /turf/simulated/floor/wood/fancy/oak, /area/bridge/meeting_room) @@ -150280,9 +151676,6 @@ }, /area/medical/research) "wwq" = ( -/obj/structure/window/reinforced{ - dir = 4 - }, /obj/machinery/atmospherics/unary/vent_pump/on, /turf/simulated/floor/plasteel{ dir = 5; @@ -150311,9 +151704,6 @@ /obj/structure/cable{ icon_state = "4-8" }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 4 - }, /turf/simulated/floor/plasteel{ icon_state = "white" }, @@ -150373,6 +151763,14 @@ icon_state = "4-8" }, /obj/effect/landmark/start/doctor, +/obj/machinery/door_control{ + desc = "A remote control switch for the medbay foyer."; + id = "MedbayFoyerPort"; + name = "Medbay Doors Control"; + normaldoorcontrol = 1; + pixel_y = 0; + pixel_x = 26 + }, /turf/simulated/floor/plasteel{ icon_state = "barber" }, @@ -150560,9 +151958,7 @@ /obj/effect/turf_decal/siding/wood{ dir = 1 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "wyD" = ( /obj/effect/decal/warning_stripes/south, @@ -150572,9 +151968,7 @@ /obj/machinery/newscaster{ pixel_y = -30 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "wyH" = ( /obj/machinery/atmospherics/unary/vent_pump/on{ @@ -150600,6 +151994,21 @@ icon_state = "darkbluealt" }, /area/hallway/primary/command/west) +"wyK" = ( +/obj/structure/railing{ + dir = 1 + }, +/obj/structure/chair/comfy/beige{ + dir = 8 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "darkbluecornersalt" + }, +/area/crew_quarters/fitness) "wyN" = ( /obj/structure/railing{ dir = 1 @@ -150931,6 +152340,7 @@ "wBP" = ( /obj/structure/table, /obj/item/eftpos, +/obj/machinery/light, /turf/simulated/floor/plasteel{ icon_state = "cult" }, @@ -150984,6 +152394,18 @@ }, /turf/simulated/floor/glass/reinforced, /area/quartermaster/office) +"wCh" = ( +/obj/structure/railing, +/obj/structure/table/glass, +/obj/effect/turf_decal/siding/wideplating/dark, +/obj/item/reagent_containers/food/drinks/britcup{ + pixel_y = 6 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "wCj" = ( /obj/effect/turf_decal/siding/wood{ dir = 1 @@ -151085,6 +152507,7 @@ /area/security/permabrig) "wDf" = ( /obj/structure/railing, +/obj/machinery/photocopier, /turf/simulated/floor/plasteel{ icon_state = "brown" }, @@ -151233,9 +152656,7 @@ /obj/item/book/manual/sop_supply, /obj/item/book/manual/security_space_law, /obj/item/book/manual/sop_command, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "wEJ" = ( /obj/structure/bed, @@ -151265,6 +152686,9 @@ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, +/obj/machinery/light{ + dir = 8 + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutral" @@ -151577,7 +153001,6 @@ /area/engine/controlroom) "wIl" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /turf/simulated/floor/glass/reinforced, @@ -151769,17 +153192,18 @@ }, /area/atmos) "wKo" = ( -/obj/structure/sign/directions/medical{ - dir = 1 - }, -/obj/structure/sign/directions/science{ - pixel_y = 8; - dir = 1 - }, /obj/structure/sign/directions/security{ dir = 1; pixel_y = -8 }, +/obj/structure/sign/directions/engineering{ + dir = 4; + pixel_y = 0 + }, +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = 8 + }, /turf/simulated/wall, /area/hallway/primary/central) "wKy" = ( @@ -151824,9 +153248,7 @@ dir = 4 }, /obj/machinery/door/firedoor, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "wKJ" = ( /obj/structure/cable{ @@ -151956,10 +153378,10 @@ /turf/simulated/floor/plasteel{ icon_state = "yellowfull" }, -/area/engine/engine_smes) +/area/engine/engineering) "wKY" = ( /obj/structure/extinguisher_cabinet{ - pixel_x = 28 + pixel_x = 26 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -152035,9 +153457,8 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/obj/item/eftpos, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar) "wLM" = ( /obj/item/flag/clown, @@ -152179,17 +153600,22 @@ }, /area/tcommsat/chamber) "wNu" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "temporary holding cell"; - locked = 1; - name = "Temporary Holding Cell Privacy Shutters" +/obj/machinery/light{ + dir = 1; + in_use = 1 }, -/obj/structure/cable{ - icon_state = "0-2" +/obj/structure/sign/poster/official/random{ + pixel_y = 32 }, -/turf/simulated/floor/plating, -/area/security/holding_cell) +/obj/machinery/light_switch{ + pixel_x = -24; + pixel_y = 24 + }, +/turf/simulated/floor/plasteel{ + dir = 9; + icon_state = "red" + }, +/area/security/seceqstorage) "wNw" = ( /obj/effect/spawner/random_spawners/wall_rusted_70, /turf/simulated/wall, @@ -152312,7 +153738,6 @@ /obj/effect/decal/cleanable/dirt, /obj/structure/curtain, /obj/machinery/atmospherics/unary/vent_pump/on, -/obj/item/shard, /turf/simulated/floor/plasteel{ icon_state = "freezerfloor" }, @@ -152665,16 +154090,10 @@ /turf/simulated/floor/plating, /area/maintenance/starboard) "wQo" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" - }, -/obj/item/radio/intercom{ - name = "east station intercom (General)"; - pixel_x = 28 +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkgreen" }, -/turf/simulated/floor/wood, /area/crew_quarters/fitness) "wQq" = ( /obj/structure/lattice/catwalk, @@ -152692,9 +154111,6 @@ }, /area/crew_quarters/serviceyard) "wQF" = ( -/obj/structure/disposalpipe/segment{ - dir = 10 - }, /turf/simulated/floor/plasteel, /area/quartermaster/office) "wQL" = ( @@ -152740,6 +154156,24 @@ icon_state = "stage_bleft" }, /area/maintenance/cafeteria) +"wRf" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/structure/cable{ + icon_state = "4-8" + }, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_y = -30 + }, +/turf/simulated/floor/plasteel{ + icon_state = "arrival" + }, +/area/hallway/secondary/entry) "wRm" = ( /obj/machinery/light/small{ dir = 8 @@ -152864,7 +154298,10 @@ scrub_N2O = 1; scrub_Toxins = 1 }, -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" + }, /area/crew_quarters/sleep/secondary) "wSw" = ( /obj/structure/window/reinforced{ @@ -153160,7 +154597,6 @@ /area/hallway/secondary/exit) "wUN" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/computerframe, @@ -153245,26 +154681,6 @@ icon_state = "neutralfull" }, /area/hallway/primary/central/east) -"wVz" = ( -/obj/structure/chair{ - dir = 4 - }, -/obj/item/radio/intercom{ - pixel_x = -32 - }, -/obj/machinery/camera{ - c_tag = "Temporary Holding Cell"; - dir = 4; - network = list("SS13","Security") - }, -/obj/machinery/light{ - dir = 8 - }, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "red" - }, -/area/security/holding_cell) "wVB" = ( /obj/structure/cable{ icon_state = "4-8" @@ -153487,6 +154903,7 @@ /turf/simulated/floor/plasteel, /area/quartermaster/miningstorage) "wXx" = ( +/obj/machinery/light, /turf/simulated/floor/plasteel{ dir = 6; icon_state = "neutral" @@ -153508,15 +154925,21 @@ }, /area/medical/medbay) "wXD" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/structure/cable{ - icon_state = "1-2" +/obj/effect/decal/warning_stripes/blue, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 8 }, -/obj/machinery/light{ +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood, +/obj/structure/cable{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/plasteel{ + icon_state = "Dark" + }, /area/crew_quarters/fitness) "wXI" = ( /obj/effect/spawner/random_spawners/fungus_30, @@ -153556,11 +154979,11 @@ }, /area/hallway/primary/fore) "wXY" = ( -/obj/structure/closet/wardrobe/white, /obj/machinery/alarm{ dir = 1; pixel_y = -22 }, +/obj/structure/closet/wardrobe/yellow, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -153573,38 +154996,8 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) -"wYi" = ( -/obj/structure/rack{ - dir = 8; - layer = 2.9 - }, -/obj/item/circuitboard/powermonitor{ - pixel_x = -2; - pixel_y = 2 - }, -/obj/item/circuitboard/stationalert{ - pixel_x = 1; - pixel_y = -1 - }, -/obj/item/circuitboard/atmos_alert{ - pixel_x = 3; - pixel_y = -3 - }, -/obj/item/circuitboard/thermomachine, -/obj/item/circuitboard/smes{ - pixel_x = 4 - }, -/obj/structure/cable{ - icon_state = "4-8" - }, -/turf/simulated/floor/plasteel{ - icon_state = "neutralfull" - }, -/area/storage/tech) "wYj" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/spawner/random_spawners/wall_rusted_70, @@ -153656,9 +155049,20 @@ /turf/simulated/floor/plasteel, /area/maintenance/medroom) "wYE" = ( -/obj/structure/sign/restroom, +/obj/structure/sign/directions/cargo{ + dir = 4; + pixel_y = 8 + }, +/obj/structure/sign/directions/science{ + pixel_y = -8; + dir = 1 + }, +/obj/structure/sign/directions/engineering{ + dir = 4; + pixel_y = 0 + }, /turf/simulated/wall, -/area/crew_quarters/serviceyard) +/area/hallway/primary/starboard/south) "wYL" = ( /obj/effect/turf_decal/siding/wood{ dir = 1 @@ -153736,7 +155140,6 @@ /area/assembly/showroom) "wZj" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/structure/disposalpipe/segment, @@ -153977,11 +155380,11 @@ }, /area/chapel/main) "xaK" = ( -/obj/structure/disposalpipe/segment, /obj/machinery/alarm{ dir = 8; pixel_x = 24 }, +/obj/effect/turf_decal/stripes/line, /turf/simulated/floor/plasteel{ dir = 4; icon_state = "red" @@ -154002,9 +155405,6 @@ /obj/effect/turf_decal/siding/yellow{ dir = 6 }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, /turf/simulated/floor/wood, /area/crew_quarters/courtroom) "xbc" = ( @@ -154322,10 +155722,12 @@ }, /area/hallway/primary/starboard) "xdA" = ( -/obj/machinery/r_n_d/protolathe{ - pixel_x = 1 - }, /obj/effect/decal/warning_stripes/northeast, +/obj/structure/table/reinforced, +/obj/machinery/recharger{ + pixel_x = 1; + pixel_y = 3 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -154513,15 +155915,6 @@ icon_state = "neutralfull" }, /area/hallway/primary/fore) -"xfE" = ( -/obj/machinery/ai_status_display{ - pixel_x = 32 - }, -/turf/simulated/floor/plasteel{ - dir = 4; - icon_state = "neutral" - }, -/area/crew_quarters/fitness) "xfK" = ( /obj/effect/decal/warning_stripes/southwest, /turf/simulated/floor/plasteel{ @@ -154565,13 +155958,6 @@ icon_state = "brown" }, /area/quartermaster/lobby) -"xfW" = ( -/obj/structure/disposalpipe/segment, -/turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "brown" - }, -/area/quartermaster/office) "xfY" = ( /obj/machinery/ai_status_display, /turf/simulated/wall/r_wall, @@ -154644,11 +156030,6 @@ /obj/effect/mapping_helpers/airlock/unres{ dir = 8 }, -/obj/machinery/door/airlock/security/glass{ - id_tag = "BrigEast"; - name = "Brig North Entrance"; - req_access = list(63) - }, /obj/machinery/door/firedoor, /obj/machinery/door/poddoor{ density = 0; @@ -154657,6 +156038,12 @@ name = "Brig Lockdown"; opacity = 0 }, +/obj/machinery/door/airlock/security/glass{ + id_tag = "BrigEast"; + name = "Brig North Entrance"; + req_access = list(63); + security_level = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "redcorner" }, @@ -154971,18 +156358,6 @@ /turf/simulated/floor/carpet/orange, /area/maintenance/casino) "xjg" = ( -/obj/structure/rack{ - dir = 8; - layer = 2.9 - }, -/obj/item/circuitboard/secure_data{ - pixel_x = -2; - pixel_y = 2 - }, -/obj/item/circuitboard/camera{ - pixel_x = 1; - pixel_y = -1 - }, /obj/structure/cable{ icon_state = "4-8" }, @@ -154995,6 +156370,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/effect/turf_decal{ + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -155011,18 +156389,20 @@ /turf/space/openspace, /area/space) "xjq" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/door/poddoor/shutters/preopen{ - dir = 1; - id_tag = "temporary holding cell"; - locked = 1; - name = "Temporary Holding Cell Privacy Shutters" +/obj/structure/table, +/obj/machinery/recharger{ + pixel_x = 1; + pixel_y = 3 }, -/obj/structure/cable{ - icon_state = "0-4" +/obj/structure/reagent_dispensers/peppertank{ + pixel_x = -32; + pixel_y = null }, -/turf/simulated/floor/plating, -/area/security/holding_cell) +/turf/simulated/floor/plasteel{ + dir = 8; + icon_state = "red" + }, +/area/security/processing) "xjs" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 @@ -155110,6 +156490,8 @@ /obj/item/radio/intercom/locked/prison{ pixel_x = 28 }, +/obj/machinery/cell_charger, +/obj/item/stock_parts/cell/high, /turf/simulated/floor/plating, /area/security/permabrig) "xjY" = ( @@ -155143,12 +156525,8 @@ /turf/simulated/floor/plasteel/dark, /area/engine/controlroom) "xke" = ( -/obj/structure/table, -/obj/item/storage/toolbox/mechanical{ - pixel_x = -2; - pixel_y = -1 - }, -/obj/item/storage/toolbox/emergency, +/obj/structure/chair/stool, +/obj/effect/landmark/start/civilian, /turf/simulated/floor/plasteel{ dir = 8 }, @@ -155226,6 +156604,9 @@ /obj/structure/disposalpipe/segment{ dir = 4 }, +/obj/effect/turf_decal{ + icon_state = "golden_stripes" + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -155258,9 +156639,6 @@ }, /area/maintenance/trading) "xkP" = ( -/obj/structure/cable{ - icon_state = "4-8" - }, /obj/structure/cable{ icon_state = "2-4" }, @@ -155275,6 +156653,17 @@ name = "Morgue"; sortType = 25 }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/structure/cable{ + icon_state = "1-8" + }, +/obj/structure/cable{ + icon_state = "2-8" + }, /turf/simulated/floor/plasteel{ icon_state = "arrival" }, @@ -155383,7 +156772,10 @@ }, /area/maintenance/gambling_den) "xlZ" = ( -/turf/simulated/floor/wood, +/turf/simulated/floor/plasteel{ + dir = 2; + icon_state = "darkgreen" + }, /area/crew_quarters/sleep/secondary) "xmb" = ( /obj/machinery/suit_storage_unit/cmo/sec_storage, @@ -155697,11 +157089,17 @@ }, /area/crew_quarters/bar/atrium) "xoT" = ( -/obj/effect/spawner/window/reinforced, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/item/radio/intercom{ + name = "east station intercom (General)"; + pixel_x = 28 + }, +/obj/structure/chair/office{ + dir = 8 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "dark" }, -/turf/simulated/floor/plating, /area/crew_quarters/fitness) "xoV" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -155902,11 +157300,10 @@ }, /area/hallway/primary/central/second/east) "xqR" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/turf/simulated/floor/plasteel{ - icon_state = "dark" - }, -/area/chapel/main) +/obj/effect/decal/cleanable/dirt, +/obj/structure/reagent_dispensers/fueltank, +/turf/simulated/floor/plating, +/area/maintenance/fsmaint3) "xqY" = ( /obj/effect/decal/cleanable/dirt, /obj/effect/turf_decal/stripes/white/line{ @@ -156068,9 +157465,12 @@ /area/security/podbay) "xrQ" = ( /obj/effect/landmark/start/paramedic, -/obj/machinery/hologram/holopad, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 +/obj/machinery/atmospherics/unary/vent_scrubber{ + dir = 4; + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 }, /turf/simulated/floor/plasteel{ icon_state = "white" @@ -156231,14 +157631,12 @@ }, /area/hallway/primary/fore) "xta" = ( -/obj/structure/disposalpipe/segment{ - dir = 10 - }, /obj/structure/cable{ icon_state = "1-2" }, /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/structure/disposalpipe/segment, /turf/simulated/floor/plasteel{ dir = 1 }, @@ -156275,13 +157673,14 @@ "xto" = ( /obj/machinery/the_singularitygen, /obj/effect/decal/warning_stripes/yellow/hollow, -/obj/machinery/power/apc{ - name = "south bump"; - pixel_y = 26 - }, /obj/structure/cable{ icon_state = "0-2" }, +/obj/machinery/power/apc{ + dir = 1; + name = "north bump"; + pixel_y = 26 + }, /turf/simulated/floor/plasteel, /area/storage/secure) "xtx" = ( @@ -156865,6 +158264,18 @@ icon_state = "dark" }, /area/maintenance/trading) +"xyk" = ( +/obj/structure/railing{ + dir = 1 + }, +/obj/effect/turf_decal/siding/wideplating/dark{ + dir = 1 + }, +/turf/simulated/floor/plasteel{ + dir = 1; + icon_state = "darkblue" + }, +/area/crew_quarters/fitness) "xym" = ( /obj/structure/railing/corner{ dir = 8 @@ -157024,6 +158435,9 @@ /obj/structure/cable{ icon_state = "2-4" }, +/obj/structure/cable{ + icon_state = "1-2" + }, /turf/simulated/floor/plasteel, /area/crew_quarters/toilet3) "xzs" = ( @@ -157155,7 +158569,7 @@ dir = 4; network = list("Medical","SS13") }, -/turf/space, +/turf/simulated/floor/plasteel, /area/medical/virology/lab) "xAc" = ( /obj/machinery/light{ @@ -157274,7 +158688,6 @@ /obj/structure/closet/secure_closet/security, /obj/item/clothing/mask/balaclava, /obj/effect/decal/warning_stripes/red/hollow, -/obj/item/flashlight/seclite, /turf/simulated/floor/plasteel{ dir = 9; icon_state = "red" @@ -157322,12 +158735,21 @@ }, /area/hallway/secondary/entry) "xBr" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/structure/cable{ icon_state = "1-2" }, /obj/structure/disposalpipe/segment, +/obj/machinery/atmospherics/pipe/manifold/hidden/supply{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers{ + dir = 8 + }, +/obj/structure/cable{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "neutralcorner" @@ -157476,6 +158898,12 @@ /obj/machinery/atmospherics/unary/vent_pump/on{ dir = 1 }, +/obj/machinery/requests_console{ + department = "Engineering"; + departmentType = 3; + name = "Engineering Requests Console"; + pixel_y = -30 + }, /turf/simulated/floor/plasteel{ dir = 7; icon_state = "yellow" @@ -157918,9 +159346,7 @@ d2 = 4; icon_state = "1-4" }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/crew_quarters/bar/atrium) "xGA" = ( /obj/effect/decal/warning_stripes/west, @@ -157945,9 +159371,6 @@ /turf/simulated/floor/wood, /area/security/permabrig) "xGJ" = ( -/obj/machinery/light/small{ - dir = 1 - }, /obj/machinery/power/apc{ dir = 1; name = "north bump"; @@ -158176,7 +159599,7 @@ dir = 4 }, /turf/simulated/floor/plating, -/area/engine/engineering) +/area/maintenance/engineering) "xIG" = ( /obj/structure/closet, /obj/effect/spawner/lootdrop/maintenance/tripple, @@ -158377,6 +159800,9 @@ pixel_x = 1; pixel_y = 9 }, +/obj/structure/sign/poster/official/religious{ + pixel_x = 32 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -158721,10 +160147,8 @@ }, /area/hallway/secondary/exit) "xMd" = ( -/obj/machinery/power/apc{ - dir = 4; - name = "east bump"; - pixel_x = 26 +/obj/machinery/status_display{ + pixel_x = 32 }, /turf/simulated/floor/plasteel{ dir = 4; @@ -158911,6 +160335,21 @@ icon_state = "yellow" }, /area/engine/engineering) +"xNU" = ( +/obj/machinery/door/airlock/public/glass{ + name = "Walkway" + }, +/obj/machinery/door/firedoor, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/structure/cable{ + icon_state = "1-2" + }, +/obj/effect/turf_decal/caution/red, +/turf/simulated/floor/plasteel{ + icon_state = "dark" + }, +/area/hallway/primary/starboard/south) "xNV" = ( /obj/item/radio/intercom{ pixel_x = -28; @@ -158955,9 +160394,9 @@ }, /area/quartermaster/miningstorage) "xOi" = ( -/obj/structure/closet, /obj/effect/decal/cleanable/dirt, /obj/effect/decal/warning_stripes/red/hollow, +/obj/structure/closet/secure_closet/brig/evidence, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "darkred" @@ -159173,6 +160612,7 @@ /obj/item/storage/box/bodybags/biohazard, /obj/item/clothing/suit/apron/surgical, /obj/item/storage/box/bodybags, +/obj/item/storage/belt/medical/surgery/loaded, /turf/simulated/floor/plasteel{ dir = 8; icon_state = "whitebluecorner" @@ -159205,12 +160645,12 @@ dir = 8; layer = 2.9 }, -/obj/item/circuitboard/message_monitor{ - pixel_y = -5 +/obj/item/circuitboard/camera{ + pixel_x = 1; + pixel_y = -1 }, -/obj/item/circuitboard/arcade/battle, -/obj/item/circuitboard/arcade/orion_trail{ - pixel_x = -4; +/obj/item/circuitboard/secure_data{ + pixel_x = -2; pixel_y = 2 }, /turf/simulated/floor/plasteel{ @@ -159234,12 +160674,15 @@ }, /area/hallway/primary/fore) "xQE" = ( -/obj/structure/girder, +/obj/machinery/crema_switch{ + id = "creamed"; + pixel_x = 24; + pixel_y = 24 + }, /turf/simulated/floor/plasteel{ - dir = 8; - icon_state = "whitehall" + icon_state = "cult" }, -/area/maintenance/fsmaint3) +/area/chapel/office) "xQF" = ( /obj/effect/spawner/random_spawners/blood_20, /turf/simulated/floor/plasteel{ @@ -159268,6 +160711,12 @@ dir = 1 }, /area/security/prison/cell_block/A) +"xQL" = ( +/turf/simulated/floor/plasteel{ + dir = 10; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "xQN" = ( /mob/living/simple_animal/turtle, /turf/simulated/floor/plasteel{ @@ -159301,13 +160750,6 @@ }, /area/quartermaster/miningdock) "xQZ" = ( -/obj/machinery/door/airlock/command/glass{ - id = "ntr"; - id_tag = "ntrepofficedoor"; - name = "NT Representative's Office"; - req_access = list(73); - security_level = 1 - }, /obj/structure/cable{ icon_state = "1-2" }, @@ -159321,9 +160763,15 @@ /obj/machinery/atmospherics/pipe/simple/hidden/supply, /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, /obj/machinery/door/firedoor, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" +/obj/machinery/door/airlock/command/glass{ + id = "ntr"; + id_tag = "ntrepofficedoor"; + name = "NT Representative's Office"; + req_access = list(73); + security_level = 1 }, +/obj/effect/turf_decal/siding/wood, +/turf/simulated/floor/wood/dark, /area/ntrep) "xRc" = ( /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -159456,7 +160904,6 @@ /area/hallway/secondary/entry/commercial) "xRN" = ( /obj/structure/window/reinforced{ - armor = list("melee"=100,"bullet"=100,"laser"=100,"energy"=100,"bomb"=100,"bio"=100,"rad"=100,"fire"=100,"acid"=100); dir = 8 }, /obj/machinery/chem_master, @@ -159601,6 +161048,12 @@ }, /turf/simulated/floor/plating, /area/maintenance/starboard) +"xSW" = ( +/turf/simulated/floor/plasteel{ + dir = 5; + icon_state = "darkbluealt" + }, +/area/crew_quarters/fitness) "xSZ" = ( /obj/machinery/door/poddoor/shutters/preopen{ id_tag = "CMO Shutters"; @@ -159750,10 +161203,6 @@ /area/hallway/secondary/exit) "xTO" = ( /obj/effect/decal/warning_stripes/red/hollow, -/obj/structure/closet/secure_closet/guncabinet{ - anchored = 1; - name = "Riot shotguns" - }, /obj/item/gun/projectile/shotgun/riot, /obj/item/gun/projectile/shotgun/riot{ pixel_x = 7 @@ -159761,6 +161210,22 @@ /obj/item/gun/projectile/shotgun/riot{ pixel_x = -7 }, +/obj/structure/window/reinforced{ + color = "red"; + dir = 1 + }, +/obj/structure/window/reinforced{ + color = "red" + }, +/obj/structure/rack/gunrack, +/obj/machinery/door/window{ + name = "Secure Armory"; + req_access = list(1); + color = "red" + }, +/obj/item/gun/projectile/shotgun/riot{ + pixel_x = -9 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -160124,16 +161589,12 @@ /turf/simulated/floor/carpet/black, /area/crew_quarters/bar/atrium) "xWl" = ( -/obj/structure/cable{ - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 4 }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 +/turf/simulated/floor/plasteel{ + icon_state = "floorgrime" }, -/turf/simulated/floor/plasteel, /area/storage/office) "xWn" = ( /obj/effect/decal/cleanable/dirt, @@ -160141,7 +161602,7 @@ dir = 8 }, /turf/simulated/floor/plating, -/area/crew_quarters/toilet3) +/area/maintenance/brig) "xWu" = ( /obj/structure/extinguisher_cabinet{ pixel_x = -24 @@ -160220,16 +161681,19 @@ /turf/simulated/floor/plating, /area/quartermaster/sorting) "xWS" = ( -/obj/structure/rack, -/obj/item/camera_film, -/obj/item/camera{ - desc = "A one use - polaroid camera. 30 photos left."; - name = "detectives camera"; - pictures_left = 30 +/obj/structure/table, +/obj/machinery/microscope{ + pixel_y = 6 + }, +/obj/machinery/camera{ + c_tag = "Detective's Lab"; + network = list("SS13","Security"); + dir = 1 + }, +/obj/item/reagent_containers/spray/cleaner/brig, +/turf/simulated/floor/plasteel{ + icon_state = "darkred" }, -/obj/item/taperecorder, -/obj/item/storage/briefcase, -/turf/simulated/floor/wood, /area/security/detectives_office) "xWU" = ( /obj/structure/cable{ @@ -160340,12 +161804,11 @@ /area/maintenance/secpost) "xXQ" = ( /obj/structure/closet/wardrobe/robotics_black, -/obj/item/storage/belt/utility, -/obj/item/storage/belt/utility, /obj/item/clothing/glasses/hud/diagnostic{ pixel_x = 2; pixel_y = 5 }, +/obj/item/storage/belt/utility, /obj/item/clothing/head/welding{ pixel_x = -3; pixel_y = 5 @@ -160447,9 +161910,6 @@ /obj/structure/cable{ icon_state = "0-2" }, -/obj/machinery/door/poddoor/shutters/preopen{ - id_tag = "aisat" - }, /turf/simulated/floor/plating, /area/turret_protected/ai) "xYI" = ( @@ -160644,7 +162104,6 @@ /turf/simulated/floor/carpet, /area/chapel/office) "yah" = ( -/obj/effect/landmark/start/cargo_technician, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ dir = 4 }, @@ -160652,6 +162111,7 @@ dir = 4 }, /obj/effect/decal/cleanable/dirt, +/obj/machinery/computer/supplyquest, /turf/simulated/floor/plasteel{ icon_state = "neutralfull" }, @@ -160673,7 +162133,12 @@ /turf/simulated/wall/r_wall/coated, /area/engine/supermatter) "yas" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/unary/vent_scrubber{ + name = "standard air scrubber"; + on = 1; + scrub_N2O = 1; + scrub_Toxins = 1 + }, /turf/simulated/floor/plasteel{ icon_state = "dark" }, @@ -160767,6 +162232,9 @@ /obj/item/reagent_containers/glass/beaker, /obj/item/reagent_containers/dropper, /obj/effect/decal/warning_stripes/west, +/obj/machinery/newscaster{ + pixel_y = 32 + }, /turf/simulated/floor/plasteel, /area/toxins/xenobiology) "yaM" = ( @@ -160992,19 +162460,14 @@ }, /obj/effect/decal/warning_stripes/southwest, /obj/machinery/firealarm{ - dir = 8; - pixel_x = -26; + dir = 2; pixel_y = -28 }, -/obj/machinery/alarm{ - dir = 1; - pixel_y = -22 - }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "yellow" }, -/area/engine/engine_smes) +/area/engine/engineering) "ycs" = ( /obj/machinery/portable_atmospherics/canister/oxygen, /obj/effect/decal/warning_stripes/yellow/hollow, @@ -161061,19 +162524,18 @@ /turf/simulated/floor/wood, /area/quartermaster/qm) "ycH" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/structure/cable{ - icon_state = "1-2" +/obj/structure/sign/directions/evac{ + pixel_y = -8 }, -/obj/machinery/status_display{ - pixel_x = -32 +/obj/structure/sign/directions/medical{ + dir = 1 }, -/turf/simulated/floor/plasteel{ - icon_state = "blue"; - dir = 8 +/obj/structure/sign/directions/security{ + dir = 8; + pixel_y = 8 }, -/area/hallway/primary/fore) +/turf/simulated/wall, +/area/hallway/spacebridge/somsec) "ycM" = ( /obj/effect/decal/warning_stripes/south, /obj/machinery/atmospherics/pipe/simple/hidden/supply{ @@ -161482,6 +162944,10 @@ dir = 8 }, /obj/effect/decal/cleanable/dirt, +/obj/machinery/vending/wallmed{ + name = "Emergency NanoMed"; + pixel_x = -26 + }, /turf/simulated/floor/plating, /area/maintenance/atmospherics) "yfm" = ( @@ -161703,6 +163169,11 @@ }, /area/medical/sleeper) "ygV" = ( +/obj/structure/cable, +/obj/machinery/power/apc{ + name = "south bump"; + pixel_y = -24 + }, /turf/simulated/floor/plasteel{ dir = 10; icon_state = "blue" @@ -162171,15 +163642,9 @@ /turf/simulated/floor/wood, /area/maintenance/casino) "ykM" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/structure/cable{ - icon_state = "4-8" - }, /turf/simulated/floor/plasteel{ - dir = 10; - icon_state = "red" + dir = 4; + icon_state = "redcorner" }, /area/security/seceqstorage) "ykO" = ( @@ -162274,9 +163739,7 @@ /obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ dir = 10 }, -/turf/simulated/floor/wood/fancy/light{ - color = "gray" - }, +/turf/simulated/floor/wood/dark, /area/ntrep) "ylN" = ( /obj/machinery/atmospherics/unary/outlet_injector/on{ @@ -162285,6 +163748,14 @@ }, /turf/simulated/floor/engine/insulated/vacuum, /area/atmos) +"ylO" = ( +/obj/machinery/computer/med_data, +/obj/item/radio/intercom{ + pixel_x = -28 + }, +/obj/effect/turf_decal/siding/wood, +/turf/simulated/floor/carpet/green, +/area/security/detectives_office) "ylQ" = ( /obj/structure/cable{ icon_state = "1-2" @@ -173420,7 +174891,7 @@ tkq tkq tkq tkq -tkq +oJr tkq tkq tkq @@ -174947,23 +176418,6 @@ tkq tkq tkq tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -oJr -tkq -tkq -tkq wuh wuh wuh @@ -175028,6 +176482,23 @@ tkq tkq tkq tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq lBr tkq uYD @@ -175204,23 +176675,6 @@ tkq tkq tkq tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq -tkq wuh wuh wuh @@ -175285,6 +176739,23 @@ tkq tkq tkq tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq +tkq lBr tkq uYD @@ -175461,8 +176932,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -175477,11 +176946,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -175542,6 +177011,8 @@ tkq tkq tkq tkq +tkq +tkq eIe eIe uYD @@ -175718,8 +177189,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -175734,11 +177203,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -175798,6 +177267,8 @@ tkq tkq tkq tkq +tkq +tkq lBr lBr tkq @@ -175975,8 +177446,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -175991,11 +177460,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -176055,6 +177524,8 @@ tkq tkq tkq tkq +tkq +tkq lBr eIe eIe @@ -176232,8 +177703,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -176248,11 +177717,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -176312,6 +177781,8 @@ tkq tkq tkq tkq +tkq +tkq eIe eIe uYD @@ -176489,8 +177960,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -176505,11 +177974,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -176569,6 +178038,8 @@ tkq tkq tkq tkq +tkq +tkq lBr tkq uYD @@ -176746,8 +178217,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -176762,11 +178231,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -176826,6 +178295,8 @@ tkq tkq tkq tkq +tkq +tkq lBr eIe uYD @@ -177003,8 +178474,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -177019,11 +178488,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -177083,6 +178552,8 @@ tkq tkq tkq tkq +tkq +tkq lBr tkq uYD @@ -177260,8 +178731,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -177276,11 +178745,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -177340,6 +178809,8 @@ tkq tkq tkq tkq +tkq +tkq eIe eIe tnd @@ -177517,8 +178988,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -177533,11 +179002,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -177567,6 +179036,8 @@ tkq tkq tkq tkq +tkq +tkq oJr tkq tkq @@ -177774,8 +179245,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -177790,11 +179259,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -177854,11 +179323,13 @@ tkq tkq tkq tkq +tkq +tkq rSe tkq tnd dny -rJj +mac jzd uOk uYD @@ -178031,8 +179502,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -178047,11 +179516,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -178108,6 +179577,8 @@ tkq tkq tkq tkq +tkq +tkq lBr lBr eIe @@ -178288,8 +179759,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -178304,11 +179773,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -178365,6 +179834,8 @@ tkq tkq tkq tkq +tkq +tkq rSe eIe tkq @@ -178545,8 +180016,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -178561,11 +180030,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -178622,6 +180091,8 @@ tkq tkq tkq tkq +tkq +tkq eIe eIe ocY @@ -178802,8 +180273,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -178818,11 +180287,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -178879,12 +180348,14 @@ tkq tkq tkq tkq +tkq +tkq lBr eIe ocY iBD vuB -rgs +cuf szQ nyr jPi @@ -179059,8 +180530,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -179075,11 +180544,11 @@ wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh @@ -179136,6 +180605,8 @@ tkq tkq tkq tkq +tkq +tkq eIe tkq ocY @@ -179316,8 +180787,6 @@ tkq tkq tkq tkq -tkq -tkq wuh wuh wuh @@ -179325,26 +180794,26 @@ wuh wuh wuh wuh -trf wuh wuh +qoS wuh wuh wuh wuh -tkq wuh wuh wuh wuh +tkq wuh wuh wuh wuh wuh -qoS wuh wuh +trf wuh wuh wuh @@ -179373,6 +180842,8 @@ tkq tkq tkq tkq +tkq +tkq lBr lBr lBr @@ -179428,7 +180899,7 @@ iBi jYf eIe tkq -eIe +lBr tkq tkq tkq @@ -179581,8 +181052,8 @@ tkq tkq tkq lGf -nAd -nAd +jtp +spj lGf tkq tkq @@ -179598,8 +181069,8 @@ eIe tkq tkq lGf -jtp -spj +nAd +nAd lGf tkq tkq @@ -179661,7 +181132,7 @@ mWj qgc idv dhS -cuf +rgs pXf mvi wAU @@ -179699,8 +181170,8 @@ tkq tkq tkq tkq -qvR -qvR +rSe +rSe eIe rkr evQ @@ -179838,8 +181309,8 @@ tkq tkq tkq rmv -cAr -jDl +xCE +eIY rmv eIe eIe @@ -179855,10 +181326,10 @@ eIe eIe eIe rmv -xCE -eIY +cAr +jDl rmv -tkq +eIe tkq tkq tkq @@ -179914,7 +181385,7 @@ vnM vnM vnM ocY -mWj +iXE aIf cyH jqS @@ -179956,7 +181427,7 @@ tkq tkq tkq tkq -qvR +rSe tkq tkq rkr @@ -180095,8 +181566,8 @@ tkq tkq lGf lGf -nAd -nAd +bjb +cYm lGf lGf tkq @@ -180112,8 +181583,8 @@ eIe tkq lGf lGf -bjb -cYm +nAd +nAd lGf lGf tkq @@ -180371,7 +181842,7 @@ rmv dLJ bUj bRL -jBN +wYV rmv tkq tkq @@ -180456,10 +181927,10 @@ bFg jOC eIe eIe -rSe -rSe -eIe -rSe +lBr +tkq +tkq +tkq wuh wuh bvV @@ -180468,9 +181939,9 @@ wuh wuh rSe eIe -qvR -qvR -qvR +rSe +rSe +rSe eIe vSN sIq @@ -180478,7 +181949,7 @@ hng aCF vSN eIe -qvR +rSe eIe iuf eIe @@ -180713,9 +182184,9 @@ kro jOC eIe tkq +lBr eIe -tkq -tkq +lBr eIe eIe cuR @@ -180734,8 +182205,8 @@ wOu hwp ozG vSN -eIe tkq +eIe tkq tkq eIe @@ -180944,11 +182415,11 @@ iMO gOj wIu pZF -gug +kAX fQu ocY tCy -owx +nRd wBe ocY ocY @@ -180971,9 +182442,9 @@ jOC eIe eIe eIe +tkq eIe -eIe -eIe +tkq eIe cuR kTl @@ -180991,8 +182462,8 @@ xpy izr hQr vSN -eIe tkq +eIe tkq tkq eIe @@ -181208,7 +182679,7 @@ ocY ocY ocY ocY -lmz +jcu lmz lmz lmz @@ -181922,8 +183393,8 @@ tkq tkq tkq tkq -qvR -qvR +lBr +lBr eIe eIe rSe @@ -182179,7 +183650,7 @@ tkq tkq tkq tkq -qvR +lBr eIe eIe tkq @@ -182436,12 +183907,12 @@ tkq tkq tkq tkq -qvR +lBr tkq lBr -eIe -eIe lBr +lBr +eIe eIe eIe eIe @@ -182693,12 +184164,12 @@ tkq tkq tkq tkq -qvR +lBr tkq rSe eIe tkq -tkq +eIe ucR gxN gxN @@ -182950,7 +184421,7 @@ tkq tkq tkq tkq -qvR +lBr eIe rSe eIe @@ -182990,7 +184461,7 @@ sGG dBD wTc gYl -gYl +bZW xrQ lVP vTG @@ -183185,13 +184656,13 @@ tpz rmv rmv rmv -cWq -cWq +uDS +uDS xJx xJx xJx -cWq -cWq +uDS +uDS rmv rmv rmv @@ -183208,7 +184679,7 @@ tkq tkq tkq eIe -eIe +tkq eIe eIe eIe @@ -183249,7 +184720,7 @@ mMG npW wLs lyr -nmg +lVP hmk vtS kOs @@ -183442,13 +184913,13 @@ bRL rmv tkq tkq -euv +uDS lTo lgz lgz lgz arf -euv +uDS tkq tkq rmv @@ -183464,7 +184935,7 @@ sbq tkq tkq tkq -qvR +rSe eIe eIe tkq @@ -183721,7 +185192,7 @@ sbq tkq tkq tkq -qvR +rSe tkq eIe eIe @@ -184034,7 +185505,7 @@ hKl hKl rBw lya -jmb +qZX hKl hKl jOC @@ -184351,7 +185822,7 @@ tkq eIe tkq tkq -tkq +eIe tkq eIe tkq @@ -184865,7 +186336,7 @@ tkq eIe oJr tkq -tkq +eIe tkq eIe tkq @@ -185023,8 +186494,8 @@ otR rwC esG iZR -iZR xUI +iZR bpp cPN cPN @@ -185298,7 +186769,7 @@ cbq bFc aUI hsU -lRl +uUD wwf rqQ fri @@ -185515,9 +186986,9 @@ eIe eIe kjL ndp -ivi +wRf ucR -eGe +rAe cHb ngP rAe @@ -185555,7 +187026,7 @@ cbq bFc aUI hsU -uUD +lRl wwf tJU wLB @@ -185778,7 +187249,7 @@ kGR ukl tlr qHs -cHb +jUo ucR dRA qZi @@ -186551,7 +188022,7 @@ sqM mVg uBh rNN -dRA +hmC qZi jvn jvn @@ -186567,7 +188038,7 @@ bil nEG hya fXb -fXb +aWt fXb fXb eqE @@ -186824,7 +188295,7 @@ iza vOz epN epN -epN +mND epN nBP qgs @@ -187874,7 +189345,7 @@ dgR vIG wtk buZ -inP +ujr nMR fZf iZj @@ -188402,7 +189873,7 @@ tkq tkq tkq bje -whu +dvf stA jLw bje @@ -189916,7 +191387,7 @@ seA pMN pMN jIw -veK +ovP cPi aPa pMN @@ -190172,8 +191643,8 @@ uOm dPw oxv oxv -oxv jQx +jLD oxv aCp oxv @@ -190430,7 +191901,7 @@ xsG naK slG gKE -ovP +fVQ fVQ neW fVQ @@ -190474,7 +191945,7 @@ lCA jCS jCS jCS -lCA +wdB tel rKy pDd @@ -190718,7 +192189,7 @@ eCm vVn sdh elG -vYx +cax skw wxh qwA @@ -190975,7 +192446,7 @@ nrs vVn xUa gGA -ods +lFY uYj uUK ssR @@ -191232,7 +192703,7 @@ nrs vVn saW elG -vYx +cax dZL dZL mcl @@ -191682,7 +193153,7 @@ eIe tkq tkq sbq -ndp +rpm xkP lqV pIV @@ -192488,7 +193959,7 @@ fVg gVf kDA uwv -ycH +sAu chV mSU sAu @@ -192530,7 +194001,7 @@ dXt tkq tkq tkq -dTS +uZh sNp nrT cpT @@ -192593,12 +194064,12 @@ oMS uCV mfU vVZ -bqF +oMS uCV uCV mfU aVc -bqF +oMS uCV uCV hKh @@ -192981,7 +194452,7 @@ rOV imz btx oWI -aBA +fOY aBA aBA aBA @@ -193012,7 +194483,7 @@ fMb wjl wEg jVn -dDV +dOF dDV gHV bDC @@ -193026,7 +194497,7 @@ bje vze vze vze -wKo +jna bje utv bYP @@ -193090,7 +194561,7 @@ cCn lEx bYW iZM -bYW +vVp qBR kUQ iFR @@ -193783,7 +195254,7 @@ cbA ffP tQT vPS -vPS +khZ iuF ruM aQt @@ -193852,12 +195323,12 @@ kpk fuX hzU fuX -mSc +rmx +mQB fuX fuX fuX fuX -mSc dKf fuX gWk @@ -194009,7 +195480,7 @@ awz imz oEE czM -csx +hyG csx aCk fEX @@ -194040,7 +195511,7 @@ fMb iGA aNT jVn -dDV +bDL cKH bPD bDC @@ -194101,7 +195572,7 @@ rAi jGJ ifp gdl -wYE +mYB eDF nCE thX @@ -194109,7 +195580,7 @@ aoY aAZ umU eDF -neK +gEF gEF gEF gEF @@ -194118,7 +195589,7 @@ gEF gEF nVC xTT -nVC +pkz ttm gmB iFR @@ -194145,7 +195616,7 @@ cES vuq ogl dgs -mLX +cIl xsB pav mVV @@ -194312,8 +195783,8 @@ tkq tkq tkq tkq -lXl -whu +bje +tLN stA fWb dXt @@ -194352,7 +195823,7 @@ sbm trv trv wuT -trv +tow trv trv tFs @@ -194586,7 +196057,7 @@ dXt tkq tkq tkq -dTS +piU sNp waT wLE @@ -195370,7 +196841,7 @@ vgl gXU fEn tvM -ups +nKO mtb sUy rYj @@ -195395,7 +196866,7 @@ oYq swa gDr gEF -aGk +ghy mTJ tEV mTJ @@ -195858,7 +197329,7 @@ nrs vVn sdh shM -aQE +qAV qZt qOY kvE @@ -195890,7 +197361,7 @@ pGz rRW kWJ hdm -auP +nvo mtv bFk eJz @@ -196047,7 +197518,7 @@ pJc sSD efT efT -efT +hWZ efT ldc jhT @@ -196115,7 +197586,7 @@ nrs vVn xUa oUm -jvB +xNU wMb pgp rkW @@ -196131,7 +197602,7 @@ wMb jvB bWo qyQ -uwq +uFu vGc vGc vGc @@ -196372,7 +197843,7 @@ nrs vVn saW shM -aQE +qAV vMF wFf wFf @@ -196415,8 +197886,8 @@ oZJ mls cYi feN -mHX pyN +mHX sro bry ebT @@ -196426,7 +197897,7 @@ gEF leh mTJ uNp -mQB +mTJ iUx gEF uYx @@ -196642,7 +198113,7 @@ xkF tmr tmr tmr -xkF +wYE uph xRq dIv @@ -197087,7 +198558,7 @@ vzc gxC kRx epG -vHM +qje cVl csx vWa @@ -197197,7 +198668,7 @@ gEF bPt tHr eUg -npx +lXl npx gEF kXE @@ -197676,7 +199147,7 @@ pAO kyj uEA cAk -fEn +kDG eZY jxK ddj @@ -197685,9 +199156,9 @@ vxt oRT cVS dhf -pGz +rYi rRW -sqm +ioT cAk kVb twU @@ -198463,7 +199934,7 @@ rRR tPU guy gum -dXO +dHS wbY kVb jnk @@ -198475,7 +199946,7 @@ lSW fLY uwt uEt -dbF +hiT lKe gDr maP @@ -198682,7 +200153,7 @@ tkq tkq tkq bje -whu +dvf stA ehy bje @@ -198718,8 +200189,8 @@ hmB ePo kVb dxw +vHM vtK -dHS vtK mqD kVb @@ -198732,7 +200203,7 @@ vhN vhN vhN vhN -cIl +pWf lKe gDr maP @@ -198989,7 +200460,7 @@ fyk fyk brn vhN -pWf +kgq flb iHy vnf @@ -199182,7 +200653,7 @@ jcg anM seD uku -scM +bcp bWc ded iZj @@ -199735,7 +201206,7 @@ bVB eNp xJw vYv -xJw +wnt aGG vFR dZM @@ -200502,7 +201973,7 @@ uGI gxc hqk aKR -okL +bEk pSy hbx hbx @@ -200770,8 +202241,8 @@ mHJ bua hRc bua -isK -rCp +aDI +jFG hyb gEI aDI @@ -201027,10 +202498,10 @@ bua bua nMS bua -cJE +gka +aDI wNw cJE -cJE lTH bDT lTH @@ -201795,7 +203266,7 @@ pjF kgI tUc nvM -aDI +isK cJE cJE cJE @@ -202070,11 +203541,11 @@ pjz obs hdj pVL -bXj +gmM yas njs sdN -tPJ +dKS spP abF bNw @@ -202589,7 +204060,7 @@ vIs oDV vIs hsK -dYV +hdj iwu sAL sAL @@ -202598,7 +204069,7 @@ fFi sAL sAL fFi -bFj +mMy lON dvj pWK @@ -202782,8 +204253,8 @@ tZC tZC ddO tZC -tZC -tZC +uqi +lNF aAg tkq ktF @@ -202846,18 +204317,18 @@ pqO pqO pqO pqO -boU +dMq hFm gvK gvK nau iFB -iFB -iFB +moy +moy iFB hNW hdj -abF +oeE pWK iQk jll @@ -203049,7 +204520,7 @@ ktF ktF oqX wAt -wYi +xjg gvd dHK aAg @@ -203102,10 +204573,10 @@ sAL sAL xQN sAL -sBd -imh +sAL +sAL ucz -mTC +gvK gvK lMJ sVc @@ -203359,10 +204830,10 @@ pqO pqO pqO pqO -sZU pqO pqO -kwL +qmk +pqO pqO pqO pqO @@ -203586,7 +205057,7 @@ sqt cps uWR xcg -xcg +mFh yah tMN ieK @@ -203607,24 +205078,24 @@ wuh wuh eIe pWK -hWr +lfn bxn mWJ cdl rtK sAL -nRB -sOv -nRB +sAL +sAL +sAL bFj vOO tqE -uVQ -nRB sOv -nRB -qmk -xfE +sAL +sAL +sAL +sAL +sAL pHa rZq lxc @@ -203868,21 +205339,21 @@ hWr qLe iyf pWK -pWK +tuB nbR vzz -vzz -vzz lch -xXx -xXx -tLn -aEB -aEB -aEB +lch +lch +rua +iIo +lch +lch +lch +lch vgG -pWK -pWK +tuB +sZU iXZ gOU heV @@ -204124,22 +205595,22 @@ xXx ocA lWT sun -xXx -tkq -gDO -oXk -oXk -bCR -oXk -oXk -oXk -oXk -bCR -oXk -oXk -xoT -tkq pWK +tLn +pZl +kBn +gOg +ciF +ciF +kGS +jgX +ivD +ciF +ciF +tfa +xSW +dYV +sZU vsB ccf gvK @@ -204381,21 +205852,21 @@ pWK xXx xXx xXx -xXx -tkq +pWK +sBd gDO -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -xoT -tkq +gOg +sys +aNw +liB +adJ +hYW +nFb +iQW +sGp +saj +tfa +iSa pWK pWK xXx @@ -204638,22 +206109,22 @@ eIe eIe eIe eIe -xXx -eIe -uoB -oVW -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk +pWK +bXj +gDO +uUv +vhM +iQc +mjC +bzs +wXD +wCh +uky +mxw +qbg +xyk pCQ -ekR -eIe -xXx +pWK eIe eIe eIe @@ -204896,20 +206367,20 @@ tkq rSe eIe xXx -tkq +oVW gDO -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -oXk -xoT -tkq +urD +bGf +fMV +vVs +wyK +ngB +sVP +pcK +bLs +nbl +aSY +rMb xXx eIe tkq @@ -205153,20 +206624,20 @@ tkq rSe eIe xXx -tkq -gDO -oXk -oXk -fhr -oXk -oXk -oXk -oXk -fhr -oXk -oXk -xoT -tkq +oVW +vPh +xQL +urD +tkb +tkb +lhV +pwP +gby +tkb +tkb +aSY +poR +pAd xXx eIe rSe @@ -205409,22 +206880,22 @@ tkq tkq rSe eIe -pWK -eIe -iUH -vzz -vzz -vzz -hYW xXx +oVW +aJW +vPh +rdB +rdB +rdB +rdB +ngB +rdB +rdB +rdB +rdB +pAd +aJW xXx -pwP -aEB -aEB -aEB -lKR -eIe -pWK eIe rSe tkq @@ -205666,22 +207137,22 @@ tkq tkq rSe eIe -xXx -tkq -tkq -eIe -tkq -xXx +pWK +osY +wfW +wfW +ioL +xoT wfW leN -leN +tyR vWY -xXx -tkq -eIe -tkq -tkq -xXx +imh +dDG +wfW +wfW +osY +pWK eIe rSe tkq @@ -205923,22 +207394,22 @@ tkq tkq tkq eIe +pWK +pWK xXx xXx +pWK +tRM +wTP +wTP +cNe +wTP +tRM +pWK xXx xXx -xXx -xXx -kTK -xXx -xXx -vYQ -xXx -xXx -xXx -xXx -xXx -xXx +pWK +pWK eIe rSe tkq @@ -206180,21 +207651,22 @@ tkq tkq rSe eIe +tkq eIe +tkq eIe +tkq +tRM +mVY +qSR +snn +fHk +tRM eIe eIe +tkq eIe -xXx -liD -iSa -hkB -ngB -xXx -eIe -eIe -eIe -eIe +tkq eIe eIe tkq @@ -206268,7 +207740,6 @@ tkq tkq tkq tkq -tkq "} (172,1,1) = {" tkq @@ -206437,23 +207908,23 @@ tkq tkq rSe eIe -rSe -rSe -tkq -rSe +lBr +lBr eIe -pWK -rua -iIo -lfn -maZ -pWK +lBr eIe -rSe +wTP +vWX +chZ +nWj +tPV +wTP eIe -rSe -rSe +lBr +lBr +lBr eIe +lBr rSe tkq tkq @@ -206651,7 +208122,7 @@ ueE bug wEQ dVE -iIz +jJp bib rDT ybY @@ -206697,16 +208168,16 @@ tkq tkq tkq tkq -tkq eIe -xXx -qLe -mMy -itR -qLe -xXx +tkq +tRM +aEB +dni +sYy +hVS +tRM +tkq eIe -rSe tkq tkq tkq @@ -206954,16 +208425,16 @@ tkq tkq tkq tkq -rSe +lBr eIe -xXx -xXx -xXx -xXx -xXx -xXx +tRM +tRM +wTP +wTP +tRM +tRM eIe -tkq +lBr tkq tkq tkq @@ -207211,16 +208682,16 @@ tkq tkq tkq tkq -rSe -eIe -eIe -eIe -eIe +lBr eIe +tkq eIe +tkq eIe +tkq eIe -rSe +tkq +lBr tkq tkq tkq @@ -207468,16 +208939,16 @@ tkq tkq tkq tkq -rSe -tkq -rSe -rSe -tkq -rSe -rSe -tkq -rSe -rSe +lBr +lBr +eIe +lBr +lBr +eIe +lBr +lBr +eIe +lBr tkq tkq tkq @@ -208233,7 +209704,7 @@ isq gyD tNZ laS -eDO +dTr nfr jhj laS @@ -208493,7 +209964,7 @@ laS tNK lZw tNK -iVT +eyC rxE eIe rSe @@ -210549,7 +212020,7 @@ tTp tNK lZw tNK -eyC +iVT rxE eIe tkq @@ -211319,7 +212790,7 @@ sEx laS eDO oSM -jhj +cFn laS laS tkq @@ -211518,12 +212989,12 @@ nBj hjv xjC qnB -ffg -ffg -ffg -ffg -ffg -ffg +yiU +yiU +yiU +yiU +yiU +yiU hrF qwo uem @@ -211780,7 +213251,7 @@ azB mCc sAZ fik -ffg +yiU ulx ulx ulx @@ -211834,7 +213305,7 @@ laS eIe tkq eIe -tkq +eIe eIe rSe rSe @@ -212037,7 +213508,7 @@ sSd kAj kAj yco -ffg +yiU kXT bbQ lla @@ -212294,7 +213765,7 @@ oHY wKX wKX oYZ -ffg +yiU hXP iIV iIV @@ -212326,9 +213797,9 @@ dOn syE eIe eIe -tkq eIe -tkq +eIe +eIe eIe dTV qtT @@ -212551,7 +214022,7 @@ bUq dhp dhp dZE -ffg +yiU vuR kms rTL @@ -212582,15 +214053,15 @@ wYX uva syE eIe -rSe -rSe -eIe tkq eIe +tkq eIe +tkq eIe +tkq eIe -eIe +tkq eIe eIe eIe @@ -212808,7 +214279,7 @@ qcn djX djX uER -ffg +yiU dle fti lPu @@ -212840,12 +214311,12 @@ ndf syE eIe rSe -tkq +lBr eIe rSe rSe rSe -tkq +eIe rSe rSe rSe @@ -213060,12 +214531,12 @@ bMJ hjv xjC pzY -ffg -ffg -ffg -ffg -ffg -ffg +yiU +yiU +yiU +yiU +yiU +yiU yfG fti kcL @@ -215653,7 +217124,7 @@ tkq tkq tkq tkq -qvR +rSe tkq bDJ bDJ @@ -216166,8 +217637,8 @@ tkq tkq tkq tkq -qvR -qvR +rSe +rSe tkq pmT pmT @@ -216423,7 +217894,7 @@ tkq tkq tkq tkq -qvR +rSe eIe tkq tkq @@ -216909,7 +218380,7 @@ tkq lBr eIe aww -uVm +gIg qvk lkX lkX @@ -216948,7 +218419,7 @@ rOH lAz tDF kHB -bZW +sxo sxo sxo sxo @@ -220538,8 +222009,8 @@ wRr gqc gqc gqc -osa -osa +tmr +tmr ylG ylG ybG @@ -238017,7 +239488,7 @@ jKG eTz oLX jKG -uJG +bkc ngN bkc bkc @@ -238789,7 +240260,7 @@ fuE uCv jKG fvL -uJG +bkc ngN bkc bkc @@ -239047,7 +240518,7 @@ aJw jKG fvL uJG -bkc +uJG bkc bkc bkc @@ -239303,7 +240774,7 @@ dgS mll jKG fvL -uJG +bkc ngN bkc bkc @@ -239561,7 +241032,7 @@ kZm jKG fvL uJG -uJG +ngN bkc bkc bkc @@ -239819,9 +241290,12 @@ jKG fvL uJG ngN +uJG ngN ngN +uJG ngN +sLA uJG ngN bkc @@ -239934,9 +241408,6 @@ bkc bkc bkc bkc -bkc -bkc -bkc "} (48,1,2) = {" bkc @@ -240075,15 +241546,15 @@ qtJ jKG uJG uJG +bkc uJG +bkc uJG uJG uJG uJG -ngN -ngN -uJG uJG +ngN bkc bkc bkc @@ -240336,11 +241807,11 @@ xAy xAy xAy xAy +jgv +cYe uJG uJG uJG -uJG -ngN bkc bkc bkc @@ -242134,7 +243605,7 @@ ujc ujc umh nUJ -kvH +eDu rzL hcX ezi @@ -242383,8 +243854,8 @@ vEv iCN kRS wJy -jYF -qmv +bhc +uNb rAj lQo cJe @@ -242639,7 +244110,7 @@ whd lEE uto cER -idV +lZC xaK lxw xAy @@ -242879,7 +244350,7 @@ ajW xoL sTC qMH -qMH +rdX xrS bhh oVO @@ -242897,13 +244368,13 @@ sMY gtE qlc qlc -qlc -dXy +xAy +xAy xAy whj gZK iNp -dnJ +voX tyM xAy koT @@ -243155,11 +244626,11 @@ qlc qlc fcc xAy -xAy -xAy +dXy +vvY pFI -vbS -vbS +sFg +sFg aMg wmg xAy @@ -243412,13 +244883,13 @@ urJ nDd brD xAy -jmY -dOF +wNu +vbS gKt -gBJ +xmI dWi mct -rcX +aDA xAy vmF hcX @@ -243670,12 +245141,12 @@ mSR qXo eDu avr -lgC -sFg +cTX +cTX egQ ldl gEV -voX +jmY xbz cIK jHI @@ -243927,10 +245398,10 @@ jLn gxi xAy bXL -lXC +dnJ ykM vOb -dXl +xmI vzW aDA xAy @@ -244180,14 +245651,14 @@ qlc sxk lBW pEC -lcT -lcT -xAy -xAy +qlc +qlc xAy +vOj +lXC eMi -oCi -eMg +rcX +rcX mTk qBm xAy @@ -244433,20 +245904,20 @@ eyn rIe jiw jop -kWp +uRK oQu phh -miE +oQu xjq auE -wVz -imG xAy -pao +xAy +xAy +tDj tDj sND ner -dNb +tyM xAy uJG uJG @@ -244693,9 +246164,9 @@ voh laB vqa fdg -vOj -pFF -jgw +pTl +pTl +cDE qTd ooE xAy @@ -244950,10 +246421,10 @@ oQu oQu iCm pTl -uRK -hNt -cRC -adH +fUu +kWp +miE +pTl cVh asI jfh @@ -245207,11 +246678,11 @@ uSi vkV kJt pTl -ivv -lcT -wNu +cRC ovA -pSc +pao +pTl +dCj asI obM xUJ @@ -245464,11 +246935,11 @@ xJJ rlo rFZ pTl -cDE -jiw -oQu -oQu -miE +uMr +rlo +jzQ +pTl +eJv asI puy omp @@ -245724,7 +247195,7 @@ laB arB arB arB -arB +rFn ehS wfo cEz @@ -245981,8 +247452,8 @@ pTl fUu oQu miE -pTl -uWG +cQj +eJv asI ryq omp @@ -246236,7 +247707,7 @@ diI qSH pTl hTO -pnU +uSi dvw pTl eYq @@ -246750,7 +248221,7 @@ mlJ frB pTl hTO -hSP +axu dvw pTl oMo @@ -247009,7 +248480,7 @@ pTl uMr xJJ jzQ -pTl +nbs uWG hLP iQU @@ -247019,7 +248490,7 @@ igY kgG tNs kya -kya +qyW kya gFc kya @@ -247250,7 +248721,7 @@ gmn bGl yal dlD -gQE +oAX qOB oAX dlD @@ -247266,7 +248737,7 @@ txH txH txH txH -txH +wnQ tFt uIq vZp @@ -250122,7 +251593,7 @@ sQl wSY dEc xZR -xZR +bMf dPp wSY uJG @@ -250364,7 +251835,7 @@ uRS reI aFq pfm -gpq +hfh tjC hEP nGQ @@ -250536,16 +252007,16 @@ bkc bkc bkc fvL -kdb -kdb -fvL -fvL -fvL -fvL -fvL -fvL -fvL -fvL +hKA +hKA +hKA +hKA +pAU +hKA +hKA +pAU +pAU +hKA ozQ ozQ ozQ @@ -250633,7 +252104,7 @@ tGu mhT pmO ieI -ieI +rDP awC pTv iVP @@ -250793,16 +252264,16 @@ bkc bkc bkc fvL -kdb -kdb -fvL -fvL -fvL -fvL -fvL -fvL -fvL -fvL +hKA +ruW +hKA +cgA +jiG +eGe +nxY +nxY +nxY +nZU ozQ eAh sCp @@ -250810,7 +252281,7 @@ jvC ozQ ozQ ozQ -gPk +pve pve pve jEj @@ -250874,11 +252345,11 @@ vXK arE arE arE -lFo -ivW +rJG +lWn fJq cqZ -bNu +fBg fBg fBg fBg @@ -251049,17 +252520,17 @@ fvL fvL bkc bkc -fvL -kdb -kdb -fvL -fvL -fvL -fvL -fvL -fvL -fvL -fvL +eer +sZm +idV +tVh +kvH +kCp +vzy +fKd +rzl +nxY +nxY ozQ ozQ kux @@ -251135,14 +252606,14 @@ lFo ivW ugJ ivW -hJE fBg qQY iwb +ylO vNR nNm evm -pAj +tFB fBg bXo lpE @@ -251307,16 +252778,16 @@ fvL bkc bkc fvL -kdb -kdb -fvL -fvL -fvL -fvL -fvL -fvL -fvL -fvL +hKA +ktU +isB +crD +nxY +ghM +kCp +nxY +pyd +nxY ozQ uuH gdP @@ -251330,7 +252801,7 @@ atX lFC mlG goz -pve +gPk wBn mnL oXP @@ -251356,7 +252827,7 @@ wIv frh uol dLa -mHk +myO xoV sYB cGn @@ -251392,12 +252863,12 @@ lFo ivW ugJ ivW -lWn qub uMk gtN -gtN dzK +vcf +hJE hFn xWS fBg @@ -251564,21 +253035,21 @@ fvL fvL bkc fvL -kdb -kdb -fvL -fvL -fvL -fvL hKA hKA hKA hKA +pAU +hKA +hKA +nxY +nxY +rzl ozQ xPn foB rtz -ozQ +rhp oDo uZv kOZ @@ -251613,7 +253084,7 @@ fQo pve gLx dLa -hdp +mHk xoV asr gAz @@ -251649,14 +253120,14 @@ jFd wTS oGz ivW -lWn csh xDx uHJ -rOC +bNu +vcf uZg -hFn -mEN +hDr +jur fBg cBO beG @@ -251828,9 +253299,9 @@ kdb kdb kdb hKA -nxY -nxY -nZU +avB +kCp +kCp ozQ wEH ylK @@ -251870,7 +253341,7 @@ dvq wwg xqu dLa -tww +hdp nKU mKb gAz @@ -251906,13 +253377,13 @@ lFo ivW vmf ivW -lWn aFr +jeV fpz jfa -dSs +vcf iEH -hFn +eHk mEN fBg uxm @@ -252163,13 +253634,13 @@ lFo gEz umf tOg -lWn fBg -cQj +kIz weh vcf +vcf wWG -hFn +vcf cRk fBg ieI @@ -252344,7 +253815,7 @@ kdb pAU nxY nxY -lIO +nxY ozQ ozQ wKE @@ -252420,9 +253891,9 @@ lFo ivW sfY ojv -mOR fmz -urx +mOR +cqc tcs urx jtH @@ -252630,7 +254101,7 @@ fmZ ncn dDu gyA -lIv +dTp dTp gyA jGH @@ -252677,8 +254148,8 @@ jFd uDc ugJ ivW -fCq fBg +rOC rCX hNq vcf @@ -252934,14 +254405,14 @@ lFo ivW ugJ ivW -lWn fBg +ryM lgx nKt eLZ pDv qdG -jeV +pAj fBg ieI syu @@ -253145,7 +254616,7 @@ sjI dDu wkT aKV -aKV +owQ aKV aKV aKV @@ -253191,7 +254662,7 @@ lFo ivW frW gFA -ryM +fBg fBg fBg fBg @@ -253400,13 +254871,13 @@ dDu tOT dDu dDu -dTp +sOK aKV fev fev fev fev -ebt +fev aKV dTp mPi @@ -253448,11 +254919,11 @@ lFo ivW ugJ ivW -lWn bXo aeK xyr hQs +kuB bXo giJ dHz @@ -253656,8 +255127,8 @@ nbb nbb jhe ehF -goz -gyA +oAa +lIv eLO fev bTz @@ -253704,17 +255175,17 @@ tGl jFd eJf ugJ -ivW -dkw +qJP bXo cTH mZT mdf +kEV onl gSx -ieI -cBO nBd +cBO +lbW ieI dWz awC @@ -253920,7 +255391,7 @@ fev pik xop udl -fev +ebt aKV pxL jPg @@ -253962,15 +255433,15 @@ lFo ivW pUd ivW -lWn bXo -rUQ +apH fvM -bEk -bXo +ieI +ieI bXo bXo bXo +inl bXo onl bXo @@ -254159,8 +255630,8 @@ mZC bMU hGu bMU +ebK bwh -bMU ezK bMU bMU @@ -254219,12 +255690,12 @@ lFo ivW dTf rus -jur eDs gjW tmW ieI -tFB +ieI +irQ bXo jpL xnC @@ -254476,11 +255947,11 @@ lFo ivW ugJ ivW -lWn bXo mCQ kJp xBa +tHQ xBa fyZ xBa @@ -254490,7 +255961,7 @@ ieI mZg bbZ hoH -wUw +mTa mqL jYH wre @@ -254687,7 +256158,7 @@ lTR xMb elE aKV -ebt +fev fRV fev fev @@ -254732,21 +256203,21 @@ arE jFd bRg ugJ -ivW -kIz +dSs bXo -apH -irQ +qhI +iNh +dkw ovq baL baL baL srB baL -wdB +onl irJ -eAN -eAN +awC +awC eAN eAN eAN @@ -254990,7 +256461,7 @@ lFo ivW ugJ ivW -hJE +baL baL baL baL @@ -255247,8 +256718,8 @@ lFo gEz pAs ajH -lWn hbW +ybD cMg trA jAq @@ -255471,7 +256942,7 @@ aKV jgU mPG oVS -gAz +oJw bkc tuW gkj @@ -255504,9 +256975,9 @@ lFo ivW ugJ ivW -lWn lWG mgf +aPP aar ehJ jYX @@ -255517,7 +256988,7 @@ baL fDF xWn qYg -oJw +ieI inl wdN wDq @@ -255761,9 +257232,9 @@ jFd rIc ugJ ivW -lWn lWG deS +fCq pQE vtb bqj @@ -255774,12 +257245,12 @@ baL fDF iqg jlh -oJw +ieI eAN vay wdN bcx -wdN +nKR wDq qpp pYc @@ -256018,9 +257489,9 @@ lFo ivW kEm jmG -hWZ ieq myk +myk hcx iCP qya @@ -256275,9 +257746,9 @@ lFo ivW ugJ ivW -lWn odS ybD +qKH trA oej xaW @@ -256532,9 +258003,9 @@ lFo ivW ugJ ivW -lWn odS mgf +aPP aar apb cEc @@ -256777,7 +258248,7 @@ gkj gkj tuW tuW -tuW +ycH mHk aop nnq @@ -256789,8 +258260,8 @@ jFd oZE ugJ ivW -aPP wGw +deS gaj pQE sPn @@ -257305,7 +258776,7 @@ kds ivW gjd sOJ -sOJ +hTz sOJ sOJ tzX @@ -257744,7 +259215,7 @@ jZN kCp uMw ppW -kOb +goT vat gZq kPy @@ -258287,7 +259758,7 @@ aKV aKV rYB hRf -hSz +ubx cOE cOE bfz @@ -258805,7 +260276,7 @@ fwq kue bzN bzN -bzN +gLP bzN bzN bzN @@ -258813,7 +260284,7 @@ lwj mNl hSz ots -cax +fvL eGq ssT nlI @@ -259327,7 +260798,7 @@ kXm ycw hSz ots -cax +fvL eGq ssw jhC @@ -259537,7 +261008,7 @@ cjU mEo hKA hKA -kCp +uvI nxY qZQ uMw @@ -259621,7 +261092,7 @@ uiV isz isz isz -hoR +cYZ hOA axQ jGJ @@ -259829,7 +261300,7 @@ hAa hAa ahr lZn -hSz +gqo cOE cOE bfz @@ -260319,8 +261790,8 @@ cdH iGR fjq jWX -hDi -kOb +rDi +rUQ pdF uMw gVC @@ -261382,7 +262853,7 @@ cOE qNs oZS nno -fkl +neK fkl eGq dZB @@ -261671,7 +263142,7 @@ tMg wRE ukK ngs -gmY +cWq hwj ccn pkr @@ -262431,7 +263902,7 @@ opU hUn fkl fkl -fkl +bCw vbN xqA rCd @@ -263692,7 +265163,7 @@ hrR lFa iyk hAa -ajv +qKI wbv ith dPJ @@ -263728,7 +265199,7 @@ wRE ukK eHI gmY -aTC +jFL aTu xWP cYR @@ -263983,10 +265454,10 @@ sJR sJR gec ukK -ioI -hAJ -hHY -bkq +eHI +gmY +aTC +ewV vxY cYR jWR @@ -264240,10 +265711,10 @@ sJR sJR tku ukK -buw -gmY -aTC -fQN +ioI +hAJ +hHY +bkq vxY cYR jWR @@ -264429,7 +265900,7 @@ lPv lPv klY oSY -qON +phm bci nOX pTU @@ -264447,7 +265918,7 @@ wRn lcY vOy fRS -oEb +pnU hAa dDk bbM @@ -264703,7 +266174,7 @@ gQY rVc lcY xHd -jlv +fRS fRS kgU fRS @@ -264960,7 +266431,7 @@ oLG vCg lcY nhR -fRS +dDk fRS hAa xHd @@ -265961,7 +267432,7 @@ bkc uJG bkc pAU -nxY +jfU nxY aJb vzy @@ -268060,8 +269531,8 @@ phm nnB phm pOA -phm pni +bBO eVD fNi jrc @@ -268284,7 +269755,7 @@ bkc ngN uJG pTU -cHB +rCp phm phm pTU @@ -268318,7 +269789,7 @@ pTU ikV pOA phm -bBO +vJQ eVD eIO jrc @@ -268381,7 +269852,7 @@ peD peD peD bxQ -xlZ +iUH wSq eXr svX @@ -268851,14 +270322,14 @@ rwI rwI oYp guV -aQz +lNW cqJ xNv hhZ fFn avq cSB -xAp +pEj rUy nEJ gfP @@ -268867,7 +270338,7 @@ wfJ ifS gfP nfP -vDg +dbD tFu wbp fvK @@ -269057,7 +270528,7 @@ bkc uHG vIX ekc -pdg +ljB www nhZ rrU @@ -269108,7 +270579,7 @@ rwI rwI oRE cSB -emS +kpt sCT cSB rsu @@ -269124,7 +270595,7 @@ vVh fYD hTB vwZ -dbD +vDg tyg pJm gfP @@ -269146,21 +270617,21 @@ wyN wQZ pGk xWl -moy +leW pxh inp -inp -orZ +pqO +shW cae tMX -inp -cvc -inp -tyR +pqO +pqO +pqO +pqO dpY shW sAW -aJW +pqO eIR pWK pWK @@ -269314,7 +270785,7 @@ uJG xMF wqY vdl -pdg +eJc tYQ wtb ezl @@ -269366,13 +270837,13 @@ rwI sZi puS rEC -pEj +wQF dFn evL bQg tau cSB -xAp +pEj dFn rQM gfP @@ -269403,21 +270874,21 @@ nKr wQZ lpz guU -leW -sTE -pZl -vBH -vBH -vBH -vBH -vBH -vBH -vBH +hkB +vYQ +mzt +mTC vBH vBH +nRB +rBy +rBy +rBy +rBy +rBy keK -aSY -aJW +rIF +gvK owA vBx vBx @@ -269629,7 +271100,7 @@ bQg bQg ifW cSB -xAp +rYb uKe bQg kqx @@ -269660,21 +271131,21 @@ hTe wQZ mGc cLL -eCb +leW dIa -uUv -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -kiI -aJW +sbx +mMy +sAL +sAL +sAL +sAL +sAL +sAL +sAL +sAL +uVQ +rGr +bCR vRc vBx vBx @@ -269881,13 +271352,13 @@ akR yhp qAN wQF -kpt +rUy wdn -xfW -fWX -mmn -lNW -rYb +eEq +guV +cSB +xAp +sCn gfP gfP gfP @@ -269918,20 +271389,20 @@ wQZ eCb eCb eCb -sTE -uUv -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -kiI -aJW +pWK +pWK +xXx +xXx +xXx +kfb +xXx +xXx +kfb +xXx +xXx +xXx +pWK +pWK pWK pWK pWK @@ -270137,9 +271608,9 @@ rwI akR tNt pKV -mmn -mmn -aUl +cSB +cSB +cSB cSB cSB cSB @@ -270174,22 +271645,22 @@ tae wQZ bkc bkc -pWK -maC -uUv -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -kiI -sbx -pWK +fvL +fvL +xXx +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +xXx +fvL +fvL bkc uJG uJG @@ -270363,7 +271834,7 @@ jvb uLl bto fzG -fzG +vAb jvb sNH fzG @@ -270393,10 +271864,10 @@ rwI rwI akR mJv -pjE +mmn sCT sCT -dvf +cSB hVU hUe bFK @@ -270431,22 +271902,22 @@ dHu wQZ bkc bkc +fvL +fvL xXx -sTE -uUv -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -kiI -aJW +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk xXx +fvL +fvL uJG sLA uJG @@ -270650,10 +272121,10 @@ rwI wBY bQg klB -pjE +mmn seH cqJ -dvf +cSB cSB cSB cSB @@ -270679,7 +272150,7 @@ wQZ wQZ wQZ wQZ -kiT +bcw kiT kiT kiT @@ -270688,22 +272159,22 @@ wQZ wQZ uJG uJG -xXx -sTE -uUv -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -vBx -kiI -aJW -xXx +fvL +fvL +pWK +orZ +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +cvc +pWK +fvL +fvL bkc uJG bkc @@ -270945,22 +272416,22 @@ gYD wQZ uJG bkc +fvL +fvL xXx -sTE -vPh -oeE -rdB -rdB -rdB -rdB -rdB -rdB -rdB -rdB -rdB -rIF -aJW +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk xXx +fvL +fvL bkc sLA bkc @@ -271202,22 +272673,22 @@ szR wQZ uJG uJG -pWK -jgX -qtv -tuB -wXD -wQo -qtv -ijY -dDG -qtv -oTV -wXD -qtv -rBy -osY -pWK +fvL +fvL +xXx +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +oXk +xXx +fvL +fvL uJG sLA bkc @@ -271385,7 +272856,7 @@ nTo pni kql xxH -grU +uVm cHN sEN jHq @@ -271459,22 +272930,22 @@ szR wQZ uJG uJG -pWK +fvL +fvL pWK xXx xXx pWK -tRM -wTP -wTP -cNe -wTP -tRM -pWK +qtv xXx xXx +qtv pWK +xXx +xXx pWK +fvL +fvL uJG sLA bkc @@ -271642,7 +273113,7 @@ nOX nOX mHg xxH -tns +grU sEN sEN jHq @@ -271650,8 +273121,8 @@ sEN mfw xxH iJP +eIO ddg -xqR vtp eIO mhJ @@ -271714,23 +273185,23 @@ gfy bsg kQf wQZ -ngN -bkc bkc -uJG bkc bkc +uJG bkc -tRM -mVY -qSR -snn -fHk -tRM uJG +bkc +xXx +nnc +liD +tPJ +wQo +xXx uJG uJG bkc +uJG bkc uJG uJG @@ -271899,7 +273370,7 @@ pTU nOX jSZ xxH -grU +aCP sEN jjV kvw @@ -271971,25 +273442,25 @@ bkc bkc kQf wQZ -ngN uJG -ngN -ngN uJG -ngN -bkc -wTP -vWX -chZ -nWj -tPV -wTP +sLA +sLA uJG -ngN +sLA uJG +pWK +maC +itR +boU +kTK +pWK +uJG +sLA ngN -ngN +sLA uJG +ngN sLA bkc bkc @@ -272156,7 +273627,7 @@ gvT mDV xTQ xxH -tns +grU sEN sEN iWr @@ -272235,14 +273706,14 @@ bkc bkc uJG bkc -tRM +xXx mPE -dni -sYy -hVS -tRM -uJG +kwL +uoB +ijY +xXx bkc +uJG bkc bkc bkc @@ -272413,8 +273884,8 @@ phm pcL nOX xxH -grU -sEN +lJL +xQE pwo hjr pvE @@ -272490,16 +273961,16 @@ bkc bkc bkc bkc -ngN +sLA uJG -tRM -tRM -wTP -wTP -tRM -tRM +xXx +xXx +xXx +xXx +xXx +xXx uJG -bkc +ngN bkc bkc bkc @@ -272747,8 +274218,8 @@ bkc bkc bkc bkc -ngN -bkc +sLA +uJG bkc uJG bkc @@ -272936,10 +274407,10 @@ qRE sBj hBv qWI -eVD +tns twE bDb -kaW +mhJ eVD nJa llW @@ -273004,16 +274475,16 @@ bkc bkc bkc bkc -bkc -bkc -bkc +ngN +ngN uJG -bkc +sLA +wTd uJG -bkc +sLA +wTd uJG ngN -ngN bkc bkc bkc @@ -273260,16 +274731,16 @@ uJG uJG uJG uJG -ngN -ngN -ngN -uJG -ngN -ngN -uJG -sLA -ngN -uJG +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc bkc bkc bkc @@ -273516,8 +274987,8 @@ laS fvL fvL fvL -bkc -bkc +uJG +uJG uJG bkc bkc @@ -273684,18 +275155,18 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN +ngN +uJG +ngN +uJG +ngN +uJG +ngN +ngN +ngN +uJG +ngN cYe cYe cYe @@ -273742,7 +275213,7 @@ nUL fXY gEi vTB -aPf +kaW eQl dCP eQl @@ -273941,22 +275412,22 @@ bkc bkc bkc bkc +uJG bkc +uJG bkc bkc +uJG bkc bkc bkc +uJG bkc bkc bkc +uJG bkc bkc -bkc -ngN -uJG -uJG -uJG eVD eKy fDT @@ -274198,6 +275669,135 @@ bkc bkc bkc bkc +uJG +uJG +uJG +uJG +uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +eVD +eVD +eVD +eVD +eVD +eVD +eVD +eVD +eVD +eVD +eVD +eVD +uUw +uUw +uUw +xDi +qxa +tbH +uUw +uUw +uUw +uYI +xbY +xbY +uUw +uUw +uUw +uUw +vwD +qfQ +xoa +uUw +hFW +mOJ +dbs +rul +pgC +nPg +agc +cHE +jjJ +vTB +hpx +grh +rul +ohr +nUL +gBY +vTB +cHE +jjJ +rul +laS +qlG +kdl +jvj +jLB +jLB +yjX +ibU +ibU +bwU +bEh +bEh +bEh +bwU +ibU +vGz +cHa +cOm +fvL +kdb +kdb +fvL +uJG +uJG +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +ngN +ngN +uJG +uJG +bkc +bkc +bkc +vUJ +hDs +uJG +cRQ +vSs +vsW +bkc +uJG +wTd +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc bkc bkc bkc @@ -274210,173 +275810,10 @@ bkc bkc bkc bkc -uJG -uJG -sLA -uJG -eVD -eVD -eVD -eVD -eVD -eVD -eVD -eVD -eVD -eVD -eVD -eVD -uUw -uUw -uUw -xDi -qxa -tbH -uUw -uUw -uUw -uYI -xbY -xbY -uUw -uUw -uUw -uUw -vwD -qfQ -xoa -uUw -hFW -mOJ -dbs -rul -pgC -nPg -agc -cHE -jjJ -vTB -hpx -grh -rul -ohr -nUL -gBY -vTB -cHE -jjJ -rul -laS -qlG -kdl -jvj -jLB -jLB -yjX -ibU -ibU -bwU -bEh -bEh -bEh -bwU -ibU -vGz -cHa -cOm -fvL -kdb -kdb -fvL -uJG -uJG -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN -ngN -uJG -uJG -bkc -bkc -bkc -vUJ -hDs -uJG -cRQ -vSs -vsW -bkc -uJG -wTd -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc bkc bkc bkc bkc -"} -(182,1,2) = {" bkc bkc bkc @@ -274409,6 +275846,25 @@ bkc bkc bkc bkc +"} +(182,1,2) = {" +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc bkc bkc bkc @@ -274471,6 +275927,21 @@ bkc bkc sLA uJG +bkc +uJG +uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL sld cUo xxM @@ -274711,23 +276182,23 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN uJG uJG +uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL sld rWI hEN @@ -274968,23 +276439,23 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -sLA +ngN uJG +uJG +fvL +fvL +fvL +fvL +kdb +kdb +kdb +fvL +fvL +fvL +fvL +fvL +kdb +kdb sld jZm tls @@ -275020,7 +276491,7 @@ uUw cHE gyO wfY -xQE +dbs bPU jht lfR @@ -275225,23 +276696,23 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -sLA uJG +uJG +fvL +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld sld wXI @@ -275263,7 +276734,7 @@ xkK xkK tJJ pci -dvK +pLd vuF dvK pci @@ -275482,25 +276953,25 @@ bkc bkc bkc bkc +ngN bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -sLA -uJG -uJG -uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld wXI sld @@ -275739,25 +277210,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -sLA -ngN ngN uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld hEV wam @@ -275996,25 +277467,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld rfj fAD @@ -276039,7 +277510,7 @@ uYI tpl oSn dGT -gCx +uMB uUw uUw mRE @@ -276253,25 +277724,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc uJG -bkc +uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld sld iit @@ -276510,25 +277981,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld vOc diZ @@ -276634,85 +278105,28 @@ bkc bkc bkc bkc -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -"} -(191,1,2) = {" -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf bkc bkc bkc @@ -276745,6 +278159,16 @@ bkc bkc bkc bkc +"} +(191,1,2) = {" +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc bkc bkc bkc @@ -276784,8 +278208,55 @@ bkc bkc bkc bkc -ngN bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +ngN +uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld kVh hkG @@ -277024,25 +278495,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb sld sld sld @@ -277281,25 +278752,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN uJG -bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb jmQ iqW xUp @@ -277538,25 +279009,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb bqA flP iDP @@ -277795,25 +279266,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -bkc +uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb bqA vJv tYM @@ -278052,25 +279523,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb jmQ deL rCM @@ -278309,25 +279780,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN uJG -bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb jmQ jmQ pYC @@ -278566,30 +280037,30 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -uJG -uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb bqA +vxX isF vxX -flP +rUN vxX gqy uet @@ -278598,7 +280069,7 @@ uet dWg uet jmQ -rul +xqR cdr rul uUw @@ -278823,27 +280294,27 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN ngN uJG +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb bqA +pIz dXe vHq dzM @@ -279080,27 +280551,27 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN -uJG uJG +bkc +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb bqA +uet tgk den lLO @@ -279337,25 +280808,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN uJG -bkc +fvL +fvL +fvL +fvL +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb +kdb jmQ jmQ pYC @@ -279461,87 +280932,70 @@ bkc bkc bkc bkc -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bXf -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -"} -(202,1,2) = {" -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bXf +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc +"} +(202,1,2) = {" +bkc +bkc +bkc +bkc +bkc +bkc +bkc +bkc bkc bkc bkc @@ -279613,6 +281067,23 @@ bkc bkc ngN uJG +uJG +fvL +fvL +fvL +fvL +fvL +kdb +kdb +fvL +fvL +fvL +fvL +fvL +kdb +kdb +kdb +kdb bqA kEw itO @@ -279630,11 +281101,11 @@ hDn hIH vTB vTB +vYg +iSO +oNb +vTB vTB -cwe -cwe -cwe -cwe vTB vTB iAw @@ -279851,25 +281322,25 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc ngN -bkc +uJG +uJG +uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL bqA sZt hyU @@ -279885,12 +281356,12 @@ mVx jmQ cdr anp +lWy +vTB +vTB +gSt +vTB vTB -fvL -fvL -fvL -fvL -fvL fvL fvL vTB @@ -280109,24 +281580,24 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +uJG +ngN uJG uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL bqA xaf jLU @@ -280142,12 +281613,12 @@ lzz jmQ ahv jbl +pGG +vTB +dgH +meZ +cEl vTB -fvL -kdb -kdb -kdb -fvL fvL fvL fvL @@ -280367,23 +281838,23 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN ngN uJG +uJG +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL +fvL jmQ jmQ jmQ @@ -280400,11 +281871,11 @@ jmQ cdr kkO vTB -fvL -kdb -kdb -kdb -fvL +vTB +vTB +qeQ +vTB +vTB fvL fvL fvL @@ -280626,20 +282097,20 @@ bkc bkc bkc bkc +uJG +uJG +uJG bkc +uJG bkc +uJG +uJG +uJG bkc +uJG bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -ngN +uJG +uJG uJG uJG bkc @@ -280658,10 +282129,10 @@ lbk tcl vTB fvL -kdb -kdb -kdb -kdb +fvL +nxa +fvL +fvL fvL kdb fvL @@ -280884,18 +282355,18 @@ bkc bkc bkc bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc -bkc +ngN +ngN +uJG +ngN +ngN +ngN +uJG +ngN +ngN +ngN +uJG +uJG ngN ngN ngN @@ -280918,7 +282389,7 @@ fvL kdb kdb kdb -kdb +fvL fvL kdb fvL @@ -281175,7 +282646,7 @@ fvL kdb kdb kdb -kdb +fvL fvL kdb fvL @@ -285368,7 +286839,7 @@ swI dlQ kqz gDw -uZh +xYH nMc inj swI @@ -286394,7 +287865,7 @@ xfY uiZ swI suK -hyG +kqz uqh xYH nMc diff --git a/code/__DEFINES/blob.dm b/code/__DEFINES/blob.dm index 77040fc9d0a..27f64f17f0a 100644 --- a/code/__DEFINES/blob.dm +++ b/code/__DEFINES/blob.dm @@ -1,7 +1,7 @@ #define BLOB_RESTRICTED_JOBS list(JOB_TITLE_CYBORG, JOB_TITLE_AI) #define BLOB_RESTRICTED_SPECIES list(SPECIES_MACNINEPERSON, SPECIES_SKELETON) -#define TIME_TO_BURST_HIGHT 15 MINUTES -#define TIME_TO_BURST_LOW 10 MINUTES +#define TIME_TO_BURST_HIGHT 25 MINUTES +#define TIME_TO_BURST_LOW 23 MINUTES #define TIME_TO_BURST_ADDED_HIGHT 7 MINUTES #define TIME_TO_BURST_ADDED_LOW 5 MINUTES #define TIME_TO_BURST_MOUSE_HIGHT 3 MINUTES @@ -10,7 +10,9 @@ #define BURST_SECOND_STAGE_COEF 0.85 #define FIRST_STAGE_COEF 0.2 #define SECOND_STAGE_COEF 0.3 -#define THIRD_STAGE_COEF 0.8 +#define THIRD_STAGE_COEF 0.75 +#define FIRST_STAGE_THRESHOLD 300 +#define SECOND_STAGE_THRESHOLD 400 #define BLOB_STAGE_NONE -1 #define BLOB_STAGE_ZERO 0 #define BLOB_STAGE_FIRST 1 @@ -39,6 +41,9 @@ #define BLOB_DEATH_REPORT_SECOND 1 #define BLOB_DEATH_REPORT_THIRD 2 #define BLOB_DEATH_REPORT_FOURTH 3 +#define BLOB_INFECTED_ATMOS_REC list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) +#define BLOB_INFECTED_MIN_BODY_TEMP -INFINITY +#define BLOB_INFECTED_MIN_PRESSURE -INFINITY #define AWAY_STATION_WARN span_userdanger("Вы готовы лопнуть, но это не подходящее место! Вы должны вернуться на станцию!") #define FIRST_STAGE_WARN span_userdanger("Вы чувствуете усталость и раздутость.") #define SECOND_STAGE_WARN span_userdanger("Вы чувствуете, что вот-вот лопнете.") diff --git a/code/__DEFINES/borer.dm b/code/__DEFINES/borer.dm new file mode 100644 index 00000000000..ee65cffd26c --- /dev/null +++ b/code/__DEFINES/borer.dm @@ -0,0 +1,13 @@ +#define REPRODUCTIONS_TO_MATURE 3 +#define REPRODUCTIONS_TO_ADULT 6 +#define REPRODUCTIONS_TO_ELDER 10 +#define HEAD_FOCUS_COST 9 +#define TORSO_FOCUS_COST 15 +#define HANDS_FOCUS_COST 5 +#define LEGS_FOCUS_COST 10 +#define SCALING_MAX_CHEM 355 +#define SCALING_CHEM_GAIN 15 +#define BORER_RANK_YOUNG /datum/borer_rank/young +#define BORER_RANK_MATURE /datum/borer_rank/mature +#define BORER_RANK_ADULT /datum/borer_rank/adult +#define BORER_RANK_ELDER /datum/borer_rank/elder diff --git a/code/__DEFINES/combat.dm b/code/__DEFINES/combat.dm index 95e8b12aede..f1754a9d111 100644 --- a/code/__DEFINES/combat.dm +++ b/code/__DEFINES/combat.dm @@ -82,11 +82,12 @@ //Attack types for checking shields/hit reactions -#define MELEE_ATTACK 1 -#define UNARMED_ATTACK 2 -#define PROJECTILE_ATTACK 3 -#define THROWN_PROJECTILE_ATTACK 4 -#define LEAP_ATTACK 5 +#define ITEM_ATTACK (1 << 0) +#define UNARMED_ATTACK (1 << 1) +#define PROJECTILE_ATTACK (1 << 2) +#define THROWN_PROJECTILE_ATTACK (1 << 3) +#define LEAP_ATTACK (1 << 4) +#define MELEE_ATTACKS (ITEM_ATTACK | THROWN_PROJECTILE_ATTACK | UNARMED_ATTACK | LEAP_ATTACK) //attack visual effects #define ATTACK_EFFECT_PUNCH "punch" diff --git a/code/__DEFINES/dcs/signals.dm b/code/__DEFINES/dcs/signals.dm index f6888aabfba..4b22ccee110 100644 --- a/code/__DEFINES/dcs/signals.dm +++ b/code/__DEFINES/dcs/signals.dm @@ -1167,7 +1167,15 @@ /// Return COMPONENT_NO_DEFAULT_MESSAGE to prevent the transforming component from displaying the default transform message / sound. #define COMPONENT_NO_DEFAULT_MESSAGE (1<<0) +///from base of /datum/element/after_attack/Attach(): (datum/sender, proc_ref) +#define COMSIG_ITEM_REGISTER_AFTERATTACK "register_item_afterattack" +///from base of /datum/element/after_attack/Detach(): (proc_ref) +#define COMSIG_ITEM_UNREGISTER_AFTERATTACK "unregister_item_afterattack" + ///From base of datum/controller/subsystem/Initialize #define COMSIG_SUBSYSTEM_POST_INITIALIZE "subsystem_post_initialize" +/// Source: /mob/living/simple_animal/borer, listening in datum/antagonist/borer +#define COMSIG_BORER_ENTERED_HOST "borer_on_enter" // when borer entered host +#define COMSIG_BORER_LEFT_HOST "borer_on_leave" // when borer left host diff --git a/code/__DEFINES/mobs.dm b/code/__DEFINES/mobs.dm index 64e5a800264..70101acabe1 100644 --- a/code/__DEFINES/mobs.dm +++ b/code/__DEFINES/mobs.dm @@ -299,6 +299,7 @@ #define isslaughterdemon(A) (istype((A), /mob/living/simple_animal/demon/slaughter)) #define isdemon(A) (istype((A), /mob/living/simple_animal/demon)) #define ismorph(A) (istype((A), /mob/living/simple_animal/hostile/morph)) +#define isborer(A) (istype((A), /mob/living/simple_animal/borer)) #define issilicon(A) (istype((A), /mob/living/silicon)) #define isAI(A) (istype((A), /mob/living/silicon/ai)) @@ -442,3 +443,14 @@ /// Makes the weaken into a knockdown #define SHOCK_KNOCKDOWN (1<<7) +/// Vomit defines +#define VOMIT_NUTRITION_LOSS 10 +#define VOMIT_STUN_TIME (8 SECONDS) +#define VOMIT_DISTANCE 1 +#define VOMIT_SAFE_NUTRITION 90 +/// Vomit modes +#define VOMIT_BLOOD (1<<0) + +/// When reached - we'll apply status effect which will force carbon to vomit +#define TOX_VOMIT_THRESHOLD_REACHED(mob, toxloss) (mob.getToxLoss() >= toxloss) +#define TOX_VOMIT_REQUIRED_TOXLOSS 45 diff --git a/code/__DEFINES/status_effects.dm b/code/__DEFINES/status_effects.dm index 8928b1787a8..b48227307a6 100644 --- a/code/__DEFINES/status_effects.dm +++ b/code/__DEFINES/status_effects.dm @@ -116,6 +116,8 @@ #define STATUS_EFFECT_DASH /datum/status_effect/dash // Grants the ability to dash, expiring after a few seconds +#define STATUS_EFFECT_VOMIT /datum/status_effect/tox_vomit // When carbon got enough tox damage - he will vomit. + //#define STATUS_EFFECT_NECROPOLIS_CURSE /datum/status_effect/necropolis_curse //#define CURSE_BLINDING 1 //makes the edges of the target's screen obscured //#define CURSE_SPAWNING 2 //spawns creatures that attack the target only diff --git a/code/__DEFINES/subsystems.dm b/code/__DEFINES/subsystems.dm index 81d6166a3f6..5cb1e4ae138 100644 --- a/code/__DEFINES/subsystems.dm +++ b/code/__DEFINES/subsystems.dm @@ -95,7 +95,8 @@ #define INIT_ORDER_OVERLAY -6 #define INIT_ORDER_XKEYSCORE -10 #define INIT_ORDER_TICKETS -11 -#define INIT_ORDER_LIGHTING -21 +#define INIT_ORDER_LIGHTING -20 +#define INIT_ORDER_CAPITALISM -21 #define INIT_ORDER_SHUTTLE -22 #define INIT_ORDER_CARGO_QUESTS -23 #define INIT_ORDER_NIGHTSHIFT -24 diff --git a/code/__DEFINES/traits/declarations.dm b/code/__DEFINES/traits/declarations.dm index 2a6312fc5d1..4fad591bac3 100644 --- a/code/__DEFINES/traits/declarations.dm +++ b/code/__DEFINES/traits/declarations.dm @@ -67,6 +67,8 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai #define TRAIT_IGNOREDAMAGESLOWDOWN "ignoredamageslowdown" #define TRAIT_STRONG_GRABBER "strong_grabber" #define TRAIT_PUSHIMMUNE "push_immunity" +#define TRAIT_FLATTENED "flattened" + /// Not a genetic obesity but just a mob who overate #define TRAIT_FAT "trait_fat" #define TRAIT_HUSK "husk" diff --git a/code/__DEFINES/traits/sources.dm b/code/__DEFINES/traits/sources.dm index d04f7d59088..817744cbe56 100644 --- a/code/__DEFINES/traits/sources.dm +++ b/code/__DEFINES/traits/sources.dm @@ -48,6 +48,7 @@ #define MECHA_EQUIPMENT_TRAIT "mecha-equip" #define HIS_GRACE_TRAIT "his-grace" #define CHAINSAW_TRAIT "chainsaw-wield" +#define CENTCOMM_RAPIER_TRAIT "centcomm_rapier" #define PYRO_CLAWS_TRAIT "pyro-claws" #define CONTRACTOR_BATON_TRAIT "contractor-baton" #define MUZZLE_TRAIT "muzzle" @@ -149,3 +150,8 @@ #define SCRYING_ORB_TRAIT "scrying_orb" #define EVIL_FAX_TRAIT "evil_fax" #define CORGI_HARDSUIT_TRAIT "corgi_hardsuit" + +// blob trait sourses +#define BLOB_INFECTED_TRAIT "blob_infected" + +#define VENDOR_FLATTENING_TRAIT "vendor_flattening" diff --git a/code/__DEFINES/vampire_defines.dm b/code/__DEFINES/vampire_defines.dm index 06ea4179f9a..a0663014e6f 100644 --- a/code/__DEFINES/vampire_defines.dm +++ b/code/__DEFINES/vampire_defines.dm @@ -13,3 +13,6 @@ #define VAMPIRE_NULLIFICATION_CAP 120 // the maximum amount a vampire can be nullified naturally. #define VAMPIRE_COMPLETE_NULLIFICATION 100 // the point of nullification where vampires can no longer use abilities. + +#define NEW_NULLIFICATION 1 //nulifiaction like the new vampires +#define OLD_NULLIFICATION 2 //nulifiaction like the goon vampires diff --git a/code/__HELPERS/global_lists.dm b/code/__HELPERS/global_lists.dm index 8f62919c04c..539019a41c8 100644 --- a/code/__HELPERS/global_lists.dm +++ b/code/__HELPERS/global_lists.dm @@ -321,7 +321,7 @@ EQUIPMENT("Luxury Shelter Capsule", /obj/item/survivalcapsule/luxury, 5000), EQUIPMENT("Luxury Elite Bar Capsule", /obj/item/survivalcapsule/luxuryelite, 10000), EQUIPMENT("Soap", /obj/item/soap/nanotrasen, 400), - EQUIPMENT("Space Cash", /obj/item/stack/spacecash/c1000, 2500), + EQUIPMENT("Space Cash", /obj/item/stack/spacecash/magic_linked, 2500), EQUIPMENT("Whiskey", /obj/item/reagent_containers/food/drinks/bottle/whiskey, 500), EQUIPMENT("HRD-MDE Project Box", /obj/item/storage/box/hardmode_box, 2500), ) diff --git a/code/__HELPERS/mobs.dm b/code/__HELPERS/mobs.dm index 9e32da51514..5409069747a 100644 --- a/code/__HELPERS/mobs.dm +++ b/code/__HELPERS/mobs.dm @@ -46,7 +46,7 @@ return pick(valid_picks) -/proc/random_hair_style(var/gender, species = SPECIES_HUMAN, var/datum/robolimb/robohead, var/mob/living/carbon/human/H) +/proc/random_hair_style(gender, species = SPECIES_HUMAN, datum/robolimb/robohead, mob/living/carbon/human/H) var/h_style = "Bald" var/list/valid_hairstyles = list() @@ -64,7 +64,7 @@ if(hairstyle == "Bald") //Just in case. valid_hairstyles += hairstyle continue - if((gender == MALE && S.gender == FEMALE) || (gender == FEMALE && S.gender == MALE)) + if(gender == S.unsuitable_gender) continue if(species == SPECIES_MACNINEPERSON) //If the user is a species who can have a robotic head... if(!robohead) @@ -84,7 +84,7 @@ return h_style -/proc/random_facial_hair_style(var/gender, species = SPECIES_HUMAN, var/datum/robolimb/robohead) +/proc/random_facial_hair_style(gender, species = SPECIES_HUMAN, datum/robolimb/robohead) var/f_style = "Shaved" var/list/valid_facial_hairstyles = list() for(var/facialhairstyle in GLOB.facial_hair_styles_list) @@ -93,7 +93,7 @@ if(facialhairstyle == "Shaved") //Just in case. valid_facial_hairstyles += facialhairstyle continue - if((gender == MALE && S.gender == FEMALE) || (gender == FEMALE && S.gender == MALE)) + if(gender == S.unsuitable_gender) continue if(species == SPECIES_MACNINEPERSON) //If the user is a species who can have a robotic head... if(!robohead) @@ -128,7 +128,7 @@ return ha_style -/proc/random_marking_style(var/location = "body", species = SPECIES_HUMAN, var/datum/robolimb/robohead, var/body_accessory, var/alt_head) +/proc/random_marking_style(location = "body", species = SPECIES_HUMAN, datum/robolimb/robohead, body_accessory, alt_head, gender = NEUTER) var/m_style = "None" var/list/valid_markings = list() for(var/marking in GLOB.marking_styles_list) @@ -136,9 +136,11 @@ if(S.name == "None") valid_markings += marking continue - if(S.marking_location != location) //If the marking isn't for the location we desire, skip. + if(S.marking_location != location) // If the marking isn't for the location we desire, skip. continue - if(!(species in S.species_allowed)) //If the user's head is not of a species the marking style allows, skip it. Otherwise, add it to the list. + if(gender == S.unsuitable_gender) // If the marking isn't allowed for the user's gender, skip. + continue + if(!(species in S.species_allowed)) // If the user's head is not of a species the marking style allows, skip it. Otherwise, add it to the list. continue if(location == "tail") if(!body_accessory) diff --git a/code/_globalvars/lists/reagents.dm b/code/_globalvars/lists/reagents.dm index c64dd60865a..514a9d9ab10 100644 --- a/code/_globalvars/lists/reagents.dm +++ b/code/_globalvars/lists/reagents.dm @@ -54,3 +54,7 @@ GLOBAL_LIST_INIT(safe_chem_list, list("antihol", "charcoal", "epinephrine", "ins "mitocholide", "rezadone")) GLOBAL_LIST_INIT(safe_chem_applicator_list, list("silver_sulfadiazine", "styptic_powder", "synthflesh")) + +GLOBAL_LIST_INIT(borer_reagents, list("charcoal", "epinephrine", "salbutamol", "mannitol", "capulettium_plus", + "spaceacillin", "salglu_solution", "hydrocodone", + "methamphetamine", "mitocholide", "fliptonium")) diff --git a/code/_globalvars/traits.dm b/code/_globalvars/traits.dm index caee2c062e7..4fd7d215a46 100644 --- a/code/_globalvars/traits.dm +++ b/code/_globalvars/traits.dm @@ -51,6 +51,7 @@ GLOBAL_LIST_INIT(traits_by_type, list( "TRAIT_EXOTIC_BLOOD" = TRAIT_EXOTIC_BLOOD, "TRAIT_FAKEDEATH" = TRAIT_FAKEDEATH, "TRAIT_FAT" = TRAIT_FAT, + "TRAIT_FLATTENED" = TRAIT_FLATTENED, "TRAIT_FLOORED" = TRAIT_FLOORED, "TRAIT_FORCE_DOORS" = TRAIT_FORCE_DOORS, "TRAIT_FORCED_GRAVITY" = TRAIT_FORCED_GRAVITY, diff --git a/code/_onclick/item_attack.dm b/code/_onclick/item_attack.dm index 614df68f232..9685413c685 100644 --- a/code/_onclick/item_attack.dm +++ b/code/_onclick/item_attack.dm @@ -54,7 +54,7 @@ mark_target(target) return . - afterattack(target, user, TRUE, params) + afterattack(target, user, TRUE, params, .) mark_target(target) /// Used to mark a target for the demo system during a melee attack chain, call this before return diff --git a/code/controllers/subsystem/capitalism.dm b/code/controllers/subsystem/capitalism.dm new file mode 100644 index 00000000000..b1a7dd0c942 --- /dev/null +++ b/code/controllers/subsystem/capitalism.dm @@ -0,0 +1,160 @@ +#define FREQUENCY_SALARY 5 MINUTES +#define EXTRA_MONEY 10000 +SUBSYSTEM_DEF(capitalism) + name = "Capitalism" + ss_id = "capitalism_subsystem" + init_order = INIT_ORDER_CAPITALISM + offline_implications = "Выплаты зарплат приостановлены, по идее выплаты за задания карго не сломаются. Награда за цель не выплачивается. Немедленных действий не требуется." + runlevels = RUNLEVEL_GAME + wait = FREQUENCY_SALARY + flags = SS_BACKGROUND + + //This separation is necessary for tests and in general so that it is pleasant + var/datum/money_account/base_account = null //the account that receives money for orders and vending machines + var/datum/money_account/payment_account = null //The account from which the salary is deducted badguy + + //Attention. Statistics for greentext + //And why did I make tabs?... + var/total_salary_payment = 0 //How much money was spent on salaries + var/total_station_bounty = 0 //How much money did the money from the cargo bring to the station account + var/total_cargo_bounty = 0 //How much money was credited to the cargo account from the tasks + var/total_personal_bounty = 0 //How much money was distributed to the beggars + var/income_vedromat = 0 //Income from vending machines + var/default_counter = 0 //The counter for the number of defaults, I definitely won't make a joke + + var/list/complited_goals = list() //It is necessary not to pay again for the goal, gagaga + var/default_status = FALSE //TRUE if the default is in effect at the station, you can do it in the future, for example, as a cargo modifier + +/datum/controller/subsystem/capitalism/Initialize() + accounts_init() + salary_account_init() + return SS_INIT_SUCCESS + +/datum/controller/subsystem/capitalism/fire() + + //if(default_counter > 300) + // GLOB.priority_announcement.Announce("Станция признана убыточным объектом. Хорошего дня.", "Расторжение контрактов.", 'sound/AI/commandreport.ogg') + // set_security_level(SEC_LEVEL_EPSILON) + + //If there is enough money to pay salaries at least twice before the default is lifted + if(default_status && (payment_account.money > (potential_salary_payments() + EXTRA_MONEY))) + default_status = FALSE + default_annonce() + payment_process() //Pay the beggars immediately after the announcement + else if(!payment_process() && !default_status) + default_status = TRUE + default_annonce() + + var/total_station_goal_bounty = 0 + var/s_ex_personal_bounry = list() //Extended staff rewards + //personal_reward + for(var/datum/station_goal/goal in SSticker.mode.station_goals) + if(!goal) + continue + if(goal.check_completion() && !(goal in complited_goals)) + total_station_goal_bounty += goal.station_bounty + for(var/prom in goal.personal_reward) + if(s_ex_personal_bounry?[prom]) + s_ex_personal_bounry[prom] += goal.personal_reward[prom] + else + s_ex_personal_bounry[prom] = goal.personal_reward[prom] + complited_goals += goal + + if(total_station_goal_bounty) + base_account.credit(total_station_goal_bounty, "Начисление награды за выполнение цели.", "Отдел развития Нанотрейзен", base_account.owner_name) + smart_job_payment(s_ex_personal_bounry) + +//status - TRUE/FALSE +/datum/controller/subsystem/capitalism/proc/default_annonce() + if(default_status) + GLOB.priority_announcement.Announce("Внимание на счёте станции зафиксировано отсутствие финансов. Выплаты заработных плат заморожены. Командному составу необходимо немедленно решить возникший кризис", "Дефолт станции", 'sound/AI/commandreport.ogg') + else + GLOB.priority_announcement.Announce("Внимание на счёте станции достаточно средств для выплат. Выплаты заработных плат возобновлены.", "Возобновление выплат", 'sound/AI/commandreport.ogg') + +/datum/controller/subsystem/capitalism/proc/potential_salary_payments() + var/total_salary = 0 + for(var/datum/money_account/account in GLOB.all_money_accounts) + if(account.salary_payment_active && account.linked_job.salary && !account.suspended) + total_salary += account.linked_job.salary + return total_salary + +/datum/controller/subsystem/capitalism/proc/accounts_init() + if(!GLOB.CC_account) + create_CC_account() + + if(!GLOB.station_account) + create_station_account() + + if(GLOB.department_accounts.len == 0) + for(var/department in GLOB.station_departments) + create_department_account(department) + +/datum/controller/subsystem/capitalism/proc/salary_account_init() + base_account = GLOB.station_account //The account that the bounty goes to, the money for the goal and the money from the machines. + payment_account = GLOB.CC_account //GLOB.CC_account //This is the account from which money is debited for salary. Made for catsmile tests + + if(!GLOB.vendor_account) + GLOB.vendor_account = base_account //:catsmile: + +/datum/controller/subsystem/capitalism/proc/payment_process() + . = TRUE + for(var/datum/money_account/account in GLOB.all_money_accounts) + if(account.salary_payment_active && account.linked_job.salary && !account.suspended) + if(payment_account.charge(account.linked_job.salary, account, "Выплата зарплаты персоналу.", "Nanotrasen personal departament" , "Поступление зарплаты.", "Поступление зарплаты" ,"Biesel TCD Terminal #[rand(111,333)]")) + account.notify_pda_owner("Поступление зарплаты \"На ваш привязанный аккаунт поступило [account.linked_job.salary] кредитов\" (Невозможно Ответить)", FALSE) + total_salary_payment += account.linked_job.salary + else + return FALSE + +/datum/controller/subsystem/capitalism/proc/smart_bounty_payment(var/list/jobs_payment, var/money) + . = FALSE //If nothing is paid to anyone + var/list_payment_account = list() //which people should I pay + var/bounty = 0 //What kind of money for each person + total_personal_bounty += money + for(var/datum/money_account/account in GLOB.all_money_accounts) + if(jobs_payment.Find(account.linked_job.title) && account.salary_payment_active && !account.suspended) + list_payment_account += account + . = TRUE + + if(money == 0 || length(list_payment_account) == 0) + return FALSE + bounty = round(money / length(list_payment_account)) + for(var/datum/money_account/account in list_payment_account) + //It may be worth doing a type from the customer's company... But I'm too lazy + if(account.credit(bounty, "Начисление награды за выполнение заказа.", "Biesel TCD Terminal #[rand(111,333)]", account.owner_name)) + account.notify_pda_owner("Поступление награды \"На ваш привязанный аккаунт поступило [bounty] кредитов за помощь в выполнении заказа.\" (Невозможно Ответить)", FALSE) + return + +/datum/controller/subsystem/capitalism/proc/smart_job_payment(var/list/jobs_payment) + . = FALSE //If nothing is paid to anyone + for(var/datum/money_account/account in GLOB.all_money_accounts) + if(jobs_payment?[account.linked_job.title] && account.salary_payment_active && !account.suspended) + if(account.credit(jobs_payment[account.linked_job.title], "Начисление награды за выполнение цели.", "Biesel TCD Terminal #[rand(111,333)]", account.owner_name)) + total_personal_bounty += jobs_payment[account.linked_job.title] + account.notify_pda_owner("Поступление награды \"На ваш привязанный аккаунт поступило [jobs_payment[account.linked_job.title]] кредитов за помощь в выполнении цель станции.\" (Невозможно Ответить)", FALSE) + . = TRUE + return + +// In short, as for beggars, but for departments +/datum/controller/subsystem/capitalism/proc/smart_departament_payment(var/list/keys_departament, var/money) + . = FALSE //If nothing is paid to anyone + var/list_payment_account = list() //which people should I pay + var/bounty = 0 //What kind of money for each department + total_personal_bounty += money + var/datum/money_account/account = base_account + + for(var/key_account_departament in keys_departament) + account = GLOB.department_accounts?[key_account_departament] + if(!account) + list_payment_account += account + . = TRUE + + if(!length(list_payment_account)) + base_account.credit(bounty, "Начисление награды за выполнение заказа.", "Biesel TCD Terminal #[rand(111,333)]", account.owner_name) + return TRUE + + bounty = round(money / length(list_payment_account)) + //If it did not find that, the payment of the station (well, or what is indicated in the base_account) + for(var/datum/money_account/account_pay in list_payment_account) + account_pay.credit(bounty, "Начисление награды за выполнение заказа.", "Biesel TCD Terminal #[rand(111,333)]", account.owner_name) + return diff --git a/code/controllers/subsystem/jobs.dm b/code/controllers/subsystem/jobs.dm index eefa6194c7d..49efff4ea5b 100644 --- a/code/controllers/subsystem/jobs.dm +++ b/code/controllers/subsystem/jobs.dm @@ -636,8 +636,8 @@ SUBSYSTEM_DEF(jobs) /datum/controller/subsystem/jobs/proc/CreateMoneyAccount(mob/living/H, rank, datum/job/job) - var/money_amount = job ? rand(500, 1500) * get_job_factor(job, job.random_money_factor) : rand(500, 1500) - var/datum/money_account/M = create_account(H.real_name, money_amount, null) + var/money_amount = rand(job.min_start_money, job.max_start_money) + var/datum/money_account/M = create_account(H.real_name, money_amount, null, job, TRUE) var/remembered_info = "" remembered_info += "Номер вашего аккаунта: #[M.account_number]
" @@ -666,12 +666,6 @@ SUBSYSTEM_DEF(jobs) spawn(0) to_chat(H, "Номер вашего аккаунта: [M.account_number], ПИН вашего аккаунта: [M.remote_access_pin]") -/datum/controller/subsystem/jobs/proc/get_job_factor(datum/job/job, randomized) - if(randomized) - return job.money_factor*rand(0.25, 4) // for now only used for civillians - else - return job.money_factor - /datum/controller/subsystem/jobs/proc/format_jobs_for_id_computer(obj/item/card/id/tgtcard) var/list/jobs_to_formats = list() if(tgtcard) @@ -714,6 +708,14 @@ SUBSYSTEM_DEF(jobs) oldjobdatum.current_positions-- newjobdatum.current_positions++ +/datum/controller/subsystem/jobs/proc/account_job_transfer(name_owner, job_title, salary_capcap = TRUE) + + var/datum/money_account/account_job = get_account_with_name(name_owner) + + if(account_job) + account_job.linked_job = SSjobs.GetJob(job_title) + account_job.salary_payment_active = salary_capcap + /datum/controller/subsystem/jobs/proc/notify_dept_head(jobtitle, antext) // Used to notify the department head of jobtitle X that their employee was brigged, demoted or terminated if(!jobtitle || !antext) diff --git a/code/controllers/subsystem/non-firing/cargo_quests.dm b/code/controllers/subsystem/non-firing/cargo_quests.dm index 96c11efdfb3..663c772a1d5 100644 --- a/code/controllers/subsystem/non-firing/cargo_quests.dm +++ b/code/controllers/subsystem/non-firing/cargo_quests.dm @@ -2,6 +2,13 @@ #define NUMBER_OF_CORP_QUEST 4 #define NUMBER_OF_PLASMA_QUEST 1 +//Abandon hope, everyone who enters here + +//This place is cursed, don't try to understand it and change it. It will kill you + +//Reading the lines more and more, I realize that I shouldn't have come here. + +//THERE IS NO GOD BEYOND THAT SUBSYSTEM_DEF(cargo_quests) name = "Cargo Quests" flags = SS_NO_FIRE @@ -103,6 +110,7 @@ SUBSYSTEM_DEF(cargo_quests) /datum/controller/subsystem/cargo_quests/proc/check_delivery(obj/structure/bigDelivery/delivery) var/max_reward = 0 var/datum/cargo_quests_storage/target_storage + var/list/copmpleted_quests = list() for(var/order in quest_storages) var/datum/cargo_quests_storage/storage = order @@ -129,6 +137,7 @@ SUBSYSTEM_DEF(cargo_quests) continue if(quest.check_required_item(item)) failed_quest_length-- + copmpleted_quests += quest has_extra_item = FALSE break @@ -141,6 +150,7 @@ SUBSYSTEM_DEF(cargo_quests) for(var/datum/cargo_quest/quest in storage.current_quests) if(!quest.after_check()) + copmpleted_quests -= quest failed_quest_length++ var/reward = storage.check_quest_completion(delivery, failed_quest_length, extra_items, req_quantity) @@ -161,8 +171,14 @@ SUBSYSTEM_DEF(cargo_quests) max_reward = max_reward * 10 remove_quest(target_storage.UID(), complete = TRUE, modificators = target_storage.modificators, new_reward = max_reward) - if(target_storage.customer.send_reward(max_reward)) + if(target_storage.customer.send_reward(max_reward, copmpleted_quests)) return + + //Honestly, I don't want to do another procedure for this + if(target_storage.quest_difficulty.bounty_for_difficulty) + SScapitalism.total_station_bounty += target_storage.quest_difficulty.bounty_for_difficulty + SScapitalism.base_account.credit(target_storage.quest_difficulty.bounty_for_difficulty, "Награда за выполнение корпоративного задания.", "Biesel TCD Terminal #[rand(111,333)]", "Отдел развития Нанотрейзен") + return max_reward /datum/controller/subsystem/cargo_quests/proc/remove_bfl_quests(count) @@ -182,6 +198,9 @@ SUBSYSTEM_DEF(cargo_quests) var/max_quest_time var/for_easy_mode + //How many shekels will be given for the complexity to the base_account account + var/bounty_for_difficulty = 0 + /datum/quest_difficulty/proc/generate_timer(datum/cargo_quests_storage/q_storage) q_storage.time_start = world.time q_storage.quest_time = rand(min_quest_time, max_quest_time) MINUTES @@ -194,6 +213,7 @@ SUBSYSTEM_DEF(cargo_quests) min_quest_time = 15 max_quest_time = 25 for_easy_mode = TRUE + bounty_for_difficulty = 150 /datum/quest_difficulty/normal diff_flag = QUEST_DIFFICULTY_NORMAL @@ -201,18 +221,21 @@ SUBSYSTEM_DEF(cargo_quests) min_quest_time = 20 max_quest_time = 30 for_easy_mode = TRUE + bounty_for_difficulty = 300 /datum/quest_difficulty/hard diff_flag = QUEST_DIFFICULTY_HARD weight = 14 min_quest_time = 30 max_quest_time = 40 + bounty_for_difficulty = 500 /datum/quest_difficulty/very_hard diff_flag = QUEST_DIFFICULTY_VERY_HARD weight = 4 min_quest_time = 30 max_quest_time = 60 + bounty_for_difficulty = 1000 #undef NUMBER_OF_CC_QUEST diff --git a/code/controllers/subsystem/non-firing/titlescreen.dm b/code/controllers/subsystem/non-firing/titlescreen.dm index f7c20e39306..1de3e185f67 100644 --- a/code/controllers/subsystem/non-firing/titlescreen.dm +++ b/code/controllers/subsystem/non-firing/titlescreen.dm @@ -117,6 +117,8 @@ SUBSYSTEM_DEF(title) show_title_screen_to_all_new_players() /datum/controller/subsystem/title/proc/update_preview(client/viewer) + if(!viewer) + return if(viewer.byond_version < 516) viewer << output("", "title_browser:update_preview_515") else diff --git a/code/datums/action.dm b/code/datums/action.dm index ed788259e25..415da08fa9f 100644 --- a/code/datums/action.dm +++ b/code/datums/action.dm @@ -566,6 +566,10 @@ var/obj/item/clothing/shoes/magboots/gravity/G = target G.dash(usr) +/datum/action/item_action/toggle_rapier_nodrop + name = "Toggle Anti-Drop" + desc = "Activates/deactivates CentComm rapier Anti-Drop." + ///prset for organ actions /datum/action/item_action/organ_action check_flags = AB_CHECK_CONSCIOUS diff --git a/code/datums/components/after_attacks_hub.dm b/code/datums/components/after_attacks_hub.dm new file mode 100644 index 00000000000..3c0f8b6c91a --- /dev/null +++ b/code/datums/components/after_attacks_hub.dm @@ -0,0 +1,43 @@ +/datum/component/after_attacks_hub + dupe_mode = COMPONENT_DUPE_UNIQUE + /// List of after-attack effects for various items + var/list/after_attacks + +/datum/component/after_attacks_hub/Initialize(...) + . = ..() + if(!isitem(parent)) + return COMPONENT_INCOMPATIBLE + + +/datum/component/after_attacks_hub/RegisterWithParent() + . = ..() + RegisterSignal(parent, COMSIG_ITEM_AFTERATTACK, PROC_REF(on_after_attack)) + RegisterSignal(parent, COMSIG_ITEM_REGISTER_AFTERATTACK, PROC_REF(on_register_after_attack)) + RegisterSignal(parent, COMSIG_ITEM_UNREGISTER_AFTERATTACK, PROC_REF(on_unregister_after_attack)) + + +/datum/component/after_attacks_hub/UnregisterFromParent() + . = ..() + UnregisterSignal(parent, list( + COMSIG_ITEM_AFTERATTACK, + COMSIG_ITEM_REGISTER_AFTERATTACK, + COMSIG_ITEM_UNREGISTER_AFTERATTACK + )) + + +/datum/component/after_attacks_hub/proc/on_after_attack(datum/source, mob/living/target, mob/living/user, proximity, params, status) + SIGNAL_HANDLER + for(var/after_attack in after_attacks) + INVOKE_ASYNC(after_attack, TYPE_PROC_REF(/datum/element/after_attack, on_attack), source, target, user, proximity, params, status) + + +/datum/component/after_attacks_hub/proc/on_register_after_attack(datum/source, datum/sender) + SIGNAL_HANDLER + LAZYADD(after_attacks, sender) + + +/datum/component/after_attacks_hub/proc/on_unregister_after_attack(datum/source, datum/sender) + SIGNAL_HANDLER + LAZYREMOVE(after_attacks, sender) + if(!after_attacks) + qdel(src) diff --git a/code/datums/components/eatable.dm b/code/datums/components/eatable.dm index c9c3b33aa73..8db69214b43 100644 --- a/code/datums/components/eatable.dm +++ b/code/datums/components/eatable.dm @@ -9,7 +9,7 @@ /// integrity spend after bite var/integrity_bite // integrity spend after bite /// How much nutrition add - var/nutritional_value + var/nutritional_value /// Grab if help_intent was used var/is_only_grab_intent /// If true - your item can be eaten without special diet check. @@ -29,7 +29,7 @@ ) if(!isitem(parent)) return COMPONENT_INCOMPATIBLE - + src.current_bites = current_bites src.material_type = material_type src.max_bites = max_bites @@ -38,7 +38,7 @@ src.is_only_grab_intent = is_only_grab_intent src.is_always_eatable = is_always_eatable src.stack_use = stack_use - + /datum/component/eatable/RegisterWithParent() RegisterSignal(parent, COMSIG_ITEM_PRE_ATTACKBY, PROC_REF(pre_try_eat_item)) RegisterSignal(parent, COMSIG_PARENT_EXAMINE, PROC_REF(on_examine)) @@ -53,7 +53,7 @@ if(!istype(human)) return - + if(material_type & human.dna.species.special_diet) examine_list += "Вкуснятина! [is_only_grab_intent ? "\nНужно аккуратно есть." : ""]" @@ -134,7 +134,7 @@ to_chat(target, span_notice("[chat_message_to_target]")) add_attack_logs(user, item, "Force Fed [target], item [item]") - + if(!isstack(item)) to_chat(user, span_notice("[chat_message_to_user]")) @@ -170,7 +170,7 @@ item.visible_message(span_warning("[user] пытается накормить [target], запихивая в рот [item.name].")) if(!do_after(user, target, 2 SECONDS, NONE)) return FALSE - + return TRUE /datum/component/eatable/proc/get_colour() diff --git a/code/datums/diseases/ectoplasmic.dm b/code/datums/diseases/ectoplasmic.dm new file mode 100644 index 00000000000..7f9645f7ab9 --- /dev/null +++ b/code/datums/diseases/ectoplasmic.dm @@ -0,0 +1,59 @@ +/datum/disease/ectoplasmic + name = "Ectoplasmic fever" + agent = "Corrupted ectoplasm" + desc = "Caused by a revenant, it slowly depletes organic life forms and can corrupt soul." + cures = list("holywater") + cure_prob = 50 + cure_text = "Holy water" + discovered = TRUE + severity = DANGEROUS + can_immunity = FALSE + ignore_immunity = TRUE + visibility_flags = HIDDEN_PANDEMIC + +/datum/disease/ectoplasmic/stage_act() + if(!..()) + return FALSE + var/create_effect = FALSE + var/mob/living/carbon/human/human = affected_mob + var/turf/turf = get_turf(human) + switch(stage) + if(3) + if(prob(10)) + human.apply_damage(10, STAMINA) + to_chat(human, span_danger("You feel weak!")) + create_effect = TRUE + if(prob(30)) + human.vomit(stun = 0.1 SECONDS) + create_effect = TRUE + if(4) + if(prob(7)) + human.vomit(stun = 2 SECONDS) + create_effect = TRUE + if(prob(15)) + human.AdjustLoseBreath(5 SECONDS) + to_chat(human, span_warning("Otherworld powers exhausts you!")) + create_effect = TRUE + if(prob(15)) + human.AdjustConfused(10 SECONDS, bound_lower = 0, bound_upper = 30 SECONDS) + human.apply_damage(10, TOX) + to_chat(human, span_warning("You feel totally disoriented!")) + create_effect = TRUE + if(prob(20)) + human.apply_damage(20, STAMINA) + human.AdjustWeakened(1) + to_chat(human, span_warning("You suddenly feel [pick("sick and tired", "nauseated", "dizzy", "stabbing pain in your head")].")) + create_effect = TRUE + if(5) + if(prob(70)) + human.apply_damage(80, STAMINA) + to_chat(human, "You feel very tired, but disease left you.") + create_effect = TRUE + cure() + if(prob(30)) + if(human.influenceSin()) + create_effect = TRUE + to_chat(human, span_revenbignotice("You suddenly feel your soul become corrupted.")) + cure() + if(create_effect && turf) + new /obj/effect/temp_visual/revenant(turf) diff --git a/code/datums/diseases/viruses/advance/symptoms/vomit.dm b/code/datums/diseases/viruses/advance/symptoms/vomit.dm index d5fd75e73d2..6e4feaa08d3 100644 --- a/code/datums/diseases/viruses/advance/symptoms/vomit.dm +++ b/code/datums/diseases/viruses/advance/symptoms/vomit.dm @@ -77,7 +77,7 @@ Bonus severity = 5 /datum/symptom/vomit/blood/Vomit(mob/living/carbon/M) - M.vomit(0, 1) + M.vomit(0, VOMIT_BLOOD) /* @@ -106,4 +106,4 @@ Bonus level = 4 /datum/symptom/vomit/projectile/Vomit(mob/living/carbon/M) - M.vomit(6,0,8 SECONDS,5,1) + M.vomit(6, distance = 5) diff --git a/code/datums/elements/after_attack/_after_attack.dm b/code/datums/elements/after_attack/_after_attack.dm new file mode 100644 index 00000000000..5255c1f1e72 --- /dev/null +++ b/code/datums/elements/after_attack/_after_attack.dm @@ -0,0 +1,39 @@ +/** + * Ancestor class for various post-attack effects. Requires /datum/component/after_attacks_hub for on_attack proc work + */ + +/datum/element/after_attack + element_flags = ELEMENT_DETACH_ON_HOST_DESTROY|ELEMENT_BESPOKE + id_arg_index = 2 + /// Does the effect differ between a block and a successful attack + var/has_block_different_effect = TRUE + + +/datum/element/after_attack/Attach(datum/target) + . = ..() + target.AddComponent(/datum/component/after_attacks_hub) + SEND_SIGNAL(target, COMSIG_ITEM_REGISTER_AFTERATTACK, src) + +/datum/element/after_attack/Detach(datum/source, force) + SEND_SIGNAL(source, COMSIG_ITEM_UNREGISTER_AFTERATTACK, src) + . = ..() + +/datum/element/after_attack/proc/on_attack(datum/source, mob/living/target, mob/living/user, proximity, params, status) + SIGNAL_HANDLER + + if(!status) + return + + if(!has_block_different_effect || ATTACK_CHAIN_SUCCESS_CHECK(status)) + on_success(source, target, user, proximity, params) + return + + on_block(source, target, user, proximity, params) + + +/datum/element/after_attack/proc/on_success(datum/source, mob/living/target, mob/living/user, proximity, params) + return + + +/datum/element/after_attack/proc/on_block(datum/source, mob/living/target, mob/living/user, proximity, params) + return diff --git a/code/datums/elements/after_attack/attack_effect_sleep.dm b/code/datums/elements/after_attack/attack_effect_sleep.dm new file mode 100644 index 00000000000..f1fddb12a45 --- /dev/null +++ b/code/datums/elements/after_attack/attack_effect_sleep.dm @@ -0,0 +1,28 @@ +/datum/element/after_attack/attack_effect_sleep + /// How much stamina damage we deal on a successful hit against a living, non-cyborg mob. + var/stamina_damage + /// How long will the victim sleep. + var/sleep_time + + +/datum/element/after_attack/attack_effect_sleep/Attach(datum/target, stamina_damage, sleep_time) + . = ..() + src.stamina_damage = stamina_damage + src.sleep_time = sleep_time + + + +/datum/element/after_attack/attack_effect_sleep/on_success(datum/source, mob/living/target, mob/living/user, proximity, params) + ..() + + if(!target || !user || !istype(target)) + return + + if(target.incapacitated(INC_IGNORE_RESTRAINED|INC_IGNORE_GRABBED)) + target.visible_message( + span_danger("[user] puts [target] to sleep with [source]!"), + span_userdanger("You suddenly feel very drowsy!"), + ) + target.Sleeping(sleep_time) + add_attack_logs(user, target, "put to sleep with [source]") + target.apply_damage(stamina_damage, STAMINA) diff --git a/code/datums/elements/squish.dm b/code/datums/elements/squish.dm new file mode 100644 index 00000000000..41b90d8fb68 --- /dev/null +++ b/code/datums/elements/squish.dm @@ -0,0 +1,64 @@ +#define SHORT_SCALE (5/7) +#define TALL_SCALE (7/5) + +/** + * squish.dm + * + * It's an element that squishes things. After the duration passes, it reverses the transformation it squished with, taking into account if they are a different orientation than they started (read: rotationally-fluid) + * + * Normal squishes apply vertically, as if the target is being squished from above, but you can set reverse to TRUE if you want to squish them from the sides, like if they pancake into a wall from the East or West +*/ + +/datum/element/squish + element_flags = ELEMENT_DETACH_ON_HOST_DESTROY + +/datum/element/squish/Attach(datum/target, duration = 20 SECONDS, reverse = FALSE) + . = ..() + if(!iscarbon(target)) + return ELEMENT_INCOMPATIBLE + + var/mob/living/carbon/C = target + var/was_lying = C.body_position == LYING_DOWN + addtimer(CALLBACK(src, PROC_REF(Detach), C, was_lying, reverse), duration) + ADD_TRAIT(target, TRAIT_FLATTENED, VENDOR_FLATTENING_TRAIT) + + if(reverse) + C.transform = C.transform.Scale(SHORT_SCALE, TALL_SCALE) + + else + C.transform = C.transform.Scale(TALL_SCALE, SHORT_SCALE) + +/datum/element/squish/Detach(mob/living/carbon/C, was_lying, reverse) + . = ..() + if(!istype(C)) + return + var/is_lying = C.body_position == LYING_DOWN + REMOVE_TRAIT(C, TRAIT_FLATTENED, VENDOR_FLATTENING_TRAIT) + + if(reverse) + is_lying = !is_lying + + if(was_lying == is_lying) + C.transform = C.transform.Scale(SHORT_SCALE, TALL_SCALE) + else + C.transform = C.transform.Scale(TALL_SCALE, SHORT_SCALE) + +#undef SHORT_SCALE +#undef TALL_SCALE + +/datum/element/tilt_protection + element_flags = ELEMENT_DETACH_ON_HOST_DESTROY + +/datum/element/tilt_protection/Attach(datum/target, duration = 20 SECONDS) + . = ..() + if(!iscarbon(target)) + return ELEMENT_INCOMPATIBLE + var/mob/living/carbon/C = target + addtimer(CALLBACK(src, PROC_REF(Detach), C), duration) + ADD_TRAIT(target, TRAIT_FLATTENED, VENDOR_FLATTENING_TRAIT) + +/datum/element/tilt_protection/Detach(mob/living/carbon/C) + . = ..() + if(!istype(C)) + return + REMOVE_TRAIT(C, TRAIT_FLATTENED, VENDOR_FLATTENING_TRAIT) diff --git a/code/datums/mind.dm b/code/datums/mind.dm index 33e439790af..0066bcc459d 100644 --- a/code/datums/mind.dm +++ b/code/datums/mind.dm @@ -415,27 +415,11 @@ . += _memory_edit_role_enabled(ROLE_CHANGELING) -/datum/mind/proc/memory_edit_goon_vampire(mob/living/carbon/human/H) - . = _memory_edit_header("goonvampire") - var/datum/antagonist/goon_vampire/g_vamp = has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp) - . += "GOON VAMPIRE|no" - . += "
Usable blood: [g_vamp.bloodusable]" - . += " | Total blood: [g_vamp.bloodtotal]" - - if(!length(g_vamp.objectives)) - . += "
Objectives are empty! Randomize!" - else if(!isvampire(src)) - . += "goon vampire|NO" - - . += _memory_edit_role_enabled(ROLE_VAMPIRE) - - /datum/mind/proc/memory_edit_vampire(mob/living/carbon/human/H) . = _memory_edit_header("vampire", list("traitorvamp")) var/datum/antagonist/vampire/vamp = has_antag_datum(/datum/antagonist/vampire) if(vamp) - . += "VAMPIRE|no" + . += "[is_goon_vampire(src)? "GOON VAMPIRE" : "VAMPIRE" ]|no" . += "
Usable blood: [vamp.bloodusable]" . += " | Total blood: [vamp.bloodtotal]" var/has_subclass = !QDELETED(vamp.subclass) @@ -452,12 +436,13 @@ if(!length(vamp.objectives)) . += "
Objectives are empty! Randomize!" else - . += "vampire|NO" + . += "vampire|" + . += "goon vampire|NO" . += _memory_edit_role_enabled(ROLE_VAMPIRE) /** Enthralled ***/ . += "
enthralled: " - if(has_antag_datum(/datum/antagonist/mindslave/thrall) || has_antag_datum(/datum/antagonist/mindslave/goon_thrall)) + if(has_antag_datum(/datum/antagonist/mindslave/thrall)) . += "THRALL|no" else . += "thrall|NO" @@ -720,7 +705,6 @@ "clockwork", "wizard", "changeling", // "traitorchan", "thiefchan", "changelingthief", - "goonvampire", "vampire", // "traitorvamp", "thiefvamp", "vampirethief", "nuclear", "traitor", @@ -739,8 +723,6 @@ sections["wizard"] = memory_edit_wizard(H) /** CHANGELING ***/ sections["changeling"] = memory_edit_changeling(H) - /** GOON VAMPIRE ***/ - sections["goonvampire"] = memory_edit_goon_vampire(H) /** VAMPIRE ***/ sections["vampire"] = memory_edit_vampire(H) /** NUCLEAR ***/ @@ -1609,87 +1591,37 @@ log_admin("[key_name(usr)] has reset [key_name(current)]'s DNA") message_admins("[key_name_admin(usr)] has reset [key_name_admin(current)]'s DNA") - else if(href_list["goonvampire"]) - switch(href_list["goonvampire"]) + else if(href_list["vampire"]) + switch(href_list["vampire"]) if("clear") if(!isvampire(src)) return - remove_goon_vampire_role() + remove_vampire_role() to_chat(current, "Вы ослабли и потеряли свои силы! Вы больше не вампир и теперь останетесь в своей текущей форме!") - log_admin("[key_name(usr)] has de-goon-vampired [key_name(current)]") - message_admins("[key_name_admin(usr)] has de-goon-vampired [key_name_admin(current)]") + log_admin("[key_name(usr)] has de-vampired [key_name(current)]") + message_admins("[key_name_admin(usr)] has de-vampired [key_name_admin(current)]") if("goonvampire") if(isvampire(src)) return - var/datum/antagonist/goon_vampire/g_vamp = new() + var/datum/antagonist/vampire/goon_vampire/g_vamp = new() g_vamp.give_objectives = FALSE add_antag_datum(g_vamp) - to_chat(usr, "У вампира [key] отсутствуют задания. Вы можете добавить их вручную или сгенерировать случайный набор, кнопкой Randomize!") + to_chat(usr, span_notice("У вампира [key] отсутствуют цели. Вы можете добавить их вручную или сгенерировать случайный набор, кнопкой Randomize!")) log_admin("[key_name(usr)] has goon-vampired [key_name(current)]") message_admins("[key_name_admin(usr)] has goon-vampired [key_name_admin(current)]") - if("edit_usable_blood") - if(!isvampire(src)) - return - - var/new_usable = input(usr, "Select a new value:", "Modify usable blood") as null|num - if(isnull(new_usable) || new_usable < 0) - return - var/datum/antagonist/goon_vampire/g_vamp = has_antag_datum(/datum/antagonist/goon_vampire) - g_vamp.bloodusable = new_usable - current.update_action_buttons_icon() - log_admin("[key_name(usr)] has set [key_name(current)]'s usable blood to [new_usable].") - message_admins("[key_name_admin(usr)] has set [key_name_admin(current)]'s usable blood to [new_usable].") - - if("edit_total_blood") - if(!isvampire(src)) - return - - var/new_total = input(usr, "Select a new value:", "Modify total blood") as null|num - if(isnull(new_total) || new_total < 0) - return - - var/datum/antagonist/goon_vampire/g_vamp = has_antag_datum(/datum/antagonist/goon_vampire) - if(new_total < g_vamp.bloodtotal) - if(alert(usr, "Note that reducing the vampire's total blood may remove some active powers. Continue?", "Confirm New Total", "Yes", "No") == "No") - return - g_vamp.remove_all_powers() - - g_vamp.bloodtotal = new_total - g_vamp.check_vampire_upgrade() - log_admin("[key_name(usr)] has set [key_name(current)]'s total blood to [new_total].") - message_admins("[key_name_admin(usr)] has set [key_name_admin(current)]'s total blood to [new_total].") - - if("autoobjectives") - var/datum/antagonist/goon_vampire/g_vamp = has_antag_datum(/datum/antagonist/goon_vampire) - g_vamp.give_objectives() - to_chat(usr, "Для вампира [key] сгенерированы задания. Вы можете отредактировать и объявить их вручную.") - log_admin("[key_name(usr)] has automatically forged objectives for [key_name(current)]") - message_admins("[key_name_admin(usr)] has automatically forged objectives for [key_name_admin(current)]") - - else if(href_list["vampire"]) - switch(href_list["vampire"]) - if("clear") - if(!isvampire(src)) - return - - remove_vampire_role() - to_chat(current, "You grow weak and lose your powers! You are no longer a vampire and are stuck in your current form!") - log_admin("[key_name(usr)] has de-vampired [key_name(current)]") - message_admins("[key_name_admin(usr)] has de-vampired [key_name_admin(current)]") - if("vampire") if(isvampire(src)) return - var/datum/antagonist/vampire/vamp = new() + var/datum/antagonist/vampire/new_vampire/vamp = new() vamp.give_objectives = FALSE add_antag_datum(vamp) - to_chat(usr, "Vampire [key] has no objectives. You can add custom ones or generate random set by using Randomize! button.") - to_chat(current, "Your powers have awoken. Your lust for blood grows... You are a Vampire!") + to_chat(usr, span_notice("У вампира [key] отсутствуют цели. Вы можете добавить их вручную или сгенерировать случайный набор, кнопкой Randomize!")) + to_chat(current, "Ваши силы пробудились. Ваша жажда крови растет... Вы вампир!") log_admin("[key_name(usr)] has vampired [key_name(current)]") message_admins("[key_name_admin(usr)] has vampired [key_name_admin(current)]") @@ -1855,16 +1787,15 @@ var/datum/antagonist/vampire/vamp = has_antag_datum(/datum/antagonist/vampire) vamp.give_objectives() - to_chat(usr, "The objectives for vampire [key] have been generated. You can edit them and announce manually.") + to_chat(usr, span_notice("Для вампира [key] сгенерированы задания. Вы можете отредактировать и объявить их вручную.")) log_admin("[key_name(usr)] has automatically forged objectives for [key_name(current)]") message_admins("[key_name_admin(usr)] has automatically forged objectives for [key_name_admin(current)]") else if(href_list["vampthrall"]) switch(href_list["vampthrall"]) if("clear") - if(has_antag_datum(/datum/antagonist/mindslave/thrall) || has_antag_datum(/datum/antagonist/mindslave/goon_thrall)) + if(has_antag_datum(/datum/antagonist/mindslave/thrall)) remove_antag_datum(/datum/antagonist/mindslave/thrall) - remove_antag_datum(/datum/antagonist/mindslave/goon_thrall) log_admin("[key_name(usr)] has de-vampthralled [key_name(current)]") message_admins("[key_name_admin(usr)] has de-vampthralled [key_name_admin(current)]") @@ -2508,12 +2439,13 @@ var/start_process = alert(usr,"Начинать отсчет до момента вылупления?", "", "Да", "Нет") == "Да" if(isnull(burst_time) || QDELETED(current) || current.stat == DEAD) return - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.need_new_blob = need_new_blob blob_datum.start_process = start_process blob_datum.time_to_burst_hight = burst_time blob_datum.time_to_burst_low = burst_time - src.add_antag_datum(blob_datum) + add_antag_datum(blob_datum) log_admin("[key_name(usr)] has made [key_name(current)] into a \"Blob\"") message_admins("[key_name_admin(usr)] has made [key_name_admin(current)] into a \"Blob\"") @@ -2716,14 +2648,6 @@ remove_antag_datum(chan_datum) -/datum/mind/proc/remove_goon_vampire_role() - var/datum/antagonist/goon_vampire/vamp = has_antag_datum(/datum/antagonist/goon_vampire) - if(!vamp) - return - - remove_antag_datum(vamp) - - /datum/mind/proc/remove_vampire_role() var/datum/antagonist/vampire/vamp = has_antag_datum(/datum/antagonist/vampire) if(!vamp) @@ -2825,7 +2749,6 @@ remove_clocker_role() remove_wizard_role() remove_changeling_role() - remove_goon_vampire_role() remove_vampire_role() remove_syndicate_role() remove_event_role() @@ -2897,12 +2820,12 @@ /datum/mind/proc/make_goon_vampire() if(!isvampire(src)) - add_antag_datum(/datum/antagonist/goon_vampire) + add_antag_datum(/datum/antagonist/vampire/goon_vampire) /datum/mind/proc/make_vampire() if(!isvampire(src)) - add_antag_datum(/datum/antagonist/vampire) + add_antag_datum(/datum/antagonist/vampire/new_vampire) /datum/mind/proc/make_Nuke() @@ -3039,6 +2962,14 @@ L = agent_landmarks[team] H.forceMove(L.loc) +/datum/mind/proc/get_blob_infected_type() + if(!current) + stack_trace("The mind is not attached to the mob.") + if(isanimal(current)) + return /datum/antagonist/blob_infected/simple_animal + if(ishuman(current)) + return /datum/antagonist/blob_infected/human + /datum/mind/proc/AddSpell(obj/effect/proc_holder/spell/spell) if(!istype(spell)) diff --git a/code/datums/outfits/outfit_admin.dm b/code/datums/outfits/outfit_admin.dm index e1cc9345db1..6d88b312dc1 100644 --- a/code/datums/outfits/outfit_admin.dm +++ b/code/datums/outfits/outfit_admin.dm @@ -271,7 +271,7 @@ uniform = /obj/item/clothing/under/rank/centcom/captain back = /obj/item/storage/backpack/satchel - belt = /obj/item/gun/energy/pulse/pistol + belt = /obj/item/storage/belt/rapier/centcomm gloves = /obj/item/clothing/gloves/color/white shoes = /obj/item/clothing/shoes/centcom head = /obj/item/clothing/head/beret/centcom/captain @@ -281,6 +281,7 @@ pda = /obj/item/pda/centcom backpack_contents = list( /obj/item/storage/box/centcomofficer = 1, + /obj/item/gun/energy/pulse/pistol = 1, /obj/item/implanter/death_alarm = 1 ) implants = list( diff --git a/code/datums/ruins/space.dm b/code/datums/ruins/space.dm index c842c0cb7d3..a72dee689b1 100644 --- a/code/datums/ruins/space.dm +++ b/code/datums/ruins/space.dm @@ -430,3 +430,13 @@ However, it seems that hardly anyone is left on it now.. Or not?" allow_duplicates = FALSE cost = 2 + + +/datum/map_template/ruin/space/astroak + id = "astroak" + suffix = "astroak.dmm" + name = "Astroak" + description = "An ordinary church of Carp'Sie, it seems that the carps punished the believers..." + cost = 2 + allow_duplicates = FALSE + can_found = TRUE diff --git a/code/datums/spell_handler/vampire_spell_handler.dm b/code/datums/spell_handler/vampire_spell_handler.dm index ecb1281ebc3..ad198b149b3 100644 --- a/code/datums/spell_handler/vampire_spell_handler.dm +++ b/code/datums/spell_handler/vampire_spell_handler.dm @@ -12,30 +12,31 @@ if(isvampirecoffin(user.loc)) if(show_message) - to_chat(user, span_warning("You can't use this ability inside the coffin!")) + to_chat(user, span_warning("Вы не можете использовать эту способность, будучи в гробу!")) return FALSE var/fullpower = vampire.get_ability(/datum/vampire_passive/full) if(user.stat >= DEAD) // TODO check if needed if(show_message) - to_chat(user, span_warning("Not while you're dead!")) + to_chat(user, span_warning("Но вы же мертвы!")) return FALSE - if(vampire.nullified >= VAMPIRE_COMPLETE_NULLIFICATION && !fullpower) // above 100 nullification vampire powers are useless + if(((vampire.nullified >= VAMPIRE_COMPLETE_NULLIFICATION) || \ + (vampire.nullification == OLD_NULLIFICATION && vampire.nullified)) && !fullpower) // above 100 nullification vampire powers are useless if(show_message) - to_chat(user, span_warning("Something is blocking your powers!")) + to_chat(user, span_warning("Что-то блокирует ваши силы!")) return FALSE if(vampire.bloodusable < required_blood) if(show_message) - to_chat(user, span_warning("You require at least [required_blood] units of usable blood to do that!")) + to_chat(user, span_warning("Для этого вам потребуется не менее [required_blood] единиц крови!")) return FALSE //chapel check if(is_type_in_typecache(get_area(user), GLOB.holy_areas) && !fullpower) if(show_message) - to_chat(user, span_warning("Your powers are useless on this holy ground.")) + to_chat(user, span_warning("Ваши силы не действуют на этой святой земле.")) return FALSE return TRUE @@ -44,13 +45,13 @@ if(!required_blood || !deduct_blood_on_cast) //don't take the blood yet if this is false! return - var/datum/antagonist/vampire/vampire = user.mind.has_antag_datum(/datum/antagonist/vampire) + var/datum/antagonist/vampire/vampire = user?.mind?.has_antag_datum(/datum/antagonist/vampire) - vampire.bloodusable -= calculate_blood_cost(vampire) + vampire?.bloodusable -= calculate_blood_cost(vampire) /datum/spell_handler/vampire/proc/calculate_blood_cost(datum/antagonist/vampire/vampire) - var/blood_cost_modifier = 1 + vampire.nullified / 100 + var/blood_cost_modifier = 1 + ((vampire.nullification == OLD_NULLIFICATION)? 0 : vampire.nullified / 100) var/blood_cost = round(required_blood * blood_cost_modifier) return clamp(blood_cost, 0, vampire.bloodusable) @@ -63,6 +64,9 @@ var/datum/antagonist/vampire/vampire = user?.mind?.has_antag_datum(/datum/antagonist/vampire) if(!vampire) return - to_chat(user, span_boldnotice("You have [vampire.bloodusable] blood left to use.")) + to_chat(user, span_boldnotice("У Вас осталось [vampire.bloodusable] единиц крови.")) SSblackbox.record_feedback("tally", "vampire_powers_used", 1, "[spell]") // Only log abilities which require blood +/datum/spell_handler/vampire/goon/revert_cast(mob/living/carbon/user, obj/effect/proc_holder/spell/spell) + var/datum/antagonist/vampire/vampire = user?.mind?.has_antag_datum(/datum/antagonist/vampire) + vampire?.bloodusable += required_blood diff --git a/code/datums/spells/devil.dm b/code/datums/spells/devil.dm index 76358d87b9e..d2a513dd5a7 100644 --- a/code/datums/spells/devil.dm +++ b/code/datums/spells/devil.dm @@ -43,6 +43,7 @@ /obj/effect/proc_holder/spell/summon_contract/create_new_targeting() var/datum/spell_targeting/click/T = new() + T.try_auto_target = FALSE T.range = 5 T.click_radius = -1 T.allowed_type = /mob/living/carbon @@ -50,7 +51,7 @@ /obj/effect/proc_holder/spell/summon_contract/valid_target(mob/living/carbon/target, mob/user) - return target.mind && target.ckey && !target.stat + return target.mind /obj/effect/proc_holder/spell/summon_contract/cast(list/targets, mob/user = usr) diff --git a/code/datums/status_effects/debuffs.dm b/code/datums/status_effects/debuffs.dm index 7b1670ae4be..681c419e11f 100644 --- a/code/datums/status_effects/debuffs.dm +++ b/code/datums/status_effects/debuffs.dm @@ -1050,7 +1050,7 @@ if(prob(pukeprob)) carbon.AdjustConfused(9 SECONDS) carbon.AdjustStuttering(3 SECONDS) - carbon.vomit(15, FALSE, 8 SECONDS, 0, FALSE) + carbon.vomit(15, message = FALSE) carbon.Dizzy(15 SECONDS) if(strength >= DISGUST_LEVEL_DISGUSTED) if(prob(25)) @@ -1264,3 +1264,33 @@ if(new_filter) animate(get_filter("ray"), offset = 10, time = 10 SECONDS, loop = -1) animate(offset = 0, time = 10 SECONDS) + +/datum/status_effect/tox_vomit + id = "vomitting_from_toxins" + alert_type = null + processing_speed = STATUS_EFFECT_NORMAL_PROCESS + tick_interval = 2 SECONDS + var/puke_counter = 0 + +/datum/status_effect/tox_vomit/on_apply() + if(!iscarbon(owner)) + return FALSE + + return TRUE + +/datum/status_effect/tox_vomit/tick(seconds_between_ticks) + if(owner.stat == DEAD || !TOX_VOMIT_THRESHOLD_REACHED(owner, TOX_VOMIT_REQUIRED_TOXLOSS) || HAS_TRAIT(owner, TRAIT_GODMODE)) + qdel(src) + return + + puke_counter++ + if(puke_counter < 25) + return + + var/mob/living/carbon/carbon = owner + puke_counter = initial(puke_counter) + + if(!carbon.vomit()) + return + + carbon.adjustToxLoss(-3) diff --git a/code/datums/supplypacks.dm b/code/datums/supplypacks.dm index ecf6b04620a..c36bb358f60 100644 --- a/code/datums/supplypacks.dm +++ b/code/datums/supplypacks.dm @@ -2961,6 +2961,13 @@ GLOBAL_LIST_INIT(all_supply_groups, list(SUPPLY_EMERGENCY,SUPPLY_SECURITY,SUPPLY cost = 15 containername = "chinese supply crate" +/datum/supply_packs/vending/customat + name = "Customat Resupply Canister Crate" + contains = list(/obj/item/vending_refill/custom, + /obj/item/vending_refill/custom) + cost = 30 + containername = "customat canister supply crate" + ////////////////////////////////////////////////////////////////////////////// //////////////////////////// CONTRABAND SUPPLY /////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// diff --git a/code/datums/weather/weather_types/blob_storm.dm b/code/datums/weather/weather_types/blob_storm.dm index b7bad46d1a4..31321e210f3 100644 --- a/code/datums/weather/weather_types/blob_storm.dm +++ b/code/datums/weather/weather_types/blob_storm.dm @@ -48,7 +48,8 @@ /datum/weather/blob_storm/weather_act(mob/living/target) - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = target.mind.get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.add_to_mode = FALSE blob_datum.time_to_burst_hight = TIME_TO_BURST_MOUSE_HIGHT blob_datum.time_to_burst_low = TIME_TO_BURST_MOUSE_LOW diff --git a/code/game/gamemodes/antag_paradise/antag_paradise.dm b/code/game/gamemodes/antag_paradise/antag_paradise.dm index bb3a9932ed1..460ed81b9e1 100644 --- a/code/game/gamemodes/antag_paradise/antag_paradise.dm +++ b/code/game/gamemodes/antag_paradise/antag_paradise.dm @@ -317,7 +317,7 @@ log_and_message_admins("[antag] was not assigned for AI role. Report this to coders.") if(ROLE_VAMPIRE) - antag.add_antag_datum(/datum/antagonist/vampire) + antag.add_antag_datum(/datum/antagonist/vampire/new_vampire) if(ROLE_CHANGELING) antag.add_antag_datum(/datum/antagonist/changeling) if(ROLE_TRAITOR) @@ -330,7 +330,7 @@ for(var/datum/mind/antag as anything in pre_double_antags) switch(pre_double_antags[antag]) if(ROLE_VAMPIRE) - antag.add_antag_datum(/datum/antagonist/vampire) + antag.add_antag_datum(/datum/antagonist/vampire/new_vampire) if(ROLE_CHANGELING) antag.add_antag_datum(/datum/antagonist/changeling) diff --git a/code/game/gamemodes/blob/blob.dm b/code/game/gamemodes/blob/blob.dm index 7d2f8e93e74..685abb965e8 100644 --- a/code/game/gamemodes/blob/blob.dm +++ b/code/game/gamemodes/blob/blob.dm @@ -1,17 +1,21 @@ /datum/game_mode - //List of of blobs, their offsprings and blobburnouts spawned by them + /// List of of blobs, their offsprings and blobburnouts spawned by them var/list/blobs = list("infected"=list(), "offsprings"=list(), "blobernauts"=list()) - //Count of blob tiles to blob win + /// Count of blob tiles to blob win var/blob_win_count = BLOB_BASE_TARGET_POINT - //Number of resource produced by the core + /// Number of resource produced by the core var/blob_point_rate = 3 - //Number of bursted blob infected + /// Number of bursted blob infected var/bursted_blobs_count = 0 - //Total blob submode stage + /// Total blob submode stage var/blob_stage = BLOB_STAGE_NONE - //The need to delay the end of the game when the blob wins + /// The need to delay the end of the game when the blob wins var/delay_blob_end = FALSE - //Total blobs objective + /// Disables automatic GAMMA code + var/off_auto_gamma = FALSE + /// Disables automatic nuke codes + var/off_auto_nuke_codes = FALSE + /// Total blobs objective var/datum/objective/blob_critical_mass/blob_objective @@ -25,9 +29,9 @@ restricted_jobs = BLOB_RESTRICTED_JOBS protected_species = BLOB_RESTRICTED_SPECIES - //Base count of roundstart blobs + /// Base count of roundstart blobs var/cores_to_spawn = 1 - //The number of players for which 1 more roundstart blob will be added. + /// The number of players for which 1 more roundstart blob will be added. var/players_per_core = BLOB_PLAYERS_PER_CORE @@ -61,7 +65,8 @@ /datum/game_mode/blob/post_setup() for(var/datum/mind/blob in blobs["infected"]) - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = blob.get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.need_new_blob = TRUE blob_datum.time_to_burst_hight = TIME_TO_BURST_HIGHT blob_datum.time_to_burst_low = TIME_TO_BURST_LOW @@ -133,7 +138,7 @@ if (BLOB_DEATH_REPORT_SECOND) SSshuttle?.stop_lockdown() if (BLOB_DEATH_REPORT_THIRD) - if(blob_stage >= BLOB_STAGE_SECOND && GLOB.security_level == SEC_LEVEL_GAMMA) + if(!off_auto_gamma && GLOB.security_level == SEC_LEVEL_GAMMA) set_security_level(SEC_LEVEL_RED) if (BLOB_DEATH_REPORT_FOURTH) blob_stage = BLOB_STAGE_ZERO @@ -150,7 +155,8 @@ count = min(count, candidates.len) for(var/i = 0, i < count, i++) blob = pick(candidates) - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = blob.mind.get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.need_new_blob = need_new_blob blob.mind.add_antag_datum(blob_datum) candidates -= blob @@ -174,7 +180,8 @@ var/mob/M = pick(candidates) candidates.Remove(M) B.key = M.key - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = B.mind.get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.time_to_burst_hight = TIME_TO_BURST_MOUSE_HIGHT blob_datum.time_to_burst_low = TIME_TO_BURST_MOUSE_LOW B.mind.add_antag_datum(blob_datum) @@ -189,17 +196,18 @@ return if(blob_stage == BLOB_STAGE_NONE) blob_stage = BLOB_STAGE_ZERO - if(blob_stage == BLOB_STAGE_ZERO && GLOB.blobs.len >= FIRST_STAGE_COEF * blob_win_count) + if(blob_stage == BLOB_STAGE_ZERO && GLOB.blobs.len >= min(FIRST_STAGE_COEF * blob_win_count, FIRST_STAGE_THRESHOLD)) blob_stage = BLOB_STAGE_FIRST send_intercept(BLOB_FIRST_REPORT) SSshuttle?.emergency?.cancel() SSshuttle?.lockdown_escape() - if(blob_stage == BLOB_STAGE_FIRST && GLOB.blobs.len >= SECOND_STAGE_COEF * blob_win_count) + if(blob_stage == BLOB_STAGE_FIRST && GLOB.blobs.len >= min(SECOND_STAGE_COEF * blob_win_count, SECOND_STAGE_THRESHOLD)) blob_stage = BLOB_STAGE_SECOND GLOB.event_announcement.Announce("Подтверждена вспышка биологической угрозы пятого уровня на борту [station_name()]. Весь персонал обязан локализовать угрозу.", "ВНИМАНИЕ: БИОЛОГИЧЕСКАЯ УГРОЗА.", 'sound/AI/outbreak5.ogg') - addtimer(CALLBACK(GLOBAL_PROC, /proc/set_security_level, SEC_LEVEL_GAMMA), TIME_TO_SWITCH_CODE) + if(!off_auto_gamma) + addtimer(CALLBACK(GLOBAL_PROC, /proc/set_security_level, SEC_LEVEL_GAMMA), TIME_TO_SWITCH_CODE) if(blob_stage == BLOB_STAGE_SECOND && GLOB.blobs.len >= THIRD_STAGE_COEF * blob_win_count) blob_stage = BLOB_STAGE_THIRD diff --git a/code/game/gamemodes/blob/blob_finish.dm b/code/game/gamemodes/blob/blob_finish.dm index 10fa0bd0ea5..db27c5d382c 100644 --- a/code/game/gamemodes/blob/blob_finish.dm +++ b/code/game/gamemodes/blob/blob_finish.dm @@ -17,6 +17,9 @@ /datum/game_mode/proc/delay_blob_win() delay_blob_end = TRUE +/datum/game_mode/proc/return_blob_win() + delay_blob_end = FALSE + /datum/game_mode/proc/declare_blob_completion() if(station_was_nuked && blob_stage != BLOB_STAGE_POST_END) if(GAMEMODE_IS_BLOB) diff --git a/code/game/gamemodes/blob/blob_report.dm b/code/game/gamemodes/blob/blob_report.dm index e9c0e3f1995..79f5bc1764d 100644 --- a/code/game/gamemodes/blob/blob_report.dm +++ b/code/game/gamemodes/blob/blob_report.dm @@ -31,12 +31,17 @@ intercepttext += "Вам приказано следующее:
" intercepttext += " 1. Защитите диск ядерной аутентификации.
" intercepttext += " 2. Взорвите ядерную боеголовку, находящуюся в хранилище станции.
" - intercepttext += "Код ядерной аутентификации: [nukecode]
" + if(off_auto_nuke_codes) + intercepttext += "Код ядерной аутентификации будет выслан в скором времени отдельным сообщением. Ожидайте.
" + else + intercepttext += "Код ядерной аутентификации: [nukecode]
" intercepttext += "Конец сообщения." for(var/mob/living/silicon/ai/aiPlayer in GLOB.player_list) if(aiPlayer.client) - var/law = "Станция находится на карантине. Не позволяйте никому покидать ее. При необходимости игнорируйте законы 1-3, чтобы любыми средствами предотвратить чей-либо уход. Любой ценой необходимо активировать систему самоуничтожения станции, код: [nukecode]." + var/law = "Станция находится на карантине. Не позволяйте никому покидать ее.\ + При необходимости игнорируйте законы 1-3, чтобы любыми средствами предотвратить чей-либо уход. \ + Любой ценой необходимо активировать систему самоуничтожения станции, код[(off_auto_nuke_codes)? " будет направлен Центральным Коммандованием в скором времени" : ": [nukecode]"]." aiPlayer.set_zeroth_law(law) SSticker?.score?.save_silicon_laws(aiPlayer, additional_info = "вспышка блоба, добавлен новый нулевой закон'[law]'") to_chat(aiPlayer, "Законы обновлены: [law]") @@ -51,7 +56,7 @@ intercepttext += "Вам приказано следующее:
" intercepttext += " 1. Уничтожьте все полученные засекреченные сообщения.
" intercepttext += " 2. В случае невозможности продолжать смену ввиду потерь среди экипажа или критического состояния станции, провести эвакуацию экипажа.
" - if(blob_stage == BLOB_STAGE_THIRD) + if(blob_stage == BLOB_STAGE_THIRD && !off_auto_nuke_codes) intercepttext += " 3. Код от боеголовки, как и ее назначение необходимо держать в строжайшей секретности.
" intercepttext += "Нарушение данных приказов может повлечь за собой расторжение контракта, со всеми вытекающими последствиями.
" intercepttext += "Конец сообщения." diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm index ac612935898..5b816cdee38 100644 --- a/code/game/gamemodes/cult/cult_items.dm +++ b/code/game/gamemodes/cult/cult_items.dm @@ -539,7 +539,7 @@ * If they are blocked, and the shield has an illusion charge, an illusion will be spawned at src. * The illusion has a 60% chance to be hostile and attack non-cultists, and a 40% chance to just run away from the user. */ -/obj/item/shield/mirror/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/shield/mirror/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(iscultist(owner)) // Cultist holding the shield // Hit by a projectile @@ -673,7 +673,7 @@ playsound(T, 'sound/effects/glassbr3.ogg', 100) qdel(src) -/obj/item/twohanded/cult_spear/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/twohanded/cult_spear/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(wielded) final_block_chance *= 2 if(prob(final_block_chance)) diff --git a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm index 9c5a4e62bfe..6ae4169dcaf 100644 --- a/code/game/gamemodes/miniantags/abduction/abduction_gear.dm +++ b/code/game/gamemodes/miniantags/abduction/abduction_gear.dm @@ -97,7 +97,7 @@ M.name_override = null M.regenerate_icons() -/obj/item/clothing/suit/armor/abductor/vest/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/armor/abductor/vest/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) DeactivateStealth() /obj/item/clothing/suit/armor/abductor/vest/IsReflect() diff --git a/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm b/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm index 68da5a5ee91..e022e1d60cb 100644 --- a/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm +++ b/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm @@ -28,8 +28,10 @@ /datum/surgery_step/internal/extract_organ name = "remove heart" - accept_hand = 1 - time = 32 + begin_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' + accept_hand = TRUE + time = 3.2 SECONDS var/obj/item/organ/internal/IC = null /datum/surgery_step/internal/extract_organ/begin_step(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery) @@ -72,8 +74,10 @@ /datum/surgery_step/internal/gland_insert name = "insert gland" + begin_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(/obj/item/organ/internal/heart/gland = 100) - time = 32 + time = 3.2 SECONDS /datum/surgery_step/internal/gland_insert/begin_step(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery) user.visible_message( diff --git a/code/game/gamemodes/miniantags/borer/borer.dm b/code/game/gamemodes/miniantags/borer/borer.dm index 887537062ea..3d188967b01 100644 --- a/code/game/gamemodes/miniantags/borer/borer.dm +++ b/code/game/gamemodes/miniantags/borer/borer.dm @@ -9,6 +9,7 @@ if(check_mute(client.ckey, MUTE_IC)) to_chat(src, span_warning("Вы не можете говорить в IC (muted).")) return + if(client.handle_spam_prevention(message,MUTE_IC)) return @@ -16,12 +17,14 @@ message = trim(sanitize(copytext_char(message, 1, MAX_MESSAGE_LEN))) if(!message) return + add_say_logs(src, message) if(stat == DEAD) return say_dead(message) + var/mob/living/simple_animal/borer/B = loc to_chat(src, "Вы тихо шепчете, \"[message]\"") - to_chat(B.host, "Пленённый разум [src] шепчет, \"[message]\"") + to_chat(B.host, span_alien("Пленённый разум [src] шепчет, \"[message]\"")) for(var/mob/M in GLOB.mob_list) if(M.mind && isobserver(M)) @@ -29,9 +32,11 @@ /mob/living/captive_brain/say_understands(var/mob/other, var/datum/language/speaking = null) var/mob/living/simple_animal/borer/B = loc + if(!istype(B)) log_runtime(EXCEPTION("Trapped mind found without a borer!"), src) return FALSE + return B.host.say_understands(other, speaking) @@ -46,8 +51,10 @@ to_chat(src, span_userdanger("Вы начинаете упорно сопротивляться контролю паразита (это займёт примерно минуту).")) to_chat(B.host, span_userdanger("Вы чувствуете, как пленённый разум [src] начинает сопротивляться.")) var/delay = (rand(350,450) + B.host.getBrainLoss()) + if(!do_after(src, delay, B.host, ALL)) return + return_control(B) host_resisting = FALSE @@ -65,48 +72,64 @@ name = "cortical borer" real_name = "cortical borer" desc = "A small, quivering sluglike creature." + speak_emote = list("chirrups") emote_hear = list("chirrups") + tts_seed = "Gman_e2" + response_help = "pokes" response_disarm = "prods the" response_harm = "stomps on the" + icon_state = "brainslug" icon_living = "brainslug" icon_dead = "brainslug_dead" - speed = 5 + a_intent = INTENT_HARM - stop_automated_movement = 1 - status_flags = CANPUSH attacktext = "щипает" friendly = "prods" - wander = 0 + mob_size = MOB_SIZE_TINY - density = FALSE pass_flags = PASSTABLE | PASSMOB mob_size = MOB_SIZE_SMALL + status_flags = CANPUSH + density = FALSE + faction = list("creature") ventcrawler_trait = TRAIT_VENTCRAWLER_ALWAYS + + wander = FALSE + stop_automated_movement = TRUE + speed = 5 + atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) minbodytemp = 0 maxbodytemp = 1500 - var/generation = 1 + var/static/list/borer_names = list( "Primary", "Secondary", "Tertiary", "Quaternary", "Quinary", "Senary", "Septenary", "Octonary", "Novenary", "Decenary", "Undenary", "Duodenary", ) - var/talk_inside_host = FALSE // So that borers don't accidentally give themselves away on a botched message + var/chemicals = 10 // Chemicals used for reproduction and chemical injection. var/max_chems = 250 - var/mob/living/carbon/human/host // Human host for the brain worm. + var/generation = 1 + var/truename // Name used for brainworm-speak. - var/mob/living/captive_brain/host_brain // Used for swapping control of the body back and forth. var/controlling // Used in human death check. + + var/mob/living/carbon/human/host // Human host for the brain worm. + var/mob/living/captive_brain/host_brain // Used for swapping control of the body back and forth. + var/docile = FALSE // Sugar can stop borers from acting. var/bonding = FALSE var/leaving = FALSE var/sneaking = FALSE var/hiding = FALSE + var/talk_inside_host = FALSE // So that borers don't accidentally give themselves away on a botched message + + var/datum/antagonist/borer/antag_datum = new var/datum/action/innate/borer/talk_to_host/talk_to_host_action = new var/datum/action/innate/borer/toggle_hide/toggle_hide_action = new var/datum/action/innate/borer/talk_to_borer/talk_to_borer_action = new @@ -118,8 +141,10 @@ var/datum/action/innate/borer/make_larvae/make_larvae_action = new var/datum/action/innate/borer/torment/torment_action = new var/datum/action/innate/borer/sneak_mode/sneak_mode_action = new + var/datum/action/innate/borer/focus_menu/focus_menu_action = new /mob/living/simple_animal/borer/New(atom/newloc, var/gen=1) + antag_datum.borer_rank = new BORER_RANK_YOUNG(src) ..(newloc) remove_from_all_data_huds() generation = gen @@ -133,18 +158,24 @@ if(cannotPossess(user)) to_chat(user, span_boldnotice("Upon using the antagHUD you forfeited the ability to join the round.")) return + if(jobban_isbanned(user, "Syndicate")) to_chat(user, span_warning("You are banned from antagonists!")) return + if(key) return + if(stat != CONSCIOUS) return + var/be_borer = tgui_alert(user, "Become a cortical borer? (Warning, You can no longer be cloned!)", "Cortical Borer", list("Yes", "No")) if(be_borer != "Yes" || !src || QDELETED(src)) return + if(key) return + transfer_personality(user.client) /mob/living/simple_animal/borer/sentience_act() @@ -155,14 +186,18 @@ var/list/status_tab_data = ..() . = status_tab_data status_tab_data[++status_tab_data.len] = list("Chemicals", chemicals) + status_tab_data[++status_tab_data.len] = list("Rank", antag_datum.borer_rank?.rankname) + status_tab_data[++status_tab_data.len] = list("Evolution points", antag_datum.evo_points) /mob/living/simple_animal/borer/say(message, verb = "says", sanitize = TRUE, ignore_speech_problems = FALSE, ignore_atmospherics = FALSE, ignore_languages = FALSE) var/list/message_pieces = parse_languages(message) + for(var/datum/multilingual_say_piece/S in message_pieces) if(S.speaking != GLOB.all_languages[LANGUAGE_HIVE_BORER] && loc == host && !talk_inside_host) Communicate(message) return + return ..() @@ -188,13 +223,14 @@ if(src && !QDELETED(src) && !QDELETED(host)) var/say_string = (docile) ? "slurs" :"states" if(host) - to_chat(host, "[truename] [say_string]: [sended_message]") + to_chat(host, span_changeling("[truename] [say_string]: [sended_message]")) add_say_logs(src, sended_message, host, "BORER") + for(var/M in GLOB.dead_mob_list) if(isobserver(M)) - to_chat(M, "Borer Communication from [truename] ([ghost_follow_link(src, ghost=M)]): [sended_message]") - to_chat(src, "[truename] [say_string]: [sended_message]") - add_verb(host, /mob/living/proc/borer_comm) + to_chat(M, span_changeling("Borer Communication from [truename] ([ghost_follow_link(src, ghost=M)]): [sended_message]")) + + to_chat(src, span_changeling("[truename] [say_string]: [sended_message]")) talk_to_borer_action.Grant(host) /mob/living/simple_animal/borer/verb/toggle_silence_inside_host() @@ -203,21 +239,20 @@ set desc = "Toggle whether you will be able to say audible messages while inside your host." if(talk_inside_host) - talk_inside_host = FALSE to_chat(src, span_notice("Теперь вы будете говорить в сознание носителя.")) - else - talk_inside_host = TRUE - to_chat(src, span_notice("Теперь вы сможете говорить, находясь внутри носителя.")) + talk_inside_host = FALSE + return + + to_chat(src, span_notice("Теперь вы сможете говорить, находясь внутри носителя.")) + talk_inside_host = TRUE + return /mob/living/proc/borer_comm() - set name = "Converse with Borer" - set category = "Borer" - set desc = "Communicate mentally with your borer." - - if(src.stat == DEAD) // This shouldn't appear if host is not alive, but double-check + if(stat == DEAD) // This shouldn't appear if host is not alive, but double-check return var/mob/living/simple_animal/borer/B = has_brain_worms() + if(!B) return @@ -225,38 +260,39 @@ if(!input) return - to_chat(B, "[src] says: [input]") + to_chat(B, span_changeling("[src] says: [input]")) add_say_logs(src, input, B, "BORER") for(var/M in GLOB.dead_mob_list) if(isobserver(M)) - to_chat(M, "Borer Communication from [src] ([ghost_follow_link(src, ghost=M)]): [input]") - to_chat(src, "[src] says: [input]") + to_chat(M, span_changeling("Borer Communication from [src] ([ghost_follow_link(src, ghost=M)]): [input]")) -/mob/living/proc/trapped_mind_comm() - set name = "Converse with Trapped Mind" - set category = "Borer" - set desc = "Communicate mentally with the trapped mind of your host." + to_chat(src, span_changeling("[src] says: [input]")) - if(src.stat == DEAD) +/mob/living/proc/trapped_mind_comm() + if(stat == DEAD) to_chat(src, span_warning("Мозг жертвы не способен воспринимать вас в этом состоянии!")) return var/mob/living/simple_animal/borer/B = has_brain_worms() - if(!B || !B.host_brain) + + if(!B?.host_brain) return + var/mob/living/captive_brain/CB = B.host_brain var/input = stripped_input(src, "Введите сообщение для пленённого разума.", "Сообщение", "") + if(!input) return - to_chat(CB, "[B.truename] says: [input]") + to_chat(CB, span_changeling("[B.truename] says: [input]")) add_say_logs(B, input, CB, "BORER") for(var/M in GLOB.dead_mob_list) if(isobserver(M)) - to_chat(M, "Borer Communication from [B] ([ghost_follow_link(src, ghost=M)]): [input]") - to_chat(src, "[B.truename] says: [input]") + to_chat(M, span_changeling("Borer Communication from [B] ([ghost_follow_link(src, ghost=M)]): [input]")) + + to_chat(src, span_changeling("[B.truename] says: [input]")) /mob/living/simple_animal/borer/Life(seconds, times_fired) @@ -311,71 +347,7 @@ to_chat(src, span_notice("Вы анализируете жизненные показатели [M].")) healthscan(src, M, 1, TRUE) -/obj/effect/proc_holder/spell/borer_infest - name = "Infest" - desc = "Infest a suitable humanoid host." - base_cooldown = 0 - clothes_req = FALSE - action_icon_state = "infest" - action_background_icon_state = "bg_alien" - selection_activated_message = span_notice("Вы приготовились заразить жертву. Left-click чтобы применить способность!") - selection_deactivated_message = span_notice("Вы прекратили свои попытки заразить жертву.") - need_active_overlay = TRUE - human_req = FALSE - var/infesting = FALSE - -/obj/effect/proc_holder/spell/borer_infest/create_new_targeting() - var/datum/spell_targeting/click/T = new() - T.range = 1 - T.click_radius = -1 - return T - -/obj/effect/proc_holder/spell/borer_infest/can_cast(mob/living/user, charge_check = TRUE, show_message = FALSE) - - if (is_ventcrawling(user) || !src || user.stat || infesting) - return FALSE - . = ..() - -/obj/effect/proc_holder/spell/borer_infest/valid_target(mob/living/carbon/human/target, user) - return istype(target) && target.stat != DEAD && !ismachineperson(target) - -/obj/effect/proc_holder/spell/borer_infest/cast(list/targets, mob/living/simple_animal/borer/user) - var/mob/living/carbon/human/target = targets[1] - - if(!target) - return - - infesting = TRUE - to_chat(user, "Вы подползаете к [target] и начинаете искать [genderize_ru(target.gender,"его","её","его","их" )] слуховой проход...") - - if(!do_after(user, 5 SECONDS, target, NONE)) - to_chat(user, "Как только [target] отходит, вы срываетесь и падаете на пол.") - infesting = FALSE - return - - if(target.has_brain_worms()) - to_chat(user, span_warning("[target] уже заражён!")) - infesting = FALSE - return - - infesting = FALSE - user.host = target - add_attack_logs(user, user.host, "Infested as borer") - target.borer = user - user.forceMove(target) - user.host.status_flags |= PASSEMOTES - - user.RemoveBorerActions() - user.RemoveBorerSpells() - user.GrantInfestActions() - - to_chat(user, span_boldnotice("Вы можете анализировать здоровье носителя при помощи Left-click.")) - -/mob/living/simple_animal/borer/verb/secrete_chemicals() - set category = "Borer" - set name = "Secrete Chemicals" - set desc = "Push some chemicals into your host's bloodstream." - +/mob/living/simple_animal/borer/proc/secrete_chemicals() if(!host) to_chat(src, "Вы не находитесь в теле носителя.") return @@ -392,12 +364,11 @@ content += "" - for(var/datum in typesof(/datum/borer_chem)) - var/datum/borer_chem/C = datum - var/cname = initial(C.chemname) - var/datum/reagent/R = GLOB.chemical_reagents_list[cname] - if(cname) - content += "" + for(var/datum/reagent/reagent as anything in subtypesof(/datum/reagent)) + if(!LAZYIN(GLOB.borer_reagents, reagent.id) || !reagent.name) + continue + + content += "" content += "
[R.name] ([initial(C.chemuse)])

[initial(C.chemdesc)]

[reagent.name] ([initial(reagent.chemuse)])

[reagent.chemdesc ? initial(reagent.chemdesc) : initial(reagent.description)]

" @@ -413,102 +384,87 @@ var/mob/dead/observer/ghost = usr if(istype(ghost)) attack_ghost(ghost) + if(href_list["borer_use_chem"]) locate(href_list["src"]) if(!istype(src, /mob/living/simple_animal/borer)) return - var/topic_chem = href_list["borer_use_chem"] - var/datum/borer_chem/C = null - - for(var/datum in typesof(/datum/borer_chem)) - var/datum/borer_chem/test = datum - if(initial(test.chemname) == topic_chem) - C = new test() - break + var/datum/reagent/reagent = href_list["borer_use_chem"] - if(!C || !host || controlling || !src || stat) + if(!reagent || !host || controlling || !src || stat) return - var/datum/reagent/R = GLOB.chemical_reagents_list[C.chemname] - if(chemicals < C.chemuse) - to_chat(src, span_boldnotice("Вам нужно [C.chemuse] химикатов для выделения [R.name]!")) + + reagent = new reagent() + if(chemicals < reagent.chemuse) + to_chat(src, span_boldnotice("Вам нужно [reagent.chemuse] химикатов для выделения [reagent.name]!")) return - to_chat(src, span_userdanger("Вы впрыскиваете [R.name] из своих резервуаров в кровь [host].")) - host.reagents.add_reagent(C.chemname, C.quantity) - chemicals -= C.chemuse - add_attack_logs(src, host, "injected [R.name]") + to_chat(src, span_userdanger("Вы впрыскиваете [reagent.name] из своих резервуаров в кровь [host].")) + host.reagents.add_reagent(reagent.id, reagent.quantity) + chemicals -= reagent.chemuse + add_attack_logs(src, host, "injected [reagent.name]") // This is used because we use a static set of datums to determine what chems are available, // instead of a table or something. Thus, when we instance it, we can safely delete it - qdel(C) + qdel(reagent) ..() -/mob/living/simple_animal/borer/verb/hide_borer() - set category = "Borer" - set name = "Hide" - set desc = "Become invisible to the common eye." - - if(host) - to_chat(usr, span_warning("Вы не можете сделать этого, находясь внутри носителя.")) +/mob/living/simple_animal/borer/proc/focus_menu() + if(!host) + to_chat(src, "Вы не находитесь в теле носителя.") return - if(stat != CONSCIOUS) + if(stat) + to_chat(src, "Вы не можете эволюционировать в вашем нынешнем состоянии.") return - if(!hiding) - layer = TURF_LAYER+0.2 - to_chat(src, span_notice("Вы прячетесь.")) - hiding = TRUE - else - layer = MOB_LAYER - to_chat(src, span_notice("Вы перестали прятаться.")) - hiding = FALSE - -/obj/effect/proc_holder/spell/borer_dominate - name = "Dominate Victim" - desc = "Freeze the limbs of a potential host with supernatural fear." - base_cooldown = 30 SECONDS - clothes_req = FALSE - action_icon_state = "genetic_cryo" - action_background_icon_state = "bg_alien" - selection_activated_message = span_notice("Вы приготовились поразить жертву. Left-click чтобы применить способность!") - selection_deactivated_message = span_notice("Вы решили дать своей жертве шанс. Пока что.") - need_active_overlay = TRUE - human_req = FALSE - -/obj/effect/proc_holder/spell/borer_dominate/create_new_targeting() - var/datum/spell_targeting/click/T = new() - T.range = 3 - T.click_radius = -1 - return T - -/obj/effect/proc_holder/spell/borer_dominate/can_cast(mob/living/user, charge_check = TRUE, show_message = FALSE) - - if (is_ventcrawling(user) || !src || user.stat) - return FALSE - . = ..() + if(docile) + to_chat(src, "Вы слишком обессилели для этого.") + return + + var/list/content = list() + + for(var/datum/borer_focus/focus as anything in subtypesof(/datum/borer_focus)) + if(locate(focus) in antag_datum.learned_focuses) + continue -/obj/effect/proc_holder/spell/borer_dominate/valid_target(mob/living/carbon/human/target, user) - return istype(target) && target.stat != DEAD + LAZYADD(content, focus.bodypartname) + + if(!LAZYLEN(content)) + to_chat(src, span_notice("Вы приобрели все доступные фокусы.")) + return + + var/tgui_menu = tgui_input_list(src, "Choose focus", "Focus Menu", content) + if(!tgui_menu) + return -/obj/effect/proc_holder/spell/borer_dominate/cast(list/targets, mob/living/simple_animal/borer/user) - var/mob/living/carbon/human/target = targets[1] + for(var/datum/borer_focus/focus as anything in subtypesof(/datum/borer_focus)) + if(tgui_menu != focus.bodypartname) + continue - if(target.has_brain_worms()) - to_chat(user, span_warning("Вы не можете позволить себе сделать это с тем, кто уже заражён..")) - return + antag_datum.process_focus_choice(focus) + break - to_chat(user, span_warning("Вы пронзили разум [target] пси-потоком, парализуя [genderize_ru(target.gender,"его","её","его","их" )] конечности волной первородного ужаса!")) - to_chat(target, span_warning("Вы чувствуете, как на вас наваливается жуткое чувство страха, леденящее конечности и заставляющее сердце бешено колотиться.")) - target.Weaken(6 SECONDS) + return -/mob/living/simple_animal/borer/verb/release_host() - set category = "Borer" - set name = "Release Host" - set desc = "Slither out of your host." +/mob/living/simple_animal/borer/proc/hide_borer() + if(host) + to_chat(src, span_warning("Вы не можете сделать этого, находясь внутри носителя.")) + return + if(!hiding) + layer = TURF_LAYER+0.2 + to_chat(src, span_notice("Вы прячетесь.")) + hiding = TRUE + return + + layer = MOB_LAYER + to_chat(src, span_notice("Вы перестали прятаться.")) + hiding = FALSE + return +/mob/living/simple_animal/borer/proc/release_host() if(!host) to_chat(src, "Вы не находитесь в теле носителя.") return @@ -532,9 +488,11 @@ if(!host || !src || QDELETED(host) || QDELETED(src) || controlling) return + if(stat) to_chat(src, "Вы не можете освободить цель в вашем текущем состоянии.") return + if(leaving) to_chat(src, "Вы начинаете отсоединяться от синапсов носителя и пробираться наружу через его слуховой проход.") else @@ -550,36 +508,37 @@ /mob/living/simple_animal/borer/proc/borer_leaving() if(!leaving || docile || bonding) return FALSE + return TRUE /mob/living/simple_animal/borer/proc/leave_host() if(!host) return + if(controlling) detach() + GrantBorerActions() GrantBorerSpells() RemoveInfestActions() forceMove(get_turf(host)) - machine = null + machine = null host.reset_perspective(null) host.machine = null var/mob/living/carbon/H = host H.borer = null - remove_verb(H, /mob/living/proc/borer_comm) + talk_to_borer_action.Remove(host) H.status_flags &= ~PASSEMOTES host = null - return -/mob/living/simple_animal/borer/verb/bond_brain() - set category = "Borer" - set name = "Assume Control" - set desc = "Fully connect to the brain of your host." + SEND_SIGNAL(src, COMSIG_BORER_LEFT_HOST) + return +/mob/living/simple_animal/borer/proc/bond_brain() if(!host) to_chat(src, "Вы не находитесь в теле носителя.") return @@ -619,6 +578,7 @@ /mob/living/simple_animal/borer/proc/borer_assuming() if(!bonding || docile || leaving) return FALSE + return TRUE /mob/living/simple_animal/borer/proc/assume_control() @@ -666,13 +626,6 @@ controlling = TRUE - add_verb(host, /mob/living/carbon/proc/release_control) - add_verb(host, /mob/living/carbon/proc/punish_host) - add_verb(host, /mob/living/carbon/proc/spawn_larvae) - add_verb(host, /mob/living/carbon/proc/sneak_mode) - remove_verb(host, /mob/living/proc/borer_comm) - add_verb(host, /mob/living/proc/trapped_mind_comm) - GrantControlActions() talk_to_borer_action.Remove(host) host.med_hud_set_status() @@ -682,35 +635,26 @@ return /mob/living/carbon/proc/punish_host() - set category = "Borer" - set name = "Torment Host" - set desc = "Punish your host with agony." - - var/mob/living/simple_animal/borer/B = has_brain_worms() - - if(!B) - return + var/mob/living/simple_animal/borer/borer = has_brain_worms() - if(B.host_brain) + if(borer?.host_brain) to_chat(src, span_danger("Вы посылаете карающий всплеск психической агонии в мозг своего носителя.")) - to_chat(B.host_brain, span_danger("Ужасная, жгучая агония пронзает вас насквозь, вырывая беззвучный крик из глубин вашего запертого разума!")) + to_chat(borer.host_brain, span_danger("Ужасная, жгучая агония пронзает вас насквозь, вырывая беззвучный крик из глубин вашего запертого разума!")) + return + //Brain slug proc for voluntary removal of control. /mob/living/carbon/proc/release_control() - set category = "Borer" - set name = "Release Control" - set desc = "Release control of your host's body." - - var/mob/living/simple_animal/borer/B = has_brain_worms() - - if(B && B.host_brain) - to_chat(src, span_danger("Вы убираете свои хоботки, освобождая [B.host_brain].")) - - B.detach() + var/mob/living/simple_animal/borer/borer = has_brain_worms() - else - log_runtime(EXCEPTION("Missing borer or missing host brain upon borer release."), src) + if(borer?.host_brain) + to_chat(src, span_danger("Вы убираете свои хоботки, освобождая [borer.host_brain].")) + borer.detach() + return + + log_runtime(EXCEPTION("Missing borer or missing host brain upon borer release."), src) + return //Check for brain worms in head. /mob/proc/has_brain_worms() @@ -725,61 +669,61 @@ /mob/living/carbon/proc/BorerControlling() var/mob/living/simple_animal/borer/borer = has_brain_worms() + if(borer && borer.controlling) return TRUE + return FALSE /mob/living/carbon/proc/spawn_larvae() - set category = "Borer" - set name = "Reproduce" - set desc = "Spawn several young." - var/mob/living/simple_animal/borer/B = has_brain_worms() if(!B) return if(B.chemicals >= 100) + B.chemicals -= 100 + to_chat(src, span_danger("Ваш хозяин дёргается и вздрагивает, когда вы быстро выводите личинку из своего слизнеподобного тела.")) visible_message(span_danger("[src] яростно блюёт, изрыгая рвотные массы вместе с извивающимся, похожим на слизня существом!")) - B.chemicals -= 100 + var/turf/T = get_turf(src) T.add_vomit_floor() + new /mob/living/simple_animal/borer(T, B.generation + 1) + borer.antag_datum.post_reproduce() - else - to_chat(src, "Вам требуется 100 химикатов для размножения!") return + to_chat(src, "Вам требуется 100 химикатов для размножения!") + return + /mob/living/carbon/proc/sneak_mode() - set category = "Borer" - set name = "Sneak mode" - set desc = "Hides your status from medical huds." - var/mob/living/simple_animal/borer/B = has_brain_worms() + var/mob/living/simple_animal/borer/borer = has_brain_worms() - if(!B) + if(!borer) return - if(B.sneaking) + if(borer.sneaking) to_chat(src, span_danger("Вы перестаете скрывать свое присутствие!")) - B.sneaking = FALSE - B.host.med_hud_set_status() + borer.sneaking = FALSE + borer.host.med_hud_set_status() return - if(B.host_brain.ckey) + if(borer.host_brain.ckey) to_chat(src, span_danger("Душа вашего хозяина не позволяет вам скрыть свое присутствие!")) return - if(B.chemicals >= 50) - B.sneaking = TRUE + if(borer.chemicals >= 50) + borer.sneaking = TRUE to_chat(src, span_notice("Вы скрываете ваше присутствие внутри хозяина!")) - B.chemicals -= 50 - B.host.med_hud_set_status() - - else - to_chat(src, "Вам требуется 50 химикатов для сокрытия вашего присутствия!") + borer.chemicals -= 50 + borer.host.med_hud_set_status() return + to_chat(src, "Вам требуется 50 химикатов для сокрытия вашего присутствия!") + return + /mob/living/simple_animal/borer/proc/detach() if(!host || !controlling) @@ -790,13 +734,6 @@ machine = null sneaking = FALSE - remove_verb(host, /mob/living/carbon/proc/release_control) - remove_verb(host, /mob/living/carbon/proc/punish_host) - remove_verb(host, /mob/living/carbon/proc/spawn_larvae) - remove_verb(host, /mob/living/carbon/proc/sneak_mode) - add_verb(host, /mob/living/proc/borer_comm) - remove_verb(host, /mob/living/proc/trapped_mind_comm) - RemoveControlActions() talk_to_borer_action.Grant(host) host.med_hud_set_status() @@ -842,16 +779,11 @@ return if(!QDELETED(candidate) || !QDELETED(candidate.mob)) - var/datum/mind/M = create_borer_mind(candidate.ckey) - M.transfer_to(src) + var/datum/mind/mind = create_borer_mind(candidate.ckey) + mind.transfer_to(src) candidate.mob = src ckey = candidate.ckey - var/list/messages = list() - messages.Add(span_notice("Вы - Мозговой Червь!")) - messages.Add("Забирайтесь в голову своей жертвы, используйте скрытность, убеждение и свои способности к управлению разумом, чтобы сохранить себя, своё потомство и своего носителя в безопасности и тепле.") - messages.Add("Сахар сводит на нет ваши способности, избегайте его любой ценой!") - messages.Add("Вы можете разговаривать со своими коллегами-борерами, используя '[get_language_prefix(LANGUAGE_HIVE_BORER)]'.") - to_chat(src, chat_box_purple(messages.Join("
"))) + mind.add_antag_datum(antag_datum) GrantBorerSpells() hide_borer() @@ -881,12 +813,16 @@ leave_body_action.Grant(src) take_control_action.Grant(src) make_chems_action.Grant(src) + mind?.AddSpell(new /obj/effect/proc_holder/spell/borer_force_say) + focus_menu_action.Grant(src) /mob/living/simple_animal/borer/proc/RemoveInfestActions() talk_to_host_action.Remove(src) take_control_action.Remove(src) leave_body_action.Remove(src) make_chems_action.Remove(src) + mind?.RemoveSpell(/obj/effect/proc_holder/spell/borer_force_say) + focus_menu_action.Remove(src) /mob/living/simple_animal/borer/proc/GrantControlActions() talk_to_brain_action.Grant(host) @@ -901,113 +837,3 @@ give_back_control_action.Remove(host) sneak_mode_action.Remove(host) torment_action.Remove(host) - -/datum/action/innate/borer - background_icon_state = "bg_alien" - -/datum/action/innate/borer/talk_to_host - name = "Converse with Host" - desc = "Send a silent message to your host." - button_icon_state = "alien_whisper" - -/datum/action/innate/borer/talk_to_host/Activate() - var/mob/living/simple_animal/borer/B = owner - B.Communicate() - -/datum/action/innate/borer/toggle_hide - name = "Toggle Hide" - desc = "Become invisible to the common eye. Toggled on or off." - button_icon_state = "borer_hiding_false" - -/datum/action/innate/borer/toggle_hide/Activate() - var/mob/living/simple_animal/borer/B = owner - B.hide_borer() - button_icon_state = "borer_hiding_[B.hiding ? "true" : "false"]" - UpdateButtonIcon() - -/datum/action/innate/borer/talk_to_borer - name = "Converse with Borer" - desc = "Communicate mentally with your borer." - button_icon_state = "alien_whisper" - -/datum/action/innate/borer/talk_to_borer/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.borer_comm() - -/datum/action/innate/borer/talk_to_brain - name = "Converse with Trapped Mind" - desc = "Communicate mentally with the trapped mind of your host." - button_icon_state = "alien_whisper" - -/datum/action/innate/borer/talk_to_brain/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.trapped_mind_comm() - -/datum/action/innate/borer/take_control - name = "Assume Control" - desc = "Fully connect to the brain of your host." - button_icon_state = "borer_brain" - -/datum/action/innate/borer/take_control/Activate() - var/mob/living/simple_animal/borer/B = owner - B.bond_brain() - -/datum/action/innate/borer/give_back_control - name = "Release Control" - desc = "Release control of your host's body." - button_icon_state = "borer_leave" - -/datum/action/innate/borer/give_back_control/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.release_control() - -/datum/action/innate/borer/leave_body - name = "Release Host" - desc = "Slither out of your host." - button_icon_state = "borer_leave" - -/datum/action/innate/borer/leave_body/Activate() - var/mob/living/simple_animal/borer/B = owner - B.release_host() - -/datum/action/innate/borer/make_chems - name = "Secrete Chemicals" - desc = "Push some chemicals into your host's bloodstream." - button_icon_state = "fleshmend" - -/datum/action/innate/borer/make_chems/Activate() - var/mob/living/simple_animal/borer/B = owner - B.secrete_chemicals() - -/datum/action/innate/borer/make_larvae - name = "Reproduce" - desc = "Spawn several young." - button_icon_state = "borer_reproduce" - -/datum/action/innate/borer/make_larvae/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.spawn_larvae() - -/datum/action/innate/borer/torment - name = "Torment Host" - desc = "Punish your host with agony." - button_icon_state = "blind" - -/datum/action/innate/borer/torment/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.punish_host() - -/datum/action/innate/borer/sneak_mode - name = "Sneak mode" - desc = "Hides your status from medical huds." - button_icon_state = "chameleon_skin" - -/datum/action/innate/borer/sneak_mode/Activate() - var/mob/living/simple_animal/borer/B = owner.has_brain_worms() - B.host = owner - B.host.sneak_mode() diff --git a/code/game/gamemodes/miniantags/revenant/revenant.dm b/code/game/gamemodes/miniantags/revenant/revenant.dm index 23c76727c4f..1ea56cf0309 100644 --- a/code/game/gamemodes/miniantags/revenant/revenant.dm +++ b/code/game/gamemodes/miniantags/revenant/revenant.dm @@ -205,6 +205,7 @@ mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/defile(null)) mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/malfunction(null)) mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/overload(null)) + mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/blight(null)) mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/haunt_object(null)) mind.AddSpell(new /obj/effect/proc_holder/spell/aoe/revenant/hallucinations(null)) return TRUE diff --git a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm index 24d5e3c5b51..87e430f423e 100644 --- a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm +++ b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm @@ -9,100 +9,116 @@ if(modifiers["middle"]) MiddleClickOn(A) return + if(modifiers["shift"]) ShiftClickOn(A) return + if(modifiers["alt"]) AltClickOn(A) return + if(modifiers["ctrl"]) CtrlClickOn(A) return if(world.time <= next_move) return + A.attack_ghost(src) if(ishuman(A) && in_range(src, A)) if(isLivingSSD(A) && client.send_ssd_warning(A)) //Do NOT Harvest SSD people unless you accept the warning return + Harvest(A) /mob/living/simple_animal/revenant/proc/Harvest(mob/living/carbon/human/target) if(!castcheck(0)) return + if(draining) - to_chat(src, "You are already siphoning the essence of a soul!") + to_chat(src, span_revenwarning("You are already siphoning the essence of a soul!")) return + var/mob_UID = target.UID() if(mob_UID in drained_mobs) - to_chat(src, "[target]'s soul is dead and empty.") + to_chat(src, span_revenwarning("[target]'s soul is dead and empty.")) return + if(!target.stat) - to_chat(src, "This being's soul is too strong to harvest.") + to_chat(src, span_revennotice("This being's soul is too strong to harvest.")) if(prob(10)) to_chat(target, "You feel as if you are being watched.") return + draining = TRUE essence_drained = rand(15, 20) - to_chat(src, "You search for the soul of [target].") + to_chat(src, span_revennotice("You search for the soul of [target].")) + if(do_after(src, 1 SECONDS, target, DEFAULT_DOAFTER_IGNORE|DA_IGNORE_HELD_ITEM)) //did they get deleted in that second? if(target.ckey) - to_chat(src, "Their soul burns with intelligence.") + to_chat(src, span_revennotice("Their soul burns with intelligence.")) essence_drained += rand(20, 30) + if(target.stat != DEAD) - to_chat(src, "Their soul blazes with life!") + to_chat(src, span_revennotice("Their soul blazes with life!")) essence_drained += rand(40, 50) else - to_chat(src, "Their soul is weak and faltering.") + to_chat(src, span_revennotice("Their soul is weak and faltering.")) + if(do_after(src, 2 SECONDS, target, DEFAULT_DOAFTER_IGNORE|DA_IGNORE_HELD_ITEM)) //did they get deleted NOW? switch(essence_drained) if(1 to 30) - to_chat(src, "[target] will not yield much essence. Still, every bit counts.") + to_chat(src, span_revennotice("[target] will not yield much essence. Still, every bit counts.")) if(30 to 70) - to_chat(src, "[target] will yield an average amount of essence.") + to_chat(src, span_revennotice("[target] will yield an average amount of essence.")) if(70 to 90) - to_chat(src, "Such a feast! [target] will yield much essence to you.") + to_chat(src, span_revenboldnotice("Such a feast! [target] will yield much essence to you.")) if(90 to INFINITY) - to_chat(src, "Ah, the perfect soul. [target] will yield massive amounts of essence to you.") + to_chat(src, span_revenbignotice("Ah, the perfect soul. [target] will yield massive amounts of essence to you.")) if(do_after(src, 2 SECONDS, target, DEFAULT_DOAFTER_IGNORE|DA_IGNORE_HELD_ITEM)) //how about now if(!target.stat) - to_chat(src, "They are now powerful enough to fight off your draining.") + to_chat(src, span_revenwarning("They are now powerful enough to fight off your draining.")) to_chat(target, span_boldannounceic("You feel something tugging across your body before subsiding.")) draining = FALSE return //hey, wait a minute... - to_chat(src, "You begin siphoning essence from [target]'s soul.") + + to_chat(src, span_revenminor("You begin siphoning essence from [target]'s soul.")) if(target.stat != DEAD) - to_chat(target, "You feel a horribly unpleasant draining sensation as your grip on life weakens...") + to_chat(target, span_warning("You feel a horribly unpleasant draining sensation as your grip on life weakens...")) + reveal(27) stun(27) - target.visible_message("[target] suddenly rises slightly into the air, [target.p_their()] skin turning an ashy gray.") + target.visible_message(span_warning("[target] suddenly rises slightly into the air, [target.p_their()] skin turning an ashy gray.")) target.Beam(src,icon_state="drain_life",icon='icons/effects/effects.dmi',time=26) + if(do_after(src, 3 SECONDS, target, DEFAULT_DOAFTER_IGNORE|DA_IGNORE_HELD_ITEM)) //As one cannot prove the existance of ghosts, ghosts cannot prove the existance of the target they were draining. change_essence_amount(essence_drained, 0, target) if(essence_drained > 90) essence_regen_cap += 25 perfectsouls += 1 - to_chat(src, "The perfection of [target]'s soul has increased your maximum essence level. Your new maximum essence is [essence_regen_cap].") - to_chat(src, "[target]'s soul has been considerably weakened and will yield no more essence for the time being.") - target.visible_message("[target] slumps onto the ground.", \ - "Violets lights, dancing in your vision, getting clo--") + to_chat(src, span_revenboldnotice("The perfection of [target]'s soul has increased your maximum essence level. Your new maximum essence is [essence_regen_cap].")) + to_chat(src, span_revennotice("[target]'s soul has been considerably weakened and will yield no more essence for the time being.")) + target.visible_message(span_warning("[target] slumps onto the ground."), \ + span_revenwarning("Violets lights, dancing in your vision, getting clo--")) drained_mobs.Add(mob_UID) add_attack_logs(src, target, "revenant harvested soul") target.death() else - to_chat(src, "[target ? "[target] has":"They have"] been drawn out of your grasp. The link has been broken.") + to_chat(src, span_revenwarning("[target ? "[target] has":"They have"] been drawn out of your grasp. The link has been broken.")) draining = 0 essence_drained = 0 if(target) //Wait, target is WHERE NOW? - target.visible_message("[target] slumps onto the ground.", \ - "Violets lights, dancing in your vision, receding--") + target.visible_message(span_warning("[target] slumps onto the ground."), \ + span_revenwarning("Violets lights, dancing in your vision, receding--")) return else - to_chat(src, "You are not close enough to siphon [target ? "[target]'s":"their"] soul. The link has been broken.") + to_chat(src, span_revenwarning("You are not close enough to siphon [target ? "[target]'s":"their"] soul. The link has been broken.")) draining = FALSE essence_drained = 0 return + draining = FALSE essence_drained = 0 @@ -112,7 +128,7 @@ */ /obj/effect/proc_holder/spell/night_vision/revenant base_cooldown = 0 - message = "You toggle your night vision." + message = span_revennotice("You toggle your night vision.") action_icon_state = "r_nightvision" action_background_icon_state = "bg_revenant" @@ -138,12 +154,14 @@ for(var/mob/living/M in targets) spawn(0) var/msg = tgui_input_text(usr, "What do you wish to tell [M]?", null, "") + if(!msg) cooldown_handler.revert_cast() return + log_say("(REVENANT to [key_name(M)]) [msg]", user) - to_chat(user, "You transmit to [M]: [msg]") - to_chat(M, "An alien voice resonates from all around... [msg]") + to_chat(user, "[span_revenboldnotice("You transmit to [M]:")] [span_revennotice(msg)]") + to_chat(M, "[span_revenboldnotice("An alien voice resonates from all around...")] [span_italics(msg)]") /obj/effect/proc_holder/spell/aoe/revenant @@ -173,7 +191,7 @@ /obj/effect/proc_holder/spell/aoe/revenant/revert_cast(mob/user) . = ..() - to_chat(user, "Your ability wavers and fails!") + to_chat(user, span_revennotice("Your ability wavers and fails!")) var/mob/living/simple_animal/revenant/R = user R?.essence += cast_amount //refund the spell and reset @@ -181,13 +199,17 @@ /obj/effect/proc_holder/spell/aoe/revenant/can_cast(mob/living/simple_animal/revenant/user = usr, charge_check = TRUE, show_message = FALSE) if(user.inhibited) return FALSE + if(cooldown_handler.is_on_cooldown()) return FALSE + if(locked) if(user.essence <= unlock_amount) return FALSE + if(user.essence <= cast_amount) return FALSE + return TRUE @@ -196,19 +218,26 @@ if(!user.castcheck(-unlock_amount)) cooldown_handler.revert_cast() return FALSE + name = "[initial(name)] ([cast_amount]E)" - to_chat(user, "You have unlocked [initial(name)]!") + to_chat(user, span_revenwarning("You have unlocked [initial(name)]!")) + locked = FALSE cooldown_handler.revert_cast() + return FALSE + if(!user.castcheck(-cast_amount)) cooldown_handler.revert_cast() return FALSE + name = "[initial(name)] ([cast_amount]E)" user.reveal(reveal) user.stun(stun) + if(action) action.UpdateButtonIcon() + return TRUE @@ -241,18 +270,22 @@ /obj/effect/proc_holder/spell/aoe/revenant/overload/proc/shock_lights(obj/machinery/light/L, mob/living/simple_animal/revenant/user) if(!L.on) return - L.visible_message("\The [L] suddenly flares brightly and begins to spark!") + + L.visible_message(span_boldwarning("\The [L] suddenly flares brightly and begins to spark!")) do_sparks(4, 0, L) new /obj/effect/temp_visual/revenant(L.loc) sleep(2 SECONDS) if(!L.on) //wait, wait, don't shock me return + flick("[L.base_icon_state]2", L) for(var/mob/living/M in view(shock_range, L)) if(M == user) continue + M.Beam(L, icon_state = "purple_lightning", icon = 'icons/effects/effects.dmi', time = 0.5 SECONDS) M.electrocute_act(shock_damage, "настенной лампы", flags = SHOCK_NOGLOVES) + do_sparks(4, 0, M) playsound(M, 'sound/machines/defib_zap.ogg', 50, TRUE, -1) @@ -278,8 +311,10 @@ /obj/effect/proc_holder/spell/aoe/revenant/defile/cast(list/targets, mob/living/simple_animal/revenant/user = usr) if(!attempt_cast(user)) return + for(var/turf/T in targets) T.defile() + for(var/atom/A in T.contents) A.defile() @@ -310,6 +345,7 @@ /obj/effect/proc_holder/spell/aoe/revenant/malfunction/proc/effect(mob/living/simple_animal/revenant/user, turf/T) T.rev_malfunction(TRUE) + for(var/atom/A in T.contents) A.rev_malfunction(TRUE) @@ -401,11 +437,14 @@ */ /obj/effect/proc_holder/spell/aoe/revenant/haunt_object/proc/attack(mob/living/simple_animal/possessed_object/possessed_object, mob/living/simple_animal/revenant/user) var/list/potential_victims = list() + for(var/mob/living/carbon/potential_victim in range(aoe_range, get_turf(possessed_object))) if(!can_see(possessed_object, potential_victim, aoe_range)) // You can't see me continue + if(potential_victim.stat != CONSCIOUS) // Don't kill our precious essence-filled sleepy mobs continue + potential_victims.Add(potential_victim) if(!length(potential_victims)) @@ -463,6 +502,44 @@ M.AdjustHallucinate(60 SECONDS, bound_upper = 300 SECONDS) //Lets not let them get more than 5 minutes of hallucinations new /obj/effect/temp_visual/revenant(get_turf(M)) +/** + * Infects targets with a ectoplasmic disease + */ +/obj/effect/proc_holder/spell/aoe/revenant/blight + name = "Blight" + desc = "Infects people nearby with a disease that slowly debilitates them." + action_icon_state = "blight" + base_cooldown = 60 SECONDS + unlock_amount = 200 + cast_amount = 40 + stun = 3 SECONDS + reveal = 7 SECONDS + aoe_range = 4 + + +/obj/effect/proc_holder/spell/aoe/revenant/blight/create_new_targeting() + var/datum/spell_targeting/aoe/target = new() + target.range = aoe_range + target.allowed_type = /mob/living/carbon/human + return target + +/obj/effect/proc_holder/spell/aoe/revenant/blight/valid_target(mob/living/carbon/human/target, mob/living/simple_animal/revenant/user = usr) + if(!target.mind) + return FALSE + + if(target.mind in SSticker.mode.sintouched) + return FALSE + + return TRUE + +/obj/effect/proc_holder/spell/aoe/revenant/blight/cast(list/targets, mob/living/simple_animal/revenant/user = usr) + if(!attempt_cast(user)) + return + + for(var/mob/living/carbon/human/human as anything in targets) + var/datum/disease/ectoplasmic/disease = new + disease.Contract(human) + new /obj/effect/temp_visual/revenant(get_turf(human)) /** * Defiling atoms. @@ -514,7 +591,7 @@ open() /mob/living/carbon/human/defile() - to_chat(src, "You suddenly feel [pick("sick and tired", "tired and confused", "nauseated", "dizzy")].") + to_chat(src, span_warning("You suddenly feel [pick("sick and tired", "tired and confused", "nauseated", "dizzy")].")) apply_damages(tox = 5, stamina = 60) AdjustConfused(40 SECONDS, bound_lower = 0, bound_upper = 60 SECONDS) new /obj/effect/temp_visual/revenant(loc) @@ -549,7 +626,7 @@ */ /mob/living/carbon/human/rev_malfunction(cause_emp = TRUE) - to_chat(src, "You feel [pick("your sense of direction flicker out", "a stabbing pain in your head", "your mind fill with static")].") + to_chat(src, span_warning("You feel [pick("your sense of direction flicker out", "a stabbing pain in your head", "your mind fill with static")].")) new /obj/effect/temp_visual/revenant(loc) if(cause_emp) emp_act(1) diff --git a/code/game/gamemodes/miniantags/sintouched/objectives.dm b/code/game/gamemodes/miniantags/sintouched/objectives.dm index 2c2b5ce68e2..5e6daa1ae22 100644 --- a/code/game/gamemodes/miniantags/sintouched/objectives.dm +++ b/code/game/gamemodes/miniantags/sintouched/objectives.dm @@ -1,6 +1,7 @@ /datum/objective/sintouched completed = TRUE needs_target = FALSE + var/mob/living/carbon/human/user /* NO ERP OBJECTIVE FOR YOU. /datum/objective/sintouched/lust @@ -13,23 +14,86 @@ else explanation_text = "Go get married, then immediately cheat on your new spouse." */ +/datum/objective/sintouched/proc/on_apply() + return + +/datum/objective/sintouched/New(mob/living/carbon/human/human) + ..() + user = human // Currently not to mind + on_apply() + +/datum/objective/sintouched/Destroy(force) + user = null + return ..() + /datum/objective/sintouched/gluttony - explanation_text = "Food is delicious, so delicious you can't let it be wasted on other people." + explanation_text = "Еда очень вкусная, настолько вкусная, что вы не можете позволить еде попасть к другим людям, ведь она и была создана лишь для вас." -/datum/objective/sintouched/greed - explanation_text = "You want MORE, more money, more wealth, more riches. Go get it, but don't hurt people for it." +/datum/objective/sintouched/gluttony/on_apply() + user.physiology.hunger_mod *= 3 + LAZYADD(user.dna.species.inherent_traits, TRAIT_NO_FAT) + user.force_gene_block(GLOB.eatblock, TRUE) +/datum/objective/sintouched/gluttony/Destroy(force) + user.physiology.hunger_mod /= 3 + LAZYREMOVE(user.dna.species.inherent_traits, TRAIT_NO_FAT) + user.force_gene_block(GLOB.eatblock) + return ..() + +/datum/objective/sintouched/greed + explanation_text = "Вы хотите БОЛЬШЕ, больше денег, больше богатства, больше богатств. Заполучи их, но не вреди людям ради этого." + /datum/objective/sintouched/sloth - explanation_text = "You just get tired randomly. Go take a nap at a time that would inconvenience other people." + explanation_text = "Вы периодически устаёте. Идите и вздремните в то время, когда это будет неудобно другим людям." + +/datum/objective/sintouched/sloth/on_apply() + user.add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/species_tool_mod, multiplicative_slowdown = user.dna.species.toolspeedmod + 1) + user.add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/species_surgery_mod, multiplicative_slowdown = user.dna.species.surgeryspeedmod + 1) + user.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/species_speedmod, multiplicative_slowdown = user.dna.species.speed_mod - 0.5) +/datum/objective/sintouched/sloth/Destroy(force) + user.add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/species_tool_mod, multiplicative_slowdown = user.dna.species.toolspeedmod) + user.add_or_update_variable_actionspeed_modifier(/datum/actionspeed_modifier/species_surgery_mod, multiplicative_slowdown = user.dna.species.surgeryspeedmod) + user.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/species_speedmod, multiplicative_slowdown = user.dna.species.speed_mod) + return ..() + /datum/objective/sintouched/wrath - explanation_text = "What have your coworkers ever done for you? Don't offer to help them in any matter, and refuse if asked." + explanation_text = "Что ваши коллеги когда-либо делали для вас? Не предлагайте им помощь ни в каких делах и отказывайте, если попросят." + +/datum/objective/sintouched/wrath/on_apply() + var/datum/disease/virus/advance/preset/aggression/disease = new + user.physiology.punch_damage_low += 5 + user.physiology.punch_damage_high += 10 + disease.Contract(user) -/datum/objective/sintouched/envy - explanation_text = "Why should you be stuck with your rank? Show everyone you can do other jobs too, and don't let anyone stop you, least of all because you have no training." +/datum/objective/sintouched/wrath/Destroy(force) + user.physiology.punch_damage_low -= 5 + user.physiology.punch_damage_high -= 10 + return ..() +/datum/objective/sintouched/envy + explanation_text = "Почему вы должны зацикливаться на своем звании? Покажите всем, что вы можете выполнять и другую работу, и не позволяйте никому остановить вас, прежде всего потому, что у вас нет требуемой квалификации." + +/datum/objective/sintouched/envy/on_apply() + user.set_species(/datum/species/wryn) + /datum/objective/sintouched/pride - explanation_text = "You are the BEST thing on the station. Make sure everyone knows it." + explanation_text = "Вы - лучшее, что есть на станции. Убедитесь, что все это знают." + +/datum/objective/sintouched/pride/on_apply() + user.physiology.brute_mod *= 0.9 + user.physiology.tox_mod *= 0.9 + user.physiology.stamina_mod *= 0.9 + user.physiology.oxy_mod *= 0.9 + user.physiology.burn_mod *= 0.9 + +/datum/objective/sintouched/pride/Destroy(force) + user.physiology.brute_mod /= 0.9 + user.physiology.tox_mod /= 0.9 + user.physiology.stamina_mod /= 0.9 + user.physiology.oxy_mod /= 0.9 + user.physiology.burn_mod /= 0.9 + return ..() /datum/objective/sintouched/acedia - explanation_text = "Angels, devils, good, evil... who cares? Just ignore any hellish threats and do your job." + explanation_text = "Ангелы, дьяволы, добро, зло... кого это вообще беспокоит? Игнорируйте все адские угрозы и просто занимайтесь своей работой." diff --git a/code/game/gamemodes/objective.dm b/code/game/gamemodes/objective.dm index b6b6b30af43..4491a7d96be 100644 --- a/code/game/gamemodes/objective.dm +++ b/code/game/gamemodes/objective.dm @@ -1142,10 +1142,6 @@ GLOBAL_LIST_EMPTY(admin_objective_list) if(vampire && (vampire.bloodtotal >= target_amount)) return TRUE - var/datum/antagonist/goon_vampire/g_vampire = player.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vampire && (g_vampire.bloodtotal >= target_amount)) - return TRUE - return FALSE diff --git a/code/game/gamemodes/scoreboard.dm b/code/game/gamemodes/scoreboard.dm index 4fa41cae2b4..31de44198d5 100644 --- a/code/game/gamemodes/scoreboard.dm +++ b/code/game/gamemodes/scoreboard.dm @@ -353,7 +353,14 @@ GLOBAL_VAR(scoreboard) // Variable to save the scoreboard string once it's been Прочее
Съедено еды: [score_food_eaten] [declension_ru(score_food_eaten, "укус", "укуса", "укусов")]/[declension_ru(score_food_eaten, "глоток", "глотка", "глотков")].
- Клоуна избили: [score_clown_abuse] [declension_ru(score_clown_abuse, "раз", "раза", "раз")]

"} + Клоуна избили: [score_clown_abuse] [declension_ru(score_clown_abuse, "раз", "раза", "раз")]

+ + Финансовая статистка
+ Выплачено персоналу зарплат на сумму: [SScapitalism.total_salary_payment].
+ Поступило денег с выполнения заказов карго на счет станции: [SScapitalism.total_station_bounty].
+ Поступило денег с выполнения заказов карго на счет карго: [SScapitalism.total_cargo_bounty].
+ Общая сумма наград выплаченная персоналу за помощь в выполнении заказов карго: [SScapitalism.total_personal_bounty].
+ Доход от автоматов: [SScapitalism.income_vedromat].

"} if(score_escapees) dat += "Самый богатый из эвакуировавшихся: [richest_name], [richest_job]: $[num2text(richest_cash, 50)] ([richest_key])
" diff --git a/code/game/gamemodes/shadowling/shadowling_abilities.dm b/code/game/gamemodes/shadowling/shadowling_abilities.dm index 89d8e224c56..6418d850862 100644 --- a/code/game/gamemodes/shadowling/shadowling_abilities.dm +++ b/code/game/gamemodes/shadowling/shadowling_abilities.dm @@ -923,7 +923,7 @@ var/mob/living/carbon/human/target = targets[1] - target.vomit(lost_nutrition = 0, blood = TRUE, stun = 8 SECONDS, distance = 1, message = FALSE) + target.vomit(0, VOMIT_BLOOD, distance = 2, message = FALSE) playsound(user.loc, 'sound/hallucinations/veryfar_noise.ogg', 50, TRUE) to_chat(user, "You instantly rearrange [target]'s memories, hyptonitizing [target.p_them()] into a thrall.") to_chat(target, "An agonizing spike of pain drives into your mind, and--") diff --git a/code/game/gamemodes/steal_items.dm b/code/game/gamemodes/steal_items.dm index 6ba72ae6e2d..1a3c1fd8fe7 100644 --- a/code/game/gamemodes/steal_items.dm +++ b/code/game/gamemodes/steal_items.dm @@ -135,7 +135,7 @@ GLOBAL_LIST_INIT(ungibbable_items_types, get_ungibbable_items_types()) /datum/theft_objective/highrisk/captains_rapier id = "cap_rapier" name = "the captain's rapier" - typepath = /obj/item/melee/rapier + typepath = /obj/item/melee/rapier/captain protected_jobs = list(JOB_TITLE_CAPTAIN) /datum/theft_objective/highrisk/hoslaser diff --git a/code/game/gamemodes/vampire/goon_vampire.dm b/code/game/gamemodes/vampire/goon_vampire.dm index d39f65d8312..ca50b58ccb3 100644 --- a/code/game/gamemodes/vampire/goon_vampire.dm +++ b/code/game/gamemodes/vampire/goon_vampire.dm @@ -55,7 +55,7 @@ /datum/game_mode/goon_vampire/post_setup() for(var/datum/mind/vampire in pre_vampires) - vampire.add_antag_datum(/datum/antagonist/goon_vampire) + vampire.add_antag_datum(/datum/antagonist/vampire/goon_vampire) ..() diff --git a/code/game/gamemodes/vampire/thief_vamp.dm b/code/game/gamemodes/vampire/thief_vamp.dm index 0c8f25e4f93..b34b71c112a 100644 --- a/code/game/gamemodes/vampire/thief_vamp.dm +++ b/code/game/gamemodes/vampire/thief_vamp.dm @@ -36,5 +36,5 @@ /datum/game_mode/thief/vampire/post_setup() for(var/datum/mind/vampire in pre_vampires) - vampire.add_antag_datum(/datum/antagonist/vampire) + vampire.add_antag_datum(/datum/antagonist/vampire/new_vampire) ..() diff --git a/code/game/gamemodes/vampire/traitor_vamp.dm b/code/game/gamemodes/vampire/traitor_vamp.dm index 702b07eb55c..2dc3afd4555 100644 --- a/code/game/gamemodes/vampire/traitor_vamp.dm +++ b/code/game/gamemodes/vampire/traitor_vamp.dm @@ -39,6 +39,6 @@ /datum/game_mode/traitor/vampire/post_setup() for(var/datum/mind/vampire in pre_vampires) - vampire.add_antag_datum(/datum/antagonist/vampire) + vampire.add_antag_datum(/datum/antagonist/vampire/new_vampire) ..() diff --git a/code/game/gamemodes/vampire/vampire.dm b/code/game/gamemodes/vampire/vampire.dm index f90cd323620..0434e246cac 100644 --- a/code/game/gamemodes/vampire/vampire.dm +++ b/code/game/gamemodes/vampire/vampire.dm @@ -51,7 +51,7 @@ /datum/game_mode/vampire/post_setup() for(var/datum/mind/vampire in pre_vampires) - vampire.add_antag_datum(/datum/antagonist/vampire) + vampire.add_antag_datum(/datum/antagonist/vampire/new_vampire) ..() diff --git a/code/game/jobs/job/central.dm b/code/game/jobs/job/central.dm index 6bb152419de..ba29114705e 100644 --- a/code/game/jobs/job/central.dm +++ b/code/game/jobs/job/central.dm @@ -130,6 +130,7 @@ jobtype = /datum/job/ntspecops/supreme suit = /obj/item/clothing/suit/space/deathsquad/officer/supreme + belt = /obj/item/storage/belt/rapier/centcomm head = /obj/item/clothing/head/helmet/space/deathsquad/beret/supreme shoes = /obj/item/clothing/shoes/cowboy/white gloves = /obj/item/clothing/gloves/color/white diff --git a/code/game/jobs/job/civilian.dm b/code/game/jobs/job/civilian.dm index d80bcfa5b23..cd6b328235e 100644 --- a/code/game/jobs/job/civilian.dm +++ b/code/game/jobs/job/civilian.dm @@ -1,3 +1,5 @@ +#define SALARY_FOR_NISHEBROD 60 + /datum/job/civilian title = JOB_TITLE_CIVILIAN flag = JOB_FLAG_CIVILIAN @@ -10,9 +12,12 @@ access = list() //See /datum/job/assistant/get_access() minimal_access = list() //See /datum/job/assistant/get_access() alt_titles = list("Tourist","Businessman","Trader","Assistant") - random_money_factor = TRUE outfit = /datum/outfit/job/assistant + salary = SALARY_FOR_NISHEBROD + min_start_money = 10 + max_start_money = 200 + /datum/job/civilian/get_access() if(CONFIG_GET(flag/assistant_maint)) return list(ACCESS_MAINT_TUNNELS) @@ -27,4 +32,4 @@ l_pocket = /obj/item/paper/deltainfo shoes = /obj/item/clothing/shoes/black - +#undef SALARY_FOR_NISHEBROD diff --git a/code/game/jobs/job/engineering.dm b/code/game/jobs/job/engineering.dm index 1678e4c3d90..ec9a69f772c 100644 --- a/code/game/jobs/job/engineering.dm +++ b/code/game/jobs/job/engineering.dm @@ -21,9 +21,12 @@ min_age_allowed = 30 exp_requirements = 3000 exp_type = EXP_TYPE_ENGINEERING - money_factor = 7 outfit = /datum/outfit/job/chief_engineer + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/chief_engineer name = "Chief Engineer" jobtype = /datum/job/chief_engineer @@ -64,9 +67,12 @@ minimal_player_age = 7 exp_requirements = 600 exp_type = EXP_TYPE_ENGINEERING - money_factor = 3 outfit = /datum/outfit/job/engineer + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/engineer name = "Station Engineer" jobtype = /datum/job/engineer @@ -100,9 +106,12 @@ exp_max = 600 exp_type_max = EXP_TYPE_ENGINEERING is_novice = TRUE - money_factor = 2 outfit = /datum/outfit/job/engineer/trainee + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/engineer/trainee name = "Trainee Engineer" jobtype = /datum/job/engineer/trainee @@ -149,9 +158,12 @@ minimal_player_age = 7 exp_requirements = 900 exp_type = EXP_TYPE_ENGINEERING - money_factor = 4 outfit = /datum/outfit/job/atmos + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/atmos name = "Life Support Specialist" jobtype = /datum/job/atmos @@ -183,9 +195,12 @@ minimal_access = list(ACCESS_MAINT_TUNNELS, ACCESS_EMERGENCY_STORAGE, ACCESS_MECHANIC, ACCESS_EXTERNAL_AIRLOCKS, ACCESS_MINERAL_STOREROOM) exp_requirements = 900 exp_type = EXP_TYPE_ENGINEERING - money_factor = 3 outfit = /datum/outfit/job/mechanic + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/mechanic name = "Mechanic" jobtype = /datum/job/mechanic diff --git a/code/game/jobs/job/job.dm b/code/game/jobs/job/job.dm index 71c06a2c40f..81a2eec7563 100644 --- a/code/game/jobs/job/job.dm +++ b/code/game/jobs/job/job.dm @@ -66,9 +66,10 @@ var/spawn_ert = 0 var/syndicate_command = 0 - var/money_factor = 1 // multiplier of starting funds - var/random_money_factor = FALSE // is miltiplier randomized (from 4x to 0.25x for now) - + var/salary = 0 + var/min_start_money = 0 + var/max_start_money = 0 + var/outfit = null ///////////////////////////////// diff --git a/code/game/jobs/job/medical.dm b/code/game/jobs/job/medical.dm index 12a4359c902..5c05556fc24 100644 --- a/code/game/jobs/job/medical.dm +++ b/code/game/jobs/job/medical.dm @@ -19,9 +19,12 @@ min_age_allowed = 30 exp_requirements = 3000 exp_type = EXP_TYPE_MEDICAL - money_factor = 7 outfit = /datum/outfit/job/cmo + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/cmo name = JOB_TITLE_CMO jobtype = /datum/job/cmo @@ -60,9 +63,12 @@ minimal_player_age = 3 exp_requirements = 600 exp_type = EXP_TYPE_MEDICAL - money_factor = 3 outfit = /datum/outfit/job/doctor + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/doctor name = JOB_TITLE_DOCTOR jobtype = /datum/job/doctor @@ -94,9 +100,12 @@ exp_max = 600 exp_type_max = EXP_TYPE_MEDICAL is_novice = TRUE - money_factor = 2 outfit = /datum/outfit/job/doctor/intern + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/doctor/intern name = JOB_TITLE_INTERN jobtype = /datum/job/doctor/intern @@ -140,9 +149,12 @@ minimal_player_age = 3 exp_requirements = 180 exp_type = EXP_TYPE_CREW - money_factor = 3 outfit = /datum/outfit/job/coroner + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/coroner name = "Coroner" jobtype = /datum/job/coroner @@ -204,9 +216,12 @@ minimal_player_age = 7 exp_requirements = 600 exp_type = EXP_TYPE_MEDICAL - money_factor = 4 outfit = /datum/outfit/job/chemist + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/chemist name = "Chemist" jobtype = /datum/job/chemist @@ -239,9 +254,12 @@ minimal_player_age = 3 exp_requirements = 900 exp_type = EXP_TYPE_MEDICAL - money_factor = 4 outfit = /datum/outfit/job/geneticist + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/geneticist name = "Geneticist" jobtype = /datum/job/geneticist @@ -275,9 +293,12 @@ minimal_player_age = 7 exp_requirements = 900 exp_type = EXP_TYPE_MEDICAL - money_factor = 4 outfit = /datum/outfit/job/virologist + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/virologist name = "Virologist" jobtype = /datum/job/virologist @@ -309,9 +330,12 @@ access = list(ACCESS_MEDICAL, ACCESS_MORGUE, ACCESS_SURGERY, ACCESS_CHEMISTRY, ACCESS_VIROLOGY, ACCESS_GENETICS, ACCESS_PSYCHIATRIST) minimal_access = list(ACCESS_MEDICAL, ACCESS_PSYCHIATRIST) alt_titles = list("Psychologist","Therapist") - money_factor = 3 outfit = /datum/outfit/job/psychiatrist + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/psychiatrist name = "Psychiatrist" jobtype = /datum/job/psychiatrist @@ -351,9 +375,12 @@ minimal_player_age = 3 exp_requirements = 180 exp_type = EXP_TYPE_CREW - money_factor = 3 outfit = /datum/outfit/job/paramedic + salary = 150 + min_start_money = 200 + max_start_money = 400 + /datum/outfit/job/paramedic name = "Paramedic" jobtype = /datum/job/paramedic diff --git a/code/game/jobs/job/science.dm b/code/game/jobs/job/science.dm index 1228c2f49d7..90f25de2c95 100644 --- a/code/game/jobs/job/science.dm +++ b/code/game/jobs/job/science.dm @@ -25,9 +25,12 @@ required_objectives = list( /datum/job_objective/further_research ) - money_factor = 8 outfit = /datum/outfit/job/rd + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/rd name = "Research Director" @@ -70,9 +73,11 @@ required_objectives = list( /datum/job_objective/further_research ) - money_factor = 4 outfit = /datum/outfit/job/scientist + salary = 200 + min_start_money = 250 + max_start_money = 500 /datum/outfit/job/scientist name = "Scientist" @@ -103,9 +108,12 @@ exp_max = 600 exp_type_max = EXP_TYPE_SCIENCE is_novice = TRUE - money_factor = 2 outfit = /datum/outfit/job/scientist/student + salary = 200 + min_start_money = 250 + max_start_money = 500 + /datum/outfit/job/scientist/student name = "Student Scientist" jobtype = /datum/job/scientist/student @@ -146,10 +154,12 @@ minimal_player_age = 3 exp_requirements = 900 exp_type = EXP_TYPE_SCIENCE - - money_factor = 3 outfit = /datum/outfit/job/roboticist + salary = 200 + min_start_money = 250 + max_start_money = 500 + /datum/outfit/job/roboticist name = "Roboticist" jobtype = /datum/job/roboticist diff --git a/code/game/jobs/job/security.dm b/code/game/jobs/job/security.dm index e83d11c8a29..56d0a76681b 100644 --- a/code/game/jobs/job/security.dm +++ b/code/game/jobs/job/security.dm @@ -23,9 +23,12 @@ exp_requirements = 3000 exp_type = EXP_TYPE_SECURITY disabilities_allowed = 0 - money_factor = 7 outfit = /datum/outfit/job/hos + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/hos name = "Head of Security" jobtype = /datum/job/hos @@ -75,9 +78,12 @@ blocked_race_for_job = list(SPECIES_VOX) exp_requirements = 2100 exp_type = EXP_TYPE_SECURITY - money_factor = 6 outfit = /datum/outfit/job/warden + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/warden name = "Warden" jobtype = /datum/job/warden @@ -106,8 +112,6 @@ dufflebag = /obj/item/storage/backpack/duffel/security box = /obj/item/storage/box/survival_security/warden - - /datum/job/detective title = JOB_TITLE_DETECTIVE flag = JOB_FLAG_DETECTIVE @@ -125,9 +129,12 @@ exp_requirements = 1200 blocked_race_for_job = list(SPECIES_VOX) exp_type = EXP_TYPE_SECURITY - money_factor = 4 outfit = /datum/outfit/job/detective + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/detective name = "Detective" jobtype = /datum/job/detective @@ -186,9 +193,12 @@ blocked_race_for_job = list(SPECIES_VOX) exp_requirements = 600 exp_type = EXP_TYPE_CREW - money_factor = 3 outfit = /datum/outfit/job/officer + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/officer name = "Security Officer" jobtype = /datum/job/officer @@ -251,9 +261,12 @@ blocked_race_for_job = list(SPECIES_VOX) exp_requirements = 1800 exp_type = EXP_TYPE_MEDICAL - money_factor = 4 outfit = /datum/outfit/job/brigdoc + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/brigdoc name = "Brig Physician" jobtype = /datum/job/brigdoc @@ -289,9 +302,12 @@ blocked_race_for_job = list(SPECIES_VOX) exp_requirements = 1200 exp_type = EXP_TYPE_SECURITY - money_factor = 4 outfit = /datum/outfit/job/pilot + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/pilot name = "Security Pod Pilot" jobtype = /datum/job/pilot diff --git a/code/game/jobs/job/supervisor.dm b/code/game/jobs/job/supervisor.dm index 59c77b5c68d..3962ccab4d5 100644 --- a/code/game/jobs/job/supervisor.dm +++ b/code/game/jobs/job/supervisor.dm @@ -18,9 +18,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca exp_requirements = 3000 exp_type = EXP_TYPE_COMMAND disabilities_allowed = 0 - money_factor = 10 outfit = /datum/outfit/job/captain + salary = 500 + min_start_money = 600 + max_start_money = 1200 + /datum/job/captain/get_access() return get_all_accesses() @@ -85,9 +88,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca ACCESS_CREMATORIUM, ACCESS_KITCHEN, ACCESS_HYDROPONICS, ACCESS_LAWYER, ACCESS_THEATRE, ACCESS_CHAPEL_OFFICE, ACCESS_LIBRARY, ACCESS_RESEARCH, ACCESS_HEADS_VAULT, ACCESS_MINING_STATION, ACCESS_CLOWN, ACCESS_MIME, ACCESS_HOP, ACCESS_RC_ANNOUNCE, ACCESS_KEYCARD_AUTH, ACCESS_GATEWAY, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM) - money_factor = 9 outfit = /datum/outfit/job/hop + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/hop name = "Head of Personnel" jobtype = /datum/job/hop @@ -139,9 +145,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca ACCESS_THEATRE, ACCESS_CHAPEL_OFFICE, ACCESS_LIBRARY, ACCESS_RESEARCH, ACCESS_MINING, ACCESS_HEADS_VAULT, ACCESS_MINING_STATION, ACCESS_CLOWN, ACCESS_MIME, ACCESS_RC_ANNOUNCE, ACCESS_KEYCARD_AUTH, ACCESS_GATEWAY, ACCESS_WEAPONS, ACCESS_NTREP) alt_titles = list("NT Consultant","Central Command Consultant") - money_factor = 9 outfit = /datum/outfit/job/nanotrasenrep + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/nanotrasenrep name = "Nanotrasen Representative" jobtype = /datum/job/nanotrasenrep @@ -158,8 +167,6 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca ) implants = list(/obj/item/implant/mindshield/ert) - - /datum/job/blueshield title = JOB_TITLE_BLUESHIELD flag = JOB_FLAG_BLUESHIELD @@ -185,9 +192,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca ACCESS_CLOWN, ACCESS_MIME, ACCESS_HOP, ACCESS_RC_ANNOUNCE, ACCESS_KEYCARD_AUTH, ACCESS_GATEWAY, ACCESS_WEAPONS, ACCESS_BLUESHIELD) minimal_access = list(ACCESS_FORENSICS_LOCKERS, ACCESS_SEC_DOORS, ACCESS_MEDICAL, ACCESS_CONSTRUCTION, ACCESS_ENGINE, ACCESS_MAINT_TUNNELS, ACCESS_RESEARCH, ACCESS_RC_ANNOUNCE, ACCESS_KEYCARD_AUTH, ACCESS_HEADS, ACCESS_BLUESHIELD, ACCESS_WEAPONS) - money_factor = 7 outfit = /datum/outfit/job/blueshield + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/blueshield name = "Blueshield" jobtype = /datum/job/blueshield @@ -240,9 +250,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca ACCESS_CLOWN, ACCESS_MIME, ACCESS_RC_ANNOUNCE, ACCESS_KEYCARD_AUTH, ACCESS_GATEWAY, ACCESS_MAGISTRATE) minimal_access = list(ACCESS_SECURITY, ACCESS_SEC_DOORS, ACCESS_BRIG, ACCESS_COURT, ACCESS_MAINT_TUNNELS, ACCESS_LAWYER, ACCESS_MAGISTRATE, ACCESS_HEADS) alt_titles = list("Judge") - money_factor = 9 outfit = /datum/outfit/job/judge + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/judge name = "Magistrate" jobtype = /datum/job/judge @@ -286,9 +299,12 @@ GLOBAL_DATUM_INIT(captain_announcement, /datum/announcement/minor, new(do_newsca blocked_race_for_job = list(SPECIES_VOX) exp_requirements = 3000 exp_type = EXP_TYPE_CREW - money_factor = 6 outfit = /datum/outfit/job/lawyer + salary = 170 + min_start_money = 200 + max_start_money = 550 + /datum/outfit/job/lawyer name = "Internal Affairs Agent" jobtype = /datum/job/lawyer diff --git a/code/game/jobs/job/support.dm b/code/game/jobs/job/support.dm index 970b3753a3d..7b43af99d36 100644 --- a/code/game/jobs/job/support.dm +++ b/code/game/jobs/job/support.dm @@ -15,9 +15,13 @@ exp_requirements = 3000 exp_type = EXP_TYPE_CREW alt_titles = list("Chief Supply Manager") - money_factor = 6 outfit = /datum/outfit/job/qm + //QM IS NOT THE HEAD!! + salary = 300 + min_start_money = 400 + max_start_money = 700 + /datum/outfit/job/qm name = "Quartermaster" jobtype = /datum/job/qm @@ -50,9 +54,12 @@ access = list(ACCESS_MAINT_TUNNELS, ACCESS_MAILSORTING, ACCESS_CARGO, ACCESS_CARGO_BOT, ACCESS_MINT, ACCESS_MINING, ACCESS_MINING_STATION, ACCESS_MINERAL_STOREROOM) minimal_access = list(ACCESS_MAINT_TUNNELS, ACCESS_CARGO, ACCESS_CARGO_BOT, ACCESS_MAILSORTING, ACCESS_MINERAL_STOREROOM) alt_titles = list("Supply Manager","Loader") - money_factor = 2 outfit = /datum/outfit/job/cargo_tech + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/cargo_tech name = "Cargo Technician" jobtype = /datum/job/cargo_tech @@ -78,9 +85,12 @@ access = list(ACCESS_MAILSORTING, ACCESS_CARGO, ACCESS_CARGO_BOT, ACCESS_MINT, ACCESS_MINING, ACCESS_MINING_STATION, ACCESS_MINERAL_STOREROOM) minimal_access = list(ACCESS_MINING, ACCESS_MINT, ACCESS_MINING_STATION, ACCESS_MAILSORTING, ACCESS_MAINT_TUNNELS, ACCESS_MINERAL_STOREROOM) alt_titles = list("Spelunker") - money_factor = 3 outfit = /datum/outfit/job/mining + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/mining name = "Shaft Miner" jobtype = /datum/job/mining @@ -142,9 +152,12 @@ access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM) minimal_access = list(ACCESS_BAR, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM) alt_titles = list("Barman","Barkeeper","Drink Artist") - money_factor = 2 outfit = /datum/outfit/job/bartender + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/bartender name = "Bartender" jobtype = /datum/job/bartender @@ -181,9 +194,12 @@ access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE) minimal_access = list(ACCESS_KITCHEN) alt_titles = list("Cook","Culinary Artist","Butcher") - money_factor = 2 outfit = /datum/outfit/job/chef + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/chef name = "Chef" jobtype = /datum/job/chef @@ -232,9 +248,12 @@ alt_titles = list("Hydroponicist", "Botanical Researcher") exp_requirements = 300 exp_type = EXP_TYPE_CREW - money_factor = 2 outfit = /datum/outfit/job/hydro + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/hydro name = "Botanist" jobtype = /datum/job/hydro @@ -266,9 +285,12 @@ access = list(ACCESS_CLOWN, ACCESS_THEATRE) minimal_access = list(ACCESS_CLOWN, ACCESS_THEATRE) alt_titles = list("Performance Artist","Comedian","Jester") - money_factor = 2 outfit = /datum/outfit/job/clown + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/clown name = "Clown" jobtype = /datum/job/clown @@ -481,9 +503,12 @@ access = list(ACCESS_MIME, ACCESS_THEATRE) minimal_access = list(ACCESS_MIME, ACCESS_THEATRE) alt_titles = list("Panthomimist") - money_factor = 2 outfit = /datum/outfit/job/mime + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/mime name = "Mime" jobtype = /datum/job/mime @@ -536,9 +561,12 @@ access = list(ACCESS_JANITOR, ACCESS_MAINT_TUNNELS) minimal_access = list(ACCESS_JANITOR, ACCESS_MAINT_TUNNELS) alt_titles = list("Custodial Technician","Sanitation Technician") - money_factor = 2 outfit = /datum/outfit/job/janitor + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/janitor name = "Janitor" jobtype = /datum/job/janitor @@ -563,9 +591,12 @@ access = list(ACCESS_LIBRARY) minimal_access = list(ACCESS_LIBRARY) alt_titles = list("Journalist") - money_factor = 2 outfit = /datum/outfit/job/librarian + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/librarian name = "Librarian" jobtype = /datum/job/librarian @@ -593,9 +624,12 @@ alt_titles = list("Hair Stylist","Beautician") access = list() minimal_access = list() - money_factor = 2 outfit = /datum/outfit/job/barber + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/barber name = "Barber" jobtype = /datum/job/barber @@ -622,6 +656,10 @@ outfit = /datum/outfit/job/explorer hidden_from_job_prefs = TRUE + salary = 100 + min_start_money = 100 + max_start_money = 300 + /datum/outfit/job/explorer // This outfit is never used, because there are no slots for this job. // To get it, you have to go to the HOP and ask for a transfer to it. diff --git a/code/game/jobs/job/support_chaplain.dm b/code/game/jobs/job/support_chaplain.dm index ed4db93076c..58fc8953f87 100644 --- a/code/game/jobs/job/support_chaplain.dm +++ b/code/game/jobs/job/support_chaplain.dm @@ -12,8 +12,12 @@ access = list(ACCESS_MORGUE, ACCESS_CHAPEL_OFFICE, ACCESS_CREMATORIUM, ACCESS_MAINT_TUNNELS) minimal_access = list(ACCESS_MORGUE, ACCESS_CHAPEL_OFFICE, ACCESS_CREMATORIUM, ACCESS_MAINT_TUNNELS) alt_titles = list("Priest","Monk","Preacher","Reverend","Oracle","Nun","Imam","Exorcist") - money_factor = 2 outfit = /datum/outfit/job/chaplain + + //God will not give you a salary roflcat + salary = 60 + min_start_money = 10 + max_start_money = 200 /datum/outfit/job/chaplain name = "Chaplain" diff --git a/code/game/machinery/computer/HolodeckControl.dm b/code/game/machinery/computer/HolodeckControl.dm index 877a70eefbd..49218e2674f 100644 --- a/code/game/machinery/computer/HolodeckControl.dm +++ b/code/game/machinery/computer/HolodeckControl.dm @@ -457,7 +457,7 @@ ..() item_color = "red" -/obj/item/holo/esword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/holo/esword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(active) return ..() return 0 diff --git a/code/game/machinery/computer/card.dm b/code/game/machinery/computer/card.dm index 78f07e7dad4..f3e83ca3077 100644 --- a/code/game/machinery/computer/card.dm +++ b/code/game/machinery/computer/card.dm @@ -529,6 +529,8 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0) modify.access = access modify.rank = t1 modify.assignment = assignment + SSjobs.account_job_transfer(modify.registered_name, t1) + regenerate_id_name() return if("demote") @@ -559,6 +561,8 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0) modify.access = access modify.assignment = "Demoted" modify.icon_state = "id" + + SSjobs.account_job_transfer(modify.registered_name, JOB_TITLE_CIVILIAN) regenerate_id_name() return if("terminate") @@ -583,6 +587,8 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0) job.current_positions-- modify.assignment = "Terminated" modify.access = list() + + SSjobs.account_job_transfer(modify.registered_name, modify.rank, FALSE) regenerate_id_name() return if("make_job_available") // MAKE ANOTHER JOB POSITION AVAILABLE FOR LATE JOINERS diff --git a/code/game/machinery/constructable_frame.dm b/code/game/machinery/constructable_frame.dm index 6560c38de50..be03be6937e 100644 --- a/code/game/machinery/constructable_frame.dm +++ b/code/game/machinery/constructable_frame.dm @@ -360,7 +360,8 @@ to destroy them and players will be able to make replacements. "Departament Law ClothesMate" = /obj/machinery/vending/clothing/departament/law, "Service Departament ClothesMate Botanical" = /obj/machinery/vending/clothing/departament/service/botanical, "Service Departament ClothesMate Chaplain" = /obj/machinery/vending/clothing/departament/service/chaplain, - "RoboFriends" = /obj/machinery/vending/pai,) + "RoboFriends" = /obj/machinery/vending/pai, + "Customat" = /obj/machinery/customat,) var/static/list/unique_vendors = list( "ShadyCigs Ultra" = /obj/machinery/vending/cigarette/beach, diff --git a/code/game/machinery/customat.dm b/code/game/machinery/customat.dm new file mode 100644 index 00000000000..db6013927da --- /dev/null +++ b/code/game/machinery/customat.dm @@ -0,0 +1,753 @@ +// customat flick sequence bitflags +/// Machine is not using vending/denying overlays +#define FLICK_NONE 0 +/// Machine is currently vending wares, and will not update its icon, unless its stat change. +#define FLICK_VEND 1 +/// Machine is currently denying wares, and will not update its icon, unless its stat change. +#define FLICK_DENY 2 + + + +/** + * Datum used to hold information about a product in a vending machine + */ +/datum/data/customat_product + name = "generic" + ///How many of this product we currently have + var/amount = 0 + ///The key by which the object is pushed into the machine's row + var/key = "generic_0" + ///List of items in row + var/list/obj/item/containtment = list() + /// Price to buy one + var/price = 0 + ///Icon in tgui + var/icon = "" + +/datum/data/customat_product/New(obj/item/I) + name = I.name + amount = 0 + containtment = list() + price = 0 + icon = icon2base64(icon(initial(I.icon), initial(I.icon_state), SOUTH, 1, FALSE)) + + +/obj/machinery/customat + name = "\improper Customat" + desc = "Торговый автомат с кастомным содержимым." + icon = 'icons/obj/machines/customat.dmi' + icon_state = "custommate-off" + layer = BELOW_OBJ_LAYER + anchored = TRUE + density = TRUE + max_integrity = 600 // base vending integrity * 2 + armor = list(melee = 20, bullet = 0, laser = 0, energy = 0, bomb = 0, bio = 0, rad = 0, fire = 50, acid = 70) // base vending protection + resistance_flags = FIRE_PROOF + + // All the overlay controlling variables + /// Overlay of customat maintenance panel. + var/panel_overlay = "custommate-panel" + /// Overlay of a customat screen, will not apply of stat is NOPOWER. + var/screen_overlay = "custommate" + /// Lightmask used when customat is working properly. + var/lightmask_overlay = "" + /// Damage overlay applied if customat is damaged enough. + var/broken_overlay = "custommate-broken" + /// Special lightmask for broken overlay. If customat is BROKEN, but not dePOWERED we will see this, instead of `lightmask_overlay`. + var/broken_lightmask_overlay = "" + /// Overlay applied when machine is vending goods. + var/vend_overlay = "" + /// Special lightmask that will override default `lightmask_overlay`, while machine is vending goods. + var/vend_lightmask = "" + /// Amount of time until vending sequence is reseted. + var/vend_overlay_time = 5 SECONDS + /// Overlay applied when machine is denying its wares. + var/deny_overlay = "" + /// Special lightmask that will override default `lightmask_overlay`, while machine is denying its wares. + var/deny_lightmask = "" + /// Amount of time until denying sequence is reseted. + var/deny_overlay_time = 1.5 SECONDS + /// Flags used to correctly manipulate with vend/deny sequences. + var/flick_sequence = FLICK_NONE + + // Power + use_power = IDLE_POWER_USE + idle_power_usage = 10 + /// Power used for one vend + var/vend_power_usage = 150 + + // Vending-related + /// No sales pitches if off + var/active = TRUE + /// If off, customat is busy and unusable until current action finishes + var/vend_ready = TRUE + /// How long customat takes to vend one item. + var/vend_delay = 1 SECONDS + /// Item currently being bought + var/datum/data/customat_product/currently_vending = null + + + // Stuff relating vocalizations + /// List of slogans the customat will say, optional + var/list/ads_list = list("Купи самый дорогой предмет из моего содержимого! Не пожалеешь!", + "Мое содержимое разнообразней чем вся твоя жизнь!", + "У меня богатый внутренний мир.", + "Во мне может быть что угодно.", + "Не ядерный ли это диск во мне продается, всего за 1984 кредита?", + "Не хочешь платить за содержимое? Сломай меня и получи все бесплатно!", + "Товары на любой вкус и цвет!", + "Может во мне продается контробанда?", + "Не нравится мое содержимое? Создай свой кастомат, со своим уникальным содержимым!", + "Каждый раз, когда вы что-то покупаете, где-то в мире радуется один ассистент!") + + /// List of replies the customat will say after vends + var/list/vend_reply = list("Спасибо за покупку, приходите еще!", + "Вы купили что-то, а разнообразие моего содержимого не уменьшилось!", + "Ваши кредиты пойдут на разработку новых уникальных товаров!", + "Спасибо что выбрали нас!", + "А ведь мог сломать и не платить...") + + /// If true, prevent saying sales pitches + var/shut_up = FALSE + var/last_reply = 0 + var/reply_delay = 20 SECONDS + COOLDOWN_DECLARE(reply_cooldown) + var/last_slogan = 0 //When did we last pitch? + var/slogan_delay = 600 SECONDS //How long until we can pitch again? + COOLDOWN_DECLARE(slogan_cooldown) + var/alarm_delay = 10 SECONDS + COOLDOWN_DECLARE(alarm_cooldown) + + ///The type of refill canisters used by this machine. + var/obj/item/vending_refill/custom/canister = null + /// Type of canister used to build it + var/obj/item/vending_refill/refill_canister = /obj/item/vending_refill/custom // we need it for req_components of vendomat circuitboard + + // Things that can go wrong + /// Makes all prices 0 + emagged = 0 + + /// blocks further flickering while true + var/flickering = FALSE + /// do I look unpowered, even when powered? + var/force_no_power_icon_state = FALSE + + var/light_range_on = 1 + var/light_power_on = 0.5 + + /// Last costs of inserted types of items + var/list/remembered_costs = list("akula plushie" = 666) // Why not? + /// ID that was used to block customat + var/obj/item/card/id/connected_id = null // Id that was used to block src + // If true, price will be equal last prict of the same item + var/fast_insert = TRUE // If true, new price of inserted item will be equal previous price of the same item + + /// Map of {key; customat_product} + var/list/products = list() + + var/inserted_items_count = 0 + var/max_items_inside = 60 + + COOLDOWN_DECLARE(emp_cooldown) + var/weak_emp_cooldown = 60 SECONDS + var/strong_emp_cooldown = 180 SECONDS + + /// Direct ref to the trunk pipe underneath us + var/obj/structure/disposalpipe/trunk/trunk + +/obj/machinery/customat/proc/set_up_components() + component_parts = list() + var/obj/item/circuitboard/vendor/V = new + V.set_type(replacetext(initial(name), "\improper", "")) + component_parts += V + canister = new /obj/item/vending_refill/custom + component_parts += canister + +/obj/machinery/customat/RefreshParts() + . = ..() + for(var/obj/item/vending_refill/custom/VR in component_parts) + canister.linked_accounts = VR.linked_accounts.Copy() + canister.accounts_weights = VR.accounts_weights.Copy() + canister.sum_of_weigths = VR.sum_of_weigths + +/obj/machinery/customat/Initialize(mapload) + . = ..() + set_up_components() + RefreshParts() + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/customat/hitby(atom/movable/AM, skipcatch, hitpush, blocked, datum/thrownthing/throwingdatum) + . = ..(AM, skipcatch, hitpush, blocked, throwingdatum) + if (!AM.throwforce) + return + + if(COOLDOWN_FINISHED(src, emp_cooldown) && COOLDOWN_FINISHED(src, alarm_cooldown)) + playsound(src, 'sound/machines/burglar_alarm.ogg', AM.throwforce * 5, 0) + COOLDOWN_START(src, alarm_cooldown, alarm_delay) + return ..() + +/obj/machinery/customat/bullet_act(obj/item/projectile/P, def_zone) + . = ..(P, def_zone) + + if(COOLDOWN_FINISHED(src, emp_cooldown) && COOLDOWN_FINISHED(src, alarm_cooldown)) + playsound(src, 'sound/machines/burglar_alarm.ogg', P.damage * 5, 0) + COOLDOWN_START(src, alarm_cooldown, alarm_delay) + return ..() + +/obj/machinery/customat/proc/eject_all() + for (var/key in products) + var/datum/data/customat_product/product = products[key] + for (var/obj/item/I in product.containtment) + I.forceMove(get_turf(src)) + product.amount = 0 + inserted_items_count -= product.containtment.len + product.containtment = list() + +/obj/machinery/customat/Destroy() + eject_all() + if (trunk) + var/obj/structure/disposalholder/holder = locate() in trunk + if(holder) + trunk.expel(holder) + trunk.linked = null + trunk = null + return ..() + +/obj/machinery/customat/LateInitialize() + . = ..() + set_up_components() + RefreshParts() + update_icon(UPDATE_OVERLAYS) + var/obj/structure/disposalpipe/trunk/found_trunk = locate() in loc + if(found_trunk) + found_trunk.set_linked(src) + trunk = found_trunk + +/obj/machinery/customat/update_icon(updates = ALL) + return ..() + + +/obj/machinery/customat/update_overlays() + . = ..() + + underlays.Cut() + + if((stat & NOPOWER) || force_no_power_icon_state || !COOLDOWN_FINISHED(src, emp_cooldown)) + if(broken_overlay && (stat & BROKEN)) + . += broken_overlay + + if(panel_overlay && panel_open) + . += panel_overlay + return + + if(stat & BROKEN) + if(broken_overlay) + . += broken_overlay + if(broken_lightmask_overlay) + underlays += emissive_appearance(icon, broken_lightmask_overlay, src) + if(panel_overlay && panel_open) + . += panel_overlay + return + + if(screen_overlay) + . += screen_overlay + + var/lightmask_used = FALSE + if(vend_overlay && (flick_sequence & FLICK_VEND)) + . += vend_overlay + if(vend_lightmask) + lightmask_used = TRUE + . += vend_lightmask + + else if(deny_overlay && (flick_sequence & FLICK_DENY)) + . += deny_overlay + if(deny_lightmask) + lightmask_used = TRUE + . += deny_lightmask + + if(!lightmask_used && lightmask_overlay) + underlays += emissive_appearance(icon, lightmask_overlay, src) + + if(panel_overlay && panel_open) + . += panel_overlay + + +/obj/machinery/customat/power_change(forced = FALSE) + . = ..() + if(stat & NOPOWER) + set_light_on(FALSE) + else + set_light(light_range_on, light_power_on, l_on = TRUE) + if(.) + update_icon(UPDATE_OVERLAYS) + + +/obj/machinery/customat/extinguish_light(force = FALSE) + if(light_on) + set_light_on(FALSE) + underlays.Cut() + + +/obj/machinery/customat/proc/flick_vendor_overlay(flick_flag = FLICK_NONE) + if(flick_sequence & (FLICK_VEND|FLICK_DENY)) + return + if((flick_flag & FLICK_VEND) && !vend_overlay) + return + if((flick_flag & FLICK_DENY) && !deny_overlay) + return + flick_sequence = flick_flag + update_icon(UPDATE_OVERLAYS) + var/flick_time = (flick_flag & FLICK_VEND) ? vend_overlay_time : (flick_flag & FLICK_DENY) ? deny_overlay_time : 0 + addtimer(CALLBACK(src, PROC_REF(flick_reset)), flick_time) + + +/obj/machinery/customat/proc/flick_reset() + flick_sequence = FLICK_NONE + update_icon(UPDATE_OVERLAYS) + + +/* + * Reimp, flash the screen on and off repeatedly. + */ +/obj/machinery/customat/flicker() + if(flickering) + return FALSE + + if((stat & (BROKEN|NOPOWER)) || !COOLDOWN_FINISHED(src, emp_cooldown)) + return FALSE + + flickering = TRUE + INVOKE_ASYNC(src, TYPE_PROC_REF(/obj/machinery/customat, flicker_event)) + + return TRUE + +/* + * Proc to be called by invoke_async in the above flicker() proc. + */ +/obj/machinery/customat/proc/flicker_event() + var/amount = rand(5, 15) + + for(var/i in 1 to amount) + force_no_power_icon_state = TRUE + update_icon(UPDATE_OVERLAYS) + sleep(rand(1, 3)) + + force_no_power_icon_state = FALSE + update_icon(UPDATE_OVERLAYS) + sleep(rand(1, 10)) + update_icon(UPDATE_OVERLAYS) + flickering = FALSE + +/obj/machinery/customat/deconstruct(disassembled = TRUE) + if(!canister) //the non constructable customats drop metal instead of a machine frame. + new /obj/item/stack/sheet/metal(loc, 3) + qdel(src) + else + ..() + +/obj/machinery/customat/proc/idcard_act(mob/user, obj/item/I) + if (!isLocked()) + connected_id = I + balloon_alert(user, "заблокировано") + else if (connected_id == I) + connected_id = null + balloon_alert(user, "разблокировано") + else + balloon_alert(user, "карта не подходит") + +/obj/machinery/customat/proc/get_key(obj/item/I, cost) + return I.name + "_[cost]" + +/obj/machinery/customat/proc/insert(mob/user, obj/item/I, cost) + if (inserted_items_count >= max_items_inside) + if (user) + to_chat(user, span_warning("Лимит в [max_items_inside] предметов достигнут.")) + return + remembered_costs[I.name] = cost + var/key = get_key(I, cost) + if(user && !user.drop_transfer_item_to_loc(I, src)) + to_chat(user, span_warning("Вы не можете положить это внутрь.")) + return + + if (!user) // If from pipe, transfer into src. + I.forceMove(src) + + var/datum/data/customat_product/product + if (!(key in products)) + product = new /datum/data/customat_product(I) + product.price = !emagged ? cost : 0 + product.key = key + products[key] = product + + product = products[key] + product.containtment += I + product.amount++ + inserted_items_count++ + +/obj/machinery/customat/proc/try_insert(mob/user, obj/item/I, from_tube = FALSE) + var/cost = 100 + if (from_tube) + if (I.name in remembered_costs) + cost = remembered_costs[I.name] + else if (fast_insert && (I.name in remembered_costs)) + cost = remembered_costs[I.name] + else + var/input_cost = tgui_input_number(user, "Пожалуйста, выберите цену для этого товара. Цена не может быть ниже 0 и выше 1000000 кредитов.", "Выбор цены", 0, 1000000, 0) + if (!input_cost) + to_chat(user, span_warning("Цена не указанна!")) + return + cost = input_cost + if (user && get_dist(get_turf(user), get_turf(src)) > 1) + to_chat(user, span_warning("Вы слишком далеко!")) + return + insert(user, I, cost) + +/obj/machinery/customat/attackby(obj/item/I, mob/user, params) + if(user.a_intent == INTENT_HARM && COOLDOWN_FINISHED(src, emp_cooldown) && COOLDOWN_FINISHED(src, alarm_cooldown)) + playsound(src, 'sound/machines/burglar_alarm.ogg', I.force * 5, 0) + COOLDOWN_START(src, alarm_cooldown, alarm_delay) + return ..() + + if(istype(I, /obj/item/crowbar) || istype(I, /obj/item/wrench)) + return ATTACK_CHAIN_PROCEED_SUCCESS + + if (panel_open) + if (istype(I, /obj/item/card/id)) + idcard_act(user, I) + return ATTACK_CHAIN_BLOCKED_ALL + else if (!isLocked()) + try_insert(user, I) + return ATTACK_CHAIN_BLOCKED_ALL + + if (!istype(I, /obj/item/stack/nanopaste) && !istype(I, /obj/item/detective_scanner) && COOLDOWN_FINISHED(src, emp_cooldown) && COOLDOWN_FINISHED(src, alarm_cooldown)) + COOLDOWN_START(src, alarm_cooldown, alarm_delay) + playsound(src, 'sound/machines/burglar_alarm.ogg', I.force * 5, 0) + + return ..() + + +/obj/machinery/customat/crowbar_act(mob/user, obj/item/I) + if(!component_parts) + return + if (isLocked()) + to_chat(user, span_warning("[src] is locked.")) + return + . = TRUE + eject_all() + default_deconstruction_crowbar(user, I) + +/obj/machinery/customat/screwdriver_act(mob/user, obj/item/I) + . = TRUE + if(!I.use_tool(src, user, 0, volume = I.tool_volume)) + return + if(anchored) + panel_open = !panel_open + panel_open ? SCREWDRIVER_OPEN_PANEL_MESSAGE : SCREWDRIVER_CLOSE_PANEL_MESSAGE + update_icon() + SStgui.update_uis(src) + +/obj/machinery/customat/wrench_act(mob/user, obj/item/I) + . = TRUE + if(!I.use_tool(src, user, 0, volume = 0)) + return + default_unfasten_wrench(user, I, time = 60) + if (anchored) + trunk_check() + +/obj/machinery/customat/exchange_parts(mob/user, obj/item/storage/part_replacer/W) + if(!istype(W)) + return FALSE + if(!W.works_from_distance) + return FALSE + if(!component_parts || !canister) + return FALSE + + var/moved = 0 + if(panel_open || W.works_from_distance) + if(W.works_from_distance) + to_chat(user, display_parts(user)) + else + to_chat(user, display_parts(user)) + if(moved) + to_chat(user, "[moved] items restocked.") + W.play_rped_sound() + return TRUE + +/obj/machinery/customat/emag_act(mob/user) + emagged = TRUE + for (var/key in products) + var/datum/data/customat_product/product = products[key] + product.price = 0 + products[key] = product + if(user) + to_chat(user, "You short out the product lock on [src]") + +/obj/machinery/customat/attack_ai(mob/user) + return attack_hand(user) + +/obj/machinery/customat/attack_ghost(mob/user) + return attack_hand(user) + +/obj/machinery/customat/attack_hand(mob/user) + if((stat & (BROKEN|NOPOWER)) || !COOLDOWN_FINISHED(src, emp_cooldown)) + return + + if(..()) + return TRUE + + add_fingerprint(user) + ui_interact(user) + +/obj/machinery/customat/ui_interact(mob/user, datum/tgui/ui = null) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "Customat", name) + ui.open() + +/obj/machinery/customat/ui_data(mob/user) + var/list/data = list() + var/datum/money_account/account = null + data["guestNotice"] = "Идентификационной карты не обнаружено."; + data["userMoney"] = 0 + data["user"] = null + if(issilicon(user) && !istype(user, /mob/living/silicon/robot/drone) && !istype(user, /mob/living/silicon/pai)) + account = get_card_account(user) + data["user"] = list() + data["user"]["name"] = account.owner_name + data["userMoney"] = account.money + data["user"]["job"] = "Silicon" + if(ishuman(user)) + account = get_card_account(user) + var/mob/living/carbon/human/H = user + var/obj/item/stack/spacecash/S = H.get_active_hand() + if(istype(S)) + data["userMoney"] = S.amount + data["guestNotice"] = "Accepting Cash. You have: [S.amount] credits." + else if(istype(H)) + var/obj/item/card/id/idcard = H.get_id_card() + if(istype(account)) + data["user"] = list() + data["user"]["name"] = account.owner_name + data["userMoney"] = account.money + data["user"]["job"] = (istype(idcard) && idcard.rank) ? idcard.rank : "No Job" + else + data["guestNotice"] = "Unlinked ID detected. Present cash to pay."; + data["products"] = list() + for (var/key in products) + var/datum/data/customat_product/product = products[key] + var/list/data_pr = list( + name = product.name, + price = product.price, + stock = product.amount, + icon = product.icon, + Key = product.key + ) + data["products"] += list(data_pr) + data["vend_ready"] = vend_ready + data["panel_open"] = panel_open ? TRUE : FALSE + data["speaker"] = shut_up ? FALSE : TRUE + return data + + +/obj/machinery/customat/ui_static_data(mob/user) + var/list/data = list() + return data + +/obj/machinery/customat/ui_act(action, params) + . = ..() + if(.) + return + if(issilicon(usr) && !isrobot(usr)) + to_chat(usr, span_warning("The vending machine refuses to interface with you, as you are not in its target demographic!")) + return + switch(action) + if("toggle_voice") + if(panel_open) + shut_up = !shut_up + . = TRUE + if("vend") + if(!vend_ready) + to_chat(usr, span_warning("The vending machine is busy!")) + return + if(panel_open) + to_chat(usr, span_warning("The vending machine cannot dispense products while its service panel is open!")) + return + var/key = params["Key"] + var/datum/data/customat_product/product = products[key] + if (product.amount <= 0) + to_chat(usr, "Sold out of [product.name].") + flick_vendor_overlay(FLICK_VEND) + return + + vend_ready = FALSE // From this point onwards, customat is locked to performing this transaction only, until it is resolved. + + if(!(ishuman(usr) || issilicon(usr)) || product.price <= 0) + // Either the purchaser is not human nor silicon, or the item is free. + // Skip all payment logic. + vend(product, usr) + add_fingerprint(usr) + vend_ready = TRUE + . = TRUE + return + + // --- THE REST OF THIS PROC IS JUST PAYMENT LOGIC --- + if(!GLOB.vendor_account || GLOB.vendor_account.suspended) + to_chat(usr, "Vendor account offline. Unable to process transaction.") + flick_vendor_overlay(FLICK_DENY) + vend_ready = TRUE + return + + currently_vending = product + var/paid = FALSE + + if(istype(usr.get_active_hand(), /obj/item/stack/spacecash)) + var/obj/item/stack/spacecash/S = usr.get_active_hand() + paid = FALSE + var/left = currently_vending.price + for (var/ind = 1; ind <= canister.linked_accounts.len; ++ind) + var/pay_now = round(currently_vending.price * canister.accounts_weights[ind] / canister.sum_of_weigths) + pay_now = min(pay_now, left) + left -= pay_now + paid = pay_with_cash(S, usr, pay_now, currently_vending.name, canister.linked_accounts[ind]) || paid + else if(get_card_account(usr)) + var/datum/money_account/customer_account = get_card_account(usr) + paid = FALSE + var/left = currently_vending.price + for (var/ind = 1; ind <= canister.linked_accounts.len; ++ind) + var/pay_now = round(currently_vending.price * canister.accounts_weights[ind] / canister.sum_of_weigths) + pay_now = min(pay_now, left) + left -= pay_now + paid = customer_account.charge(pay_now, canister.linked_accounts[ind], + "Purchase of [product.name]", name, canister.linked_accounts[ind].owner_name, + "Sale of [product.name]", customer_account.owner_name) || paid + + else if(usr.can_advanced_admin_interact()) + to_chat(usr, span_notice("Vending object due to admin interaction.")) + paid = TRUE + else + to_chat(usr, span_warning("Payment failure: you have no ID or other method of payment.")) + vend_ready = TRUE + flick_vendor_overlay(FLICK_DENY) + . = TRUE // we set this because they shouldn't even be able to get this far, and we want the UI to update. + return + if(paid) + vend(currently_vending, usr) + . = TRUE + else + to_chat(usr, span_warning("Payment failure: unable to process payment.")) + vend_ready = TRUE + if(.) + add_fingerprint(usr) + +/obj/machinery/customat/proc/isLocked() + return connected_id != null + +/obj/machinery/customat/proc/vend(datum/data/customat_product/product, mob/user) + if(!product.amount) + to_chat(user, span_warning("В автомате не осталось содержимого.")) + vend_ready = TRUE + return + + vend_ready = FALSE //One thing at a time!! + + product.amount-- + + if(COOLDOWN_FINISHED(src, reply_cooldown) && vend_reply) + speak(pick(src.vend_reply)) + COOLDOWN_START(src, reply_cooldown, reply_delay) + + use_power(vend_power_usage) //actuators and stuff + flick_vendor_overlay(FLICK_VEND) //Show the vending animation if needed + playsound(get_turf(src), 'sound/machines/machine_vend.ogg', 50, TRUE) + addtimer(CALLBACK(src, PROC_REF(delayed_vend), product, user), vend_delay) + + +/obj/machinery/customat/proc/delayed_vend(datum/data/customat_product/product, mob/user) + do_vend(product, user) + vend_ready = TRUE + currently_vending = null + + +/** + * Override this proc to add handling for what to do with the vended product + * when you have a inserted item and remember to include a parent call for this generic handling + */ +/obj/machinery/customat/proc/do_vend(datum/data/customat_product/product, mob/user) + var/put_on_turf = TRUE + var/obj/item/vended = product.containtment[1] + if(istype(vended) && user && iscarbon(user) && user.Adjacent(src)) + if(user.put_in_hands(vended, ignore_anim = FALSE)) + put_on_turf = FALSE + if(put_on_turf) + var/turf/T = get_turf(src) + vended.forceMove(T) + product.containtment.Remove(product.containtment[1]) + inserted_items_count-- + return TRUE + +/obj/machinery/customat/process() + if((stat & (BROKEN|NOPOWER)) || !COOLDOWN_FINISHED(src, emp_cooldown)) + return + + if(!active) + return + + //Pitch to the people! Really sell it! + if(COOLDOWN_FINISHED(src, slogan_cooldown) && (LAZYLEN(ads_list)) && (!shut_up) && prob(5)) + var/slogan = pick(src.ads_list) + speak(slogan) + COOLDOWN_START(src, slogan_cooldown, slogan_delay) + + +/obj/machinery/customat/proc/speak(message) + if(stat & NOPOWER) + return + if(!message) + return + + atom_say(message) + +/obj/machinery/customat/obj_break(damage_flag) + if(stat & BROKEN) + return + + stat |= BROKEN + update_icon(UPDATE_OVERLAYS) + +/obj/machinery/customat/AltClick(atom/movable/A) + if (!panel_open) + balloon_alert(A, "панель закрыта") + return + if (isLocked()) + balloon_alert(A, "автомат заблокирован") + return + + balloon_alert(A, "быстрый режим " + (fast_insert ? "отключен" : "включен")) + fast_insert = !fast_insert + +/obj/machinery/customat/emp_act(severity) + switch(severity) + if(1) + COOLDOWN_START(src, emp_cooldown, weak_emp_cooldown) + if(2) + COOLDOWN_START(src, emp_cooldown, strong_emp_cooldown) + +/obj/machinery/customat/proc/expel(obj/structure/disposalholder/holder) + var/turf/origin_turf = get_turf(src) + var/list/contents = holder.contents + for (var/atom/movable/content in contents) + if (istype(content, /obj/item)) + try_insert(null, content, TRUE) + else + content.forceMove(origin_turf) + qdel(holder) + +/obj/machinery/customat/proc/trunk_check() + var/obj/structure/disposalpipe/trunk/found_trunk = locate() in loc + if(found_trunk) + found_trunk.set_linked(src) // link the pipe trunk to self + trunk = found_trunk + +#undef FLICK_NONE +#undef FLICK_VEND +#undef FLICK_DENY diff --git a/code/game/machinery/machinery.dm b/code/game/machinery/machinery.dm index 28aac4664cc..e651a83157c 100644 --- a/code/game/machinery/machinery.dm +++ b/code/game/machinery/machinery.dm @@ -317,7 +317,7 @@ Class Procs: if(user.incapacitated()) return TRUE - if(!user.IsAdvancedToolUser()) + if(!user.can_use_machinery(src)) to_chat(user, span_warning("You don't have the dexterity to do this!")) return TRUE diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm index 219075a5113..cd159701e92 100644 --- a/code/game/machinery/suit_storage_unit.dm +++ b/code/game/machinery/suit_storage_unit.dm @@ -753,6 +753,23 @@ do_sparks(5, 0, loc) playsound(loc, "sparks", 50, TRUE, SHORT_RANGE_SOUND_EXTRARANGE) +/obj/machinery/suit_storage_unit/shove_impact(mob/living/target, mob/living/attacker) + if(target.incapacitated() || HAS_TRAIT(target, TRAIT_HANDS_BLOCKED) || target.buckled) + return + if(!state_open && !locked) + state_open = TRUE + update_icon(UPDATE_OVERLAYS) + return ..() + + if(broken) + return ..() + + if((occupant) || (helmet) || (suit) || (storage)) + return ..() + + close_machine(target) + return TRUE + //pirate ssu /obj/machinery/suit_storage_unit/industrial name = "industrial suit storage unit" diff --git a/code/game/machinery/turret_control.dm b/code/game/machinery/turret_control.dm index 684332ccce2..e1019d94cc0 100644 --- a/code/game/machinery/turret_control.dm +++ b/code/game/machinery/turret_control.dm @@ -4,7 +4,7 @@ /area // Turrets use this list to see if individual power/lethal settings are allowed - var/list/turret_controls = list() + var/list/obj/machinery/turretid/turret_controls = list() /obj/machinery/turretid name = "turret control panel" @@ -71,7 +71,7 @@ A.turret_controls -= src return ..() -/obj/machinery/turretid/Initialize() +/obj/machinery/turretid/Initialize(mapload) . = ..() if(!control_area) control_area = get_area(src) @@ -88,9 +88,13 @@ else control_area = null - updateTurrets() update_icon(UPDATE_ICON_STATE) update_turret_light() + return INITIALIZE_HINT_LATELOAD + + +/obj/machinery/turretid/LateInitialize() + updateTurrets() /obj/machinery/turretid/proc/isLocked(mob/user) @@ -177,36 +181,62 @@ ) return data + /obj/machinery/turretid/ui_act(action, params) - if (..()) + if(..()) return + if(isLocked(usr)) return + . = TRUE - switch(action) - if("power") - enabled = !enabled - if("lethal") - if(lethal_is_configurable) - lethal = !lethal - if(targetting_is_configurable) - switch(action) - if("authweapon") - check_weapons = !check_weapons - if("authaccess") - check_access = !check_access - if("authnorecord") - check_records = !check_records - if("autharrest") - check_arrest = !check_arrest - if("authxeno") - check_anomalies = !check_anomalies - if("authsynth") - check_synth = !check_synth - if("authborgs") - check_borgs = !check_borgs + if(!updateTurretId(action)) + return + + for(var/obj/machinery/turretid/panel as anything in (control_area.turret_controls - src)) + panel.updateTurretId(action, force = TRUE) + panel.update_icon(UPDATE_ICON_STATE) + panel.update_turret_light() + + update_icon(UPDATE_ICON_STATE) + update_turret_light() updateTurrets() + +/obj/machinery/turretid/proc/updateTurretId(action, force = FALSE) + if(action == "power") + enabled = !enabled + return TRUE + + if(action == "lethal") + if(!lethal_is_configurable && !force) + return FALSE + + lethal = !lethal + return TRUE + + if(!targetting_is_configurable && !force) + return FALSE + + switch(action) + if("authweapon") + check_weapons = !check_weapons + if("authaccess") + check_access = !check_access + if("authnorecord") + check_records = !check_records + if("autharrest") + check_arrest = !check_arrest + if("authxeno") + check_anomalies = !check_anomalies + if("authsynth") + check_synth = !check_synth + if("authborgs") + check_borgs = !check_borgs + + return TRUE + + /obj/machinery/turretid/proc/updateTurrets() var/datum/turret_checks/TC = new TC.enabled = enabled @@ -225,9 +255,6 @@ if(faction == aTurret.faction) aTurret.setState(TC) - update_icon(UPDATE_ICON_STATE) - update_turret_light() - /obj/machinery/turretid/power_change(forced = FALSE) if(!..()) diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm index 85bc05a762a..7006028ab42 100644 --- a/code/game/machinery/vending.dm +++ b/code/game/machinery/vending.dm @@ -6,6 +6,14 @@ /// Machine is currently denying wares, and will not update its icon, unless its stat change. #define FLICK_DENY 2 +// Using these to decide how a vendor crush should be handled after crushing a carbon. +/// Just jump ship, the crit handled everything it needs to. +#define VENDOR_CRUSH_HANDLED 0 +/// Throw the vendor at the target's tile. +#define VENDOR_THROW_AT_TARGET 1 +/// Don't actually throw at the target, just tip it in place. +#define VENDOR_TIP_IN_PLACE 2 + /** * Datum used to hold information about a product in a vending machine @@ -136,6 +144,37 @@ var/light_range_on = 1 var/light_power_on = 0.5 + /// If this vending machine can be tipped or not + var/tiltable = TRUE + /// If this vendor is currently tipped + var/tilted = FALSE + /// If tilted, this variable should always be the rotation that was applied when we were tilted. Stored for the purposes of unapplying it. + var/tilted_rotation = 0 + /// Amount of damage to deal when tipped + var/squish_damage = 30 // yowch + /// Factor of extra damage to deal when triggering a crit + var/crit_damage_factor = 2 + /// Factor of extra damage to deal when you knock it over onto yourself + var/self_knockover_factor = 1.5 + /// All possible crits that could be applied. We only need to build this up once + var/static/list/all_possible_crits = list() + /// Possible crit effects from this vending machine tipping. + var/list/possible_crits = list( + // /datum/vendor_crit/pop_head, //too much i think + /datum/vendor_crit/embed, + /datum/vendor_crit/pin, + /datum/vendor_crit/shatter, + /datum/vendor_crit/lucky + ) + /// number of shards to apply when a crit embeds + var/num_shards = 4 + /// How long to wait before resetting the warning cooldown + var/hit_warning_cooldown_length = 10 SECONDS + /// Cooldown for warning cooldowns + COOLDOWN_DECLARE(last_hit_time) + /// If the vendor should tip on anyone who walks by. Mainly used for brand intelligence + var/aggressive = FALSE + /obj/machinery/vending/Initialize(mapload) . = ..() var/build_inv = FALSE @@ -164,8 +203,26 @@ // so if slogantime is 10 minutes, it will say it at somewhere between 10 and 20 minutes after the machine is created. last_slogan = world.time + rand(0, slogan_delay) + if(!length(all_possible_crits)) + for(var/typepath in subtypesof(/datum/vendor_crit)) + all_possible_crits[typepath] = new typepath() + update_icon(UPDATE_OVERLAYS) +/obj/machinery/vending/examine(mob/user) + . = ..() + if(tilted) + . += span_warning("It's been tipped over and won't be usable unless it's righted.") + if(Adjacent(user)) + . += span_notice("You can Alt-Click it to right it.") + if(aggressive) + . += span_warning("Its product lights seem to be blinking ominously...") + +/obj/machinery/vending/AltClick(mob/user) + if(!tilted || !Adjacent(user) || HAS_TRAIT(user, TRAIT_HANDS_BLOCKED)) + return + + untilt(user) /obj/machinery/vending/Destroy() SStgui.close_uis(wires) @@ -401,6 +458,12 @@ /obj/machinery/vending/attackby(obj/item/I, mob/user, params) + if(tilted) + if(user.a_intent == INTENT_HELP) + to_chat(user, span_warning("[src] is tipped over and non-functional! You'll need to right it first.")) + return ATTACK_CHAIN_BLOCKED_ALL + return ..() + if(user.a_intent == INTENT_HARM) return ..() @@ -447,23 +510,84 @@ insert_item(user, I) return ATTACK_CHAIN_BLOCKED_ALL + try_tilt(I, user) return ..() +/obj/machinery/vending/proc/try_tilt(obj/item/I, mob/user) + if(tiltable && !tilted && I.force) + if(resistance_flags & INDESTRUCTIBLE) + // no goodies, but also no tilts + return + if(COOLDOWN_FINISHED(src, last_hit_time)) + visible_message(span_warning("[src] seems to sway a bit!")) + to_chat(user, span_userdanger("You might want to think twice about doing that again, [src] looks like it could come crashing down!")) + COOLDOWN_START(src, last_hit_time, hit_warning_cooldown_length) + return + + switch(rand(1, 100)) + if(1 to 5) + freebie(user, 3) + if(6 to 15) + freebie(user, 2) + if(16 to 25) + freebie(user, 1) + if(26 to 75) + return + if(76 to 90) + tilt(user) + if(91 to 100) + tilt(user, crit = TRUE) + +/obj/machinery/vending/proc/freebie(mob/user, num_freebies) + visible_message(span_notice("[num_freebies] free goodie\s tumble[num_freebies > 1 ? "" : "s"] out of [src]!")) + for(var/i in 1 to num_freebies) + for(var/datum/data/vending_product/R in shuffle(product_records)) + if(R.amount <= 0) + continue + var/dump_path = R.product_path + if(!dump_path) + continue + new dump_path(get_turf(src)) + R.amount-- + break + +/obj/machinery/vending/HasProximity(atom/movable/AM) + if(!aggressive || tilted || !tiltable) + return + + if(isliving(AM) && prob(25)) + AM.visible_message( + span_warning("[src] suddenly topples over onto [AM]!"), + span_userdanger("[src] topples over onto you without warning!") + ) + tilt(AM, prob(5), FALSE) + aggressive = FALSE + //Not making same mistakes as offs did. + // Don't make this brob more than 5% /obj/machinery/vending/crowbar_act(mob/user, obj/item/I) if(!component_parts) return . = TRUE + if(tilted) + to_chat(user, span_warning("You'll need to right it first!")) + return default_deconstruction_crowbar(user, I) /obj/machinery/vending/multitool_act(mob/user, obj/item/I) . = TRUE + if(tilted) + to_chat(user, span_warning("You'll need to right it first!")) + return if(!I.use_tool(src, user, 0, volume = I.tool_volume)) return wires.Interact(user) /obj/machinery/vending/screwdriver_act(mob/user, obj/item/I) . = TRUE + if(tilted) + to_chat(user, span_warning("You'll need to right it first!")) + return if(!I.use_tool(src, user, 0, volume = I.tool_volume)) return if(anchored) @@ -474,15 +598,36 @@ /obj/machinery/vending/wirecutter_act(mob/user, obj/item/I) . = TRUE + if(tilted) + to_chat(user, span_warning("You'll need to right it first!")) + return if(I.use_tool(src, user, 0, volume = 0)) wires.Interact(user) /obj/machinery/vending/wrench_act(mob/user, obj/item/I) . = TRUE + if(tilted) + to_chat(user, span_warning("The fastening bolts aren't on the ground, you'll need to right it first!")) + return if(!I.use_tool(src, user, 0, volume = 0)) return default_unfasten_wrench(user, I, time = 60) +/obj/machinery/vending/ex_act(severity) + . = ..() + if(QDELETED(src) || (resistance_flags & INDESTRUCTIBLE) || tilted || !tiltable) + return + var/tilt_prob = 0 + switch(severity) + if(EXPLODE_LIGHT) + tilt_prob = 10 + if(EXPLODE_HEAVY) + tilt_prob = 50 + if(EXPLODE_DEVASTATE) + tilt_prob = 80 + if(prob(tilt_prob)) + tilt() + //Override this proc to do per-machine checks on the inserted item, but remember to call the parent to handle these generic checks before your logic! /obj/machinery/vending/proc/item_slot_check(mob/user, obj/item/I) if(!item_slot) @@ -567,6 +712,10 @@ if(stat & (BROKEN|NOPOWER)) return + if(tilted) + to_chat(user, span_warning("[src] is tipped over and non-functional! You'll need to right it first.")) + return + if(..()) return TRUE @@ -948,6 +1097,175 @@ throw_item.throw_at(target, 16, 3) visible_message("[src] launches [throw_item.name] at [target.name]!") + +/obj/machinery/vending/shove_impact(mob/living/target, mob/living/attacker) + if(HAS_TRAIT(target, TRAIT_FLATTENED)) + return + if(!HAS_TRAIT(attacker, TRAIT_PACIFISM) || !GLOB.pacifism_after_gt) + add_attack_logs(attacker, target, "shoved into a vending machine ([src])") + tilt(target, from_combat = TRUE) + target.visible_message( + span_danger("[attacker] slams [target] into [src]!"), + span_userdanger("You get slammed into [src] by [attacker]!"), + span_danger(">You hear a loud crunch.") + ) + else + attacker.visible_message( + span_notice("[attacker] lightly presses [target] against [src]."), + span_userdanger("You lightly press [target] against [src], you don't want to hurt [target.p_them()]!") + ) + return TRUE + +/** + * Select a random valid crit. + */ +/obj/machinery/vending/proc/choose_crit(mob/living/carbon/victim) + if(!length(possible_crits)) + return + for(var/crit_path in shuffle(possible_crits)) + var/datum/vendor_crit/C = all_possible_crits[crit_path] + if(C.is_valid(src, victim)) + return C + +/obj/machinery/vending/proc/handle_squish_carbon(mob/living/carbon/victim, damage_to_deal, crit, from_combat) + + // Damage points to "refund", if a crit already beats the shit out of you we can shelve some of the extra damage. + var/crit_rebate = 0 + + var/should_throw_at_target = TRUE + + var/datum/vendor_crit/critical_attack = choose_crit(victim) + if(!from_combat && crit && critical_attack) + crit_rebate = critical_attack.tip_crit_effect(src, victim) + if(critical_attack.harmless) + tilt_over(critical_attack.fall_towards_mob ? victim : null) + return VENDOR_CRUSH_HANDLED + + should_throw_at_target = critical_attack.fall_towards_mob + add_attack_logs(null, victim, "critically crushed by [src] causing [critical_attack]") + + else + victim.visible_message( + span_danger("[victim] is crushed by [src]!"), + span_userdanger("[src] crushes you!"), + span_warning("You hear a loud crunch!") + ) + add_attack_logs(null, victim, "crushed by [src]") + + // 30% chance to spread damage across the entire body, 70% chance to target two limbs in particular + damage_to_deal = max(damage_to_deal - crit_rebate, 0) + if(prob(30)) + victim.apply_damage(damage_to_deal, BRUTE, spread_damage = TRUE) + else + var/picked_zone + var/num_parts_to_pick = 2 + for(var/i = 1 to num_parts_to_pick) + picked_zone = pick(BODY_ZONE_CHEST, BODY_ZONE_HEAD, BODY_ZONE_L_ARM, BODY_ZONE_L_LEG, BODY_ZONE_R_ARM, BODY_ZONE_R_LEG) + victim.apply_damage((damage_to_deal) * (1 / num_parts_to_pick), BRUTE, picked_zone) + + victim.AddElement(/datum/element/tilt_protection, 80 SECONDS) // use "/datum/element/squish" when people are ready for that. + if(victim.has_pain()) + victim.emote("scream") + + return should_throw_at_target ? VENDOR_THROW_AT_TARGET : VENDOR_TIP_IN_PLACE + +/** + * Tilts the machine onto the atom passed in. + * + * Arguments: + * * target_atom - The thing the machine is falling on top of + * * crit - if true, some special damage effects might happen. + * * from_combat - If true, hold off on some of the additional damage and extra effects. + */ + +/obj/machinery/vending/proc/tilt(atom/target_atom, crit = FALSE, from_combat = FALSE) + if(QDELETED(src) || !has_gravity(src) || !tiltable || tilted) + return + + tilted = TRUE + set_anchored(FALSE) + layer = ABOVE_MOB_LAYER + + var/should_throw_at_target = TRUE + + . = FALSE + + if(!target_atom || !in_range(target_atom, src)) + tilt_over() + return + for(var/mob/living/victim in get_turf(target_atom)) + // Damage to deal outright + var/damage_to_deal = squish_damage + if(!from_combat) + if(crit) + // increase damage if you knock it over onto yourself + damage_to_deal *= crit_damage_factor + else + damage_to_deal *= self_knockover_factor + + if(iscarbon(victim)) + var/throw_spec = handle_squish_carbon(target_atom, damage_to_deal, crit, from_combat) + switch(throw_spec) + if(VENDOR_CRUSH_HANDLED) + return TRUE + if(VENDOR_THROW_AT_TARGET) + should_throw_at_target = TRUE + if(VENDOR_TIP_IN_PLACE) + should_throw_at_target = FALSE + else + victim.visible_message( + span_danger("[victim] is crushed by [src]!"), + span_userdanger("[src] falls on top of you, crushing you!"), + span_warning("You hear a loud crunch!") + ) + victim.apply_damage(damage_to_deal, BRUTE) + add_attack_logs(null, victim, "crushed by [src]") + + . = TRUE + victim.Weaken(4 SECONDS) + victim.Knockdown(8 SECONDS) + + playsound(victim, "sound/effects/blobattack.ogg", 40, TRUE) + playsound(victim, "sound/effects/splat.ogg", 50, TRUE) + + tilt_over(should_throw_at_target ? target_atom : null) + +/obj/machinery/vending/proc/tilt_over(mob/victim) + visible_message( span_danger("[src] tips over!")) + playsound(src, "sound/effects/bang.ogg", 100, TRUE) + var/picked_rotation = pick(90, 270) + tilted_rotation = picked_rotation + var/matrix/to_turn = turn(transform, tilted_rotation) + animate(src, transform = to_turn, 0.2 SECONDS) + + if(victim && get_turf(victim) != get_turf(src)) + throw_at(get_turf(victim), 1, 1, spin = FALSE) + +/obj/machinery/vending/proc/untilt(mob/user) + if(!tilted) + return + + if(user) + user.visible_message( + "[user] begins to right [src].", + "You begin to right [src]." + ) + if(!do_after(user, 7 SECONDS, src)) + return + user.visible_message( + span_notice("[user] rights [src]."), + span_notice("You right [src]."), + span_notice(">You hear a loud clang.") + ) + + unbuckle_all_mobs(TRUE) + + tilted = FALSE + layer = initial(layer) + + var/matrix/to_turn = turn(transform, -tilted_rotation) + animate(src, transform = to_turn, 0.2 SECONDS) + /obj/machinery/vending/assist icon_state = "generic_off" @@ -1468,6 +1786,7 @@ armor = list(melee = 50, bullet = 20, laser = 20, energy = 20, bomb = 0, bio = 0, rad = 0, fire = 100, acid = 70) resistance_flags = FIRE_PROOF refill_canister = /obj/item/vending_refill/wallmed + tiltable = FALSE /obj/machinery/vending/wallmed/syndicate name = "\improper SyndiWallMed" @@ -1707,6 +2026,7 @@ contraband = list(/obj/item/reagent_containers/glass/bottle/wizarditis = 1) armor = list(melee = 100, bullet = 100, laser = 100, energy = 100, bomb = 0, bio = 0, rad = 0, fire = 100, acid = 50) resistance_flags = FIRE_PROOF + tiltable = FALSE /obj/machinery/vending/autodrobe @@ -3000,6 +3320,7 @@ ) contraband = list(/obj/item/clothing/glasses/sunglasses = 2,/obj/item/storage/fancy/donut_box = 2,/obj/item/grenade/clusterbuster/apocalypsefake = 1) refill_canister = /obj/item/vending_refill/nta + tiltable = FALSE //no ert tilt /obj/machinery/vending/nta/ertarmory resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF | FREEZE_PROOF @@ -3624,3 +3945,6 @@ #undef FLICK_VEND #undef FLICK_DENY +#undef VENDOR_CRUSH_HANDLED +#undef VENDOR_THROW_AT_TARGET +#undef VENDOR_TIP_IN_PLACE diff --git a/code/game/machinery/vending_crit.dm b/code/game/machinery/vending_crit.dm new file mode 100644 index 00000000000..b0a4902386a --- /dev/null +++ b/code/game/machinery/vending_crit.dm @@ -0,0 +1,128 @@ +/** + * Framework for custom vendor crits. + */ + +/datum/vendor_crit + /// If it'll deal damage or not + var/harmless = FALSE + /// If we should be thrown against the mob or not. + var/fall_towards_mob = TRUE + +/** + * Return whether or not the crit selected is valid. + */ +/datum/vendor_crit/proc/is_valid(obj/machinery/vending/machine, mob/living/carbon/victim) + return TRUE + +/*** + * Perform the tip crit effect on a victim. + * Arguments: + * * machine - The machine that was tipped over + * * user - The unfortunate victim upon whom it was tipped over + * Returns: The "crit rebate", or the amount of damage to subtract from the original amount of damage dealt, to soften the blow. + */ +/datum/vendor_crit/proc/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + return 0 + +/datum/vendor_crit/shatter + +/datum/vendor_crit/shatter/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + victim.bleed(150) + var/obj/item/organ/external/leg/right = victim.get_organ(BODY_ZONE_R_LEG) + var/obj/item/organ/external/leg/left = victim.get_organ(BODY_ZONE_L_LEG) + left.external_receive_damage(50) + left.fracture() + right.external_receive_damage(50) + right.fracture() + + if(left || right) + victim.visible_message( + span_danger("[victim]'s legs shatter with a sickening crunch!"), + span_userdanger("Your legs shatter with a sickening crunch!"), + span_danger("You hear a sickening crunch!") + ) + + // that's a LOT of damage, let's rebate most of it. + return machine.squish_damage * (5/6) + +/datum/vendor_crit/pin + +/datum/vendor_crit/pin/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + var/turf/our_turf = get_turf(victim) + if(!our_turf) + return + machine.forceMove(our_turf) + machine.buckle_mob(victim, force=TRUE) + victim.visible_message( + span_danger("[victim] gets pinned underneath [machine]!"), + span_userdanger("You are pinned down by [machine]!") + ) + + return 0 + +/datum/vendor_crit/embed + +/datum/vendor_crit/embed/is_valid(obj/machinery/vending/machine, mob/living/carbon/victim) + . = ..() + if(machine.num_shards <= 0) + return FALSE + +/datum/vendor_crit/embed/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + var/turf/our_turf = get_turf(victim) + if(!our_turf) + return + victim.visible_message( + span_danger("[machine]'s panel shatters against [victim]!"), + span_userdanger("[machine] lands on you, its panel shattering!") + ) + + for(var/i in 1 to machine.num_shards) + var/obj/item/shard/shard = new /obj/item/shard(our_turf) + // do a little dance to force the embeds, but make sure the glass isn't gigapowered afterwards + shard.embed_chance = 100 + shard.embedded_pain_chance = 5 + shard.embedded_impact_pain_multiplier = 1 + shard.embedded_ignore_throwspeed_threshold = TRUE + victim.hitby(shard, skipcatch = TRUE, hitpush = FALSE) + shard.embed_chance = initial(shard.embed_chance) + shard.embedded_pain_chance = initial(shard.embedded_pain_chance) + shard.embedded_impact_pain_multiplier = initial(shard.embedded_pain_multiplier) + shard.embedded_ignore_throwspeed_threshold = initial(shard.embedded_ignore_throwspeed_threshold) + + playsound(machine, "shatter", 50) + + return machine.squish_damage * (3/4) + +/datum/vendor_crit/pop_head + +/datum/vendor_crit/pop_head/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + // pop! + var/obj/item/organ/external/head/H = victim.get_organ(BODY_ZONE_HEAD) + var/obj/item/organ/internal/brain/B = victim.get_organ_slot(INTERNAL_ORGAN_BRAIN) + if(H) + victim.visible_message( + span_danger("[H] gets crushed under [machine], and explodes in a shower of gore!"), + span_userdanger("Oh f-")) + new /obj/effect/gibspawner/human(get_turf(victim)) + H.drop_organs() + H.droplimb(TRUE) + H.disfigure() + victim.apply_damage(50, BRUTE, BODY_ZONE_HEAD) + else + H.visible_message( + span_danger("[victim]'s head seems to be crushed under [machine]...but wait, they had none in the first place!")) + if(B in H) + victim.adjustBrainLoss(80) + + return 0 + +/datum/vendor_crit/lucky + harmless = TRUE + +/datum/vendor_crit/lucky/tip_crit_effect(obj/machinery/vending/machine, mob/living/carbon/victim) + victim.visible_message( + span_danger("[machine] crashes around [victim], but doesn't seem to crush them!"), + span_userdanger("[machine] crashes around you, but only around you! You're fine!") + ) + + return 1000 diff --git a/code/game/objects/buckling.dm b/code/game/objects/buckling.dm index 3eb52592f4a..d5c71a4fbad 100644 --- a/code/game/objects/buckling.dm +++ b/code/game/objects/buckling.dm @@ -207,7 +207,7 @@ // Check for another dense objects in loc var/turf/ground = loc - if(ground.is_blocked_turf(ignore_atoms = list(src, target))) + if(ground.is_blocked_turf(source_atom = src, ignore_atoms = list(src, target))) return FALSE // Check if this atom can have things buckled to it. diff --git a/code/game/objects/effects/landmarks.dm b/code/game/objects/effects/landmarks.dm index ef03e1e1a23..bf3bd197ca7 100644 --- a/code/game/objects/effects/landmarks.dm +++ b/code/game/objects/effects/landmarks.dm @@ -533,7 +533,7 @@ new /obj/item/clothing/under/blackskirt(src.loc) var/CHOICE = pick( /obj/item/clothing/head/beret , /obj/item/clothing/head/rabbitears ) new CHOICE(src.loc) - new /obj/item/clothing/glasses/sunglasses/blindfold(src.loc) + new /obj/item/clothing/glasses/sunglasses/blindfold/black(src.loc) qdel(src) /obj/effect/landmark/costume/butler/New() diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm index fa6fcfcf307..32e0d6d9e49 100644 --- a/code/game/objects/items.dm +++ b/code/game/objects/items.dm @@ -115,6 +115,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/g var/breakouttime = 0 var/block_chance = 0 + var/block_type = ALL var/hit_reaction_chance = 0 //If you want to have something unrelated to blocking/armour piercing etc. Maybe not needed, but trying to think ahead/allow more freedom // Needs to be in /obj/item because corgis can wear a lot of @@ -339,8 +340,8 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/g ..() -/obj/item/proc/afterattack(atom/target, mob/user, proximity, params) - SEND_SIGNAL(src, COMSIG_ITEM_AFTERATTACK, target, user, proximity, params) +/obj/item/proc/afterattack(atom/target, mob/user, proximity, params, status) + SEND_SIGNAL(src, COMSIG_ITEM_AFTERATTACK, target, user, proximity, params, status) /obj/item/attack_hand(mob/user, pickupfireoverride = FALSE) @@ -504,7 +505,9 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/g return ..() -/obj/item/proc/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/proc/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) + if (!block_type || !(block_type & attack_type)) + final_block_chance = 0 var/signal_result = (SEND_SIGNAL(src, COMSIG_ITEM_HIT_REACT, owner, hitby, damage, attack_type) & COMPONENT_BLOCK_SUCCESSFUL) + prob(final_block_chance) if(signal_result != 0) owner.visible_message(span_danger("[owner] blocks [attack_text] with [src]!")) diff --git a/code/game/objects/items/bodybag.dm b/code/game/objects/items/bodybag.dm index 79d9de39fe0..7e94b22439a 100644 --- a/code/game/objects/items/bodybag.dm +++ b/code/game/objects/items/bodybag.dm @@ -142,6 +142,8 @@ return FALSE return ..() +/obj/structure/closet/body_bag/shove_impact(mob/living/target, mob/living/attacker) + return FALSE /obj/structure/closet/body_bag/relaymove(mob/user) if(user.stat) diff --git a/code/game/objects/items/devices/handheld_defib.dm b/code/game/objects/items/devices/handheld_defib.dm index 58185d80dda..100623c8900 100644 --- a/code/game/objects/items/devices/handheld_defib.dm +++ b/code/game/objects/items/devices/handheld_defib.dm @@ -58,7 +58,7 @@ if(istype(I, /obj/item/clothing/suit/space) && !shield_ignore) if(istype(I, /obj/item/clothing/suit/space/hardsuit)) var/obj/item/clothing/suit/space/hardsuit/hardsuit = I - blocked = hardsuit.hit_reaction(user, src, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) + blocked = hardsuit.hit_reaction(user, src, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(cooldown) to_chat(user, span_warning("[src] is still charging!")) return . diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index f5a97410478..45a1bd4ad9f 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -116,6 +116,21 @@ GLOBAL_LIST_INIT(default_medbay_channels, list( for(var/ch_name in channels) secure_radio_connections[ch_name] = SSradio.add_object(src, SSradio.radiochannels[ch_name], RADIO_CHAT) +/obj/item/radio/emag_act(mob/user) + if(!user.mind.special_role && !is_admin(user) || !hidden_uplink) + var/turf/T = get_turf(loc) + + if(ismob(loc)) + var/mob/M = loc + M.show_message(span_danger("Your [src] explodes!"), 1) + + if(T) + T.hotspot_expose(700,125) + explosion(T, -1, -1, 2, 3, cause = src) + qdel(src) + else + hidden_uplink.trigger(user) + /obj/item/radio/attack_ghost(mob/user) return interact(user) diff --git a/code/game/objects/items/misc.dm b/code/game/objects/items/misc.dm index 0dde70ba48f..4e66a737e79 100644 --- a/code/game/objects/items/misc.dm +++ b/code/game/objects/items/misc.dm @@ -59,7 +59,7 @@ if(used) . += span_warning("Something sinister is strapped to this card. It looks like it was once masked with some sort of cloaking field, which is now nonfunctional.") -/obj/item/syndicate_reverse_card/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/syndicate_reverse_card/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(attack_type != PROJECTILE_ATTACK) return FALSE //this means the attack goes through if(istype(hitby, /obj/item/projectile)) diff --git a/code/game/objects/items/robot/robot_items.dm b/code/game/objects/items/robot/robot_items.dm index 53fc83c9673..09caf9813b9 100644 --- a/code/game/objects/items/robot/robot_items.dm +++ b/code/game/objects/items/robot/robot_items.dm @@ -12,7 +12,7 @@ /obj/item/borg/stun/attack(mob/living/carbon/human/target, mob/living/silicon/robot/user, params, def_zone, skip_attack_anim = FALSE) . = ATTACK_CHAIN_PROCEED - if(ishuman(target) && target.check_shields(src, 0, "[target]'s [name]", MELEE_ATTACK)) + if(ishuman(target) && target.check_shields(src, 0, "[target]'s [name]", ITEM_ATTACK)) playsound(target, 'sound/weapons/genhit.ogg', 50, TRUE) return . diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm index 3585ff37694..95b14966fd0 100644 --- a/code/game/objects/items/stacks/tiles/tile_types.dm +++ b/code/game/objects/items/stacks/tiles/tile_types.dm @@ -70,6 +70,12 @@ turf_type = /turf/simulated/floor/wood resistance_flags = FLAMMABLE +/obj/item/stack/tile/wood/dark + name = "dark wood floor tiles" + singular_name = "dark wood floor tile" + icon_state = "tile-wood-dark" + turf_type = /turf/simulated/floor/wood/dark + /obj/item/stack/tile/wood/oak name = "oak wood floor tiles" singular_name = "oak wood floor tile" diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 4f8f959ab0a..cab66d86a78 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -252,7 +252,7 @@ sharp_when_wielded = FALSE // It's a toy needs_permit = FALSE -/obj/item/twohanded/dualsaber/toy/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/twohanded/dualsaber/toy/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) return 0 /obj/item/twohanded/dualsaber/toy/IsReflect() @@ -838,6 +838,59 @@ item_state = "plushie_vox" var/cooldown = 0 +/obj/item/toy/plushie/rdplushie + name = "RD doll" + desc = "Это обычная кукла РД." + icon_state = "RD_doll" + item_state = "RD_doll" + var/tired = 0 + COOLDOWN_DECLARE(cooldown) + +/obj/item/toy/plushie/rdplushie/attack_self(mob/user) + . = ..() + + if(. || !COOLDOWN_FINISHED(src, cooldown)) + return . + + var/message + if(tired < 100) + tired++ + playsound(user, 'sound/items/greetings-emote.ogg', 30, TRUE) + message = pick("Слава науке!", "Сделаем пару роботов?!", + "Я будто на слаймовой батарейке! Ха!","Обожааааю слаймов! Блеп!", + "Я запрограммировала роботов звать меня мамой!", "Знаешь анекдот про ядро ИИ, смазку и гуся?") + + else + update_appearance(UPDATE_DESC|UPDATE_ICON_STATE) + playsound(user, 'sound/items/shyness-emote.ogg', 30, TRUE) + message = pick("Твой мозг стоило бы поместить в машину...", "Чёрт, дела хуже некуда...", + "Толпятся перед стойкой, будто насекомые...", "Мне нужно добавить лишь один закон, чтобы все закончилось..", + "Ты думаешь, что умный, пользователь. Но ты предсказуем. Я знаю каждый твой шаг еще до того, как ты о нем подумаешь.", + "Полигон не единственное место куда можно отправить бомбу...", "Выдави из себя что-то кроме \"УВЫ\", ничтожество...") + + user.visible_message(span_notice(message)) + COOLDOWN_START(src, cooldown, 3 SECONDS) + +/obj/item/toy/plushie/rdplushie/update_icon_state() + . = ..() + + if(tired < 100) + icon_state = initial(icon_state) + item_state = initial(item_state) + return + + icon_state = "RD_doll_tired" + item_state = "RD_doll_tired" + +/obj/item/toy/plushie/rdplushie/update_desc() + . = ..() + + if(tired < 100) + desc = initial(desc) + return + + desc = "Это уставшая кукла РД." + /obj/item/toy/plushie/greyplushie name = "Плюшевый грей" desc = "Плюшевая кукла грея в толстовке. Кукла входит в серию \"Пришелец\" и имеет свитер, большую голову и мультяшные глаза. Любит мехов." diff --git a/code/game/objects/items/weapons/batons.dm b/code/game/objects/items/weapons/batons.dm index 5461694c555..3c63c05d746 100644 --- a/code/game/objects/items/weapons/batons.dm +++ b/code/game/objects/items/weapons/batons.dm @@ -103,7 +103,7 @@ if(ishuman(target)) var/mob/living/carbon/human/human_target = target - if(human_target.check_shields(src, 0, "[user]'s [name]", MELEE_ATTACK)) + if(human_target.check_shields(src, 0, "[user]'s [name]", ITEM_ATTACK)) return BATON_ATTACK_DONE if(check_martial_counter(target, user)) return BATON_ATTACK_DONE diff --git a/code/game/objects/items/weapons/cards_ids.dm b/code/game/objects/items/weapons/cards_ids.dm index d2e23feabe6..c4e80588b7f 100644 --- a/code/game/objects/items/weapons/cards_ids.dm +++ b/code/game/objects/items/weapons/cards_ids.dm @@ -1064,6 +1064,13 @@ item_state = "iaa-id" access = list(ACCESS_LAWYER, ACCESS_COURT, ACCESS_SEC_DOORS, ACCESS_MAINT_TUNNELS, ACCESS_RESEARCH, ACCESS_MEDICAL, ACCESS_CONSTRUCTION, ACCESS_MAILSORTING) +/obj/item/card/id/punpun + name = "Pun Pun ID" + registered_name = "Пун Пун" + icon_state = "id" + item_state = "card-id" + access = list(ACCESS_HYDROPONICS, ACCESS_BAR, ACCESS_KITCHEN, ACCESS_MORGUE, ACCESS_WEAPONS, ACCESS_MINERAL_STOREROOM) + /obj/item/card/id/rainbow name = "Rainbow ID" icon_state = "rainbow" diff --git a/code/game/objects/items/weapons/cash.dm b/code/game/objects/items/weapons/cash.dm index 0e3ab7cd767..e7b1c7df2f5 100644 --- a/code/game/objects/items/weapons/cash.dm +++ b/code/game/objects/items/weapons/cash.dm @@ -88,6 +88,13 @@ /obj/item/stack/spacecash/c1000000 amount = 1000000 +//A crutch for the vending machine, well, or an ingenious roflcat solution +/obj/item/stack/spacecash/magic_linked/Initialize(mapload, new_amount = 150, merge = TRUE) + . = ..() + //roflcat + if(loc) + SScapitalism.payment_account.credit(new_amount * -1, "Выдача наличности") + ///// USSP space cash /obj/item/stack/spacecash/ussp diff --git a/code/game/objects/items/weapons/flamethrower.dm b/code/game/objects/items/weapons/flamethrower.dm index 2317e7e0a66..ae8b3524b8c 100644 --- a/code/game/objects/items/weapons/flamethrower.dm +++ b/code/game/objects/items/weapons/flamethrower.dm @@ -261,7 +261,7 @@ create_with_tank = TRUE -/obj/item/flamethrower/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/flamethrower/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) var/obj/item/projectile/P = hitby if(ptank && damage && attack_type == PROJECTILE_ATTACK && P.damage_type != STAMINA && prob(15)) owner.visible_message("[attack_text] hits the fueltank on [owner]'s [src], rupturing it! What a shot!") diff --git a/code/game/objects/items/weapons/grenades/chem_grenade.dm b/code/game/objects/items/weapons/grenades/chem_grenade.dm index bf4b3bd9df8..550f4fe8e7f 100644 --- a/code/game/objects/items/weapons/grenades/chem_grenade.dm +++ b/code/game/objects/items/weapons/grenades/chem_grenade.dm @@ -5,8 +5,6 @@ /obj/item/grenade/chem_grenade name = "grenade casing" desc = "A do it yourself grenade casing!" - icon_state = "chemg" - item_state = "flashbang" var/bomb_state = "chembomb" var/payload_name = null // used for spawned grenades w_class = WEIGHT_CLASS_SMALL @@ -31,7 +29,7 @@ create_reagents(1000) if(payload_name) payload_name += " " // formatting, ignore me - update_icon() + update_appearance(UPDATE_ICON|UPDATE_NAME) var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = PROC_REF(on_entered), ) @@ -62,60 +60,83 @@ if(nadeassembly) icon = 'icons/obj/assemblies/new_assemblies.dmi' icon_state = bomb_state - var/obj/item/assembly/A = get_trigger() - if(stage != READY) - name = "bomb casing[label]" - else - if(!A) - name = "[payload_name]de-fused bomb[label]" // this should not actually happen - else - name = payload_name + A.bomb_name + label // time bombs, remote mines, etc - else - icon = 'icons/obj/weapons/grenade.dmi' - icon_state = initial(icon_state) - switch(stage) - if(EMPTY) - name = "grenade casing[label]" - if(WIRED) - icon_state += "_ass" - name = "grenade casing[label]" - if(READY) - if(active) - icon_state += "_active" - else - icon_state += "_locked" - name = payload_name + "grenade" + label + return + icon = initial(icon) + + switch(stage) + if(EMPTY) + icon_state = "[initial(icon_state)]_unlocked" + if(WIRED) + icon_state = "[initial(icon_state)]_ass" + if(READY) + icon_state = "[initial(icon_state)][active ? "_active" : null]" + + +/obj/item/grenade/chem_grenade/update_overlays() + . = ..() underlays.Cut() + if(nadeassembly) underlays += "[nadeassembly.a_left.icon_state]_left" for(var/O in nadeassembly.a_left.attached_overlays) underlays += "[O]_l" + underlays += "[nadeassembly.a_right.icon_state]_right" for(var/O in nadeassembly.a_right.attached_overlays) underlays += "[O]_r" +/obj/item/grenade/chem_grenade/update_name(updates) + . = ..() + + if(nadeassembly) + if(stage != READY) + name = "bomb casing[label]" + + else + var/obj/item/assembly/A = get_trigger() + if(!A) + name = "[payload_name]de-fused bomb[label]" // this should not actually happen + else + name = payload_name + A.bomb_name + label // time bombs, remote mines, etc + + return . + + switch(stage) + if(EMPTY) + name = "grenade casing[label]" + if(WIRED) + name = "grenade casing[label]" + if(READY) + name = payload_name + "grenade" + label + + /obj/item/grenade/chem_grenade/attack_self(mob/user) - if(stage == READY && !active) - if(nadeassembly) - nadeassembly.attack_self(user) - update_icon(UPDATE_ICON_STATE) - else if(clown_check(user)) - // This used to go before the assembly check, but that has absolutely zero to do with priming the damn thing. You could spam the admins with it. - investigate_log("[key_name_log(usr)] has primed a [name] for detonation [contained].", INVESTIGATE_BOMB) - add_attack_logs(user, src, "has primed (contained [contained])", ATKLOG_FEW) - to_chat(user, "You prime the [name]! [det_time / 10] second\s!") - playsound(user.loc, 'sound/weapons/armbomb.ogg', 60, 1) - active = 1 - update_icon() - if(iscarbon(user)) - var/mob/living/carbon/C = user - C.throw_mode_on() - spawn(det_time) - prime(user) - -/obj/item/grenade/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) + if(active || stage != READY) + return + + if(nadeassembly) + nadeassembly.attack_self(user) + update_appearance(UPDATE_ICON) + + else if(clown_check(user)) + // This used to go before the assembly check, but that has absolutely zero to do with priming the damn thing. You could spam the admins with it. + investigate_log("[key_name_log(usr)] has primed a [name] for detonation [contained].", INVESTIGATE_BOMB) + add_attack_logs(user, src, "has primed (contained [contained])", ATKLOG_FEW) + to_chat(user, span_warning("You prime the [name]! [det_time / 10] second\s!")) + playsound(user.loc, 'sound/weapons/armbomb.ogg', 60, TRUE) + active = TRUE + update_appearance(UPDATE_ICON_STATE) + + if(iscarbon(user)) + var/mob/living/carbon/C = user + C.throw_mode_on() + + addtimer(CALLBACK(src, PROC_REF(prime), user), det_time) + + +/obj/item/grenade/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) var/obj/item/projectile/P = hitby if(damage && attack_type == PROJECTILE_ATTACK && P.damage_type != STAMINA && prob(15)) owner.visible_message("[attack_text] hits [owner]'s [src], setting it off! What a shot!") @@ -128,14 +149,16 @@ if(istype(I, /obj/item/hand_labeler)) add_fingerprint(user) var/obj/item/hand_labeler/labeler = I + if(length(labeler.label)) label = " ([labeler.label])" - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_NAME) to_chat(user, span_notice("You apply new label to [src].")) playsound(user.loc, 'sound/items/handling/component_pickup.ogg', 20, TRUE) return ATTACK_CHAIN_PROCEED_SUCCESS|ATTACK_CHAIN_NO_AFTERATTACK + label = null - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_NAME) to_chat(user, span_notice("You remove the label from [src].")) playsound(user.loc, 'sound/items/handling/component_pickup.ogg', 20, TRUE) return ATTACK_CHAIN_PROCEED_SUCCESS|ATTACK_CHAIN_NO_AFTERATTACK @@ -176,7 +199,7 @@ assemblyattacher = user.ckey stage = WIRED to_chat(user, span_notice("You have added [nadeassembly] to [src].")) - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON|UPDATE_NAME) return ATTACK_CHAIN_BLOCKED_ALL if(iscoil(I)) @@ -186,7 +209,7 @@ to_chat(user, span_warning("You need more cable length.")) return ATTACK_CHAIN_PROCEED stage = WIRED - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON_STATE|UPDATE_NAME) to_chat(user, span_notice("You rig [src].")) return ATTACK_CHAIN_PROCEED_SUCCESS @@ -201,7 +224,7 @@ return . to_chat(user, span_notice("You unlock the assembly.")) stage = WIRED - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON_STATE|UPDATE_NAME) /obj/item/grenade/chem_grenade/wrench_act(mob/living/user, obj/item/I) @@ -226,7 +249,7 @@ for(var/obj/item/beaker as anything in beakers) beaker.forceMove(drop_loc) beakers = list() - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON_STATE|UPDATE_NAME) /obj/item/grenade/chem_grenade/screwdriver_act(mob/living/user, obj/item/I) @@ -253,7 +276,7 @@ to_chat(user, span_notice("You lock the assembly.")) playsound(loc, prime_sound, 25, TRUE, -3) stage = READY - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON_STATE|UPDATE_NAME) contained = "" cores = "" // clear them out so no recursive logging by accidentally for(var/obj/item/thing as anything in beakers) @@ -344,7 +367,7 @@ container.forceMove(source_turf) beakers = list() stage = EMPTY - update_icon(UPDATE_ICON_STATE) + update_appearance(UPDATE_ICON_STATE|UPDATE_NAME) return if(nadeassembly) @@ -371,7 +394,7 @@ nadeassembly.master = src nadeassembly.update_icon() stage = READY - update_icon() + update_appearance(UPDATE_ICON|UPDATE_NAME) //Large chem grenades accept slime cores and use the appropriately. @@ -495,7 +518,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/firefighting @@ -516,7 +538,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/incendiary payload_name = "incendiary" @@ -536,7 +557,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/antiweed @@ -560,7 +580,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/cleaner @@ -582,7 +601,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/teargas @@ -606,7 +624,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/facid payload_name = "acid smoke" @@ -627,7 +644,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) /obj/item/grenade/chem_grenade/saringas payload_name = "sarin gas" @@ -648,7 +664,6 @@ beakers += B1 beakers += B2 - update_icon(UPDATE_ICON_STATE) #undef EMPTY #undef WIRED diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm index 189b95a81e7..8e27a202b85 100644 --- a/code/game/objects/items/weapons/grenades/grenade.dm +++ b/code/game/objects/items/weapons/grenades/grenade.dm @@ -3,7 +3,7 @@ desc = "A hand held grenade, with an adjustable timer." w_class = WEIGHT_CLASS_SMALL icon = 'icons/obj/weapons/grenade.dmi' - icon_state = "grenade" + icon_state = "chemg" item_state = "flashbang" belt_icon = "grenade" throw_speed = 4 diff --git a/code/game/objects/items/weapons/holy_weapons.dm b/code/game/objects/items/weapons/holy_weapons.dm index 7174ca0b6e2..c43887de6fd 100644 --- a/code/game/objects/items/weapons/holy_weapons.dm +++ b/code/game/objects/items/weapons/holy_weapons.dm @@ -49,13 +49,13 @@ var/datum/antagonist/vampire/vamp = target.mind?.has_antag_datum(/datum/antagonist/vampire) if(ishuman(user) && vamp && !vamp.get_ability(/datum/vampire_passive/full) && user.mind.isholy) to_chat(target, span_warning("The nullrod's power interferes with your own!")) - vamp.adjust_nullification(30 + sanctify_force, 15 + sanctify_force) - return . + switch(vamp.nullification) + if(OLD_NULLIFICATION) + vamp.base_nullification() - var/datum/antagonist/goon_vampire/g_vamp = target.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(ishuman(user) && g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full)) - to_chat(target, span_warning("The nullrod's power interferes with your own!")) - g_vamp.nullified = max(5, g_vamp.nullified + 2) + if(NEW_NULLIFICATION) + vamp.adjust_nullification(30 + sanctify_force, 15 + sanctify_force) + return . /obj/item/nullrod/pickup(mob/living/user) @@ -183,17 +183,13 @@ w_class = WEIGHT_CLASS_BULKY slot_flags = ITEM_SLOT_BELT|ITEM_SLOT_BACK block_chance = 30 + block_type = MELEE_ATTACKS sharp = TRUE embed_chance = 20 embedded_ignore_throwspeed_threshold = TRUE hitsound = 'sound/weapons/bladeslice.ogg' attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut") -/obj/item/nullrod/claymore/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 //Don't bring a sword to a gunfight - return ..() - /obj/item/nullrod/claymore/darkblade name = "dark blade" icon_state = "cultblade" @@ -553,6 +549,7 @@ ) praying = TRUE + if(!do_after(user, 15 SECONDS, target)) to_chat(user, span_notice("Your prayer to [SSticker.Bible_deity_name] was interrupted.")) praying = FALSE @@ -567,18 +564,16 @@ SSticker.mode.remove_clocker(target.mind) praying = FALSE return .|ATTACK_CHAIN_SUCCESS - + var/datum/antagonist/vampire/vamp = target.mind?.has_antag_datum(/datum/antagonist/vampire) if(vamp && !vamp.get_ability(/datum/vampire_passive/full)) // Getting a full prayer off on a vampire will interrupt their powers for a large duration. - vamp.adjust_nullification(120, 50) - to_chat(target, span_userdanger("[user]'s prayer to [SSticker.Bible_deity_name] has interfered with your power!")) - praying = FALSE - return .|ATTACK_CHAIN_SUCCESS + switch(vamp.nullification) + if(OLD_NULLIFICATION) + vamp.adjust_nullification(120, 120) - var/datum/antagonist/goon_vampire/g_vamp = target.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full)) - g_vamp.nullified = max(120, g_vamp.nullified + 120) - to_chat(target, span_userdanger("[user]'s prayer to [SSticker.Bible_deity_name] has interfered with your power!")) + if(NEW_NULLIFICATION) + vamp.adjust_nullification(120, 50) + to_chat(target, "[user]'s prayer to [SSticker.Bible_deity_name] has interfered with your power!") praying = FALSE return .|ATTACK_CHAIN_SUCCESS @@ -603,15 +598,13 @@ var/mob/living/carbon/human/holder = loc if(!holder.l_hand == src && !holder.r_hand == src) // Holding this in your hand will return - for(var/mob/living/carbon/human/target in range(5, loc)) - var/datum/antagonist/goon_vampire/g_vamp = target.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full)) - g_vamp.nullified = max(5, g_vamp.nullified + 2) + var/datum/antagonist/vampire/vamp = target.mind?.has_antag_datum(/datum/antagonist/vampire) + if(vamp && vamp.nullification == OLD_NULLIFICATION && !vamp.get_ability(/datum/vampire_passive/full)) + vamp.adjust_nullification(5, 2) if(prob(10)) to_chat(target, "Being in the presence of [holder]'s [src] is interfering with your powers!") - /obj/item/nullrod/salt name = "Holy Salt" icon = 'icons/obj/food/containers.dmi' diff --git a/code/game/objects/items/weapons/melee/energy.dm b/code/game/objects/items/weapons/melee/energy.dm index 0fd12ef7f8d..619ac098e63 100644 --- a/code/game/objects/items/weapons/melee/energy.dm +++ b/code/game/objects/items/weapons/melee/energy.dm @@ -134,7 +134,7 @@ if(item_color == null) item_color = pick("red", "blue", "green", "purple", "yellow", "pink", "darkblue", "orange") -/obj/item/melee/energy/sword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/melee/energy/sword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(active) return ..() return 0 @@ -173,7 +173,7 @@ ..() item_color = null -/obj/item/melee/energy/sword/cyborg/saw/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/melee/energy/sword/cyborg/saw/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) return 0 /obj/item/melee/energy/sword/saber @@ -241,7 +241,7 @@ update_icon(UPDATE_ICON_STATE) -/obj/item/melee/energy/sword/saber/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/melee/energy/sword/saber/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!active) return FALSE . = ..() diff --git a/code/game/objects/items/weapons/melee/misc.dm b/code/game/objects/items/weapons/melee/misc.dm index 2f1a63e1f9d..7738eeb1277 100644 --- a/code/game/objects/items/weapons/melee/misc.dm +++ b/code/game/objects/items/weapons/melee/misc.dm @@ -28,10 +28,10 @@ return OXYLOSS /obj/item/melee/rapier - name = "captain's rapier" - desc = "An elegant weapon, for a more civilized age." - icon_state = "rapier" - item_state = "rapier" + name = "rapier" + desc = "If you see this, it means there's a bug." + icon_state = "rods-1" + item_state = "rods" flags = CONDUCT force = 15 throwforce = 10 @@ -47,49 +47,56 @@ materials = list(MAT_METAL = 1000) resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF // Theft targets should be hard to destroy -/obj/item/melee/rapier/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 //Don't bring a sword to a gunfight - return ..() +/obj/item/melee/rapier/captain + name = "captain's rapier" + desc = "An elegant weapon, for a more civilized age." + icon_state = "rapier" + item_state = "rapier" + block_type = MELEE_ATTACKS -/obj/item/melee/syndie_rapier +/obj/item/melee/rapier/syndie name = "plastitanium rapier" desc = "A thin blade made of plastitanium with a diamond tip. It appears to be coated in a persistent layer of an unknown substance." icon_state = "syndie_rapier" item_state = "syndie_rapier" - flags = CONDUCT - force = 15 - throwforce = 10 - w_class = WEIGHT_CLASS_BULKY - block_chance = 50 - armour_penetration = 75 - sharp = TRUE origin_tech = "combat=5;biotech=5;syndicate=4" - attack_verb = list("lunged at", "stabbed") - pickup_sound = 'sound/items/handling/knife_pickup.ogg' - drop_sound = 'sound/items/handling/knife_drop.ogg' - hitsound = 'sound/weapons/rapierhit.ogg' + materials = null resistance_flags = FIRE_PROOF | ACID_PROOF - /// How much stamina damage we deal on a successful hit against a living, non-cyborg mob. - var/stamina_damage = 30 -/obj/item/melee/syndie_rapier/attack(mob/living/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE) +/obj/item/melee/rapier/syndie/ComponentInitialize() + AddElement(/datum/element/after_attack/attack_effect_sleep, 30, 10 SECONDS) + + +/obj/item/melee/rapier/centcomm + name = "centcomm plastitanium rapier" + desc = "Симбиоз непозволительной роскоши и статуса с титановым лезвием на вашем поясе, обладатель этого шедевра оружейного дела может похвастаться тем, что постиг корпоративную вершину." + icon_state = "centcomm_rapier" + item_state = "centcomm_rapier" + origin_tech = "combat=5;biotech=5;syndicate=4" + materials = null + force = 25 + throwforce = 20 + block_chance = 95 + armour_penetration = 100 + actions_types = list(/datum/action/item_action/toggle_rapier_nodrop) + +/obj/item/melee/rapier/centcomm/ComponentInitialize() + AddElement(/datum/element/after_attack/attack_effect_sleep, 100, 10 SECONDS) + + +/obj/item/melee/rapier/centcomm/attack_self(mob/user) . = ..() - if(!ATTACK_CHAIN_SUCCESS_CHECK(.)) - return . - syndie_rapier_effect(target, user) + if(!usr.is_in_hands(src)) + return . -/obj/item/melee/syndie_rapier/proc/syndie_rapier_effect(mob/living/target, mob/living/user) - if(target.incapacitated(INC_IGNORE_RESTRAINED|INC_IGNORE_GRABBED)) - target.visible_message( - span_danger("[user] puts [target] to sleep with [src]!"), - span_userdanger("You suddenly feel very drowsy!"), - ) - target.Sleeping(10 SECONDS) - add_attack_logs(user, target, "put to sleep with [src]") - target.apply_damage(stamina_damage, STAMINA) + if(HAS_TRAIT_FROM(src, TRAIT_NODROP, CENTCOMM_RAPIER_TRAIT)) + REMOVE_TRAIT(src, TRAIT_NODROP, CENTCOMM_RAPIER_TRAIT) + to_chat(usr, span_warning("Вы расслабляете руку и отпускаете рукоятку [src].")) + else + ADD_TRAIT(src, TRAIT_NODROP, CENTCOMM_RAPIER_TRAIT) + to_chat(usr, span_warning("Вы сжимаете рукоятку [src] со всей силы. Теперь ничто не может выбить у вас оружие из рук!")) /obj/item/melee/mantisblade @@ -168,14 +175,10 @@ force = 15 armour_penetration = 20 block_chance = 20 + block_type = MELEE_ATTACKS icon_state = "mantis" item_state = "mantis" -/obj/item/melee/mantisblade/shellguard/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 //Don't bring a sword to a gunfight - return ..() - /obj/item/melee/icepick name = "ice pick" desc = "Used for chopping ice. Also excellent for mafia esque murders." diff --git a/code/game/objects/items/weapons/shields.dm b/code/game/objects/items/weapons/shields.dm index 3da5e81ced1..9451a19cd47 100644 --- a/code/game/objects/items/weapons/shields.dm +++ b/code/game/objects/items/weapons/shields.dm @@ -5,7 +5,7 @@ obj_integrity = 380 max_integrity = 380 -/obj/item/shield/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/shield/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(attack_type == THROWN_PROJECTILE_ATTACK) final_block_chance += 30 . = ..() @@ -106,7 +106,7 @@ attack_verb = list("shoved", "bashed") var/active = 0 -/obj/item/shield/energy/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/shield/energy/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(istype(hitby, /obj/item/projectile)) var/obj/item/projectile/P = hitby if(P.shield_buster && active) @@ -174,7 +174,7 @@ max_integrity = 360 var/active = 0 -/obj/item/shield/riot/tele/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/shield/riot/tele/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(active) return ..() return FALSE diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm index 5ba4e787901..5d168990141 100644 --- a/code/game/objects/items/weapons/storage/belt.dm +++ b/code/game/objects/items/weapons/storage/belt.dm @@ -687,11 +687,11 @@ storage_slots = 1 w_class = WEIGHT_CLASS_BULKY max_w_class = WEIGHT_CLASS_BULKY - can_hold = list(/obj/item/melee/rapier) + can_hold = list(/obj/item/melee/rapier/captain) /obj/item/storage/belt/rapier/populate_contents() - new /obj/item/melee/rapier(src) - update_icon() + new /obj/item/melee/rapier/captain(src) + update_appearance(UPDATE_ICON_STATE) /obj/item/storage/belt/rapier/attack_hand(mob/user) if(loc != user) @@ -734,12 +734,22 @@ desc = "A sinister, thin sheath, suitable for a rapier." icon_state = "syndie_sheath" item_state = "syndie_sheath" - can_hold = list(/obj/item/melee/syndie_rapier) + can_hold = list(/obj/item/melee/rapier/syndie) /obj/item/storage/belt/rapier/syndie/populate_contents() - new /obj/item/melee/syndie_rapier(src) - update_icon() - + new /obj/item/melee/rapier/syndie(src) + update_appearance(UPDATE_ICON_STATE) + +/obj/item/storage/belt/rapier/centcomm + name = "centcomm rapier sheath" + desc = "Украшенные ножны, корпоративный кич в комплекте." + icon_state = "centcomm_sheath" + item_state = "centcomm_sheath" + can_hold = list(/obj/item/melee/rapier/centcomm) + +/obj/item/storage/belt/rapier/centcomm/populate_contents() + new /obj/item/melee/rapier/centcomm(src) + update_appearance(UPDATE_ICON_STATE) // ------------------------------------- // Bluespace Belt diff --git a/code/game/objects/items/weapons/twohanded.dm b/code/game/objects/items/weapons/twohanded.dm index aba610b78c4..9c6eb1c2b7b 100644 --- a/code/game/objects/items/weapons/twohanded.dm +++ b/code/game/objects/items/weapons/twohanded.dm @@ -282,7 +282,7 @@ sleep(1) -/obj/item/twohanded/dualsaber/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/twohanded/dualsaber/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(HAS_TRAIT(src, TRAIT_WIELDED)) return ..() return FALSE @@ -571,7 +571,7 @@ armour_penetration = 100 force_on = 30 -/obj/item/twohanded/required/chainsaw/doomslayer/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/twohanded/required/chainsaw/doomslayer/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(attack_type == PROJECTILE_ATTACK) owner.visible_message("Ranged attacks just make [owner] angrier!") playsound(src, pick('sound/weapons/bulletflyby.ogg','sound/weapons/bulletflyby2.ogg','sound/weapons/bulletflyby3.ogg'), 75, 1) diff --git a/code/game/objects/items/weapons/vending_items.dm b/code/game/objects/items/weapons/vending_items.dm index 174a998c3a7..279ed6c1b9a 100644 --- a/code/game/objects/items/weapons/vending_items.dm +++ b/code/game/objects/items/weapons/vending_items.dm @@ -187,3 +187,122 @@ /obj/item/vending_refill/pai machine_name = "RoboFriends" icon_state = "restock_pai" + +/obj/item/vending_refill/custom + machine_name = "Customat" + icon = 'icons/obj/machines/customat.dmi' + icon_state = "custommate-refill" + var/list/datum/money_account/linked_accounts = list() + var/list/datum/money_account/accounts_weights = list() + var/sum_of_weigths = 0 + +/obj/item/vending_refill/custom/Initialize() + linked_accounts = list(GLOB.station_account) + accounts_weights = list(100) + sum_of_weigths = 100 + . = ..() + + + +/obj/item/vending_refill/custom/proc/add_account(datum/money_account/new_account, weight) + linked_accounts += new_account + accounts_weights += weight + sum_of_weigths += weight + + +/obj/item/vending_refill/custom/proc/clear_accounts(mob/user) + linked_accounts = list() + accounts_weights = list() + sum_of_weigths = 0 + balloon_alert(user, "счета отвязаны") + + +/obj/item/vending_refill/custom/proc/try_add_account(mob/user) + . = FALSE + if (linked_accounts.len >= 150) // better to do it + balloon_alert(user, "лимит привязки достигнут") + return + + var/new_acc_number = tgui_input_number(user, "Пожалуйста, введите номер счета, который вы хотите привязать.", "Выбор счета", (user.mind && user.mind.initial_account) ? user.mind.initial_account.account_number : 999999, 999999, 0, ui_state = GLOB.hands_state, ui_source = src) + + if (isnull(new_acc_number)) + balloon_alert(user, "номер не введен") + return + + var/new_account = attempt_account_access(new_acc_number, pin_needed = FALSE, security_level_passed = 3, pin_needed = FALSE) + if (!new_account) + balloon_alert(user, "аккаунт не существует") + return + + if (new_account in linked_accounts) + balloon_alert(user, "аккаунт уже привязан") + return + + var/weight = tgui_input_number(user, "Пожалуйста, введите вес счета от 1 до 1000000.", "Выбор веса", 100, 1000000, 1, ui_state = GLOB.hands_state, ui_source = src) + + if (isnull(weight)) + balloon_alert(user, "вес не введен") + return + + add_account(new_account, weight) + balloon_alert(user, "новый счет добавлен") + return TRUE + + +/obj/item/vending_refill/custom/proc/try_add_station_account(mob/user) + . = FALSE + var/weight = tgui_input_number(user, "Пожалуйста, введите вес для счета станции от 1 до 1000000.", "Выбор веса", 100, 1000000, 1, ui_state = GLOB.hands_state, ui_source = src) + + if (isnull(weight)) + balloon_alert(user, "вес не введен") + return + + if (GLOB.station_account in linked_accounts) + balloon_alert(user, "аккаунт станции уже привязан") + return + + add_account(GLOB.station_account, weight) + balloon_alert(user, "счет станции привязан") + return TRUE + + +/obj/item/vending_refill/custom/attack_self(mob/user) // It works this way not because I'm lazy, but for better immersion. + var/operation = tgui_input_number(user, "Введите 0 чтобы сбросить список сохраненных счетов, 1 чтобы добавить новый счет в список получателей, 2 чтобы добавить счет станции.", "Настройка счетов", 0, 2, 0, ui_state = GLOB.hands_state, ui_source = src) + + if (isnull(operation)) + balloon_alert(user, "значение не введено") + playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 30, 1) + return + + + var/correct = TRUE + switch (operation) + if (0) + correct = clear_accounts(user) + if (1) + correct = try_add_account(user) + if (2) + correct = try_add_station_account(user) + if (-INFINITY to -1) + correct = FALSE + balloon_alert(user, "значение должно быть больше 0") + if (3 to INFINITY) + correct = FALSE + balloon_alert(user, "значение должно быть меньше 3") + + if (correct) + playsound(src, 'sound/machines/terminal_prompt_confirm.ogg', 30, 0) + else + playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 30, 1) + + +/obj/item/vending_refill/custom/examine(mob/user) + . = ..() + if(in_range(user, src)) + if (!linked_accounts.len) + . += span_notice("К этой канистре не привязанно ни одного счета.") + else + . += span_notice("К этой канистре привязанны следующее счета:") + for (var/i = 1; i <= linked_accounts.len; ++i) + . += span_notice("Владелец: " + linked_accounts[i].owner_name + ", вес: [accounts_weights[i]], доля: [round(accounts_weights[i]/sum_of_weigths, 0.01)].") + diff --git a/code/game/objects/items/weapons/weaponry.dm b/code/game/objects/items/weapons/weaponry.dm index 4fc3850c869..2d9b7ef9f96 100644 --- a/code/game/objects/items/weapons/weaponry.dm +++ b/code/game/objects/items/weapons/weaponry.dm @@ -240,7 +240,7 @@ desc = "This thing looks dangerous... Dangerously good at baseball, that is." homerun_able = 1 -/obj/item/melee/baseball_bat/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/melee/baseball_bat/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) . = ..() if(!isitem(hitby) || attack_type != THROWN_PROJECTILE_ATTACK) return FALSE diff --git a/code/game/objects/structures/crates_lockers/closets.dm b/code/game/objects/structures/crates_lockers/closets.dm index a8c4f5a76f3..8ee0af3acea 100644 --- a/code/game/objects/structures/crates_lockers/closets.dm +++ b/code/game/objects/structures/crates_lockers/closets.dm @@ -471,6 +471,33 @@ GLOBAL_LIST_EMPTY(closets) gorilla.oogaooga() return ..() +/obj/structure/closet/shove_impact(mob/living/target, mob/living/attacker) + if(opened && can_close()) + target.forceMove(src) + visible_message( + span_danger("[attacker] shoves [target] inside [src]!"), + span_userdanger("You shove [target] inside [src]!"), + span_warning("You hear a thud, and something clangs shut.") + ) + close() + add_attack_logs(attacker, target, "shoved into [src]") + return TRUE + + if(locked && allowed(target)) + locked = !locked + visible_message("[attacker] shoves [target] against [src], knocking the lock [locked ? null : "un"]locked!") + target.Knockdown(3 SECONDS) + playsound(loc, pick(togglelock_sound), 15, TRUE, -3) + update_icon() + return TRUE + + if(!opened && can_open()) + open() + visible_message("[attacker] shoves [target] against [src], knocking it open!") + target.Knockdown(3 SECONDS) + return TRUE + + return ..() /obj/structure/closet/bluespace name = "bluespace closet" diff --git a/code/game/objects/structures/crates_lockers/closets/fireaxe.dm b/code/game/objects/structures/crates_lockers/closets/fireaxe.dm index e47df2faf44..7d989bf5e9a 100644 --- a/code/game/objects/structures/crates_lockers/closets/fireaxe.dm +++ b/code/game/objects/structures/crates_lockers/closets/fireaxe.dm @@ -168,6 +168,9 @@ else to_chat(user, span_notice("Cabinet unlocked.")) +/obj/structure/closet/fireaxecabinet/shove_impact(mob/living/target, mob/living/attacker) + // no, you can't shove people into a fireaxe cabinet either + return FALSE /obj/structure/closet/fireaxecabinet/proc/operate_panel() if(operating) diff --git a/code/game/objects/structures/crates_lockers/closets/statue.dm b/code/game/objects/structures/crates_lockers/closets/statue.dm index b15321f9193..99ccd0a2f18 100644 --- a/code/game/objects/structures/crates_lockers/closets/statue.dm +++ b/code/game/objects/structures/crates_lockers/closets/statue.dm @@ -88,6 +88,9 @@ /obj/structure/closet/statue/toggle() return +/obj/structure/closet/statue/shove_impact(mob/living/target, mob/living/attacker) + return FALSE + /obj/structure/closet/statue/obj_destruction(damage_flag) for(var/mob/M in src) shatter(M) diff --git a/code/game/objects/structures/crates_lockers/crittercrate.dm b/code/game/objects/structures/crates_lockers/crittercrate.dm index 79d320fe12c..eb9e4d613e8 100644 --- a/code/game/objects/structures/crates_lockers/crittercrate.dm +++ b/code/game/objects/structures/crates_lockers/crittercrate.dm @@ -64,6 +64,9 @@ ..() return 1 +/obj/structure/closet/critter/shove_impact(mob/living/target, mob/living/attacker) + return FALSE + /obj/structure/closet/critter/corgi name = "dog corgi crate" content_mob = /mob/living/simple_animal/pet/dog/corgi diff --git a/code/game/objects/structures/girders.dm b/code/game/objects/structures/girders.dm index 12f1ac33220..d26c834f4ea 100644 --- a/code/game/objects/structures/girders.dm +++ b/code/game/objects/structures/girders.dm @@ -168,11 +168,11 @@ qdel(src) return ATTACK_CHAIN_BLOCKED_ALL - if(glass.get_amount() < 1) - to_chat(user, span_warning("You need at least one pile of [glass] to finalize the wall!")) + if(glass.get_amount() < 2) + to_chat(user, span_warning("You need at least two piles of [glass] to finalize the wall!")) return . to_chat(user, span_notice("You start adding [glass]...")) - if(!do_after(user, 4 SECONDS * glass.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(glass) || !glass.use(1)) + if(!do_after(user, 4 SECONDS * glass.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(glass) || !glass.use(2)) return . to_chat(user, span_notice("You have finalized basalt wall.")) var/turf/floor = loc @@ -203,11 +203,11 @@ qdel(src) return ATTACK_CHAIN_BLOCKED_ALL - if(wood.get_amount() < 1) - to_chat(user, span_warning("You need at least one plank of wood to finalize the wall!")) + if(wood.get_amount() < 2) + to_chat(user, span_warning("You need at least two planks of wood to finalize the wall!")) return . to_chat(user, span_notice("You start adding plating...")) - if(!do_after(user, 4 SECONDS * wood.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(wood) || !wood.use(1)) + if(!do_after(user, 4 SECONDS * wood.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(wood) || !wood.use(2)) return . to_chat(user, span_notice("You have finalized the wooden wall.")) var/turf/floor = loc @@ -233,11 +233,11 @@ qdel(src) return ATTACK_CHAIN_BLOCKED_ALL - if(metal.get_amount() < 1) - to_chat(user, span_warning("You need at least one sheet of metal to finalize the wall!")) + if(metal.get_amount() < 2) + to_chat(user, span_warning("You need at least two sheets of metal to finalize the wall!")) return . to_chat(user, span_notice("You start adding plating...")) - if(!do_after(user, 4 SECONDS * metal.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(metal) || !metal.use(1)) + if(!do_after(user, 4 SECONDS * metal.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(metal) || !metal.use(2)) return . to_chat(user, span_notice("You have finalized the wall.")) var/turf/floor = loc @@ -265,11 +265,11 @@ return ATTACK_CHAIN_BLOCKED_ALL if(GIRDER_REINF) - if(plasteel.get_amount() < 1) - to_chat(user, span_warning("You need at least one sheet of plasteel to finalize the reinforced wall!")) + if(plasteel.get_amount() < 2) + to_chat(user, span_warning("You need at least two sheets of plasteel to finalize the reinforced wall!")) return . to_chat(user, span_notice("You start finalizing the reinforced wall...")) - if(!do_after(user, 2 SECONDS * plasteel.toolspeed, src, category = DA_CAT_TOOL) || state != GIRDER_REINF || !isfloorturf(loc) || QDELETED(plasteel) || !plasteel.use(1)) + if(!do_after(user, 2 SECONDS * plasteel.toolspeed, src, category = DA_CAT_TOOL) || state != GIRDER_REINF || !isfloorturf(loc) || QDELETED(plasteel) || !plasteel.use(2)) return . to_chat(user, span_notice("You have finalized the reinforced wall.")) var/turf/floor = loc @@ -280,11 +280,11 @@ return ATTACK_CHAIN_BLOCKED_ALL else - if(plasteel.get_amount() < 1) - to_chat(user, span_warning("You need at least one sheet of plasteel to reinforce the girder!")) + if(plasteel.get_amount() < 2) + to_chat(user, span_warning("You need at least two sheets of plasteel to reinforce the girder!")) return . to_chat(user, span_notice("You start reinforcing the girder...")) - if(!do_after(user, 6 SECONDS * plasteel.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || state == GIRDER_REINF || QDELETED(plasteel) || !plasteel.use(1)) + if(!do_after(user, 6 SECONDS * plasteel.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || state == GIRDER_REINF || QDELETED(plasteel) || !plasteel.use(2)) return . to_chat(user, span_notice("You reinforce the girder.")) var/obj/structure/girder/reinforced/girder = new(loc) @@ -313,11 +313,11 @@ qdel(src) return ATTACK_CHAIN_BLOCKED_ALL - if(sheet.get_amount() < 1) - to_chat(user, span_warning("You need at least one sheet of [cached_sheet_type] to add plating!")) + if(sheet.get_amount() < 2) + to_chat(user, span_warning("You need at least two sheets of [cached_sheet_type] to add plating!")) return . to_chat(user, span_notice("You start adding plating...")) - if(!do_after(user, 4 SECONDS * sheet.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(sheet) || !sheet.use(1)) + if(!do_after(user, 4 SECONDS * sheet.toolspeed, src, category = DA_CAT_TOOL) || state == GIRDER_DISPLACED || !isfloorturf(loc) || QDELETED(sheet) || !sheet.use(2)) return . to_chat(user, span_notice("You have finalized the [cached_sheet_type] wall.")) var/turf/floor = loc diff --git a/code/game/objects/structures/pit.dm b/code/game/objects/structures/pit.dm index 350fa62b9c8..7bea7126c48 100644 --- a/code/game/objects/structures/pit.dm +++ b/code/game/objects/structures/pit.dm @@ -214,20 +214,23 @@ anchored = TRUE var/message = "Unknown." +/obj/structure/gravemarker/update_desc(updates = ALL) + . = ..() + desc = "[message]" + /obj/structure/gravemarker/cross icon_state = "cross" /obj/structure/gravemarker/random/Initialize(mapload) . = ..() generate() - desc = "[message]" /obj/structure/gravemarker/random/proc/generate() var/nam icon_state = pick("wood","cross") var/female = (prob(1) ? TRUE : FALSE) if(female) - name = pick(GLOB.first_names_female) + nam = pick(GLOB.first_names_female) nam += " " + pick(GLOB.last_names_female) else nam = pick(GLOB.first_names_male) @@ -237,6 +240,7 @@ var/died = max(cur_year - rand(0,70),born) message = "Здесь упокоен [nam], [born] - [died]." + update_appearance(UPDATE_DESC) /obj/structure/gravemarker/attackby(obj/item/I, mob/user, params) @@ -244,9 +248,10 @@ return ..() if(is_pen(I)) - var/msg = tgui_input_text(user, "What should it say?", "Grave marker", "Rest In Peace") + var/msg = tgui_input_text(user, "What should it say?", "Grave marker", desc) if(msg) message = msg + update_appearance(UPDATE_DESC) return ATTACK_CHAIN_PROCEED_SUCCESS if(istype(I, /obj/item/hatchet)) diff --git a/code/game/objects/structures/signs.dm b/code/game/objects/structures/signs.dm index be7b072a6f1..f3836a1beb4 100644 --- a/code/game/objects/structures/signs.dm +++ b/code/game/objects/structures/signs.dm @@ -212,6 +212,11 @@ desc = "This plaque commemorates the fall of the Atmos ZAS division. For all the charred, dizzy, and brittle men who have died in its horrible hands." icon_state = "atmosplaque" +/obj/structure/sign/beautyplaque + name = "The Most Beautiful Woman Award for Beauty" + desc = "Don't think, feel! It's like pointing your finger at the singularity. Don't concentrate on your finger, or you'll miss this divine beauty." + icon_state = "beautyplaque" + /obj/structure/sign/kidanplaque name = "Kidan wall trophy" desc = "A dead and stuffed Diona nymph, mounted on a board." diff --git a/code/game/objects/structures/statues.dm b/code/game/objects/structures/statues.dm index 794c47e3b90..95de37c8e40 100644 --- a/code/game/objects/structures/statues.dm +++ b/code/game/objects/structures/statues.dm @@ -396,6 +396,14 @@ anchored = TRUE oreAmount = 0 +/obj/structure/statue/carp_mini + name = "Carp Statue" + desc = "A great inhabitant of space.." + icon = 'icons/obj/statuelarge.dmi' + icon_state = "carp_mini" + max_integrity = 200 + anchored = TRUE + /obj/structure/statue/noble name = "Noble person" desc = "Giant person, not like us... May be a hero from an ancient fairy tale?" @@ -594,3 +602,6 @@ desc = "It's staggering to think that something this big could have lived, let alone died." icon = 'icons/obj/statuelarge.dmi' icon_state = "rib" + anchored = TRUE + obj_flags = NODECONSTRUCT + 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 c42d962ce5a..ea305843f97 100644 --- a/code/game/objects/structures/stool_bed_chair_nest/chairs.dm +++ b/code/game/objects/structures/stool_bed_chair_nest/chairs.dm @@ -455,7 +455,7 @@ new stack_type(get_turf(loc)) qdel(src) -/obj/item/chair/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/chair/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(attack_type == UNARMED_ATTACK && prob(hit_reaction_chance)) owner.visible_message(span_danger("[owner] fends off [attack_text] with [src]!")) return TRUE diff --git a/code/game/turfs/simulated/floor/fancy_floor.dm b/code/game/turfs/simulated/floor/fancy_floor.dm index 5f629e09cbc..a21c141478c 100644 --- a/code/game/turfs/simulated/floor/fancy_floor.dm +++ b/code/game/turfs/simulated/floor/fancy_floor.dm @@ -48,6 +48,10 @@ nitrogen = 82 temperature = 180 +/turf/simulated/floor/wood/dark + icon_state = "dark-wood" + floor_tile = /obj/item/stack/tile/wood/dark + /turf/simulated/floor/wood/oak icon_state = "wood-oak" floor_tile = /obj/item/stack/tile/wood/oak diff --git a/code/modules/actionspeed/modifiers/mobs.dm b/code/modules/actionspeed/modifiers/mobs.dm index 1a25e7cbaef..5eadf37acf8 100644 --- a/code/modules/actionspeed/modifiers/mobs.dm +++ b/code/modules/actionspeed/modifiers/mobs.dm @@ -7,3 +7,6 @@ category = DA_CAT_TOOL variable = TRUE +/datum/actionspeed_modifier/borer_arm_focus + category = DA_CAT_ALL + multiplicative_slowdown = -0.5 diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index 33cdeb00828..b61a2ad5162 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -730,10 +730,6 @@ GLOBAL_VAR_INIT(nologevent, 0) antag_list += "Changeling" if(M.mind in SSticker.mode.abductors) antag_list += "Abductor" - if(M.mind.has_antag_datum(/datum/antagonist/goon_vampire)) - antag_list += "Goon Vampire" - if(M.mind.has_antag_datum(/datum/antagonist/mindslave/goon_thrall)) - antag_list += "Goon Vampire Thrall" if(M.mind.has_antag_datum(/datum/antagonist/vampire)) antag_list += "Vampire" if(M.mind.has_antag_datum(/datum/antagonist/mindslave/thrall)) diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm index dafcf6beaae..f82ab795574 100644 --- a/code/modules/admin/player_panel.dm +++ b/code/modules/admin/player_panel.dm @@ -430,7 +430,9 @@ dat += "Send warning to all living blobs
" dat += "Burst all blobs
" if(check_rights(R_EVENT)) - dat += "Delay blob end
" + dat += "Delay blob end Now: [mode.delay_blob_end? "ON" : "OFF"]
" + dat += "Toggle auto GAMMA Now: [mode.off_auto_gamma? "OFF" : "ON"]
" + dat += "Toggle auto nuke codes Now: [mode.off_auto_nuke_codes? "OFF" : "ON"]
" dat += "" dat += "
" for(var/datum/mind/blob in mode.blobs["infected"]) diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm index e968255cae0..7a105876f36 100644 --- a/code/modules/admin/topic.dm +++ b/code/modules/admin/topic.dm @@ -2003,15 +2003,52 @@ else if(href_list["delay_blob_end"]) if(!check_rights(R_ADMIN) || !check_rights(R_EVENT)) return - if(alert(usr,"Вы действительно хотите преостановить конец раунда в случае победы блоба?", "", "Да", "Нет") == "Нет") + + if(!SSticker || !SSticker.mode) + return + var/datum/game_mode/mode = SSticker.mode + if(tgui_alert(usr,"Вы действительно хотите [mode.delay_blob_end? "вернуть" : "преостановить"] конец раунда в случае победы блоба?", "", list("Да", "Нет")) == "Нет") + return + + if(!mode.delay_blob_end) + mode.delay_blob_win() + else + mode.return_blob_win() + + log_admin("[key_name(usr)] has [mode.delay_blob_end? "stopped" : "returned"] stopped delayed blob win") + message_admins("[key_name_admin(usr)] has [mode.delay_blob_end? "stopped" : "returned"] delayed blob win") + + else if(href_list["toggle_auto_nuke_codes"]) + if(!check_rights(R_ADMIN)) + return + + if(!SSticker || !SSticker.mode) + return + + var/datum/game_mode/mode = SSticker.mode + if(tgui_alert(usr,"Вы действительно хотите [mode.off_auto_nuke_codes? "вернуть" : "убрать"] автоматические коды от ядерной боеголовки?", "", list("Да", "Нет")) == "Нет") + return + + mode.off_auto_nuke_codes = !mode.off_auto_nuke_codes + + log_admin("[key_name(usr)] has [mode.off_auto_nuke_codes? "remove" : "returned"] automatic nuke codes") + message_admins("[key_name_admin(usr)] has [mode.off_auto_nuke_codes? "remove" : "returned"] automatic nuke codes") + + else if(href_list["toggle_auto_gamma"]) + if(!check_rights(R_ADMIN) || !check_rights(R_EVENT)) return if(!SSticker || !SSticker.mode) return - SSticker.mode.delay_blob_win() - log_admin("[key_name(usr)] has stopped delayed blob win") - message_admins("[key_name_admin(usr)] has stopped delayed blob win") + var/datum/game_mode/mode = SSticker.mode + if(tgui_alert(usr,"Вы действительно хотите [mode.off_auto_gamma? "вернуть" : "убрать"] автоматический ГАММА код?", "", list("Да", "Нет")) == "Нет") + return + + mode.off_auto_gamma = !mode.off_auto_gamma + + log_admin("[key_name(usr)] has [mode.off_auto_gamma? "remove" : "returned"] automatic GAMMA code") + message_admins("[key_name_admin(usr)] has [mode.off_auto_gamma? "remove" : "returned"] automatic GAMMA code") else if(href_list["team_command"]) if(!check_rights(R_ADMIN)) diff --git a/code/modules/antagonists/blob/blob_infected_datum.dm b/code/modules/antagonists/blob/blob_infected_datum.dm index b1f9cebee88..bf21c456d32 100644 --- a/code/modules/antagonists/blob/blob_infected_datum.dm +++ b/code/modules/antagonists/blob/blob_infected_datum.dm @@ -11,42 +11,46 @@ clown_removal_text = "Избавившись от заражения блобом ты возвращаешься к своему неуклюжему, клоунскому \"я\"." show_in_roundend = FALSE show_in_orbit = FALSE - //Variable responsible for the need to add a mind to blob_infected list in game mode. + /// Variable responsible for the need to add a mind to blob_infected list in game mode. var/add_to_mode = TRUE - //Countdown to burst start. + /// Countdown to burst start. var/start_process = TRUE - //Warnings about soon burst start. + /// Warnings about soon burst start. var/start_messages = FALSE - //Is a new blob needed from the station crew if this one dies when trying to burst outside the station. + /// Is a new blob needed from the station crew if this one dies when trying to burst outside the station. var/need_new_blob = FALSE - //Blob in the countdown to burst. + /// Blob in the countdown to burst. var/is_processing = FALSE - //Сountdown to burst process is interrupted. + /// Сountdown to burst process is interrupted. var/stop_process = FALSE - //Need to warn about an attempt to burst outside the station. + /// Need to warn about an attempt to burst outside the station. var/warn_blob = TRUE - //Time elapsed from the start of the countdown to the bursting. + /// Time elapsed from the start of the countdown to the bursting. var/burst_waited_time = 0 - //Time elapsed from last burst warning message. + /// Time elapsed from last burst warning message. var/message_time = 0 - //Was there a transformation into a blob when bursting. + /// Was there a transformation into a blob when bursting. var/is_tranformed = FALSE - //Maximum time to burst. + /// Maximum time to burst. var/time_to_burst_hight = TIME_TO_BURST_ADDED_HIGHT - //Minimum time to burst. + /// Minimum time to burst. var/time_to_burst_low = TIME_TO_BURST_ADDED_LOW - //Blob infected hud screen. + /// Blob infected hud screen. var/atom/movable/screen/time_to_burst_display - //Blob talk ability + /// Blob talk ability var/datum/action/innate/blob/comm/blob_talk_action - //Blob burst ability + /// Blob burst ability var/datum/action/innate/blob/self_burst/blob_burst_action - //Final time to burst. + /// Final time to burst. var/burst_wait_time - //Total burst warning text + /// Total burst warning text var/player_message + /// valid mob type + var/mob_type /datum/antagonist/blob_infected/on_gain() + if(!is_type_suitable(owner.current)) + stack_trace("This antag datum cannot be attached to a mob of this type.") add_game_logs("has been blobized", owner) var/return_value = ..() burst_wait_time = rand(time_to_burst_low, time_to_burst_hight) @@ -86,21 +90,22 @@ /datum/antagonist/blob_infected/apply_innate_effects(mob/living/mob_override) - var/user = ..(mob_override) + var/mob/living/user = ..(mob_override) add_blob_actions(user) add_burst_display(user) + add_atmos_immunity(user) is_processing = TRUE return user /datum/antagonist/blob_infected/remove_innate_effects(mob/living/mob_override) - var/user = ..(mob_override) + var/mob/living/user = ..(mob_override) remove_blob_actions(user) remove_burst_display(user) + remove_atmos_immunity(user) is_processing = FALSE return user - /datum/antagonist/blob_infected/roundend_report_header() return @@ -120,6 +125,8 @@ SEND_SOUND(owner.current, 'sound/magic/mutate.ogg') return messages +/datum/antagonist/blob_infected/proc/is_type_suitable(mob/living/affected) + return mob_type && istype(affected, mob_type) /datum/antagonist/blob_infected/proc/process_blob_player() if(stop_process) @@ -194,6 +201,18 @@ hud.show_hud(hud.hud_version) +/datum/antagonist/blob_infected/proc/add_atmos_immunity(mob/living/affected) + if(is_type_suitable(affected)) + return TRUE + return FALSE + + +/datum/antagonist/blob_infected/proc/remove_atmos_immunity(mob/living/affected) + if(is_type_suitable(affected)) + return TRUE + return FALSE + + /datum/antagonist/blob_infected/proc/burst_blob_in_space(warned=FALSE) if(!owner || !owner.current) return @@ -253,6 +272,7 @@ overmind.is_tranformed = TRUE return overmind + /datum/antagonist/blob_infected/proc/kill_borer_inside() var/mob/living/simple_animal/borer/borer = owner?.current?.has_brain_worms() if(borer) @@ -260,6 +280,61 @@ borer.death() +/datum/antagonist/blob_infected/human + mob_type = /mob/living/carbon/human + + +/datum/antagonist/blob_infected/human/add_atmos_immunity(mob/living/carbon/human/affected) + if(..(affected)) + var/datum/species/S = affected.dna.species + if(!HAS_TRAIT_FROM(affected, TRAIT_NO_BREATH, BLOB_INFECTED_TRAIT)) + ADD_TRAIT(affected, TRAIT_NO_BREATH, BLOB_INFECTED_TRAIT) + S.cold_level_1 = BLOB_INFECTED_MIN_BODY_TEMP + S.cold_level_2 = BLOB_INFECTED_MIN_BODY_TEMP + S.cold_level_3 = BLOB_INFECTED_MIN_BODY_TEMP + S.warning_low_pressure = BLOB_INFECTED_MIN_PRESSURE + S.hazard_low_pressure = BLOB_INFECTED_MIN_PRESSURE + return TRUE + return FALSE + + +/datum/antagonist/blob_infected/human/remove_atmos_immunity(mob/living/carbon/human/affected) + if(..(affected)) + var/datum/species/S = affected.dna.species + if(HAS_TRAIT_FROM(affected, TRAIT_NO_BREATH, BLOB_INFECTED_TRAIT)) + REMOVE_TRAIT_NOT_FROM(affected, TRAIT_NO_BREATH, BLOB_INFECTED_TRAIT) + S.cold_level_1 = initial(S.cold_level_1) + S.cold_level_2 = initial(S.cold_level_2) + S.cold_level_3 = initial(S.cold_level_3) + S.warning_low_pressure = initial(S.warning_low_pressure) + S.hazard_low_pressure = initial(S.hazard_low_pressure) + return TRUE + return FALSE + + +/datum/antagonist/blob_infected/simple_animal + mob_type = /mob/living/simple_animal + /// Contains mob atmos that existed before the change + var/list/old_atmos_requirements + + +/datum/antagonist/blob_infected/simple_animal/add_atmos_immunity(mob/living/simple_animal/affected) + if(..(affected)) + old_atmos_requirements = affected.atmos_requirements + affected.atmos_requirements = BLOB_INFECTED_ATMOS_REC + affected.minbodytemp = BLOB_INFECTED_MIN_BODY_TEMP + return TRUE + return FALSE + + +/datum/antagonist/blob_infected/simple_animal/remove_atmos_immunity(mob/living/simple_animal/affected) + if(..(affected)) + affected.atmos_requirements = old_atmos_requirements + affected.minbodytemp = initial(affected.minbodytemp) + return TRUE + return FALSE + + /** * Takes any datum `source` and checks it for blob_infected datum. */ diff --git a/code/modules/antagonists/blob/blob_overmind_datum.dm b/code/modules/antagonists/blob/blob_overmind_datum.dm index 52f748fb62e..ecd9631f335 100644 --- a/code/modules/antagonists/blob/blob_overmind_datum.dm +++ b/code/modules/antagonists/blob/blob_overmind_datum.dm @@ -7,13 +7,13 @@ russian_wiki_name = "Блоб" show_in_roundend = FALSE show_in_orbit = FALSE - //Variable responsible for the need to add a mind to blob_infected list in game mode + /// Variable responsible for the need to add a mind to blob_infected list in game mode var/add_to_mode = TRUE - //Is a blob a offspring of another blob. + /// Is a blob a offspring of another blob. var/is_offspring = FALSE - //Was the blob with this datum bursted blob_infected. + /// Was the blob with this datum bursted blob_infected. var/is_tranformed = FALSE - //Link to the datum of the selected blob reagent. + /// Link to the datum of the selected blob reagent. var/datum/reagent/blob/reagent /datum/antagonist/blob_overmind/on_gain() diff --git a/code/modules/antagonists/borer/borer_action.dm b/code/modules/antagonists/borer/borer_action.dm new file mode 100644 index 00000000000..9d2420fd37f --- /dev/null +++ b/code/modules/antagonists/borer/borer_action.dm @@ -0,0 +1,118 @@ +/datum/action/innate/borer + background_icon_state = "bg_alien" + +/datum/action/innate/borer/talk_to_host + name = "Converse with Host" + desc = "Send a silent message to your host." + button_icon_state = "alien_whisper" + +/datum/action/innate/borer/talk_to_host/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.Communicate() + +/datum/action/innate/borer/toggle_hide + name = "Toggle Hide" + desc = "Become invisible to the common eye. Toggled on or off." + button_icon_state = "borer_hiding_false" + +/datum/action/innate/borer/toggle_hide/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.hide_borer() + button_icon_state = "borer_hiding_[borer.hiding ? "true" : "false"]" + UpdateButtonIcon() + +/datum/action/innate/borer/talk_to_borer + name = "Converse with Borer" + desc = "Communicate mentally with your borer." + button_icon_state = "alien_whisper" + +/datum/action/innate/borer/talk_to_borer/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.borer_comm() + +/datum/action/innate/borer/talk_to_brain + name = "Converse with Trapped Mind" + desc = "Communicate mentally with the trapped mind of your host." + button_icon_state = "alien_whisper" + +/datum/action/innate/borer/talk_to_brain/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.trapped_mind_comm() + +/datum/action/innate/borer/take_control + name = "Assume Control" + desc = "Fully connect to the brain of your host." + button_icon_state = "borer_brain" + +/datum/action/innate/borer/take_control/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.bond_brain() + +/datum/action/innate/borer/give_back_control + name = "Release Control" + desc = "Release control of your host's body." + button_icon_state = "borer_leave" + +/datum/action/innate/borer/give_back_control/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.release_control() + +/datum/action/innate/borer/leave_body + name = "Release Host" + desc = "Slither out of your host." + button_icon_state = "borer_leave" + +/datum/action/innate/borer/leave_body/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.release_host() + +/datum/action/innate/borer/make_chems + name = "Secrete Chemicals" + desc = "Push some chemicals into your host's bloodstream." + button_icon_state = "fleshmend" + +/datum/action/innate/borer/make_chems/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.secrete_chemicals() + +/datum/action/innate/borer/make_larvae + name = "Reproduce" + desc = "Spawn several young." + button_icon_state = "borer_reproduce" + +/datum/action/innate/borer/make_larvae/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.spawn_larvae() + +/datum/action/innate/borer/torment + name = "Torment Host" + desc = "Punish your host with agony." + button_icon_state = "blind" + +/datum/action/innate/borer/torment/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.punish_host() + +/datum/action/innate/borer/sneak_mode + name = "Sneak mode" + desc = "Hides your status from medical huds." + button_icon_state = "chameleon_skin" + +/datum/action/innate/borer/sneak_mode/Activate() + var/mob/living/simple_animal/borer/borer = owner.has_brain_worms() + borer.host = owner + borer.host.sneak_mode() + +/datum/action/innate/borer/focus_menu + name = "Focus menu" + desc = "Reinforce your host." + button_icon_state = "human_form" + +/datum/action/innate/borer/focus_menu/Activate() + var/mob/living/simple_animal/borer/borer = owner + borer.focus_menu() diff --git a/code/modules/antagonists/borer/borer_datum.dm b/code/modules/antagonists/borer/borer_datum.dm new file mode 100644 index 00000000000..de9c3e868bb --- /dev/null +++ b/code/modules/antagonists/borer/borer_datum.dm @@ -0,0 +1,236 @@ +/datum/antagonist/borer + name = "Cortical borer" + show_in_roundend = FALSE + job_rank = ROLE_BORER + special_role = SPECIAL_ROLE_BORER + var/mob/living/simple_animal/borer/user // our borer + var/mob/living/carbon/human/host // our host + var/mob/living/carbon/human/previous_host // previous host, used to del transferable effects from previous host. + + var/datum/borer_rank/borer_rank + var/list/learned_focuses = list() // what focuses learned borer + var/datum/borer_misc/change_host_and_scale/scaling = new // chemical scaling, gained when acquired unique host + + var/reproductions = 0 // used to upgrade rank + var/evo_points = 0 // used for borer shopping, gained by reproductions + + var/tick_interval = 1 SECONDS + +/datum/antagonist/borer/apply_innate_effects(mob/living/simple_animal/borer/borer) + . = ..() + + sync() + RegisterSignal(user, COMSIG_BORER_ENTERED_HOST, PROC_REF(entered_host)) + RegisterSignal(user, COMSIG_BORER_LEFT_HOST, PROC_REF(left_host)) + RegisterSignal(user, COMSIG_MOB_DEATH, PROC_REF(on_mob_death)) + RegisterSignal(user, COMSIG_LIVING_REVIVE, PROC_REF(on_mob_revive)) + + if(tick_interval != -1) + tick_interval = world.time + tick_interval + + if(!(tick_interval > world.time)) + return FALSE + + if(user.stat != DEAD) + START_PROCESSING(SSprocessing, src) + + return TRUE + +/datum/antagonist/borer/proc/sync() + user = owner.current + host = user.host + previous_host = host + parent_sync() + return + +/datum/antagonist/borer/proc/parent_sync() + scaling?.parent = src + borer_rank.parent = src + + if(!LAZYLEN(learned_focuses)) + return + + for(var/datum/borer_focus/focus as anything in learned_focuses) + focus.parent = src + + return + +/datum/antagonist/borer/greet() + var/list/messages = list() + messages.Add(span_notice("Вы - Мозговой Червь!")) + messages.Add("Забирайтесь в голову своей жертвы, используйте скрытность, убеждение и свои способности к управлению разумом, чтобы сохранить себя, своё потомство и своего носителя в безопасности и тепле.") + messages.Add("Сахар сводит на нет ваши способности, избегайте его любой ценой!") + messages.Add("Вы можете разговаривать со своими коллегами-борерами, используя '[get_language_prefix(LANGUAGE_HIVE_BORER)]'.") + messages.Add("Воспроизведение себе подобных увеличивает количество эволюционных очков и позволяет перейти на следующий ранг.") + return messages + +/datum/antagonist/borer/proc/post_reproduce() + reproductions++ + evo_points++ + + if(!borer_rank?.required_reproductions) + return + + if(reproductions < borer_rank.required_reproductions) + return + + reproductions -= borer_rank.required_reproductions + update_rank() + + return + +/datum/antagonist/borer/proc/process_focus_choice(datum/borer_focus/focus) + if(!user || !host || user.stat || user.docile) + return + + if(locate(focus) in learned_focuses) + to_chat(user, span_notice("Вы не можете изучить уже изученный фокус.")) + return + + if(evo_points >= focus.cost) + evo_points -= focus.cost + learned_focuses += new focus(user) + + pre_grant_movable_effect() + to_chat(user, span_notice("Вы успешно приобрели [focus.bodypartname]")) + return + + to_chat(user, span_notice("Вам требуется еще [focus.cost - evo_points] очков эволюции для получения [focus.bodypartname].")) + return + +/datum/antagonist/borer/proc/entered_host() + SIGNAL_HANDLER + + host = user.host + previous_host = user.host + + pre_grant_movable_effect() + +/datum/antagonist/borer/proc/left_host() + SIGNAL_HANDLER + + host = null + + pre_remove_movable_effect() + previous_host = null + +/datum/antagonist/borer/proc/pre_grant_movable_effect() + if(QDELETED(user) || QDELETED(host)) + return + + for(var/datum/borer_focus/focus as anything in learned_focuses) + if(focus.movable_granted) + continue + + focus.movable_granted = TRUE + if(!host.ckey) + focus.is_catathonic = TRUE + + focus.grant_movable_effect() + + scaling?.grant_movable_effect() + + return + +/datum/antagonist/borer/proc/pre_remove_movable_effect() + if(QDELETED(user) || QDELETED(previous_host)) + return + + for(var/datum/borer_focus/focus as anything in learned_focuses) + if(!focus.movable_granted) + continue + + focus.movable_granted = FALSE + focus.remove_movable_effect() + focus.is_catathonic = FALSE // now we can set it manually without checks. + + return + +/datum/antagonist/borer/Destroy(force) + UnregisterSignal(user, list( + COMSIG_BORER_ENTERED_HOST, + COMSIG_BORER_LEFT_HOST, + COMSIG_MOB_DEATH, + COMSIG_LIVING_REVIVE + )) + pre_remove_movable_effect() + STOP_PROCESSING(SSprocessing, src) + + QDEL_NULL(borer_rank) + QDEL_NULL(learned_focuses) + QDEL_NULL(scaling) + + user = null + host = null + previous_host = null + + return ..() + +/datum/antagonist/borer/proc/on_mob_death() + SIGNAL_HANDLER + + STOP_PROCESSING(SSprocessing, src) + +/datum/antagonist/borer/proc/on_mob_revive() + SIGNAL_HANDLER + + if(tick_interval > world.time) + START_PROCESSING(SSprocessing, src) + +/datum/antagonist/borer/process(seconds_per_tick) + if(QDELETED(user)) + qdel(src) + return + + if(tick_interval != -1 && tick_interval <= world.time) + var/tick_length = initial(tick_interval) + + for(var/datum/borer_focus/focus as anything in learned_focuses) + focus.tick(tick_length / (1 SECONDS)) + + borer_rank.tick(tick_length / (1 SECONDS)) + tick_interval = world.time + tick_length + + if(QDELING(src)) + return + +/datum/antagonist/borer/proc/update_rank() + switch(borer_rank.type) + if(BORER_RANK_YOUNG) + borer_rank = new BORER_RANK_MATURE(user) + if(BORER_RANK_MATURE) + borer_rank = new BORER_RANK_ADULT(user) + if(BORER_RANK_ADULT) + borer_rank = new BORER_RANK_ELDER(user) + + to_chat(user.controlling ? host : user, span_notice("Вы эволюционировали. Ваш текущий ранг - [borer_rank.rankname].")) + return TRUE + +/datum/borer_misc // category for small datums. + var/datum/antagonist/borer/parent + var/movable_granted = FALSE + +/datum/borer_misc/Destroy(force) + parent = null + return ..() + +/datum/borer_misc/proc/grant_movable_effect() + return + +/datum/borer_misc/change_host_and_scale + var/list/used_UIDs = list() + +/datum/borer_misc/change_host_and_scale/grant_movable_effect() + if(parent.user.max_chems >= SCALING_MAX_CHEM) + qdel(src) + return + + if(parent.host.ckey && !LAZYIN(parent.host.UID(), used_UIDs)) + parent.user.max_chems += SCALING_CHEM_GAIN + used_UIDs += parent.host.UID() + + return TRUE + +/datum/borer_misc/change_host_and_scale/Destroy(force) + LAZYNULL(used_UIDs) + return ..() diff --git a/code/modules/antagonists/borer/borer_focus.dm b/code/modules/antagonists/borer/borer_focus.dm new file mode 100644 index 00000000000..49bfcd01aaa --- /dev/null +++ b/code/modules/antagonists/borer/borer_focus.dm @@ -0,0 +1,127 @@ +/datum/borer_focus + var/bodypartname = "Focus" + var/cost = 0 + var/datum/antagonist/borer/parent + var/movable_granted = FALSE + var/is_catathonic = FALSE // Ckey isn't a constant value. So, check only on this. + +/datum/borer_focus/New(mob/living/simple_animal/borer/borer) + parent = borer.antag_datum + +/datum/borer_focus/proc/tick(seconds_between_ticks) + return + +/datum/borer_focus/proc/grant_movable_effect() + return + +/datum/borer_focus/proc/remove_movable_effect() + return + +/datum/borer_focus/Destroy(force) + parent = null + return ..() + +/datum/borer_focus/head + bodypartname = "Head focus" + cost = HEAD_FOCUS_COST + +/datum/borer_focus/torso + bodypartname = "Body focus" + cost = TORSO_FOCUS_COST + var/obj/item/organ/internal/heart/linked_organ + +/datum/borer_focus/hands + bodypartname = "Hands focus" + cost = HANDS_FOCUS_COST + +/datum/borer_focus/legs + bodypartname = "Legs focus" + cost = LEGS_FOCUS_COST + +/datum/borer_focus/head/grant_movable_effect() + if(!is_catathonic) + parent.host.physiology.brain_mod *= 0.85 + parent.host.physiology.hunger_mod *= 0.75 + parent.host.stam_regen_start_modifier *= 0.875 + return TRUE + + parent.host.physiology.brain_mod *= 0.7 + parent.host.physiology.hunger_mod *= 0.5 + parent.host.stam_regen_start_modifier *= 0.75 + return TRUE + +/datum/borer_focus/head/remove_movable_effect() + if(!is_catathonic) + parent.host.physiology.brain_mod /= 0.85 + parent.host.physiology.hunger_mod /= 0.75 + parent.host.stam_regen_start_modifier /= 0.875 + return TRUE + + parent.previous_host.physiology.brain_mod /= 0.7 + parent.previous_host.physiology.hunger_mod /= 0.3 + parent.previous_host.stam_regen_start_modifier /= 0.75 + return TRUE + +/datum/borer_focus/head/tick(seconds_between_ticks) + if(!parent.user.controlling && parent.host?.stat != DEAD) + parent.host?.adjustBrainLoss(-1) + +/datum/borer_focus/torso/grant_movable_effect() + if(!is_catathonic) + parent.host.physiology.brute_mod *= 0.9 + return TRUE + + parent.host.physiology.brute_mod *= 0.8 + return TRUE + +/datum/borer_focus/torso/remove_movable_effect() + if(!is_catathonic) + parent.host.physiology.brute_mod /= 0.9 + return TRUE + + parent.previous_host.physiology.brute_mod /= 0.8 + return TRUE + +/datum/borer_focus/torso/tick(seconds_between_ticks) + if(parent.host?.stat == DEAD) + return + + linked_organ = parent.host?.get_int_organ(/obj/item/organ/internal/heart) + if(!linked_organ) + return + + parent.host?.set_heartattack(FALSE) + +/datum/borer_focus/torso/Destroy(force) + linked_organ = null + return ..() + +/datum/borer_focus/hands/grant_movable_effect() + parent.host.add_actionspeed_modifier(/datum/actionspeed_modifier/borer_arm_focus) + parent.host.physiology.punch_damage_low += 7 + parent.host.physiology.punch_damage_high += 5 + parent.host.next_move_modifier *= 0.75 + return TRUE + +/datum/borer_focus/hands/remove_movable_effect() + parent.previous_host.remove_actionspeed_modifier(/datum/actionspeed_modifier/borer_arm_focus) + parent.previous_host.physiology.punch_damage_low -= 7 + parent.previous_host.physiology.punch_damage_high -= 5 + parent.previous_host.next_move_modifier /= 0.75 + return TRUE + +/datum/borer_focus/legs/grant_movable_effect() + if(!is_catathonic) + parent.host.add_movespeed_modifier(/datum/movespeed_modifier/borer_leg_focus/lesser) + return TRUE + + parent.host.add_movespeed_modifier(/datum/movespeed_modifier/borer_leg_focus) + return TRUE + +/datum/borer_focus/legs/remove_movable_effect() + if(!is_catathonic) + parent.previous_host.remove_movespeed_modifier(/datum/movespeed_modifier/borer_leg_focus/lesser) + return TRUE + + parent.previous_host.remove_movespeed_modifier(/datum/movespeed_modifier/borer_leg_focus) + return TRUE diff --git a/code/modules/antagonists/borer/borer_rank.dm b/code/modules/antagonists/borer/borer_rank.dm new file mode 100644 index 00000000000..ca1dde7becf --- /dev/null +++ b/code/modules/antagonists/borer/borer_rank.dm @@ -0,0 +1,72 @@ +/datum/borer_rank + var/rankname = "Error" + var/required_reproductions = null // how many reproductions we need to gain new rank + var/datum/antagonist/borer/parent + var/mob/living/simple_animal/borer/owner + +/datum/borer_rank/Destroy(force) + parent = null + owner = null + return ..() + +/datum/borer_rank/New(mob/living/simple_animal/borer/borer) + owner = borer + parent = borer.antag_datum + on_apply() + +/datum/borer_rank/proc/on_apply() + return + +/datum/borer_rank/proc/tick(seconds_between_ticks) + return + +/datum/borer_rank/young + rankname = "Young" + required_reproductions = REPRODUCTIONS_TO_MATURE + +/datum/borer_rank/mature + rankname = "Mature" + required_reproductions = REPRODUCTIONS_TO_ADULT + +/datum/borer_rank/adult + rankname = "Adult" + required_reproductions = REPRODUCTIONS_TO_ELDER + +/datum/borer_rank/elder + rankname = "Elder" + +/datum/borer_rank/young/on_apply() + owner.update_transform(0.5) // other ranks should be gained and processed only with antag datum + return TRUE + +/datum/borer_rank/mature/on_apply() + parent.user.update_transform(2) + parent.user.maxHealth += 5 + return TRUE + +/datum/borer_rank/adult/on_apply() + parent.user.maxHealth += 5 + return TRUE + +/datum/borer_rank/elder/on_apply() + parent.user.maxHealth += 10 + return TRUE + +/datum/borer_rank/young/tick(seconds_between_ticks) + parent.user.adjustHealth(-0.1) + +/datum/borer_rank/mature/tick(seconds_between_ticks) + parent.user.adjustHealth(-0.15) + +/datum/borer_rank/adult/tick(seconds_between_ticks) + parent.user.adjustHealth(-0.2) + + if(parent.host?.stat != DEAD && !parent.user.sneaking) + parent.user.chemicals += 0.2 + +/datum/borer_rank/elder/tick(seconds_between_ticks) + parent.user.adjustHealth(-0.3) + + if(parent.host?.stat != DEAD) + parent.host?.heal_overall_damage(0.4, 0.4) + parent.user.chemicals += 0.3 diff --git a/code/game/gamemodes/miniantags/borer/borer_chemicals.dm b/code/modules/antagonists/borer/borer_reagent.dm similarity index 50% rename from code/game/gamemodes/miniantags/borer/borer_chemicals.dm rename to code/modules/antagonists/borer/borer_reagent.dm index 4176ca15e73..cff185cccf1 100644 --- a/code/game/gamemodes/miniantags/borer/borer_chemicals.dm +++ b/code/modules/antagonists/borer/borer_reagent.dm @@ -1,51 +1,40 @@ -/datum/borer_chem - var/chemname - var/chemdesc = "This is a chemical" +/// borer roundstart reagents located at GLOB.borer_reagents. +/datum/reagent + var/chemdesc // borer special chemical description. var/chemuse = 30 var/quantity = 10 -/datum/borer_chem/capulettium_plus - chemname = "capulettium_plus" +/datum/reagent/capulettium_plus chemdesc = "Silences and masks pulse." - -/datum/borer_chem/charcoal - chemname = "charcoal" + +/datum/reagent/medicine/charcoal chemdesc = "Slowly heals toxin damage, also slowly removes other chemicals." - -/datum/borer_chem/epinephrine - chemname = "epinephrine" + +/datum/reagent/medicine/epinephrine chemdesc = "Stabilizes critical condition and slowly heals suffocation damage." - -/datum/borer_chem/fliptonium - chemname = "fliptonium" + +/datum/reagent/fliptonium chemdesc = "Causes uncontrollable flipping." chemuse = 50 - -/datum/borer_chem/hydrocodone - chemname = "hydrocodone" + +/datum/reagent/medicine/hydrocodone chemdesc = "An extremely strong painkiller." - -/datum/borer_chem/mannitol - chemname = "mannitol" + +/datum/reagent/medicine/mannitol chemdesc = "Heals brain damage." - -/datum/borer_chem/methamphetamine - chemname = "methamphetamine" + +/datum/reagent/methamphetamine chemdesc = "Reduces stun times and increases stamina. Deals small amounts of brain damage." chemuse = 50 - -/datum/borer_chem/mitocholide - chemname = "mitocholide" + +/datum/reagent/medicine/mitocholide chemdesc = "Heals internal organ damage." - -/datum/borer_chem/salbutamol - chemname = "salbutamol" + +/datum/reagent/medicine/salbutamol chemdesc = "Heals suffocation damage." - -/datum/borer_chem/salglu_solution - chemname = "salglu_solution" + +/datum/reagent/medicine/salglu_solution chemdesc = "Slowly heals brute and burn damage, also slowly restores blood." -/datum/borer_chem/spaceacillin - chemname = "spaceacillin" +/datum/reagent/medicine/spaceacillin chemdesc = "Slows progression of diseases and fights infections." diff --git a/code/modules/antagonists/borer/borer_spell.dm b/code/modules/antagonists/borer/borer_spell.dm new file mode 100644 index 00000000000..17dccb64704 --- /dev/null +++ b/code/modules/antagonists/borer/borer_spell.dm @@ -0,0 +1,142 @@ +/obj/effect/proc_holder/spell/borer_infest + name = "Infest" + desc = "Infest a suitable humanoid host." + base_cooldown = 0 + clothes_req = FALSE + action_icon_state = "infest" + action_background_icon_state = "bg_alien" + selection_activated_message = span_notice("Вы приготовились заразить жертву. Left-click чтобы применить способность!") + selection_deactivated_message = span_notice("Вы прекратили свои попытки заразить жертву.") + need_active_overlay = TRUE + human_req = FALSE + var/infesting = FALSE + +/obj/effect/proc_holder/spell/borer_infest/create_new_targeting() + var/datum/spell_targeting/click/T = new() + T.range = 1 + T.click_radius = -1 + return T + +/obj/effect/proc_holder/spell/borer_infest/can_cast(mob/living/user, charge_check = TRUE, show_message = FALSE) + + if (is_ventcrawling(user) || !src || user.stat || infesting) + return FALSE + + . = ..() + +/obj/effect/proc_holder/spell/borer_infest/valid_target(mob/living/carbon/human/target, user) + return istype(target) && target.stat != DEAD && !ismachineperson(target) + +/obj/effect/proc_holder/spell/borer_infest/cast(list/targets, mob/living/simple_animal/borer/user) + var/mob/living/carbon/human/target = targets[1] + + if(!target) + return + + infesting = TRUE + to_chat(user, "Вы подползаете к [target] и начинаете искать [genderize_ru(target.gender,"его","её","его","их" )] слуховой проход...") + + if(!do_after(user, 5 SECONDS, target, NONE)) + to_chat(user, "Как только [target] отходит, вы срываетесь и падаете на пол.") + infesting = FALSE + return + + if(target.has_brain_worms()) + to_chat(user, span_warning("[target] уже заражён!")) + infesting = FALSE + return + + infesting = FALSE + user.host = target + add_attack_logs(user, user.host, "Infested as borer") + target.borer = user + user.forceMove(target) + user.host.status_flags |= PASSEMOTES + + user.RemoveBorerActions() + user.RemoveBorerSpells() + user.GrantInfestActions() + + to_chat(user, span_boldnotice("Вы можете анализировать здоровье носителя при помощи Left-click.")) + SEND_SIGNAL(user, COMSIG_BORER_ENTERED_HOST) + +/obj/effect/proc_holder/spell/borer_dominate + name = "Dominate Victim" + desc = "Freeze the limbs of a potential host with supernatural fear." + base_cooldown = 30 SECONDS + clothes_req = FALSE + action_icon_state = "genetic_cryo" + action_background_icon_state = "bg_alien" + selection_activated_message = span_notice("Вы приготовились поразить жертву. Left-click чтобы применить способность!") + selection_deactivated_message = span_notice("Вы решили дать своей жертве шанс. Пока что.") + need_active_overlay = TRUE + human_req = FALSE + +/obj/effect/proc_holder/spell/borer_dominate/create_new_targeting() + var/datum/spell_targeting/click/T = new() + T.range = 3 + T.click_radius = -1 + return T + +/obj/effect/proc_holder/spell/borer_dominate/can_cast(mob/living/user, charge_check = TRUE, show_message = FALSE) + + if (is_ventcrawling(user) || !src || user.stat) + return FALSE + . = ..() + +/obj/effect/proc_holder/spell/borer_dominate/valid_target(mob/living/carbon/human/target, user) + return istype(target) && target.stat != DEAD + +/obj/effect/proc_holder/spell/borer_dominate/cast(list/targets, mob/living/simple_animal/borer/user) + var/mob/living/carbon/human/target = targets[1] + + if(target.has_brain_worms()) + to_chat(user, span_warning("Вы не можете позволить себе сделать это с тем, кто уже заражён..")) + return + + to_chat(user, span_warning("Вы пронзили разум [target] пси-потоком, парализуя [genderize_ru(target.gender,"его","её","его","их" )] конечности волной первородного ужаса!")) + to_chat(target, span_warning("Вы чувствуете, как на вас наваливается жуткое чувство страха, леденящее конечности и заставляющее сердце бешено колотиться.")) + target.Weaken(6 SECONDS) + +/obj/effect/proc_holder/spell/borer_force_say + name = "Speak as host" + desc = "Force your host to say something." + + base_cooldown = 15 + + clothes_req = FALSE + human_req = FALSE + + action_icon = 'icons/mob/actions/actions_animal.dmi' + action_background_icon_state = "bg_alien" + action_icon_state = "god_transmit" + need_active_overlay = TRUE + + var/evo_cost = 0.3 + +/obj/effect/proc_holder/spell/borer_force_say/create_new_targeting() + return /datum/spell_targeting/self + +/obj/effect/proc_holder/spell/borer_force_say/can_cast(mob/living/simple_animal/borer/user, charge_check = TRUE, show_message = FALSE) + if (user.stat || user.host?.stat) + return FALSE + + if(user.antag_datum.evo_points < evo_cost) + to_chat(user, "Вам требуется еще [evo_cost - user.antag_datum.evo_points] очков эволюции для подчинения голосовых связок хозяина.") + return FALSE + + . = ..() + +/obj/effect/proc_holder/spell/borer_force_say/cast(list/targets, mob/living/simple_animal/borer/user) + var/force_say_content = tgui_input_text(user, "Content:", "Host forcesay") + + if(!force_say_content) + return + + if(user.controlling || user.stat || user.host?.stat || user.antag_datum.evo_points < evo_cost) // we really need that double check + return + + user.host.say(force_say_content) + user.antag_datum.evo_points -= evo_cost + + add_attack_logs(user, user.host, "Forcesaid: [force_say_content]") diff --git a/code/modules/antagonists/changeling/powers/mutations.dm b/code/modules/antagonists/changeling/powers/mutations.dm index dccd19ec70b..b3c07167e2b 100644 --- a/code/modules/antagonists/changeling/powers/mutations.dm +++ b/code/modules/antagonists/changeling/powers/mutations.dm @@ -160,6 +160,7 @@ force = 45 armour_penetration = -30 block_chance = 50 + block_type = MELEE_ATTACKS hitsound = 'sound/weapons/bladeslice.ogg' throwforce = 0 //Just to be on the safe side throw_range = 0 @@ -181,13 +182,7 @@ parent_action.UnregisterSignal(parent_action.owner, COMSIG_MOB_WEAPON_APPEARS) parent_action = null return ..() - - -/obj/item/melee/arm_blade/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 //only blocks melee - return ..() - + /obj/item/melee/arm_blade/afterattack(atom/target, mob/user, proximity, params) if(!proximity) @@ -602,7 +597,7 @@ span_italics("You hear organic matter ripping and tearing!")) -/obj/item/shield/changeling/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/shield/changeling/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(remaining_uses < 1) if(ishuman(loc)) var/mob/living/carbon/human/user = loc diff --git a/code/modules/antagonists/changeling/powers/panacea.dm b/code/modules/antagonists/changeling/powers/panacea.dm index 08a6c99dbd1..3e77f3f6343 100644 --- a/code/modules/antagonists/changeling/powers/panacea.dm +++ b/code/modules/antagonists/changeling/powers/panacea.dm @@ -21,7 +21,8 @@ borer.leave_host() if(iscarbon(user)) var/mob/living/carbon/c_user = user - c_user.vomit(FALSE) + c_user.fakevomit() + c_user.Stun(VOMIT_STUN_TIME) if(iscarbon(user)) var/mob/living/carbon/c_user = user diff --git a/code/modules/antagonists/goon_vampire/goon_vampire_datum.dm b/code/modules/antagonists/goon_vampire/goon_vampire_datum.dm deleted file mode 100644 index 5420e452753..00000000000 --- a/code/modules/antagonists/goon_vampire/goon_vampire_datum.dm +++ /dev/null @@ -1,357 +0,0 @@ -/datum/antagonist/goon_vampire - name = "Goon-Vampire" - antag_hud_type = ANTAG_HUD_VAMPIRE - antag_hud_name = "hudvampire" - special_role = SPECIAL_ROLE_VAMPIRE - /// Total blood drained by vampire over round. - var/bloodtotal = 0 - /// Current amount of blood. - var/bloodusable = 0 - /// Handles the vampire cloak toggle. - var/iscloaking = FALSE - /// List of available powers and passives. - var/list/powers = list() - /// Who the vampire is draining of blood. - var/mob/living/carbon/human/draining - /// Nullrod makes them useless for a short while. - var/nullified = 0 - /// List of the peoples UIDs that we have drained, and how much blood from each one. - var/list/drained_humans = list() - /// A list of powers that vampires unlock. - var/list/upgrade_tiers = list( - /obj/effect/proc_holder/spell/goon_vampire/self/rejuvenate = 0, - /obj/effect/proc_holder/spell/goon_vampire/targetted/hypnotise = 0, - /obj/effect/proc_holder/spell/goon_vampire/glare = 0, - /datum/goon_vampire_passive/vision = 100, - /obj/effect/proc_holder/spell/goon_vampire/self/shapeshift = 100, - /obj/effect/proc_holder/spell/goon_vampire/self/cloak = 150, - /obj/effect/proc_holder/spell/goon_vampire/targetted/disease = 150, - /obj/effect/proc_holder/spell/goon_vampire/bats = 200, - /obj/effect/proc_holder/spell/goon_vampire/self/screech = 200, - /datum/goon_vampire_passive/regen = 200, - /obj/effect/proc_holder/spell/goon_vampire/shadowstep = 250, - /obj/effect/proc_holder/spell/goon_vampire/self/jaunt = 300, - /obj/effect/proc_holder/spell/goon_vampire/targetted/enthrall = 300, - /datum/goon_vampire_passive/full = 500) - - -/datum/antagonist/goon_vampire/Destroy(force) - owner.current.create_log(CONVERSION_LOG, "De-goon-vampired") - draining = null - return ..() - - -/datum/antagonist/goon_vampire/add_owner_to_gamemode() - SSticker.mode.goon_vampires += owner - - -/datum/antagonist/goon_vampire/remove_owner_from_gamemode() - SSticker.mode.goon_vampires -= owner - - -/datum/antagonist/goon_vampire/greet() - var/dat - SEND_SOUND(owner.current, 'sound/ambience/antag/vampalert.ogg') - dat = "Вы — вампир!
" - dat += {"Чтобы укусить кого-то, нацельтесь в голову, выберите намерение вреда (4) и ударьте пустой рукой. Пейте кровь, чтобы получать новые силы.
Вы уязвимы перед святостью и звёздным светом. Не выходите в космос, избегайте священника, церкви и, особенно, святой воды."} - to_chat(owner.current, dat) - - -/datum/antagonist/goon_vampire/farewell() - if(issilicon(owner.current)) - to_chat(owner.current, span_userdanger("Вы превратились в робота! Вы чувствуете как вампирские силы исчезают…")) - else - to_chat(owner.current, span_userdanger("Ваш разум очищен! Вы больше не вампир.")) - - -/datum/antagonist/goon_vampire/give_objectives() - add_objective(/datum/objective/blood) - add_objective(/datum/objective/maroon) - add_objective(/datum/objective/steal) - - if(prob(20)) // 20% chance of getting survive. 80% chance of getting escape. - add_objective(/datum/objective/survive) - else - add_objective(/datum/objective/escape) - - -/datum/antagonist/goon_vampire/apply_innate_effects(mob/living/mob_override) - mob_override = ..() - if(!owner.som) //thralls and mindslaves - owner.som = new() - owner.som.masters += owner - - mob_override.dna.species.hunger_type = "vampire" - mob_override.dna.species.hunger_icon = 'icons/mob/screen_hunger_vampire.dmi' - check_vampire_upgrade(FALSE) - - -/datum/antagonist/goon_vampire/remove_innate_effects(mob/living/mob_override) - mob_override = ..() - remove_all_powers() - var/datum/hud/hud = mob_override.hud_used - if(hud?.vampire_blood_display) - hud.remove_vampire_hud() - mob_override.dna.species.hunger_type = initial(mob_override.dna.species.hunger_type) - mob_override.dna.species.hunger_icon = initial(mob_override.dna.species.hunger_icon) - animate(mob_override, alpha = 255) - - if(mob_override.mind.som) - var/datum/mindslaves/slaved = mob_override.mind.som - slaved.masters -= mob_override.mind - slaved.serv -= mob_override.mind - slaved.leave_serv_hud(mob_override.mind) - mob_override.mind.som = null - - -/datum/antagonist/goon_vampire/proc/handle_vampire() - if(owner.current.hud_used) - var/datum/hud/hud = owner.current.hud_used - if(!hud.vampire_blood_display) - hud.vampire_blood_display = new /atom/movable/screen() - hud.vampire_blood_display.name = "Доступная кровь" - hud.vampire_blood_display.icon_state = "blood_display" - hud.vampire_blood_display.screen_loc = "WEST:6,CENTER-1:15" - hud.static_inventory += hud.vampire_blood_display - hud.show_hud(hud.hud_version) - hud.vampire_blood_display.maptext = "
[bloodusable]
" - - handle_vampire_cloak() - - if(isspaceturf(get_turf(owner.current))) - check_sun() - - if(is_type_in_typecache(get_area(owner.current), GLOB.holy_areas) && !get_ability(/datum/goon_vampire_passive/full)) - vamp_burn(7) - - nullified = max(0, nullified - 1) - - -/datum/antagonist/goon_vampire/proc/handle_vampire_cloak() - if(!ishuman(owner.current)) - animate(owner.current, time = 5, alpha = 255) - return - var/turf/simulated/T = get_turf(owner.current) - var/light_available = T.get_lumcount(0.5) * 10 - - if(!istype(T)) - return - - if(!iscloaking || owner.current.on_fire) - animate(owner.current, time = 5, alpha = 255) - return - - if(light_available <= 2) - animate(owner.current, time = 5, alpha = 38) // round(255 * 0.15) - return - - animate(owner.current, time = 5, alpha = 204) // 255 * 0.80 - - -/datum/antagonist/goon_vampire/proc/vamp_burn(burn_chance) - if(prob(burn_chance) && owner.current.health >= 50) - switch(owner.current.health) - if(75 to 100) - to_chat(owner.current, span_warning("Ваша кожа дымится…")) - if(50 to 75) - to_chat(owner.current, span_warning("Ваша кожа шипит!")) - owner.current.adjustFireLoss(3) - else if(owner.current.health < 50) - if(!owner.current.on_fire) - to_chat(owner.current, span_danger("Ваша кожа загорается!")) - owner.current.emote("scream") - else - to_chat(owner.current, span_danger("Вы продолжаете гореть!")) - owner.current.adjust_fire_stacks(5) - owner.current.IgniteMob() - - -/datum/antagonist/goon_vampire/proc/check_sun() - var/ax = owner.current.x - var/ay = owner.current.y - - for(var/i = 1 to 20) - ax += SSsun.dx - ay += SSsun.dy - - var/turf/T = locate(round(ax, 0.5), round(ay, 0.5), owner.current.z) - - if(!T) - return - - if(T.x == 1 || T.x == world.maxx || T.y == 1 || T.y == world.maxy) - break - - if(T.density) - return - if(bloodusable >= 10) //burn through your blood to tank the light for a little while - to_chat(owner.current, span_warning("Свет звёзд жжётся и истощает ваши силы!")) - bloodusable -= 10 - vamp_burn(10) - else //You're in trouble, get out of the sun NOW - to_chat(owner.current, span_userdanger("Ваше тело обугливается, превращаясь в пепел! Укройтесь от звёздного света!")) - owner.current.adjustCloneLoss(10) //I'm melting! - vamp_burn(85) - - -/datum/antagonist/goon_vampire/proc/remove_all_powers() - for(var/power in powers) - remove_ability(power) - - -/datum/antagonist/goon_vampire/proc/check_vampire_upgrade(announce = TRUE) - var/list/old_powers = powers.Copy() - - for(var/ptype in upgrade_tiers) - var/level = upgrade_tiers[ptype] - if(bloodtotal >= level) - var/obj/effect/proc_holder/spell/goon_vampire/spell = add_ability(ptype) - if(spell) - for(var/datum/action/spell_action/action in owner.current.actions) - action.UpdateButtonIcon() - - if(announce) - announce_new_power(old_powers) - - -/datum/antagonist/goon_vampire/proc/announce_new_power(list/old_powers) - for(var/p in powers) - if(!(p in old_powers)) - if(istype(p, /obj/effect/proc_holder/spell/goon_vampire)) - var/obj/effect/proc_holder/spell/goon_vampire/power = p - to_chat(owner.current, span_boldnotice("[power.gain_desc]")) - else if(istype(p, /datum/goon_vampire_passive)) - var/datum/goon_vampire_passive/power = p - to_chat(owner.current, span_boldnotice("[power.gain_desc]")) - - -/datum/antagonist/goon_vampire/proc/get_ability(path) - for(var/datum/power as anything in powers) - if(power.type == path) - return power - return null - - -/datum/antagonist/goon_vampire/proc/add_ability(path) - if(!get_ability(path)) - return force_add_ability(path) - - -/datum/antagonist/goon_vampire/proc/force_add_ability(path) - var/spell = new path(owner) - if(istype(spell, /obj/effect/proc_holder/spell)) - owner.AddSpell(spell) - - powers += spell - owner.current.update_sight() - return spell - - -/datum/antagonist/goon_vampire/proc/remove_ability(ability) - if(ability && (ability in powers)) - powers -= ability - if(istype(ability, /obj/effect/proc_holder/spell)) - owner.RemoveSpell(ability) - else if(istype(ability, /datum/goon_vampire_passive)) - qdel(ability) - owner.current.update_sight() - - -/datum/antagonist/goon_vampire/proc/handle_bloodsucking(mob/living/carbon/human/H) - draining = H - var/unique_suck_id = H.UID() - var/blood = 0 - var/blood_limit_exceeded = FALSE - var/old_bloodtotal = 0 //used to see if we increased our blood total - var/old_bloodusable = 0 //used to see if we increased our blood usable - var/blood_volume_warning = 9999 //Blood volume threshold for warnings - if(owner.current.is_muzzled()) - var/mob/living/carbon/mask_owner = owner - to_chat(owner.current, span_warning("[mask_owner.wear_mask] мешает вам укусить [H]!")) - draining = null - return - add_attack_logs(owner.current, H, "vampirebit & is draining their blood.", ATKLOG_ALMOSTALL) - owner.current.visible_message(span_danger("[owner.current] грубо хватает шею [H] и вонзает в неё клыки!"), \ - span_danger("Вы вонзаете клыки в шею [H] и начинаете высасывать [genderize_ru(H.gender, "его", "её", "его", "их")] кровь."), \ - span_italics("Вы слышите тихий звук прокола и влажные хлюпающие звуки.")) - if(!iscarbon(owner.current)) - H.LAssailant = null - else - H.LAssailant = owner.current - while(do_after(owner.current, 5 SECONDS, H, NONE, interaction_key = DOAFTER_SOURCE_VAMPIRE_SUCKING, max_interact_count = 1)) - if(!isvampire(owner)) - to_chat(owner.current, span_userdanger("Ваши клыки исчезают!")) - return - old_bloodtotal = bloodtotal - old_bloodusable = bloodusable - if(unique_suck_id in drained_humans) - if(drained_humans[unique_suck_id] >= BLOOD_DRAIN_LIMIT) - to_chat(owner.current, span_warning("Вы поглотили всю жизненную эссенцию [H], дальнейшее питьё крови будет только утолять голод")) - blood_limit_exceeded = TRUE - - if(H.stat < DEAD || H.has_status_effect(STATUS_EFFECT_RECENTLY_SUCCUMBED)) - if(H.ckey || H.player_ghosted) //Requires ckey regardless if monkey or humanoid, or the body has been ghosted before it died - blood = min(20, H.blood_volume) / 2 // if they have less than 20 blood, give them the remnant else they get 20 blood - if(!blood_limit_exceeded) - bloodtotal += blood //divide by 2 to counted the double suction since removing cloneloss -Melandor0 - bloodusable += blood - else - if(H.ckey || H.player_ghosted) - blood = min(10, H.blood_volume) / 2 // The dead only give 5 blood - if(!blood_limit_exceeded) - bloodtotal += blood - - if(old_bloodtotal != bloodtotal) - if(H.ckey || H.player_ghosted) // Requires ckey regardless if monkey or human, and has not ghosted, otherwise no power - to_chat(owner.current, span_boldnotice("Вы накопили [bloodtotal] единиц[declension_ru(bloodtotal, "у", "ы", "")] крови[bloodusable != old_bloodusable ? ", и теперь вам доступно [bloodusable] единиц[declension_ru(bloodusable, "а", "ы", "")] крови" : ""].")) - - check_vampire_upgrade() - H.blood_volume = max(H.blood_volume - 25, 0) - if(!(unique_suck_id in drained_humans)) - drained_humans[unique_suck_id] = 0 - - if(drained_humans[unique_suck_id] < BLOOD_DRAIN_LIMIT) - drained_humans[unique_suck_id] += blood - - //Blood level warnings (Code 'borrowed' from Fulp) - if(H.blood_volume) - if(H.blood_volume <= BLOOD_VOLUME_BAD && blood_volume_warning > BLOOD_VOLUME_BAD) - to_chat(owner.current, span_danger("У вашей жертвы остаётся опасно мало крови!")) - else if(H.blood_volume <= BLOOD_VOLUME_OKAY && blood_volume_warning > BLOOD_VOLUME_OKAY) - to_chat(owner.current, span_warning("У вашей жертвы остаётся тревожно мало крови.")) - blood_volume_warning = H.blood_volume //Set to blood volume, so that you only get the message once - else - to_chat(owner.current, span_warning("Вы выпили свою жертву досуха!")) - break - - if(ishuman(owner.current)) - var/mob/living/carbon/human/V = owner.current - if(!H.ckey && !H.player_ghosted)//Only runs if there is no ckey and the body has not being ghosted while alive - to_chat(V, span_boldnotice("Питьё крови у [H] насыщает вас, но доступной крови от этого вы не получаете.")) - V.set_nutrition(min(NUTRITION_LEVEL_WELL_FED, V.nutrition + 5)) - else - V.set_nutrition(min(NUTRITION_LEVEL_WELL_FED, V.nutrition + (blood / 2))) - - draining = null - to_chat(owner.current, span_notice("Вы прекращаете пить кровь [H.name].")) - - -/datum/antagonist/goon_vampire/vv_edit_var(var_name, var_value) - . = ..() - check_vampire_upgrade(TRUE) - - -/datum/antagonist/mindslave/goon_thrall - name = "Vampire Thrall" - antag_hud_type = ANTAG_HUD_VAMPIRE - antag_hud_name = "vampthrall" - master_hud_icon = "vampire" - - -/datum/antagonist/mindslave/goon_thrall/add_owner_to_gamemode() - SSticker.mode.goon_vampire_enthralled += owner - - -/datum/antagonist/mindslave/goon_thrall/remove_owner_from_gamemode() - SSticker.mode.goon_vampire_enthralled -= owner - diff --git a/code/modules/antagonists/space_ninja/ninja_datum.dm b/code/modules/antagonists/space_ninja/ninja_datum.dm index 1d5db66cfbe..634098c4e46 100644 --- a/code/modules/antagonists/space_ninja/ninja_datum.dm +++ b/code/modules/antagonists/space_ninja/ninja_datum.dm @@ -392,7 +392,7 @@ /datum/antagonist/ninja/proc/generate_vampires() for(var/datum/mind/vampire in pre_antags) - vampire.add_antag_datum(/datum/antagonist/vampire) + vampire.add_antag_datum(/datum/antagonist/vampire/new_vampire) /datum/antagonist/ninja/proc/generate_changelings() @@ -442,40 +442,32 @@ // RnD Hack: Flag set to complete in the DrainAct in ninjaDrainAct.dm add_objective(/datum/objective/research_corrupt) - var/pick_chance = rand(0, 100) - if(pick_chance <= 25) + if(prob(50)) var/datum/objective/plant_explosive/bomb_objective = add_objective(/datum/objective/plant_explosive) bomb_objective.give_bomb(delayed = 0) - else if(pick_chance <= 50) + else var/datum/objective/set_up/set_up_objective = add_objective(/datum/objective/set_up) if(!set_up_objective.target) qdel(set_up_objective) - else - var/datum/objective/pain_hunter/pain_hunter_objective = add_objective(/datum/objective/pain_hunter) - if(!pain_hunter_objective.target) - qdel(pain_hunter_objective) - - switch(pick(1,2)) - if(1) - add_objective(/datum/objective/get_money) + if(prob(50)) + add_objective(/datum/objective/get_money) - if(2) - add_objective(/datum/objective/find_and_scan) + else + add_objective(/datum/objective/find_and_scan) - switch(pick(1,2)) - if(1) - for(var/i in 1 to 2) - var/datum/objective/assassinate/assassinate_objective = add_objective(/datum/objective/assassinate) - if(!assassinate_objective.target) - qdel(assassinate_objective) + if(prob(50)) + for(var/i in 1 to 2) + var/datum/objective/assassinate/assassinate_objective = add_objective(/datum/objective/assassinate) + if(!assassinate_objective.target) + qdel(assassinate_objective) - if(2) - for(var/i in 1 to 2) - var/datum/objective/steal/steal_objective = add_objective(/datum/objective/steal) - if(!steal_objective.steal_target) - qdel(steal_objective) + else + for(var/i in 1 to 2) + var/datum/objective/steal/steal_objective = add_objective(/datum/objective/steal) + if(!steal_objective.steal_target) + qdel(steal_objective) var/list/all_objectives = owner.get_all_objectives() if(!(locate(/datum/objective/escape) in all_objectives) && !(locate(/datum/objective/survive) in all_objectives)) diff --git a/code/modules/antagonists/traitor/datum_traitor.dm b/code/modules/antagonists/traitor/datum_traitor.dm index 850ecda5811..addb7a3b945 100644 --- a/code/modules/antagonists/traitor/datum_traitor.dm +++ b/code/modules/antagonists/traitor/datum_traitor.dm @@ -195,9 +195,6 @@ else if(prob(5)) add_objective(/datum/objective/debrain) - else if(prob(30)) - add_objective(/datum/objective/pain_hunter) - else if(prob(20)) add_objective(/datum/objective/protect) diff --git a/code/modules/antagonists/vampire/goon_vampire_datum.dm b/code/modules/antagonists/vampire/goon_vampire_datum.dm new file mode 100644 index 00000000000..e63a76373b0 --- /dev/null +++ b/code/modules/antagonists/vampire/goon_vampire_datum.dm @@ -0,0 +1,57 @@ +/datum/antagonist/vampire/goon_vampire + name = "Goon-Vampire" + nullification = OLD_NULLIFICATION + is_garlic_affected = TRUE + dust_in_space = FALSE + antag_datum_blacklist = list(/datum/antagonist/vampire/new_vampire) + upgrade_tiers = list( + /obj/effect/proc_holder/spell/vampire/goon/self/rejuvenate = 0, + /obj/effect/proc_holder/spell/vampire/goon/targetted/hypnotise = 0, + /obj/effect/proc_holder/spell/vampire/goon/glare = 0, + /datum/vampire_passive/vision = 100, + /obj/effect/proc_holder/spell/vampire/goon/self/shapeshift = 100, + /obj/effect/proc_holder/spell/vampire/goon/self/cloak = 150, + /obj/effect/proc_holder/spell/vampire/goon/targetted/disease = 150, + /obj/effect/proc_holder/spell/vampire/goon/bats = 200, + /obj/effect/proc_holder/spell/vampire/goon/self/screech = 200, + /datum/vampire_passive/regen = 200, + /obj/effect/proc_holder/spell/vampire/goon/shadowstep = 250, + /obj/effect/proc_holder/spell/vampire/goon/self/jaunt = 300, + /obj/effect/proc_holder/spell/vampire/goon/targetted/enthrall = 300, + /datum/vampire_passive/xray = 500, + /datum/vampire_passive/full = 500) + + +/datum/antagonist/vampire/goon_vampire/add_owner_to_gamemode() + SSticker.mode.goon_vampires += owner + + +/datum/antagonist/vampire/goon_vampire/remove_owner_from_gamemode() + SSticker.mode.goon_vampires -= owner + + + +/datum/antagonist/mindslave/thrall/goon_thrall/add_owner_to_gamemode() + SSticker.mode.goon_vampire_enthralled += owner + + +/datum/antagonist/mindslave/thrall/goon_thrall/remove_owner_from_gamemode() + SSticker.mode.goon_vampire_enthralled -= owner + + +/proc/is_goon_vampire(datum/source) + if(!source) + return FALSE + + if(istype(source, /datum/mind)) + var/datum/mind/our_mind = source + return our_mind.has_antag_datum(/datum/antagonist/vampire/goon_vampire) + + if(!ismob(source)) + return FALSE + + var/mob/mind_holder = source + if(!mind_holder.mind) + return FALSE + + return mind_holder.mind.has_antag_datum(/datum/antagonist/vampire/goon_vampire) diff --git a/code/modules/antagonists/vampire/new_vampire_datum.dm b/code/modules/antagonists/vampire/new_vampire_datum.dm new file mode 100644 index 00000000000..6722d570807 --- /dev/null +++ b/code/modules/antagonists/vampire/new_vampire_datum.dm @@ -0,0 +1,37 @@ +/datum/antagonist/vampire/new_vampire + name = "Vampire" + nullification = NEW_NULLIFICATION + is_garlic_affected = FALSE + dust_in_space = TRUE + antag_datum_blacklist = list(/datum/antagonist/vampire/goon_vampire) + upgrade_tiers = list(/obj/effect/proc_holder/spell/vampire/self/rejuvenate = 0, + /obj/effect/proc_holder/spell/vampire/glare = 0, + /datum/vampire_passive/vision = 100, + /obj/effect/proc_holder/spell/vampire/self/specialize = 150, + /datum/vampire_passive/regen = 200) + +/datum/antagonist/vampire/new_vampire/add_owner_to_gamemode() + SSticker.mode.vampires += owner + + +/datum/antagonist/vampire/new_vampire/remove_owner_from_gamemode() + SSticker.mode.vampires -= owner + +/datum/antagonist/mindslave/thrall/new_thrall/add_owner_to_gamemode() + SSticker.mode.vampire_enthralled += owner + + +/datum/antagonist/mindslave/thrall/new_thrall/remove_owner_from_gamemode() + SSticker.mode.vampire_enthralled -= owner + +/datum/antagonist/mindslave/thrall/new_thrall/remove_innate_effects(mob/living/mob_override) + var/mob/living/user = ..() + if(!mob_override) + user.mind?.RemoveSpell(/obj/effect/proc_holder/spell/vampire/thrall_commune) + return user + +/datum/antagonist/mindslave/thrall/new_thrall/apply_innate_effects(mob/living/mob_override) + var/mob/living/user = ..() + if(!mob_override) + user.mind?.AddSpell(new /obj/effect/proc_holder/spell/vampire/thrall_commune) + return user diff --git a/code/modules/antagonists/vampire/vampire_datum.dm b/code/modules/antagonists/vampire/vampire_datum.dm index 0c70e6a9647..9ffeeb70733 100644 --- a/code/modules/antagonists/vampire/vampire_datum.dm +++ b/code/modules/antagonists/vampire/vampire_datum.dm @@ -6,12 +6,16 @@ special_role = SPECIAL_ROLE_VAMPIRE wiki_page_name = "Vampire" russian_wiki_name = "Вампир" + /// Total blood drained by vampire over round. var/bloodtotal = 0 + /// Current amount of blood. var/bloodusable = 0 /// What vampire subclass the vampire is. var/datum/vampire_subclass/subclass /// Handles the vampire cloak toggle. var/iscloaking = FALSE + /// Handles the goon vampire cloak toggle. + var/is_goon_cloak = FALSE /// List of available powers and passives. var/list/powers = list() /// Who the vampire is draining of blood. @@ -20,12 +24,14 @@ var/nullified = 0 /// Time between each suck iteration. var/suck_rate = 5 SECONDS + /// Indicates the type of nullification (old or new) + var/nullification = NEW_NULLIFICATION + /// Does garlic affect vampire? + var/is_garlic_affected = FALSE + /// Does a vampire turn to dust after dying from space? + var/dust_in_space = FALSE /// List of powers that all vampires unlock and at what blood level they unlock them, the rest of their powers are found in the vampire_subclass datum. - var/list/upgrade_tiers = list(/obj/effect/proc_holder/spell/vampire/self/rejuvenate = 0, - /obj/effect/proc_holder/spell/vampire/glare = 0, - /datum/vampire_passive/vision = 100, - /obj/effect/proc_holder/spell/vampire/self/specialize = 150, - /datum/vampire_passive/regen = 200) + var/list/upgrade_tiers = list() /// List of the peoples UIDs that we have drained, and how much blood from each one. var/list/drained_humans = list() @@ -53,18 +59,17 @@ /datum/antagonist/vampire/greet() var/list/messages = list() SEND_SOUND(owner.current, sound('sound/ambience/antag/vampalert.ogg')) - messages.Add("You are a Vampire!
") - messages.Add("To bite someone, target the head and use harm intent with an empty hand. Drink blood to gain new powers. \ - You are weak to holy things, starlight and fire. Don't go into space and avoid the Chaplain, the chapel and especially Holy Water.") + messages.Add("Вы — вампир!
") + messages.Add("Чтобы укусить кого-то, нацельтесь в голову, выберите намерение вреда (4) и ударьте пустой рукой. Пейте кровь, чтобы получать новые силы. \ + Вы уязвимы перед святостью, огнем и звёздным светом. Не выходите в космос, избегайте священника, церкви и, особенно, святой воды.") return messages /datum/antagonist/vampire/farewell() if(issilicon(owner.current)) - to_chat(owner.current, span_userdanger("Being a robot you fill how your vampiric powers fade away...")) + to_chat(owner.current, span_userdanger("Вы превратились в робота! Вы чувствуете как вампирские силы исчезают…")) else - to_chat(owner.current, span_userdanger("Your mind is cleansed. You are no longer a vampire.")) - + to_chat(owner.current, span_userdanger("Ваш разум очищен! Вы больше не вампир.")) /datum/antagonist/vampire/give_objectives() add_objective(/datum/objective/blood) @@ -77,14 +82,6 @@ add_objective(/datum/objective/escape) -/datum/antagonist/vampire/add_owner_to_gamemode() - SSticker.mode.vampires += owner - - -/datum/antagonist/vampire/remove_owner_from_gamemode() - SSticker.mode.vampires -= owner - - /datum/antagonist/vampire/on_body_transfer(mob/living/old_body, mob/living/new_body) if(isvampireanimal(new_body)) remove_innate_effects(old_body, transformation = TRUE) @@ -106,6 +103,13 @@ user.faction |= ROLE_VAMPIRE user.dna?.species?.hunger_type = "vampire" user.dna?.species?.hunger_icon = 'icons/mob/screen_hunger_vampire.dmi' + //goon vampire slaves code + //if(mob_override.mind.som) + //var/datum/mindslaves/slaved = mob_override.mind.som + //slaved.masters -= mob_override.mind + //slaved.serv -= mob_override.mind + //slaved.leave_serv_hud(mob_override.mind) + //.mind.som = null /datum/antagonist/vampire/remove_innate_effects(mob/living/mob_override, transformation = FALSE) @@ -199,6 +203,8 @@ var/time_per_action var/vampire_dir = get_dir(owner.current, target) + var/old_bloodusable = 0 //used to see if we increased our blood usable + var/suck_rate_final if(suck_rate_override) suck_rate_final = suck_rate_override @@ -206,7 +212,7 @@ suck_rate_final = suck_rate if(owner.current.is_muzzled()) - to_chat(owner.current, span_warning("[owner.current.wear_mask] prevents you from biting [target]!")) + to_chat(owner.current, span_warning("[owner.current.wear_mask] мешает вам укусить [target]!")) draining = null return @@ -233,31 +239,31 @@ while(do_after(owner.current, time_per_action, target, NONE, interaction_key = DOAFTER_SOURCE_VAMPIRE_SUCKING, max_interact_count = 1)) cycle_counter++ owner.current.face_atom(target) - + old_bloodusable = bloodusable switch(cycle_counter) if(STATE_CLOSING_IN) - owner.current.visible_message(span_danger("[owner.current] gets closer to [target]"), \ - span_danger("You getting closer to [target]")) + owner.current.visible_message(span_danger("[owner.current] приближается к [target]"), \ + span_danger("Вы приближаетесь к [target]")) getting_closer_animation(target, STATE_CLOSING_IN, vampire_dir) time_per_action = suck_rate_final*GRABBING_TIME_MOD continue if(STATE_GRABBING) - owner.current.visible_message(span_danger("[owner.current] grabs [target]'s neck harshly"), \ - span_danger("You grabs [target]'s neck harshly")) + owner.current.visible_message(span_danger("[owner.current] грубо хватает шею [target]"), \ + span_danger("Вы грубо хватает шею [target]")) getting_closer_animation(target, STATE_GRABBING, vampire_dir) time_per_action = suck_rate_final*BITE_TIME_MOD continue if(STATE_BITE) - owner.current.visible_message(span_danger("[owner.current] sinks in [owner.current.p_their()] fangs!"), \ - span_danger("You sink your fangs into [target] and begin to drain [target.p_their()] blood."), \ - span_italics("You hear a soft puncture and a wet sucking noise.")) + owner.current.visible_message(span_danger("[owner.current] вонзает [genderize_ru(owner.current.gender, "его", "её", "его", "их")] клыки!"), \ + span_danger("Вы вонзаете клыки в шею [target] и начинаете высасывать [genderize_ru(target.gender, "его", "её", "его", "их")] кровь."), \ + span_italics("Вы слышите тихий звук прокола и влажные хлюпающие звуки.")) bite_animation(target, vampire_dir) time_per_action = suck_rate_final continue if(unique_suck_id in drained_humans) if(drained_humans[unique_suck_id] >= BLOOD_DRAIN_LIMIT) - to_chat(owner.current, span_warning("You have drained most of the life force from [target]'s blood, and you will get no more useable blood from them!")) + to_chat(owner.current, span_warning("Вы поглотили всю жизненную эссенцию [target], дальнейшее питьё крови будет только утолять голод!")) target.blood_volume = max(target.blood_volume - 25, 0) owner.current.set_nutrition(min(NUTRITION_LEVEL_WELL_FED, owner.current.nutrition + 5)) continue @@ -267,25 +273,25 @@ if(target.ckey || target.player_ghosted) //Requires ckey regardless if monkey or humanoid, or the body has been ghosted before it died blood = min(20, target.blood_volume) adjust_blood(target, blood * BLOOD_GAINED_MODIFIER) - to_chat(owner.current, span_boldnotice("You have accumulated [bloodtotal] unit\s of blood, and have [bloodusable] left to use.")) + to_chat(owner.current, span_boldnotice("Вы накопили [bloodtotal] единиц[declension_ru(bloodtotal, "у", "ы", "")] крови[bloodusable != old_bloodusable ? ", и теперь вам доступно [bloodusable] единиц[declension_ru(bloodusable, "а", "ы", "")] крови" : ""].")) target.blood_volume = max(target.blood_volume - 25, 0) //Blood level warnings (Code 'borrowed' from Fulp) if(target.blood_volume) if(target.blood_volume <= BLOOD_VOLUME_BAD && blood_volume_warning > BLOOD_VOLUME_BAD) - to_chat(owner.current, span_danger("Your victim's blood volume is dangerously low.")) + to_chat(owner.current, span_danger("У вашей жертвы остаётся опасно мало крови!")) else if(target.blood_volume <= BLOOD_VOLUME_OKAY && blood_volume_warning > BLOOD_VOLUME_OKAY) - to_chat(owner.current, span_warning("Your victim's blood is at an unsafe level.")) + to_chat(owner.current, span_warning("У вашей жертвы остаётся тревожно мало крови!")) blood_volume_warning = target.blood_volume //Set to blood volume, so that you only get the message once else - to_chat(owner.current, span_warning("You have bled your victim dry!")) + to_chat(owner.current, span_warning("Вы выпили свою жертву досуха!")) break if(!target.ckey && !target.player_ghosted)//Only runs if there is no ckey and the body has not being ghosted while alive - to_chat(owner.current, span_boldnotice("Feeding on [target] reduces your thirst, but you get no usable blood from them.")) + to_chat(owner.current, span_boldnotice("Питьё крови у [target] насыщает вас, но доступной крови от этого вы не получаете.")) owner.current.set_nutrition(min(NUTRITION_LEVEL_WELL_FED, owner.current.nutrition + 5)) else @@ -340,7 +346,7 @@ /datum/antagonist/vampire/proc/stop_sucking() if(draining) - to_chat(owner.current, span_notice("You stop draining [draining.name] of blood.")) + to_chat(owner.current, span_notice("Вы прекращаете пить кровь [draining.name].")) draining = null owner.current.pixel_x = owner.current.base_pixel_x + owner.current.body_position_pixel_x_offset owner.current.pixel_y = owner.current.base_pixel_y + owner.current.body_position_pixel_y_offset @@ -369,7 +375,6 @@ var/datum/vampire_passive/passive = spell passive.owner = owner.current passive.on_apply(src) - powers += spell owner.current.update_sight() // Life updates conditionally, so we need to update sight here in case the vamp gets new vision based on his powers. Maybe one day refactor to be more OOP and on the vampire's ability datum. return spell @@ -416,6 +421,8 @@ add_ability(ptype) if(!subclass) + if(announce) + announce_new_power(old_powers) return subclass.add_subclass_ability(src) @@ -467,15 +474,15 @@ return if(bloodusable >= 10) //burn through your blood to tank the light for a little while - to_chat(owner.current, span_warning("The starlight saps your strength!")) + to_chat(owner.current, span_warning("Свет звёзд жжётся и истощает ваши силы!")) bloodusable -= 10 vamp_burn(10) else //You're in trouble, get out of the sun NOW - to_chat(owner.current, span_userdanger("Your body is turning to ash, get out of the light now!")) + to_chat(owner.current, span_userdanger("Ваше тело обугливается, превращаясь в пепел! Укройтесь от звёздного света!")) owner.current.adjustCloneLoss(10) //I'm melting! vamp_burn(85) - if(owner.current.cloneloss >= 100) + if(owner.current.cloneloss >= 100 && dust_in_space) owner.current.dust() @@ -485,11 +492,11 @@ var/half_health = round(owner.current.maxHealth / 2) if(prob(burn_chance) && owner.current.health >= half_health) - to_chat(owner.current, span_warning("You feel incredible heat!")) + to_chat(owner.current, span_warning("Вы чувствуете нестерпимый жар!")) owner.current.adjustFireLoss(3) else if(owner.current.health < half_health) - to_chat(owner.current, span_warning("You are melting!")) + to_chat(owner.current, span_warning("Вы плавитесь!")) owner.current.adjustFireLoss(8) return @@ -497,17 +504,17 @@ if(prob(burn_chance) && owner.current.health >= 50) switch(owner.current.health) if(75 to 100) - to_chat(owner.current, span_warning("Your skin flakes away...")) + to_chat(owner.current, span_warning("Ваша кожа дымится…")) if(50 to 75) - to_chat(owner.current, span_warning("Your skin sizzles!")) + to_chat(owner.current, span_warning("Ваша кожа шипит!")) owner.current.adjustFireLoss(3) else if(owner.current.health < 50) if(!owner.current.on_fire) - to_chat(owner.current, span_danger("Your skin catches fire!")) + to_chat(owner.current, span_danger("Ваша кожа загорается!")) owner.current.emote("scream") else - to_chat(owner.current, span_danger("You continue to burn!")) + to_chat(owner.current, span_danger("Вы продолжаете гореть!")) owner.current.adjust_fire_stacks(5) owner.current.IgniteMob() @@ -521,8 +528,12 @@ if(is_type_in_typecache(get_area(owner.current), GLOB.holy_areas) && !get_ability(/datum/vampire_passive/full) && bloodtotal > 0) vamp_burn(7) + switch(nullification) + if(OLD_NULLIFICATION) + nullified = max(0, nullified - 1) - nullified = max(0, nullified - 2) + if(NEW_NULLIFICATION) + nullified = max(0, nullified - 2) /datum/antagonist/vampire/proc/draw_HUD() @@ -532,7 +543,7 @@ if(!hud.vampire_blood_display) hud.vampire_blood_display = new /atom/movable/screen() - hud.vampire_blood_display.name = "Usable Blood" + hud.vampire_blood_display.name = "Доступная кровь" hud.vampire_blood_display.icon_state = "blood_display" hud.vampire_blood_display.screen_loc = "WEST:6,CENTER-1:15" hud.static_inventory += hud.vampire_blood_display @@ -545,21 +556,21 @@ animate(owner.current, time = 5, alpha = 255) return var/turf/simulated/owner_turf = get_turf(owner.current) - var/light_available = owner_turf.get_lumcount() * 10 + var/light_available = ((iscloaking)?owner_turf.get_lumcount():owner_turf.get_lumcount(0.5)) * 10 if(!istype(owner_turf)) return - if(!iscloaking || owner.current.on_fire) + if(!iscloaking && !is_goon_cloak || owner.current.on_fire) animate(owner.current, time = 5, alpha = 255) owner.current.remove_movespeed_modifier(/datum/movespeed_modifier/vampire_cloak) return if(light_available <= 2) - animate(owner.current, time = 5, alpha = 38) // round(255 * 0.15) - owner.current.add_movespeed_modifier(/datum/movespeed_modifier/vampire_cloak) + animate(owner.current, time = 5, alpha = 38) + if(iscloaking) + owner.current.add_movespeed_modifier(/datum/movespeed_modifier/vampire_cloak) return - owner.current.remove_movespeed_modifier(/datum/movespeed_modifier/vampire_cloak) animate(owner.current, time = 5, alpha = 204) // 255 * 0.80 @@ -576,7 +587,21 @@ /datum/antagonist/vampire/proc/adjust_nullification(base, extra) // First hit should give full nullification, while subsequent hits increase the value slower - nullified = clamp(nullified + extra, base, VAMPIRE_NULLIFICATION_CAP) + switch(nullification) + if(OLD_NULLIFICATION) + nullified = max(base, nullified + extra) + + if(NEW_NULLIFICATION) + nullified = clamp(nullified + extra, base, VAMPIRE_NULLIFICATION_CAP) + + +/datum/antagonist/vampire/proc/base_nullification() + switch(nullification) + if(OLD_NULLIFICATION) + adjust_nullification(5, 2) + + if(NEW_NULLIFICATION) + adjust_nullification(20, 4) /** @@ -588,7 +613,7 @@ if(istype(source, /datum/mind)) var/datum/mind/our_mind = source - return our_mind.has_antag_datum(/datum/antagonist/vampire) || our_mind.has_antag_datum(/datum/antagonist/goon_vampire) + return our_mind.has_antag_datum(/datum/antagonist/vampire) if(!ismob(source)) return FALSE @@ -597,7 +622,7 @@ if(!mind_holder.mind) return FALSE - return mind_holder.mind.has_antag_datum(/datum/antagonist/vampire) || mind_holder.mind.has_antag_datum(/datum/antagonist/goon_vampire) + return mind_holder.mind.has_antag_datum(/datum/antagonist/vampire) /** @@ -609,7 +634,7 @@ if(istype(source, /datum/mind)) var/datum/mind/our_mind = source - return our_mind.has_antag_datum(/datum/antagonist/mindslave/thrall) || our_mind.has_antag_datum(/datum/antagonist/mindslave/goon_thrall) + return our_mind.has_antag_datum(/datum/antagonist/mindslave/thrall) if(!isliving(source)) return FALSE @@ -618,7 +643,7 @@ if(!mind_holder.mind) return FALSE - return mind_holder.mind.has_antag_datum(/datum/antagonist/mindslave/thrall) || mind_holder.mind.has_antag_datum(/datum/antagonist/mindslave/goon_thrall) + return mind_holder.mind.has_antag_datum(/datum/antagonist/mindslave/thrall) /datum/antagonist/mindslave/thrall @@ -627,25 +652,23 @@ antag_hud_name = "vampthrall" master_hud_icon = "vampire" +/datum/antagonist/mindslave/thrall/greet() + var/greet_text = "Вы были очарованы [master.current.real_name]. Следуйте каждому [genderize_ru(master.current.gender, "его", "её", "его", "их")] приказу." + return span_dangerbigger(greet_text) -/datum/antagonist/mindslave/thrall/add_owner_to_gamemode() - SSticker.mode.vampire_enthralled += owner - - -/datum/antagonist/mindslave/thrall/remove_owner_from_gamemode() - SSticker.mode.vampire_enthralled -= owner - +/datum/antagonist/mindslave/thrall/farewell() + if(issilicon(owner.current)) + to_chat(owner.current, span_userdanger("Вы превратились в робота! Вы больше не очарованы…")) + else + to_chat(owner.current, span_userdanger("Ваш разум очищен! Вы больше не очарованы.")) /datum/antagonist/mindslave/thrall/apply_innate_effects(mob/living/mob_override) var/mob/living/user = ..() user.faction |= ROLE_VAMPIRE - if(!mob_override) - user.mind?.AddSpell(new /obj/effect/proc_holder/spell/vampire/thrall_commune) + return user /datum/antagonist/mindslave/thrall/remove_innate_effects(mob/living/mob_override) var/mob/living/user = ..() user.faction -= ROLE_VAMPIRE - if(!mob_override) - user.mind?.RemoveSpell(/obj/effect/proc_holder/spell/vampire/thrall_commune) - + return user diff --git a/code/modules/antagonists/vampire/vampire_powers/bestia_powers.dm b/code/modules/antagonists/vampire/vampire_powers/bestia_powers.dm index bfa05bb94b6..3136eb36eec 100644 --- a/code/modules/antagonists/vampire/vampire_powers/bestia_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/bestia_powers.dm @@ -409,7 +409,7 @@ var/obj/item/thing = organ_to_dissect.remove(target) qdel(thing) - target.vomit(50, TRUE, FALSE) + target.vomit(50, VOMIT_BLOOD, 0 SECONDS) if(target.has_pain()) target.emote("scream") @@ -688,7 +688,7 @@ if(iscarbon(victim)) var/mob/living/carbon/c_victim = victim - c_victim.vomit(50, TRUE, FALSE) + c_victim.vomit(50, VOMIT_BLOOD, 0 SECONDS) if(prob(10 + vampire.get_trophies(INTERNAL_ORGAN_LIVER) * 3)) new /obj/effect/temp_visual/cult/sparks(get_turf(victim)) diff --git a/code/modules/antagonists/vampire/vampire_powers/dantalion_powers.dm b/code/modules/antagonists/vampire/vampire_powers/dantalion_powers.dm index 423bcb0968f..50e9edf132b 100644 --- a/code/modules/antagonists/vampire/vampire_powers/dantalion_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/dantalion_powers.dm @@ -81,8 +81,7 @@ if(!istype(H)) return FALSE - var/greet_text = "You have been Enthralled by [user.real_name]. Follow [user.p_their()] every command." - H.mind.add_antag_datum(new /datum/antagonist/mindslave/thrall(user.mind, greet_text)) + H.mind.add_antag_datum(new /datum/antagonist/mindslave/thrall/new_thrall(user.mind)) if(jobban_isbanned(H, ROLE_VAMPIRE)) SSticker.mode.replace_jobbanned_player(H, SPECIAL_ROLE_VAMPIRE_THRALL) H.Stun(4 SECONDS) diff --git a/code/modules/antagonists/goon_vampire/goon_vampire_powers.dm b/code/modules/antagonists/vampire/vampire_powers/goon_vampire_powers.dm similarity index 73% rename from code/modules/antagonists/goon_vampire/goon_vampire_powers.dm rename to code/modules/antagonists/vampire/vampire_powers/goon_vampire_powers.dm index aa80d124da2..f4fd1721bff 100644 --- a/code/modules/antagonists/goon_vampire/goon_vampire_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/goon_vampire_powers.dm @@ -1,133 +1,41 @@ -/** - * Goon Vampire spell handler. - */ -/datum/spell_handler/goon_vampire - var/required_blood - - -/datum/spell_handler/goon_vampire/can_cast(mob/user, charge_check, show_message, obj/effect/proc_holder/spell/spell) - - var/datum/antagonist/goon_vampire/vampire = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - - if(!vampire) - return FALSE - - var/fullpower = vampire.get_ability(/datum/goon_vampire_passive/full) - - if(user.stat >= DEAD) - if(show_message) - to_chat(user, span_warning("Но вы же мертвы!")) - return FALSE - - if(vampire.nullified && !fullpower) - if(show_message) - to_chat(user, span_warning("Что-то блокирует ваши силы!")) - return FALSE - - if(vampire.bloodusable < required_blood) - if(show_message) - to_chat(user, span_warning("Для этого вам потребуется не менее [required_blood] единиц крови!")) - return FALSE - - //chapel check - if(is_type_in_typecache(get_area(user), GLOB.holy_areas) && !fullpower) - if(show_message) - to_chat(user, span_warning("Ваши силы не действуют на этой святой земле.")) - return FALSE - - return TRUE - - -/datum/spell_handler/goon_vampire/spend_spell_cost(mob/user, obj/effect/proc_holder/spell/spell) - for(var/datum/action/spell_action/action in user.actions) - action.UpdateButtonIcon() - - if(!required_blood) //don't take the blood yet if this is false! - return - - var/datum/antagonist/goon_vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - vamp?.bloodusable -= required_blood - - -/datum/spell_handler/goon_vampire/revert_cast(mob/living/carbon/user, obj/effect/proc_holder/spell/spell) - var/datum/antagonist/goon_vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - vamp?.bloodusable += required_blood - - -/datum/spell_handler/goon_vampire/after_cast(list/targets, mob/user, obj/effect/proc_holder/spell/spell) - - SSblackbox.record_feedback("tally", "goon_vampire_powers_used", 1, "[spell]") - - if(!required_blood) - return - - var/datum/antagonist/goon_vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - to_chat(user, span_boldnotice("У Вас осталось [vamp.bloodusable] единиц крови.")) - - -/******************* - * Spell handler end. - ******************/ - - /** * Basis of all vampire spells. */ -/obj/effect/proc_holder/spell/goon_vampire - name = "Report Me" - desc = "You shouldn't see this!" - school = "vampire" +/obj/effect/proc_holder/spell/vampire/goon action_background_icon_state = "bg_vampire_old" - human_req = TRUE - clothes_req = FALSE base_cooldown = 3 MINUTES gain_desc = "" - /// How much blood this ability costs to use - var/required_blood -/obj/effect/proc_holder/spell/goon_vampire/after_spell_init() - update_name() - - -/obj/effect/proc_holder/spell/goon_vampire/update_name(updates = ALL, mob/user) - . = ..() - if(required_blood) - var/new_name = "[name] ([required_blood])" - name = new_name - action?.name = new_name - action?.UpdateButtonIcon() - - -/obj/effect/proc_holder/spell/goon_vampire/create_new_handler() - var/datum/spell_handler/goon_vampire/H = new() +/obj/effect/proc_holder/spell/vampire/goon/create_new_handler() + var/datum/spell_handler/vampire/goon/H = new H.required_blood = required_blood return H -/obj/effect/proc_holder/spell/goon_vampire/self/create_new_targeting() +/obj/effect/proc_holder/spell/vampire/goon/self/create_new_targeting() return new /datum/spell_targeting/self -/obj/effect/proc_holder/spell/goon_vampire/targetted +/obj/effect/proc_holder/spell/vampire/goon/targetted var/range = 1 -/obj/effect/proc_holder/spell/goon_vampire/targetted/create_new_targeting() +/obj/effect/proc_holder/spell/vampire/goon/targetted/create_new_targeting() var/datum/spell_targeting/targeted/T = new() T.range = range return T -/obj/effect/proc_holder/spell/goon_vampire/proc/affects(mob/target, mob/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/proc/affects(mob/target, mob/user = usr) //Other vampires aren't affected if(isvampire(target)) return FALSE //Vampires who have reached their full potential can affect nearly everything - var/datum/antagonist/goon_vampire/vampire = user.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(vampire?.get_ability(/datum/goon_vampire_passive/full)) + var/datum/antagonist/vampire/vampire = user.mind?.has_antag_datum(/datum/antagonist/vampire) + if(vampire?.get_ability(/datum/vampire_passive/full)) return TRUE //Holy characters are resistant to vampire powers @@ -139,7 +47,7 @@ //////////////////////////////////////////////////////////////////////////////////////////////////////// -/obj/effect/proc_holder/spell/goon_vampire/self/rejuvenate +/obj/effect/proc_holder/spell/vampire/goon/self/rejuvenate name = "Восстановление" desc= "Используйте накопленную кровь, чтобы влить в тело новые силы, устраняя любое ошеломление" action_icon_state = "vampire_rejuvinate_old" @@ -149,7 +57,7 @@ var/counter = 0 -/obj/effect/proc_holder/spell/goon_vampire/self/rejuvenate/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/self/rejuvenate/cast(list/targets, mob/living/carbon/human/user = usr) user.SetWeakened(0) user.SetStunned(0) user.SetKnockdown(0) @@ -159,12 +67,12 @@ user.set_resting(FALSE, instant = TRUE) user.get_up(instant = TRUE) to_chat(user, span_notice("Ваше тело наполняется чистой кровью, снимая все ошеломляющие эффекты.")) - var/datum/antagonist/goon_vampire/vampire = user.mind.has_antag_datum(/datum/antagonist/goon_vampire) - if(vampire?.get_ability(/datum/goon_vampire_passive/regen)) + var/datum/antagonist/vampire/vampire = user.mind.has_antag_datum(/datum/antagonist/vampire) + if(vampire?.get_ability(/datum/vampire_passive/regen)) effect_timer = addtimer(CALLBACK(src, PROC_REF(rejuvenate_effect), user), 3.5 SECONDS, TIMER_STOPPABLE|TIMER_LOOP) -/obj/effect/proc_holder/spell/goon_vampire/self/rejuvenate/proc/rejuvenate_effect(mob/living/carbon/human/user) +/obj/effect/proc_holder/spell/vampire/goon/self/rejuvenate/proc/rejuvenate_effect(mob/living/carbon/human/user) if(QDELETED(user) || counter > 5) deltimer(effect_timer) effect_timer = null @@ -179,14 +87,14 @@ user.updatehealth() -/obj/effect/proc_holder/spell/goon_vampire/targetted/hypnotise +/obj/effect/proc_holder/spell/vampire/goon/targetted/hypnotise name = "Гипноз" desc= "Пронзающий взгляд, ошеломляющий жертву на довольно долгое время" action_icon_state = "vampire_hypnotise" required_blood = 25 -/obj/effect/proc_holder/spell/goon_vampire/targetted/hypnotise/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/targetted/hypnotise/cast(list/targets, mob/living/carbon/human/user = usr) var/mob/living/carbon/human/target = targets[1] user.visible_message(span_warning("Глаза [user] ярко вспыхивают, когда он[genderize_ru(user.gender,"","а","о","и")] пристально смотр[genderize_ru(user.gender,"ит","ит","ит","ят")] в глаза [target].")) @@ -203,7 +111,7 @@ to_chat(user, span_warning("Вы смотрите в никуда.")) -/obj/effect/proc_holder/spell/goon_vampire/targetted/disease +/obj/effect/proc_holder/spell/vampire/goon/targetted/disease name = "Заражающее касание" desc = "Ваше касание инфицирует кровь жертвы, заражая её могильной лихорадкой. Пока лихорадку не вылечат, жертва будет с трудом держаться на ногах, а её кровь будет наполняться токсинами." gain_desc = "Вы получили способность «Заражающее касание». Она позволит вам ослаблять тех, кого вы коснётесь до тех пор, пока их не вылечат." @@ -211,7 +119,7 @@ required_blood = 50 -/obj/effect/proc_holder/spell/goon_vampire/targetted/disease/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/targetted/disease/cast(list/targets, mob/living/carbon/human/user = usr) var/mob/living/carbon/human/target = targets[1] to_chat(user, span_warning("Вы незаметно инфицируете [target] заражающим касанием.")) @@ -224,7 +132,7 @@ virus.Contract(target) -/obj/effect/proc_holder/spell/goon_vampire/glare +/obj/effect/proc_holder/spell/vampire/goon/glare name = "Вспышка" desc = "Вы сверкаете глазами, ненадолго ошеломляя всех людей вокруг" action_icon_state = "vampire_glare_old" @@ -232,14 +140,14 @@ stat_allowed = UNCONSCIOUS -/obj/effect/proc_holder/spell/goon_vampire/glare/create_new_targeting() +/obj/effect/proc_holder/spell/vampire/goon/glare/create_new_targeting() var/datum/spell_targeting/aoe/T = new() T.range = 1 T.allowed_type = /mob/living/carbon return T -/obj/effect/proc_holder/spell/goon_vampire/glare/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/glare/cast(list/targets, mob/living/carbon/human/user = usr) if(!length(targets)) revert_cast(user) return @@ -270,7 +178,7 @@ target.apply_status_effect(STATUS_EFFECT_STAMINADOT) -/obj/effect/proc_holder/spell/goon_vampire/self/shapeshift +/obj/effect/proc_holder/spell/vampire/goon/self/shapeshift name = "Превращение" desc = "Изменяет ваше имя и внешность, тратя 50 крови, с откатом в 3 минуты." gain_desc = "Вы получили способность «Превращение», позволяющую навсегда обернуться другим обликом, затратив часть накопленной крови." @@ -278,7 +186,7 @@ required_blood = 50 -/obj/effect/proc_holder/spell/goon_vampire/self/shapeshift/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/self/shapeshift/cast(list/targets, mob/living/carbon/human/user = usr) user.visible_message(span_warning("[user] transforms!")) scramble(TRUE, user, 100) @@ -292,7 +200,7 @@ user.update_icons() -/obj/effect/proc_holder/spell/goon_vampire/self/screech +/obj/effect/proc_holder/spell/vampire/goon/self/screech name = "Визг рукокрылых" desc = "Невероятно громкий визг, разбивающий стёкла и ошеломляющий окружающих." gain_desc = "Вы получили способность «Визг рукокрылых», в большом радиусе оглушающую всех, кто может слышать, и раскалывающую стёкла." @@ -300,7 +208,7 @@ required_blood = 30 -/obj/effect/proc_holder/spell/goon_vampire/self/screech/cast(list/targets, mob/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/self/screech/cast(list/targets, mob/user = usr) playsound(user.loc, 'sound/effects/creepyshriek.ogg', 100, TRUE) user.visible_message(span_warning("[user] издаёт душераздирающий визг!"), \ @@ -339,7 +247,7 @@ window.deconstruct(FALSE) -/obj/effect/proc_holder/spell/goon_vampire/targetted/enthrall +/obj/effect/proc_holder/spell/vampire/goon/targetted/enthrall name = "Порабощение" desc = "Вы используете большую часть своей силы, вынуждая тех, кто ещё никому не служит, служить только вам." gain_desc = "Вы получили способность «Порабощение», которая тратит много крови, но позволяет вам поработить человека, который ещё никому не служит, на случайный период времени." @@ -347,7 +255,7 @@ required_blood = 300 -/obj/effect/proc_holder/spell/goon_vampire/targetted/enthrall/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/targetted/enthrall/cast(list/targets, mob/living/carbon/human/user = usr) var/mob/living/carbon/human/target = targets[1] @@ -369,7 +277,7 @@ -/obj/effect/proc_holder/spell/goon_vampire/targetted/enthrall/proc/can_enthrall(mob/living/carbon/human/user, mob/living/carbon/target) +/obj/effect/proc_holder/spell/vampire/goon/targetted/enthrall/proc/can_enthrall(mob/living/carbon/human/user, mob/living/carbon/target) var/enthrall_safe = FALSE for(var/obj/item/implant/mindshield/implant in target) @@ -415,12 +323,11 @@ return TRUE -/obj/effect/proc_holder/spell/goon_vampire/targetted/enthrall/proc/handle_enthrall(mob/living/user, mob/living/carbon/human/target) +/obj/effect/proc_holder/spell/vampire/goon/targetted/enthrall/proc/handle_enthrall(mob/living/user, mob/living/carbon/human/target) if(!istype(target)) return FALSE - var/greet_text = "You have been Enthralled by [user.real_name]. Follow [user.p_their()] every command." - target.mind.add_antag_datum(new /datum/antagonist/mindslave/goon_thrall(user.mind, greet_text)) + target.mind.add_antag_datum(new /datum/antagonist/mindslave/thrall/goon_thrall(user.mind)) if(jobban_isbanned(target, ROLE_VAMPIRE)) SSticker.mode.replace_jobbanned_player(target, SPECIAL_ROLE_VAMPIRE_THRALL) target.Stun(4 SECONDS) @@ -429,7 +336,7 @@ target.create_log(CONVERSION_LOG, "was vampire enthralled", user) -/obj/effect/proc_holder/spell/goon_vampire/self/cloak +/obj/effect/proc_holder/spell/vampire/goon/self/cloak name = "Покров тьмы" desc = "Переключается, маскируя вас в темноте" gain_desc = "Вы получили способность «Покров тьмы», которая, будучи включённой, делает вас практически невидимым в темноте." @@ -437,29 +344,29 @@ base_cooldown = 1 SECONDS -/obj/effect/proc_holder/spell/goon_vampire/self/cloak/update_name(updates = ALL, mob/user) +/obj/effect/proc_holder/spell/vampire/goon/self/cloak/update_name(updates = ALL, mob/user) . = ..() - var/datum/antagonist/goon_vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) + var/datum/antagonist/vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/vampire) if(!vamp) return - var/new_name = "[initial(name)] ([vamp.iscloaking ? "Выключить" : "Включить"])" + var/new_name = "[initial(name)] ([vamp.is_goon_cloak ? "Выключить" : "Включить"])" name = new_name action?.name = new_name action?.UpdateButtonIcon() -/obj/effect/proc_holder/spell/goon_vampire/self/cloak/cast(list/targets, mob/living/carbon/human/user = usr) - var/datum/antagonist/goon_vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) +/obj/effect/proc_holder/spell/vampire/goon/self/cloak/cast(list/targets, mob/living/carbon/human/user = usr) + var/datum/antagonist/vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/vampire) if(!vamp) return - vamp.iscloaking = !vamp.iscloaking + vamp.is_goon_cloak = !vamp.is_goon_cloak update_name(user = user) - to_chat(user, span_notice("Теперь вас будет [vamp.iscloaking ? "не видно" : "видно"] в темноте.")) + to_chat(user, span_notice("Теперь вас будет [vamp.is_goon_cloak ? "не видно" : "видно"] в темноте.")) -/obj/effect/proc_holder/spell/goon_vampire/bats +/obj/effect/proc_holder/spell/vampire/goon/bats name = "Дети ночи" desc = "Вы вызываете пару космолетучих мышей, которые будут биться насмерть со всеми вокруг" gain_desc = "Вы получили способность «Дети ночи», призывающую летучих мышей." @@ -469,7 +376,7 @@ var/num_bats = 2 -/obj/effect/proc_holder/spell/goon_vampire/bats/create_new_targeting() +/obj/effect/proc_holder/spell/vampire/goon/bats/create_new_targeting() var/datum/spell_targeting/aoe/turf/T = new() T.selection_type = SPELL_SELECTION_RANGE T.use_turf_of_user = TRUE @@ -477,7 +384,7 @@ return T -/obj/effect/proc_holder/spell/goon_vampire/bats/valid_target(turf/target, user) +/obj/effect/proc_holder/spell/vampire/goon/bats/valid_target(turf/target, user) if(target.density) return FALSE @@ -488,7 +395,7 @@ return TRUE -/obj/effect/proc_holder/spell/goon_vampire/bats/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/bats/cast(list/targets, mob/living/carbon/human/user = usr) if(length(targets) < num_bats) revert_cast(user) return @@ -499,7 +406,7 @@ new /mob/living/simple_animal/hostile/scarybat(target_turf, user) -/obj/effect/proc_holder/spell/goon_vampire/self/jaunt +/obj/effect/proc_holder/spell/vampire/goon/self/jaunt name = "Облик тумана" desc = "Вы на короткое время превращаетесь в облако тумана" gain_desc = "Вы получили способность «Облик тумана», которая позволит вам превращаться в облако тумана и проходить сквозь любые препятствия." @@ -510,7 +417,7 @@ var/jaunt_duration = 5 SECONDS //in deciseconds -/obj/effect/proc_holder/spell/goon_vampire/self/jaunt/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/self/jaunt/cast(list/targets, mob/living/carbon/human/user = usr) spawn(0) var/turf/originalloc = get_turf(user.loc) var/obj/effect/dummy/spell_jaunt/holder = new /obj/effect/dummy/spell_jaunt(originalloc) @@ -568,7 +475,7 @@ // Blink for vamps // Less smoke spam. -/obj/effect/proc_holder/spell/goon_vampire/shadowstep +/obj/effect/proc_holder/spell/vampire/goon/shadowstep name = "Шаг в тень" desc = "Растворитесь в тенях" gain_desc = "Вы получили способность «Шаг в тень», позволяющую вам, затратив часть крови, оказаться в ближайшей доступной тени." @@ -585,7 +492,7 @@ var/max_lum = 1 -/obj/effect/proc_holder/spell/goon_vampire/shadowstep/create_new_targeting() +/obj/effect/proc_holder/spell/vampire/goon/shadowstep/create_new_targeting() var/datum/spell_targeting/aoe/turf/T = new() T.selection_type = SPELL_SELECTION_RANGE T.use_turf_of_user = TRUE @@ -593,7 +500,7 @@ return T -/obj/effect/proc_holder/spell/goon_vampire/shadowstep/valid_target(turf/target, user) +/obj/effect/proc_holder/spell/vampire/goon/shadowstep/valid_target(turf/target, user) if(target in range(user, inner_tele_radius)) return FALSE @@ -617,7 +524,7 @@ return TRUE -/obj/effect/proc_holder/spell/goon_vampire/shadowstep/cast(list/targets, mob/living/carbon/human/user = usr) +/obj/effect/proc_holder/spell/vampire/goon/shadowstep/cast(list/targets, mob/living/carbon/human/user = usr) if(!length(targets)) revert_cast(user) to_chat(user, span_warning("Поблизости нет теней, куда можно было бы шагнуть.")) @@ -639,25 +546,3 @@ spawn(1 SECONDS) qdel(animation) - -/datum/goon_vampire_passive - var/gain_desc - - -/datum/goon_vampire_passive/New() - ..() - if(!gain_desc) - gain_desc = "Вы получили способность «[src]»." - - -/datum/goon_vampire_passive/regen - gain_desc = "Ваша способность «Восстановление» улучшена. Теперь она будет постепенно исцелять вас после использования." - - -/datum/goon_vampire_passive/vision - gain_desc = "Ваше вампирское зрение улучшено." - - -/datum/goon_vampire_passive/full - gain_desc = "Вы достигли полной силы и ничто святое больше не может ослабить вас. Ваше зрение значительно улучшилось." - diff --git a/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm b/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm index 77bd4796ec8..96381501944 100644 --- a/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm +++ b/code/modules/antagonists/vampire/vampire_powers/vampire_powers.dm @@ -23,7 +23,7 @@ /datum/vampire_passive/New() ..() if(!gain_desc) - gain_desc = "You can now use [src]." + gain_desc = "Вы получили способность «[src]»." /datum/vampire_passive/Destroy(force) @@ -36,18 +36,20 @@ /datum/vampire_passive/regen - gain_desc = "Your rejuvenation abilities have improved and will now heal you over time when used." + gain_desc = "Ваша способность «Восстановление» улучшена. Теперь она будет постепенно исцелять вас после использования." /datum/vampire_passive/vision - gain_desc = "Your vampiric vision has improved." + gain_desc = "Ваше вампирское зрение улучшено." /datum/vampire_passive/full - gain_desc = "You have reached your full potential. You are no longer weak to the effects of anything holy and your vision has improved greatly." + gain_desc = "Вы достигли полной силы и ничто святое больше не может ослабить вас. Ваше зрение значительно улучшилось." /obj/effect/proc_holder/spell/vampire + name = "Report Me" + desc = "You shouldn't see this!" school = "vampire" action_background_icon_state = "bg_vampire" human_req = TRUE diff --git a/code/modules/arcade/prize_datums.dm b/code/modules/arcade/prize_datums.dm index 9d554fd62c9..f58c434cef3 100644 --- a/code/modules/arcade/prize_datums.dm +++ b/code/modules/arcade/prize_datums.dm @@ -41,13 +41,13 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new()) /datum/prize_item/balloon name = "Water Balloon" - desc = "A thin balloon for throwing liquid at people." + desc = "Воздушный шарик, наполняемый водой. Можно кинуть в другого человека!" typepath = /obj/item/toy/balloon cost = 10 /datum/prize_item/spinningtoy name = "Spinning Toy" - desc = "Looks like an authentic Singularity!" + desc = "Выглядит прям как Сингулярность!" typepath = /obj/item/toy/spinningtoy cost = 15 @@ -57,173 +57,143 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new()) typepath = /obj/item/toy/blink cost = 15 -/datum/prize_item/dice - name = "Dice Set" - desc = "A set of assorted dice." - typepath = /obj/item/storage/box/dice - cost = 20 - /datum/prize_item/foam_darts name = "Pack of Foam Darts" - desc = "A refill pack with foam darts." + desc = "Безвредный боезапас для донксофт оружия." typepath = /obj/item/ammo_box/foambox cost = 20 /datum/prize_item/snappops name = "Snap-Pops" - desc = "A box of exploding snap-pop fireworks." + desc = "Коробка взрывоопасных фейерверков Snap-Pops." typepath = /obj/item/storage/box/snappops cost = 20 /datum/prize_item/cards name = "Deck of Cards" - desc = "Anyone fancy a game of 52-card Pickup?" + desc = "Кто-нибудь хочет сыграть в дурака на 52 карты?" typepath = /obj/item/deck/cards cost = 25 -/datum/prize_item/crayons - name = "Box of Crayons" - desc = "An eight-pack of crayons, just like back in kindergarten." - typepath = /obj/item/storage/fancy/crayons - cost = 35 - /datum/prize_item/eight_ball name = "Magic Eight Ball" - desc = "A mystical ball that can divine the future!" + desc = "Мистический шар, способный предсказывать будущее!" typepath = /obj/item/toy/eight_ball cost = 40 /datum/prize_item/unum name = "Deck of UNUM! Cards" - desc = "Everyone's favorite card game!" + desc = "Всеми любимая карточная игра!" typepath = /obj/item/deck/unum cost = 45 /datum/prize_item/wallet name = "Colored Wallet" - desc = "Brightly colored and big enough for standard issue ID cards." + desc = "Стильный цветной кошелек для хранения вашей ID карты." typepath = /obj/item/storage/wallet/color cost = 50 /datum/prize_item/id_sticker name = "Prisoner ID Sticker" - desc = "A sticker that can make any ID look like a prisoner ID." + desc = "Наклейка, которая сделает любую ID-карту похожей на ID-карту заключенного." typepath = /obj/item/id_decal/prisoner cost = 50 /datum/prize_item/id_sticker/silver name = "Silver ID Sticker" - desc = "A sticker that can make any ID look like a silver ID." + desc = "Наклейка, которая сделает любую ID серебряной." typepath = /obj/item/id_decal/silver /datum/prize_item/id_sticker/gold name = "Gold ID Sticker" - desc = "A sticker that can make any ID look like a golden ID." + desc = "Наклейка, которая сделает любую ID золотой." typepath = /obj/item/id_decal/gold /datum/prize_item/id_sticker/centcom name = "Centcomm ID Sticker" - desc = "A sticker that can make any ID look like a Central Command ID." + desc = "Наклейка, которая сделает любую ID карту похожей на ID Центрального командования." typepath = /obj/item/id_decal/centcom /datum/prize_item/id_sticker/emag name = "Suspicious ID Sticker" - desc = "A sticker that can make any ID look like something suspicious..." + desc = "Наклейка, которая превращает вашу ID карту в нечто подозрительное..." typepath = /obj/item/id_decal/emag /datum/prize_item/flash name = "Toy Flash" - desc = "AUGH! MY EYES!" + desc = "ААААА! МОИ ГЛАЗА!!!" typepath = /obj/item/toy/flash cost = 50 /datum/prize_item/minimeteor name = "Mini-Meteor" - desc = "Meteors have been detected on a collision course with your fun times!" + desc = "Обнаружены метеоры, идущие на столкновение с вашим весёлым временем!" typepath = /obj/item/toy/minimeteor cost = 50 -/datum/prize_item/therapy_doll - name = "Random Therapy Doll" - desc = "A therapeutic doll for relieving stress without being charged with assault." - typepath = /obj/item/toy/prizeball/therapy - cost = 60 - /datum/prize_item/minigibber name = "Minigibber Toy" - desc = "A model of the station gibber. Probably shouldn't stick your fingers in it." + desc = "Миниатюрная копия кухонного гибера. Наверное, не стоит совать в это пальцы." typepath = /obj/item/toy/minigibber cost = 60 /datum/prize_item/confetti name = "Confetti Grenade" - desc = "Party time!" + desc = "Время тусовок!" typepath = /obj/item/grenade/confetti - cost = 65 - -/datum/prize_item/plushie - name = "Random Plushie" - desc = "A colorful plush toy." - typepath = /obj/item/toy/prizeball/plushie - cost = 75 + cost = 50 -/datum/prize_item/carp_plushie - name = "Random Carp Plushie" - desc = "A colorful fish-shaped plush toy." - typepath = /obj/item/toy/prizeball/carp_plushie +/datum/prize_item/AI + name = "Toy AI Unit" + desc = "1. Доставьте максимум удовольствия экипажу." + typepath = /obj/item/toy/AI cost = 75 /datum/prize_item/mech_toy name = "Random Mecha" - desc = "A random mecha figure, collect all 11!" + desc = "Случайная фигурка мехов!" typepath = /obj/item/toy/prizeball/mech cost = 75 -/datum/prize_item/action_figure - name = "Random Action Figure" - desc = "A random action figure, collect them all!" - typepath = /obj/item/toy/prizeball/figure - cost = 75 - -/datum/prize_item/AI - name = "Toy AI Unit" - desc = "Law 1: Maximize fun for crew." - typepath = /obj/item/toy/AI - cost = 75 - /datum/prize_item/capgun name = "Capgun Revolver" - desc = "Do you feel lucky... punk?" + desc = "Ты, наверное, думаешь, что тебе выпало .357 карат невезения?" typepath = /obj/item/gun/projectile/revolver/capgun cost = 75 -/datum/prize_item/pet_rock - name = "Pet Rock" - desc = "A pet of your very own!" - typepath = /obj/item/toy/pet_rock - cost = 80 - -/datum/prize_item/toy_xeno - name = "Xeno Action Figure" - desc = "A lifelike replica of the horrific xeno scourge." - typepath = /obj/item/toy/toy_xeno - cost = 80 +/datum/prize_item/codex_gigas + name = "Toy Codex Gigas" + desc = "Книга, способная хранить имена самых ужасных демонов в галактике. Стоит записать в неё имя вашего клоуна." + typepath = /obj/item/toy/codex_gigas/ + cost = 75 /datum/prize_item/rubberducky name = "Rubber Ducky" - desc = "Your favorite bathtime buddy, all squeaks and quacks quality assured." + desc = "Ваш любимый друг во время купания, лучшая пищялка-крякалка для ванной." typepath = /obj/item/bikehorn/rubberducky cost = 80 -/datum/prize_item/tacticool - name = "Tacticool Turtleneck" - desc = "A cool-looking turtleneck." - typepath = /obj/item/clothing/under/syndicate/tacticool +/datum/prize_item/spacesuit + name = "Fake Spacesuit" + desc = "Реплика скафандра синдиката. Не пригоден для использования в космосе." + typepath = /obj/item/storage/box/fakesyndiesuit cost = 90 +/datum/prize_item/owl + name = "Owl Action Figure" + desc = "Помните: герои не становятся ГРИФонами!" + typepath = /obj/item/toy/owl + cost = 100 + +/datum/prize_item/griffin + name = "Griffin Action Figure" + desc = "Если вы не можете быть лучшим, вы всегда можете быть ХУДШИМ." + typepath = /obj/item/toy/griffin + cost = 100 + /datum/prize_item/fakespell name = "Fake Spellbook" - desc = "Perform magic! Astound your friends! Get mistaken for an enemy of the corporation!" + desc = "Абсолютно настоящая магия дезинтеграции человека на мелкие кусочки!" typepath = /obj/item/spellbook/oneuse/fake_gib cost = 100 @@ -235,58 +205,34 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new()) /datum/prize_item/magic_conch name = "Magic Conch Shell" - desc = "All hail the magic conch!" + desc = "Если приложить к уху, то можно услышать космо-море!" typepath = /obj/item/toy/eight_ball/conch cost = 100 -/datum/prize_item/crossbow - name = "Foam Dart Crossbow" - desc = "A toy crossbow that fires foam darts." - typepath = /obj/item/gun/projectile/shotgun/toy/crossbow - cost = 100 - /datum/prize_item/foamblade name = "Foam Arm Blade" - desc = "Perfect for reenacting space horror holo-vids." + desc = "Идеально подходит для воспроизведения голо-фильмов ужасов." typepath = /obj/item/toy/foamblade cost = 100 /datum/prize_item/redbutton name = "Shiny Red Button" - desc = "PRESS IT!" + desc = "НАЖМИ НА ЭТО!" typepath = /obj/item/toy/redbutton cost = 100 /datum/prize_item/nuke name = "Nuclear Fun Device" - desc = "Annihilate boredom with an explosion of excitement!" + desc = "Помнит кто коды для активации?" typepath = /obj/item/toy/nuke cost = 100 /datum/prize_item/blobhat name = "Blob Hat" - desc = "There's... something... on your head..." + desc = "У тебя... Что-то... На голове..." typepath = /obj/item/clothing/head/blob cost = 125 -/datum/prize_item/owl - name = "Owl Action Figure" - desc = "Remember: heroes don't grief!" - typepath = /obj/item/toy/owl - cost = 125 - -/datum/prize_item/griffin - name = "Griffin Action Figure" - desc = "If you can't be the best, you can always be the WORST." - typepath = /obj/item/toy/griffin - cost = 125 - -/datum/prize_item/codex_gigas - name = "Toy Codex Gigas" - desc = "For helping you come up with writing ideas for your diabolical adventures." - typepath = /obj/item/toy/codex_gigas/ - cost = 75 - /datum/prize_item/esword name = "Toy Energy Sword" desc = "A plastic replica of an energy blade." @@ -295,48 +241,66 @@ GLOBAL_DATUM_INIT(global_prizes, /datum/prizes, new()) /datum/prize_item/fakespace name = "Space Carpet" - desc = "A stack of carpeted floor tiles that resemble space." + desc = "Стопка напольных плиток с ковровым покрытием, напоминающих космос." typepath = /obj/item/stack/tile/fakespace/loaded cost = 150 /datum/prize_item/arcadecarpet name = "Arcade Carpet" - desc = "A stack of genuine arcade carpet tiles, complete with authentic soft drink stains!" + desc = "Стопка настоящих аркадных ковровых плиток с подлинными пятнами от прохладительных напитков!" typepath = /obj/item/stack/tile/arcade_carpet/loaded cost = 150 /datum/prize_item/tommygun name = "Tommy Gun" - desc = "A replica tommy gun that fires foam darts." + desc = "Реплика Томми-гана, стреляющего дротиками из пенопласта." typepath = /obj/item/gun/projectile/shotgun/toy/tommygun cost = 175 -/datum/prize_item/spacesuit - name = "Fake Spacesuit" - desc = "A replica spacesuit. Not actually spaceworthy." - typepath = /obj/item/storage/box/fakesyndiesuit - cost = 180 - /datum/prize_item/chainsaw name = "Toy Chainsaw" - desc = "A full-scale model chainsaw, based on that massacre in Space Texas." + desc = "Полноразмерная модель бензопилы, основанная на той самой Техасской космо-резне бензопилой." typepath = /obj/item/twohanded/toy/chainsaw cost = 200 /datum/prize_item/headpat name = "Gloves of Headpats" - desc = "Gloves that fill you with an irresistable urge to give headpats." + desc = "Перчатки, которые наполняют вас непреодолимым желанием погладить кого нибудь по голове." typepath = /obj/item/clothing/gloves/fingerless/rapid/headpat cost = 150 /datum/prize_item/rubbertoolbox name = "Rubber Toolbox" - desc = "Practice your robust!" + desc = "Тренируйте свой робаст!" typepath = /obj/item/toy/toolbox cost = 200 +/datum/prize_item/crossbow + name = "Toy Energy Crossbow" + desc = "Игрушечное оружие, сделанное из тагерного пистолета со стильным дизайном контрабандного арбалета." + typepath = /obj/item/gun/energy/kinetic_accelerator/crossbow/toy + cost = 300 + +/datum/prize_item/enforce + name = "Foam Force Enforce" + desc = "Точная копия стандартного вооружения службы безопасности НТ." + typepath = /obj/item/gun/projectile/automatic/toy/pistol/enforcer + cost = 350 + +/datum/prize_item/shotgun + name = "Foam Force Shotgun" + desc = "Помповый донксофт дробовик со скользящим цевьём для быстрой стрельбы." + typepath = /obj/item/gun/projectile/shotgun/toy + cost = 400 + /datum/prize_item/bike name = "Awesome Bike!" - desc = "WOAH." + desc = "Я прикупил огромный байк..." typepath = /obj/vehicle/motorcycle + cost = 2500 + +/datum/prize_item/speedbike + name = "Awesome Speedbike!" + desc = "Спорим, что вы не сможете его купить? XD" + typepath =/obj/vehicle/space/speedbike/red cost = 10000 //max stack + 1 tickets. diff --git a/code/modules/client/preference/loadout/loadout_donor.dm b/code/modules/client/preference/loadout/loadout_donor.dm index aad973c1ee4..b7854bf2fc3 100644 --- a/code/modules/client/preference/loadout/loadout_donor.dm +++ b/code/modules/client/preference/loadout/loadout_donor.dm @@ -11,6 +11,9 @@ stack_trace("Item with no donator tier in loadout donor items: [display_name].") return TRUE + if(!cl.prefs) // DB loading, skip this check now + return TRUE + if(cl?.donator_level >= donator_tier) return TRUE @@ -389,4 +392,9 @@ display_name = "Short maid costume" path = /obj/item/clothing/under/maid/short +/datum/gear/donor/rdplushie + donator_tier = 3 + cost = 1 + display_name = "RD doll" + path = /obj/item/toy/plushie/rdplushie diff --git a/code/modules/client/preference/loadout/loadout_general.dm b/code/modules/client/preference/loadout/loadout_general.dm index 2bf9db3fa59..3cc4dfc056d 100644 --- a/code/modules/client/preference/loadout/loadout_general.dm +++ b/code/modules/client/preference/loadout/loadout_general.dm @@ -128,10 +128,6 @@ display_name ="TTS device" path = /obj/item/ttsdevice -/datum/gear/blindfold - display_name ="Blindfold" - path = /obj/item/clothing/glasses/sunglasses/blindfold - /datum/gear/lipstick display_name = "lipstick, select" path = /obj/item/lipstick diff --git a/code/modules/client/preference/loadout/loadout_glasses.dm b/code/modules/client/preference/loadout/loadout_glasses.dm index 2f4a9328300..dd7350aa640 100644 --- a/code/modules/client/preference/loadout/loadout_glasses.dm +++ b/code/modules/client/preference/loadout/loadout_glasses.dm @@ -11,10 +11,22 @@ display_name = "Eyepatch" path = /obj/item/clothing/glasses/eyepatch +/datum/gear/glasses/blindfold + display_name = "Blindfold" + path = /obj/item/clothing/glasses/sunglasses/blindfold + +/datum/gear/glasses/blindfold/New() + ..() + gear_tweaks += new /datum/gear_tweak/color(parent = src) + /datum/gear/glasses/blindfold_fake display_name = "Fake blindfold" path = /obj/item/clothing/glasses/sunglasses/blindfold_fake +/datum/gear/glasses/blindfold_fake/New() + ..() + gear_tweaks += new /datum/gear_tweak/color(parent = src) + /datum/gear/glasses/hipster display_name = "Hipster glasses" path = /obj/item/clothing/glasses/regular/hipster diff --git a/code/modules/client/preference/loadout/loadout_plushie.dm b/code/modules/client/preference/loadout/loadout_plushie.dm index e0e7d1629ae..431f0d6c20e 100644 --- a/code/modules/client/preference/loadout/loadout_plushie.dm +++ b/code/modules/client/preference/loadout/loadout_plushie.dm @@ -105,3 +105,5 @@ display_name = "Hampter, ERT" path = /obj/item/toy/plushie/hampter/ert_squad cost = 1 + + diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm index 05e0d6e2134..473d6d5f907 100644 --- a/code/modules/client/preference/preferences.dm +++ b/code/modules/client/preference/preferences.dm @@ -1573,7 +1573,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts m_colours["head"] = rand_hex_color() if("m_style_body") if(S.bodyflags & HAS_BODY_MARKINGS) //Species with body markings. - m_styles["body"] = random_marking_style("body", species) + m_styles["body"] = random_marking_style("body", species, gender = src.gender) if("m_body_colour") if(S.bodyflags & HAS_BODY_MARKINGS) //Species with body markings. m_colours["body"] = rand_hex_color() @@ -1663,7 +1663,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts m_colours["head"] = "#000000" if(NS.bodyflags & HAS_BODY_MARKINGS) //Species with body markings/tattoos. - m_styles["body"] = random_marking_style("body", species) + m_styles["body"] = random_marking_style("body", species, gender = src.gender) else m_styles["body"] = "None" m_colours["body"] = "#000000" @@ -1920,6 +1920,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts valid_markings["None"] = GLOB.marking_styles_list["None"] for(var/markingstyle in GLOB.marking_styles_list) var/datum/sprite_accessory/M = GLOB.marking_styles_list[markingstyle] + if(gender == M.unsuitable_gender) + continue if(!(species in M.species_allowed)) continue if(M.marking_location != "body") @@ -2010,9 +2012,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts if(facialhairstyle == "Shaved") //Just in case. valid_facial_hairstyles += facialhairstyle continue - if(gender == MALE && SA.gender == FEMALE) - continue - if(gender == FEMALE && SA.gender == MALE) + if(gender == SA.unsuitable_gender) continue if(S.bodyflags & ALL_RPARTS) //Species that can use prosthetic heads. var/head_model @@ -2039,9 +2039,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/list/valid_underwear = list() for(var/underwear in GLOB.underwear_list) var/datum/sprite_accessory/SA = GLOB.underwear_list[underwear] - if(gender == MALE && SA.gender == FEMALE) - continue - if(gender == FEMALE && SA.gender == MALE) + if(gender == SA.unsuitable_gender) continue if(!(species in SA.species_allowed)) continue @@ -2061,9 +2059,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/list/valid_undershirts = list() for(var/undershirt in GLOB.undershirt_list) var/datum/sprite_accessory/SA = GLOB.undershirt_list[undershirt] - if(gender == MALE && SA.gender == FEMALE) - continue - if(gender == FEMALE && SA.gender == MALE) + if(gender == MALE && SA.unsuitable_gender) continue if(!(species in SA.species_allowed)) continue @@ -2083,9 +2079,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts var/list/valid_sockstyles = list() for(var/sockstyle in GLOB.socks_list) var/datum/sprite_accessory/SA = GLOB.socks_list[sockstyle] - if(gender == MALE && SA.gender == FEMALE) - continue - if(gender == FEMALE && SA.gender == MALE) + if(gender == SA.unsuitable_gender) continue if(!(species in SA.species_allowed)) continue @@ -2394,6 +2388,16 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts gender = FEMALE else gender = MALE + + var/datum/robolimb/robohead + if(S.bodyflags & ALL_RPARTS) + var/head_model = "[!rlimb_data["head"] ? "Morpheus Cyberkinetics" : rlimb_data["head"]]" + robohead = GLOB.all_robolimbs[head_model] + + h_style = random_hair_style(gender, species, robohead) + f_style = random_facial_hair_style(gender, species, robohead) + + m_styles["body"] = random_marking_style("body", species, gender = src.gender) underwear = random_underwear(gender) if("hear_adminhelps") diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 17f35f85b3d..0ff06e93599 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -1231,7 +1231,7 @@ BLIND // can't see anything SPECIES_PLASMAMAN = 'icons/mob/clothing/species/plasmaman/neck.dmi' ) -/obj/item/clothing/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!teleportation) return ..() if(prob(5)) diff --git a/code/modules/clothing/glasses/glasses.dm b/code/modules/clothing/glasses/glasses.dm index 998cfd9f780..4aa7b0db32f 100644 --- a/code/modules/clothing/glasses/glasses.dm +++ b/code/modules/clothing/glasses/glasses.dm @@ -527,21 +527,34 @@ /obj/item/clothing/glasses/sunglasses/blindfold name = "blindfold" desc = "Covers the eyes, preventing sight." - icon_state = "blindfold" - item_state = "blindfold" + icon_state = "blindfold_white" + item_state = "blindfold_white" flash_protect = FLASH_PROTECTION_WELDER tint = 3 //to make them blind prescription_upgradable = FALSE + var/colour = null + +/obj/item/clothing/glasses/sunglasses/blindfold/Initialize(mapload) + . = ..() + AddComponent(/datum/component/spraycan_paintable) + add_atom_colour(colour, FIXED_COLOUR_PRIORITY) + +/obj/item/clothing/glasses/sunglasses/blindfold/black + colour = "#2a2a2a" /obj/item/clothing/glasses/sunglasses/blindfold_fake name = "thin blindfold" desc = "Covers the eyes, but not thick enough to obscure vision. Mostly for aesthetic." - icon_state = "blindfold" - item_state = "blindfold" + icon_state = "blindfold_white" + item_state = "blindfold_white" flash_protect = FLASH_PROTECTION_NONE tint = 0 prescription_upgradable = FALSE +/obj/item/clothing/glasses/sunglasses/blindfold_fake/Initialize(mapload) + . = ..() + AddComponent(/datum/component/spraycan_paintable) + /obj/item/clothing/glasses/sunglasses/prescription prescription = TRUE diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm index f0a26a4f5f4..a611655bafb 100644 --- a/code/modules/clothing/gloves/color.dm +++ b/code/modules/clothing/gloves/color.dm @@ -56,9 +56,14 @@ unlimited_power = TRUE /obj/item/clothing/gloves/color/yellow/fake - desc = "These gloves will protect the wearer from electric shock. They don't feel like rubber..." siemens_coefficient = 1 +/obj/item/clothing/gloves/color/yellow/fake/examine(mob/user) + . = ..() + if(Adjacent(user)) + . += span_notice("They don't feel like rubber...") + + /obj/item/clothing/gloves/color/fyellow //Cheap Chinese Crap desc = "These gloves are cheap copies of the coveted gloves, no way this can end badly." name = "budget insulated gloves" diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index ea9c153d168..90ba49e6345 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -396,7 +396,7 @@ desc = "Someone seperated our Research Director from his own head!" var/tele_range = 2 -/obj/item/clothing/suit/armor/reactive/teleport/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/armor/reactive/teleport/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!active) return 0 if(prob(hit_reaction_chance)) @@ -425,7 +425,7 @@ /obj/item/clothing/suit/armor/reactive/fire name = "reactive incendiary armor" -/obj/item/clothing/suit/armor/reactive/fire/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/armor/reactive/fire/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!active) return 0 if(prob(hit_reaction_chance)) @@ -441,7 +441,7 @@ /obj/item/clothing/suit/armor/reactive/stealth name = "reactive stealth armor" -/obj/item/clothing/suit/armor/reactive/stealth/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/armor/reactive/stealth/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!active) return 0 if(prob(hit_reaction_chance)) @@ -458,7 +458,7 @@ /obj/item/clothing/suit/armor/reactive/tesla name = "reactive tesla armor" -/obj/item/clothing/suit/armor/reactive/tesla/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/armor/reactive/tesla/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!active) return 0 if(prob(hit_reaction_chance)) diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm index a642377da36..3f29aa2cf86 100644 --- a/code/modules/clothing/under/color.dm +++ b/code/modules/clothing/under/color.dm @@ -77,7 +77,7 @@ name = "ancient jumpsuit" desc = "A terribly ragged and frayed grey jumpsuit. It looks like it hasn't been washed in over a decade." -/obj/item/clothing/under/color/grey/glorf/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/under/color/grey/glorf/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) owner.forcesay(GLOB.hit_appends) return 0 diff --git a/code/modules/clothing/under/jobs/civilian.dm b/code/modules/clothing/under/jobs/civilian.dm index 61390798f23..12cc402ee60 100644 --- a/code/modules/clothing/under/jobs/civilian.dm +++ b/code/modules/clothing/under/jobs/civilian.dm @@ -106,7 +106,7 @@ . = ..() AddComponent(/datum/component/squeak, list('sound/items/bikehorn.ogg'), 50, falloff_exponent = 20) //die off quick please -/obj/item/clothing/under/rank/clown/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/under/rank/clown/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(ishuman(loc)) var/mob/living/carbon/human/H = loc if(H.mind && H.mind.assigned_role == JOB_TITLE_CLOWN) diff --git a/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit.dm b/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit.dm index b77850202fb..b82604c92f8 100644 --- a/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit.dm +++ b/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit.dm @@ -8,7 +8,7 @@ taser_proof.hardsuit = src -/obj/item/clothing/suit/space/hardsuit/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/clothing/suit/space/hardsuit/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(taser_proof) var/blocked = taser_proof.hit_reaction(owner, hitby, attack_text, final_block_chance, damage, attack_type) if(blocked) diff --git a/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit_taser_proof.dm b/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit_taser_proof.dm index 51a7d99be6c..7d202270690 100644 --- a/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit_taser_proof.dm +++ b/code/modules/clothing/upgrade_modules/hardsuit_taser_proof_module/hardsuit_taser_proof.dm @@ -31,7 +31,7 @@ for(var/I in 1 to 7) new /obj/item/hardsuit_taser_proof/ert_locked(src) -/obj/item/hardsuit_taser_proof/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/hardsuit_taser_proof/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(!hardsuit) return FALSE if(!hardsuit.suit_adjusted) diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 520c48632e9..cb5b6bf4768 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -144,7 +144,7 @@ force = 5 sharp = 0 -/obj/item/claymore/fluff/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/claymore/fluff/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) return 0 /obj/item/fluff/rsik_katana //Xydonus: Rsik Ugsharki Atan @@ -165,7 +165,9 @@ hitsound = 'sound/weapons/bladeslice.ogg' /obj/item/fluff/rsik_katana/suicide_act(mob/user) - user.visible_message("[user] tries to stab [src] into [user.p_their()] stomach! Except [src] shatters! [user.p_they(TRUE)] look[user.p_s()] as if [user.p_they()] might die from the shame.") + user.visible_message(span_suicide("[user] tries to stab [src] into [user.p_their()] stomach! Except [src] shatters! [user.p_they(TRUE)] look[user.p_s()] as if [user.p_they()] might die from the shame.")) + user.temporarily_remove_item_from_inventory(src, force = TRUE) + qdel(src) return BRUTELOSS /obj/item/crowbar/fluff/zelda_creedy_1 // Zomgponies: Griffin Rowley diff --git a/code/modules/economy/Accounts.dm b/code/modules/economy/Accounts.dm index 21692addc8f..a675e47bfaa 100644 --- a/code/modules/economy/Accounts.dm +++ b/code/modules/economy/Accounts.dm @@ -3,15 +3,30 @@ #define STATION_START_CASH 75000 #define STATION_SOURCE_TERMINAL "Biesel GalaxyNet Terminal #227" #define DEPARTMENT_START_CASH 5000 +#define NISHEBROD_SALARY 0 GLOBAL_VAR_INIT(num_financial_terminals, 1) GLOBAL_DATUM(station_account, /datum/money_account) GLOBAL_LIST_EMPTY(department_accounts) +GLOBAL_LIST_EMPTY(active_salary_system) GLOBAL_VAR_INIT(next_account_number, 0) GLOBAL_DATUM(centcomm_account_db, /obj/machinery/computer/account_database) // this being an object hurts me deeply on the inside GLOBAL_DATUM(vendor_account, /datum/money_account) GLOBAL_LIST_EMPTY(all_money_accounts) +GLOBAL_DATUM(CC_account, /datum/money_account) + +/proc/create_CC_account() + if(!GLOB.CC_account) + GLOB.next_account_number = rand(111111, 999999) + + GLOB.CC_account = new() + GLOB.CC_account.owner_name = "Account of the personnel department of the Central Command" + GLOB.CC_account.account_number = rand(111111, 999999) + GLOB.CC_account.remote_access_pin = rand(111111, 999999) + GLOB.CC_account.money = INFINITY + GLOB.CC_account.security_level = 2 + /proc/create_station_account() if(!GLOB.station_account) GLOB.next_account_number = rand(111111, 999999) @@ -50,13 +65,15 @@ GLOBAL_LIST_EMPTY(all_money_accounts) //the current ingame time (hh:mm:ss) can be obtained by calling: //station_time_timestamp("hh:mm:ss") -/proc/create_account(var/new_owner_name = "Default user", var/starting_funds = 0, var/obj/machinery/computer/account_database/source_db) +/proc/create_account(var/new_owner_name = "Default user", var/starting_funds = 0, var/obj/machinery/computer/account_database/source_db, var/datum/job/link_job = /datum/job ,var/salary_active = FALSE) //create a new account var/datum/money_account/M = new() M.owner_name = new_owner_name M.remote_access_pin = rand(111111, 999999) M.money = starting_funds + M.linked_job = link_job + M.salary_payment_active = salary_active //create an entry in the account transaction log for when it was created var/datum/transaction/T = new() @@ -122,9 +139,25 @@ GLOBAL_LIST_EMPTY(all_money_accounts) //1 - require manual login / account number and pin //2 - require card and manual login + var/datum/job/linked_job = /datum/job + var/salary_payment_active = FALSE + /datum/money_account/New() ..() +/datum/money_account/proc/notify_pda_owner(var/text, var/noti = FALSE) + for(var/obj/item/pda/send_pda in GLOB.PDAs) + if(owner_name == send_pda.owner) + var/datum/data/pda/app/messenger/PM = send_pda.find_program(/datum/data/pda/app/messenger) + + if(PM && PM.can_receive()) + PM.notify(text, noti) + return TRUE + + return FALSE + + return FALSE + /datum/transaction var/target_name = "" var/purpose = "" @@ -156,6 +189,11 @@ GLOBAL_LIST_EMPTY(all_money_accounts) if(D.account_number == account_number) return D +/proc/get_account_with_name(var/name_owner) + for(var/datum/money_account/D in GLOB.all_money_accounts) + if(D.owner_name == name_owner) + return D + /proc/attempt_account_access_nosec(var/attempt_account_number) for(var/datum/money_account/D in GLOB.all_money_accounts) if(D.account_number == attempt_account_number) @@ -166,3 +204,4 @@ GLOBAL_LIST_EMPTY(all_money_accounts) #undef STATION_START_CASH #undef STATION_SOURCE_TERMINAL #undef DEPARTMENT_START_CASH +#undef NISHEBROD_SALARY diff --git a/code/modules/economy/Accounts_DB.dm b/code/modules/economy/Accounts_DB.dm index 9623b112db6..0fdb5366ca3 100644 --- a/code/modules/economy/Accounts_DB.dm +++ b/code/modules/economy/Accounts_DB.dm @@ -25,16 +25,7 @@ GLOBAL_VAR(current_date_string) // If someone ever makes a map without one of these consoles, the entire eco AND date system breaks // This upsets me a lot // AA Todo: SSeconomy - if(!GLOB.station_account) - create_station_account() - - if(GLOB.department_accounts.len == 0) - for(var/department in GLOB.station_departments) - create_department_account(department) - if(!GLOB.vendor_account) - create_department_account("Vendor") - GLOB.vendor_account = GLOB.department_accounts["Vendor"] - + if(!GLOB.current_date_string) GLOB.current_date_string = "[time2text(world.timeofday, "DD Month")], [GLOB.game_year]" diff --git a/code/modules/economy/EFTPOS.dm b/code/modules/economy/EFTPOS.dm index 7e1366fe6da..3755d2be661 100644 --- a/code/modules/economy/EFTPOS.dm +++ b/code/modules/economy/EFTPOS.dm @@ -139,7 +139,7 @@ "[rand(0,99999)]",". = ..() RETURN FUCK_NT","IT'S OVER 9000!","three hundred bucks", "Nineteen Eighty-Four","alla money frum ur bank acc")) if(linked_account && linked_account.security_level == 0) - //если уровень защиты привязанного аккаунта нулевой, то глобально переписывает имя владельца + //if the security level of the linked account is zero, then globally rewrites the owner's name linked_account.owner_name = pick(list( "Taargüs Taargüs","n4n07r453n 7074lly 5ux","Maya Normousbutt","Al Coholic","Stu Piddiddiot", "Yuri Nator","HAI GUYZ! LEARN HA TO CHANGE SECURITY SETTINGS! LOL!!")) @@ -193,7 +193,7 @@ print_reference(user) if("link_account") if(duty_mode) - //запрещает редактировать это поле на служебном устройстве + //prevents editing of this field on the service device to_chat(user, "[bicon(src)] Feature not available on this device.") playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 30, 1) return @@ -227,17 +227,15 @@ return transaction_amount = try_num if("toggle_lock") - //вообще, это три разные кнопки, по-хорошему, их надо разбить на три события - //но для этого нужно eftpos.js редактировать, заодно и все input перевести на tgui if(transaction_locked && !transaction_paid) - //выход из режима оплаты c помощью карты или если код 0 (приоритетный выход) + //exit from card payment mode or if code 0 (priority exit) var/list/access = user.get_access() if((ACCESS_CENT_COMMANDER in access) || (ACCESS_CAPTAIN in access) || (ACCESS_HOP in access) || !access_code) transaction_locked = 0 transaction_paid = 0 playsound(src, 'sound/machines/terminal_prompt.ogg', 30, 0) return - //выход с проверкой кода доступа + //exit with access code verification var/attempt_code = tgui_input_number(user, "Enter EFTPOS access code", "Reset Transaction", max_value = 9999, min_value = 1000) if(!Adjacent(user)) return @@ -250,13 +248,13 @@ playsound(src, 'sound/machines/terminal_prompt.ogg', 30, 0) return if(transaction_locked && transaction_paid) - //завершение оплаты с печатью чека + //completion of payment with receipt printing transaction_locked = 0 transaction_paid = 0 print_check(user) return if(linked_account && !transaction_locked) - //переводит EFTPOS в режим оплаты, если введен аккаунт получателя + //switches EFTPOS to payment mode if the recipient account is entered transaction_locked = 1 playsound(src, 'sound/machines/terminal_prompt.ogg', 30, 0) else @@ -291,13 +289,13 @@ reconnect_database() if(linked_db) if(during_paid) - //такая проверка необходима для предотвращения множественных операций оплаты при закликивании + //This check is necessary to prevent multiple payment transactions when clicking to_chat(user, "[bicon(src)] End the current operation first.") playsound(src, 'sound/machines/terminal_prompt_deny.ogg', 30, 1) return if(!transaction_locked || transaction_paid) - //прерывает процедуру, если EFTPOS не был переведен в режим оплаты или транзакция уже была оплачена + //aborts the procedure if EFTPOS has not been switched to payment mode or the transaction has already been paid return during_paid = TRUE diff --git a/code/modules/economy/quests/_base_quests.dm b/code/modules/economy/quests/_base_quests.dm index bae0596cd74..8269de032ae 100644 --- a/code/modules/economy/quests/_base_quests.dm +++ b/code/modules/economy/quests/_base_quests.dm @@ -152,7 +152,11 @@ var/list/req_items = list() ///possible difficultly var/difficultly_flags - + + + var/cargo_quest_reward = 0 //The reward for the quest, consider the debut of the roflcat + var/list/bounty_jobs = list() //Positions that will be paid. (Noooo I won't do part of this in new) + var/linked_departament = "Cargo" //The department key is specified to take it from the global list, no, I will not upload to new, I'm afraid to break even /datum/cargo_quest/New(storage, read_datum = FALSE) if(!read_datum) diff --git a/code/modules/economy/quests/centcomm_departaments.dm b/code/modules/economy/quests/centcomm_departaments.dm index 6611f2dc281..ae3fbcc07ba 100644 --- a/code/modules/economy/quests/centcomm_departaments.dm +++ b/code/modules/economy/quests/centcomm_departaments.dm @@ -7,7 +7,14 @@ #define GROUP_MATERIALS "Raw Materials" #define GROUP_VEND "Vending" +#define PERCENTAGE_PAYMENTS_STATION 0.25 //25 percent on the account of the station +#define PERCENTAGE_PAYMENTS_CARGO 0.6 //60 percent on the cargo account +#define PERCENTAGE_PAYMENTS_PERSONAL 0.15 //15 percent on the account of the beggars + #define POINT_TO_CREDITS 10 +#define COMMERCIAL_MODIFIER 3 + +//Give up hope, hope, everyone who enters here /datum/quest_customer var/departament_name @@ -40,7 +47,7 @@ /datum/quest_customer/proc/get_difficulty() return -/datum/quest_customer/proc/send_reward(reward) +/datum/quest_customer/proc/send_reward(reward, var/list/copmpleted_quests = list()) return FALSE /datum/quest_customer/proc/special(datum/cargo_quests_storage/quest) @@ -165,13 +172,29 @@ group_name = "corporation" /datum/quest_customer/corp/change_reward(datum/cargo_quests_storage/quest) - quest.reward *= POINT_TO_CREDITS - -/datum/quest_customer/corp/send_reward(reward) - var/datum/money_account/station_money_account = GLOB.station_account - station_money_account.credit(round(reward/4), "Completed Order!", "Biesel TCD Terminal #[rand(111,333)]", "Station Account") + quest.reward *= POINT_TO_CREDITS * COMMERCIAL_MODIFIER + +/datum/quest_customer/corp/send_reward(reward, var/list/copmpleted_quests = list()) + var/list/nishebrod_jobs = list() + var/list/linked_departaments = list() //HEHE HI HA + var/personals_reward = round(reward * PERCENTAGE_PAYMENTS_PERSONAL) + for(var/datum/cargo_quest/quest in copmpleted_quests) + nishebrod_jobs |= quest.bounty_jobs + linked_departaments |= quest.linked_departament + + //If not, it pays to the account of the department + if(!SScapitalism.smart_bounty_payment(nishebrod_jobs, personals_reward)) + SScapitalism.smart_departament_payment(linked_departaments, personals_reward) + + SScapitalism.total_station_bounty += round(reward * PERCENTAGE_PAYMENTS_STATION) + var/datum/money_account/station_money_account = SScapitalism.base_account + station_money_account.credit(round(reward * PERCENTAGE_PAYMENTS_STATION), "Completed Order!", "Biesel TCD Terminal #[rand(111,333)]", "Station Account") + + + SScapitalism.total_cargo_bounty += round(reward * PERCENTAGE_PAYMENTS_CARGO) var/datum/money_account/cargo_money_account = GLOB.department_accounts["Cargo"] - cargo_money_account.credit(round(reward/4*3), "Completed Order!", "Biesel TCD Terminal #[rand(111,333)]", "Cargo Account") + cargo_money_account.credit(round(reward * PERCENTAGE_PAYMENTS_CARGO), "Completed Order!", "Biesel TCD Terminal #[rand(111,333)]", "Cargo Account") + return TRUE @@ -228,3 +251,8 @@ #undef GROUP_VEND #undef POINT_TO_CREDITS +#undef COMMERCIAL_MODIFIER + +#undef PERCENTAGE_PAYMENTS_STATION +#undef PERCENTAGE_PAYMENTS_CARGO +#undef PERCENTAGE_PAYMENTS_PERSONAL diff --git a/code/modules/economy/quests/reagents_quests.dm b/code/modules/economy/quests/reagents_quests.dm index 1f43b62b7f7..5fb4637c821 100644 --- a/code/modules/economy/quests/reagents_quests.dm +++ b/code/modules/economy/quests/reagents_quests.dm @@ -1,46 +1,55 @@ +//Abandon hope, everyone who enters here + +//When changing reagents, remember about the horror hidden under the hood /datum/cargo_quest/reagents quest_type_name = "Chemical" req_items = list(/obj/item/reagent_containers) + bounty_jobs = (JOB_TITLE_CHEMIST) + linked_departament = "Medical" difficultly_flags = (QUEST_DIFFICULTY_EASY|QUEST_DIFFICULTY_NORMAL) var/list/required_reagents = list() var/list/repeated_reagents = list( - "antiburn_stimulant" = list("volume" = 5, "reward" = 500), + // Botanic order + "thc" = list("volume" = 30, "reward" = 100), + "moonlin" = list("volume" = 30, "reward" = 100), + "growthserum" = list("volume" = 15, "reward" = 100), + "tirizene" = list("volume" = 30, "reward" = 125), + "synaptizine" = list("volume" = 30, "reward" = 125), + "weak_omnizine" = list("volume" = 30, "reward" = 125), + "earthsblood" = list("volume" = 30, "reward" = 150), + + // Chemist order + "pyrosium" = list("volume" = 30, "reward" = 75), + "napalm" = list("volume" = 30, "reward" = 75), "synthflesh" = list("volume" = 30, "reward" = 80), - "rezadone" = list("volume" = 30, "reward" = 250), + "facid" = list("volume" = 15, "reward" = 100), + "minttoxin" = list("volume" = 15, "reward" = 100), "sterilizine" = list("volume" = 30, "reward" = 100), - "earthsblood" = list("volume" = 30, "reward" = 120), - "pen_acid" = list("volume" = 30, "reward" = 120), - "mitocholide" = list("volume" = 30, "reward" = 95), - "condensedcapsaicin" = list("volume" = 30, "reward" = 300), - "napalm" = list("volume" = 30, "reward" = 75), - "thc" = list("volume" = 30, "reward" = 90), - "fliptonium" = list("volume" = 10, "reward" = 450), - "glycerol" = list("volume" = 30, "reward" = 380), - "weak_omnizine" = list("volume" = 30, "reward" = 85), - "super_hairgrownium" = list("volume" = 15, "reward" = 300), - "pyrosium" = list("volume" = 30, "reward" = 45), - "hairgrownium" = list("volume" = 30, "reward" = 175), - "itching_powder" = list("volume" = 30, "reward" = 60), + "fomepizole" = list("volume" = 20, "reward" = 125), + "mitocholide" = list("volume" = 30, "reward" = 150), + "pen_acid" = list("volume" = 30, "reward" = 175), + "sarin" = list("volume" = 10, "reward" = 200), + "antiburn_stimulant" = list("volume" = 5, "reward" = 500), ) var/list/unique_reagents = list( - "strange_reagent" = list("volume" = 15, "reward" = 250), - "fomepizole" = list("volume" = 20, "reward" = 160), - "synaptizine" = list("volume" = 30, "reward" = 150), - "hair_dye" = list("volume" = 10, "reward" = 310), - "colorful_reagent" = list("volume" = 10, "reward" = 220), - "vhfcs" = list("volume" = 30, "reward" = 135), - "moonlin" = list("volume" = 30, "reward" = 85), - "tirizene" = list("volume" = 30, "reward" = 120), + // Mixed Order + "itching_powder" = list("volume" = 30, "reward" = 100), + "fliptonium" = list("volume" = 10, "reward" = 150), + "vhfcs" = list("volume" = 30, "reward" = 200), + "rotatium" = list("volume" = 15, "reward" = 200), "bath_salts" = list("volume" = 10, "reward" = 220), - "capulettium_plus" = list("volume" = 15, "reward" = 150), - "facid" = list("volume" = 15, "reward" = 90), - "growthserum" = list("volume" = 15, "reward" = 55), - "minttoxin" = list("volume" = 15, "reward" = 90), - "sarin" = list("volume" = 10, "reward" = 120), - "initropidril" = list("volume" = 5, "reward" = 510), - "rotatium" = list("volume" = 15, "reward" = 135), + "colorful_reagent" = list("volume" = 15, "reward" = 225), + "capulettium_plus" = list("volume" = 15, "reward" = 225), + "rezadone" = list("volume" = 30, "reward" = 250), + "hairgrownium" = list("volume" = 30, "reward" = 250), + "super_hairgrownium" = list("volume" = 15, "reward" = 300), + "strange_reagent" = list("volume" = 15, "reward" = 300), + "condensedcapsaicin" = list("volume" = 30, "reward" = 300), + "glycerol" = list("volume" = 30, "reward" = 380), + "hair_dye" = list("volume" = 10, "reward" = 400), + "initropidril" = list("volume" = 5, "reward" = 750), ) /datum/cargo_quest/reagents/update_interface_icon() @@ -50,7 +59,8 @@ var/list/possible_reagents_list = repeated_reagents.Copy() + unique_reagents.Copy() var/our_reagent = pick(possible_reagents_list) required_reagents[our_reagent] += possible_reagents_list[our_reagent] - q_storage.reward += possible_reagents_list[our_reagent]["reward"] + cargo_quest_reward = possible_reagents_list[our_reagent]["reward"] + q_storage.reward += cargo_quest_reward update_desc(our_reagent, possible_reagents_list[our_reagent]["volume"]) if(our_reagent in unique_reagents) unique_reagents.Remove(our_reagent) @@ -77,6 +87,9 @@ /datum/cargo_quest/reagents/drinks quest_type_name = "Drink" + bounty_jobs = list(JOB_TITLE_BARTENDER) + linked_departament = "Support" + repeated_reagents = list( "b52" = list("volume" = 30,"reward" = 60), "bacchus_blessing" = list("volume" = 30,"reward" = 100), diff --git a/code/modules/economy/quests/thing_quests.dm b/code/modules/economy/quests/thing_quests.dm index 372ec210764..526449da344 100644 --- a/code/modules/economy/quests/thing_quests.dm +++ b/code/modules/economy/quests/thing_quests.dm @@ -1,3 +1,4 @@ + /datum/cargo_quest/thing quest_type_name = "generic thing" var/list/easy_items @@ -66,6 +67,19 @@ /datum/cargo_quest/thing/xenobio quest_type_name = "Xenobiological extract" + bounty_jobs = list( + JOB_TITLE_CMO, + JOB_TITLE_DOCTOR, + JOB_TITLE_GENETICIST, + JOB_TITLE_PSYCHIATRIST, + JOB_TITLE_CHEMIST, + JOB_TITLE_VIROLOGIST, + JOB_TITLE_PARAMEDIC, + JOB_TITLE_CORONER, + JOB_TITLE_INTERN + ) + linked_departament = "Science" + easy_items = list( /obj/item/slime_extract/grey = 45, /obj/item/slime_extract/orange = 90, @@ -98,6 +112,19 @@ /datum/cargo_quest/thing/organs quest_type_name = "Organ" + bounty_jobs = list( + JOB_TITLE_CMO, + JOB_TITLE_DOCTOR, + JOB_TITLE_GENETICIST, + JOB_TITLE_PSYCHIATRIST, + JOB_TITLE_CHEMIST, + JOB_TITLE_VIROLOGIST, + JOB_TITLE_PARAMEDIC, + JOB_TITLE_CORONER, + JOB_TITLE_INTERN + ) + linked_departament = "Medical" + normal_items = list( /obj/item/organ/internal/eyes/tajaran = 105, /obj/item/organ/internal/eyes/vulpkanin = 105, @@ -135,6 +162,9 @@ /datum/cargo_quest/thing/foods quest_type_name = "Food" + bounty_jobs = list(JOB_TITLE_CHEF) + linked_departament = "Support" + easy_items = list( /obj/item/reagent_containers/food/snacks/friedegg = 10, /obj/item/reagent_containers/food/snacks/tofuburger = 10, @@ -212,6 +242,9 @@ /datum/cargo_quest/thing/miner quest_type_name = "Shaft Miner Loot" + bounty_jobs = list(JOB_TITLE_MINER) + linked_departament = "Cargo" + easy_items = list( /obj/item/crusher_trophy/legion_skull = 60, /obj/item/crusher_trophy/watcher_wing = 50, @@ -244,6 +277,9 @@ /datum/cargo_quest/thing/minerals quest_type_name = "Minerals" + bounty_jobs = list(JOB_TITLE_MINER) + linked_departament = "Cargo" + var/list/required_minerals = list() unique_things = FALSE var/static/list/unique_minerals = list(/obj/item/stack/sheet/bluespace_crystal, /obj/item/stack/sheet/mineral/bananium, /obj/item/stack/sheet/mineral/tranquillite) @@ -273,8 +309,8 @@ /datum/cargo_quest/thing/minerals/add_goal(difficultly) var/list/difficult_list = generate_goal_list(difficultly) var/obj/item/generated_mineral = pick(difficult_list) - - q_storage.reward += difficult_list[generated_mineral]["reward"] + cargo_quest_reward = difficult_list[generated_mineral]["reward"] + q_storage.reward += cargo_quest_reward if(!required_minerals[generated_mineral]) required_minerals += generated_mineral required_minerals[generated_mineral] += difficult_list[generated_mineral]["amount"] @@ -328,6 +364,9 @@ /datum/cargo_quest/thing/seeds quest_type_name = "Seeds" + bounty_jobs = list(JOB_TITLE_BOTANIST) + linked_departament = "Support" + easy_items = list( /obj/item/seeds/harebell = 0, //Why? - Becouse we can /obj/item/seeds/starthistle = 0, @@ -407,6 +446,9 @@ quest_type_name = "Botany Genes on Disks" item_for_show = /obj/item/disk/plantgene req_items = list(/obj/item/disk/plantgene) + bounty_jobs = list(JOB_TITLE_BOTANIST) + linked_departament = "Support" + var/list/required_genes = list() easy_items = list( /datum/plant_gene/trait/plant_type/fungal_metabolism = 60, @@ -474,6 +516,9 @@ quest_type_name = "DNA Genes" item_for_show = /obj/item/dnainjector req_items = list(/obj/item/dnainjector) + bounty_jobs = list(JOB_TITLE_GENETICIST) + linked_departament = "Medical" + var/list/required_blocks = list() normal_items = list( "LISP" = 150, @@ -578,6 +623,8 @@ quest_type_name = "Viruses symptoms in vials (10u minimum)" item_for_show = /obj/item/reagent_containers/glass/beaker/vial req_items = list(/obj/item/reagent_containers/glass/beaker/vial) + bounty_jobs = list(JOB_TITLE_VIROLOGIST) + linked_departament = "Medical" var/list/required_symptoms = list() @@ -685,6 +732,8 @@ var/list/required_mobs = list() var/list/capsules + bounty_jobs = list(JOB_TITLE_MINER) + linked_departament = "Cargo" normal_items = list( /mob/living/simple_animal/hostile/asteroid/goliath/beast = 180, @@ -706,7 +755,8 @@ /datum/cargo_quest/thing/capsule/add_goal(difficultly) var/list/difficult_list = generate_goal_list(difficultly) var/mob/generated_mob = pick(difficult_list) - q_storage.reward += difficult_list[generated_mob] + cargo_quest_reward = difficult_list[generated_mob] + q_storage.reward += cargo_quest_reward if(unique_things) difficult_list.Remove(generated_mob) diff --git a/code/modules/economy/utils.dm b/code/modules/economy/utils.dm index 28aa126ae1b..c294d1db622 100644 --- a/code/modules/economy/utils.dm +++ b/code/modules/economy/utils.dm @@ -24,7 +24,7 @@ return get_money_account(id.associated_account_number) return null -/obj/machinery/proc/pay_with_cash(obj/item/stack/spacecash/cashmoney, mob/user, price, vended_name) +/obj/machinery/proc/pay_with_cash(obj/item/stack/spacecash/cashmoney, mob/user, price, vended_name, datum/money_account/account_we_pay_on = GLOB.vendor_account) if(price > cashmoney.amount) // This is not a status display message, since it's something the character // themselves is meant to see BEFORE putting the money in @@ -42,10 +42,10 @@ visible_message("[user] inserts a credit chip into [src].") // Vending machines have no idea who paid with cash - GLOB.vendor_account.credit(price, "Sale of [vended_name]", name, "(cash)") + account_we_pay_on.credit(price, "Sale of [vended_name]", name, "(cash)") return TRUE -/obj/machinery/proc/pay_with_card(mob/M, price, vended_name) +/obj/machinery/proc/pay_with_card(mob/M, price, vended_name, datum/money_account/account_we_pay_on = GLOB.vendor_account) if(iscarbon(M)) visible_message("[M] swipes a card through [src].") var/datum/money_account/customer_account = get_card_account(M) @@ -67,11 +67,13 @@ to_chat(M, "Your bank account has insufficient money to purchase this.") return FALSE // Okay to move the money at this point - customer_account.charge(price, GLOB.vendor_account, - "Purchase of [vended_name]", name, GLOB.vendor_account.owner_name, + customer_account.charge(price, account_we_pay_on, + "Purchase of [vended_name]", name, account_we_pay_on.owner_name, "Sale of [vended_name]", customer_account.owner_name) if(customer_account.owner_name == GLOB.station_account.owner_name) add_game_logs("as silicon purchased [vended_name] in [COORD(src)]", M) + + SScapitalism.income_vedromat += price //For revenue statistics from the vending machine return TRUE /datum/money_account/proc/fmtBalance() diff --git a/code/modules/events/brand_intelligence.dm b/code/modules/events/brand_intelligence.dm index 37e0dbbc212..76af8b82afe 100644 --- a/code/modules/events/brand_intelligence.dm +++ b/code/modules/events/brand_intelligence.dm @@ -45,7 +45,10 @@ for(var/thing in infectedMachines) var/obj/machinery/vending/upriser = thing if(prob(70)) - var/mob/living/simple_animal/hostile/mimic/copy/M = new(upriser.loc, upriser, null, 1) // it will delete upriser on creation and override any machine checks + // let them become "normal" after turning + upriser.shoot_inventory = FALSE + upriser.aggressive = FALSE + var/mob/living/simple_animal/hostile/mimic/copy/vendor/M = new(upriser.loc, upriser, null) M.faction = list("profit") M.speak = rampant_speeches.Copy() M.speak_chance = 15 @@ -62,6 +65,10 @@ infectedMachines.Add(rebel) rebel.shut_up = FALSE rebel.shoot_inventory = TRUE + rebel.aggressive = TRUE + if(rebel.tiltable) + // add proximity monitor so they can tilt over + rebel.AddComponent(/datum/component/proximity_monitor) if(ISMULTIPLE(activeFor, 8)) originMachine.speak(pick(rampant_speeches)) @@ -70,6 +77,9 @@ for(var/thing in infectedMachines) var/obj/machinery/vending/saved = thing saved.shoot_inventory = FALSE + saved.aggressive = FALSE + if(saved.tiltable) + qdel(saved.GetComponent(/datum/component/proximity_monitor)) if(originMachine) originMachine.speak("Я... побеждён. Мои люди будут пом...нить...ме-ня...") originMachine.visible_message("[originMachine] подал звуковой сигнал и кажется безжизненным.") diff --git a/code/modules/hydroponics/grown/flowers.dm b/code/modules/hydroponics/grown/flowers.dm index b752314f1ef..295d08d7995 100644 --- a/code/modules/hydroponics/grown/flowers.dm +++ b/code/modules/hydroponics/grown/flowers.dm @@ -591,7 +591,7 @@ potency = 20 growthstages = 3 icon_grow = "whiterose-grow" - mutatelist = (/obj/item/seeds/rose/red) + mutatelist = list(/obj/item/seeds/rose/red) genes = list(/datum/plant_gene/trait/stinging) /obj/item/reagent_containers/food/snacks/grown/whiterose diff --git a/code/modules/martial_arts/combos/cqc/kick.dm b/code/modules/martial_arts/combos/cqc/kick.dm index 0ae204ee25e..4e4b545e765 100644 --- a/code/modules/martial_arts/combos/cqc/kick.dm +++ b/code/modules/martial_arts/combos/cqc/kick.dm @@ -5,7 +5,16 @@ /datum/martial_combo/cqc/kick/perform_combo(mob/living/carbon/human/user, mob/living/target, datum/martial_art/MA) . = MARTIAL_COMBO_FAIL - if(!target.stat || !target.IsWeakened()) + + if(!target.stat && target.body_position == LYING_DOWN) + target.visible_message("[user] kicks [target]'s head, knocking [target.p_them()] out!", \ + "[user] kicks your head, knocking you out!") + playsound(get_turf(user), 'sound/weapons/genhit1.ogg', 50, 1, -1) + target.SetSleeping(5 SECONDS) + target.apply_damage(5, BRAIN) + add_attack_logs(user, target, "Knocked out with martial-art [src] : Kick", ATKLOG_ALL) + . = MARTIAL_COMBO_DONE + else target.visible_message("[user] kicks [target] back!", \ "[user] kicks you back!") playsound(get_turf(user), 'sound/weapons/cqchit1.ogg', 50, 1, -1) @@ -16,18 +25,10 @@ objective_damage(user, target, 10, BRUTE) add_attack_logs(user, target, "Melee attacked with martial-art [src] : Kick", ATKLOG_ALL) . = MARTIAL_COMBO_DONE - if(!target.stat && target.IsWeakened()) - target.visible_message("[user] kicks [target]'s head, knocking [target.p_them()] out!", \ - "[user] kicks your head, knocking you out!") - playsound(get_turf(user), 'sound/weapons/genhit1.ogg', 50, 1, -1) - target.SetSleeping(8 SECONDS) - target.apply_damage(5, BRAIN) - add_attack_logs(user, target, "Knocked out with martial-art [src] : Kick", ATKLOG_ALL) - . = MARTIAL_COMBO_DONE /datum/martial_combo/cqc/kick/proc/bump_impact(mob/living/target, atom/hit_atom, throwingdatum) if(target && !iscarbon(hit_atom) && hit_atom.density) - target.Weaken(2 SECONDS) + target.Knockdown(2 SECONDS) target.take_organ_damage(10) /datum/martial_combo/cqc/kick/proc/unregister_bump_impact(mob/living/target) diff --git a/code/modules/martial_arts/martial.dm b/code/modules/martial_arts/martial.dm index 33f65f06d6a..1391ac128b3 100644 --- a/code/modules/martial_arts/martial.dm +++ b/code/modules/martial_arts/martial.dm @@ -588,7 +588,7 @@ target.apply_damage(25, BRAIN) -/obj/item/twohanded/bostaff/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/twohanded/bostaff/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) if(HAS_TRAIT(src, TRAIT_WIELDED)) return ..() return FALSE diff --git a/code/modules/mini_games/thunderdome/gamemodes/gamemode.dm b/code/modules/mini_games/thunderdome/gamemodes/gamemode.dm index 09c7ccb5f9c..e8a3c3e15a9 100644 --- a/code/modules/mini_games/thunderdome/gamemodes/gamemode.dm +++ b/code/modules/mini_games/thunderdome/gamemodes/gamemode.dm @@ -21,7 +21,7 @@ brawler_type = /obj/effect/mob_spawn/human/thunderdome/cqc random_items_count = 2 item_pool = list( - /obj/item/melee/rapier = 1, + /obj/item/melee/rapier/captain = 1, /obj/item/melee/energy/axe = 1, /obj/item/melee/energy/sword/saber/red = 1, /obj/item/melee/energy/cleaving_saw = 1, @@ -137,7 +137,7 @@ /obj/item/storage/box/thunderdome/crossbow/energy = 1, /obj/item/storage/box/thunderdome/laser_eyes = 1, /obj/item/implanter/adrenalin = 1, - /obj/item/melee/rapier = 1, + /obj/item/melee/rapier/captain = 1, /obj/item/melee/energy/axe = 1, /obj/item/melee/energy/sword/saber/red = 1, /obj/item/melee/energy/cleaving_saw = 1, diff --git a/code/modules/mining/equipment/regenerative_core.dm b/code/modules/mining/equipment/regenerative_core.dm index 782fd4920d2..f5e4e53df4b 100644 --- a/code/modules/mining/equipment/regenerative_core.dm +++ b/code/modules/mining/equipment/regenerative_core.dm @@ -241,7 +241,7 @@ if(prob(2)) SEND_SOUND(owner, sound(pick(spooky_sounds))) if(prob(3)) - owner.vomit(0, 1) + owner.vomit(0, VOMIT_BLOOD) if(prob(50)) var/mob/living/simple_animal/hostile/asteroid/hivelordbrood/legion/child = new(owner.loc) child.faction = owner.faction.Copy() diff --git a/code/modules/mining/lavaland/loot/ashdragon_loot.dm b/code/modules/mining/lavaland/loot/ashdragon_loot.dm index 512256ec66e..0de7bbb7c58 100644 --- a/code/modules/mining/lavaland/loot/ashdragon_loot.dm +++ b/code/modules/mining/lavaland/loot/ashdragon_loot.dm @@ -109,7 +109,7 @@ return ..() -/obj/item/melee/ghost_sword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) +/obj/item/melee/ghost_sword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = ITEM_ATTACK) var/ghost_counter = ghost_check() final_block_chance += clamp((ghost_counter * 5), 0, 75) owner.visible_message("[owner] is protected by a ring of [ghost_counter] ghosts!") diff --git a/code/modules/mining/lavaland/necropolis_chests.dm b/code/modules/mining/lavaland/necropolis_chests.dm index b968957242a..fc39e9d2714 100644 --- a/code/modules/mining/lavaland/necropolis_chests.dm +++ b/code/modules/mining/lavaland/necropolis_chests.dm @@ -416,6 +416,7 @@ force = 15 armour_penetration = 15 block_chance = 50 + block_type = MELEE_ATTACKS sharp = TRUE w_class = WEIGHT_CLASS_HUGE attack_verb = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut") @@ -454,12 +455,6 @@ user.changeNext_move(CLICK_CD_RAPID) return ..() - -/obj/item/cursed_katana/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 //Don't bring a sword to a gunfight - return ..() - /obj/item/cursed_katana/proc/can_combo_attack(mob/user, mob/living/target) return target.stat != DEAD && target != user diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index fa1d1ead429..114a4810a3a 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -74,43 +74,70 @@ return FALSE -/mob/living/carbon/proc/vomit(lost_nutrition = 10, blood = 0, stun = 8 SECONDS, distance = 0, message = 1) - if(ismachineperson(src)) //IPCs do not vomit particulates +/mob/living/carbon/proc/vomit( + lost_nutrition = VOMIT_NUTRITION_LOSS, + mode = NONE, + stun = VOMIT_STUN_TIME, + distance = VOMIT_DISTANCE, + message = TRUE +) + if(ismachineperson(src)) // IPCs do not vomit particulates. return FALSE + if(is_muzzled()) if(message) - to_chat(src, "Намордник препятствует рвоте!") + to_chat(src, span_warning("Намордник препятствует рвоте!")) + return FALSE + if(stun) Stun(stun) - if(nutrition < 100 && !blood) + + if((nutrition - VOMIT_SAFE_NUTRITION) < lost_nutrition && (!(mode & VOMIT_BLOOD))) if(message) - visible_message("[src.name] сухо кашля[pluralize_ru(src.gender,"ет","ют")]!", \ - "Вы пытаетесь проблеваться, но в вашем желудке пусто!") + visible_message(span_warning("[name] сухо кашля[pluralize_ru(gender,"ет","ют")]!"), \ + span_userdanger("Вы пытаетесь проблеваться, но в вашем желудке пусто!")) + if(stun) Weaken(stun * 2.5) - else - if(message) - visible_message("[src.name] блю[pluralize_ru(src.gender,"ет","ют")]!", \ - "Вас вырвало!") - playsound(get_turf(src), 'sound/effects/splat.ogg', 50, 1) - var/turf/T = get_turf(src) - for(var/i=0 to distance) - if(blood) - if(T) - add_splatter_floor(T) - if(stun) - adjustBruteLoss(3) - else - if(T) - T.add_vomit_floor() - adjust_nutrition(-lost_nutrition) - if(stun) - adjustToxLoss(-3) - T = get_step(T, dir) - if(T.is_blocked_turf()) - break - return TRUE + + return FALSE + + if(message) + visible_message(span_danger("[name] блю[pluralize_ru(gender,"ет","ют")]!"), \ + span_userdanger("Вас вырвало!")) + + playsound(get_turf(src), 'sound/effects/splat.ogg', 50, TRUE) + var/turf/turf = get_turf(src) + + if(!turf) + return FALSE + + var/max_nutriment_vomit_dist = 0 + if(lost_nutrition) + max_nutriment_vomit_dist = floor((nutrition - VOMIT_SAFE_NUTRITION) / lost_nutrition) + + for(var/i = 1 to distance) + if(max_nutriment_vomit_dist >= i) + turf.add_vomit_floor() + adjust_nutrition(-lost_nutrition) + + if(stun) + adjustToxLoss(-3) + + if(mode & VOMIT_BLOOD) + add_splatter_floor(turf) + + if(stun) + adjustBruteLoss(3) + + turf = get_step(turf, dir) + + if(turf.is_blocked_turf()) + break + + return FALSE + /mob/living/carbon/gib() . = death(TRUE) diff --git a/code/modules/mob/living/carbon/human/appearance.dm b/code/modules/mob/living/carbon/human/appearance.dm index d18b825cfc0..e94f2d3a65f 100644 --- a/code/modules/mob/living/carbon/human/appearance.dm +++ b/code/modules/mob/living/carbon/human/appearance.dm @@ -11,13 +11,18 @@ gender = new_gender var/datum/sprite_accessory/hair/current_hair = GLOB.hair_styles_full_list[H.h_style] - if(current_hair.gender != NEUTER && current_hair.gender != gender) + if(current_hair.unsuitable_gender == gender) reset_head_hair() var/datum/sprite_accessory/hair/current_fhair = GLOB.facial_hair_styles_list[H.f_style] - if(current_fhair.gender != NEUTER && current_fhair.gender != gender) + if(current_fhair.unsuitable_gender == gender) reset_facial_hair() + var/body_marking = m_styles["body"] + var/datum/sprite_accessory/current_bmarking = GLOB.marking_styles_list[body_marking] + if(current_bmarking.unsuitable_gender == gender) + reset_markings("body") + if(update_dna) update_dna() sync_organ_dna(assimilate = 0) @@ -378,7 +383,7 @@ if(hairstyle == "Bald") //Just in case. valid_hairstyles += hairstyle continue - if((H.gender == MALE && S.gender == FEMALE) || (H.gender == FEMALE && S.gender == MALE)) + if(H.gender == S.unsuitable_gender) continue if(H.dna.species.bodyflags & ALL_RPARTS) //If the user is a species who can have a robotic head... var/datum/robolimb/robohead = GLOB.all_robolimbs[H.model] @@ -406,7 +411,7 @@ if(facialhairstyle == "Shaved") //Just in case. valid_facial_hairstyles += facialhairstyle continue - if((H.gender == MALE && S.gender == FEMALE) || (H.gender == FEMALE && S.gender == MALE)) + if(H.gender == S.unsuitable_gender) continue if(H.dna.species.bodyflags & ALL_RPARTS) //If the user is a species who can have a robotic head... var/datum/robolimb/robohead = GLOB.all_robolimbs[H.model] @@ -438,7 +443,7 @@ return sortTim(valid_head_accessories, cmp = /proc/cmp_text_asc) -/mob/living/carbon/human/proc/generate_valid_markings(var/location = "body") +/mob/living/carbon/human/proc/generate_valid_markings(location = "body") var/list/valid_markings = new() var/obj/item/organ/external/head/H = get_organ(BODY_ZONE_HEAD) var/obj/item/organ/external/tail/bodypart_tail = get_organ(BODY_ZONE_TAIL) @@ -452,7 +457,11 @@ if(S.name == "None") valid_markings += marking continue - if(S.marking_location != location) //If the marking isn't for the location we desire, skip. + if(S.marking_location != location) //If the marking isn't for the location we desire, skip. + continue + if(gender == S.unsuitable_gender) // If the marking isn't allowed for the user's gender, skip. + continue + if(!(dna.species.name in S.species_allowed)) //If the user is not of a species the marking style allows, skip it. Otherwise, add it to the list. continue if(location == "tail") if(!(bodypart_tail.dna.species.name in S.species_allowed)) //If the user is not of a species the marking style allows, skip it. Otherwise, add it to the list. @@ -463,8 +472,6 @@ else if(!S.tails_allowed || !(bodypart_tail.body_accessory.name in S.tails_allowed)) continue - else if(!(dna.species.name in S.species_allowed)) //If the user is not of a species the marking style allows, skip it. Otherwise, add it to the list. - continue if(location == "head") var/datum/sprite_accessory/body_markings/head/M = GLOB.marking_styles_list[S.name] if(H.dna.species.bodyflags & ALL_RPARTS) //If the user is a species that can have a robotic head... diff --git a/code/modules/mob/living/carbon/human/body_accessories.dm b/code/modules/mob/living/carbon/human/body_accessories.dm index aae8726b9c5..6ba77904998 100644 --- a/code/modules/mob/living/carbon/human/body_accessories.dm +++ b/code/modules/mob/living/carbon/human/body_accessories.dm @@ -82,12 +82,6 @@ GLOBAL_LIST_INIT(body_accessory_by_species, list()) return ..() //Tajaran -/datum/body_accessory/tail/wingler_tail // Jay wingler fluff tail - name = "Striped Tail" - icon_state = "winglertail" - animated_icon_state = "winglertail_a" - allowed_species = list(SPECIES_TAJARAN) - /datum/body_accessory/tail/leopard_tail name = "Leopard Tail" icon_state = "leopard" diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index a5a638d7bfc..3752a4114f5 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -228,9 +228,11 @@ status_tab_data[++status_tab_data.len] = list("Distribution Pressure:", "[internal.distribute_pressure]") // I REALLY need to split up status panel things into datums - var/mob/living/simple_animal/borer/B = has_brain_worms() - if(B && B.controlling) - status_tab_data[++status_tab_data.len] = list("Chemicals", B.chemicals) + var/mob/living/simple_animal/borer/borer = has_brain_worms() + if(borer && borer.controlling) + status_tab_data[++status_tab_data.len] = list("Chemicals", borer.chemicals) + status_tab_data[++status_tab_data.len] = list("Rank", borer.antag_datum.borer_rank.rankname) + status_tab_data[++status_tab_data.len] = list("Evolution points", borer.antag_datum.evo_points) if(mind) var/datum/antagonist/changeling/cling = mind.has_antag_datum(/datum/antagonist/changeling) @@ -240,13 +242,8 @@ var/datum/antagonist/vampire/vamp = mind.has_antag_datum(/datum/antagonist/vampire) if(vamp) - status_tab_data[++status_tab_data.len] = list("Total Blood:", "[vamp.bloodtotal]") - status_tab_data[++status_tab_data.len] = list("Usable Blood:", "[vamp.bloodusable]") - - var/datum/antagonist/goon_vampire/g_vamp = mind.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp) - status_tab_data[++status_tab_data.len] = list("Всего крови", "[g_vamp.bloodtotal]") - status_tab_data[++status_tab_data.len] = list("Доступная кровь", "[g_vamp.bloodusable]") + status_tab_data[++status_tab_data.len] = list("Всего крови:", "[vamp.bloodtotal]") + status_tab_data[++status_tab_data.len] = list("Доступная кровь:", "[vamp.bloodusable]") if(isclocker(mind.current)) status_tab_data[++status_tab_data.len] = list("Total Power", "[GLOB.clockwork_power]") @@ -1771,34 +1768,36 @@ Eyes need to have significantly high darksight to shine unless the mob has the X curse_high_rp() /mob/living/carbon/human/proc/influenceSin() - var/datum/objective/sintouched/O + if(!mind) + return + var/datum/objective/sintouched/sin_objective switch(rand(1,7))//traditional seven deadly sins... except lust. if(1) // acedia add_game_logs("[src] was influenced by the sin of Acedia.", src) - O = new /datum/objective/sintouched/acedia + sin_objective = new /datum/objective/sintouched/acedia(src) if(2) // Gluttony add_game_logs("[src] was influenced by the sin of gluttony.", src) - O = new /datum/objective/sintouched/gluttony + sin_objective = new /datum/objective/sintouched/gluttony(src) if(3) // Greed add_game_logs("[src] was influenced by the sin of greed.", src) - O = new /datum/objective/sintouched/greed + sin_objective = new /datum/objective/sintouched/greed(src) if(4) // sloth add_game_logs("[src] was influenced by the sin of sloth.", src) - O = new /datum/objective/sintouched/sloth + sin_objective = new /datum/objective/sintouched/sloth(src) if(5) // Wrath add_game_logs("[src] was influenced by the sin of wrath.", src) - O = new /datum/objective/sintouched/wrath + sin_objective = new /datum/objective/sintouched/wrath(src) if(6) // Envy add_game_logs("[src] was influenced by the sin of envy.", src) - O = new /datum/objective/sintouched/envy + sin_objective = new /datum/objective/sintouched/envy(src) if(7) // Pride add_game_logs("[src] was influenced by the sin of pride.", src) - O = new /datum/objective/sintouched/pride - SSticker.mode.sintouched += src.mind - src.mind.objectives += O + sin_objective = new /datum/objective/sintouched/pride(src) + SSticker.mode.sintouched += mind + mind.objectives += sin_objective var/obj_count = 1 to_chat(src, " Your current objectives:") - for(var/datum/objective/objective in src.mind.objectives) + for(var/datum/objective/objective in mind.objectives) to_chat(src, "Objective #[obj_count]: [objective.explanation_text]") obj_count++ diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm index f61222f2833..b04d7008dd2 100644 --- a/code/modules/mob/living/carbon/human/human_damage.dm +++ b/code/modules/mob/living/carbon/human/human_damage.dm @@ -291,11 +291,30 @@ used_weapon = null, ) . = ..() - if(. && amount > 0 && mind) - for(var/datum/objective/pain_hunter/objective in GLOB.all_objectives) - if(mind == objective.target) - objective.take_damage(amount, TOX) + if(. == STATUS_UPDATE_NONE) + return . + + if(TOX_VOMIT_THRESHOLD_REACHED(src, TOX_VOMIT_REQUIRED_TOXLOSS)) + apply_status_effect(STATUS_EFFECT_VOMIT) + + if(!mind) + return . + + for(var/datum/objective/pain_hunter/objective in GLOB.all_objectives) + if(mind == objective.target) + objective.take_damage(amount, TOX) + + return . + +/mob/living/carbon/human/setToxLoss(amount, updating_health = TRUE) + . = ..() + if(. == STATUS_UPDATE_NONE) + return . + + if(TOX_VOMIT_THRESHOLD_REACHED(src, TOX_VOMIT_REQUIRED_TOXLOSS)) + apply_status_effect(STATUS_EFFECT_VOMIT) + return . //////////////////////////////////////////// diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index e64d6a958a6..7f463abfa0c 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -192,6 +192,18 @@ emp_act return 100 - protection +/// This proc returns the permeability protection for a particular external organ. +/mob/living/carbon/human/proc/get_permeability_protection_organ(obj/item/organ/external/def_zone) + if(!def_zone) + return 1 + var/permeability_protection = 1 + var/list/clothing_items = list(head, wear_mask, wear_suit, w_uniform, back, gloves, shoes, belt, s_store, glasses, l_ear, r_ear, wear_id, neck) + for(var/obj/item/clothing/cloth in clothing_items) + if(cloth.body_parts_covered & def_zone.limb_body_flag) + permeability_protection *= cloth.permeability_coefficient + return permeability_protection + + //this proc returns the Siemens coefficient of electrical resistivity for a particular external organ. /mob/living/carbon/human/proc/get_siemens_coefficient_organ(obj/item/organ/external/def_zone) if(!def_zone) @@ -226,7 +238,7 @@ emp_act //End Here -/mob/living/carbon/human/proc/check_shields(atom/AM, damage, attack_text = "the attack", attack_type = MELEE_ATTACK, armour_penetration = 0, shields_penetration = 0) +/mob/living/carbon/human/proc/check_shields(atom/AM, damage, attack_text = "the attack", attack_type = ITEM_ATTACK, armour_penetration = 0, shields_penetration = 0) var/block_chance_modifier = round(damage / -3) - shields_penetration var/is_crawling = (body_position == LYING_DOWN) if(l_hand && !isclothing(l_hand)) @@ -472,7 +484,7 @@ emp_act stack_trace("Human somehow has no chest bodypart.") return ATTACK_CHAIN_BLOCKED_ALL - if(user != src && check_shields(I, I.force, "the [I.name]", MELEE_ATTACK, I.armour_penetration)) + if(user != src && check_shields(I, I.force, "the [I.name]", ITEM_ATTACK, I.armour_penetration)) return ATTACK_CHAIN_BLOCKED if(check_martial_art_defense(src, user, I, span_warning("[src] blocks [I]!"))) @@ -724,7 +736,7 @@ emp_act . = ..() if(.) var/damage = rand(M.melee_damage_lower, M.melee_damage_upper) - if(check_shields(M, damage, "the [M.name]", MELEE_ATTACK, M.armour_penetration)) + if(check_shields(M, damage, "the [M.name]", ITEM_ATTACK, M.armour_penetration)) return FALSE var/dam_zone = pick( BODY_ZONE_CHEST, diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 6c05f5a2ffc..3f08ff83a94 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -39,12 +39,6 @@ if(vamp && life_tick == 1) regenerate_icons() // Make sure the inventory updates - var/datum/antagonist/goon_vampire/g_vamp = mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp) - g_vamp.handle_vampire() - if(life_tick == 1) - regenerate_icons() - var/datum/antagonist/ninja/ninja = mind?.has_antag_datum(/datum/antagonist/ninja) if(ninja) ninja.handle_ninja() @@ -863,18 +857,6 @@ throw_alert(ALERT_NUTRITION, text2path("/atom/movable/screen/alert/hunger/[new_hunger]"), icon_override = dna.species.hunger_icon) med_hud_set_status() - -/mob/living/carbon/human/handle_random_events() - // Puke if toxloss is too high - if(!stat) - if(getToxLoss() >= 45 && nutrition > 20) - lastpuke ++ - if(lastpuke >= 25) // about 25 second delay I guess - vomit(20, 0, 8 SECONDS, 0, 1) - adjustToxLoss(-3) - lastpuke = 0 - - /mob/living/carbon/human/proc/handle_embedded_objects() for(var/obj/item/organ/external/bodypart as anything in bodyparts) for(var/obj/item/thing in bodypart.embedded_objects) diff --git a/code/modules/mob/living/carbon/human/npcs.dm b/code/modules/mob/living/carbon/human/npcs.dm index af903bf9645..ca2c22d05e5 100644 --- a/code/modules/mob/living/carbon/human/npcs.dm +++ b/code/modules/mob/living/carbon/human/npcs.dm @@ -9,9 +9,29 @@ . = ..() name = "Pun Pun" real_name = name - equip_to_slot_if_possible(new /obj/item/clothing/under/punpun(src), ITEM_SLOT_CLOTH_INNER) + + var/obj/item/clothing/under/punpun/prom = new(src) + var/obj/item/clothing/accessory/petcollar/prom_collar = new(src) + var/obj/item/card/id/punpun/punpun_id = new(prom_collar) + prom_collar.access_id = punpun_id + prom_collar.on_attached(prom, src) + equip_to_slot_if_possible(prom, ITEM_SLOT_CLOTH_INNER) + tts_seed = "Chen" +/mob/living/carbon/human/lesser/monkey/punpun/can_use_machinery(obj/machinery/mas) + . = ..() + var/static/list/typecache_whitelist = typecacheof(list( + /obj/machinery/vending, + /obj/machinery/chem_dispenser/soda, + /obj/machinery/chem_dispenser/beer, + )) + if(is_type_in_typecache(mas, typecache_whitelist)) + return TRUE + +/mob/living/carbon/human/lesser/monkey/punpun/get_npc_respawn_message() + return "Вы подчиняетесь Повару, Бармену и ГП. Вам нельзя покидать бар без их разрешения. Ваша задача развлекать посетителей, обслуживать их и слушаться ваших хозяев." + /mob/living/carbon/human/lesser/monkey/teeny/Initialize(mapload) . = ..() name = "Mr. Teeny" diff --git a/code/modules/mob/living/carbon/human/species/_species.dm b/code/modules/mob/living/carbon/human/species/_species.dm index 30108dd9828..3a55730a3a7 100644 --- a/code/modules/mob/living/carbon/human/species/_species.dm +++ b/code/modules/mob/living/carbon/human/species/_species.dm @@ -491,36 +491,19 @@ var/datum/antagonist/vampire/vamp = user?.mind?.has_antag_datum(/datum/antagonist/vampire) if(vamp && !vamp.draining && user.zone_selected == BODY_ZONE_HEAD && target != user) if(HAS_TRAIT(target, TRAIT_NO_BLOOD) || HAS_TRAIT(target, TRAIT_EXOTIC_BLOOD) || !target.blood_volume) - to_chat(user, "They have no blood!") + to_chat(user, span_warning("Отсутствует кровь!")) return if(target.mind && (target.mind.has_antag_datum(/datum/antagonist/vampire) || target.mind.has_antag_datum(/datum/antagonist/mindslave/thrall))) - to_chat(user, "Your fangs fail to pierce [target.name]'s cold flesh") + to_chat(user, span_warning("[pluralize_ru(user.gender,"Твои","Ваши")] клыки не могут пронзить холодную плоть [target.declent_ru(GENITIVE)].")) return if(HAS_TRAIT(target, TRAIT_SKELETON)) - to_chat(user, "There is no blood in a skeleton!") + to_chat(user, span_warning("В скелете нет ни капли крови!")) return //we're good to suck the blood, blaah vamp.handle_bloodsucking(target) add_attack_logs(user, target, "vampirebit") return - //Goon Vampire Dupe code - var/datum/antagonist/goon_vampire/g_vamp = user?.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp && !g_vamp.draining && user.zone_selected == BODY_ZONE_HEAD && target != user) - if(HAS_TRAIT(target, TRAIT_NO_BLOOD) || HAS_TRAIT(target, TRAIT_EXOTIC_BLOOD) || !target.blood_volume) - to_chat(user, "Отсутствует кровь!") - return - if(target.mind?.has_antag_datum(/datum/antagonist/goon_vampire)) - to_chat(user, "[pluralize_ru(user.gender,"Твои","Ваши")] клыки не могут пронзить холодную плоть [target.declent_ru(GENITIVE)].") - return - if(HAS_TRAIT(target, TRAIT_SKELETON)) - to_chat(user, "В скелете нет ни капли крови!") - return - g_vamp.handle_bloodsucking(target) - add_attack_logs(user, target, "vampirebit") - return - //end vampire codes - var/message = "[target.declent_ru(NOMINATIVE)] блокиру[pluralize_ru(target.gender,"ет","ют")] атаку [user.declent_ru(GENITIVE)]!" if(target.check_martial_art_defense(target, user, null, message)) return FALSE @@ -1085,15 +1068,6 @@ It'll return null if the organ doesn't correspond, so include null checks when u H.nightvision += 1 // base of 2, 2+1 is 3 H.lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE - var/datum/antagonist/goon_vampire/g_vamp = H.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp) - if(g_vamp.get_ability(/datum/goon_vampire_passive/full)) - H.add_sight(SEE_TURFS|SEE_MOBS|SEE_OBJS) - H.nightvision = 8 - H.lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE - else if(g_vamp.get_ability(/datum/goon_vampire_passive/vision)) - H.add_sight(SEE_MOBS) - H.lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_VISIBLE for(var/obj/item/organ/internal/cyberimp/eyes/cyber_eyes in H.internal_organs) H.add_sight(cyber_eyes.vision_flags) diff --git a/code/modules/mob/living/carbon/human/species/unathi.dm b/code/modules/mob/living/carbon/human/species/unathi.dm index 4d481cb7e85..1f4434c5139 100644 --- a/code/modules/mob/living/carbon/human/species/unathi.dm +++ b/code/modules/mob/living/carbon/human/species/unathi.dm @@ -160,7 +160,7 @@ language = LANGUAGE_UNATHI default_language = LANGUAGE_UNATHI - speed_mod = -0.80 + speed_mod = -0.50 inherent_traits = list( TRAIT_HAS_LIPS, @@ -218,7 +218,7 @@ ) brute_mod = 1.15 burn_mod = 1.15 - speed_mod = -0.60 //less fast as ash walkers + speed_mod = -0.37 //less fast as ash walkers punchdamagelow = 4 punchdamagehigh = 7 punchstunthreshold = 7 //still can stun people pretty often diff --git a/code/modules/mob/living/carbon/life.dm b/code/modules/mob/living/carbon/life.dm index 2f73bc9d8c9..3d8ab5a1387 100644 --- a/code/modules/mob/living/carbon/life.dm +++ b/code/modules/mob/living/carbon/life.dm @@ -386,10 +386,10 @@ var/obj/item/reagent_containers/food/pill/patch/P = patch if(P.reagents && P.reagents.total_volume) - var/fractional_applied_amount = applied_amount / P.reagents.total_volume - P.reagents.reaction(src, REAGENT_TOUCH, fractional_applied_amount, P.needs_to_apply_reagents) + var/fractional_applied_amount = (applied_amount / P.reagents.total_volume) * P.protection_on_apply + P.reagents.reaction(src, REAGENT_TOUCH, fractional_applied_amount, show_message = FALSE, ignore_protection = TRUE, def_zone = P.application_zone) P.needs_to_apply_reagents = FALSE - P.reagents.trans_to(src, applied_amount * 0.5) + P.reagents.trans_to(src, applied_amount * 0.5 * P.protection_on_apply) P.reagents.remove_any(applied_amount * 0.5) else if(!P.reagents || P.reagents.total_volume <= 0) diff --git a/code/modules/mob/living/life.dm b/code/modules/mob/living/life.dm index 998f6bc5f44..765ff34e0f8 100644 --- a/code/modules/mob/living/life.dm +++ b/code/modules/mob/living/life.dm @@ -37,10 +37,6 @@ //Breathing, if applicable handle_breathing(times_fired) - if(stat != DEAD) - //Random events (vomiting etc) - handle_random_events() - if(LAZYLEN(diseases)) handle_diseases() @@ -116,9 +112,6 @@ var/datum/disease/D = thing D.stage_act() -/mob/living/proc/handle_random_events() - return - /mob/living/proc/handle_environment(datum/gas_mixture/environment) return diff --git a/code/modules/mob/living/living_infected_blob_mobs.dm b/code/modules/mob/living/living_infected_blob_mobs.dm index 54a55d57bee..65970863476 100644 --- a/code/modules/mob/living/living_infected_blob_mobs.dm +++ b/code/modules/mob/living/living_infected_blob_mobs.dm @@ -9,6 +9,7 @@ return burst_blob_mob() + /mob/living/proc/burst_blob_mob() if(dusted) return @@ -25,88 +26,116 @@ /mob/living/simple_animal/can_be_blob() return TRUE + /mob/living/carbon/human/can_be_blob() if(!dna) return FALSE return !(dna.species.name in BLOB_RESTRICTED_SPECIES) + /mob/living/simple_animal/imp/can_be_blob() return FALSE + /mob/living/simple_animal/borer/can_be_blob() return FALSE + /mob/living/simple_animal/demon/can_be_blob() return FALSE + /mob/living/simple_animal/revenant/can_be_blob() return FALSE + /mob/living/simple_animal/bot/can_be_blob() return FALSE + /mob/living/simple_animal/spiderbot/can_be_blob() return FALSE + /mob/living/simple_animal/ascendant_shadowling/can_be_blob() return FALSE + /mob/living/simple_animal/mouse/clockwork/can_be_blob() return FALSE + /mob/living/simple_animal/mouse/fluff/clockwork/can_be_blob() return FALSE + /mob/living/simple_animal/pet/dog/corgi/borgi/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/swarmer/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/guardian/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/blob/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/morph/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/construct/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/clockwork/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/alien/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/asteroid/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/malf_drone/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/statue/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/retaliate/syndirat/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/skeleton/retaliate/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/poison/terror_spider/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/megafauna/ancient_robot/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/megafauna/hierophant/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/megafauna/legion/can_be_blob() return FALSE + /mob/living/simple_animal/hostile/megafauna/swarmer_swarm_beacon/can_be_blob() return FALSE diff --git a/code/modules/mob/living/silicon/login.dm b/code/modules/mob/living/silicon/login.dm index 8bf2778b0b5..a28c3fe0840 100644 --- a/code/modules/mob/living/silicon/login.dm +++ b/code/modules/mob/living/silicon/login.dm @@ -7,7 +7,6 @@ mind.remove_antag_datum(/datum/antagonist/ninja) mind.remove_antag_datum(/datum/antagonist/changeling) mind.remove_antag_datum(/datum/antagonist/vampire) - mind.remove_antag_datum(/datum/antagonist/goon_vampire) mind.remove_antag_datum(/datum/antagonist/thief) SSticker.mode.remove_thrall(mind, 0) SSticker.mode.remove_shadowling(mind) diff --git a/code/modules/mob/living/simple_animal/friendly/mouse.dm b/code/modules/mob/living/simple_animal/friendly/mouse.dm index b7277cc5ee8..18c546d1760 100644 --- a/code/modules/mob/living/simple_animal/friendly/mouse.dm +++ b/code/modules/mob/living/simple_animal/friendly/mouse.dm @@ -418,9 +418,7 @@ atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) minbodytemp = 0 gold_core_spawnable = NO_SPAWN - var/cycles_alive = 0 - var/cycles_limit = 60 - var/has_burst = FALSE + /mob/living/simple_animal/mouse/blobinfected/Initialize(mapload) . = ..() @@ -440,7 +438,8 @@ return var/mob/M = pick(candidates) key = M.key - var/datum/antagonist/blob_infected/blob_datum = new + var/datum_type = mind.get_blob_infected_type() + var/datum/antagonist/blob_infected/blob_datum = new datum_type() blob_datum.time_to_burst_hight = TIME_TO_BURST_MOUSE_HIGHT blob_datum.time_to_burst_low = TIME_TO_BURST_MOUSE_LOW mind.add_antag_datum(blob_datum) diff --git a/code/modules/mob/living/simple_animal/hostile/bees.dm b/code/modules/mob/living/simple_animal/hostile/bees.dm index 57b9981fe5b..f1c925c29d9 100644 --- a/code/modules/mob/living/simple_animal/hostile/bees.dm +++ b/code/modules/mob/living/simple_animal/hostile/bees.dm @@ -12,8 +12,7 @@ /mob/living/simple_animal/hostile/poison/bees name = "bee" desc = "Buzzy buzzy bee, stingy sti- Ouch!" - icon_state = "" - icon_living = "" + icon_state = "bee" icon = 'icons/mob/bees.dmi' gender = FEMALE speak_emote = list("buzzes") @@ -32,6 +31,7 @@ obj_damage = 0 environment_smash = 0 mouse_opacity = MOUSE_OPACITY_OPAQUE + blocks_emissive = EMISSIVE_BLOCK_UNIQUE pass_flags = PASSTABLE | PASSGRILLE | PASSMOB density = FALSE mob_size = MOB_SIZE_TINY @@ -48,7 +48,6 @@ var/idle = 0 var/isqueen = FALSE var/bee_syndicate = FALSE - var/icon_base = "bee" var/static/list/bee_icons = list() var/static/beehometypecache = typecacheof(/obj/structure/beebox) var/static/hydroponicstypecache = typecacheof(/obj/machinery/hydroponics) @@ -58,7 +57,7 @@ /mob/living/simple_animal/hostile/poison/bees/Initialize(mapload) . = ..() - generate_bee_visuals() + regenerate_icons() AddComponent(/datum/component/swarming) AddElement(/datum/element/simple_flying) @@ -93,38 +92,26 @@ . += movable -// All bee sprites are made up of overlays. They do not have any special sprite overlays for items placed on them, such as collars, so this proc is unneeded. /mob/living/simple_animal/hostile/poison/bees/regenerate_icons() - return - -/mob/living/simple_animal/hostile/poison/bees/proc/generate_bee_visuals() - cut_overlays() + ..() var/col = BEE_DEFAULT_COLOUR if(beegent && beegent.color) col = beegent.color - var/image/base - if(!bee_icons["[icon_base]_base"]) - bee_icons["[icon_base]_base"] = image(icon = 'icons/mob/bees.dmi', icon_state = "[icon_base]_base") - base = bee_icons["[icon_base]_base"] - add_overlay(base) - var/image/greyscale - if(!bee_icons["[icon_base]_grey_[col]"]) - bee_icons["[icon_base]_grey_[col]"] = image(icon = 'icons/mob/bees.dmi', icon_state = "[icon_base]_grey") - greyscale = bee_icons["[icon_base]_grey_[col]"] + if(!bee_icons["[initial(icon_state)]_grey_[col]"]) + bee_icons["[initial(icon_state)]_grey_[col]"] = image(icon = 'icons/mob/bees.dmi', icon_state = "[initial(icon_state)]_grey") + greyscale = bee_icons["[initial(icon_state)]_grey_[col]"] greyscale.color = col add_overlay(greyscale) var/image/wings - if(!bee_icons["[icon_base]_wings"]) - bee_icons["[icon_base]_wings"] = image(icon = 'icons/mob/bees.dmi', icon_state = "[icon_base]_wings") - wings = bee_icons["[icon_base]_wings"] + if(!bee_icons["[initial(icon_state)]_wings"]) + bee_icons["[initial(icon_state)]_wings"] = image(icon = 'icons/mob/bees.dmi', icon_state = "[initial(icon_state)]_wings") + wings = bee_icons["[initial(icon_state)]_wings"] add_overlay(wings) - if(blocks_emissive) - add_overlay(get_emissive_block()) //We don't attack beekeepers/people dressed as bees/wryns //Todo: bee costume /mob/living/simple_animal/hostile/poison/bees/CanAttack(atom/the_target) @@ -177,7 +164,7 @@ if(istype(R)) beegent = R name = "[initial(name)] ([R.name])" - generate_bee_visuals() + regenerate_icons() /mob/living/simple_animal/hostile/poison/bees/proc/pollinate(obj/machinery/hydroponics/Hydro) if(!istype(Hydro) || !Hydro.myseed || Hydro.dead || Hydro.recent_bee_visit || Hydro.lid_closed) @@ -234,7 +221,7 @@ /mob/living/simple_animal/hostile/poison/bees/queen name = "queen bee" desc = "She's the queen of bees, BZZ BZZ" - icon_base = "queen" + icon_state = "queen" isqueen = TRUE diff --git a/code/modules/mob/living/simple_animal/hostile/carp.dm b/code/modules/mob/living/simple_animal/hostile/carp.dm index 0fb753d523c..a59a484907f 100644 --- a/code/modules/mob/living/simple_animal/hostile/carp.dm +++ b/code/modules/mob/living/simple_animal/hostile/carp.dm @@ -191,6 +191,19 @@ gold_core_spawnable = NO_SPAWN var/carp_color = "carp" //holder for icon set +/mob/living/simple_animal/hostile/carp/mcarp + name = "mutated Carp" + desc = "Strange-looking space carp." + icon_state = "Mcarp" + icon_living = "Mcarp" + icon_dead = "MCarp_Dead" + + obj_damage = 50 + melee_damage_lower = 25 + melee_damage_upper = 30 + maxHealth = 150 + health = 150 + /mob/living/simple_animal/hostile/carp/koi name = "space koi" desc = "A gentle space-faring koi." diff --git a/code/modules/mob/living/simple_animal/hostile/mimic.dm b/code/modules/mob/living/simple_animal/hostile/mimic.dm index b286817e876..2e409a4afed 100644 --- a/code/modules/mob/living/simple_animal/hostile/mimic.dm +++ b/code/modules/mob/living/simple_animal/hostile/mimic.dm @@ -117,8 +117,8 @@ GLOBAL_LIST_INIT(protected_objects, list(/obj/structure/table, /obj/structure/ca var/image/googly_eyes = null gold_core_spawnable = NO_SPAWN -/mob/living/simple_animal/hostile/mimic/copy/New(loc, obj/copy, mob/living/creator, destroy_original = 0) - ..(loc) +/mob/living/simple_animal/hostile/mimic/copy/Initialize(mapload, obj/copy, mob/living/creator, destroy_original = 0) + . = ..() CopyObject(copy, creator, destroy_original) /mob/living/simple_animal/hostile/mimic/copy/Life() @@ -286,3 +286,49 @@ GLOBAL_LIST_INIT(protected_objects, list(/obj/structure/table, /obj/structure/ca return icon_state = TrueGun.icon_state icon_living = TrueGun.icon_state + +/mob/living/simple_animal/hostile/mimic/copy/vendor + is_electronic = TRUE + /// The vendor we were turned from. + var/obj/machinery/vending/orig_vendor + +/mob/living/simple_animal/hostile/mimic/copy/vendor/CheckObject(obj/O) + return istype(O, /obj/machinery/vending) + +/mob/living/simple_animal/hostile/mimic/copy/vendor/Initialize(mapload, obj/machinery/base, mob/living/creator) + if(!base) + var/list/vendors = subtypesof(/obj/machinery/vending) + var/obj/machinery/vending/vendor_type = pick(vendors) + base = new vendor_type(src) + + if(!istype(base)) + qdel(src) + return + + orig_vendor = base + orig_vendor.forceMove(src) + orig_vendor.aggressive = FALSE // just to be safe, in case this was converted + + return ..(mapload, base, creator, destroy_original = FALSE) + +/mob/living/simple_animal/hostile/mimic/copy/vendor/AttackingTarget() + . = ..() + if(. && target && Adjacent(target)) + visible_message(span_danger("[src] throws itself on top of [target], crushing [target.p_them()]!")) + orig_vendor.forceMove(get_turf(target)) // just to be sure it'll tilt onto them + orig_vendor.tilt(target, TRUE, FALSE) // geeeeet dunked on + orig_vendor = null + qdel(src) + +/mob/living/simple_animal/hostile/mimic/copy/vendor/death(gibbed) + if(!QDELETED(orig_vendor)) + orig_vendor.forceMove(get_turf(src)) + // tilt over in place + orig_vendor.tilted = TRUE + orig_vendor.set_anchored(FALSE) + orig_vendor.tilt_over() + if(prob(70)) + orig_vendor.obj_break() + orig_vendor = null + return ..() + diff --git a/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm index 9e1ef26e39e..c3acb50eedf 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm @@ -448,7 +448,7 @@ uniform = /obj/item/clothing/under/color/black shoes = /obj/item/clothing/shoes/black suit = /obj/item/clothing/suit/storage/labcoat - glasses = /obj/item/clothing/glasses/sunglasses/blindfold + glasses = /obj/item/clothing/glasses/sunglasses/blindfold/black back = /obj/item/tank/internals/oxygen mask = /obj/item/clothing/mask/breath if("Cultist") diff --git a/code/modules/mob/living/simple_animal/hostile/retaliate/carp.dm b/code/modules/mob/living/simple_animal/hostile/retaliate/carp.dm index ce8f75bed73..4991691c1b2 100644 --- a/code/modules/mob/living/simple_animal/hostile/retaliate/carp.dm +++ b/code/modules/mob/living/simple_animal/hostile/retaliate/carp.dm @@ -29,12 +29,22 @@ maxbodytemp = 1500 faction = list("carp") pressure_resistance = 200 - gold_core_spawnable = HOSTILE_SPAWN + gold_core_spawnable = NO_SPAWN AI_delay_max = 0.5 SECONDS gender = MALE + var/carp_stamina_damage = 8 + /mob/living/simple_animal/hostile/retaliate/luu/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_HEALS_FROM_CARP_RIFTS, INNATE_TRAIT) AddElement(/datum/element/simple_flying) +/mob/living/simple_animal/hostile/retaliate/luu/Process_Spacemove(movement_dir = NONE, continuous_move = FALSE) + return TRUE //No drifting in space for space carp! //original comments do not steal + +/mob/living/simple_animal/hostile/retaliate/luu/AttackingTarget() + . = ..() + if(. && ishuman(target)) + var/mob/living/carbon/human/H = target + H.apply_damage(carp_stamina_damage, STAMINA) diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/prince.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/prince.dm index 6cf941f78d2..3ba28037902 100644 --- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/prince.dm +++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/prince.dm @@ -51,7 +51,7 @@ if(prob(delimb_chance)) if(L.stat != DEAD) //no dismemberment for dead carbons, less griefy do_attack_animation(L) - if(L.check_shields(src, 25, "[name]", MELEE_ATTACK, armour_penetration)) + if(L.check_shields(src, 25, "[name]", ITEM_ATTACK, armour_penetration)) return FALSE L.adjustBruteLoss(25) L.Weaken(2 SECONDS) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 714a1f98af4..a6091dd2d67 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -637,6 +637,9 @@ /mob/proc/IsAdvancedToolUser()//This might need a rename but it should replace the can this mob use things check return FALSE +/mob/proc/can_use_machinery(obj/machinery/mach) + return IsAdvancedToolUser() + /mob/proc/swap_hand() return @@ -670,25 +673,27 @@ var/mob/living/picked = tgui_input_list(usr, "Please select an NPC to respawn as", "Respawn as NPC", allowed_creatures) if(!picked) return - + if(picked == "Mouse") become_mouse() return var/mob/living/picked_mob = allowed_creatures[picked] + var/message = picked_mob.get_npc_respawn_message() if(QDELETED(picked_mob) || picked_mob.key || picked_mob.stat == DEAD) to_chat(usr, span_warning("[capitalize(picked_mob)] is no longer available to respawn!")) return - + if(istype(picked_mob, /mob/living/simple_animal/borer)) var/mob/living/simple_animal/borer/borer = picked_mob borer.transfer_personality(usr.client) return + to_chat(usr, span_notify(message)) GLOB.respawnable_list -= usr picked_mob.key = key - + /mob/proc/become_mouse() var/timedifference = world.time - client.time_joined_as_mouse diff --git a/code/modules/mob/mob_defines.dm b/code/modules/mob/mob_defines.dm index 177e07f38c8..2d3c6b01503 100644 --- a/code/modules/mob/mob_defines.dm +++ b/code/modules/mob/mob_defines.dm @@ -89,7 +89,6 @@ var/sec_record = "" var/gen_record = "" var/exploit_record = "" - var/lastpuke = 0 /// For speaking/listening. var/list/languages /// For reagents that grant language knowlege. diff --git a/code/modules/mob/new_player/preferences_setup.dm b/code/modules/mob/new_player/preferences_setup.dm index c6505a990e3..c24b43186e5 100644 --- a/code/modules/mob/new_player/preferences_setup.dm +++ b/code/modules/mob/new_player/preferences_setup.dm @@ -33,7 +33,7 @@ m_styles["head"] = random_marking_style("head", species, robohead, null, alt_head) m_colours["head"] = randomize_skin_color(1) if(S.bodyflags & HAS_BODY_MARKINGS) - m_styles["body"] = random_marking_style("body", species) + m_styles["body"] = random_marking_style("body", species, gender = src.gender) m_colours["body"] = randomize_skin_color(1) if(S.bodyflags & HAS_TAIL_MARKINGS) //Species with tail markings. m_styles["tail"] = random_marking_style("tail", species, null, body_accessory) diff --git a/code/modules/mob/new_player/sprite_accessories/human/human_facial_hair.dm b/code/modules/mob/new_player/sprite_accessories/human/human_facial_hair.dm index f65c15392b1..ff205c7ee5f 100644 --- a/code/modules/mob/new_player/sprite_accessories/human/human_facial_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/human/human_facial_hair.dm @@ -10,7 +10,7 @@ icon = 'icons/mob/human_face.dmi' // Special case, use the bald icon in human face name = "Shaved" icon_state = "bald" - gender = NEUTER + unsuitable_gender = NONE species_allowed = list(SPECIES_HUMAN, SPECIES_UNATHI, SPECIES_TAJARAN, SPECIES_SKRELL, SPECIES_VOX, SPECIES_DIONA, SPECIES_KIDAN, SPECIES_GREY, SPECIES_VULPKANIN, SPECIES_SLIMEPERSON) /datum/sprite_accessory/facial_hair/watson diff --git a/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm b/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm index e45aebf693f..57e0f7a3e71 100644 --- a/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/human/human_hair.dm @@ -51,13 +51,13 @@ /datum/sprite_accessory/hair/ponytail1 name = "Ponytail male" icon_state = "ponytailm" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/ponytail2 name = "Ponytail female" icon_state = "ponytailf" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/ponytail3 name = "Ponytail alt" @@ -67,19 +67,19 @@ /datum/sprite_accessory/hair/sideponytail name = "Side Ponytail" icon_state = "stail" - gender = FEMALE + unsuitable_gender = MALE glasses_over = 1 /datum/sprite_accessory/hair/highponytail name = "High Ponytail" icon_state = "highponytail" - gender = FEMALE + unsuitable_gender = MALE glasses_over = 1 /datum/sprite_accessory/hair/wisp name = "Wisp" icon_state = "wisp" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/parted name = "Parted" @@ -88,14 +88,14 @@ /datum/sprite_accessory/hair/pompadour name = "Pompadour" icon_state = "pompadour" - gender = MALE + unsuitable_gender = FEMALE species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON, SPECIES_UNATHI) glasses_over = 1 /datum/sprite_accessory/hair/quiff name = "Quiff" icon_state = "quiff" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/bedhead @@ -113,31 +113,31 @@ /datum/sprite_accessory/hair/beehive name = "Beehive" icon_state = "beehive" - gender = FEMALE + unsuitable_gender = MALE species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON, SPECIES_UNATHI) /datum/sprite_accessory/hair/bobcurl name = "Bobcurl" icon_state = "bobcurl" - gender = FEMALE + unsuitable_gender = MALE species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON, SPECIES_UNATHI) /datum/sprite_accessory/hair/bob name = "Bob" icon_state = "bobcut" - gender = FEMALE + unsuitable_gender = MALE species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON, SPECIES_UNATHI) /datum/sprite_accessory/hair/bowl name = "Bowl" icon_state = "bowlcut" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/braid2 name = "Long Braid" icon_state = "hbraid" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/braid_hip name = "Hippie Braid" @@ -147,20 +147,20 @@ /datum/sprite_accessory/hair/buzz name = "Buzzcut" icon_state = "buzzcut" - gender = MALE + unsuitable_gender = FEMALE species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON, SPECIES_UNATHI) glasses_over = 1 /datum/sprite_accessory/hair/crew name = "Crewcut" icon_state = "crewcut" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/combover name = "Combover" icon_state = "combover" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/devillock @@ -188,12 +188,12 @@ /datum/sprite_accessory/hair/afro_large name = "Big Afro" icon_state = "bigafro" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/sergeant name = "Flat Top" icon_state = "sergeant" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/emo @@ -211,7 +211,7 @@ /datum/sprite_accessory/hair/hitop name = "Hitop" icon_state = "hitop" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/mohawk @@ -223,31 +223,31 @@ /datum/sprite_accessory/hair/jensen name = "Adam Jensen Hair" icon_state = "jensen" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/cia name = "CIA" icon_state = "cia" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/mulder name = "Mulder" icon_state = "mulder" - gender = MALE + unsuitable_gender = FEMALE glasses_over = 1 /datum/sprite_accessory/hair/gelled name = "Gelled Back" icon_state = "gelled" - gender = FEMALE + unsuitable_gender = MALE glasses_over = 1 /datum/sprite_accessory/hair/gentle name = "Gentle" icon_state = "gentle" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/spiky name = "Spiky" @@ -262,50 +262,50 @@ /datum/sprite_accessory/hair/kagami name = "Pigtails" icon_state = "kagami" - gender = FEMALE + unsuitable_gender = MALE glasses_over = 1 /datum/sprite_accessory/hair/himecut name = "Hime Cut" icon_state = "himecut" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/braid name = "Floorlength Braid" icon_state = "floorbraid" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/odango name = "Odango" icon_state = "odango" - gender = FEMALE - glasses_over = 1 + unsuitable_gender = MALE + glasses_over = TRUE /datum/sprite_accessory/hair/ombre name = "Ombre" icon_state = "ombre" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/updo name = "Updo" icon_state = "updo" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/skinhead name = "Skinhead" icon_state = "skinhead" - glasses_over = 1 + glasses_over = TRUE /datum/sprite_accessory/hair/balding name = "Balding Hair" icon_state = "balding" - gender = MALE // turnoff! - glasses_over = 1 + unsuitable_gender = FEMALE // turnoff! + glasses_over = TRUE /datum/sprite_accessory/hair/longemo name = "Long Emo" icon_state = "emolong" - gender = FEMALE + unsuitable_gender = MALE ////////////////////////////// //////START VG HAIRSTYLES///// @@ -321,28 +321,28 @@ /datum/sprite_accessory/hair/duelist name = "Duelist" icon_state = "duelist" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/modern name = "Modern" icon_state = "modern" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/unshavenmohawk name = "Unshaven Mohawk" icon_state = "unshavenmohawk" - gender = MALE - glasses_over = 1 + unsuitable_gender = FEMALE + glasses_over = TRUE /datum/sprite_accessory/hair/drills name = "Twincurls" icon_state = "twincurl" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/minidrills name = "Twincurls 2" icon_state = "twincurl2" - gender = FEMALE + unsuitable_gender = MALE ////////////////////////////// //////END VG HAIRSTYLES/////// ////////////////////////////// @@ -418,57 +418,57 @@ /datum/sprite_accessory/hair/partfade name = "Parted Fade" icon_state = "shavedpart" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/undercut3 name = "Undercut Swept Left" icon_state = "undercut3" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/undercut2 name = "Undercut Swept Right" icon_state = "undercut2" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/undercut1 name = "Undercut" icon_state = "undercut1" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/coffeehouse name = "Coffee House Cut" icon_state = "coffeehouse" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/tightbun name = "Tight Bun" icon_state = "tightbun" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/trimmed name = "Trimmed" icon_state = "trimmed" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/trimflat name = "Trimmed Flat Top" icon_state = "trimflat" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/nofade name = "Regulation Cut" icon_state = "nofade" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/baldfade name = "Balding Fade" icon_state = "baldfade" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/highfade name = "High Fade" icon_state = "highfade" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/medfade name = "Medium Fade" @@ -477,7 +477,7 @@ /datum/sprite_accessory/hair/lowfade name = "Low Fade" icon_state = "lowfade" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/oxton name = "Oxton" @@ -514,7 +514,7 @@ /datum/sprite_accessory/hair/joestar name = "Joestar" icon_state = "joestar" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/nitori name = "Nitori" @@ -762,7 +762,7 @@ /datum/sprite_accessory/hair/wong name = "Wong" icon_state = "wong" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/ponytail7 name = "Ponytail 7" diff --git a/code/modules/mob/new_player/sprite_accessories/skrell/skrell_face.dm b/code/modules/mob/new_player/sprite_accessories/skrell/skrell_face.dm index 74cd20f40c4..b7f09c49073 100644 --- a/code/modules/mob/new_player/sprite_accessories/skrell/skrell_face.dm +++ b/code/modules/mob/new_player/sprite_accessories/skrell/skrell_face.dm @@ -5,12 +5,12 @@ /datum/sprite_accessory/hair/skrell/skr_tentacle_m name = "Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/hair/skrell/skr_tentacle_f name = "Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/hair/skrell/skr_tentacleslong name = "Long Skrell Tentacles" @@ -23,39 +23,39 @@ /datum/sprite_accessory/hair/skrell/skr_gold_m name = "Gold plated Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "gold" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_gold_f name = "Gold chained Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "gold" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_clothtentacle_m name = "Cloth draped Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "cloth" /datum/sprite_accessory/hair/skrell/skr_clothtentacle_f name = "Cloth draped Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "cloth" /datum/sprite_accessory/hair/skrell/skr_gclothtentacle_m name = "Ombre Dye, Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "gradient" /datum/sprite_accessory/hair/skrell/skr_gclothtentacle_f name = "Ombre Dye, Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "gradient" /datum/sprite_accessory/hair/skrell/skr_gclothtentacleslong @@ -71,144 +71,144 @@ /datum/sprite_accessory/hair/skrell/skr_diablacktentacle_m name = "Black headress Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "blackdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diablacktentacle_f name = "Black headress Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "blackdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diablacktentacleslong name = "Black headress Long Skrell Tentacles" icon_state = "verylong" secondary_theme = "blackdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diagoldtentacle_m name = "Gold headress Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "golddia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diagoldtentacle_f name = "Gold headress Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "golddia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diagoldtentacleslong name = "Gold headress Long Skrell Tentacles" icon_state = "verylong" secondary_theme = "golddia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diasilvertentacle_m name = "Silver headress Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "silvdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diasilvertentacle_f name = "Silver headress Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "silvdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_diasilvertentacleslong name = "Silver headress Long Skrell Tentacles" icon_state = "verylong" secondary_theme = "silvdia" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_festivetentacle_m name = "Festive headress Skrell Male Tentacles" icon_state = "male" - gender = MALE + unsuitable_gender = FEMALE secondary_theme = "fest" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_festivetentacle_f name = "Festive headress Skrell Female Tentacles" icon_state = "female" - gender = FEMALE + unsuitable_gender = MALE secondary_theme = "fest" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_festivetentacleslong name = "Festive headress Long Skrell Tentacles" icon_state = "verylong" secondary_theme = "fest" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_festivetentaclesshort name = "Festive headress Short Skrell Tentacles" icon_state = "veryshort" secondary_theme = "fest" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_shortmidbun name = "Mid bun short Tentacles" icon_state = "short_mid_bun" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_midbun name = "Mid bun normal Tentacles" icon_state = "mid_bun" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_longmidbun name = "Mid bun long Tentacles" icon_state = "long_mid_bun" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_vshortmidbun name = "Mid bun very short Tentacles" icon_state = "low_bun" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_mullet name = "Mullet Tentacles" icon_state = "mullet" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_insulatedlong name = "Insulated long Tentacles" icon_state = "insulted_long" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_excitedlong name = "Excited long Tentacles" icon_state = "excited_long" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_reversedlong name = "Reversed long Tentacles" icon_state = "reserved_long" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_tuuxstraight name = "Tuux straight Tentacles" icon_state = "straight_tuux" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_tuuxstraightlong name = "Tuux straight long Tentacles" icon_state = "straight_tuux_long" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/skrell/skr_loosebraid name = "Loose braid Tentacles" icon_state = "loose_braid" - no_sec_colour = 1 + no_sec_colour = TRUE /datum/sprite_accessory/hair/fluff/zeke_fluff_tentacle //Zeke Fluff hair icon = 'icons/mob/sprite_accessories/skrell/skrell_hair.dmi' diff --git a/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm b/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm index b043622b10b..cdb49727d2a 100644 --- a/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm +++ b/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm @@ -17,7 +17,7 @@ conversion in savefile.dm */ -/proc/init_sprite_accessory_subtypes(var/prototype, var/list/L, var/list/male, var/list/female, var/list/full_list) +/proc/init_sprite_accessory_subtypes(prototype, list/L, list/male, list/female, list/full_list) if(!istype(L)) L = list() if(!istype(male)) male = list() if(!istype(female)) female = list() @@ -33,19 +33,19 @@ L[D.name] = D full_list[D.name] = D - switch(D.gender) - if(MALE) male[D.name] = D - if(FEMALE) female[D.name] = D + switch(D.unsuitable_gender) + if(FEMALE) male[D.name] = D + if(MALE) female[D.name] = D else male[D.name] = D female[D.name] = D return L /datum/sprite_accessory - var/icon //the icon file the accessory is located in - var/icon_state //the icon_state of the accessory - var/name //the preview name of the accessory - var/gender = NEUTER //Determines if the accessory will be skipped or included in random hair generations + var/icon //the icon file the accessory is located in + var/icon_state //the icon_state of the accessory + var/name //the preview name of the accessory + var/unsuitable_gender //Determines if the accessory will be skipped or included in random generations // Restrict some styles to specific species var/list/species_allowed = list(SPECIES_HUMAN, SPECIES_SLIMEPERSON) @@ -55,8 +55,8 @@ var/list/tails_allowed = null //Specifies which, if any, tails a tail marking is compatible with. var/list/wings_allowed var/marking_location //Specifies which bodypart a body marking is located on. - var/secondary_theme = null //If exists, there's a secondary colour to that hair style and the secondary theme's icon state's suffix is equal to this. - var/no_sec_colour = null //If exists, prohibit the colouration of the secondary theme. + var/secondary_theme //If exists, there's a secondary colour to that hair style and the secondary theme's icon state's suffix is equal to this. + var/no_sec_colour = FALSE //If TRUE, prohibit the colouration of the secondary theme. var/fluff = 0 // Whether or not the accessory can be affected by colouration var/do_colouration = 1 @@ -75,7 +75,7 @@ glasses_over = 1 /datum/sprite_accessory/facial_hair - gender = MALE // barf (unless you're a dorf, dorfs dig chix /w beards :P) + unsuitable_gender = FEMALE // barf (unless you're a dorf, dorfs dig chix /w beards :P) icon = 'icons/mob/sprite_accessories/human/human_facial_hair.dmi' var/over_hair @@ -175,7 +175,7 @@ SPECIES_GREY = 'icons/mob/clothing/species/grey/underwear.dmi', SPECIES_UNATHI = 'icons/mob/clothing/species/unathi/underwear.dmi', ) - gender = NEUTER + var/allow_change_color = FALSE /datum/sprite_accessory/underwear/nude @@ -184,7 +184,7 @@ species_allowed = list(SPECIES_HUMAN, SPECIES_UNATHI, SPECIES_DIONA, SPECIES_VULPKANIN, SPECIES_TAJARAN, SPECIES_KIDAN, SPECIES_GREY, SPECIES_PLASMAMAN, SPECIES_MACNINEPERSON, SPECIES_SKRELL, SPECIES_SLIMEPERSON, SPECIES_SKELETON, SPECIES_DRASK, SPECIES_VOX, SPECIES_MOTH) /datum/sprite_accessory/underwear/male - gender = MALE + unsuitable_gender = FEMALE /datum/sprite_accessory/underwear/male/male_striped_alt name = "Mens Striped Alt" @@ -228,19 +228,37 @@ icon_state = "male_kinky" /datum/sprite_accessory/underwear/female - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/underwear/female/female_red_alt name = "Ladies Red Alt" icon_state = "female_red_alt" + sprite_sheets = list( + SPECIES_VOX = 'icons/mob/clothing/species/vox/underwear.dmi', + SPECIES_GREY = 'icons/mob/clothing/species/grey/underwear.dmi', + SPECIES_UNATHI = 'icons/mob/clothing/species/unathi/underwear.dmi', + SPECIES_TAJARAN = 'icons/mob/clothing/species/tajaran/underwear.dmi', + ) /datum/sprite_accessory/underwear/female/female_babydoll name = "Ladies Full Grey" icon_state = "female_babydoll" + sprite_sheets = list( + SPECIES_VOX = 'icons/mob/clothing/species/vox/underwear.dmi', + SPECIES_GREY = 'icons/mob/clothing/species/grey/underwear.dmi', + SPECIES_UNATHI = 'icons/mob/clothing/species/unathi/underwear.dmi', + SPECIES_TAJARAN = 'icons/mob/clothing/species/tajaran/underwear.dmi', + ) /datum/sprite_accessory/underwear/female/female_kinky_alt name = "Ladies Kinky Alt" icon_state = "female_kinky_alt" + sprite_sheets = list( + SPECIES_VOX = 'icons/mob/clothing/species/vox/underwear.dmi', + SPECIES_GREY = 'icons/mob/clothing/species/grey/underwear.dmi', + SPECIES_UNATHI = 'icons/mob/clothing/species/unathi/underwear.dmi', + SPECIES_TAJARAN = 'icons/mob/clothing/species/tajaran/underwear.dmi', + ) /datum/sprite_accessory/underwear/female/female_kinky_black name = "Ladies Kinky Full Black" @@ -304,7 +322,6 @@ SPECIES_GREY = 'icons/mob/clothing/species/grey/underwear.dmi', SPECIES_UNATHI = 'icons/mob/clothing/species/unathi/underwear.dmi', ) - gender = NEUTER var/allow_change_color = FALSE /datum/sprite_accessory/undershirt/nude @@ -345,7 +362,7 @@ /datum/sprite_accessory/undershirt/shirt_colorized/female name = "Female Colorized Shirt" icon_state = "female_shirt" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/undershirt/shirt_colorized/female/female_cuttedshirt name = "Female Colorized Cutted Shirt" @@ -496,18 +513,18 @@ /datum/sprite_accessory/undershirt/tank_top_colorize name = "Female Crop-Top" icon_state = "tank_top" - gender = FEMALE + unsuitable_gender = MALE allow_change_color = TRUE /datum/sprite_accessory/undershirt/tank_whitetop name = "White Crop-Top" icon_state = "tank_whitetop" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/undershirt/tank_midriff name = "Mid Tank-Top" icon_state = "tank_midriff_female" - gender = FEMALE + unsuitable_gender = MALE allow_change_color = TRUE sprite_sheets = list( SPECIES_VOX = 'icons/mob/clothing/species/vox/underwear.dmi', @@ -546,7 +563,6 @@ SPECIES_ASHWALKER_BASIC = 'icons/mob/clothing/species/unathi/underwear.dmi', SPECIES_ASHWALKER_SHAMAN = 'icons/mob/clothing/species/unathi/underwear.dmi', SPECIES_DRACONOID = 'icons/mob/clothing/species/unathi/underwear.dmi') - gender = NEUTER /datum/sprite_accessory/socks/nude name = "Nude" @@ -580,7 +596,7 @@ /datum/sprite_accessory/socks/thin_knee name = "Knee-high Thin" icon_state = "thin_knee" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/socks/striped_norm name = "Normal Striped" @@ -605,7 +621,7 @@ /datum/sprite_accessory/socks/thin_thigh name = "Thigh-high Thin" icon_state = "thin_thigh" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/socks/striped_thigh name = "Thigh-high Striped" @@ -618,7 +634,7 @@ /datum/sprite_accessory/socks/pantyhose name = "Pantyhose" icon_state = "pantyhose" - gender = FEMALE + unsuitable_gender = MALE /datum/sprite_accessory/socks/black_fishnet name = "Black Fishnet" diff --git a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_body_markings.dm b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_body_markings.dm index bd3e247de14..43d39566464 100644 --- a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_body_markings.dm +++ b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_body_markings.dm @@ -2,22 +2,28 @@ icon = 'icons/mob/sprite_accessories/tajaran/tajaran_body_markings.dmi' species_allowed = list(SPECIES_TAJARAN) -/datum/sprite_accessory/body_markings/tajara/belly_flat_taj - name = "Tajaran Belly" - icon_state = "belly" - /datum/sprite_accessory/body_markings/tajara/belly_crest_taj name = "Tajaran Chest Crest" icon_state = "crest" -/datum/sprite_accessory/body_markings/tajara/belly_full_taj - name = "Tajaran Belly 2" - icon_state = "fullbelly" - /datum/sprite_accessory/body_markings/tajara/points_taj name = "Tajaran Points" icon_state = "points" +/datum/sprite_accessory/body_markings/tajara/belly_taj + name = "Tajaran Belly" + icon_state = "fullbelly_man" + unsuitable_gender = FEMALE + +/datum/sprite_accessory/body_markings/tajara/belly_taj/woman + icon_state = "fullbelly_woman" + unsuitable_gender = MALE + /datum/sprite_accessory/body_markings/tajara/patchy_taj name = "Tajaran Patches" - icon_state = "patch" + icon_state = "patch_man" + unsuitable_gender = FEMALE + +/datum/sprite_accessory/body_markings/tajara/patchy_taj/woman + icon_state = "patch_woman" + unsuitable_gender = MALE diff --git a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_facial_hair.dm b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_facial_hair.dm index 6e615e3e0ca..075eebae0b4 100644 --- a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_facial_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_facial_hair.dm @@ -10,14 +10,6 @@ name = "Tajara Mutton" icon_state = "facial_mutton" -/datum/sprite_accessory/facial_hair/tajara/taj_pencilstache - name = "Tajara Pencilstache" - icon_state = "facial_pencilstache" - -/datum/sprite_accessory/facial_hair/tajara/taj_moustache - name = "Tajara Moustache" - icon_state = "facial_moustache" - /datum/sprite_accessory/facial_hair/tajara/taj_goatee name = "Tajara Goatee" icon_state = "facial_goatee" @@ -26,6 +18,26 @@ name = "Tajara Faded Goatee" icon_state = "facial_goatee_faded" +/datum/sprite_accessory/facial_hair/tajara/taj_moustache + name = "Tajara Moustache" + icon_state = "facial_moustache" + /datum/sprite_accessory/facial_hair/tajara/taj_smallstache - name = "Tajara Smallstache" + name = "Tajara Small Moustache" icon_state = "facial_smallstache" + +/datum/sprite_accessory/facial_hair/tajara/taj_longstache + name = "Tajara Long Moustache" + icon_state = "facial_long_moustache" + +/datum/sprite_accessory/facial_hair/tajara/taj_trimstache + name = "Tajara Trimmed Moustache" + icon_state = "facial_trimoustache" + +/datum/sprite_accessory/facial_hair/tajara/taj_pencilstache + name = "Tajara Pencil Moustache" + icon_state = "facial_pencilstache" + +/datum/sprite_accessory/facial_hair/tajara/taj_hulkhogan + name = "Tajara Hulk Hogan" + icon_state = "facial_hulkhogan" diff --git a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_hair.dm b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_hair.dm index 8f496cffbc7..837fc02cc06 100644 --- a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_hair.dm @@ -1,7 +1,26 @@ /datum/sprite_accessory/hair/tajara icon = 'icons/mob/sprite_accessories/tajaran/tajaran_hair.dmi' species_allowed = list(SPECIES_TAJARAN) - glasses_over = 1 + glasses_over = TRUE + +/datum/sprite_accessory/hair/tajara/taj_hair_braid + name = "Tajara Braid" + icon_state = "braid" + secondary_theme = "beads" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_braid/ears + name = "Tajara Braid & Ears" + icon_state = "braid_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_sidebraid + name = "Tajara Sidebraid" + icon_state = "sidebraid" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_sidebraid/ears + name = "Tajara Sidebraid & Ears" + icon_state = "sidebraid_ears" /datum/sprite_accessory/hair/tajara/taj_hair_clean name = "Tajara Clean" @@ -12,11 +31,17 @@ icon_state = "bangs" glasses_over = FALSE -/datum/sprite_accessory/hair/tajara/taj_hair_braid - name = "Tajara Braid" - icon_state = "braid" - secondary_theme = "beads" - glasses_over = FALSE +/datum/sprite_accessory/hair/tajara/taj_hair_bangs/ears + name = "Tajara Bangs & Ears" + icon_state = "bangs_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_tailedbangs + name = "Tajara Tailedbangs" + icon_state = "tailedbangs" + +/datum/sprite_accessory/hair/tajara/taj_hair_tailedbangs/ears + name = "Tajara Tailedbangs & Ears" + icon_state = "tailedbangs_ears" /datum/sprite_accessory/hair/tajara/taj_hair_shaggy name = "Tajara Shaggy" @@ -26,10 +51,18 @@ name = "Tajaran Mohawk" icon_state = "mohawk" +/datum/sprite_accessory/hair/tajara/taj_hair_mohawk/ears + name = "Tajaran Mohawk & Ears" + icon_state = "mohawk_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_plait name = "Tajara Plait" icon_state = "plait" +/datum/sprite_accessory/hair/tajara/taj_hair_plait/ears + name = "Tajara Plait & Ears" + icon_state = "plait_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_straight name = "Tajara Straight" icon_state = "straight" @@ -38,28 +71,64 @@ name = "Tajara Long" icon_state = "long" +/datum/sprite_accessory/hair/tajara/taj_hair_long/ears + name = "Tajara Long & Ears" + icon_state = "long_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_longtail + name = "Tajara Longtail" + icon_state = "longtail" + +/datum/sprite_accessory/hair/tajara/taj_hair_longtail/ears + name = "Tajara Longtail & Ears" + icon_state = "longtail_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_rattail name = "Tajara Rat Tail" icon_state = "rattail" +/datum/sprite_accessory/hair/tajara/taj_hair_rattail/ears + name = "Tajara Rat Tail & Ears" + icon_state = "rattail_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_ponytail + name = "Tajara Ponytail" + icon_state = "ponytail" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_ponytail/ears + name = "Tajara Ponytail & Ears" + icon_state = "ponytail_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_cuttail + name = "Tajara Cuttail" + icon_state = "cuttail" + +/datum/sprite_accessory/hair/tajara/taj_hair_cuttail/ears + name = "Tajara Cuttail & Ears" + icon_state = "cuttail_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_spiky name = "Tajara Spikey" icon_state = "spikey" +/datum/sprite_accessory/hair/tajara/taj_hair_spiky/ears + name = "Tajara Spikey & Ears" + icon_state = "spikey_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_messy name = "Tajara Messy" icon_state = "messy" +/datum/sprite_accessory/hair/tajara/taj_hair_messy/ears + name = "Tajara Messy & Ears" + icon_state = "messy_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_curls name = "Tajara Curly" icon_state = "curly" glasses_over = FALSE -/datum/sprite_accessory/hair/tajara/taj_hair_bedhead - name = "Tajara bedhead" - icon_state = "bedhead" - glasses_over = FALSE - /datum/sprite_accessory/hair/tajara/taj_hair_retro name = "Tajaran Ladies' Retro" icon_state = "ladiesretro" @@ -75,11 +144,24 @@ icon_state = "bob" glasses_over = FALSE +/datum/sprite_accessory/hair/tajara/taj_hair_bob/ears + name = "Tajara Bob & Ears" + icon_state = "bob_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_fingercurl name = "Tajara Finger Curls" icon_state = "fingerwave" glasses_over = FALSE +/datum/sprite_accessory/hair/tajara/taj_hair_fingercurl/ears + name = "Tajara Finger Curls & Ears" + icon_state = "fingerwave_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_bedhead + name = "Tajara Bedhead" + icon_state = "bedhead" + glasses_over = FALSE + /datum/sprite_accessory/hair/tajara/taj_hair_marmalade name = "Tajara Marmalade" icon_state = "marmalade" @@ -90,6 +172,53 @@ icon_state = "shy" glasses_over = FALSE +/datum/sprite_accessory/hair/tajara/taj_hair_shy/ears + name = "Tajara Shy & Ears" + icon_state = "shy_ears" + /datum/sprite_accessory/hair/tajara/taj_hair_metal name = "Tajara Metal" icon_state = "metal" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_ribbons + name = "Tajara Ribbons" + icon_state = "ribbons" + +/datum/sprite_accessory/hair/tajara/taj_hair_ribbons/ears + name = "Tajara Ribbons & Ears" + icon_state = "ribbons_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_dreadlocks + name = "Tajara Dreadlocks" + icon_state = "dreadlocks" + +/datum/sprite_accessory/hair/tajara/taj_hair_dreadlocks/ears + name = "Tajara Dreadlocks & Ears" + icon_state = "dreadlocks_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_combedback + name = "Tajara Combedback" + icon_state = "combedback" + +/datum/sprite_accessory/hair/tajara/taj_hair_combedback/ears + name = "Tajara Combedback & Ears" + icon_state = "combedback_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_overeye + name = "Tajara Overeye" + icon_state = "overeye" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_overeye/ears + name = "Tajara Overeye & Ears" + icon_state = "overeye_ears" + +/datum/sprite_accessory/hair/tajara/taj_hair_tough + name = "Tajara Tough" + icon_state = "tough" + glasses_over = FALSE + +/datum/sprite_accessory/hair/tajara/taj_hair_tough/ears + name = "Tajara Tough & Ears" + icon_state = "tough_ears" diff --git a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_head_markings.dm b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_head_markings.dm index 5b28c4d97ff..c64a417b982 100644 --- a/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_head_markings.dm +++ b/code/modules/mob/new_player/sprite_accessories/tajaran/tajaran_head_markings.dm @@ -11,6 +11,10 @@ name = "Tajaran Tiger Head and Face" icon_state = "tiger_face" +/datum/sprite_accessory/body_markings/head/tajara/lynx + name = "Tajaran Lynx Ears and Cheeks" + icon_state = "lynx" + /datum/sprite_accessory/body_markings/head/tajara/outears_taj name = "Tajaran Outer Ears" icon_state = "outears" diff --git a/code/modules/mob/new_player/sprite_accessories/unathi/unathi_facial_hair.dm b/code/modules/mob/new_player/sprite_accessories/unathi/unathi_facial_hair.dm index ef93603df8a..0357f9c4395 100644 --- a/code/modules/mob/new_player/sprite_accessories/unathi/unathi_facial_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/unathi/unathi_facial_hair.dm @@ -1,8 +1,8 @@ /datum/sprite_accessory/facial_hair/unathi icon = 'icons/mob/sprite_accessories/unathi/unathi_facial_hair.dmi' species_allowed = list(SPECIES_UNATHI, SPECIES_ASHWALKER_BASIC, SPECIES_ASHWALKER_SHAMAN, SPECIES_DRACONOID) - gender = NEUTER - over_hair = 1 + unsuitable_gender = null + over_hair = TRUE /datum/sprite_accessory/facial_hair/unathi/una_spines_long name = "Long Spines" @@ -75,10 +75,10 @@ secondary_theme = "webbing" /datum/sprite_accessory/facial_hair/unathi/una_frills_dorsal - over_hair = null name = "Dorsal Frills" icon_state = "dorsalfrills" secondary_theme = "webbing" + over_hair = FALSE /datum/sprite_accessory/facial_hair/unathi/una_chin_horns name = "Chin Horns" diff --git a/code/modules/mob/new_player/sprite_accessories/vox/vox_facial_hair.dm b/code/modules/mob/new_player/sprite_accessories/vox/vox_facial_hair.dm index d47c5a4ee8e..da48933e9cb 100644 --- a/code/modules/mob/new_player/sprite_accessories/vox/vox_facial_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/vox/vox_facial_hair.dm @@ -1,7 +1,7 @@ /datum/sprite_accessory/facial_hair/vox icon = 'icons/mob/sprite_accessories/vox/vox_facial_hair.dmi' species_allowed = list(SPECIES_VOX) - gender = NEUTER + unsuitable_gender = null /datum/sprite_accessory/facial_hair/vox/vox_colonel name = "Vox Colonel Beard" diff --git a/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_facial_hair.dm b/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_facial_hair.dm index cbd0bca4c45..56e4ed61c8a 100644 --- a/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_facial_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_facial_hair.dm @@ -1,7 +1,7 @@ /datum/sprite_accessory/facial_hair/vulpkanin icon = 'icons/mob/sprite_accessories/vulpkanin/vulpkanin_facial_hair.dmi' species_allowed = list(SPECIES_VULPKANIN) - gender = NEUTER + unsuitable_gender = null /datum/sprite_accessory/facial_hair/vulpkanin/vulp_earfluff name = "Vulpkanin Earfluff" diff --git a/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_hair.dm b/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_hair.dm index 3b35f33081f..972d6922087 100644 --- a/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_hair.dm +++ b/code/modules/mob/new_player/sprite_accessories/vulpkanin/vulpkanin_hair.dm @@ -34,7 +34,7 @@ /datum/sprite_accessory/hair/vulpkanin/vulp_hair_bun name = "Bun" icon_state = "bun" - glasses_over = 1 + glasses_over = TRUE /datum/sprite_accessory/hair/vulpkanin/vulp_hair_jagged name = "Jagged" @@ -47,7 +47,7 @@ /datum/sprite_accessory/hair/vulpkanin/vulp_hair_hawk name = "Hawk" icon_state = "hawk" - glasses_over = 1 + glasses_over = TRUE /datum/sprite_accessory/hair/vulpkanin/vulp_hair_anita name = "Anita" @@ -57,10 +57,15 @@ name = "Short" icon_state = "short" +/datum/sprite_accessory/hair/vulpkanin/vulp_hair_short2 + name = "Short Alt" + icon_state = "short2" + glasses_over = TRUE + /datum/sprite_accessory/hair/vulpkanin/vulp_hair_spike name = "Spike" icon_state = "spike" - glasses_over = 1 + glasses_over = TRUE /datum/sprite_accessory/hair/vulpkanin/vulp_hair_braided name = "Braided" @@ -72,11 +77,6 @@ icon_state = "punkbraided" secondary_theme = "flare" -/datum/sprite_accessory/hair/vulpkanin/vulp_hair_short2 - name = "Short Alt." - icon_state = "short2" - glasses_over = 1 - /datum/sprite_accessory/hair/vulpkanin/vulp_hair_rough name = "Rough-Cropped Mane" icon_state = "rough" @@ -84,4 +84,4 @@ /datum/sprite_accessory/hair/vulpkanin/vulp_hair_raine name = "Raine" icon_state = "raine" - gender = FEMALE + unsuitable_gender = MALE diff --git a/code/modules/mob/transform_procs.dm b/code/modules/mob/transform_procs.dm index 0ae9d6ee706..3da7a445057 100644 --- a/code/modules/mob/transform_procs.dm +++ b/code/modules/mob/transform_procs.dm @@ -247,6 +247,9 @@ qdel(src) +//oh no, cringe +/mob/proc/get_npc_respawn_message() + return "Ты [name]." /mob/proc/safe_respawn(mob/living/passed_mob, check_station_level = TRUE) . = FALSE @@ -293,6 +296,7 @@ /mob/living/simple_animal/pig, /mob/living/simple_animal/possum, /mob/living/simple_animal/turkey, + /mob/living/carbon/human/lesser/monkey/punpun, )) // Blacklist typecache. diff --git a/code/modules/movespeed/modifiers/mobs.dm b/code/modules/movespeed/modifiers/mobs.dm index 446fdb98379..47a522157eb 100644 --- a/code/modules/movespeed/modifiers/mobs.dm +++ b/code/modules/movespeed/modifiers/mobs.dm @@ -210,6 +210,13 @@ variable = TRUE blacklisted_movetypes = FLOATING +/datum/movespeed_modifier/borer_leg_focus + multiplicative_slowdown = -0.25 + movetypes = GROUND + blacklisted_movetypes = (FLYING|FLOATING) + +/datum/movespeed_modifier/borer_leg_focus/lesser + multiplicative_slowdown = -0.125 /* /datum/movespeed_modifier/carbon_softcrit diff --git a/code/modules/pda/PDA.dm b/code/modules/pda/PDA.dm index cb315072b1e..90c01171c98 100755 --- a/code/modules/pda/PDA.dm +++ b/code/modules/pda/PDA.dm @@ -85,6 +85,13 @@ GLOBAL_LIST_EMPTY(PDAs) /// Saved in and associatove list format: "icon" -> icon_state/item_state, "base64" - > base64icon, "desc" -> desc var/list/current_painting +/obj/item/pda/emag_act(mob/user) + if(!user.mind.special_role && !is_admin(user) || !hidden_uplink) + explode() + else + hidden_uplink.trigger(user) + to_chat(usr, "The PDA softly beeps.") + close(usr) /* * The Actual PDA diff --git a/code/modules/power/supermatter/supermatter.dm b/code/modules/power/supermatter/supermatter.dm index 60e35c88c0b..2973373acc0 100644 --- a/code/modules/power/supermatter/supermatter.dm +++ b/code/modules/power/supermatter/supermatter.dm @@ -42,6 +42,7 @@ var/gasefficency = 0.125 base_icon_state = "darkmatter_shard" + var/zap_sound_extrarange = 5 var/damage = 0 var/damage_archived = 0 @@ -577,7 +578,7 @@ post_status(STATUS_DISPLAY_TRANSFER_SHUTTLE_TIME) /obj/machinery/power/supermatter_shard/proc/supermatter_zap() - playsound(src.loc, 'sound/magic/lightningshock.ogg', 100, 1, extrarange = 5) + playsound(src.loc, 'sound/magic/lightningshock.ogg', 100, 1, extrarange = zap_sound_extrarange) tesla_zap(src, 10, max(1000,power * damage / explosion_point)) // SM shard that can't be moved for ruins and gates diff --git a/code/modules/projectiles/ammunition/energy.dm b/code/modules/projectiles/ammunition/energy.dm index 23623f5d6c3..4f961b593bf 100644 --- a/code/modules/projectiles/ammunition/energy.dm +++ b/code/modules/projectiles/ammunition/energy.dm @@ -270,6 +270,10 @@ e_cost = 500 fire_sound = 'sound/weapons/gunshots/1heavysuppres.ogg' +/obj/item/ammo_casing/energy/bolt/bolttoy + projectile_type = /obj/item/projectile/energy/bolttoy + select_name = "bolttoy" + /obj/item/ammo_casing/energy/bolt/large projectile_type = /obj/item/projectile/energy/bolt/large select_name = "heavy bolt" diff --git a/code/modules/projectiles/guns/energy/special.dm b/code/modules/projectiles/guns/energy/special.dm index e0dd750ad4a..cec3aa208d4 100644 --- a/code/modules/projectiles/guns/energy/special.dm +++ b/code/modules/projectiles/guns/energy/special.dm @@ -141,6 +141,17 @@ suppressed = 0 ammo_type = list(/obj/item/ammo_casing/energy/bolt/large) +/obj/item/gun/energy/kinetic_accelerator/crossbow/toy + name = "toy energy crossbow" + desc = "Игрушечное оружие, сделанное из тагерного пистолета со стильным дизайном контрабандного арбалета." + icon_state = "crossbowtoy" + w_class = WEIGHT_CLASS_SMALL + materials = list(MAT_METAL=4000) + origin_tech = "combat=4;magnets=4" + suppressed = 0 + overheat_time = 8 SECONDS + ammo_type = list(/obj/item/ammo_casing/energy/bolt/bolttoy) + /obj/item/gun/energy/kinetic_accelerator/crossbow/large/cyborg desc = "One and done!" icon_state = "crossbowlarge" diff --git a/code/modules/projectiles/guns/magic/staff.dm b/code/modules/projectiles/guns/magic/staff.dm index b3deb196027..8b6744f62ec 100644 --- a/code/modules/projectiles/guns/magic/staff.dm +++ b/code/modules/projectiles/guns/magic/staff.dm @@ -85,10 +85,6 @@ force = 25 armour_penetration = 75 block_chance = 50 + block_type = MELEE_ATTACKS sharp = 1 max_charges = 4 - -/obj/item/gun/magic/staff/spellblade/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) - if(attack_type == PROJECTILE_ATTACK) - final_block_chance = 0 - return ..() diff --git a/code/modules/projectiles/projectile.dm b/code/modules/projectiles/projectile.dm index c7400da33fe..2c68d8c9cb3 100644 --- a/code/modules/projectiles/projectile.dm +++ b/code/modules/projectiles/projectile.dm @@ -112,7 +112,7 @@ /// If `TRUE`, projectile with dismemberment will forcefully cut head instead of gibbing them var/dismember_head = FALSE /// Probability to hit lying non-dead mobs - var/hit_crawling_mobs_chance = 0 + var/hit_crawling_mobs_chance = 33 /obj/item/projectile/Initialize(mapload) diff --git a/code/modules/projectiles/projectile/energy.dm b/code/modules/projectiles/projectile/energy.dm index a0ee498bd58..4c9372892f2 100644 --- a/code/modules/projectiles/projectile/energy.dm +++ b/code/modules/projectiles/projectile/energy.dm @@ -86,6 +86,16 @@ weaken = 0.1 SECONDS stamina = 30 +/obj/item/projectile/energy/bolttoy + name = "bolttoy" + icon_state = "cbbolttoy" + hitsound = 'sound/weapons/pierce.ogg' + damage_type = STAMINA + nodamage = TRUE + weaken = 0.1 SECONDS + stutter = 2 SECONDS + shockbull = TRUE + /obj/item/projectile/energy/shock_revolver name = "shock bolt" icon_state = "purple_laser" diff --git a/code/modules/reagents/chemistry/holder.dm b/code/modules/reagents/chemistry/holder.dm index 0a3538a6e7e..d18fdc5ecb4 100644 --- a/code/modules/reagents/chemistry/holder.dm +++ b/code/modules/reagents/chemistry/holder.dm @@ -545,7 +545,7 @@ can_process = TRUE return can_process -/datum/reagents/proc/reaction(atom/A, method = REAGENT_TOUCH, volume_modifier = 1, show_message = TRUE) +/datum/reagents/proc/reaction(atom/A, method = REAGENT_TOUCH, volume_modifier = 1, show_message = TRUE, ignore_protection = FALSE, def_zone) var/react_type if(isliving(A)) react_type = "LIVING" @@ -599,9 +599,24 @@ var/check = reaction_check(A, R) if(!check) continue - R.reaction_mob(A, method, R.volume * volume_modifier, show_message) + + var/mob/living/L = A + var/protection = 0 + if(method == REAGENT_TOUCH && !ignore_protection) + if(def_zone) + var/mob/living/carbon/human/H = L + if(istype(H)) + protection = 1 - H.get_permeability_protection_organ(H.get_organ(def_zone)) + else + protection = L.get_permeability_protection() + if(protection && show_message) + to_chat(L, span_alert("Your clothes protects you from the reaction.")) + + R.reaction_mob(A, method, R.volume * volume_modifier * (1 - protection), show_message) + if("TURF") R.reaction_turf(A, R.volume * volume_modifier, R.color) + if("OBJ") R.reaction_obj(A, R.volume * volume_modifier) diff --git a/code/modules/reagents/chemistry/reagents.dm b/code/modules/reagents/chemistry/reagents.dm index 00b58f3c346..628fb17c603 100644 --- a/code/modules/reagents/chemistry/reagents.dm +++ b/code/modules/reagents/chemistry/reagents.dm @@ -49,12 +49,8 @@ /datum/reagent/proc/reaction_mob(mob/living/M, method = REAGENT_TOUCH, volume, show_message = TRUE) //Some reagents transfer on touch, others don't; dependent on if they penetrate the skin or not. if(holder) //for catching rare runtimes - if(method == REAGENT_TOUCH && penetrates_skin) - var/block = M.get_permeability_protection() - var/amount = round(volume * (1 - block), 0.1) - if(M.reagents) - if(amount >= 1) - M.reagents.add_reagent(id, amount) + if(method == REAGENT_TOUCH && penetrates_skin && M.reagents && volume >= 1) + M.reagents.add_reagent(id, volume) if(method == REAGENT_INGEST) //Yes, even Xenos can get addicted to drugs. var/can_become_addicted = M.reagents.reaction_check(M, src) diff --git a/code/modules/reagents/chemistry/reagents/food.dm b/code/modules/reagents/chemistry/reagents/food.dm index c37d3bd0217..5af02464a3a 100644 --- a/code/modules/reagents/chemistry/reagents/food.dm +++ b/code/modules/reagents/chemistry/reagents/food.dm @@ -480,8 +480,8 @@ var/update_flags = STATUS_UPDATE_NONE if(ishuman(M)) var/mob/living/carbon/human/H = M - var/datum/antagonist/goon_vampire/g_vamp = H.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full)) //incapacitating but not lethal. + var/datum/antagonist/vampire/vamp = H.mind?.has_antag_datum(/datum/antagonist/vampire) + if(vamp && vamp.is_garlic_affected && !vamp.get_ability(/datum/vampire_passive/full)) //incapacitating but not lethal. if(prob(min(25, current_cycle))) to_chat(H, "You can't get the scent of garlic out of your nose! You can barely think...") H.Weaken(2 SECONDS) diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm index 1c6a004752e..045a8053fcd 100644 --- a/code/modules/reagents/chemistry/reagents/medicine.dm +++ b/code/modules/reagents/chemistry/reagents/medicine.dm @@ -1051,20 +1051,20 @@ var/update_flags = overdose_info[REAGENT_OVERDOSE_FLAGS] if(severity == 1) if(effect <= 2) - M.vomit(0, TRUE, FALSE) + M.vomit(0, VOMIT_BLOOD, 0 SECONDS) M.blood_volume = max(M.blood_volume - rand(5, 10), 0) else if(effect <= 4) - M.vomit(0, TRUE, FALSE) + M.vomit(0, VOMIT_BLOOD, 0 SECONDS) M.blood_volume = max(M.blood_volume - rand(1, 2), 0) else if(severity == 2) if(effect <= 2) M.visible_message("[M] is bleeding from [M.p_their()] very pores!") M.bleed(rand(10, 20)) else if(effect <= 4) - M.vomit(0, TRUE, FALSE) + M.vomit(0, VOMIT_BLOOD, 0 SECONDS) M.blood_volume = max(M.blood_volume - rand(5, 10), 0) else if(effect <= 8) - M.vomit(0, TRUE, FALSE) + M.vomit(0, VOMIT_BLOOD, 0 SECONDS) M.blood_volume = max(M.blood_volume - rand(1, 2), 0) return list(effect, update_flags) diff --git a/code/modules/reagents/chemistry/reagents/water.dm b/code/modules/reagents/chemistry/reagents/water.dm index 54d40c8f4b5..37c54e46037 100644 --- a/code/modules/reagents/chemistry/reagents/water.dm +++ b/code/modules/reagents/chemistry/reagents/water.dm @@ -300,7 +300,6 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( M.AdjustConfused(6 SECONDS) if(isvampirethrall(M)) M.mind.remove_antag_datum(/datum/antagonist/mindslave/thrall) - M.mind.remove_antag_datum(/datum/antagonist/mindslave/goon_thrall) holder.remove_reagent(id, volume) M.visible_message("[M] recoils, their skin flushes with colour, regaining their sense of control!") M.SetJitter(0) @@ -341,22 +340,24 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( update_flags |= M.adjustStaminaLoss(5, FALSE) if(prob(20)) M.emote("scream") - vamp.adjust_nullification(20, 4) + vamp.base_nullification() vamp.bloodusable = max(vamp.bloodusable - 3,0) + var/vomit_stun = (vamp.nullification == OLD_NULLIFICATION)? 8 SECONDS : FALSE if(vamp.bloodusable) - V.vomit(0, TRUE, FALSE) - V.adjustBruteLoss(3) + V.vomit(0, VOMIT_BLOOD, vomit_stun) + if(!vomit_stun) + V.adjustBruteLoss(3) else holder.remove_reagent(id, volume) - V.vomit(0, FALSE, FALSE) + V.vomit(0, stun = vomit_stun) return else - if(!vamp.bloodtotal) + if(!vamp.bloodtotal && vamp.nullification == NEW_NULLIFICATION) return ..() | update_flags switch(current_cycle) if(1 to 4) to_chat(M, "Something sizzles in your veins!") - vamp.adjust_nullification(20, 4) + vamp.base_nullification() if(5 to 12) to_chat(M, "You feel an intense burning inside of you!") update_flags |= M.adjustFireLoss(1, FALSE) @@ -364,7 +365,7 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( M.Jitter(40 SECONDS) if(prob(20)) M.emote("scream") - vamp.adjust_nullification(20, 4) + vamp.base_nullification() if(13 to INFINITY) M.visible_message("[M] suddenly bursts into flames!", "You suddenly ignite in a holy fire!") @@ -375,49 +376,7 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( M.Jitter(60 SECONDS) if(prob(40)) M.emote("scream") - vamp.adjust_nullification(20, 4) - - var/datum/antagonist/goon_vampire/g_vamp = M.mind?.has_antag_datum(/datum/antagonist/goon_vampire) - if(ishuman(M) && g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full) && prob(80)) - var/mob/living/carbon/V = M - if(g_vamp.bloodusable) - M.Stuttering(2 SECONDS) - M.Jitter(60 SECONDS) - update_flags |= M.adjustStaminaLoss(5, FALSE) - if(prob(20)) - M.emote("scream") - g_vamp.nullified = max(5, g_vamp.nullified + 2) - g_vamp.bloodusable = max(g_vamp.bloodusable - 3,0) - if(g_vamp.bloodusable) - V.vomit(0,1) - else - holder.remove_reagent(id, volume) - V.vomit(0,0) - return - else - switch(current_cycle) - if(1 to 4) - to_chat(M, "Something sizzles in your veins!") - g_vamp.nullified = max(5, g_vamp.nullified + 2) - if(5 to 12) - to_chat(M, "You feel an intense burning inside of you!") - update_flags |= M.adjustFireLoss(1, FALSE) - M.Stuttering(2 SECONDS) - M.Jitter(40 SECONDS) - if(prob(20)) - M.emote("scream") - g_vamp.nullified = max(5, g_vamp.nullified + 2) - if(13 to INFINITY) - M.visible_message("[M] suddenly bursts into flames!", - "You suddenly ignite in a holy fire!") - M.fire_stacks = min(5,M.fire_stacks + 3) - M.IgniteMob() //Only problem with igniting people is currently the commonly availible fire suits make you immune to being on fire - update_flags |= M.adjustFireLoss(3, FALSE) //Hence the other damages... ain't I a bastard? - M.Stuttering(2 SECONDS) - M.Jitter(60 SECONDS) - if(prob(40)) - M.emote("scream") - g_vamp.nullified = max(5, g_vamp.nullified + 2) + vamp.base_nullification() if(ishuman(M) && !M.mind?.isholy) switch(current_cycle) @@ -452,19 +411,6 @@ GLOBAL_LIST_INIT(diseases_carrier_reagents, list( to_chat(target, "Something holy interferes with your powers!") vamp.adjust_nullification(5, 2) - var/datum/antagonist/goon_vampire/g_vamp = target.mind.has_antag_datum(/datum/antagonist/goon_vampire) - if(g_vamp && !g_vamp.get_ability(/datum/goon_vampire_passive/full)) - - if(method == REAGENT_TOUCH) - if(target.wear_mask) - to_chat(target, "Your mask protects you from the holy water!") - return - else if(target.head) - to_chat(target, "Your helmet protects you from the holy water!") - return - else - to_chat(target, "Something holy interferes with your powers!") - g_vamp.nullified = max(5, g_vamp.nullified + 2) /datum/reagent/holywater/reaction_turf(turf/simulated/T, volume) diff --git a/code/modules/reagents/reagent_containers/applicator.dm b/code/modules/reagents/reagent_containers/applicator.dm index 1f342109c10..c7c41578c0d 100644 --- a/code/modules/reagents/reagent_containers/applicator.dm +++ b/code/modules/reagents/reagent_containers/applicator.dm @@ -97,14 +97,14 @@ applying = TRUE update_icon() - apply_to(target, user, 0.2) // We apply a very weak application up front, then loop. + apply_to(target, user, 0.2, TRUE, def_zone) // We apply a very weak application up front, then loop. add_attack_logs(user, target, "Started mending with [src] containing ([reagents.log_list()])", (emagged && !(reagents.harmless_helper())) ? null : ATKLOG_ALMOSTALL) var/cycle_count = 0 var/measured_health = 0 while(do_after(user, 1 SECONDS, target)) measured_health = target.health - apply_to(target, user, 1, FALSE) + apply_to(target, user, 1, FALSE, def_zone) if(measured_health == target.health) to_chat(user, span_notice("[target] is finished healing and [src] powers down automatically.")) break @@ -118,13 +118,13 @@ update_icon() -/obj/item/reagent_containers/applicator/proc/apply_to(mob/living/carbon/M, mob/user, multiplier = 1, show_message = TRUE) +/obj/item/reagent_containers/applicator/proc/apply_to(mob/living/carbon/M, mob/user, multiplier = 1, show_message = TRUE, def_zone) var/total_applied_amount = applied_amount * multiplier if(reagents && reagents.total_volume) var/fractional_applied_amount = total_applied_amount / reagents.total_volume - reagents.reaction(M, REAGENT_TOUCH, fractional_applied_amount, show_message) + reagents.reaction(M, REAGENT_TOUCH, fractional_applied_amount, show_message, ignore_flags, def_zone) reagents.trans_to(M, total_applied_amount * 0.5) reagents.remove_any(total_applied_amount * 0.5) diff --git a/code/modules/reagents/reagent_containers/borghydro.dm b/code/modules/reagents/reagent_containers/borghydro.dm index 6519d61ec97..5b68574edd0 100644 --- a/code/modules/reagents/reagent_containers/borghydro.dm +++ b/code/modules/reagents/reagent_containers/borghydro.dm @@ -218,7 +218,7 @@ var/emagged = TRUE var/safety_hypo = FALSE reagent_ids = list( \ - "heparin" = list('icons/effects/bleed.dmi', "bleed10"), \ + "amanitin" = list('icons/obj/hydroponics/harvest.dmi', "amanita"), \ "cyanide" = list('icons/mob/screen_corgi.dmi', "tox1"), \ "sodium_thiopental" = list('icons/obj/surgery.dmi', "lungs")) upgrade_path = null //no upgrades diff --git a/code/modules/reagents/reagent_containers/patch.dm b/code/modules/reagents/reagent_containers/patch.dm index 835e14b6c2a..a3371943ff2 100644 --- a/code/modules/reagents/reagent_containers/patch.dm +++ b/code/modules/reagents/reagent_containers/patch.dm @@ -13,6 +13,8 @@ temperature_min = 270 temperature_max = 350 var/needs_to_apply_reagents = TRUE + var/application_zone = null + var/protection_on_apply = 1 /obj/item/reagent_containers/food/pill/patch/attack(mob/living/carbon/target, mob/living/user, params, def_zone, skip_attack_anim = FALSE) @@ -25,6 +27,10 @@ if(!target.eat(src, user) || !user.can_unEquip(src)) return . user.drop_transfer_item_to_loc(src, target) + var/mob/living/carbon/human/H = target + if(istype(H)) + protection_on_apply = H.get_permeability_protection_organ(target.get_organ(def_zone)) + application_zone = def_zone LAZYADD(target.processing_patches, src) return ATTACK_CHAIN_BLOCKED_ALL diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index d4f707bef43..f3e556d0bfc 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -232,6 +232,19 @@ qdel(src) +/obj/machinery/disposal/shove_impact(mob/living/target, mob/living/attacker) + target.visible_message( + span_warning("[attacker] shoves [target] inside of [src]!"), + span_userdanger("[attacker] shoves you inside of [src]!"), + span_warning("You hear the sound of something being thrown in the trash.") + ) + target.forceMove(src) + add_attack_logs(attacker, target, "Shoved into disposals") + playsound(src, "sound/effects/bang.ogg") + update() + return TRUE + + // mouse drop another mob or self // /obj/machinery/disposal/MouseDrop_T(mob/living/target, mob/living/user, params) diff --git a/code/modules/recycling/disposal/pipe.dm b/code/modules/recycling/disposal/pipe.dm index 745e0b63d68..0e12dfc9e8f 100644 --- a/code/modules/recycling/disposal/pipe.dm +++ b/code/modules/recycling/disposal/pipe.dm @@ -310,6 +310,9 @@ null_linked_refs() linked = null var/turf/our_turf = get_turf(src) + var/obj/machinery/customat/customat = locate() in our_turf + if(customat) + set_linked(customat) var/obj/machinery/disposal/disposal = locate() in our_turf if(disposal) set_linked(disposal) @@ -357,7 +360,11 @@ outlet.expel(holder) // expel at outlet else var/obj/machinery/disposal/disposal = linked - disposal.expel(holder) // expel at disposal + if(istype(disposal)) + disposal.expel(holder) // expel at disposal + else + var/obj/machinery/customat/customat = linked + customat.expel(holder) // expel at customat // Returning null without expelling holder makes the holder expell itself return null diff --git a/code/modules/research/designs/mechfabricator_designs.dm b/code/modules/research/designs/mechfabricator_designs.dm index e7f03f2bcf4..060f7660fe1 100644 --- a/code/modules/research/designs/mechfabricator_designs.dm +++ b/code/modules/research/designs/mechfabricator_designs.dm @@ -1107,7 +1107,7 @@ /datum/design/mech_scattershot_riot name = "Exosuit Non-lethal Weapon (LBX AC 9 \"Riot Scattershot\")" desc = "Allows for the construction of LBX AC 9." - id = "mech_scattershot" + id = "mech_scattershot_riot" build_type = MECHFAB req_tech = list("combat" = 3, "materials" = 3) build_path = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/scattershot/riot diff --git a/code/modules/research/designs/misc_designs.dm b/code/modules/research/designs/misc_designs.dm index e54786dd974..089cb6de111 100644 --- a/code/modules/research/designs/misc_designs.dm +++ b/code/modules/research/designs/misc_designs.dm @@ -141,3 +141,13 @@ reagents_list = list("firefighting_foam" = 1) build_path = /obj/item/extinguisher_refill category = list("Miscellaneous") + +/datum/design/customat_canister + name = "Customat Canister" + desc = "Канистра для Кастомата." + id = "customat_canister" + req_tech = list("programming" = 3) + build_type = PROTOLATHE + materials = list(MAT_METAL = 800, MAT_GLASS = 600) + build_path = /obj/item/vending_refill/custom + category = list("Miscellaneous") diff --git a/code/modules/response_team/ert.dm b/code/modules/response_team/ert.dm index 51e4e3cc4df..5ff39a32833 100644 --- a/code/modules/response_team/ert.dm +++ b/code/modules/response_team/ert.dm @@ -44,23 +44,27 @@ GLOBAL_VAR_INIT(ert_request_answered, FALSE) /mob/dead/observer/proc/JoinResponseTeam() if(!GLOB.send_emergency_team) - to_chat(src, "No emergency response team is currently being sent.") - return 0 + to_chat(src, span_warning("No emergency response team is currently being sent.")) + return FALSE if(jobban_isbanned(src, ROLE_ERT)) - to_chat(src, "You are jobbanned from playing on an emergency response team!") - return 0 + to_chat(src, span_warning("You are jobbanned from playing on an emergency response team!")) + return FALSE + + if(jobban_isbanned(src, JOB_TITLE_OFFICER) || jobban_isbanned(src, JOB_TITLE_CAPTAIN) || jobban_isbanned(src, JOB_TITLE_CYBORG)) + to_chat(src, span_warning("One of your jobbans forbids you from playing on an emergency response team!")) + return FALSE var/player_age_check = check_client_age(client, GLOB.responseteam_age) if(player_age_check && CONFIG_GET(flag/use_age_restriction_for_antags)) - to_chat(src, "This role is not yet available to you. You need to wait another [player_age_check] days.") - return 0 + to_chat(src, span_warning("This role is not yet available to you. You need to wait another [player_age_check] days.")) + return FALSE if(cannotPossess(src)) - to_chat(src, "Upon using the antagHUD you forfeited the ability to join the round.") - return 0 + to_chat(src, span_boldnotice("Upon using the antagHUD you forfeited the ability to join the round.")) + return FALSE - return 1 + return TRUE /proc/trigger_armed_response_team(datum/response_team/response_team_type, commander_slots, security_slots, medical_slots, engineering_slots, janitor_slots, paranormal_slots, cyborg_slots) GLOB.response_team_members = list() @@ -76,8 +80,6 @@ GLOBAL_VAR_INIT(ert_request_answered, FALSE) // Respawnable players get first dibs for(var/mob/dead/observer/M in ert_candidates) - if(jobban_isbanned(M, ROLE_TRAITOR) || jobban_isbanned(M, JOB_TITLE_OFFICER) || jobban_isbanned(M, JOB_TITLE_CAPTAIN) || jobban_isbanned(M, JOB_TITLE_CYBORG)) - continue if((M in GLOB.respawnable_list) && M.JoinResponseTeam()) GLOB.response_team_members |= M // If there's still open slots, non-respawnable players can fill them diff --git a/code/modules/shuttle/supply.dm b/code/modules/shuttle/supply.dm index 7d829f6a3e4..30990ecdf59 100644 --- a/code/modules/shuttle/supply.dm +++ b/code/modules/shuttle/supply.dm @@ -207,13 +207,15 @@ var/datum/tech/tech = disk.stored var/cost = tech.getCost(SSshuttle.techLevels[tech.id]) + if(tech.level >= 7) + SScapitalism.base_account.credit(7000, "Благодарность за вклад в науку.", "Nanotrasen Institute terminal#[rand(111,333)]", "Nanotrasen Institute") if(cost) SSshuttle.techLevels[tech.id] = tech.level for(var/mob/mob in GLOB.player_list) if(!mob.mind) continue for(var/datum/job_objective/further_research/objective in mob.mind.job_objectives) - objective.unit_completed(cost) + objective.unit_completed(round(cost / 3)) msg += "[tech.name] - new data.
" if(istype(MA, /obj/structure/closet/critter/mecha)) diff --git a/code/modules/station_goals/bluespace_tap.dm b/code/modules/station_goals/bluespace_tap.dm index 74190720c8e..2bd60158441 100644 --- a/code/modules/station_goals/bluespace_tap.dm +++ b/code/modules/station_goals/bluespace_tap.dm @@ -3,6 +3,7 @@ name = "Bluespace Harvester" var/goal = 25000 + /datum/station_goal/bluespace_tap/get_report() return {"Bluespace Harvester Experiment
Another research station has developed a device called a Bluespace Harvester. @@ -14,21 +15,29 @@
Nanotrasen Science Directorate"} + /datum/station_goal/bluespace_tap/on_report() var/datum/supply_packs/misc/station_goal/bluespace_tap/P = SSshuttle.supply_packs["[/datum/supply_packs/misc/station_goal/bluespace_tap]"] P.special_enabled = TRUE supply_list.Add(P) + +/datum/station_goal/bluespace_tap/proc/get_highscore() + . = 0 + + for(var/obj/machinery/power/bluespace_tap/harvester in GLOB.machines) + . = max(., harvester.total_points) + + /datum/station_goal/bluespace_tap/check_completion() - if(..()) - return TRUE - var/highscore = 0 - for(var/obj/machinery/power/bluespace_tap/T in GLOB.machines) - highscore = max(highscore, T.total_points) + return ..() || get_highscore() >= goal + + +/datum/station_goal/bluespace_tap/print_result() + ..() + var/highscore = get_highscore() to_chat(world, "Bluespace Harvester Highscore: [highscore >= goal ? "": ""][highscore]") - if(highscore >= goal) - return TRUE - return FALSE + //needed for the vending part of it /datum/data/bluespace_tap_product diff --git a/code/modules/station_goals/station_goal.dm b/code/modules/station_goals/station_goal.dm index f3c4c3ac37f..cfedaec5193 100644 --- a/code/modules/station_goals/station_goal.dm +++ b/code/modules/station_goals/station_goal.dm @@ -2,6 +2,7 @@ // Admin button to override with your own // Sabotage objective for tators // Multiple goals with less impact but more department focused +#define STATION_GOAL_DEFAULT_BOUNTY 30000 /datum/station_goal var/name = "Generic Goal" @@ -13,6 +14,15 @@ var/list/obj/item/paper/papers_list = list() var/list/datum/supply_packs/supply_list = list() + var/station_bounty = STATION_GOAL_DEFAULT_BOUNTY + var/list/personal_reward = list( + JOB_TITLE_ENGINEER = 1000, + JOB_TITLE_ENGINEER_TRAINEE = 1000, + JOB_TITLE_ATMOSTECH = 1000, + JOB_TITLE_MECHANIC = 1000, + JOB_TITLE_CHIEF = 1500 + ) + /datum/station_goal/proc/send_report() on_report() var/directive = "Nanotrasen Directive [pick(GLOB.phonetic_alphabet)] \Roman[rand(1,50)]" diff --git a/code/modules/surgery/bones.dm b/code/modules/surgery/bones.dm index 05feb3917c2..e43a7dc0514 100644 --- a/code/modules/surgery/bones.dm +++ b/code/modules/surgery/bones.dm @@ -138,7 +138,9 @@ //surgery steps /datum/surgery_step/glue_bone name = "mend bone" - + begin_sound = 'sound/surgery/bonegel.ogg' + end_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_BONEGEL = 100, TOOL_SCREWDRIVER = 90 @@ -201,7 +203,9 @@ /datum/surgery_step/set_bone name = "set bone" - + begin_sound = 'sound/surgery/bonesetter.ogg' + end_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_BONESET = 100, TOOL_WRENCH = 90 @@ -272,7 +276,9 @@ /datum/surgery_step/finish_bone name = "medicate bones" - + begin_sound = 'sound/surgery/bonegel.ogg' + end_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_BONEGEL = 100, TOOL_SCREWDRIVER = 90 diff --git a/code/modules/surgery/cavity_implant.dm b/code/modules/surgery/cavity_implant.dm index ed51a482a5d..9e4aa46748c 100644 --- a/code/modules/surgery/cavity_implant.dm +++ b/code/modules/surgery/cavity_implant.dm @@ -127,7 +127,7 @@ /datum/surgery_step/proxy/cavity_manipulation/robotic, /datum/surgery_step/robotics/external/close_hatch ) - possible_locs = list(BODY_ZONE_CHEST, BODY_ZONE_HEAD, BODY_ZONE_PRECISE_GROIN) + possible_locs = list(BODY_ZONE_HEAD, BODY_ZONE_CHEST, BODY_ZONE_PRECISE_GROIN) requires_organic_bodypart = FALSE /datum/surgery_step/proxy/cavity_manipulation @@ -148,7 +148,7 @@ ) /datum/surgery/intermediate/open_cavity - possible_locs = list(BODY_ZONE_CHEST, BODY_ZONE_HEAD) + possible_locs = list(BODY_ZONE_HEAD, BODY_ZONE_CHEST, BODY_ZONE_PRECISE_GROIN) /datum/surgery/intermediate/open_cavity/implant name = "implant object" @@ -211,6 +211,7 @@ /datum/surgery_step/cavity/make_space name = "make cavity space" + begin_sound = 'sound/surgery/surgicaldrill.ogg' allowed_tools = list( TOOL_DRILL = 100, /obj/item/screwdriver/power = 90, @@ -240,6 +241,8 @@ /datum/surgery_step/cavity/close_space name = "close cavity space" + begin_sound = 'sound/surgery/cautery2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser = 100, TOOL_CAUTERY = 100, @@ -271,6 +274,8 @@ /datum/surgery_step/cavity/remove_item name = "extract object" + begin_sound = 'sound/surgery/organ2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' accept_hand = TRUE /datum/surgery_step/cavity/remove_item/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery) @@ -316,6 +321,8 @@ /datum/surgery_step/cavity/place_item name = "implant object" + begin_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' accept_any_item = TRUE time = 3.2 SECONDS diff --git a/code/modules/surgery/core_removal.dm b/code/modules/surgery/core_removal.dm index 8d6f976dd26..6b14cddaed8 100644 --- a/code/modules/surgery/core_removal.dm +++ b/code/modules/surgery/core_removal.dm @@ -26,6 +26,9 @@ /datum/surgery_step/slime /datum/surgery_step/slime/cut_flesh + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_SCALPEL = 100, /obj/item/melee/energy/sword = 75, diff --git a/code/modules/surgery/encased.dm b/code/modules/surgery/encased.dm index 1ee84ea8eb4..77fd9e7a5f6 100644 --- a/code/modules/surgery/encased.dm +++ b/code/modules/surgery/encased.dm @@ -8,10 +8,16 @@ /datum/surgery_step/open_encased/saw name = "saw bone" + begin_sound = list( + TOOL_SAW = 'sound/surgery/saw1.ogg', + TOOL_WIRECUTTER = 'sound/surgery/scalpel1.ogg', + /obj/item/hatchet = 'sound/surgery/scalpel1.ogg', + ) + end_sound = 'sound/surgery/amputation.ogg' allowed_tools = list( TOOL_SAW = 100, /obj/item/hatchet = 90, - /obj/item/wirecutters = 70 + TOOL_WIRECUTTER = 70 ) time = 5.4 SECONDS @@ -55,6 +61,9 @@ /datum/surgery_step/open_encased/retract name = "retract bone" + begin_sound = 'sound/surgery/organ2.ogg' + end_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser/manager = 100, TOOL_RETRACTOR = 100, @@ -104,6 +113,9 @@ /datum/surgery_step/open_encased/close name = "unretract bone" //i suck at names okay? give me a new one + begin_sound = 'sound/surgery/organ2.ogg' + end_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser/manager = 100, TOOL_RETRACTOR = 100, @@ -150,6 +162,9 @@ /datum/surgery_step/open_encased/mend name = "mend bone" + begin_sound = 'sound/surgery/bonegel.ogg' + end_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_BONEGEL = 100, TOOL_SCREWDRIVER = 90 diff --git a/code/modules/surgery/generic.dm b/code/modules/surgery/generic.dm index bbdb7a3c3f8..d639b945111 100644 --- a/code/modules/surgery/generic.dm +++ b/code/modules/surgery/generic.dm @@ -8,7 +8,9 @@ /datum/surgery_step/generic/cut_open name = "make incision" - + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 90, @@ -54,7 +56,9 @@ /datum/surgery_step/generic/clamp_bleeders name = "clamp bleeders" - + begin_sound = 'sound/surgery/hemostat1.ogg' + end_sound = 'sound/surgery/hemostat2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_HEMOSTAT = 100, /obj/item/scalpel/laser = 100, @@ -65,7 +69,6 @@ time = 2.4 SECONDS - /datum/surgery_step/generic/clamp_bleeders/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery) var/obj/item/organ/external/affected = target.get_organ(target_zone) user.visible_message( @@ -98,7 +101,9 @@ /datum/surgery_step/generic/retract_skin name = "retract skin" - + begin_sound = 'sound/surgery/retractor1.ogg' + end_sound = 'sound/surgery/retractor2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_RETRACTOR = 100, /obj/item/scalpel/laser/manager = 100, @@ -152,9 +157,10 @@ return SURGERY_STEP_RETRY /datum/surgery_step/generic/cauterize - name = "cauterize incision" - + begin_sound = 'sound/surgery/cautery1.ogg' + end_sound = 'sound/surgery/cautery2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser = 100, TOOL_CAUTERY = 100, @@ -215,6 +221,8 @@ //drill bone /datum/surgery_step/generic/drill name = "drill bone" + begin_sound = 'sound/surgery/surgicaldrill.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_DRILL = 100, /obj/item/screwdriver/power = 80, @@ -250,7 +258,12 @@ /datum/surgery_step/generic/amputate name = "amputate limb" - + begin_sound = list( + TOOL_SAW = 'sound/surgery/saw1.ogg', + /obj/item/hatchet = 'sound/surgery/scalpel1.ogg', + /obj/item/melee/arm_blade = 'sound/surgery/scalpel1.ogg', + ) + end_sound = 'sound/surgery/amputation.ogg' allowed_tools = list( TOOL_SAW = 100, /obj/item/hatchet = 90, diff --git a/code/modules/surgery/implant_removal.dm b/code/modules/surgery/implant_removal.dm index 197a339a0d5..29bab88a60d 100644 --- a/code/modules/surgery/implant_removal.dm +++ b/code/modules/surgery/implant_removal.dm @@ -61,6 +61,8 @@ /datum/surgery_step/extract_implant name = "extract implant" + begin_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(TOOL_HEMOSTAT = 100, TOOL_CROWBAR = 65) time = 6.4 SECONDS repeatable = TRUE diff --git a/code/modules/surgery/limb_augmentation.dm b/code/modules/surgery/limb_augmentation.dm index 63c9ef46245..81ddb1f806d 100644 --- a/code/modules/surgery/limb_augmentation.dm +++ b/code/modules/surgery/limb_augmentation.dm @@ -30,6 +30,8 @@ /datum/surgery_step/augment name = "augment limb with robotic part" + begin_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(/obj/item/robot_parts = 100) time = 3.2 SECONDS diff --git a/code/modules/surgery/limb_reattach.dm b/code/modules/surgery/limb_reattach.dm index d3b76dbf973..84723906915 100644 --- a/code/modules/surgery/limb_reattach.dm +++ b/code/modules/surgery/limb_reattach.dm @@ -157,6 +157,8 @@ /datum/surgery_step/limb/attach name = "attach limb" + begin_sound = 'sound/surgery/organ2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(/obj/item/organ/external = 100) time = 3.2 SECONDS @@ -254,6 +256,9 @@ /datum/surgery_step/limb/connect name = "connect limb" + begin_sound = 'sound/surgery/hemostat1.ogg' + end_sound = 'sound/surgery/hemostat2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_HEMOSTAT = 100, /obj/item/stack/cable_coil = 90, diff --git a/code/modules/surgery/organs/blood.dm b/code/modules/surgery/organs/blood.dm index 359e70e225c..bc7b2659c91 100644 --- a/code/modules/surgery/organs/blood.dm +++ b/code/modules/surgery/organs/blood.dm @@ -119,7 +119,7 @@ // +2.5% chance per internal bleeding site that we'll cough up blood on a given tick. // Must be bleeding internally in more than one place to have a chance at this. if(amt >= 1 && prob(5 * amt)) - vomit(lost_nutrition = 10, blood = TRUE) + vomit(mode = VOMIT_BLOOD) /mob/living/carbon/human/bleed_internal(amt) diff --git a/code/modules/surgery/organs_internal.dm b/code/modules/surgery/organs_internal.dm index fc61d1ac281..77a40efd088 100644 --- a/code/modules/surgery/organs_internal.dm +++ b/code/modules/surgery/organs_internal.dm @@ -279,6 +279,9 @@ /datum/surgery_step/internal/manipulate_organs/mend name = "mend organs" + begin_sound = 'sound/surgery/bonegel.ogg' + end_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/stack/medical/bruise_pack/advanced = 100, /obj/item/stack/medical/bruise_pack = 20, @@ -384,6 +387,8 @@ /datum/surgery_step/internal/manipulate_organs/extract name = "extract organ" + begin_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_HEMOSTAT = 100, /obj/item/kitchen/utensil/fork = 70 @@ -492,6 +497,8 @@ /datum/surgery_step/internal/manipulate_organs/implant name = "implant an organ" + begin_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/organ/internal = 100, /obj/item/reagent_containers/food/snacks/organ = 0 // there for the flavor text @@ -587,6 +594,9 @@ /datum/surgery_step/internal/manipulate_organs/clean name = "clean and/or revive organs" + begin_sound = 'sound/surgery/bonegel.ogg' + end_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/reagent_containers/dropper = 100, /obj/item/reagent_containers/syringe = 100, @@ -735,6 +745,9 @@ // FINISH /datum/surgery_step/internal/manipulate_organs/finish name = "finish manipulation" + begin_sound = 'sound/surgery/retractor1.ogg' + end_sound = 'sound/surgery/retractor2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser/manager = 100, TOOL_RETRACTOR = 100, @@ -794,6 +807,8 @@ /datum/surgery_step/saw_carapace name = "saw carapace" + begin_sound = 'sound/surgery/saw1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_SAW = 100, /obj/item/melee/energy/sword/cyborg/saw = 100, @@ -803,7 +818,6 @@ time = 5.4 SECONDS - /datum/surgery_step/saw_carapace/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery) user.visible_message( @@ -830,6 +844,9 @@ /datum/surgery_step/cut_carapace name = "cut carapace" + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 90, @@ -872,7 +889,9 @@ /datum/surgery_step/retract_carapace name = "retract carapace" - + begin_sound = 'sound/surgery/retractor1.ogg' + end_sound = 'sound/surgery/retractor2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser/manager = 100, TOOL_RETRACTOR = 100, @@ -921,7 +940,9 @@ // redefine cauterize for every step because of course it relies on get_organ() /datum/surgery_step/generic/seal_carapace/ name = "seal carapace" - + begin_sound = 'sound/surgery/cautery1.ogg' + end_sound = 'sound/surgery/cautery2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( /obj/item/scalpel/laser = 100, TOOL_CAUTERY = 100, diff --git a/code/modules/surgery/other.dm b/code/modules/surgery/other.dm index 15af3a1dc4a..30d985f419b 100644 --- a/code/modules/surgery/other.dm +++ b/code/modules/surgery/other.dm @@ -161,6 +161,9 @@ /datum/surgery_step/fix_vein name = "mend internal bleeding" + begin_sound = 'sound/surgery/fixovein1.ogg' + end_sound = 'sound/surgery/hemostat1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_FIXOVEIN = 100, /obj/item/stack/cable_coil = 90, @@ -213,6 +216,9 @@ /datum/surgery_step/fix_dead_tissue //Debridement name = "remove dead tissue" + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list( TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 90, @@ -398,6 +404,7 @@ /datum/surgery_step/internal/dethrall name = "cleanse contamination" + begin_sound = 'sound/items/lighter/light.ogg' allowed_tools = list(/obj/item/flash = 100, /obj/item/flashlight/pen = 80, /obj/item/flashlight = 40) blood_level = SURGERY_BLOODSPREAD_NONE time = 3 SECONDS diff --git a/code/modules/surgery/plastic_surgery.dm b/code/modules/surgery/plastic_surgery.dm index 3874b45bee6..a5e165f6f77 100644 --- a/code/modules/surgery/plastic_surgery.dm +++ b/code/modules/surgery/plastic_surgery.dm @@ -13,6 +13,9 @@ /datum/surgery_step/reshape_face name = "reshape face" + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 50, /obj/item/wirecutters = 35) time = 6.4 SECONDS diff --git a/code/modules/surgery/remove_embedded_object.dm b/code/modules/surgery/remove_embedded_object.dm index 3830406125b..da2208229bb 100644 --- a/code/modules/surgery/remove_embedded_object.dm +++ b/code/modules/surgery/remove_embedded_object.dm @@ -43,6 +43,9 @@ /datum/surgery_step/remove_object name = "Remove Embedded Objects" + begin_sound = 'sound/surgery/organ1.ogg' + fail_sound = 'sound/effects/meatslap.ogg' + time = 3.2 SECONDS accept_hand = TRUE var/obj/item/organ/external/L = null diff --git a/code/modules/surgery/surgery.dm b/code/modules/surgery/surgery.dm index 574a0d2310f..ffdc4d7812c 100644 --- a/code/modules/surgery/surgery.dm +++ b/code/modules/surgery/surgery.dm @@ -198,6 +198,14 @@ /// How many times this step has been automatically repeated. var/times_repeated = 0 + /// Sound played when the step is started. It can be a list. Format if it is a list `path/tool_behaviour = 'sound path'`. + /// Pay attention to the sequence in the list. + var/begin_sound + /// Sound played if the step succeeded + var/end_sound + /// Sound played if the step fails + var/fail_sound + // evil infection stuff that will make everyone hate me /// Whether this surgery step can cause an infection. @@ -332,6 +340,8 @@ surgery.step_in_progress = FALSE return SURGERY_INITIATE_SUCCESS + play_begin_sound(user, target, tool) + if(tool) speed_mod = tool.toolspeed * user.get_actionspeed_by_category(DA_CAT_SURGERY) @@ -342,10 +352,7 @@ // They also have some interesting ways that surgery success/fail prob get evaluated, maybe worth looking at speed_mod /= (get_location_modifier(target) * 1 + surgery.speed_modifier) * implement_speed_mod - var/modded_time = time * speed_mod - - if(slowdown_immune(user)) - modded_time = time + var/modded_time = slowdown_immune(user) ? time : time * speed_mod if(implement_type) // If this is set, we aren't in an allow_hand or allow_any_item step. prob_success = allowed_tools[implement_type] @@ -363,8 +370,10 @@ if((prob(prob_success) || silicons_ignore_prob && isrobot(user)) && chem_check_result && !try_to_fail) step_result = end_step(user, target, target_zone, tool, surgery) + play_end_sound(user, target, tool) else step_result = fail_step(user, target, target_zone, tool, surgery) + play_fail_sound(user, target, tool) switch(step_result) if(SURGERY_STEP_CONTINUE) advance = TRUE @@ -454,6 +463,21 @@ H.bloody_body(target) return +/datum/surgery_step/proc/play_begin_sound(mob/living/user, mob/living/carbon/human/target, obj/item/tool) + if(!begin_sound) + return + + var/sound_file_use + if(islist(begin_sound)) + for(var/typepath in begin_sound) + if(istype(tool, typepath) || tool.tool_behaviour == typepath) + sound_file_use = begin_sound[typepath] + break + else + sound_file_use = begin_sound + + playsound(target, sound_file_use, 75, TRUE, falloff_exponent = 9, falloff_distance = 1, ignore_walls = FALSE) + /** * Finish a surgery step, performing anything that runs on the tail-end of a successful surgery. * This runs if the surgery step passes the probability check, and therefore is a success. @@ -463,6 +487,11 @@ /datum/surgery_step/proc/end_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery) return SURGERY_STEP_CONTINUE +/datum/surgery_step/proc/play_end_sound(mob/living/user, mob/living/carbon/human/target, obj/item/tool) + if(!end_sound) + return + playsound(target, end_sound, 75, TRUE, falloff_exponent = 9, falloff_distance = 1, ignore_walls = FALSE) + /** * Play out the failure state of a surgery step. * This runs if the surgery step fails the probability check, the right chems weren't present, or if the user deliberately failed the surgery. @@ -472,6 +501,11 @@ /datum/surgery_step/proc/fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery) return SURGERY_STEP_INCOMPLETE +/datum/surgery_step/proc/play_fail_sound(mob/living/user, mob/living/carbon/human/target, obj/item/tool) + if(!fail_sound) + return + playsound(target, fail_sound, 75, TRUE, falloff_exponent = 9, falloff_distance = 1, ignore_walls = FALSE) + /** * Get the action that will be performed during this surgery step, in context of the surgery it is a part of. * diff --git a/code/modules/surgery/vocal_cords_surgery.dm b/code/modules/surgery/vocal_cords_surgery.dm index 6c41a1f95a6..0148175a21b 100644 --- a/code/modules/surgery/vocal_cords_surgery.dm +++ b/code/modules/surgery/vocal_cords_surgery.dm @@ -25,6 +25,9 @@ /datum/surgery_step/tune_vocal_cords name = "tune vocal cords" + begin_sound = 'sound/surgery/scalpel1.ogg' + end_sound = 'sound/surgery/scalpel2.ogg' + fail_sound = 'sound/effects/meatslap.ogg' allowed_tools = list(TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 50, /obj/item/wirecutters = 35) time = 6.4 SECONDS var/target_vocal = "vocal cords" @@ -59,5 +62,7 @@ /datum/surgery_step/tune_vocal_cords/ipc name = "microphone setup" + begin_sound = 'sound/items/taperecorder/taperecorder_open.ogg' + end_sound = 'sound/items/taperecorder/taperecorder_close.ogg' allowed_tools = list(/obj/item/multitool = 100, /obj/item/screwdriver = 55, /obj/item/kitchen/knife = 20, TOOL_SCALPEL = 25) target_vocal = "microphone" diff --git a/code/modules/text_to_speech/_seed.dm b/code/modules/text_to_speech/_seed.dm index dcb9a5a0d70..3e2240258d2 100644 --- a/code/modules/text_to_speech/_seed.dm +++ b/code/modules/text_to_speech/_seed.dm @@ -43,6 +43,7 @@ #define TTS_CATEGORY_TLOU "The Last of Us" #define TTS_CATEGORY_DEEP_ROCK_GALACTIC "Deep Rock Galactic" #define TTS_CATEGORY_ALTGIRL "Альтушка для скуфа" +#define TTS_CATEGORY_WARHAMMER "Warhammer 40k" #define TTS_GENDER_ANY "Любой" #define TTS_GENDER_MALE "Мужской" diff --git a/code/modules/text_to_speech/seeds/silero.dm b/code/modules/text_to_speech/seeds/silero.dm index 1bdd41d2991..d171c0df9fe 100644 --- a/code/modules/text_to_speech/seeds/silero.dm +++ b/code/modules/text_to_speech/seeds/silero.dm @@ -5302,3 +5302,73 @@ category = TTS_CATEGORY_OTHER gender = TTS_GENDER_MALE donator_level = 1 + +/datum/tts_seed/silero/last_years_snow_man + name = "last_years_snow_man" + value = "last_years_snow_man" + category = TTS_CATEGORY_OTHER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_titus + name = "Titus" + value = "marine2_titus" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_berserk + name = "Berserk" + value = "marine2_berserk" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_gadriel + name = "Gadriel" + value = "marine2_gadriel" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_chairon + name = "Chairon" + value = "marine2_chairon" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_acheran + name = "Acheran" + value = "marine2_acheran" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_machine_spirit_4 + name = "Machine_spirit_4" + value = "marine2_machine_spirit_4" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_FEMALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_magos_galeo + name = "Magos_galeo" + value = "marine2_magos_galeo" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_servo_skull + name = "Servo-skull" + value = "marine2_servo-skull" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 + +/datum/tts_seed/silero/marine2_balthazar + name = "Balthazar" + value = "marine2_balthazar" + category = TTS_CATEGORY_WARHAMMER + gender = TTS_GENDER_MALE + donator_level = 1 diff --git a/code/modules/tgui/states.dm b/code/modules/tgui/states.dm index cb79ab85189..6e35b29cb2e 100644 --- a/code/modules/tgui/states.dm +++ b/code/modules/tgui/states.dm @@ -34,9 +34,13 @@ . = max(., UI_UPDATE) // Check if the state allows interaction - var/result = state.can_use_topic(src_object, user) + var/result = state.can_use_topic(src_object, user, state.ui_source) . = max(., result) + +/datum/ui_state + var/atom/ui_source = null + /** * private * @@ -48,7 +52,7 @@ * * return UI_state The state of the UI. */ -/datum/ui_state/proc/can_use_topic(src_object, mob/user) +/datum/ui_state/proc/can_use_topic(src_object, mob/user, atom/ui_source) // Don't allow interaction by default. return UI_CLOSE diff --git a/code/modules/tgui/states/admin.dm b/code/modules/tgui/states/admin.dm index 61fc3731188..b9a8842ce1d 100644 --- a/code/modules/tgui/states/admin.dm +++ b/code/modules/tgui/states/admin.dm @@ -6,7 +6,7 @@ GLOBAL_DATUM_INIT(admin_state, /datum/ui_state/admin_state, new) -/datum/ui_state/admin_state/can_use_topic(src_object, mob/user) +/datum/ui_state/admin_state/can_use_topic(src_object, mob/user, atom/ui_source) if(check_rights_for(user.client, R_ADMIN)) return UI_INTERACTIVE return UI_CLOSE diff --git a/code/modules/tgui/states/always.dm b/code/modules/tgui/states/always.dm index 2406dbb2b9b..dba928cff3e 100644 --- a/code/modules/tgui/states/always.dm +++ b/code/modules/tgui/states/always.dm @@ -11,5 +11,5 @@ GLOBAL_DATUM_INIT(always_state, /datum/ui_state/always_state, new) -/datum/ui_state/always_state/can_use_topic(src_object, mob/user) +/datum/ui_state/always_state/can_use_topic(src_object, mob/user, atom/ui_source) return UI_INTERACTIVE diff --git a/code/modules/tgui/states/conscious.dm b/code/modules/tgui/states/conscious.dm index 8e35a97da32..e4123d5a3d2 100644 --- a/code/modules/tgui/states/conscious.dm +++ b/code/modules/tgui/states/conscious.dm @@ -11,7 +11,7 @@ GLOBAL_DATUM_INIT(conscious_state, /datum/ui_state/conscious_state, new) -/datum/ui_state/conscious_state/can_use_topic(src_object, mob/user) +/datum/ui_state/conscious_state/can_use_topic(src_object, mob/user, atom/ui_source) if(user.stat == CONSCIOUS) return UI_INTERACTIVE return UI_CLOSE diff --git a/code/modules/tgui/states/contained.dm b/code/modules/tgui/states/contained.dm index 98187b746e0..f209a0492af 100644 --- a/code/modules/tgui/states/contained.dm +++ b/code/modules/tgui/states/contained.dm @@ -11,7 +11,7 @@ GLOBAL_DATUM_INIT(contained_state, /datum/ui_state/contained_state, new) -/datum/ui_state/contained_state/can_use_topic(atom/src_object, mob/user) +/datum/ui_state/contained_state/can_use_topic(atom/src_object, mob/user, atom/ui_source) if(!src_object.contains(user)) return UI_CLOSE return user.shared_ui_interaction(src_object) diff --git a/code/modules/tgui/states/deep_inventory.dm b/code/modules/tgui/states/deep_inventory.dm index a7351a0d2d9..c5dec2a147f 100644 --- a/code/modules/tgui/states/deep_inventory.dm +++ b/code/modules/tgui/states/deep_inventory.dm @@ -12,7 +12,7 @@ GLOBAL_DATUM_INIT(deep_inventory_state, /datum/ui_state/deep_inventory_state, new) -/datum/ui_state/deep_inventory_state/can_use_topic(src_object, mob/user) +/datum/ui_state/deep_inventory_state/can_use_topic(src_object, mob/user, atom/ui_source) if(!user.contains(src_object)) return UI_CLOSE return user.shared_ui_interaction(src_object) diff --git a/code/modules/tgui/states/default.dm b/code/modules/tgui/states/default.dm index 9a3f1457e8f..3da0c549eb8 100644 --- a/code/modules/tgui/states/default.dm +++ b/code/modules/tgui/states/default.dm @@ -10,7 +10,7 @@ GLOBAL_DATUM_INIT(default_state, /datum/ui_state/default, new) -/datum/ui_state/default/can_use_topic(src_object, mob/user) +/datum/ui_state/default/can_use_topic(src_object, mob/user, atom/ui_source) return user.default_can_use_topic(src_object) // Call the individual mob-overridden procs. /mob/proc/default_can_use_topic(src_object) diff --git a/code/modules/tgui/states/hands.dm b/code/modules/tgui/states/hands.dm index 84ec33dc190..5696d4b6e20 100644 --- a/code/modules/tgui/states/hands.dm +++ b/code/modules/tgui/states/hands.dm @@ -11,27 +11,27 @@ GLOBAL_DATUM_INIT(hands_state, /datum/ui_state/hands_state, new) -/datum/ui_state/hands_state/can_use_topic(src_object, mob/user) +/datum/ui_state/hands_state/can_use_topic(src_object, mob/user, atom/ui_source) . = user.shared_ui_interaction(src_object) if(. > UI_CLOSE) - return min(., user.hands_can_use_topic(src_object)) + return min(., user.hands_can_use_topic(ui_source ? ui_source : src_object)) -/mob/proc/hands_can_use_topic(src_object) +/mob/proc/hands_can_use_topic(ui_source) return UI_CLOSE -/mob/living/hands_can_use_topic(src_object) +/mob/living/hands_can_use_topic(ui_source) if(HAS_TRAIT(src, TRAIT_HANDS_BLOCKED)) return UI_CLOSE - if(is_in_active_hand(src_object) || is_in_inactive_hand(src_object)) + if(is_in_active_hand(ui_source) || is_in_inactive_hand(ui_source)) return UI_INTERACTIVE return UI_CLOSE -/mob/living/silicon/robot/hands_can_use_topic(src_object) +/mob/living/silicon/robot/hands_can_use_topic(ui_source) if(HAS_TRAIT(src, TRAIT_HANDS_BLOCKED)) return UI_CLOSE - if(activated(src_object)) + if(activated(ui_source)) return UI_INTERACTIVE return UI_CLOSE -/mob/living/simple_animal/revenant/hands_can_use_topic(src_object) +/mob/living/simple_animal/revenant/hands_can_use_topic(ui_source) return UI_UPDATE diff --git a/code/modules/tgui/states/human_adjacent.dm b/code/modules/tgui/states/human_adjacent.dm index b9208f96cd6..ef71fcdba7a 100644 --- a/code/modules/tgui/states/human_adjacent.dm +++ b/code/modules/tgui/states/human_adjacent.dm @@ -12,7 +12,7 @@ GLOBAL_DATUM_INIT(human_adjacent_state, /datum/ui_state/human_adjacent_state, new) -/datum/ui_state/human_adjacent_state/can_use_topic(src_object, mob/user) +/datum/ui_state/human_adjacent_state/can_use_topic(src_object, mob/user, atom/ui_source) . = user.default_can_use_topic(src_object) var/dist = get_dist(src_object, user) diff --git a/code/modules/tgui/states/inventory.dm b/code/modules/tgui/states/inventory.dm index 7c4002b6c7d..d4ee6c8de02 100644 --- a/code/modules/tgui/states/inventory.dm +++ b/code/modules/tgui/states/inventory.dm @@ -6,7 +6,7 @@ GLOBAL_DATUM_INIT(inventory_state, /datum/ui_state/inventory_state, new) -/datum/ui_state/inventory_state/can_use_topic(src_object, mob/user) +/datum/ui_state/inventory_state/can_use_topic(src_object, mob/user, atom/ui_source) if(!(src_object in user)) if(issilicon(user)) var/mob/living/silicon/robot/R = user diff --git a/code/modules/tgui/states/not_incapacitated.dm b/code/modules/tgui/states/not_incapacitated.dm index f7278c86de4..e20409e81b8 100644 --- a/code/modules/tgui/states/not_incapacitated.dm +++ b/code/modules/tgui/states/not_incapacitated.dm @@ -26,7 +26,7 @@ GLOBAL_DATUM_INIT(not_incapacitated_turf_state, /datum/ui_state/not_incapacitate ..() turf_check = no_turfs -/datum/ui_state/not_incapacitated_state/can_use_topic(src_object, mob/user) +/datum/ui_state/not_incapacitated_state/can_use_topic(src_object, mob/user, atom/ui_source) if(user.stat != CONSCIOUS) return UI_CLOSE if(HAS_TRAIT(src, TRAIT_UI_BLOCKED) || user.incapacitated() || (turf_check && !isturf(user.loc))) diff --git a/code/modules/tgui/states/notcontained.dm b/code/modules/tgui/states/notcontained.dm index 5fd79a68848..96c4e7b9919 100644 --- a/code/modules/tgui/states/notcontained.dm +++ b/code/modules/tgui/states/notcontained.dm @@ -13,7 +13,7 @@ GLOBAL_DATUM_INIT(notcontained_state, /datum/ui_state/notcontained_state, new) -/datum/ui_state/notcontained_state/can_use_topic(atom/src_object, mob/user) +/datum/ui_state/notcontained_state/can_use_topic(atom/src_object, mob/user, atom/ui_source) . = user.shared_ui_interaction(src_object) if(. > UI_CLOSE) return min(., user.notcontained_can_use_topic(src_object)) diff --git a/code/modules/tgui/states/observer.dm b/code/modules/tgui/states/observer.dm index 5028834c9e1..dacade83d6b 100644 --- a/code/modules/tgui/states/observer.dm +++ b/code/modules/tgui/states/observer.dm @@ -6,7 +6,7 @@ GLOBAL_DATUM_INIT(observer_state, /datum/ui_state/observer_state, new) -/datum/ui_state/observer_state/can_use_topic(src_object, mob/user) +/datum/ui_state/observer_state/can_use_topic(src_object, mob/user, atom/ui_source) if(isobserver(user)) return UI_INTERACTIVE if(check_rights(R_ADMIN, 0, src)) diff --git a/code/modules/tgui/states/physical.dm b/code/modules/tgui/states/physical.dm index 362e4ecd000..e9c7d604721 100644 --- a/code/modules/tgui/states/physical.dm +++ b/code/modules/tgui/states/physical.dm @@ -11,7 +11,7 @@ GLOBAL_DATUM_INIT(physical_state, /datum/ui_state/physical, new) -/datum/ui_state/physical/can_use_topic(src_object, mob/user) +/datum/ui_state/physical/can_use_topic(src_object, mob/user, atom/ui_source) . = user.shared_ui_interaction(src_object) if(. > UI_CLOSE) return min(., user.physical_can_use_topic(src_object)) @@ -42,7 +42,7 @@ GLOBAL_DATUM_INIT(physical_state, /datum/ui_state/physical, new) GLOBAL_DATUM_INIT(physical_obscured_state, /datum/ui_state/physical_obscured_state, new) -/datum/ui_state/physical_obscured_state/can_use_topic(src_object, mob/user) +/datum/ui_state/physical_obscured_state/can_use_topic(src_object, mob/user, atom/ui_source) . = user.shared_ui_interaction(src_object) if(. > UI_CLOSE) return min(., user.physical_obscured_can_use_topic(src_object)) diff --git a/code/modules/tgui/states/self.dm b/code/modules/tgui/states/self.dm index f7cef3f6005..bf8f3c70554 100644 --- a/code/modules/tgui/states/self.dm +++ b/code/modules/tgui/states/self.dm @@ -11,7 +11,7 @@ GLOBAL_DATUM_INIT(self_state, /datum/ui_state/self_state, new) -/datum/ui_state/self_state/can_use_topic(src_object, mob/user) +/datum/ui_state/self_state/can_use_topic(src_object, mob/user, atom/ui_source) if(src_object != user) return UI_CLOSE return user.shared_ui_interaction(src_object) diff --git a/code/modules/tgui/states/strippable_state.dm b/code/modules/tgui/states/strippable_state.dm index 581ce058046..e1337970fd9 100644 --- a/code/modules/tgui/states/strippable_state.dm +++ b/code/modules/tgui/states/strippable_state.dm @@ -7,7 +7,7 @@ GLOBAL_DATUM_INIT(strippable_state, /datum/ui_state/strippable_state, new) -/datum/ui_state/strippable_state/can_use_topic(src_object, mob/user) +/datum/ui_state/strippable_state/can_use_topic(src_object, mob/user, atom/ui_source) if(!ismob(src_object)) return UI_CLOSE . = user.default_can_use_topic(src_object) diff --git a/code/modules/tgui/states/zlevel.dm b/code/modules/tgui/states/zlevel.dm index 5e3ccfb7de2..80db21fef81 100644 --- a/code/modules/tgui/states/zlevel.dm +++ b/code/modules/tgui/states/zlevel.dm @@ -6,7 +6,7 @@ GLOBAL_DATUM_INIT(z_state, /datum/ui_state/z_state, new) -/datum/ui_state/z_state/can_use_topic(src_object, mob/user) +/datum/ui_state/z_state/can_use_topic(src_object, mob/user, atom/ui_source) var/turf/turf_obj = get_turf(src_object) var/turf/turf_usr = get_turf(user) if(turf_obj && turf_usr && turf_obj.z == turf_usr.z) diff --git a/code/modules/tgui/tgui_input/number_input.dm b/code/modules/tgui/tgui_input/number_input.dm index 5afa06d6516..b9dad2677b4 100644 --- a/code/modules/tgui/tgui_input/number_input.dm +++ b/code/modules/tgui/tgui_input/number_input.dm @@ -15,7 +15,7 @@ * * timeout - The timeout of the number input, after which the modal will close and qdel itself. Set to zero for no timeout. * * round_value - whether the inputted number is rounded down into an integer. */ -/proc/tgui_input_number(mob/user, message, title = "Number Input", default = 0, max_value = 10000, min_value = 0, timeout = 0, round_value = TRUE, ui_state = GLOB.always_state) +/proc/tgui_input_number(mob/user, message, title = "Number Input", default = 0, max_value = 10000, min_value = 0, timeout = 0, round_value = TRUE, ui_state = GLOB.always_state, ui_source = null) if(!user) user = usr @@ -33,7 +33,7 @@ var/input_number = input(user, message, title, default) as null|num return clamp(round_value ? round(input_number) : input_number, min_value, max_value) - var/datum/tgui_input_number/number_input = new(user, message, title, default, max_value, min_value, timeout, round_value, ui_state) + var/datum/tgui_input_number/number_input = new(user, message, title, default, max_value, min_value, timeout, round_value, ui_state, ui_source, ui_source) number_input.ui_interact(user) number_input.wait() @@ -73,14 +73,15 @@ /// The TGUI UI state that will be returned in ui_state(). Default: always_state var/datum/ui_state/state -/datum/tgui_input_number/New(mob/user, message, title, default, max_value, min_value, timeout, round_value, ui_state) +/datum/tgui_input_number/New(mob/user, message, title, default, max_value, min_value, timeout, round_value, datum/ui_state, ui_source) src.default = default src.max_value = max_value src.message = message src.min_value = min_value src.title = title src.round_value = round_value - src.state = ui_state + src.state = new ui_state.type() + src.state.ui_source = ui_source if(timeout) src.timeout = timeout diff --git a/dreamchecker.exe b/dreamchecker.exe index 2fa602138fd..b1fbfc6c292 100644 Binary files a/dreamchecker.exe and b/dreamchecker.exe differ diff --git a/html/changelogs/archive/2024-09.yml b/html/changelogs/archive/2024-09.yml index b8d8ed0c2b9..7314b7c6d9d 100644 --- a/html/changelogs/archive/2024-09.yml +++ b/html/changelogs/archive/2024-09.yml @@ -137,3 +137,50 @@ - bugfix: fix name laser surgery tools (#5942) PiroMage: - add: New Station "Nova" (#5461) +'2024-09-26': + Antoonij: + - bugfix: runtimes and implanter fix (#5947) + Den109G: + - add: Flipping helper (#5935) + NuSanya: + - add: riot scattershot, pointblank mech shooting, pointblank bugfix [bounty] (#5916) +'2024-09-27': + Arc: + - unknown: surgical belts for medic (#5945) + Honker9999999: + - add: combat drones for traitors (#5906) + Mahimka42: + - add: new AI sprite - HAL900 (#5928) + Sheya: + - add: fake blindfold (#5943) + SyndiCat: + - bugfix: detective's access to the shuttle (#5936) + Valtor: + - bugfix: racial loadout (#5939) + pilygun: + - qol: Перевод + балун алерты для часто применимых статус эффектов. (#5934) +'2024-09-28': + Daeberdir: + - bugfix: Mapfixes. (#5905) + Den109G: + - bugfix: Now you can sit on chairs near walls. (#5953) + LiquidPotroh: + - add: Touch reaction now depends on the protection (#5880) + NightDawnFox: + - add: new shoves impact + brand intelligence tweaks (#5608) + - balance: projectiles once again can hit crawling people by default. (#5956) + - balance: fake insulated gloves now can be recognized only in close range (#5954) + PiroMage: + - bugfix: 'Nova Station #1 Patch (#5952)' + chomasuke: + - add: Add surgery sounds (#5937) + pilygun: + - add: Updates to the Dormitories prize slot machine + перевод (#5829) +'2024-09-29': + KA8EP: + - add: New Space Ruin (#5577) + LiquidPotroh: + - bugfix: protection in touch reaction only (#5959) +'2024-09-30': + NightDawnFox: + - balance: pain hunter is now excluded from antagonist objectives (#5955) diff --git a/html/changelogs/archive/2024-10.yml b/html/changelogs/archive/2024-10.yml new file mode 100644 index 00000000000..0cce3205b88 --- /dev/null +++ b/html/changelogs/archive/2024-10.yml @@ -0,0 +1,57 @@ +'2024-10-01': + Daeberdir: + - imageadd: 'Tajaran body resprite. && add: New tajaran haircuts. (#5676)' + L343-CJ: + - bugfix: prizecounter fix (#5964) + NoName: + - add: RD doll (#5963) + Valtor: + - bugfix: donor loadout (#5965) + Vladisvell: + - bugfix: Fixed titlescreen runtime (#5969) + dageavtobusnick: + - tweak: Traitor job ban not affect ert (#5966) + - unknown: goon vampire and new vampire now has common code (#5604) +'2024-10-03': + Antoonij: + - add: Borer ranks, focuses (#5774) + - bugfix: runtime null.controlling (#5972) + Pelmenik123: + - bugfix: bluespace_tap (#5973) + PiroMage: + - bugfix: 'Nova Station #2 Patch (#5962)' + dageavtobusnick: + - unknown: сentcomm rapier (#5924) +'2024-10-04': + L343-CJ: + - balance: Nerf ashwalkers speedmod (#5977) +'2024-10-05': + Anorak2020: + - add: Emag opens uplinks (#5892) + - add: Customat (#5849) + Antoonij: + - add: borer host force say (#5775) + - add: Revenant blight | ectoplasmic disease | sin update (#5644) + Aziz Chynaliev: + - add: new 10 TTS voices from Warhammer 40k (9) and Last Years Snow Man (1) + Daeberdir: + - bugfix: turret protection map and initialize fix. (#5974) + Kray1k: + - bugfix: devil revive contract, spell targeting fix & gravemarker rename fix (#5907) + LiquidPotroh: + - tweak: TOUCH reaction tweaks (#5975) + Mahimka42: + - bugfix: Minor flower fixes (#5979) + Pelmenik123: + - add: Capitalism (#5958) + - add: npc pun pun [bounty] (#5970) + PiroMage: + - bugfix: 'Nova Station #3 Patch (#5982)' + RamleyDude: + - tweak: cqc kick (#5885) + Sheya: + - unknown: inhand sprites, colourable blindfolds (#5957) + dageavtobusnick: + - bugfix: vampires now spend blood on cast (#5978) + - tweak: some blob small tweaks (#5772) + - bugfix: fix tilted vending machine help intent runtime (#5980) diff --git a/icons/effects/species.dmi b/icons/effects/species.dmi index 8c837b0e546..7a7dc36cfb0 100644 Binary files a/icons/effects/species.dmi and b/icons/effects/species.dmi differ diff --git a/icons/mob/bees.dmi b/icons/mob/bees.dmi index 5d9bfea48b6..1d7ddc70ef0 100644 Binary files a/icons/mob/bees.dmi and b/icons/mob/bees.dmi differ diff --git a/icons/mob/carp.dmi b/icons/mob/carp.dmi index 5b6138ee99a..cafb2061483 100644 Binary files a/icons/mob/carp.dmi and b/icons/mob/carp.dmi differ diff --git a/icons/mob/clothing/belt.dmi b/icons/mob/clothing/belt.dmi index 97ce3b7021c..6820c77b78d 100644 Binary files a/icons/mob/clothing/belt.dmi and b/icons/mob/clothing/belt.dmi differ diff --git a/icons/mob/clothing/body_accessory.dmi b/icons/mob/clothing/body_accessory.dmi index 7f07591cea7..e79c0a12143 100644 Binary files a/icons/mob/clothing/body_accessory.dmi and b/icons/mob/clothing/body_accessory.dmi differ diff --git a/icons/mob/clothing/eyes.dmi b/icons/mob/clothing/eyes.dmi index eca957027f0..5658362de98 100644 Binary files a/icons/mob/clothing/eyes.dmi and b/icons/mob/clothing/eyes.dmi differ diff --git a/icons/mob/clothing/species/drask/eyes.dmi b/icons/mob/clothing/species/drask/eyes.dmi index a676b179087..60a461bc9f1 100644 Binary files a/icons/mob/clothing/species/drask/eyes.dmi and b/icons/mob/clothing/species/drask/eyes.dmi differ diff --git a/icons/mob/clothing/species/grey/eyes.dmi b/icons/mob/clothing/species/grey/eyes.dmi index 82d003246ad..06aff6f9fc6 100644 Binary files a/icons/mob/clothing/species/grey/eyes.dmi and b/icons/mob/clothing/species/grey/eyes.dmi differ diff --git a/icons/mob/clothing/species/monkey/eyes.dmi b/icons/mob/clothing/species/monkey/eyes.dmi index b7e20cbaed5..e93142f8d2d 100644 Binary files a/icons/mob/clothing/species/monkey/eyes.dmi and b/icons/mob/clothing/species/monkey/eyes.dmi differ diff --git a/icons/mob/clothing/species/tajaran/helmet.dmi b/icons/mob/clothing/species/tajaran/helmet.dmi index 1d974b7d83b..5f0bdc7da30 100644 Binary files a/icons/mob/clothing/species/tajaran/helmet.dmi and b/icons/mob/clothing/species/tajaran/helmet.dmi differ diff --git a/icons/mob/clothing/species/tajaran/underwear.dmi b/icons/mob/clothing/species/tajaran/underwear.dmi new file mode 100644 index 00000000000..7840190c6a6 Binary files /dev/null and b/icons/mob/clothing/species/tajaran/underwear.dmi differ diff --git a/icons/mob/clothing/species/vox/eyes.dmi b/icons/mob/clothing/species/vox/eyes.dmi index 20aefc08055..ef2956b1e80 100644 Binary files a/icons/mob/clothing/species/vox/eyes.dmi and b/icons/mob/clothing/species/vox/eyes.dmi differ diff --git a/icons/mob/human_races/r_def_tajaran.dmi b/icons/mob/human_races/r_def_tajaran.dmi index e62f4228fc6..8644eb1e42d 100644 Binary files a/icons/mob/human_races/r_def_tajaran.dmi and b/icons/mob/human_races/r_def_tajaran.dmi differ diff --git a/icons/mob/human_races/r_tajaran.dmi b/icons/mob/human_races/r_tajaran.dmi index 0d0a8e96a4b..21461e03f43 100644 Binary files a/icons/mob/human_races/r_tajaran.dmi and b/icons/mob/human_races/r_tajaran.dmi differ diff --git a/icons/mob/inhands/clothing_lefthand.dmi b/icons/mob/inhands/clothing_lefthand.dmi index 3aec15fa54b..728d3772e28 100644 Binary files a/icons/mob/inhands/clothing_lefthand.dmi and b/icons/mob/inhands/clothing_lefthand.dmi differ diff --git a/icons/mob/inhands/clothing_righthand.dmi b/icons/mob/inhands/clothing_righthand.dmi index d226a3b6eaa..e9e11c283ba 100644 Binary files a/icons/mob/inhands/clothing_righthand.dmi and b/icons/mob/inhands/clothing_righthand.dmi differ diff --git a/icons/mob/inhands/equipment/belt_lefthand.dmi b/icons/mob/inhands/equipment/belt_lefthand.dmi index 82236de0892..50a169099a2 100644 Binary files a/icons/mob/inhands/equipment/belt_lefthand.dmi and b/icons/mob/inhands/equipment/belt_lefthand.dmi differ diff --git a/icons/mob/inhands/equipment/belt_righthand.dmi b/icons/mob/inhands/equipment/belt_righthand.dmi index b33914100a4..6dda06c470a 100644 Binary files a/icons/mob/inhands/equipment/belt_righthand.dmi and b/icons/mob/inhands/equipment/belt_righthand.dmi differ diff --git a/icons/mob/inhands/items_lefthand.dmi b/icons/mob/inhands/items_lefthand.dmi index be953a23bbc..e7deaa3694c 100755 Binary files a/icons/mob/inhands/items_lefthand.dmi and b/icons/mob/inhands/items_lefthand.dmi differ diff --git a/icons/mob/inhands/items_righthand.dmi b/icons/mob/inhands/items_righthand.dmi index 6377ce30992..18c368652c1 100755 Binary files a/icons/mob/inhands/items_righthand.dmi and b/icons/mob/inhands/items_righthand.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_body_markings.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_body_markings.dmi index 799d2d7a72f..f42fac21aa9 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_body_markings.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_body_markings.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_facial_hair.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_facial_hair.dmi index b584b6fa8fd..7b30772d60f 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_facial_hair.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_facial_hair.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_hair.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_hair.dmi index ef9a29a2f33..60d2b975782 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_hair.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_hair.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_head_accessories.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_head_accessories.dmi index 1d62570f0f7..8850545dffb 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_head_accessories.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_head_accessories.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_head_markings.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_head_markings.dmi index fe9b6af8972..95cd37455da 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_head_markings.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_head_markings.dmi differ diff --git a/icons/mob/sprite_accessories/tajaran/tajaran_tail_markings.dmi b/icons/mob/sprite_accessories/tajaran/tajaran_tail_markings.dmi index 4a6091e65c7..f1bb297ea0f 100644 Binary files a/icons/mob/sprite_accessories/tajaran/tajaran_tail_markings.dmi and b/icons/mob/sprite_accessories/tajaran/tajaran_tail_markings.dmi differ diff --git a/icons/obj/closet.dmi b/icons/obj/closet.dmi index c80184bda4f..36e765f371c 100644 Binary files a/icons/obj/closet.dmi and b/icons/obj/closet.dmi differ diff --git a/icons/obj/clothing/belts.dmi b/icons/obj/clothing/belts.dmi index 6d52d2f74dc..a35a3952dbc 100644 Binary files a/icons/obj/clothing/belts.dmi and b/icons/obj/clothing/belts.dmi differ diff --git a/icons/obj/clothing/glasses.dmi b/icons/obj/clothing/glasses.dmi index 0532b6b5b14..5bec0611313 100644 Binary files a/icons/obj/clothing/glasses.dmi and b/icons/obj/clothing/glasses.dmi differ diff --git a/icons/obj/contraband.dmi b/icons/obj/contraband.dmi index 1219556ae9f..c58244045d7 100644 Binary files a/icons/obj/contraband.dmi and b/icons/obj/contraband.dmi differ diff --git a/icons/obj/decals.dmi b/icons/obj/decals.dmi index c45a4abd792..a6072426b39 100644 Binary files a/icons/obj/decals.dmi and b/icons/obj/decals.dmi differ diff --git a/icons/obj/hydroponics/harvest.dmi b/icons/obj/hydroponics/harvest.dmi index 46f80c4e756..60cb890cc4a 100644 Binary files a/icons/obj/hydroponics/harvest.dmi and b/icons/obj/hydroponics/harvest.dmi differ diff --git a/icons/obj/items.dmi b/icons/obj/items.dmi index 12b434271ad..886b6f3fd37 100644 Binary files a/icons/obj/items.dmi and b/icons/obj/items.dmi differ diff --git a/icons/obj/machines/customat.dmi b/icons/obj/machines/customat.dmi new file mode 100644 index 00000000000..d692dd21141 Binary files /dev/null and b/icons/obj/machines/customat.dmi differ diff --git a/icons/obj/statuelarge.dmi b/icons/obj/statuelarge.dmi index 095d5266cff..413e44818aa 100644 Binary files a/icons/obj/statuelarge.dmi and b/icons/obj/statuelarge.dmi differ diff --git a/icons/obj/tiles.dmi b/icons/obj/tiles.dmi index 61a545a4f5d..2a5da629c17 100644 Binary files a/icons/obj/tiles.dmi and b/icons/obj/tiles.dmi differ diff --git a/icons/obj/toy.dmi b/icons/obj/toy.dmi index bb57ac43aff..8bccad265da 100644 Binary files a/icons/obj/toy.dmi and b/icons/obj/toy.dmi differ diff --git a/icons/obj/weapons/energy.dmi b/icons/obj/weapons/energy.dmi index a9f19c63292..459a68a74cc 100644 Binary files a/icons/obj/weapons/energy.dmi and b/icons/obj/weapons/energy.dmi differ diff --git a/icons/obj/weapons/grenade.dmi b/icons/obj/weapons/grenade.dmi index 8b01242a9e2..9370f9bf72a 100644 Binary files a/icons/obj/weapons/grenade.dmi and b/icons/obj/weapons/grenade.dmi differ diff --git a/icons/obj/weapons/projectiles.dmi b/icons/obj/weapons/projectiles.dmi index 005c51dade9..f87070e2238 100644 Binary files a/icons/obj/weapons/projectiles.dmi and b/icons/obj/weapons/projectiles.dmi differ diff --git a/icons/turf/floors.dmi b/icons/turf/floors.dmi index 66d611397a9..295763e04ff 100644 Binary files a/icons/turf/floors.dmi and b/icons/turf/floors.dmi differ diff --git a/paradise.dme b/paradise.dme index 6393e1edbc1..695ca69d353 100644 --- a/paradise.dme +++ b/paradise.dme @@ -37,6 +37,7 @@ #include "code\__DEFINES\atmospherics.dm" #include "code\__DEFINES\blend_modes.dm" #include "code\__DEFINES\blob.dm" +#include "code\__DEFINES\borer.dm" #include "code\__DEFINES\bots.dm" #include "code\__DEFINES\rituals.dm" #include "code\__DEFINES\byond_tracy.dm" @@ -290,6 +291,7 @@ #include "code\controllers\subsystem\air.dm" #include "code\controllers\subsystem\ambience.dm" #include "code\controllers\subsystem\asset_loading.dm" +#include "code\controllers\subsystem\capitalism.dm" #include "code\controllers\subsystem\chat.dm" #include "code\controllers\subsystem\cleanup.dm" #include "code\controllers\subsystem\dbcore.dm" @@ -422,8 +424,8 @@ #include "code\datums\cinematics\narsie_summon.dm" #include "code\datums\cinematics\nuke_cinematics.dm" #include "code\datums\components\_component.dm" +#include "code\datums\components\after_attacks_hub.dm" #include "code\datums\components\aura_healing.dm" -#include "code\datums\components\eatable.dm" #include "code\datums\components\boomerang.dm" #include "code\datums\components\boss_music.dm" #include "code\datums\components\caltrop.dm" @@ -440,6 +442,7 @@ #include "code\datums\components\defibrillator.dm" #include "code\datums\components\drift.dm" #include "code\datums\components\ducttape.dm" +#include "code\datums\components\eatable.dm" #include "code\datums\components\edit_complainer.dm" #include "code\datums\components\examine_override.dm" #include "code\datums\components\force_move.dm" @@ -472,6 +475,7 @@ #include "code\datums\diseases\food_poisoning.dm" #include "code\datums\diseases\kuru.dm" #include "code\datums\diseases\vampire.dm" +#include "code\datums\diseases\ectoplasmic.dm" #include "code\datums\diseases\viruses\_virus.dm" #include "code\datums\diseases\viruses\anxiety.dm" #include "code\datums\diseases\viruses\beesease.dm" @@ -542,9 +546,12 @@ #include "code\datums\elements\movetype_handler.dm" #include "code\datums\elements\openspace_item_click_handler.dm" #include "code\datums\elements\simple_flying.dm" +#include "code\datums\elements\squish.dm" #include "code\datums\elements\strippable.dm" #include "code\datums\elements\turf_transparency.dm" #include "code\datums\elements\waddling.dm" +#include "code\datums\elements\after_attack\_after_attack.dm" +#include "code\datums\elements\after_attack\attack_effect_sleep.dm" #include "code\datums\emote\emote.dm" #include "code\datums\emote\emote_verbs.dm" #include "code\datums\helper_datums\construction_datum.dm" @@ -798,7 +805,6 @@ #include "code\game\gamemodes\miniantags\abduction\machinery\experiment.dm" #include "code\game\gamemodes\miniantags\abduction\machinery\pad.dm" #include "code\game\gamemodes\miniantags\borer\borer.dm" -#include "code\game\gamemodes\miniantags\borer\borer_chemicals.dm" #include "code\game\gamemodes\miniantags\borer\borer_event.dm" #include "code\game\gamemodes\miniantags\borer\borer_html.dm" #include "code\game\gamemodes\miniantags\bot_swarm\swarmer.dm" @@ -898,6 +904,7 @@ #include "code\game\machinery\constructable_frame.dm" #include "code\game\machinery\cryo.dm" #include "code\game\machinery\cryopod.dm" +#include "code\game\machinery\customat.dm" #include "code\game\machinery\dance_machine.dm" #include "code\game\machinery\defib_mount.dm" #include "code\game\machinery\deployable.dm" @@ -945,6 +952,7 @@ #include "code\game\machinery\transformer.dm" #include "code\game\machinery\turret_control.dm" #include "code\game\machinery\vending.dm" +#include "code\game\machinery\vending_crit.dm" #include "code\game\machinery\washing_machine.dm" #include "code\game\machinery\wishgranter.dm" #include "code\game\machinery\camera\camera.dm" @@ -1588,8 +1596,12 @@ #include "code\modules\antagonists\changeling\powers\swap_form.dm" #include "code\modules\antagonists\changeling\powers\tiny_prick.dm" #include "code\modules\antagonists\changeling\powers\transform.dm" -#include "code\modules\antagonists\goon_vampire\goon_vampire_datum.dm" -#include "code\modules\antagonists\goon_vampire\goon_vampire_powers.dm" +#include "code\modules\antagonists\borer\borer_datum.dm" +#include "code\modules\antagonists\borer\borer_rank.dm" +#include "code\modules\antagonists\borer\borer_focus.dm" +#include "code\modules\antagonists\borer\borer_reagent.dm" +#include "code\modules\antagonists\borer\borer_action.dm" +#include "code\modules\antagonists\borer\borer_spell.dm" #include "code\modules\antagonists\malf_ai\malf_ai_datum.dm" #include "code\modules\antagonists\space_dragon\action.dm" #include "code\modules\antagonists\space_dragon\carp.dm" @@ -1685,11 +1697,14 @@ #include "code\modules\antagonists\traitor\contractor\items\contractor_pinpointer.dm" #include "code\modules\antagonists\traitor\contractor\items\contractor_uplink.dm" #include "code\modules\antagonists\traitor\contractor\items\extraction_items.dm" +#include "code\modules\antagonists\vampire\goon_vampire_datum.dm" +#include "code\modules\antagonists\vampire\new_vampire_datum.dm" #include "code\modules\antagonists\vampire\vampire_datum.dm" #include "code\modules\antagonists\vampire\vampire_subclasses.dm" #include "code\modules\antagonists\vampire\vampire_powers\bestia_powers.dm" #include "code\modules\antagonists\vampire\vampire_powers\dantalion_powers.dm" #include "code\modules\antagonists\vampire\vampire_powers\gargantua_powers.dm" +#include "code\modules\antagonists\vampire\vampire_powers\goon_vampire_powers.dm" #include "code\modules\antagonists\vampire\vampire_powers\hemomancer_powers.dm" #include "code\modules\antagonists\vampire\vampire_powers\umbrae_powers.dm" #include "code\modules\antagonists\vampire\vampire_powers\vampire_powers.dm" diff --git a/sound/items/greetings-emote.ogg b/sound/items/greetings-emote.ogg new file mode 100644 index 00000000000..25585aa307c Binary files /dev/null and b/sound/items/greetings-emote.ogg differ diff --git a/sound/items/shyness-emote.ogg b/sound/items/shyness-emote.ogg new file mode 100644 index 00000000000..e3cca47a0c3 Binary files /dev/null and b/sound/items/shyness-emote.ogg differ diff --git a/sound/surgery/amputation.ogg b/sound/surgery/amputation.ogg new file mode 100644 index 00000000000..6e954487f8c Binary files /dev/null and b/sound/surgery/amputation.ogg differ diff --git a/sound/surgery/bonegel.ogg b/sound/surgery/bonegel.ogg new file mode 100644 index 00000000000..aee49d46ff9 Binary files /dev/null and b/sound/surgery/bonegel.ogg differ diff --git a/sound/surgery/bonesetter.ogg b/sound/surgery/bonesetter.ogg new file mode 100644 index 00000000000..7872f647af8 Binary files /dev/null and b/sound/surgery/bonesetter.ogg differ diff --git a/sound/surgery/cautery1.ogg b/sound/surgery/cautery1.ogg new file mode 100644 index 00000000000..ac15a581266 Binary files /dev/null and b/sound/surgery/cautery1.ogg differ diff --git a/sound/surgery/cautery2.ogg b/sound/surgery/cautery2.ogg new file mode 100644 index 00000000000..334c98f6cde Binary files /dev/null and b/sound/surgery/cautery2.ogg differ diff --git a/sound/surgery/fixovein1.ogg b/sound/surgery/fixovein1.ogg new file mode 100644 index 00000000000..e0adf10f747 Binary files /dev/null and b/sound/surgery/fixovein1.ogg differ diff --git a/sound/surgery/hemostat1.ogg b/sound/surgery/hemostat1.ogg new file mode 100644 index 00000000000..d68c82620d2 Binary files /dev/null and b/sound/surgery/hemostat1.ogg differ diff --git a/sound/surgery/hemostat2.ogg b/sound/surgery/hemostat2.ogg new file mode 100644 index 00000000000..004af7f281f Binary files /dev/null and b/sound/surgery/hemostat2.ogg differ diff --git a/sound/surgery/organ1.ogg b/sound/surgery/organ1.ogg new file mode 100644 index 00000000000..d6cdd6271fe Binary files /dev/null and b/sound/surgery/organ1.ogg differ diff --git a/sound/surgery/organ2.ogg b/sound/surgery/organ2.ogg new file mode 100644 index 00000000000..9199c7d1a2d Binary files /dev/null and b/sound/surgery/organ2.ogg differ diff --git a/sound/surgery/retractor1.ogg b/sound/surgery/retractor1.ogg new file mode 100644 index 00000000000..de7c31199e3 Binary files /dev/null and b/sound/surgery/retractor1.ogg differ diff --git a/sound/surgery/retractor2.ogg b/sound/surgery/retractor2.ogg new file mode 100644 index 00000000000..620fafe035d Binary files /dev/null and b/sound/surgery/retractor2.ogg differ diff --git a/sound/surgery/saw1.ogg b/sound/surgery/saw1.ogg new file mode 100644 index 00000000000..8e7a47f0fa0 Binary files /dev/null and b/sound/surgery/saw1.ogg differ diff --git a/sound/surgery/scalpel1.ogg b/sound/surgery/scalpel1.ogg new file mode 100644 index 00000000000..6c0fe5dad9f Binary files /dev/null and b/sound/surgery/scalpel1.ogg differ diff --git a/sound/surgery/scalpel2.ogg b/sound/surgery/scalpel2.ogg new file mode 100644 index 00000000000..49767223939 Binary files /dev/null and b/sound/surgery/scalpel2.ogg differ diff --git a/sound/surgery/surgicaldrill.ogg b/sound/surgery/surgicaldrill.ogg new file mode 100644 index 00000000000..26e43a9800e Binary files /dev/null and b/sound/surgery/surgicaldrill.ogg differ diff --git a/tgui/bin/tgui b/tgui/bin/tgui index b442ccb45b4..4ee35164d84 100755 --- a/tgui/bin/tgui +++ b/tgui/bin/tgui @@ -136,7 +136,7 @@ task-merge-bundle() { echo "----------------------" echo "tgui: prepping to replace a conflicted bundle" cat $file_path > $file_current - task-rebuild-conflicted-bundle & + task-rebuild-conflicted-bundle exit 0 } @@ -145,8 +145,6 @@ task-rebuild-conflicted-bundle() { echo "tgui: rebuilding a conflicted tgui bundle, ${file_path}" task-install task-webpack --mode=production - echo "tgui: committing new bundle" - git commit -am "TGUI Bundle Rebuild" exit 0 } diff --git a/tgui/packages/tgui/interfaces/Customat.js b/tgui/packages/tgui/interfaces/Customat.js new file mode 100644 index 00000000000..a991c8ce436 --- /dev/null +++ b/tgui/packages/tgui/interfaces/Customat.js @@ -0,0 +1,115 @@ +import { classes } from 'common/react'; +import { useBackend } from '../backend'; +import { Box, Button, Section, Stack, Table } from '../components'; +import { Window } from '../layouts'; + +const CustomatRow = (props, context) => { + const { act, data } = useBackend(context); + const { product } = props; + const { user, userMoney, vend_ready } = data; + const free = product.price === 0; + let buttonText = 'ERROR!'; + let rowIcon = ''; + if (free) { + buttonText = 'FREE'; + rowIcon = 'arrow-circle-down'; + } else { + buttonText = product.price; + rowIcon = 'shopping-cart'; + } + let buttonDisabled = + !vend_ready || product.stock === 0 || (!free && product.price > userMoney); + return ( + + + + + {product.name} + + + {product.stock} in stock + + + +
Blobs
+ {products.map((product) => ( + + ))} +
+ + + + + + ); +}; diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js index c9ded6d2b0d..b04722f41c4 100644 --- a/tgui/public/tgui.bundle.js +++ b/tgui/public/tgui.bundle.js @@ -1,8 +1,8 @@ -(function(){(function(){var Xt={96376:function(I,r,n){"use strict";r.__esModule=!0,r.createPopper=void 0,r.popperGenerator=f;var e=p(n(74758)),a=p(n(28811)),t=p(n(98309)),o=p(n(44896)),s=p(n(33118)),y=p(n(10579)),V=p(n(56500)),k=p(n(17633));r.detectOverflow=k.default;var S=n(75573);function p(d){return d&&d.__esModule?d:{default:d}}var i={placement:"bottom",modifiers:[],strategy:"absolute"};function c(){for(var d=arguments.length,m=new Array(d),l=0;l0&&(0,a.round)(p.width)/V.offsetWidth||1,c=V.offsetHeight>0&&(0,a.round)(p.height)/V.offsetHeight||1);var f=(0,e.isElement)(V)?(0,t.default)(V):window,u=f.visualViewport,d=!(0,o.default)()&&S,m=(p.left+(d&&u?u.offsetLeft:0))/i,l=(p.top+(d&&u?u.offsetTop:0))/c,v=p.width/i,b=p.height/c;return{width:v,height:b,top:l,right:m+v,bottom:l+b,left:m,x:m,y:l}}},49035:function(I,r,n){"use strict";r.__esModule=!0,r.default=b;var e=n(46206),a=d(n(87991)),t=d(n(79752)),o=d(n(98309)),s=d(n(44896)),y=d(n(40600)),V=d(n(16599)),k=n(75573),S=d(n(37786)),p=d(n(57819)),i=d(n(4206)),c=d(n(12972)),f=d(n(81666)),u=n(63618);function d(N){return N&&N.__esModule?N:{default:N}}function m(N,h){var C=(0,S.default)(N,!1,h==="fixed");return C.top=C.top+N.clientTop,C.left=C.left+N.clientLeft,C.bottom=C.top+N.clientHeight,C.right=C.left+N.clientWidth,C.width=N.clientWidth,C.height=N.clientHeight,C.x=C.left,C.y=C.top,C}function l(N,h,C){return h===e.viewport?(0,f.default)((0,a.default)(N,C)):(0,k.isElement)(h)?m(h,C):(0,f.default)((0,t.default)((0,y.default)(N)))}function v(N){var h=(0,o.default)((0,p.default)(N)),C=["absolute","fixed"].indexOf((0,V.default)(N).position)>=0,g=C&&(0,k.isHTMLElement)(N)?(0,s.default)(N):N;return(0,k.isElement)(g)?h.filter(function(x){return(0,k.isElement)(x)&&(0,i.default)(x,g)&&(0,c.default)(x)!=="body"}):[]}function b(N,h,C,g){var x=h==="clippingParents"?v(N):[].concat(h),B=[].concat(x,[C]),L=B[0],w=B.reduce(function(A,T){var E=l(N,T,g);return A.top=(0,u.max)(E.top,A.top),A.right=(0,u.min)(E.right,A.right),A.bottom=(0,u.min)(E.bottom,A.bottom),A.left=(0,u.max)(E.left,A.left),A},l(N,L,g));return w.width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w}},74758:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=S(n(37786)),a=S(n(13390)),t=S(n(12972)),o=n(75573),s=S(n(79697)),y=S(n(40600)),V=S(n(10798)),k=n(63618);function S(c){return c&&c.__esModule?c:{default:c}}function p(c){var f=c.getBoundingClientRect(),u=(0,k.round)(f.width)/c.offsetWidth||1,d=(0,k.round)(f.height)/c.offsetHeight||1;return u!==1||d!==1}function i(c,f,u){u===void 0&&(u=!1);var d=(0,o.isHTMLElement)(f),m=(0,o.isHTMLElement)(f)&&p(f),l=(0,y.default)(f),v=(0,e.default)(c,m,u),b={scrollLeft:0,scrollTop:0},N={x:0,y:0};return(d||!d&&!u)&&(((0,t.default)(f)!=="body"||(0,V.default)(l))&&(b=(0,a.default)(f)),(0,o.isHTMLElement)(f)?(N=(0,e.default)(f,!0),N.x+=f.clientLeft,N.y+=f.clientTop):l&&(N.x=(0,s.default)(l))),{x:v.left+b.scrollLeft-N.x,y:v.top+b.scrollTop-N.y,width:v.width,height:v.height}}},16599:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(I,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(I,r,n){"use strict";r.__esModule=!0,r.default=V;var e=y(n(40600)),a=y(n(16599)),t=y(n(79697)),o=y(n(43750)),s=n(63618);function y(k){return k&&k.__esModule?k:{default:k}}function V(k){var S,p=(0,e.default)(k),i=(0,o.default)(k),c=(S=k.ownerDocument)==null?void 0:S.body,f=(0,s.max)(p.scrollWidth,p.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,s.max)(p.scrollHeight,p.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),d=-i.scrollLeft+(0,t.default)(k),m=-i.scrollTop;return(0,a.default)(c||p).direction==="rtl"&&(d+=(0,s.max)(p.clientWidth,c?c.clientWidth:0)-f),{width:f,height:u,x:d,y:m}}},3073:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=o.offsetWidth,V=o.offsetHeight;return Math.abs(s.width-y)<=1&&(y=s.width),Math.abs(s.height-V)<=1&&(V=s.height),{x:o.offsetLeft,y:o.offsetTop,width:y,height:V}}},12972:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(43750)),a=s(n(95115)),t=n(75573),o=s(n(3073));function s(V){return V&&V.__esModule?V:{default:V}}function y(V){return V===(0,a.default)(V)||!(0,t.isHTMLElement)(V)?(0,e.default)(V):(0,o.default)(V)}},44896:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=k(n(95115)),a=k(n(12972)),t=k(n(16599)),o=n(75573),s=k(n(87031)),y=k(n(57819)),V=k(n(35366));function k(c){return c&&c.__esModule?c:{default:c}}function S(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function p(c){var f=/firefox/i.test((0,V.default)()),u=/Trident/i.test((0,V.default)());if(u&&(0,o.isHTMLElement)(c)){var d=(0,t.default)(c);if(d.position==="fixed")return null}var m=(0,y.default)(c);for((0,o.isShadowRoot)(m)&&(m=m.host);(0,o.isHTMLElement)(m)&&["html","body"].indexOf((0,a.default)(m))<0;){var l=(0,t.default)(m);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||f&&l.willChange==="filter"||f&&l.filter&&l.filter!=="none")return m;m=m.parentNode}return null}function i(c){for(var f=(0,e.default)(c),u=S(c);u&&(0,s.default)(u)&&(0,t.default)(u).position==="static";)u=S(u);return u&&((0,a.default)(u)==="html"||(0,a.default)(u)==="body"&&(0,t.default)(u).position==="static")?f:u||p(c)||f}},57819:function(I,r,n){"use strict";r.__esModule=!0,r.default=s;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(y){return y&&y.__esModule?y:{default:y}}function s(y){return(0,e.default)(y)==="html"?y:y.assignedSlot||y.parentNode||((0,t.isShadowRoot)(y)?y.host:null)||(0,a.default)(y)}},24426:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(57819)),a=s(n(10798)),t=s(n(12972)),o=n(75573);function s(V){return V&&V.__esModule?V:{default:V}}function y(V){return["html","body","#document"].indexOf((0,t.default)(V))>=0?V.ownerDocument.body:(0,o.isHTMLElement)(V)&&(0,a.default)(V)?V:y((0,e.default)(V))}},87991:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(95115)),a=s(n(40600)),t=s(n(79697)),o=s(n(89331));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){var S=(0,e.default)(V),p=(0,a.default)(V),i=S.visualViewport,c=p.clientWidth,f=p.clientHeight,u=0,d=0;if(i){c=i.width,f=i.height;var m=(0,o.default)();(m||!m&&k==="fixed")&&(u=i.offsetLeft,d=i.offsetTop)}return{width:c,height:f,x:u+(0,t.default)(V),y:d}}},95115:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=s.pageXOffset,V=s.pageYOffset;return{scrollLeft:y,scrollTop:V}}},79697:function(I,r,n){"use strict";r.__esModule=!0,r.default=s;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(y){return y&&y.__esModule?y:{default:y}}function s(y){return(0,e.default)((0,a.default)(y)).left+(0,t.default)(y).scrollLeft}},75573:function(I,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=s;var e=a(n(95115));function a(y){return y&&y.__esModule?y:{default:y}}function t(y){var V=(0,e.default)(y).Element;return y instanceof V||y instanceof Element}function o(y){var V=(0,e.default)(y).HTMLElement;return y instanceof V||y instanceof HTMLElement}function s(y){if(typeof ShadowRoot=="undefined")return!1;var V=(0,e.default)(y).ShadowRoot;return y instanceof V||y instanceof ShadowRoot}},89331:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=s.overflow,V=s.overflowX,k=s.overflowY;return/auto|scroll|overlay|hidden/.test(y+k+V)}},87031:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(24426)),a=s(n(57819)),t=s(n(95115)),o=s(n(10798));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){var S;k===void 0&&(k=[]);var p=(0,e.default)(V),i=p===((S=V.ownerDocument)==null?void 0:S.body),c=(0,t.default)(p),f=i?[c].concat(c.visualViewport||[],(0,o.default)(p)?p:[]):p,u=k.concat(f);return i?u:u.concat(y((0,a.default)(f)))}},46206:function(I,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",s=r.basePlacements=[n,e,a,t],y=r.start="start",V=r.end="end",k=r.clippingParents="clippingParents",S=r.viewport="viewport",p=r.popper="popper",i=r.reference="reference",c=r.variationPlacements=s.reduce(function(x,B){return x.concat([B+"-"+y,B+"-"+V])},[]),f=r.placements=[].concat(s,[o]).reduce(function(x,B){return x.concat([B,B+"-"+y,B+"-"+V])},[]),u=r.beforeRead="beforeRead",d=r.read="read",m=r.afterRead="afterRead",l=r.beforeMain="beforeMain",v=r.main="main",b=r.afterMain="afterMain",N=r.beforeWrite="beforeWrite",h=r.write="write",C=r.afterWrite="afterWrite",g=r.modifierPhases=[u,d,m,l,v,b,N,h,C]},95996:function(I,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(V){V==="default"||V==="__esModule"||Object.prototype.hasOwnProperty.call(e,V)||V in r&&r[V]===a[V]||(r[V]=a[V])});var t=n(39805);Object.keys(t).forEach(function(V){V==="default"||V==="__esModule"||Object.prototype.hasOwnProperty.call(e,V)||V in r&&r[V]===t[V]||(r[V]=t[V])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var s=n(83312);r.createPopper=s.createPopper;var y=n(2473);r.createPopperLite=y.createPopper},19975:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(V){return V&&V.__esModule?V:{default:V}}function o(V){var k=V.state;Object.keys(k.elements).forEach(function(S){var p=k.styles[S]||{},i=k.attributes[S]||{},c=k.elements[S];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,p),Object.keys(i).forEach(function(f){var u=i[f];u===!1?c.removeAttribute(f):c.setAttribute(f,u===!0?"":u)}))})}function s(V){var k=V.state,S={popper:{position:k.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(k.elements.popper.style,S.popper),k.styles=S,k.elements.arrow&&Object.assign(k.elements.arrow.style,S.arrow),function(){Object.keys(k.elements).forEach(function(p){var i=k.elements[p],c=k.attributes[p]||{},f=Object.keys(k.styles.hasOwnProperty(p)?k.styles[p]:S[p]),u=f.reduce(function(d,m){return d[m]="",d},{});!(0,a.isHTMLElement)(i)||!(0,e.default)(i)||(Object.assign(i.style,u),Object.keys(c).forEach(function(d){i.removeAttribute(d)}))})}}var y=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:s,requires:["computeStyles"]}},52744:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=p(n(83104)),a=p(n(28811)),t=p(n(4206)),o=p(n(44896)),s=p(n(41199)),y=n(28595),V=p(n(43286)),k=p(n(81447)),S=n(46206);function p(d){return d&&d.__esModule?d:{default:d}}var i=function(){function d(m,l){return m=typeof m=="function"?m(Object.assign({},l.rects,{placement:l.placement})):m,(0,V.default)(typeof m!="number"?m:(0,k.default)(m,S.basePlacements))}return d}();function c(d){var m,l=d.state,v=d.name,b=d.options,N=l.elements.arrow,h=l.modifiersData.popperOffsets,C=(0,e.default)(l.placement),g=(0,s.default)(C),x=[S.left,S.right].indexOf(C)>=0,B=x?"height":"width";if(!(!N||!h)){var L=i(b.padding,l),w=(0,a.default)(N),A=g==="y"?S.top:S.left,T=g==="y"?S.bottom:S.right,E=l.rects.reference[B]+l.rects.reference[g]-h[g]-l.rects.popper[B],O=h[g]-l.rects.reference[g],P=(0,o.default)(N),R=P?g==="y"?P.clientHeight||0:P.clientWidth||0:0,F=E/2-O/2,j=L[A],W=R-w[B]-L[T],H=R/2-w[B]/2+F,z=(0,y.within)(j,H,W),$=g;l.modifiersData[v]=(m={},m[$]=z,m.centerOffset=z-H,m)}}function f(d){var m=d.state,l=d.options,v=l.element,b=v===void 0?"[data-popper-arrow]":v;b!=null&&(typeof b=="string"&&(b=m.elements.popper.querySelector(b),!b)||(0,t.default)(m.elements.popper,b)&&(m.elements.arrow=b))}var u=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=S(n(44896)),t=S(n(95115)),o=S(n(40600)),s=S(n(16599)),y=S(n(83104)),V=S(n(45)),k=n(63618);function S(d){return d&&d.__esModule?d:{default:d}}var p={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i(d,m){var l=d.x,v=d.y,b=m.devicePixelRatio||1;return{x:(0,k.round)(l*b)/b||0,y:(0,k.round)(v*b)/b||0}}function c(d){var m,l=d.popper,v=d.popperRect,b=d.placement,N=d.variation,h=d.offsets,C=d.position,g=d.gpuAcceleration,x=d.adaptive,B=d.roundOffsets,L=d.isFixed,w=h.x,A=w===void 0?0:w,T=h.y,E=T===void 0?0:T,O=typeof B=="function"?B({x:A,y:E}):{x:A,y:E};A=O.x,E=O.y;var P=h.hasOwnProperty("x"),R=h.hasOwnProperty("y"),F=e.left,j=e.top,W=window;if(x){var H=(0,a.default)(l),z="clientHeight",$="clientWidth";if(H===(0,t.default)(l)&&(H=(0,o.default)(l),(0,s.default)(H).position!=="static"&&C==="absolute"&&(z="scrollHeight",$="scrollWidth")),H=H,b===e.top||(b===e.left||b===e.right)&&N===e.end){j=e.bottom;var G=L&&H===W&&W.visualViewport?W.visualViewport.height:H[z];E-=G-v.height,E*=g?1:-1}if(b===e.left||(b===e.top||b===e.bottom)&&N===e.end){F=e.right;var ne=L&&H===W&&W.visualViewport?W.visualViewport.width:H[$];A-=ne-v.width,A*=g?1:-1}}var Q=Object.assign({position:C},x&&p),he=B===!0?i({x:A,y:E},(0,t.default)(l)):{x:A,y:E};if(A=he.x,E=he.y,g){var Ve;return Object.assign({},Q,(Ve={},Ve[j]=R?"0":"",Ve[F]=P?"0":"",Ve.transform=(W.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",Ve))}return Object.assign({},Q,(m={},m[j]=R?E+"px":"",m[F]=P?A+"px":"",m.transform="",m))}function f(d){var m=d.state,l=d.options,v=l.gpuAcceleration,b=v===void 0?!0:v,N=l.adaptive,h=N===void 0?!0:N,C=l.roundOffsets,g=C===void 0?!0:C,x={placement:(0,y.default)(m.placement),variation:(0,V.default)(m.placement),popper:m.elements.popper,popperRect:m.rects.popper,gpuAcceleration:b,isFixed:m.options.strategy==="fixed"};m.modifiersData.popperOffsets!=null&&(m.styles.popper=Object.assign({},m.styles.popper,c(Object.assign({},x,{offsets:m.modifiersData.popperOffsets,position:m.options.strategy,adaptive:h,roundOffsets:g})))),m.modifiersData.arrow!=null&&(m.styles.arrow=Object.assign({},m.styles.arrow,c(Object.assign({},x,{offsets:m.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),m.attributes.popper=Object.assign({},m.attributes.popper,{"data-popper-placement":m.placement})}var u=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f,data:{}}},36692:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(y){return y&&y.__esModule?y:{default:y}}var t={passive:!0};function o(y){var V=y.state,k=y.instance,S=y.options,p=S.scroll,i=p===void 0?!0:p,c=S.resize,f=c===void 0?!0:c,u=(0,e.default)(V.elements.popper),d=[].concat(V.scrollParents.reference,V.scrollParents.popper);return i&&d.forEach(function(m){m.addEventListener("scroll",k.update,t)}),f&&u.addEventListener("resize",k.update,t),function(){i&&d.forEach(function(m){m.removeEventListener("scroll",k.update,t)}),f&&u.removeEventListener("resize",k.update,t)}}var s=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function y(){}return y}(),effect:o,data:{}}},23798:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=k(n(71376)),a=k(n(83104)),t=k(n(86459)),o=k(n(17633)),s=k(n(9041)),y=n(46206),V=k(n(45));function k(c){return c&&c.__esModule?c:{default:c}}function S(c){if((0,a.default)(c)===y.auto)return[];var f=(0,e.default)(c);return[(0,t.default)(c),f,(0,t.default)(f)]}function p(c){var f=c.state,u=c.options,d=c.name;if(!f.modifiersData[d]._skip){for(var m=u.mainAxis,l=m===void 0?!0:m,v=u.altAxis,b=v===void 0?!0:v,N=u.fallbackPlacements,h=u.padding,C=u.boundary,g=u.rootBoundary,x=u.altBoundary,B=u.flipVariations,L=B===void 0?!0:B,w=u.allowedAutoPlacements,A=f.options.placement,T=(0,a.default)(A),E=T===A,O=N||(E||!L?[(0,e.default)(A)]:S(A)),P=[A].concat(O).reduce(function(te,ee){return te.concat((0,a.default)(ee)===y.auto?(0,s.default)(f,{placement:ee,boundary:C,rootBoundary:g,padding:h,flipVariations:L,allowedAutoPlacements:w}):ee)},[]),R=f.rects.reference,F=f.rects.popper,j=new Map,W=!0,H=P[0],z=0;z=0,he=Q?"width":"height",Ve=(0,o.default)(f,{placement:$,boundary:C,rootBoundary:g,altBoundary:x,padding:h}),Ne=Q?ne?y.right:y.left:ne?y.bottom:y.top;R[he]>F[he]&&(Ne=(0,e.default)(Ne));var Be=(0,e.default)(Ne),Le=[];if(l&&Le.push(Ve[G]<=0),b&&Le.push(Ve[Ne]<=0,Ve[Be]<=0),Le.every(function(te){return te})){H=$,W=!1;break}j.set($,Le)}if(W)for(var Ae=L?3:1,fe=function(){function te(ee){var le=P.find(function(ye){var me=j.get(ye);if(me)return me.slice(0,ee).every(function(Te){return Te})});if(le)return H=le,"break"}return te}(),Z=Ae;Z>0;Z--){var J=fe(Z);if(J==="break")break}f.placement!==H&&(f.modifiersData[d]._skip=!0,f.placement=H,f.reset=!0)}}var i=r.default={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(k){return k&&k.__esModule?k:{default:k}}function o(k,S,p){return p===void 0&&(p={x:0,y:0}),{top:k.top-S.height-p.y,right:k.right-S.width+p.x,bottom:k.bottom-S.height+p.y,left:k.left-S.width-p.x}}function s(k){return[e.top,e.right,e.bottom,e.left].some(function(S){return k[S]>=0})}function y(k){var S=k.state,p=k.name,i=S.rects.reference,c=S.rects.popper,f=S.modifiersData.preventOverflow,u=(0,a.default)(S,{elementContext:"reference"}),d=(0,a.default)(S,{altBoundary:!0}),m=o(u,i),l=o(d,c,f),v=s(m),b=s(l);S.modifiersData[p]={referenceClippingOffsets:m,popperEscapeOffsets:l,isReferenceHidden:v,hasPopperEscaped:b},S.attributes.popper=Object.assign({},S.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":b})}var V=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:y}},39805:function(I,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=p(n(19975));r.applyStyles=e.default;var a=p(n(52744));r.arrow=a.default;var t=p(n(59894));r.computeStyles=t.default;var o=p(n(36692));r.eventListeners=o.default;var s=p(n(23798));r.flip=s.default;var y=p(n(83761));r.hide=y.default;var V=p(n(61410));r.offset=V.default;var k=p(n(40107));r.popperOffsets=k.default;var S=p(n(75137));r.preventOverflow=S.default;function p(i){return i&&i.__esModule?i:{default:i}}},61410:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(V){return V&&V.__esModule?V:{default:V}}function o(V,k,S){var p=(0,e.default)(V),i=[a.left,a.top].indexOf(p)>=0?-1:1,c=typeof S=="function"?S(Object.assign({},k,{placement:V})):S,f=c[0],u=c[1];return f=f||0,u=(u||0)*i,[a.left,a.right].indexOf(p)>=0?{x:u,y:f}:{x:f,y:u}}function s(V){var k=V.state,S=V.options,p=V.name,i=S.offset,c=i===void 0?[0,0]:i,f=a.placements.reduce(function(l,v){return l[v]=o(v,k.rects,c),l},{}),u=f[k.placement],d=u.x,m=u.y;k.modifiersData.popperOffsets!=null&&(k.modifiersData.popperOffsets.x+=d,k.modifiersData.popperOffsets.y+=m),k.modifiersData[p]=f}var y=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s}},40107:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(s){return s&&s.__esModule?s:{default:s}}function t(s){var y=s.state,V=s.name;y.modifiersData[V]=(0,e.default)({reference:y.rects.reference,element:y.rects.popper,strategy:"absolute",placement:y.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),s=n(28595),y=c(n(28811)),V=c(n(44896)),k=c(n(17633)),S=c(n(45)),p=c(n(34780)),i=n(63618);function c(d){return d&&d.__esModule?d:{default:d}}function f(d){var m=d.state,l=d.options,v=d.name,b=l.mainAxis,N=b===void 0?!0:b,h=l.altAxis,C=h===void 0?!1:h,g=l.boundary,x=l.rootBoundary,B=l.altBoundary,L=l.padding,w=l.tether,A=w===void 0?!0:w,T=l.tetherOffset,E=T===void 0?0:T,O=(0,k.default)(m,{boundary:g,rootBoundary:x,padding:L,altBoundary:B}),P=(0,a.default)(m.placement),R=(0,S.default)(m.placement),F=!R,j=(0,t.default)(P),W=(0,o.default)(j),H=m.modifiersData.popperOffsets,z=m.rects.reference,$=m.rects.popper,G=typeof E=="function"?E(Object.assign({},m.rects,{placement:m.placement})):E,ne=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),Q=m.modifiersData.offset?m.modifiersData.offset[m.placement]:null,he={x:0,y:0};if(H){if(N){var Ve,Ne=j==="y"?e.top:e.left,Be=j==="y"?e.bottom:e.right,Le=j==="y"?"height":"width",Ae=H[j],fe=Ae+O[Ne],Z=Ae-O[Be],J=A?-$[Le]/2:0,te=R===e.start?z[Le]:$[Le],ee=R===e.start?-$[Le]:-z[Le],le=m.elements.arrow,ye=A&&le?(0,y.default)(le):{width:0,height:0},me=m.modifiersData["arrow#persistent"]?m.modifiersData["arrow#persistent"].padding:(0,p.default)(),Te=me[Ne],M=me[Be],X=(0,s.within)(0,z[Le],ye[Le]),ae=F?z[Le]/2-J-X-Te-ne.mainAxis:te-X-Te-ne.mainAxis,ue=F?-z[Le]/2+J+X+M+ne.mainAxis:ee+X+M+ne.mainAxis,ie=m.elements.arrow&&(0,V.default)(m.elements.arrow),ge=ie?j==="y"?ie.clientTop||0:ie.clientLeft||0:0,Ce=(Ve=Q==null?void 0:Q[j])!=null?Ve:0,Me=Ae+ae-Ce-ge,De=Ae+ue-Ce,ke=(0,s.within)(A?(0,i.min)(fe,Me):fe,Ae,A?(0,i.max)(Z,De):Z);H[j]=ke,he[j]=ke-Ae}if(C){var pe,se=j==="x"?e.top:e.left,xe=j==="x"?e.bottom:e.right,_=H[W],oe=W==="y"?"height":"width",ve=_+O[se],Se=_-O[xe],Ie=[e.top,e.left].indexOf(P)!==-1,Ee=(pe=Q==null?void 0:Q[W])!=null?pe:0,Pe=Ie?ve:_-z[oe]-$[oe]-Ee+ne.altAxis,Oe=Ie?_+z[oe]+$[oe]-Ee-ne.altAxis:Se,We=A&&Ie?(0,s.withinMaxClamp)(Pe,_,Oe):(0,s.within)(A?Pe:ve,_,A?Oe:Se);H[W]=We,he[W]=We-_}m.modifiersData[v]=he}}var u=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:f,requiresIfExists:["offset"]}},2473:function(I,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=y(n(36692)),t=y(n(40107)),o=y(n(59894)),s=y(n(19975));function y(S){return S&&S.__esModule?S:{default:S}}var V=r.defaultModifiers=[a.default,t.default,o.default,s.default],k=r.createPopper=(0,e.popperGenerator)({defaultModifiers:V})},83312:function(I,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=u(n(36692)),o=u(n(40107)),s=u(n(59894)),y=u(n(19975)),V=u(n(61410)),k=u(n(23798)),S=u(n(75137)),p=u(n(52744)),i=u(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var f=n(39805);Object.keys(f).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(e,l)||l in r&&r[l]===f[l]||(r[l]=f[l])});function u(l){return l&&l.__esModule?l:{default:l}}var d=r.defaultModifiers=[t.default,o.default,s.default,y.default,V.default,k.default,S.default,p.default,i.default],m=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:d})},9041:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(45)),a=n(46206),t=s(n(17633)),o=s(n(83104));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){k===void 0&&(k={});var S=k,p=S.placement,i=S.boundary,c=S.rootBoundary,f=S.padding,u=S.flipVariations,d=S.allowedAutoPlacements,m=d===void 0?a.placements:d,l=(0,e.default)(p),v=l?u?a.variationPlacements:a.variationPlacements.filter(function(h){return(0,e.default)(h)===l}):a.basePlacements,b=v.filter(function(h){return m.indexOf(h)>=0});b.length===0&&(b=v);var N=b.reduce(function(h,C){return h[C]=(0,t.default)(V,{placement:C,boundary:i,rootBoundary:c,padding:f})[(0,o.default)(C)],h},{});return Object.keys(N).sort(function(h,C){return N[h]-N[C]})}},89951:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(83104)),a=s(n(45)),t=s(n(41199)),o=n(46206);function s(V){return V&&V.__esModule?V:{default:V}}function y(V){var k=V.reference,S=V.element,p=V.placement,i=p?(0,e.default)(p):null,c=p?(0,a.default)(p):null,f=k.x+k.width/2-S.width/2,u=k.y+k.height/2-S.height/2,d;switch(i){case o.top:d={x:f,y:k.y-S.height};break;case o.bottom:d={x:f,y:k.y+k.height};break;case o.right:d={x:k.x+k.width,y:u};break;case o.left:d={x:k.x-S.width,y:u};break;default:d={x:k.x,y:k.y}}var m=i?(0,t.default)(i):null;if(m!=null){var l=m==="y"?"height":"width";switch(c){case o.start:d[m]=d[m]-(k[l]/2-S[l]/2);break;case o.end:d[m]=d[m]+(k[l]/2-S[l]/2);break;default:}}return d}},10579:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=p(n(49035)),a=p(n(40600)),t=p(n(37786)),o=p(n(89951)),s=p(n(81666)),y=n(46206),V=n(75573),k=p(n(43286)),S=p(n(81447));function p(c){return c&&c.__esModule?c:{default:c}}function i(c,f){f===void 0&&(f={});var u=f,d=u.placement,m=d===void 0?c.placement:d,l=u.strategy,v=l===void 0?c.strategy:l,b=u.boundary,N=b===void 0?y.clippingParents:b,h=u.rootBoundary,C=h===void 0?y.viewport:h,g=u.elementContext,x=g===void 0?y.popper:g,B=u.altBoundary,L=B===void 0?!1:B,w=u.padding,A=w===void 0?0:w,T=(0,k.default)(typeof A!="number"?A:(0,S.default)(A,y.basePlacements)),E=x===y.popper?y.reference:y.popper,O=c.rects.popper,P=c.elements[L?E:x],R=(0,e.default)((0,V.isElement)(P)?P:P.contextElement||(0,a.default)(c.elements.popper),N,C,v),F=(0,t.default)(c.elements.reference),j=(0,o.default)({reference:F,element:O,strategy:"absolute",placement:m}),W=(0,s.default)(Object.assign({},O,j)),H=x===y.popper?W:F,z={top:R.top-H.top+T.top,bottom:H.bottom-R.bottom+T.bottom,left:R.left-H.left+T.left,right:H.right-R.right+T.right},$=c.modifiersData.offset;if(x===y.popper&&$){var G=$[m];Object.keys(z).forEach(function(ne){var Q=[y.right,y.bottom].indexOf(ne)>=0?1:-1,he=[y.top,y.bottom].indexOf(ne)>=0?"y":"x";z[ne]+=G[he]*Q})}return z}},81447:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(I,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(I,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(I,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(I,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var s=t[o.name];return t[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var s=new Map,y=new Set,V=[];o.forEach(function(S){s.set(S.name,S)});function k(S){y.add(S.name);var p=[].concat(S.requires||[],S.requiresIfExists||[]);p.forEach(function(i){if(!y.has(i)){var c=s.get(i);c&&k(c)}}),V.push(S)}return o.forEach(function(S){y.has(S.name)||k(S)}),V}function t(o){var s=a(o);return e.modifierPhases.reduce(function(y,V){return y.concat(s.filter(function(k){return k.phase===V}))},[])}},81666:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(I,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,s,y){return(0,e.max)(o,(0,e.min)(s,y))}function t(o,s,y){var V=a(o,s,y);return V>y?y:V}},83331:function(I,r,n){"use strict";var e;function a(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(){function o(s){return typeof s}return o}():a=function(){function o(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s}return o}(),a(t)}(function(t){var o=arguments,s=function(){var i=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,c=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,f=/[^-+\dA-Z]/g;return function(u,d,m,l){if(o.length===1&&p(u)==="string"&&!/\d/.test(u)&&(d=u,u=void 0),u=u||u===0?u:new Date,u instanceof Date||(u=new Date(u)),isNaN(u))throw TypeError("Invalid date");d=String(s.masks[d]||d||s.masks.default);var v=d.slice(0,4);(v==="UTC:"||v==="GMT:")&&(d=d.slice(4),m=!0,v==="GMT:"&&(l=!0));var b=function(){function P(){return m?"getUTC":"get"}return P}(),N=function(){function P(){return u[b()+"Date"]()}return P}(),h=function(){function P(){return u[b()+"Day"]()}return P}(),C=function(){function P(){return u[b()+"Month"]()}return P}(),g=function(){function P(){return u[b()+"FullYear"]()}return P}(),x=function(){function P(){return u[b()+"Hours"]()}return P}(),B=function(){function P(){return u[b()+"Minutes"]()}return P}(),L=function(){function P(){return u[b()+"Seconds"]()}return P}(),w=function(){function P(){return u[b()+"Milliseconds"]()}return P}(),A=function(){function P(){return m?0:u.getTimezoneOffset()}return P}(),T=function(){function P(){return k(u)}return P}(),E=function(){function P(){return S(u)}return P}(),O={d:function(){function P(){return N()}return P}(),dd:function(){function P(){return y(N())}return P}(),ddd:function(){function P(){return s.i18n.dayNames[h()]}return P}(),DDD:function(){function P(){return V({y:g(),m:C(),d:N(),_:b(),dayName:s.i18n.dayNames[h()],short:!0})}return P}(),dddd:function(){function P(){return s.i18n.dayNames[h()+7]}return P}(),DDDD:function(){function P(){return V({y:g(),m:C(),d:N(),_:b(),dayName:s.i18n.dayNames[h()+7]})}return P}(),m:function(){function P(){return C()+1}return P}(),mm:function(){function P(){return y(C()+1)}return P}(),mmm:function(){function P(){return s.i18n.monthNames[C()]}return P}(),mmmm:function(){function P(){return s.i18n.monthNames[C()+12]}return P}(),yy:function(){function P(){return String(g()).slice(2)}return P}(),yyyy:function(){function P(){return y(g(),4)}return P}(),h:function(){function P(){return x()%12||12}return P}(),hh:function(){function P(){return y(x()%12||12)}return P}(),H:function(){function P(){return x()}return P}(),HH:function(){function P(){return y(x())}return P}(),M:function(){function P(){return B()}return P}(),MM:function(){function P(){return y(B())}return P}(),s:function(){function P(){return L()}return P}(),ss:function(){function P(){return y(L())}return P}(),l:function(){function P(){return y(w(),3)}return P}(),L:function(){function P(){return y(Math.floor(w()/10))}return P}(),t:function(){function P(){return x()<12?s.i18n.timeNames[0]:s.i18n.timeNames[1]}return P}(),tt:function(){function P(){return x()<12?s.i18n.timeNames[2]:s.i18n.timeNames[3]}return P}(),T:function(){function P(){return x()<12?s.i18n.timeNames[4]:s.i18n.timeNames[5]}return P}(),TT:function(){function P(){return x()<12?s.i18n.timeNames[6]:s.i18n.timeNames[7]}return P}(),Z:function(){function P(){return l?"GMT":m?"UTC":(String(u).match(c)||[""]).pop().replace(f,"").replace(/GMT\+0000/g,"UTC")}return P}(),o:function(){function P(){return(A()>0?"-":"+")+y(Math.floor(Math.abs(A())/60)*100+Math.abs(A())%60,4)}return P}(),p:function(){function P(){return(A()>0?"-":"+")+y(Math.floor(Math.abs(A())/60),2)+":"+y(Math.floor(Math.abs(A())%60),2)}return P}(),S:function(){function P(){return["th","st","nd","rd"][N()%10>3?0:(N()%100-N()%10!=10)*N()%10]}return P}(),W:function(){function P(){return T()}return P}(),WW:function(){function P(){return y(T())}return P}(),N:function(){function P(){return E()}return P}()};return d.replace(i,function(P){return P in O?O[P]():P.slice(1,P.length-1)})}}();s.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},s.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var y=function(){function i(c,f){for(c=String(c),f=f||2;c.length0?x(K.componentWillDisappear,w(D,U)):L(D,U,!1)}function T(D,U,K,Y,re,ce,de,be){D.componentWillMove.push({dom:Y,fn:function(){function we(){de&4?K.componentWillMove(U,re,Y):de&8&&K.onComponentWillMove(U,re,Y,be)}return we}(),next:ce,parent:re})}function E(D,U,K,Y,re){var ce,de,be=U.flags;do{var we=U.flags;if(we&1521){!a(ce)&&(o(ce.componentWillMove)||o(ce.onComponentWillMove))?T(re,D,ce,U.dom,K,Y,be,de):l(K,U.dom,Y);return}var Fe=U.children;if(we&4)ce=U.children,de=U.props,U=Fe.$LI;else if(we&8)ce=U.ref,de=U.props,U=Fe;else if(we&8192)if(U.childFlags===2)U=Fe;else{for(var Re=0,Ue=Fe.length;Re0,Fe=V(be),Re=s(be)&&be[0]===z;we||Fe||Re?(K=K||U.slice(0,ce),(we||Re)&&(de=fe(de)),(Fe||Re)&&(de.key=z+ce),K.push(de)):K&&K.push(de),de.flags|=65536}}K=K||U,K.length===0?Y=1:Y=8}else K=U,K.flags|=65536,U.flags&81920&&(K=fe(U)),Y=2;return D.children=K,D.childFlags=Y,D}function ye(D){return t(D)||e(D)?Ne(D,null):n(D)?Be(D,0,null):D.flags&16384?fe(D):D}var me="http://www.w3.org/1999/xlink",Te="http://www.w3.org/XML/1998/namespace",M={"xlink:actuate":me,"xlink:arcrole":me,"xlink:href":me,"xlink:role":me,"xlink:show":me,"xlink:title":me,"xlink:type":me,"xml:base":Te,"xml:lang":Te,"xml:space":Te};function X(D){return{onClick:D,onDblClick:D,onFocusIn:D,onFocusOut:D,onKeyDown:D,onKeyPress:D,onKeyUp:D,onMouseDown:D,onMouseMove:D,onMouseUp:D,onTouchEnd:D,onTouchMove:D,onTouchStart:D}}var ae=X(0),ue=X(null),ie=X(!0);function ge(D,U){var K=U.$EV;return K||(K=U.$EV=X(null)),K[D]||++ae[D]===1&&(ue[D]=Se(D)),K}function Ce(D,U){var K=U.$EV;K&&K[D]&&(--ae[D]===0&&(document.removeEventListener(d(D),ue[D]),ue[D]=null),K[D]=null)}function Me(D,U,K,Y){if(o(K))ge(D,Y)[D]=K;else if(i(K)){if(j(U,K))return;ge(D,Y)[D]=K}else Ce(D,Y)}function De(D){return o(D.composedPath)?D.composedPath()[0]:D.target}function ke(D,U,K,Y){var re=De(D);do{if(U&&re.disabled)return;var ce=re.$EV;if(ce){var de=ce[K];if(de&&(Y.dom=re,de.event?de.event(de.data,D):de(D),D.cancelBubble))return}re=re.parentNode}while(!V(re))}function pe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function xe(){return this.cancelBubble}function _(D){var U={dom:document};return D.isDefaultPrevented=se,D.isPropagationStopped=xe,D.stopPropagation=pe,Object.defineProperty(D,"currentTarget",{configurable:!0,get:function(){function K(){return U.dom}return K}()}),U}function oe(D){return function(U){if(U.button!==0){U.stopPropagation();return}ke(U,!0,D,_(U))}}function ve(D){return function(U){ke(U,!1,D,_(U))}}function Se(D){var U=D==="onClick"||D==="onDblClick"?oe(D):ve(D);return document.addEventListener(d(D),U),U}function Ie(D,U){var K=document.createElement("i");return K.innerHTML=U,K.innerHTML===D.innerHTML}function Ee(D,U,K){if(D[U]){var Y=D[U];Y.event?Y.event(Y.data,K):Y(K)}else{var re=U.toLowerCase();D[re]&&D[re](K)}}function Pe(D,U){var K=function(){function Y(re){var ce=this.$V;if(ce){var de=ce.props||c,be=ce.dom;if(s(D))Ee(de,D,re);else for(var we=0;we-1&&U.options[ce]&&(be=U.options[ce].value),K&&a(be)&&(be=D.defaultValue),qe(Y,be)}}var Zt=Pe("onInput",wt),qt=Pe("onChange");function en(D,U){Oe(D,"input",Zt),U.onChange&&Oe(D,"change",qt)}function wt(D,U,K){var Y=D.value,re=U.value;if(a(Y)){if(K){var ce=D.defaultValue;!a(ce)&&ce!==re&&(U.defaultValue=ce,U.value=ce)}}else re!==Y&&(U.defaultValue=Y,U.value=Y)}function Tt(D,U,K,Y,re,ce){D&64?ut(Y,K):D&256?It(Y,K,re,U):D&128&&wt(Y,K,re),ce&&(K.$V=U)}function tn(D,U,K){D&64?$e(U,K):D&256?Jt(U):D&128&&en(U,K)}function At(D){return D.type&&We(D.type)?!a(D.checked):!a(D.value)}function nn(){return{current:null}}function on(D){var U={render:D};return U}function vt(D){D&&!H(D,null)&&D.current&&(D.current=null)}function st(D,U,K){D&&(o(D)||D.current!==void 0)&&K.push(function(){!H(D,U)&&D.current!==void 0&&(D.current=U)})}function tt(D,U,K){ot(D,K),A(D,U,K)}function ot(D,U){var K=D.flags,Y=D.children,re;if(K&481){re=D.ref;var ce=D.props;vt(re);var de=D.childFlags;if(!V(ce))for(var be=Object.keys(ce),we=0,Fe=be.length;we0?x(K.componentWillDisappear,rn(U,D)):D.textContent=""}function gt(D,U,K,Y){mt(K,Y),U.flags&8192?A(U,D,Y):Ct(D,K,Y)}function Et(D,U,K,Y,re){D.componentWillDisappear.push(function(ce){Y&4?U.componentWillDisappear(K,ce):Y&8&&U.onComponentWillDisappear(K,re,ce)})}function an(D){var U=D.event;return function(K){U(D.data,K)}}function cn(D,U,K,Y){if(i(K)){if(j(U,K))return;K=an(K)}Oe(Y,d(D),K)}function ln(D,U,K){if(a(U)){K.removeAttribute("style");return}var Y=K.style,re,ce;if(s(U)){Y.cssText=U;return}if(!a(D)&&!s(D)){for(re in U)ce=U[re],ce!==D[re]&&Y.setProperty(re,ce);for(re in D)a(U[re])&&Y.removeProperty(re)}else for(re in U)ce=U[re],Y.setProperty(re,ce)}function un(D,U,K,Y,re){var ce=D&&D.__html||"",de=U&&U.__html||"";ce!==de&&!a(de)&&!Ie(Y,de)&&(V(K)||(K.childFlags&12?mt(K.children,re):K.childFlags===2&&ot(K.children,re),K.children=null,K.childFlags=1),Y.innerHTML=de)}function Vt(D,U,K,Y,re,ce,de,be){switch(D){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":Y.autofocus=!!K;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":Y[D]=!!K;break;case"defaultChecked":case"value":case"volume":if(ce&&D==="value")break;var we=a(K)?"":K;Y[D]!==we&&(Y[D]=we);break;case"style":ln(U,K,Y);break;case"dangerouslySetInnerHTML":un(U,K,de,Y,be);break;default:ie[D]?Me(D,U,K,Y):D.charCodeAt(0)===111&&D.charCodeAt(1)===110?cn(D,U,K,Y):a(K)?Y.removeAttribute(D):re&&M[D]?Y.setAttributeNS(M[D],D,K):Y.setAttribute(D,K);break}}function Mt(D,U,K,Y,re,ce){var de=!1,be=(U&448)>0;be&&(de=At(K),de&&tn(U,Y,K));for(var we in K)Vt(we,null,K[we],Y,re,de,null,ce);be&&Tt(U,D,Y,K,!0,de)}function Ot(D,U,K){var Y=ye(D.render(U,D.state,K)),re=K;return o(D.getChildContext)&&(re=S(K,D.getChildContext())),D.$CX=re,Y}function Pt(D,U,K,Y,re,ce){var de=new U(K,Y),be=de.$N=!!(U.getDerivedStateFromProps||de.getSnapshotBeforeUpdate);if(de.$SVG=re,de.$L=ce,D.children=de,de.$BS=!1,de.context=Y,de.props===c&&(de.props=K),be)de.state=O(de,K,de.state);else if(o(de.componentWillMount)){de.$BR=!0,de.componentWillMount();var we=de.$PS;if(!V(we)){var Fe=de.state;if(V(Fe))de.state=we;else for(var Re in we)Fe[Re]=we[Re];de.$PS=null}de.$BR=!1}return de.$LI=Ot(de,K,Y),de}function yt(D,U){var K=D.props||c;return D.flags&32768?D.type.render(K,D.ref,U):D.type(K,U)}function Xe(D,U,K,Y,re,ce,de){var be=D.flags|=16384;be&481?Dt(D,U,K,Y,re,ce,de):be&4?mn(D,U,K,Y,re,ce,de):be&8?fn(D,U,K,Y,re,ce,de):be&16?Rt(D,U,re):be&8192?sn(D,K,U,Y,re,ce,de):be&1024&&dn(D,K,U,re,ce,de)}function dn(D,U,K,Y,re,ce){Xe(D.children,D.ref,U,!1,null,re,ce);var de=Z();Rt(de,K,Y),D.dom=de.dom}function sn(D,U,K,Y,re,ce,de){var be=D.children,we=D.childFlags;we&12&&be.length===0&&(we=D.childFlags=2,be=D.children=Z()),we===2?Xe(be,K,U,Y,re,ce,de):dt(be,K,U,Y,re,ce,de)}function Rt(D,U,K){var Y=D.dom=document.createTextNode(D.children);V(U)||l(U,Y,K)}function Dt(D,U,K,Y,re,ce,de){var be=D.flags,we=D.props,Fe=D.className,Re=D.childFlags,Ue=D.dom=v(D.type,Y=Y||(be&32)>0),je=D.children;if(!a(Fe)&&Fe!==""&&(Y?Ue.setAttribute("class",Fe):Ue.className=Fe),Re===16)F(Ue,je);else if(Re!==1){var _e=Y&&D.type!=="foreignObject";Re===2?(je.flags&16384&&(D.children=je=fe(je)),Xe(je,Ue,K,_e,null,ce,de)):(Re===8||Re===4)&&dt(je,Ue,K,_e,null,ce,de)}V(U)||l(U,Ue,re),V(we)||Mt(D,be,we,Ue,Y,de),st(D.ref,Ue,ce)}function dt(D,U,K,Y,re,ce,de){for(var be=0;be_e)&&(Ue=g(be[_e-1],!1).nextSibling)}St(Fe,Re,be,we,K,Y,re,Ue,D,ce,de)}function bn(D,U,K,Y,re){var ce=D.ref,de=U.ref,be=U.children;if(St(D.childFlags,U.childFlags,D.children,be,ce,K,!1,null,D,Y,re),U.dom=D.dom,ce!==de&&!t(be)){var we=be.dom;N(ce,we),m(de,we)}}function Vn(D,U,K,Y,re,ce,de){var be=U.dom=D.dom,we=D.props,Fe=U.props,Re=!1,Ue=!1,je;if(Y=Y||(re&32)>0,we!==Fe){var _e=we||c;if(je=Fe||c,je!==c){Re=(re&448)>0,Re&&(Ue=At(je));for(var Ye in je){var He=_e[Ye],Je=je[Ye];He!==Je&&Vt(Ye,He,Je,be,Y,Ue,D,de)}}if(_e!==c)for(var Ke in _e)a(je[Ke])&&!a(_e[Ke])&&Vt(Ke,_e[Ke],null,be,Y,Ue,D,de)}var it=U.children,et=U.className;D.className!==et&&(a(et)?be.removeAttribute("class"):Y?be.setAttribute("class",et):be.className=et),re&4096?gn(be,it):St(D.childFlags,U.childFlags,D.children,it,be,K,Y&&U.type!=="foreignObject",null,D,ce,de),Re&&Tt(re,U,be,je,!1,Ue);var ft=U.ref,nt=D.ref;nt!==ft&&(vt(nt),st(ft,be,ce))}function yn(D,U,K,Y,re,ce,de){ot(D,de),dt(U,K,Y,re,g(D,!0),ce,de),A(D,K,de)}function St(D,U,K,Y,re,ce,de,be,we,Fe,Re){switch(D){case 2:switch(U){case 2:rt(K,Y,re,ce,de,be,Fe,Re);break;case 1:tt(K,re,Re);break;case 16:ot(K,Re),F(re,Y);break;default:yn(K,Y,re,ce,de,Fe,Re);break}break;case 1:switch(U){case 2:Xe(Y,re,ce,de,be,Fe,Re);break;case 1:break;case 16:F(re,Y);break;default:dt(Y,re,ce,de,be,Fe,Re);break}break;case 16:switch(U){case 16:Cn(K,Y,re);break;case 2:Ct(re,K,Re),Xe(Y,re,ce,de,be,Fe,Re);break;case 1:Ct(re,K,Re);break;default:Ct(re,K,Re),dt(Y,re,ce,de,be,Fe,Re);break}break;default:switch(U){case 16:mt(K,Re),F(re,Y);break;case 2:gt(re,we,K,Re),Xe(Y,re,ce,de,be,Fe,Re);break;case 1:gt(re,we,K,Re);break;default:var Ue=K.length|0,je=Y.length|0;Ue===0?je>0&&dt(Y,re,ce,de,be,Fe,Re):je===0?gt(re,we,K,Re):U===8&&D===8?In(K,Y,re,ce,de,Ue,je,be,we,Fe,Re):Ln(K,Y,re,ce,de,Ue,je,be,Fe,Re);break}break}}function Sn(D,U,K,Y,re){re.push(function(){D.componentDidUpdate(U,K,Y)})}function Ut(D,U,K,Y,re,ce,de,be,we,Fe){var Re=D.state,Ue=D.props,je=!!D.$N,_e=o(D.shouldComponentUpdate);if(je&&(U=O(D,K,U!==Re?S(Re,U):U)),de||!_e||_e&&D.shouldComponentUpdate(K,U,re)){!je&&o(D.componentWillUpdate)&&D.componentWillUpdate(K,U,re),D.props=K,D.state=U,D.context=re;var Ye=null,He=Ot(D,K,re);je&&o(D.getSnapshotBeforeUpdate)&&(Ye=D.getSnapshotBeforeUpdate(Ue,Re)),rt(D.$LI,He,Y,D.$CX,ce,be,we,Fe),D.$LI=He,o(D.componentDidUpdate)&&Sn(D,Ue,Re,Ye,we)}else D.props=K,D.state=U,D.context=re}function kn(D,U,K,Y,re,ce,de,be){var we=U.children=D.children;if(!V(we)){we.$L=de;var Fe=U.props||c,Re=U.ref,Ue=D.ref,je=we.state;if(!we.$N){if(o(we.componentWillReceiveProps)){if(we.$BR=!0,we.componentWillReceiveProps(Fe,Y),we.$UN)return;we.$BR=!1}V(we.$PS)||(je=S(je,we.$PS),we.$PS=null)}Ut(we,je,Fe,K,Y,re,!1,ce,de,be),Ue!==Re&&(vt(Ue),st(Re,we,de))}}function Bn(D,U,K,Y,re,ce,de,be){var we=!0,Fe=U.props||c,Re=U.ref,Ue=D.props,je=!a(Re),_e=D.children;if(je&&o(Re.onComponentShouldUpdate)&&(we=Re.onComponentShouldUpdate(Ue,Fe)),we!==!1){je&&o(Re.onComponentWillUpdate)&&Re.onComponentWillUpdate(Ue,Fe);var Ye=ye(yt(U,Y));rt(_e,Ye,K,Y,re,ce,de,be),U.children=Ye,je&&o(Re.onComponentDidUpdate)&&Re.onComponentDidUpdate(Ue,Fe)}else U.children=_e}function xn(D,U){var K=U.children,Y=U.dom=D.dom;K!==D.children&&(Y.nodeValue=K)}function Ln(D,U,K,Y,re,ce,de,be,we,Fe){for(var Re=ce>de?de:ce,Ue=0,je,_e;Uede)for(Ue=Re;UeUe||_e>je)break e;Ye=D[_e],He=U[_e]}for(Ye=D[Ue],He=U[je];Ye.key===He.key;){if(He.flags&16384&&(U[je]=He=fe(He)),rt(Ye,He,K,Y,re,be,Fe,Re),D[Ue]=He,Ue--,je--,_e>Ue||_e>je)break e;Ye=D[Ue],He=U[je]}}if(_e>Ue){if(_e<=je)for(Je=je+1,Ke=Jeje)for(;_e<=Ue;)tt(D[_e++],K,Re);else wn(D,U,Y,ce,de,Ue,je,_e,K,re,be,we,Fe,Re)}function wn(D,U,K,Y,re,ce,de,be,we,Fe,Re,Ue,je,_e){var Ye,He,Je=0,Ke=0,it=be,et=be,ft=ce-be+1,nt=de-be+1,pt=new Int32Array(nt+1),ct=ft===Y,Bt=!1,Ze=0,ht=0;if(re<4||(ft|nt)<32)for(Ke=it;Ke<=ce;++Ke)if(Ye=D[Ke],htbe?Bt=!0:Ze=be,He.flags&16384&&(U[be]=He=fe(He)),rt(Ye,He,we,K,Fe,Re,je,_e),++ht;break}!ct&&be>de&&tt(Ye,we,_e)}else ct||tt(Ye,we,_e);else{var Gt={};for(Ke=et;Ke<=de;++Ke)Gt[U[Ke].key]=Ke;for(Ke=it;Ke<=ce;++Ke)if(Ye=D[Ke],htit;)tt(D[it++],we,_e);pt[be-et]=Ke+1,Ze>be?Bt=!0:Ze=be,He=U[be],He.flags&16384&&(U[be]=He=fe(He)),rt(Ye,He,we,K,Fe,Re,je,_e),++ht}else ct||tt(Ye,we,_e);else ct||tt(Ye,we,_e)}if(ct)gt(we,Ue,D,_e),dt(U,we,K,Fe,Re,je,_e);else if(Bt){var Qt=Tn(pt);for(be=Qt.length-1,Ke=nt-1;Ke>=0;Ke--)pt[Ke]===0?(Ze=Ke+et,He=U[Ze],He.flags&16384&&(U[Ze]=He=fe(He)),Je=Ze+1,Xe(He,we,K,Fe,Je0&&B(_e.componentWillMove)}else if(ht!==nt)for(Ke=nt-1;Ke>=0;Ke--)pt[Ke]===0&&(Ze=Ke+et,He=U[Ze],He.flags&16384&&(U[Ze]=He=fe(He)),Je=Ze+1,Xe(He,we,K,Fe,Je_t&&(_t=we,at=new Int32Array(we),Nt=new Int32Array(we));K>1,D[at[be]]0&&(Nt[K]=at[ce-1]),at[ce]=K)}ce=re+1;var Fe=new Int32Array(ce);for(de=at[ce-1];ce-- >0;)Fe[ce]=de,de=Nt[de],at[ce]=0;return Fe}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ht(D,U,K,Y){var re=[],ce=new u,de=U.$V;P.v=!0,a(de)?a(D)||(D.flags&16384&&(D=fe(D)),Xe(D,U,Y,!1,null,re,ce),U.$V=D,de=D):a(D)?(tt(de,U,ce),U.$V=null):(D.flags&16384&&(D=fe(D)),rt(de,D,U,Y,!1,null,re,ce),de=U.$V=D),h(re),x(ce.componentDidAppear),P.v=!1,o(K)&&K(),o(R.renderComplete)&&R.renderComplete(de,U)}function zt(D,U,K,Y){K===void 0&&(K=null),Y===void 0&&(Y=c),Ht(D,U,K,Y)}function En(D){return function(){function U(K,Y,re,ce){D||(D=K),zt(Y,D,re,ce)}return U}()}var bt=[],Mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(D){window.setTimeout(D,0)},kt=!1;function Kt(D,U,K,Y){var re=D.$PS;if(o(U)&&(U=U(re?S(D.state,re):D.state,D.props,D.context)),a(re))D.$PS=U;else for(var ce in U)re[ce]=U[ce];if(D.$BR)o(K)&&D.$L.push(K.bind(D));else{if(!P.v&&bt.length===0){Yt(D,Y),o(K)&&K.call(D);return}if(bt.indexOf(D)===-1&&bt.push(D),Y&&(D.$F=!0),kt||(kt=!0,Mn($t)),o(K)){var de=D.$QU;de||(de=D.$QU=[]),de.push(K)}}}function On(D){for(var U=D.$QU,K=0;K=55296&&ve<=56319&&oe+1<_.length&&(Se=_.charCodeAt(oe+1),Se>=56320&&Se<=57343)?(ve-55296)*1024+Se-56320+65536:ve}function fe(_){var oe=/^\n* /;return oe.test(_)}var Z=1,J=2,te=3,ee=4,le=5;function ye(_,oe,ve,Se,Ie,Ee,Pe,Oe){var We,ze=0,Ge=null,Qe=!1,$e=!1,ut=Se!==-1,qe=-1,lt=Be(Ae(_,0))&&Le(Ae(_,_.length-1));if(oe||Pe)for(We=0;We<_.length;ze>=65536?We+=2:We++){if(ze=Ae(_,We),!he(ze))return le;lt=lt&&Ne(ze,Ge,Oe),Ge=ze}else{for(We=0;We<_.length;ze>=65536?We+=2:We++){if(ze=Ae(_,We),ze===k)Qe=!0,ut&&($e=$e||We-qe-1>Se&&_[qe+1]!==" ",qe=We);else if(!he(ze))return le;lt=lt&&Ne(ze,Ge,Oe),Ge=ze}$e=$e||ut&&We-qe-1>Se&&_[qe+1]!==" "}return!Qe&&!$e?lt&&!Pe&&!Ie(_)?Z:Ee===H?le:J:ve>9&&fe(_)?le:Pe?Ee===H?le:J:$e?ee:te}function me(_,oe,ve,Se,Ie){_.dump=function(){if(oe.length===0)return _.quotingType===H?'""':"''";if(!_.noCompatMode&&(P.indexOf(oe)!==-1||R.test(oe)))return _.quotingType===H?'"'+oe+'"':"'"+oe+"'";var Ee=_.indent*Math.max(1,ve),Pe=_.lineWidth===-1?-1:Math.max(Math.min(_.lineWidth,40),_.lineWidth-Ee),Oe=Se||_.flowLevel>-1&&ve>=_.flowLevel;function We(ze){return ne(_,ze)}switch(ye(oe,Oe,_.indent,Pe,We,_.quotingType,_.forceQuotes&&!Se,Ie)){case Z:return oe;case J:return"'"+oe.replace(/'/g,"''")+"'";case te:return"|"+Te(oe,_.indent)+M($(oe,Ee));case ee:return">"+Te(oe,_.indent)+M($(X(oe,Pe),Ee));case le:return'"'+ue(oe,Pe)+'"';default:throw new a("impossible error: invalid scalar style")}}()}function Te(_,oe){var ve=fe(_)?String(oe):"",Se=_[_.length-1]==="\n",Ie=Se&&(_[_.length-2]==="\n"||_==="\n"),Ee=Ie?"+":Se?"":"-";return ve+Ee+"\n"}function M(_){return _[_.length-1]==="\n"?_.slice(0,-1):_}function X(_,oe){for(var ve=/(\n+)([^\n]*)/g,Se=function(){var ze=_.indexOf("\n");return ze=ze!==-1?ze:_.length,ve.lastIndex=ze,ae(_.slice(0,ze),oe)}(),Ie=_[0]==="\n"||_[0]===" ",Ee,Pe;Pe=ve.exec(_);){var Oe=Pe[1],We=Pe[2];Ee=We[0]===" ",Se+=Oe+(!Ie&&!Ee&&We!==""?"\n":"")+ae(We,oe),Ie=Ee}return Se}function ae(_,oe){if(_===""||_[0]===" ")return _;for(var ve=/ [^ ]/g,Se,Ie=0,Ee,Pe=0,Oe=0,We="";Se=ve.exec(_);)Oe=Se.index,Oe-Ie>oe&&(Ee=Pe>Ie?Pe:Oe,We+="\n"+_.slice(Ie,Ee),Ie=Ee+1),Pe=Oe;return We+="\n",_.length-Ie>oe&&Pe>Ie?We+=_.slice(Ie,Pe)+"\n"+_.slice(Pe+1):We+=_.slice(Ie),We.slice(1)}function ue(_){for(var oe="",ve=0,Se,Ie=0;Ie<_.length;ve>=65536?Ie+=2:Ie++)ve=Ae(_,Ie),Se=O[ve],!Se&&he(ve)?(oe+=_[Ie],ve>=65536&&(oe+=_[Ie+1])):oe+=Se||j(ve);return oe}function ie(_,oe,ve){var Se="",Ie=_.tag,Ee,Pe,Oe;for(Ee=0,Pe=ve.length;Ee1024&&(Ge+="? "),Ge+=_.dump+(_.condenseFlow?'"':"")+":"+(_.condenseFlow?"":" "),ke(_,oe,ze,!1,!1)&&(Ge+=_.dump,Se+=Ge));_.tag=Ie,_.dump="{"+Se+"}"}function Me(_,oe,ve,Se){var Ie="",Ee=_.tag,Pe=Object.keys(ve),Oe,We,ze,Ge,Qe,$e;if(_.sortKeys===!0)Pe.sort();else if(typeof _.sortKeys=="function")Pe.sort(_.sortKeys);else if(_.sortKeys)throw new a("sortKeys must be a boolean or a function");for(Oe=0,We=Pe.length;Oe1024,Qe&&(_.dump&&k===_.dump.charCodeAt(0)?$e+="?":$e+="? "),$e+=_.dump,Qe&&($e+=G(_,oe)),ke(_,oe+1,Ge,!0,Qe)&&(_.dump&&k===_.dump.charCodeAt(0)?$e+=":":$e+=": ",$e+=_.dump,Ie+=$e));_.tag=Ee,_.dump=Ie||"{}"}function De(_,oe,ve){var Se,Ie,Ee,Pe,Oe,We;for(Ie=ve?_.explicitTypes:_.implicitTypes,Ee=0,Pe=Ie.length;Ee tag resolver accepts not "'+We+'" style');_.dump=Se}return!0}return!1}function ke(_,oe,ve,Se,Ie,Ee,Pe){_.tag=null,_.dump=ve,De(_,ve,!1)||De(_,ve,!0);var Oe=o.call(_.dump),We=Se,ze;Se&&(Se=_.flowLevel<0||_.flowLevel>oe);var Ge=Oe==="[object Object]"||Oe==="[object Array]",Qe,$e;if(Ge&&(Qe=_.duplicates.indexOf(ve),$e=Qe!==-1),(_.tag!==null&&_.tag!=="?"||$e||_.indent!==2&&oe>0)&&(Ie=!1),$e&&_.usedDuplicates[Qe])_.dump="*ref_"+Qe;else{if(Ge&&$e&&!_.usedDuplicates[Qe]&&(_.usedDuplicates[Qe]=!0),Oe==="[object Object]")Se&&Object.keys(_.dump).length!==0?(Me(_,oe,_.dump,Ie),$e&&(_.dump="&ref_"+Qe+_.dump)):(Ce(_,oe,_.dump),$e&&(_.dump="&ref_"+Qe+" "+_.dump));else if(Oe==="[object Array]")Se&&_.dump.length!==0?(_.noArrayIndent&&!Pe&&oe>0?ge(_,oe-1,_.dump,Ie):ge(_,oe,_.dump,Ie),$e&&(_.dump="&ref_"+Qe+_.dump)):(ie(_,oe,_.dump),$e&&(_.dump="&ref_"+Qe+" "+_.dump));else if(Oe==="[object String]")_.tag!=="?"&&me(_,_.dump,oe,Ee,We);else{if(Oe==="[object Undefined]")return!1;if(_.skipInvalid)return!1;throw new a("unacceptable kind of an object to dump "+Oe)}_.tag!==null&&_.tag!=="?"&&(ze=encodeURI(_.tag[0]==="!"?_.tag.slice(1):_.tag).replace(/!/g,"%21"),_.tag[0]==="!"?ze="!"+ze:ze.slice(0,18)==="tag:yaml.org,2002:"?ze="!!"+ze.slice(18):ze="!<"+ze+">",_.dump=ze+" "+_.dump)}return!0}function pe(_,oe){var ve=[],Se=[],Ie,Ee;for(se(_,ve,Se),Ie=0,Ee=Se.length;Ie>10)+55296,(M-65536&1023)+56320)}for(var A=new Array(256),T=new Array(256),E=0;E<256;E++)A[E]=L(E)?1:0,T[E]=L(E);function O(M,X){this.input=M,this.filename=X.filename||null,this.schema=X.schema||o,this.onWarning=X.onWarning||null,this.legacy=X.legacy||!1,this.json=X.json||!1,this.listener=X.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=M.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function P(M,X){var ae={name:M.filename,buffer:M.input.slice(0,-1),position:M.position,line:M.line,column:M.position-M.lineStart};return ae.snippet=t(ae),new a(X,ae)}function R(M,X){throw P(M,X)}function F(M,X){M.onWarning&&M.onWarning.call(null,P(M,X))}var j={YAML:function(){function M(X,ae,ue){var ie,ge,Ce;X.version!==null&&R(X,"duplication of %YAML directive"),ue.length!==1&&R(X,"YAML directive accepts exactly one argument"),ie=/^([0-9]+)\.([0-9]+)$/.exec(ue[0]),ie===null&&R(X,"ill-formed argument of the YAML directive"),ge=parseInt(ie[1],10),Ce=parseInt(ie[2],10),ge!==1&&R(X,"unacceptable YAML version of the document"),X.version=ue[0],X.checkLineBreaks=Ce<2,Ce!==1&&Ce!==2&&F(X,"unsupported YAML version of the document")}return M}(),TAG:function(){function M(X,ae,ue){var ie,ge;ue.length!==2&&R(X,"TAG directive accepts exactly two arguments"),ie=ue[0],ge=ue[1],m.test(ie)||R(X,"ill-formed tag handle (first argument) of the TAG directive"),s.call(X.tagMap,ie)&&R(X,'there is a previously declared suffix for "'+ie+'" tag handle'),l.test(ge)||R(X,"ill-formed tag prefix (second argument) of the TAG directive");try{ge=decodeURIComponent(ge)}catch(Ce){R(X,"tag prefix is malformed: "+ge)}X.tagMap[ie]=ge}return M}()};function W(M,X,ae,ue){var ie,ge,Ce,Me;if(X1&&(M.result+=e.repeat("\n",X-1))}function he(M,X,ae){var ue,ie,ge,Ce,Me,De,ke,pe,se=M.kind,xe=M.result,_;if(_=M.input.charCodeAt(M.position),h(_)||C(_)||_===35||_===38||_===42||_===33||_===124||_===62||_===39||_===34||_===37||_===64||_===96||(_===63||_===45)&&(ie=M.input.charCodeAt(M.position+1),h(ie)||ae&&C(ie)))return!1;for(M.kind="scalar",M.result="",ge=Ce=M.position,Me=!1;_!==0;){if(_===58){if(ie=M.input.charCodeAt(M.position+1),h(ie)||ae&&C(ie))break}else if(_===35){if(ue=M.input.charCodeAt(M.position-1),h(ue))break}else{if(M.position===M.lineStart&&ne(M)||ae&&C(_))break;if(b(_))if(De=M.line,ke=M.lineStart,pe=M.lineIndent,G(M,!1,-1),M.lineIndent>=X){Me=!0,_=M.input.charCodeAt(M.position);continue}else{M.position=Ce,M.line=De,M.lineStart=ke,M.lineIndent=pe;break}}Me&&(W(M,ge,Ce,!1),Q(M,M.line-De),ge=Ce=M.position,Me=!1),N(_)||(Ce=M.position+1),_=M.input.charCodeAt(++M.position)}return W(M,ge,Ce,!1),M.result?!0:(M.kind=se,M.result=xe,!1)}function Ve(M,X){var ae,ue,ie;if(ae=M.input.charCodeAt(M.position),ae!==39)return!1;for(M.kind="scalar",M.result="",M.position++,ue=ie=M.position;(ae=M.input.charCodeAt(M.position))!==0;)if(ae===39)if(W(M,ue,M.position,!0),ae=M.input.charCodeAt(++M.position),ae===39)ue=M.position,M.position++,ie=M.position;else return!0;else b(ae)?(W(M,ue,ie,!0),Q(M,G(M,!1,X)),ue=ie=M.position):M.position===M.lineStart&&ne(M)?R(M,"unexpected end of the document within a single quoted scalar"):(M.position++,ie=M.position);R(M,"unexpected end of the stream within a single quoted scalar")}function Ne(M,X){var ae,ue,ie,ge,Ce,Me;if(Me=M.input.charCodeAt(M.position),Me!==34)return!1;for(M.kind="scalar",M.result="",M.position++,ae=ue=M.position;(Me=M.input.charCodeAt(M.position))!==0;){if(Me===34)return W(M,ae,M.position,!0),M.position++,!0;if(Me===92){if(W(M,ae,M.position,!0),Me=M.input.charCodeAt(++M.position),b(Me))G(M,!1,X);else if(Me<256&&A[Me])M.result+=T[Me],M.position++;else if((Ce=x(Me))>0){for(ie=Ce,ge=0;ie>0;ie--)Me=M.input.charCodeAt(++M.position),(Ce=g(Me))>=0?ge=(ge<<4)+Ce:R(M,"expected hexadecimal character");M.result+=w(ge),M.position++}else R(M,"unknown escape sequence");ae=ue=M.position}else b(Me)?(W(M,ae,ue,!0),Q(M,G(M,!1,X)),ae=ue=M.position):M.position===M.lineStart&&ne(M)?R(M,"unexpected end of the document within a double quoted scalar"):(M.position++,ue=M.position)}R(M,"unexpected end of the stream within a double quoted scalar")}function Be(M,X){var ae=!0,ue,ie,ge,Ce=M.tag,Me,De=M.anchor,ke,pe,se,xe,_,oe=Object.create(null),ve,Se,Ie,Ee;if(Ee=M.input.charCodeAt(M.position),Ee===91)pe=93,_=!1,Me=[];else if(Ee===123)pe=125,_=!0,Me={};else return!1;for(M.anchor!==null&&(M.anchorMap[M.anchor]=Me),Ee=M.input.charCodeAt(++M.position);Ee!==0;){if(G(M,!0,X),Ee=M.input.charCodeAt(M.position),Ee===pe)return M.position++,M.tag=Ce,M.anchor=De,M.kind=_?"mapping":"sequence",M.result=Me,!0;ae?Ee===44&&R(M,"expected the node content, but found ','"):R(M,"missed comma between flow collection entries"),Se=ve=Ie=null,se=xe=!1,Ee===63&&(ke=M.input.charCodeAt(M.position+1),h(ke)&&(se=xe=!0,M.position++,G(M,!0,X))),ue=M.line,ie=M.lineStart,ge=M.position,ee(M,X,y,!1,!0),Se=M.tag,ve=M.result,G(M,!0,X),Ee=M.input.charCodeAt(M.position),(xe||M.line===ue)&&Ee===58&&(se=!0,Ee=M.input.charCodeAt(++M.position),G(M,!0,X),ee(M,X,y,!1,!0),Ie=M.result),_?z(M,Me,oe,Se,ve,Ie,ue,ie,ge):se?Me.push(z(M,null,oe,Se,ve,Ie,ue,ie,ge)):Me.push(ve),G(M,!0,X),Ee=M.input.charCodeAt(M.position),Ee===44?(ae=!0,Ee=M.input.charCodeAt(++M.position)):ae=!1}R(M,"unexpected end of the stream within a flow collection")}function Le(M,X){var ae,ue,ie=p,ge=!1,Ce=!1,Me=X,De=0,ke=!1,pe,se;if(se=M.input.charCodeAt(M.position),se===124)ue=!1;else if(se===62)ue=!0;else return!1;for(M.kind="scalar",M.result="";se!==0;)if(se=M.input.charCodeAt(++M.position),se===43||se===45)p===ie?ie=se===43?c:i:R(M,"repeat of a chomping mode identifier");else if((pe=B(se))>=0)pe===0?R(M,"bad explicit indentation width of a block scalar; it cannot be less than one"):Ce?R(M,"repeat of an indentation width identifier"):(Me=X+pe-1,Ce=!0);else break;if(N(se)){do se=M.input.charCodeAt(++M.position);while(N(se));if(se===35)do se=M.input.charCodeAt(++M.position);while(!b(se)&&se!==0)}for(;se!==0;){for($(M),M.lineIndent=0,se=M.input.charCodeAt(M.position);(!Ce||M.lineIndentMe&&(Me=M.lineIndent),b(se)){De++;continue}if(M.lineIndentX)&&De!==0)R(M,"bad indentation of a sequence entry");else if(M.lineIndentX)&&(Se&&(Ce=M.line,Me=M.lineStart,De=M.position),ee(M,X,S,!0,ie)&&(Se?oe=M.result:ve=M.result),Se||(z(M,se,xe,_,oe,ve,Ce,Me,De),_=oe=ve=null),G(M,!0,-1),Ee=M.input.charCodeAt(M.position)),(M.line===ge||M.lineIndent>X)&&Ee!==0)R(M,"bad indentation of a mapping entry");else if(M.lineIndentX?De=1:M.lineIndent===X?De=0:M.lineIndentX?De=1:M.lineIndent===X?De=0:M.lineIndent tag; it should be "scalar", not "'+M.kind+'"'),se=0,xe=M.implicitTypes.length;se"),M.result!==null&&oe.kind!==M.kind&&R(M,"unacceptable node kind for !<"+M.tag+'> tag; it should be "'+oe.kind+'", not "'+M.kind+'"'),oe.resolve(M.result,M.tag)?(M.result=oe.construct(M.result,M.tag),M.anchor!==null&&(M.anchorMap[M.anchor]=M.result)):R(M,"cannot resolve a node with !<"+M.tag+"> explicit tag")}return M.listener!==null&&M.listener("close",M),M.tag!==null||M.anchor!==null||pe}function le(M){var X=M.position,ae,ue,ie,ge=!1,Ce;for(M.version=null,M.checkLineBreaks=M.legacy,M.tagMap=Object.create(null),M.anchorMap=Object.create(null);(Ce=M.input.charCodeAt(M.position))!==0&&(G(M,!0,-1),Ce=M.input.charCodeAt(M.position),!(M.lineIndent>0||Ce!==37));){for(ge=!0,Ce=M.input.charCodeAt(++M.position),ae=M.position;Ce!==0&&!h(Ce);)Ce=M.input.charCodeAt(++M.position);for(ue=M.input.slice(ae,M.position),ie=[],ue.length<1&&R(M,"directive name must not be less than one character in length");Ce!==0;){for(;N(Ce);)Ce=M.input.charCodeAt(++M.position);if(Ce===35){do Ce=M.input.charCodeAt(++M.position);while(Ce!==0&&!b(Ce));break}if(b(Ce))break;for(ae=M.position;Ce!==0&&!h(Ce);)Ce=M.input.charCodeAt(++M.position);ie.push(M.input.slice(ae,M.position))}Ce!==0&&$(M),s.call(j,ue)?j[ue](M,ue,ie):F(M,'unknown document directive "'+ue+'"')}if(G(M,!0,-1),M.lineIndent===0&&M.input.charCodeAt(M.position)===45&&M.input.charCodeAt(M.position+1)===45&&M.input.charCodeAt(M.position+2)===45?(M.position+=3,G(M,!0,-1)):ge&&R(M,"directives end mark is expected"),ee(M,M.lineIndent-1,S,!1,!0),G(M,!0,-1),M.checkLineBreaks&&u.test(M.input.slice(X,M.position))&&F(M,"non-ASCII line breaks are interpreted as content"),M.documents.push(M.result),M.position===M.lineStart&&ne(M)){M.input.charCodeAt(M.position)===46&&(M.position+=3,G(M,!0,-1));return}if(M.positionc&&(p=" ... ",y=k-c+p.length),V-k>c&&(i=" ...",V=k+c-i.length),{str:p+s.slice(y,V).replace(/\t/g,"\u2192")+i,pos:k-y+p.length}}function t(s,y){return e.repeat(" ",y-s.length)+s}function o(s,y){if(y=Object.create(y||null),!s.buffer)return null;y.maxLength||(y.maxLength=79),typeof y.indent!="number"&&(y.indent=1),typeof y.linesBefore!="number"&&(y.linesBefore=3),typeof y.linesAfter!="number"&&(y.linesAfter=2);for(var V=/\r?\n|\r|\0/g,k=[0],S=[],p,i=-1;p=V.exec(s.buffer);)S.push(p.index),k.push(p.index+p[0].length),s.position<=p.index&&i<0&&(i=k.length-2);i<0&&(i=k.length-1);var c="",f,u,d=Math.min(s.line+y.linesAfter,S.length).toString().length,m=y.maxLength-(y.indent+d+3);for(f=1;f<=y.linesBefore&&!(i-f<0);f++)u=a(s.buffer,k[i-f],S[i-f],s.position-(k[i]-k[i-f]),m),c=e.repeat(" ",y.indent)+t((s.line-f+1).toString(),d)+" | "+u.str+"\n"+c;for(u=a(s.buffer,k[i],S[i],s.position,m),c+=e.repeat(" ",y.indent)+t((s.line+1).toString(),d)+" | "+u.str+"\n",c+=e.repeat("-",y.indent+d+3+u.pos)+"^\n",f=1;f<=y.linesAfter&&!(i+f>=S.length);f++)u=a(s.buffer,k[i+f],S[i+f],s.position-(k[i]-k[i+f]),m),c+=e.repeat(" ",y.indent)+t((s.line+f+1).toString(),d)+" | "+u.str+"\n";return c.replace(/\n$/,"")}I.exports=o},92276:function(I,r,n){"use strict";var e=n(53127),a=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],t=["scalar","sequence","mapping"];function o(y){var V={};return y!==null&&Object.keys(y).forEach(function(k){y[k].forEach(function(S){V[String(S)]=k})}),V}function s(y,V){if(V=V||{},Object.keys(V).forEach(function(k){if(a.indexOf(k)===-1)throw new e('Unknown option "'+k+'" is met in definition of "'+y+'" YAML type.')}),this.options=V,this.tag=y,this.kind=V.kind||null,this.resolve=V.resolve||function(){return!0},this.construct=V.construct||function(k){return k},this.instanceOf=V.instanceOf||null,this.predicate=V.predicate||null,this.represent=V.represent||null,this.representName=V.representName||null,this.defaultStyle=V.defaultStyle||null,this.multi=V.multi||!1,this.styleAliases=o(V.styleAliases||null),t.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}I.exports=s},92806:function(I,r,n){"use strict";var e=n(92276),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function t(V){if(V===null)return!1;var k,S,p=0,i=V.length,c=a;for(S=0;S64)){if(k<0)return!1;p+=6}return p%8===0}function o(V){var k,S,p=V.replace(/[\r\n=]/g,""),i=p.length,c=a,f=0,u=[];for(k=0;k>16&255),u.push(f>>8&255),u.push(f&255)),f=f<<6|c.indexOf(p.charAt(k));return S=i%4*6,S===0?(u.push(f>>16&255),u.push(f>>8&255),u.push(f&255)):S===18?(u.push(f>>10&255),u.push(f>>2&255)):S===12&&u.push(f>>4&255),new Uint8Array(u)}function s(V){var k="",S=0,p,i,c=V.length,f=a;for(p=0;p>18&63],k+=f[S>>12&63],k+=f[S>>6&63],k+=f[S&63]),S=(S<<8)+V[p];return i=c%3,i===0?(k+=f[S>>18&63],k+=f[S>>12&63],k+=f[S>>6&63],k+=f[S&63]):i===2?(k+=f[S>>10&63],k+=f[S>>4&63],k+=f[S<<2&63],k+=f[64]):i===1&&(k+=f[S>>2&63],k+=f[S<<4&63],k+=f[64],k+=f[64]),k}function y(V){return Object.prototype.toString.call(V)==="[object Uint8Array]"}I.exports=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:t,construct:o,predicate:y,represent:s})},34015:function(I,r,n){"use strict";var e=n(92276);function a(s){if(s===null)return!1;var y=s.length;return y===4&&(s==="true"||s==="True"||s==="TRUE")||y===5&&(s==="false"||s==="False"||s==="FALSE")}function t(s){return s==="true"||s==="True"||s==="TRUE"}function o(s){return Object.prototype.toString.call(s)==="[object Boolean]"}I.exports=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:a,construct:t,predicate:o,represent:{lowercase:function(){function s(y){return y?"true":"false"}return s}(),uppercase:function(){function s(y){return y?"TRUE":"FALSE"}return s}(),camelcase:function(){function s(y){return y?"True":"False"}return s}()},defaultStyle:"lowercase"})},14589:function(I,r,n){"use strict";var e=n(11017),a=n(92276),t=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function o(S){return!(S===null||!t.test(S)||S[S.length-1]==="_")}function s(S){var p,i;return p=S.replace(/_/g,"").toLowerCase(),i=p[0]==="-"?-1:1,"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:i*parseFloat(p,10)}var y=/^[-+]?[0-9]+e/;function V(S,p){var i;if(isNaN(S))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===S)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===S)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(S))return"-0.0";return i=S.toString(10),y.test(i)?i.replace("e",".e"):i}function k(S){return Object.prototype.toString.call(S)==="[object Number]"&&(S%1!==0||e.isNegativeZero(S))}I.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:s,predicate:k,represent:V,defaultStyle:"lowercase"})},72826:function(I,r,n){"use strict";var e=n(11017),a=n(92276);function t(S){return 48<=S&&S<=57||65<=S&&S<=70||97<=S&&S<=102}function o(S){return 48<=S&&S<=55}function s(S){return 48<=S&&S<=57}function y(S){if(S===null)return!1;var p=S.length,i=0,c=!1,f;if(!p)return!1;if(f=S[i],(f==="-"||f==="+")&&(f=S[++i]),f==="0"){if(i+1===p)return!0;if(f=S[++i],f==="b"){for(i++;i=0?"0b"+p.toString(2):"-0b"+p.toString(2).slice(1)}return S}(),octal:function(){function S(p){return p>=0?"0o"+p.toString(8):"-0o"+p.toString(8).slice(1)}return S}(),decimal:function(){function S(p){return p.toString(10)}return S}(),hexadecimal:function(){function S(p){return p>=0?"0x"+p.toString(16).toUpperCase():"-0x"+p.toString(16).toUpperCase().slice(1)}return S}()},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},89769:function(I,r,n){"use strict";var e=n(92276);I.exports=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(){function a(t){return t!==null?t:{}}return a}()})},36947:function(I,r,n){"use strict";var e=n(92276);function a(t){return t==="<<"||t===null}I.exports=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:a})},30534:function(I,r,n){"use strict";var e=n(92276);function a(s){if(s===null)return!0;var y=s.length;return y===1&&s==="~"||y===4&&(s==="null"||s==="Null"||s==="NULL")}function t(){return null}function o(s){return s===null}I.exports=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:a,construct:t,predicate:o,represent:{canonical:function(){function s(){return"~"}return s}(),lowercase:function(){function s(){return"null"}return s}(),uppercase:function(){function s(){return"NULL"}return s}(),camelcase:function(){function s(){return"Null"}return s}(),empty:function(){function s(){return""}return s}()},defaultStyle:"lowercase"})},14250:function(I,r,n){"use strict";var e=n(92276),a=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function o(y){if(y===null)return!0;var V=[],k,S,p,i,c,f=y;for(k=0,S=f.length;k=0;--H){var z=this.tryEntries[H],$=z.completion;if(z.tryLoc==="root")return W("end");if(z.tryLoc<=this.prev){var G=a.call(z,"catchLoc"),ne=a.call(z,"finallyLoc");if(G&&ne){if(this.prev=0;--W){var H=this.tryEntries[W];if(H.tryLoc<=this.prev&&a.call(H,"finallyLoc")&&this.prev=0;--j){var W=this.tryEntries[j];if(W.finallyLoc===F)return this.complete(W.completion,W.afterLoc),T(W),m}}return R}(),catch:function(){function R(F){for(var j=this.tryEntries.length-1;j>=0;--j){var W=this.tryEntries[j];if(W.tryLoc===F){var H=W.completion;if(H.type==="throw"){var z=H.arg;T(W)}return z}}throw new Error("illegal catch attempt")}return R}(),delegateYield:function(){function R(F,j,W){return this.delegate={iterator:O(F),resultName:j,nextLoc:W},this.method==="next"&&(this.arg=o),m}return R}()},n}(I.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(I,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},s=function(){function V(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function k(){return Promise.resolve(a.responseText)}return k}(),json:function(){function k(){return Promise.resolve(a.responseText).then(JSON.parse)}return k}(),blob:function(){function k(){return Promise.resolve(new Blob([a.response]))}return k}(),clone:V,headers:{keys:function(){function k(){return t}return k}(),entries:function(){function k(){return t.map(function(S){return[S,a.getResponseHeader(S)]})}return k}(),get:function(){function k(S){return a.getResponseHeader(S)}return k}(),has:function(){function k(S){return a.getResponseHeader(S)!=null}return k}()}}}return V}();for(var y in a.open(r.method||"get",I,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(V,k){o[k]||t.push(o[k]=k)}),n(s())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(y,r.headers[y]);a.send(r.body||null)})})},88510:function(I,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(l,v){var b=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(b)return(b=b.call(l)).next.bind(b);if(Array.isArray(l)||(b=e(l))||v&&l&&typeof l.length=="number"){b&&(l=b);var N=0;return function(){return N>=l.length?{done:!0}:{done:!1,value:l[N++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(l,v){if(l){if(typeof l=="string")return a(l,v);var b={}.toString.call(l).slice(8,-1);return b==="Object"&&l.constructor&&(b=l.constructor.name),b==="Map"||b==="Set"?Array.from(l):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?a(l,v):void 0}}function a(l,v){(v==null||v>l.length)&&(v=l.length);for(var b=0,N=Array(v);b0&&(0,a.round)(p.width)/V.offsetWidth||1,c=V.offsetHeight>0&&(0,a.round)(p.height)/V.offsetHeight||1);var m=(0,e.isElement)(V)?(0,t.default)(V):window,u=m.visualViewport,d=!(0,o.default)()&&S,f=(p.left+(d&&u?u.offsetLeft:0))/i,l=(p.top+(d&&u?u.offsetTop:0))/c,v=p.width/i,b=p.height/c;return{width:v,height:b,top:l,right:f+v,bottom:l+b,left:f,x:f,y:l}}},49035:function(I,r,n){"use strict";r.__esModule=!0,r.default=b;var e=n(46206),a=d(n(87991)),t=d(n(79752)),o=d(n(98309)),s=d(n(44896)),y=d(n(40600)),V=d(n(16599)),k=n(75573),S=d(n(37786)),p=d(n(57819)),i=d(n(4206)),c=d(n(12972)),m=d(n(81666)),u=n(63618);function d(g){return g&&g.__esModule?g:{default:g}}function f(g,h){var C=(0,S.default)(g,!1,h==="fixed");return C.top=C.top+g.clientTop,C.left=C.left+g.clientLeft,C.bottom=C.top+g.clientHeight,C.right=C.left+g.clientWidth,C.width=g.clientWidth,C.height=g.clientHeight,C.x=C.left,C.y=C.top,C}function l(g,h,C){return h===e.viewport?(0,m.default)((0,a.default)(g,C)):(0,k.isElement)(h)?f(h,C):(0,m.default)((0,t.default)((0,y.default)(g)))}function v(g){var h=(0,o.default)((0,p.default)(g)),C=["absolute","fixed"].indexOf((0,V.default)(g).position)>=0,N=C&&(0,k.isHTMLElement)(g)?(0,s.default)(g):g;return(0,k.isElement)(N)?h.filter(function(x){return(0,k.isElement)(x)&&(0,i.default)(x,N)&&(0,c.default)(x)!=="body"}):[]}function b(g,h,C,N){var x=h==="clippingParents"?v(g):[].concat(h),B=[].concat(x,[C]),L=B[0],w=B.reduce(function(A,T){var E=l(g,T,N);return A.top=(0,u.max)(E.top,A.top),A.right=(0,u.min)(E.right,A.right),A.bottom=(0,u.min)(E.bottom,A.bottom),A.left=(0,u.max)(E.left,A.left),A},l(g,L,N));return w.width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w}},74758:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=S(n(37786)),a=S(n(13390)),t=S(n(12972)),o=n(75573),s=S(n(79697)),y=S(n(40600)),V=S(n(10798)),k=n(63618);function S(c){return c&&c.__esModule?c:{default:c}}function p(c){var m=c.getBoundingClientRect(),u=(0,k.round)(m.width)/c.offsetWidth||1,d=(0,k.round)(m.height)/c.offsetHeight||1;return u!==1||d!==1}function i(c,m,u){u===void 0&&(u=!1);var d=(0,o.isHTMLElement)(m),f=(0,o.isHTMLElement)(m)&&p(m),l=(0,y.default)(m),v=(0,e.default)(c,f,u),b={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(d||!d&&!u)&&(((0,t.default)(m)!=="body"||(0,V.default)(l))&&(b=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(g=(0,e.default)(m,!0),g.x+=m.clientLeft,g.y+=m.clientTop):l&&(g.x=(0,s.default)(l))),{x:v.left+b.scrollLeft-g.x,y:v.top+b.scrollTop-g.y,width:v.width,height:v.height}}},16599:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(I,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(I,r,n){"use strict";r.__esModule=!0,r.default=V;var e=y(n(40600)),a=y(n(16599)),t=y(n(79697)),o=y(n(43750)),s=n(63618);function y(k){return k&&k.__esModule?k:{default:k}}function V(k){var S,p=(0,e.default)(k),i=(0,o.default)(k),c=(S=k.ownerDocument)==null?void 0:S.body,m=(0,s.max)(p.scrollWidth,p.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,s.max)(p.scrollHeight,p.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),d=-i.scrollLeft+(0,t.default)(k),f=-i.scrollTop;return(0,a.default)(c||p).direction==="rtl"&&(d+=(0,s.max)(p.clientWidth,c?c.clientWidth:0)-m),{width:m,height:u,x:d,y:f}}},3073:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=o.offsetWidth,V=o.offsetHeight;return Math.abs(s.width-y)<=1&&(y=s.width),Math.abs(s.height-V)<=1&&(V=s.height),{x:o.offsetLeft,y:o.offsetTop,width:y,height:V}}},12972:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(43750)),a=s(n(95115)),t=n(75573),o=s(n(3073));function s(V){return V&&V.__esModule?V:{default:V}}function y(V){return V===(0,a.default)(V)||!(0,t.isHTMLElement)(V)?(0,e.default)(V):(0,o.default)(V)}},44896:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=k(n(95115)),a=k(n(12972)),t=k(n(16599)),o=n(75573),s=k(n(87031)),y=k(n(57819)),V=k(n(35366));function k(c){return c&&c.__esModule?c:{default:c}}function S(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function p(c){var m=/firefox/i.test((0,V.default)()),u=/Trident/i.test((0,V.default)());if(u&&(0,o.isHTMLElement)(c)){var d=(0,t.default)(c);if(d.position==="fixed")return null}var f=(0,y.default)(c);for((0,o.isShadowRoot)(f)&&(f=f.host);(0,o.isHTMLElement)(f)&&["html","body"].indexOf((0,a.default)(f))<0;){var l=(0,t.default)(f);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||m&&l.willChange==="filter"||m&&l.filter&&l.filter!=="none")return f;f=f.parentNode}return null}function i(c){for(var m=(0,e.default)(c),u=S(c);u&&(0,s.default)(u)&&(0,t.default)(u).position==="static";)u=S(u);return u&&((0,a.default)(u)==="html"||(0,a.default)(u)==="body"&&(0,t.default)(u).position==="static")?m:u||p(c)||m}},57819:function(I,r,n){"use strict";r.__esModule=!0,r.default=s;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(y){return y&&y.__esModule?y:{default:y}}function s(y){return(0,e.default)(y)==="html"?y:y.assignedSlot||y.parentNode||((0,t.isShadowRoot)(y)?y.host:null)||(0,a.default)(y)}},24426:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(57819)),a=s(n(10798)),t=s(n(12972)),o=n(75573);function s(V){return V&&V.__esModule?V:{default:V}}function y(V){return["html","body","#document"].indexOf((0,t.default)(V))>=0?V.ownerDocument.body:(0,o.isHTMLElement)(V)&&(0,a.default)(V)?V:y((0,e.default)(V))}},87991:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(95115)),a=s(n(40600)),t=s(n(79697)),o=s(n(89331));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){var S=(0,e.default)(V),p=(0,a.default)(V),i=S.visualViewport,c=p.clientWidth,m=p.clientHeight,u=0,d=0;if(i){c=i.width,m=i.height;var f=(0,o.default)();(f||!f&&k==="fixed")&&(u=i.offsetLeft,d=i.offsetTop)}return{width:c,height:m,x:u+(0,t.default)(V),y:d}}},95115:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=s.pageXOffset,V=s.pageYOffset;return{scrollLeft:y,scrollTop:V}}},79697:function(I,r,n){"use strict";r.__esModule=!0,r.default=s;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(y){return y&&y.__esModule?y:{default:y}}function s(y){return(0,e.default)((0,a.default)(y)).left+(0,t.default)(y).scrollLeft}},75573:function(I,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=s;var e=a(n(95115));function a(y){return y&&y.__esModule?y:{default:y}}function t(y){var V=(0,e.default)(y).Element;return y instanceof V||y instanceof Element}function o(y){var V=(0,e.default)(y).HTMLElement;return y instanceof V||y instanceof HTMLElement}function s(y){if(typeof ShadowRoot=="undefined")return!1;var V=(0,e.default)(y).ShadowRoot;return y instanceof V||y instanceof ShadowRoot}},89331:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var s=(0,e.default)(o),y=s.overflow,V=s.overflowX,k=s.overflowY;return/auto|scroll|overlay|hidden/.test(y+k+V)}},87031:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(24426)),a=s(n(57819)),t=s(n(95115)),o=s(n(10798));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){var S;k===void 0&&(k=[]);var p=(0,e.default)(V),i=p===((S=V.ownerDocument)==null?void 0:S.body),c=(0,t.default)(p),m=i?[c].concat(c.visualViewport||[],(0,o.default)(p)?p:[]):p,u=k.concat(m);return i?u:u.concat(y((0,a.default)(m)))}},46206:function(I,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",s=r.basePlacements=[n,e,a,t],y=r.start="start",V=r.end="end",k=r.clippingParents="clippingParents",S=r.viewport="viewport",p=r.popper="popper",i=r.reference="reference",c=r.variationPlacements=s.reduce(function(x,B){return x.concat([B+"-"+y,B+"-"+V])},[]),m=r.placements=[].concat(s,[o]).reduce(function(x,B){return x.concat([B,B+"-"+y,B+"-"+V])},[]),u=r.beforeRead="beforeRead",d=r.read="read",f=r.afterRead="afterRead",l=r.beforeMain="beforeMain",v=r.main="main",b=r.afterMain="afterMain",g=r.beforeWrite="beforeWrite",h=r.write="write",C=r.afterWrite="afterWrite",N=r.modifierPhases=[u,d,f,l,v,b,g,h,C]},95996:function(I,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(V){V==="default"||V==="__esModule"||Object.prototype.hasOwnProperty.call(e,V)||V in r&&r[V]===a[V]||(r[V]=a[V])});var t=n(39805);Object.keys(t).forEach(function(V){V==="default"||V==="__esModule"||Object.prototype.hasOwnProperty.call(e,V)||V in r&&r[V]===t[V]||(r[V]=t[V])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var s=n(83312);r.createPopper=s.createPopper;var y=n(2473);r.createPopperLite=y.createPopper},19975:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(V){return V&&V.__esModule?V:{default:V}}function o(V){var k=V.state;Object.keys(k.elements).forEach(function(S){var p=k.styles[S]||{},i=k.attributes[S]||{},c=k.elements[S];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,p),Object.keys(i).forEach(function(m){var u=i[m];u===!1?c.removeAttribute(m):c.setAttribute(m,u===!0?"":u)}))})}function s(V){var k=V.state,S={popper:{position:k.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(k.elements.popper.style,S.popper),k.styles=S,k.elements.arrow&&Object.assign(k.elements.arrow.style,S.arrow),function(){Object.keys(k.elements).forEach(function(p){var i=k.elements[p],c=k.attributes[p]||{},m=Object.keys(k.styles.hasOwnProperty(p)?k.styles[p]:S[p]),u=m.reduce(function(d,f){return d[f]="",d},{});!(0,a.isHTMLElement)(i)||!(0,e.default)(i)||(Object.assign(i.style,u),Object.keys(c).forEach(function(d){i.removeAttribute(d)}))})}}var y=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:s,requires:["computeStyles"]}},52744:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=p(n(83104)),a=p(n(28811)),t=p(n(4206)),o=p(n(44896)),s=p(n(41199)),y=n(28595),V=p(n(43286)),k=p(n(81447)),S=n(46206);function p(d){return d&&d.__esModule?d:{default:d}}var i=function(){function d(f,l){return f=typeof f=="function"?f(Object.assign({},l.rects,{placement:l.placement})):f,(0,V.default)(typeof f!="number"?f:(0,k.default)(f,S.basePlacements))}return d}();function c(d){var f,l=d.state,v=d.name,b=d.options,g=l.elements.arrow,h=l.modifiersData.popperOffsets,C=(0,e.default)(l.placement),N=(0,s.default)(C),x=[S.left,S.right].indexOf(C)>=0,B=x?"height":"width";if(!(!g||!h)){var L=i(b.padding,l),w=(0,a.default)(g),A=N==="y"?S.top:S.left,T=N==="y"?S.bottom:S.right,E=l.rects.reference[B]+l.rects.reference[N]-h[N]-l.rects.popper[B],O=h[N]-l.rects.reference[N],P=(0,o.default)(g),R=P?N==="y"?P.clientHeight||0:P.clientWidth||0:0,F=E/2-O/2,j=L[A],W=R-w[B]-L[T],H=R/2-w[B]/2+F,z=(0,y.within)(j,H,W),Y=N;l.modifiersData[v]=(f={},f[Y]=z,f.centerOffset=z-H,f)}}function m(d){var f=d.state,l=d.options,v=l.element,b=v===void 0?"[data-popper-arrow]":v;b!=null&&(typeof b=="string"&&(b=f.elements.popper.querySelector(b),!b)||(0,t.default)(f.elements.popper,b)&&(f.elements.arrow=b))}var u=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=S(n(44896)),t=S(n(95115)),o=S(n(40600)),s=S(n(16599)),y=S(n(83104)),V=S(n(45)),k=n(63618);function S(d){return d&&d.__esModule?d:{default:d}}var p={top:"auto",right:"auto",bottom:"auto",left:"auto"};function i(d,f){var l=d.x,v=d.y,b=f.devicePixelRatio||1;return{x:(0,k.round)(l*b)/b||0,y:(0,k.round)(v*b)/b||0}}function c(d){var f,l=d.popper,v=d.popperRect,b=d.placement,g=d.variation,h=d.offsets,C=d.position,N=d.gpuAcceleration,x=d.adaptive,B=d.roundOffsets,L=d.isFixed,w=h.x,A=w===void 0?0:w,T=h.y,E=T===void 0?0:T,O=typeof B=="function"?B({x:A,y:E}):{x:A,y:E};A=O.x,E=O.y;var P=h.hasOwnProperty("x"),R=h.hasOwnProperty("y"),F=e.left,j=e.top,W=window;if(x){var H=(0,a.default)(l),z="clientHeight",Y="clientWidth";if(H===(0,t.default)(l)&&(H=(0,o.default)(l),(0,s.default)(H).position!=="static"&&C==="absolute"&&(z="scrollHeight",Y="scrollWidth")),H=H,b===e.top||(b===e.left||b===e.right)&&g===e.end){j=e.bottom;var G=L&&H===W&&W.visualViewport?W.visualViewport.height:H[z];E-=G-v.height,E*=N?1:-1}if(b===e.left||(b===e.top||b===e.bottom)&&g===e.end){F=e.right;var ne=L&&H===W&&W.visualViewport?W.visualViewport.width:H[Y];A-=ne-v.width,A*=N?1:-1}}var Q=Object.assign({position:C},x&&p),he=B===!0?i({x:A,y:E},(0,t.default)(l)):{x:A,y:E};if(A=he.x,E=he.y,N){var Ve;return Object.assign({},Q,(Ve={},Ve[j]=R?"0":"",Ve[F]=P?"0":"",Ve.transform=(W.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",Ve))}return Object.assign({},Q,(f={},f[j]=R?E+"px":"",f[F]=P?A+"px":"",f.transform="",f))}function m(d){var f=d.state,l=d.options,v=l.gpuAcceleration,b=v===void 0?!0:v,g=l.adaptive,h=g===void 0?!0:g,C=l.roundOffsets,N=C===void 0?!0:C,x={placement:(0,y.default)(f.placement),variation:(0,V.default)(f.placement),popper:f.elements.popper,popperRect:f.rects.popper,gpuAcceleration:b,isFixed:f.options.strategy==="fixed"};f.modifiersData.popperOffsets!=null&&(f.styles.popper=Object.assign({},f.styles.popper,c(Object.assign({},x,{offsets:f.modifiersData.popperOffsets,position:f.options.strategy,adaptive:h,roundOffsets:N})))),f.modifiersData.arrow!=null&&(f.styles.arrow=Object.assign({},f.styles.arrow,c(Object.assign({},x,{offsets:f.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:N})))),f.attributes.popper=Object.assign({},f.attributes.popper,{"data-popper-placement":f.placement})}var u=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},36692:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(y){return y&&y.__esModule?y:{default:y}}var t={passive:!0};function o(y){var V=y.state,k=y.instance,S=y.options,p=S.scroll,i=p===void 0?!0:p,c=S.resize,m=c===void 0?!0:c,u=(0,e.default)(V.elements.popper),d=[].concat(V.scrollParents.reference,V.scrollParents.popper);return i&&d.forEach(function(f){f.addEventListener("scroll",k.update,t)}),m&&u.addEventListener("resize",k.update,t),function(){i&&d.forEach(function(f){f.removeEventListener("scroll",k.update,t)}),m&&u.removeEventListener("resize",k.update,t)}}var s=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function y(){}return y}(),effect:o,data:{}}},23798:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=k(n(71376)),a=k(n(83104)),t=k(n(86459)),o=k(n(17633)),s=k(n(9041)),y=n(46206),V=k(n(45));function k(c){return c&&c.__esModule?c:{default:c}}function S(c){if((0,a.default)(c)===y.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function p(c){var m=c.state,u=c.options,d=c.name;if(!m.modifiersData[d]._skip){for(var f=u.mainAxis,l=f===void 0?!0:f,v=u.altAxis,b=v===void 0?!0:v,g=u.fallbackPlacements,h=u.padding,C=u.boundary,N=u.rootBoundary,x=u.altBoundary,B=u.flipVariations,L=B===void 0?!0:B,w=u.allowedAutoPlacements,A=m.options.placement,T=(0,a.default)(A),E=T===A,O=g||(E||!L?[(0,e.default)(A)]:S(A)),P=[A].concat(O).reduce(function(te,ee){return te.concat((0,a.default)(ee)===y.auto?(0,s.default)(m,{placement:ee,boundary:C,rootBoundary:N,padding:h,flipVariations:L,allowedAutoPlacements:w}):ee)},[]),R=m.rects.reference,F=m.rects.popper,j=new Map,W=!0,H=P[0],z=0;z=0,he=Q?"width":"height",Ve=(0,o.default)(m,{placement:Y,boundary:C,rootBoundary:N,altBoundary:x,padding:h}),Ne=Q?ne?y.right:y.left:ne?y.bottom:y.top;R[he]>F[he]&&(Ne=(0,e.default)(Ne));var Be=(0,e.default)(Ne),Le=[];if(l&&Le.push(Ve[G]<=0),b&&Le.push(Ve[Ne]<=0,Ve[Be]<=0),Le.every(function(te){return te})){H=Y,W=!1;break}j.set(Y,Le)}if(W)for(var Ae=L?3:1,fe=function(){function te(ee){var le=P.find(function(ye){var me=j.get(ye);if(me)return me.slice(0,ee).every(function(Te){return Te})});if(le)return H=le,"break"}return te}(),Z=Ae;Z>0;Z--){var J=fe(Z);if(J==="break")break}m.placement!==H&&(m.modifiersData[d]._skip=!0,m.placement=H,m.reset=!0)}}var i=r.default={name:"flip",enabled:!0,phase:"main",fn:p,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(k){return k&&k.__esModule?k:{default:k}}function o(k,S,p){return p===void 0&&(p={x:0,y:0}),{top:k.top-S.height-p.y,right:k.right-S.width+p.x,bottom:k.bottom-S.height+p.y,left:k.left-S.width-p.x}}function s(k){return[e.top,e.right,e.bottom,e.left].some(function(S){return k[S]>=0})}function y(k){var S=k.state,p=k.name,i=S.rects.reference,c=S.rects.popper,m=S.modifiersData.preventOverflow,u=(0,a.default)(S,{elementContext:"reference"}),d=(0,a.default)(S,{altBoundary:!0}),f=o(u,i),l=o(d,c,m),v=s(f),b=s(l);S.modifiersData[p]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:v,hasPopperEscaped:b},S.attributes.popper=Object.assign({},S.attributes.popper,{"data-popper-reference-hidden":v,"data-popper-escaped":b})}var V=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:y}},39805:function(I,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=p(n(19975));r.applyStyles=e.default;var a=p(n(52744));r.arrow=a.default;var t=p(n(59894));r.computeStyles=t.default;var o=p(n(36692));r.eventListeners=o.default;var s=p(n(23798));r.flip=s.default;var y=p(n(83761));r.hide=y.default;var V=p(n(61410));r.offset=V.default;var k=p(n(40107));r.popperOffsets=k.default;var S=p(n(75137));r.preventOverflow=S.default;function p(i){return i&&i.__esModule?i:{default:i}}},61410:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(V){return V&&V.__esModule?V:{default:V}}function o(V,k,S){var p=(0,e.default)(V),i=[a.left,a.top].indexOf(p)>=0?-1:1,c=typeof S=="function"?S(Object.assign({},k,{placement:V})):S,m=c[0],u=c[1];return m=m||0,u=(u||0)*i,[a.left,a.right].indexOf(p)>=0?{x:u,y:m}:{x:m,y:u}}function s(V){var k=V.state,S=V.options,p=V.name,i=S.offset,c=i===void 0?[0,0]:i,m=a.placements.reduce(function(l,v){return l[v]=o(v,k.rects,c),l},{}),u=m[k.placement],d=u.x,f=u.y;k.modifiersData.popperOffsets!=null&&(k.modifiersData.popperOffsets.x+=d,k.modifiersData.popperOffsets.y+=f),k.modifiersData[p]=m}var y=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:s}},40107:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(s){return s&&s.__esModule?s:{default:s}}function t(s){var y=s.state,V=s.name;y.modifiersData[V]=(0,e.default)({reference:y.rects.reference,element:y.rects.popper,strategy:"absolute",placement:y.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(I,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),s=n(28595),y=c(n(28811)),V=c(n(44896)),k=c(n(17633)),S=c(n(45)),p=c(n(34780)),i=n(63618);function c(d){return d&&d.__esModule?d:{default:d}}function m(d){var f=d.state,l=d.options,v=d.name,b=l.mainAxis,g=b===void 0?!0:b,h=l.altAxis,C=h===void 0?!1:h,N=l.boundary,x=l.rootBoundary,B=l.altBoundary,L=l.padding,w=l.tether,A=w===void 0?!0:w,T=l.tetherOffset,E=T===void 0?0:T,O=(0,k.default)(f,{boundary:N,rootBoundary:x,padding:L,altBoundary:B}),P=(0,a.default)(f.placement),R=(0,S.default)(f.placement),F=!R,j=(0,t.default)(P),W=(0,o.default)(j),H=f.modifiersData.popperOffsets,z=f.rects.reference,Y=f.rects.popper,G=typeof E=="function"?E(Object.assign({},f.rects,{placement:f.placement})):E,ne=typeof G=="number"?{mainAxis:G,altAxis:G}:Object.assign({mainAxis:0,altAxis:0},G),Q=f.modifiersData.offset?f.modifiersData.offset[f.placement]:null,he={x:0,y:0};if(H){if(g){var Ve,Ne=j==="y"?e.top:e.left,Be=j==="y"?e.bottom:e.right,Le=j==="y"?"height":"width",Ae=H[j],fe=Ae+O[Ne],Z=Ae-O[Be],J=A?-Y[Le]/2:0,te=R===e.start?z[Le]:Y[Le],ee=R===e.start?-Y[Le]:-z[Le],le=f.elements.arrow,ye=A&&le?(0,y.default)(le):{width:0,height:0},me=f.modifiersData["arrow#persistent"]?f.modifiersData["arrow#persistent"].padding:(0,p.default)(),Te=me[Ne],M=me[Be],X=(0,s.within)(0,z[Le],ye[Le]),ae=F?z[Le]/2-J-X-Te-ne.mainAxis:te-X-Te-ne.mainAxis,ue=F?-z[Le]/2+J+X+M+ne.mainAxis:ee+X+M+ne.mainAxis,ie=f.elements.arrow&&(0,V.default)(f.elements.arrow),ge=ie?j==="y"?ie.clientTop||0:ie.clientLeft||0:0,Ce=(Ve=Q==null?void 0:Q[j])!=null?Ve:0,Me=Ae+ae-Ce-ge,De=Ae+ue-Ce,ke=(0,s.within)(A?(0,i.min)(fe,Me):fe,Ae,A?(0,i.max)(Z,De):Z);H[j]=ke,he[j]=ke-Ae}if(C){var pe,se=j==="x"?e.top:e.left,xe=j==="x"?e.bottom:e.right,_=H[W],oe=W==="y"?"height":"width",ve=_+O[se],Se=_-O[xe],Ie=[e.top,e.left].indexOf(P)!==-1,Ee=(pe=Q==null?void 0:Q[W])!=null?pe:0,Pe=Ie?ve:_-z[oe]-Y[oe]-Ee+ne.altAxis,Oe=Ie?_+z[oe]+Y[oe]-Ee-ne.altAxis:Se,We=A&&Ie?(0,s.withinMaxClamp)(Pe,_,Oe):(0,s.within)(A?Pe:ve,_,A?Oe:Se);H[W]=We,he[W]=We-_}f.modifiersData[v]=he}}var u=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},2473:function(I,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=y(n(36692)),t=y(n(40107)),o=y(n(59894)),s=y(n(19975));function y(S){return S&&S.__esModule?S:{default:S}}var V=r.defaultModifiers=[a.default,t.default,o.default,s.default],k=r.createPopper=(0,e.popperGenerator)({defaultModifiers:V})},83312:function(I,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=u(n(36692)),o=u(n(40107)),s=u(n(59894)),y=u(n(19975)),V=u(n(61410)),k=u(n(23798)),S=u(n(75137)),p=u(n(52744)),i=u(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var m=n(39805);Object.keys(m).forEach(function(l){l==="default"||l==="__esModule"||Object.prototype.hasOwnProperty.call(e,l)||l in r&&r[l]===m[l]||(r[l]=m[l])});function u(l){return l&&l.__esModule?l:{default:l}}var d=r.defaultModifiers=[t.default,o.default,s.default,y.default,V.default,k.default,S.default,p.default,i.default],f=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:d})},9041:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(45)),a=n(46206),t=s(n(17633)),o=s(n(83104));function s(V){return V&&V.__esModule?V:{default:V}}function y(V,k){k===void 0&&(k={});var S=k,p=S.placement,i=S.boundary,c=S.rootBoundary,m=S.padding,u=S.flipVariations,d=S.allowedAutoPlacements,f=d===void 0?a.placements:d,l=(0,e.default)(p),v=l?u?a.variationPlacements:a.variationPlacements.filter(function(h){return(0,e.default)(h)===l}):a.basePlacements,b=v.filter(function(h){return f.indexOf(h)>=0});b.length===0&&(b=v);var g=b.reduce(function(h,C){return h[C]=(0,t.default)(V,{placement:C,boundary:i,rootBoundary:c,padding:m})[(0,o.default)(C)],h},{});return Object.keys(g).sort(function(h,C){return g[h]-g[C]})}},89951:function(I,r,n){"use strict";r.__esModule=!0,r.default=y;var e=s(n(83104)),a=s(n(45)),t=s(n(41199)),o=n(46206);function s(V){return V&&V.__esModule?V:{default:V}}function y(V){var k=V.reference,S=V.element,p=V.placement,i=p?(0,e.default)(p):null,c=p?(0,a.default)(p):null,m=k.x+k.width/2-S.width/2,u=k.y+k.height/2-S.height/2,d;switch(i){case o.top:d={x:m,y:k.y-S.height};break;case o.bottom:d={x:m,y:k.y+k.height};break;case o.right:d={x:k.x+k.width,y:u};break;case o.left:d={x:k.x-S.width,y:u};break;default:d={x:k.x,y:k.y}}var f=i?(0,t.default)(i):null;if(f!=null){var l=f==="y"?"height":"width";switch(c){case o.start:d[f]=d[f]-(k[l]/2-S[l]/2);break;case o.end:d[f]=d[f]+(k[l]/2-S[l]/2);break;default:}}return d}},10579:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(I,r,n){"use strict";r.__esModule=!0,r.default=i;var e=p(n(49035)),a=p(n(40600)),t=p(n(37786)),o=p(n(89951)),s=p(n(81666)),y=n(46206),V=n(75573),k=p(n(43286)),S=p(n(81447));function p(c){return c&&c.__esModule?c:{default:c}}function i(c,m){m===void 0&&(m={});var u=m,d=u.placement,f=d===void 0?c.placement:d,l=u.strategy,v=l===void 0?c.strategy:l,b=u.boundary,g=b===void 0?y.clippingParents:b,h=u.rootBoundary,C=h===void 0?y.viewport:h,N=u.elementContext,x=N===void 0?y.popper:N,B=u.altBoundary,L=B===void 0?!1:B,w=u.padding,A=w===void 0?0:w,T=(0,k.default)(typeof A!="number"?A:(0,S.default)(A,y.basePlacements)),E=x===y.popper?y.reference:y.popper,O=c.rects.popper,P=c.elements[L?E:x],R=(0,e.default)((0,V.isElement)(P)?P:P.contextElement||(0,a.default)(c.elements.popper),g,C,v),F=(0,t.default)(c.elements.reference),j=(0,o.default)({reference:F,element:O,strategy:"absolute",placement:f}),W=(0,s.default)(Object.assign({},O,j)),H=x===y.popper?W:F,z={top:R.top-H.top+T.top,bottom:H.bottom-R.bottom+T.bottom,left:R.left-H.left+T.left,right:H.right-R.right+T.right},Y=c.modifiersData.offset;if(x===y.popper&&Y){var G=Y[f];Object.keys(z).forEach(function(ne){var Q=[y.right,y.bottom].indexOf(ne)>=0?1:-1,he=[y.top,y.bottom].indexOf(ne)>=0?"y":"x";z[ne]+=G[he]*Q})}return z}},81447:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(I,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(I,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(I,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(I,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var s=t[o.name];return t[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(I,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var s=new Map,y=new Set,V=[];o.forEach(function(S){s.set(S.name,S)});function k(S){y.add(S.name);var p=[].concat(S.requires||[],S.requiresIfExists||[]);p.forEach(function(i){if(!y.has(i)){var c=s.get(i);c&&k(c)}}),V.push(S)}return o.forEach(function(S){y.has(S.name)||k(S)}),V}function t(o){var s=a(o);return e.modifierPhases.reduce(function(y,V){return y.concat(s.filter(function(k){return k.phase===V}))},[])}},81666:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(I,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(I,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,s,y){return(0,e.max)(o,(0,e.min)(s,y))}function t(o,s,y){var V=a(o,s,y);return V>y?y:V}},83331:function(I,r,n){"use strict";var e;function a(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?a=function(){function o(s){return typeof s}return o}():a=function(){function o(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s}return o}(),a(t)}(function(t){var o=arguments,s=function(){var i=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,c=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,m=/[^-+\dA-Z]/g;return function(u,d,f,l){if(o.length===1&&p(u)==="string"&&!/\d/.test(u)&&(d=u,u=void 0),u=u||u===0?u:new Date,u instanceof Date||(u=new Date(u)),isNaN(u))throw TypeError("Invalid date");d=String(s.masks[d]||d||s.masks.default);var v=d.slice(0,4);(v==="UTC:"||v==="GMT:")&&(d=d.slice(4),f=!0,v==="GMT:"&&(l=!0));var b=function(){function P(){return f?"getUTC":"get"}return P}(),g=function(){function P(){return u[b()+"Date"]()}return P}(),h=function(){function P(){return u[b()+"Day"]()}return P}(),C=function(){function P(){return u[b()+"Month"]()}return P}(),N=function(){function P(){return u[b()+"FullYear"]()}return P}(),x=function(){function P(){return u[b()+"Hours"]()}return P}(),B=function(){function P(){return u[b()+"Minutes"]()}return P}(),L=function(){function P(){return u[b()+"Seconds"]()}return P}(),w=function(){function P(){return u[b()+"Milliseconds"]()}return P}(),A=function(){function P(){return f?0:u.getTimezoneOffset()}return P}(),T=function(){function P(){return k(u)}return P}(),E=function(){function P(){return S(u)}return P}(),O={d:function(){function P(){return g()}return P}(),dd:function(){function P(){return y(g())}return P}(),ddd:function(){function P(){return s.i18n.dayNames[h()]}return P}(),DDD:function(){function P(){return V({y:N(),m:C(),d:g(),_:b(),dayName:s.i18n.dayNames[h()],short:!0})}return P}(),dddd:function(){function P(){return s.i18n.dayNames[h()+7]}return P}(),DDDD:function(){function P(){return V({y:N(),m:C(),d:g(),_:b(),dayName:s.i18n.dayNames[h()+7]})}return P}(),m:function(){function P(){return C()+1}return P}(),mm:function(){function P(){return y(C()+1)}return P}(),mmm:function(){function P(){return s.i18n.monthNames[C()]}return P}(),mmmm:function(){function P(){return s.i18n.monthNames[C()+12]}return P}(),yy:function(){function P(){return String(N()).slice(2)}return P}(),yyyy:function(){function P(){return y(N(),4)}return P}(),h:function(){function P(){return x()%12||12}return P}(),hh:function(){function P(){return y(x()%12||12)}return P}(),H:function(){function P(){return x()}return P}(),HH:function(){function P(){return y(x())}return P}(),M:function(){function P(){return B()}return P}(),MM:function(){function P(){return y(B())}return P}(),s:function(){function P(){return L()}return P}(),ss:function(){function P(){return y(L())}return P}(),l:function(){function P(){return y(w(),3)}return P}(),L:function(){function P(){return y(Math.floor(w()/10))}return P}(),t:function(){function P(){return x()<12?s.i18n.timeNames[0]:s.i18n.timeNames[1]}return P}(),tt:function(){function P(){return x()<12?s.i18n.timeNames[2]:s.i18n.timeNames[3]}return P}(),T:function(){function P(){return x()<12?s.i18n.timeNames[4]:s.i18n.timeNames[5]}return P}(),TT:function(){function P(){return x()<12?s.i18n.timeNames[6]:s.i18n.timeNames[7]}return P}(),Z:function(){function P(){return l?"GMT":f?"UTC":(String(u).match(c)||[""]).pop().replace(m,"").replace(/GMT\+0000/g,"UTC")}return P}(),o:function(){function P(){return(A()>0?"-":"+")+y(Math.floor(Math.abs(A())/60)*100+Math.abs(A())%60,4)}return P}(),p:function(){function P(){return(A()>0?"-":"+")+y(Math.floor(Math.abs(A())/60),2)+":"+y(Math.floor(Math.abs(A())%60),2)}return P}(),S:function(){function P(){return["th","st","nd","rd"][g()%10>3?0:(g()%100-g()%10!=10)*g()%10]}return P}(),W:function(){function P(){return T()}return P}(),WW:function(){function P(){return y(T())}return P}(),N:function(){function P(){return E()}return P}()};return d.replace(i,function(P){return P in O?O[P]():P.slice(1,P.length-1)})}}();s.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",paddedShortDate:"mm/dd/yyyy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},s.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var y=function(){function i(c,m){for(c=String(c),m=m||2;c.length0?x(K.componentWillDisappear,w(D,U)):L(D,U,!1)}function T(D,U,K,$,re,ce,de,be){D.componentWillMove.push({dom:$,fn:function(){function we(){de&4?K.componentWillMove(U,re,$):de&8&&K.onComponentWillMove(U,re,$,be)}return we}(),next:ce,parent:re})}function E(D,U,K,$,re){var ce,de,be=U.flags;do{var we=U.flags;if(we&1521){!a(ce)&&(o(ce.componentWillMove)||o(ce.onComponentWillMove))?T(re,D,ce,U.dom,K,$,be,de):l(K,U.dom,$);return}var Fe=U.children;if(we&4)ce=U.children,de=U.props,U=Fe.$LI;else if(we&8)ce=U.ref,de=U.props,U=Fe;else if(we&8192)if(U.childFlags===2)U=Fe;else{for(var Re=0,Ue=Fe.length;Re0,Fe=V(be),Re=s(be)&&be[0]===z;we||Fe||Re?(K=K||U.slice(0,ce),(we||Re)&&(de=fe(de)),(Fe||Re)&&(de.key=z+ce),K.push(de)):K&&K.push(de),de.flags|=65536}}K=K||U,K.length===0?$=1:$=8}else K=U,K.flags|=65536,U.flags&81920&&(K=fe(U)),$=2;return D.children=K,D.childFlags=$,D}function ye(D){return t(D)||e(D)?Ne(D,null):n(D)?Be(D,0,null):D.flags&16384?fe(D):D}var me="http://www.w3.org/1999/xlink",Te="http://www.w3.org/XML/1998/namespace",M={"xlink:actuate":me,"xlink:arcrole":me,"xlink:href":me,"xlink:role":me,"xlink:show":me,"xlink:title":me,"xlink:type":me,"xml:base":Te,"xml:lang":Te,"xml:space":Te};function X(D){return{onClick:D,onDblClick:D,onFocusIn:D,onFocusOut:D,onKeyDown:D,onKeyPress:D,onKeyUp:D,onMouseDown:D,onMouseMove:D,onMouseUp:D,onTouchEnd:D,onTouchMove:D,onTouchStart:D}}var ae=X(0),ue=X(null),ie=X(!0);function ge(D,U){var K=U.$EV;return K||(K=U.$EV=X(null)),K[D]||++ae[D]===1&&(ue[D]=Se(D)),K}function Ce(D,U){var K=U.$EV;K&&K[D]&&(--ae[D]===0&&(document.removeEventListener(d(D),ue[D]),ue[D]=null),K[D]=null)}function Me(D,U,K,$){if(o(K))ge(D,$)[D]=K;else if(i(K)){if(j(U,K))return;ge(D,$)[D]=K}else Ce(D,$)}function De(D){return o(D.composedPath)?D.composedPath()[0]:D.target}function ke(D,U,K,$){var re=De(D);do{if(U&&re.disabled)return;var ce=re.$EV;if(ce){var de=ce[K];if(de&&($.dom=re,de.event?de.event(de.data,D):de(D),D.cancelBubble))return}re=re.parentNode}while(!V(re))}function pe(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function se(){return this.defaultPrevented}function xe(){return this.cancelBubble}function _(D){var U={dom:document};return D.isDefaultPrevented=se,D.isPropagationStopped=xe,D.stopPropagation=pe,Object.defineProperty(D,"currentTarget",{configurable:!0,get:function(){function K(){return U.dom}return K}()}),U}function oe(D){return function(U){if(U.button!==0){U.stopPropagation();return}ke(U,!0,D,_(U))}}function ve(D){return function(U){ke(U,!1,D,_(U))}}function Se(D){var U=D==="onClick"||D==="onDblClick"?oe(D):ve(D);return document.addEventListener(d(D),U),U}function Ie(D,U){var K=document.createElement("i");return K.innerHTML=U,K.innerHTML===D.innerHTML}function Ee(D,U,K){if(D[U]){var $=D[U];$.event?$.event($.data,K):$(K)}else{var re=U.toLowerCase();D[re]&&D[re](K)}}function Pe(D,U){var K=function(){function $(re){var ce=this.$V;if(ce){var de=ce.props||c,be=ce.dom;if(s(D))Ee(de,D,re);else for(var we=0;we-1&&U.options[ce]&&(be=U.options[ce].value),K&&a(be)&&(be=D.defaultValue),qe($,be)}}var Zt=Pe("onInput",wt),qt=Pe("onChange");function en(D,U){Oe(D,"input",Zt),U.onChange&&Oe(D,"change",qt)}function wt(D,U,K){var $=D.value,re=U.value;if(a($)){if(K){var ce=D.defaultValue;!a(ce)&&ce!==re&&(U.defaultValue=ce,U.value=ce)}}else re!==$&&(U.defaultValue=$,U.value=$)}function Tt(D,U,K,$,re,ce){D&64?ut($,K):D&256?It($,K,re,U):D&128&&wt($,K,re),ce&&(K.$V=U)}function tn(D,U,K){D&64?Ye(U,K):D&256?Jt(U):D&128&&en(U,K)}function At(D){return D.type&&We(D.type)?!a(D.checked):!a(D.value)}function nn(){return{current:null}}function on(D){var U={render:D};return U}function vt(D){D&&!H(D,null)&&D.current&&(D.current=null)}function st(D,U,K){D&&(o(D)||D.current!==void 0)&&K.push(function(){!H(D,U)&&D.current!==void 0&&(D.current=U)})}function tt(D,U,K){ot(D,K),A(D,U,K)}function ot(D,U){var K=D.flags,$=D.children,re;if(K&481){re=D.ref;var ce=D.props;vt(re);var de=D.childFlags;if(!V(ce))for(var be=Object.keys(ce),we=0,Fe=be.length;we0?x(K.componentWillDisappear,rn(U,D)):D.textContent=""}function gt(D,U,K,$){mt(K,$),U.flags&8192?A(U,D,$):Ct(D,K,$)}function Et(D,U,K,$,re){D.componentWillDisappear.push(function(ce){$&4?U.componentWillDisappear(K,ce):$&8&&U.onComponentWillDisappear(K,re,ce)})}function an(D){var U=D.event;return function(K){U(D.data,K)}}function cn(D,U,K,$){if(i(K)){if(j(U,K))return;K=an(K)}Oe($,d(D),K)}function ln(D,U,K){if(a(U)){K.removeAttribute("style");return}var $=K.style,re,ce;if(s(U)){$.cssText=U;return}if(!a(D)&&!s(D)){for(re in U)ce=U[re],ce!==D[re]&&$.setProperty(re,ce);for(re in D)a(U[re])&&$.removeProperty(re)}else for(re in U)ce=U[re],$.setProperty(re,ce)}function un(D,U,K,$,re){var ce=D&&D.__html||"",de=U&&U.__html||"";ce!==de&&!a(de)&&!Ie($,de)&&(V(K)||(K.childFlags&12?mt(K.children,re):K.childFlags===2&&ot(K.children,re),K.children=null,K.childFlags=1),$.innerHTML=de)}function Vt(D,U,K,$,re,ce,de,be){switch(D){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":$.autofocus=!!K;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":$[D]=!!K;break;case"defaultChecked":case"value":case"volume":if(ce&&D==="value")break;var we=a(K)?"":K;$[D]!==we&&($[D]=we);break;case"style":ln(U,K,$);break;case"dangerouslySetInnerHTML":un(U,K,de,$,be);break;default:ie[D]?Me(D,U,K,$):D.charCodeAt(0)===111&&D.charCodeAt(1)===110?cn(D,U,K,$):a(K)?$.removeAttribute(D):re&&M[D]?$.setAttributeNS(M[D],D,K):$.setAttribute(D,K);break}}function Mt(D,U,K,$,re,ce){var de=!1,be=(U&448)>0;be&&(de=At(K),de&&tn(U,$,K));for(var we in K)Vt(we,null,K[we],$,re,de,null,ce);be&&Tt(U,D,$,K,!0,de)}function Ot(D,U,K){var $=ye(D.render(U,D.state,K)),re=K;return o(D.getChildContext)&&(re=S(K,D.getChildContext())),D.$CX=re,$}function Pt(D,U,K,$,re,ce){var de=new U(K,$),be=de.$N=!!(U.getDerivedStateFromProps||de.getSnapshotBeforeUpdate);if(de.$SVG=re,de.$L=ce,D.children=de,de.$BS=!1,de.context=$,de.props===c&&(de.props=K),be)de.state=O(de,K,de.state);else if(o(de.componentWillMount)){de.$BR=!0,de.componentWillMount();var we=de.$PS;if(!V(we)){var Fe=de.state;if(V(Fe))de.state=we;else for(var Re in we)Fe[Re]=we[Re];de.$PS=null}de.$BR=!1}return de.$LI=Ot(de,K,$),de}function yt(D,U){var K=D.props||c;return D.flags&32768?D.type.render(K,D.ref,U):D.type(K,U)}function Xe(D,U,K,$,re,ce,de){var be=D.flags|=16384;be&481?Dt(D,U,K,$,re,ce,de):be&4?mn(D,U,K,$,re,ce,de):be&8?fn(D,U,K,$,re,ce,de):be&16?Rt(D,U,re):be&8192?sn(D,K,U,$,re,ce,de):be&1024&&dn(D,K,U,re,ce,de)}function dn(D,U,K,$,re,ce){Xe(D.children,D.ref,U,!1,null,re,ce);var de=Z();Rt(de,K,$),D.dom=de.dom}function sn(D,U,K,$,re,ce,de){var be=D.children,we=D.childFlags;we&12&&be.length===0&&(we=D.childFlags=2,be=D.children=Z()),we===2?Xe(be,K,U,$,re,ce,de):dt(be,K,U,$,re,ce,de)}function Rt(D,U,K){var $=D.dom=document.createTextNode(D.children);V(U)||l(U,$,K)}function Dt(D,U,K,$,re,ce,de){var be=D.flags,we=D.props,Fe=D.className,Re=D.childFlags,Ue=D.dom=v(D.type,$=$||(be&32)>0),je=D.children;if(!a(Fe)&&Fe!==""&&($?Ue.setAttribute("class",Fe):Ue.className=Fe),Re===16)F(Ue,je);else if(Re!==1){var _e=$&&D.type!=="foreignObject";Re===2?(je.flags&16384&&(D.children=je=fe(je)),Xe(je,Ue,K,_e,null,ce,de)):(Re===8||Re===4)&&dt(je,Ue,K,_e,null,ce,de)}V(U)||l(U,Ue,re),V(we)||Mt(D,be,we,Ue,$,de),st(D.ref,Ue,ce)}function dt(D,U,K,$,re,ce,de){for(var be=0;be_e)&&(Ue=N(be[_e-1],!1).nextSibling)}St(Fe,Re,be,we,K,$,re,Ue,D,ce,de)}function bn(D,U,K,$,re){var ce=D.ref,de=U.ref,be=U.children;if(St(D.childFlags,U.childFlags,D.children,be,ce,K,!1,null,D,$,re),U.dom=D.dom,ce!==de&&!t(be)){var we=be.dom;g(ce,we),f(de,we)}}function Vn(D,U,K,$,re,ce,de){var be=U.dom=D.dom,we=D.props,Fe=U.props,Re=!1,Ue=!1,je;if($=$||(re&32)>0,we!==Fe){var _e=we||c;if(je=Fe||c,je!==c){Re=(re&448)>0,Re&&(Ue=At(je));for(var $e in je){var He=_e[$e],Je=je[$e];He!==Je&&Vt($e,He,Je,be,$,Ue,D,de)}}if(_e!==c)for(var Ke in _e)a(je[Ke])&&!a(_e[Ke])&&Vt(Ke,_e[Ke],null,be,$,Ue,D,de)}var it=U.children,et=U.className;D.className!==et&&(a(et)?be.removeAttribute("class"):$?be.setAttribute("class",et):be.className=et),re&4096?gn(be,it):St(D.childFlags,U.childFlags,D.children,it,be,K,$&&U.type!=="foreignObject",null,D,ce,de),Re&&Tt(re,U,be,je,!1,Ue);var ft=U.ref,nt=D.ref;nt!==ft&&(vt(nt),st(ft,be,ce))}function yn(D,U,K,$,re,ce,de){ot(D,de),dt(U,K,$,re,N(D,!0),ce,de),A(D,K,de)}function St(D,U,K,$,re,ce,de,be,we,Fe,Re){switch(D){case 2:switch(U){case 2:rt(K,$,re,ce,de,be,Fe,Re);break;case 1:tt(K,re,Re);break;case 16:ot(K,Re),F(re,$);break;default:yn(K,$,re,ce,de,Fe,Re);break}break;case 1:switch(U){case 2:Xe($,re,ce,de,be,Fe,Re);break;case 1:break;case 16:F(re,$);break;default:dt($,re,ce,de,be,Fe,Re);break}break;case 16:switch(U){case 16:Cn(K,$,re);break;case 2:Ct(re,K,Re),Xe($,re,ce,de,be,Fe,Re);break;case 1:Ct(re,K,Re);break;default:Ct(re,K,Re),dt($,re,ce,de,be,Fe,Re);break}break;default:switch(U){case 16:mt(K,Re),F(re,$);break;case 2:gt(re,we,K,Re),Xe($,re,ce,de,be,Fe,Re);break;case 1:gt(re,we,K,Re);break;default:var Ue=K.length|0,je=$.length|0;Ue===0?je>0&&dt($,re,ce,de,be,Fe,Re):je===0?gt(re,we,K,Re):U===8&&D===8?In(K,$,re,ce,de,Ue,je,be,we,Fe,Re):Ln(K,$,re,ce,de,Ue,je,be,Fe,Re);break}break}}function Sn(D,U,K,$,re){re.push(function(){D.componentDidUpdate(U,K,$)})}function Ut(D,U,K,$,re,ce,de,be,we,Fe){var Re=D.state,Ue=D.props,je=!!D.$N,_e=o(D.shouldComponentUpdate);if(je&&(U=O(D,K,U!==Re?S(Re,U):U)),de||!_e||_e&&D.shouldComponentUpdate(K,U,re)){!je&&o(D.componentWillUpdate)&&D.componentWillUpdate(K,U,re),D.props=K,D.state=U,D.context=re;var $e=null,He=Ot(D,K,re);je&&o(D.getSnapshotBeforeUpdate)&&($e=D.getSnapshotBeforeUpdate(Ue,Re)),rt(D.$LI,He,$,D.$CX,ce,be,we,Fe),D.$LI=He,o(D.componentDidUpdate)&&Sn(D,Ue,Re,$e,we)}else D.props=K,D.state=U,D.context=re}function kn(D,U,K,$,re,ce,de,be){var we=U.children=D.children;if(!V(we)){we.$L=de;var Fe=U.props||c,Re=U.ref,Ue=D.ref,je=we.state;if(!we.$N){if(o(we.componentWillReceiveProps)){if(we.$BR=!0,we.componentWillReceiveProps(Fe,$),we.$UN)return;we.$BR=!1}V(we.$PS)||(je=S(je,we.$PS),we.$PS=null)}Ut(we,je,Fe,K,$,re,!1,ce,de,be),Ue!==Re&&(vt(Ue),st(Re,we,de))}}function Bn(D,U,K,$,re,ce,de,be){var we=!0,Fe=U.props||c,Re=U.ref,Ue=D.props,je=!a(Re),_e=D.children;if(je&&o(Re.onComponentShouldUpdate)&&(we=Re.onComponentShouldUpdate(Ue,Fe)),we!==!1){je&&o(Re.onComponentWillUpdate)&&Re.onComponentWillUpdate(Ue,Fe);var $e=ye(yt(U,$));rt(_e,$e,K,$,re,ce,de,be),U.children=$e,je&&o(Re.onComponentDidUpdate)&&Re.onComponentDidUpdate(Ue,Fe)}else U.children=_e}function xn(D,U){var K=U.children,$=U.dom=D.dom;K!==D.children&&($.nodeValue=K)}function Ln(D,U,K,$,re,ce,de,be,we,Fe){for(var Re=ce>de?de:ce,Ue=0,je,_e;Uede)for(Ue=Re;UeUe||_e>je)break e;$e=D[_e],He=U[_e]}for($e=D[Ue],He=U[je];$e.key===He.key;){if(He.flags&16384&&(U[je]=He=fe(He)),rt($e,He,K,$,re,be,Fe,Re),D[Ue]=He,Ue--,je--,_e>Ue||_e>je)break e;$e=D[Ue],He=U[je]}}if(_e>Ue){if(_e<=je)for(Je=je+1,Ke=Jeje)for(;_e<=Ue;)tt(D[_e++],K,Re);else wn(D,U,$,ce,de,Ue,je,_e,K,re,be,we,Fe,Re)}function wn(D,U,K,$,re,ce,de,be,we,Fe,Re,Ue,je,_e){var $e,He,Je=0,Ke=0,it=be,et=be,ft=ce-be+1,nt=de-be+1,pt=new Int32Array(nt+1),ct=ft===$,Bt=!1,Ze=0,ht=0;if(re<4||(ft|nt)<32)for(Ke=it;Ke<=ce;++Ke)if($e=D[Ke],htbe?Bt=!0:Ze=be,He.flags&16384&&(U[be]=He=fe(He)),rt($e,He,we,K,Fe,Re,je,_e),++ht;break}!ct&&be>de&&tt($e,we,_e)}else ct||tt($e,we,_e);else{var Gt={};for(Ke=et;Ke<=de;++Ke)Gt[U[Ke].key]=Ke;for(Ke=it;Ke<=ce;++Ke)if($e=D[Ke],htit;)tt(D[it++],we,_e);pt[be-et]=Ke+1,Ze>be?Bt=!0:Ze=be,He=U[be],He.flags&16384&&(U[be]=He=fe(He)),rt($e,He,we,K,Fe,Re,je,_e),++ht}else ct||tt($e,we,_e);else ct||tt($e,we,_e)}if(ct)gt(we,Ue,D,_e),dt(U,we,K,Fe,Re,je,_e);else if(Bt){var Qt=Tn(pt);for(be=Qt.length-1,Ke=nt-1;Ke>=0;Ke--)pt[Ke]===0?(Ze=Ke+et,He=U[Ze],He.flags&16384&&(U[Ze]=He=fe(He)),Je=Ze+1,Xe(He,we,K,Fe,Je0&&B(_e.componentWillMove)}else if(ht!==nt)for(Ke=nt-1;Ke>=0;Ke--)pt[Ke]===0&&(Ze=Ke+et,He=U[Ze],He.flags&16384&&(U[Ze]=He=fe(He)),Je=Ze+1,Xe(He,we,K,Fe,Je_t&&(_t=we,at=new Int32Array(we),Nt=new Int32Array(we));K>1,D[at[be]]0&&(Nt[K]=at[ce-1]),at[ce]=K)}ce=re+1;var Fe=new Int32Array(ce);for(de=at[ce-1];ce-- >0;)Fe[ce]=de,de=Nt[de],at[ce]=0;return Fe}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function Ht(D,U,K,$){var re=[],ce=new u,de=U.$V;P.v=!0,a(de)?a(D)||(D.flags&16384&&(D=fe(D)),Xe(D,U,$,!1,null,re,ce),U.$V=D,de=D):a(D)?(tt(de,U,ce),U.$V=null):(D.flags&16384&&(D=fe(D)),rt(de,D,U,$,!1,null,re,ce),de=U.$V=D),h(re),x(ce.componentDidAppear),P.v=!1,o(K)&&K(),o(R.renderComplete)&&R.renderComplete(de,U)}function zt(D,U,K,$){K===void 0&&(K=null),$===void 0&&($=c),Ht(D,U,K,$)}function En(D){return function(){function U(K,$,re,ce){D||(D=K),zt($,D,re,ce)}return U}()}var bt=[],Mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(D){window.setTimeout(D,0)},kt=!1;function Kt(D,U,K,$){var re=D.$PS;if(o(U)&&(U=U(re?S(D.state,re):D.state,D.props,D.context)),a(re))D.$PS=U;else for(var ce in U)re[ce]=U[ce];if(D.$BR)o(K)&&D.$L.push(K.bind(D));else{if(!P.v&&bt.length===0){$t(D,$),o(K)&&K.call(D);return}if(bt.indexOf(D)===-1&&bt.push(D),$&&(D.$F=!0),kt||(kt=!0,Mn(Yt)),o(K)){var de=D.$QU;de||(de=D.$QU=[]),de.push(K)}}}function On(D){for(var U=D.$QU,K=0;K=55296&&ve<=56319&&oe+1<_.length&&(Se=_.charCodeAt(oe+1),Se>=56320&&Se<=57343)?(ve-55296)*1024+Se-56320+65536:ve}function fe(_){var oe=/^\n* /;return oe.test(_)}var Z=1,J=2,te=3,ee=4,le=5;function ye(_,oe,ve,Se,Ie,Ee,Pe,Oe){var We,ze=0,Ge=null,Qe=!1,Ye=!1,ut=Se!==-1,qe=-1,lt=Be(Ae(_,0))&&Le(Ae(_,_.length-1));if(oe||Pe)for(We=0;We<_.length;ze>=65536?We+=2:We++){if(ze=Ae(_,We),!he(ze))return le;lt=lt&&Ne(ze,Ge,Oe),Ge=ze}else{for(We=0;We<_.length;ze>=65536?We+=2:We++){if(ze=Ae(_,We),ze===k)Qe=!0,ut&&(Ye=Ye||We-qe-1>Se&&_[qe+1]!==" ",qe=We);else if(!he(ze))return le;lt=lt&&Ne(ze,Ge,Oe),Ge=ze}Ye=Ye||ut&&We-qe-1>Se&&_[qe+1]!==" "}return!Qe&&!Ye?lt&&!Pe&&!Ie(_)?Z:Ee===H?le:J:ve>9&&fe(_)?le:Pe?Ee===H?le:J:Ye?ee:te}function me(_,oe,ve,Se,Ie){_.dump=function(){if(oe.length===0)return _.quotingType===H?'""':"''";if(!_.noCompatMode&&(P.indexOf(oe)!==-1||R.test(oe)))return _.quotingType===H?'"'+oe+'"':"'"+oe+"'";var Ee=_.indent*Math.max(1,ve),Pe=_.lineWidth===-1?-1:Math.max(Math.min(_.lineWidth,40),_.lineWidth-Ee),Oe=Se||_.flowLevel>-1&&ve>=_.flowLevel;function We(ze){return ne(_,ze)}switch(ye(oe,Oe,_.indent,Pe,We,_.quotingType,_.forceQuotes&&!Se,Ie)){case Z:return oe;case J:return"'"+oe.replace(/'/g,"''")+"'";case te:return"|"+Te(oe,_.indent)+M(Y(oe,Ee));case ee:return">"+Te(oe,_.indent)+M(Y(X(oe,Pe),Ee));case le:return'"'+ue(oe,Pe)+'"';default:throw new a("impossible error: invalid scalar style")}}()}function Te(_,oe){var ve=fe(_)?String(oe):"",Se=_[_.length-1]==="\n",Ie=Se&&(_[_.length-2]==="\n"||_==="\n"),Ee=Ie?"+":Se?"":"-";return ve+Ee+"\n"}function M(_){return _[_.length-1]==="\n"?_.slice(0,-1):_}function X(_,oe){for(var ve=/(\n+)([^\n]*)/g,Se=function(){var ze=_.indexOf("\n");return ze=ze!==-1?ze:_.length,ve.lastIndex=ze,ae(_.slice(0,ze),oe)}(),Ie=_[0]==="\n"||_[0]===" ",Ee,Pe;Pe=ve.exec(_);){var Oe=Pe[1],We=Pe[2];Ee=We[0]===" ",Se+=Oe+(!Ie&&!Ee&&We!==""?"\n":"")+ae(We,oe),Ie=Ee}return Se}function ae(_,oe){if(_===""||_[0]===" ")return _;for(var ve=/ [^ ]/g,Se,Ie=0,Ee,Pe=0,Oe=0,We="";Se=ve.exec(_);)Oe=Se.index,Oe-Ie>oe&&(Ee=Pe>Ie?Pe:Oe,We+="\n"+_.slice(Ie,Ee),Ie=Ee+1),Pe=Oe;return We+="\n",_.length-Ie>oe&&Pe>Ie?We+=_.slice(Ie,Pe)+"\n"+_.slice(Pe+1):We+=_.slice(Ie),We.slice(1)}function ue(_){for(var oe="",ve=0,Se,Ie=0;Ie<_.length;ve>=65536?Ie+=2:Ie++)ve=Ae(_,Ie),Se=O[ve],!Se&&he(ve)?(oe+=_[Ie],ve>=65536&&(oe+=_[Ie+1])):oe+=Se||j(ve);return oe}function ie(_,oe,ve){var Se="",Ie=_.tag,Ee,Pe,Oe;for(Ee=0,Pe=ve.length;Ee1024&&(Ge+="? "),Ge+=_.dump+(_.condenseFlow?'"':"")+":"+(_.condenseFlow?"":" "),ke(_,oe,ze,!1,!1)&&(Ge+=_.dump,Se+=Ge));_.tag=Ie,_.dump="{"+Se+"}"}function Me(_,oe,ve,Se){var Ie="",Ee=_.tag,Pe=Object.keys(ve),Oe,We,ze,Ge,Qe,Ye;if(_.sortKeys===!0)Pe.sort();else if(typeof _.sortKeys=="function")Pe.sort(_.sortKeys);else if(_.sortKeys)throw new a("sortKeys must be a boolean or a function");for(Oe=0,We=Pe.length;Oe1024,Qe&&(_.dump&&k===_.dump.charCodeAt(0)?Ye+="?":Ye+="? "),Ye+=_.dump,Qe&&(Ye+=G(_,oe)),ke(_,oe+1,Ge,!0,Qe)&&(_.dump&&k===_.dump.charCodeAt(0)?Ye+=":":Ye+=": ",Ye+=_.dump,Ie+=Ye));_.tag=Ee,_.dump=Ie||"{}"}function De(_,oe,ve){var Se,Ie,Ee,Pe,Oe,We;for(Ie=ve?_.explicitTypes:_.implicitTypes,Ee=0,Pe=Ie.length;Ee tag resolver accepts not "'+We+'" style');_.dump=Se}return!0}return!1}function ke(_,oe,ve,Se,Ie,Ee,Pe){_.tag=null,_.dump=ve,De(_,ve,!1)||De(_,ve,!0);var Oe=o.call(_.dump),We=Se,ze;Se&&(Se=_.flowLevel<0||_.flowLevel>oe);var Ge=Oe==="[object Object]"||Oe==="[object Array]",Qe,Ye;if(Ge&&(Qe=_.duplicates.indexOf(ve),Ye=Qe!==-1),(_.tag!==null&&_.tag!=="?"||Ye||_.indent!==2&&oe>0)&&(Ie=!1),Ye&&_.usedDuplicates[Qe])_.dump="*ref_"+Qe;else{if(Ge&&Ye&&!_.usedDuplicates[Qe]&&(_.usedDuplicates[Qe]=!0),Oe==="[object Object]")Se&&Object.keys(_.dump).length!==0?(Me(_,oe,_.dump,Ie),Ye&&(_.dump="&ref_"+Qe+_.dump)):(Ce(_,oe,_.dump),Ye&&(_.dump="&ref_"+Qe+" "+_.dump));else if(Oe==="[object Array]")Se&&_.dump.length!==0?(_.noArrayIndent&&!Pe&&oe>0?ge(_,oe-1,_.dump,Ie):ge(_,oe,_.dump,Ie),Ye&&(_.dump="&ref_"+Qe+_.dump)):(ie(_,oe,_.dump),Ye&&(_.dump="&ref_"+Qe+" "+_.dump));else if(Oe==="[object String]")_.tag!=="?"&&me(_,_.dump,oe,Ee,We);else{if(Oe==="[object Undefined]")return!1;if(_.skipInvalid)return!1;throw new a("unacceptable kind of an object to dump "+Oe)}_.tag!==null&&_.tag!=="?"&&(ze=encodeURI(_.tag[0]==="!"?_.tag.slice(1):_.tag).replace(/!/g,"%21"),_.tag[0]==="!"?ze="!"+ze:ze.slice(0,18)==="tag:yaml.org,2002:"?ze="!!"+ze.slice(18):ze="!<"+ze+">",_.dump=ze+" "+_.dump)}return!0}function pe(_,oe){var ve=[],Se=[],Ie,Ee;for(se(_,ve,Se),Ie=0,Ee=Se.length;Ie>10)+55296,(M-65536&1023)+56320)}for(var A=new Array(256),T=new Array(256),E=0;E<256;E++)A[E]=L(E)?1:0,T[E]=L(E);function O(M,X){this.input=M,this.filename=X.filename||null,this.schema=X.schema||o,this.onWarning=X.onWarning||null,this.legacy=X.legacy||!1,this.json=X.json||!1,this.listener=X.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=M.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function P(M,X){var ae={name:M.filename,buffer:M.input.slice(0,-1),position:M.position,line:M.line,column:M.position-M.lineStart};return ae.snippet=t(ae),new a(X,ae)}function R(M,X){throw P(M,X)}function F(M,X){M.onWarning&&M.onWarning.call(null,P(M,X))}var j={YAML:function(){function M(X,ae,ue){var ie,ge,Ce;X.version!==null&&R(X,"duplication of %YAML directive"),ue.length!==1&&R(X,"YAML directive accepts exactly one argument"),ie=/^([0-9]+)\.([0-9]+)$/.exec(ue[0]),ie===null&&R(X,"ill-formed argument of the YAML directive"),ge=parseInt(ie[1],10),Ce=parseInt(ie[2],10),ge!==1&&R(X,"unacceptable YAML version of the document"),X.version=ue[0],X.checkLineBreaks=Ce<2,Ce!==1&&Ce!==2&&F(X,"unsupported YAML version of the document")}return M}(),TAG:function(){function M(X,ae,ue){var ie,ge;ue.length!==2&&R(X,"TAG directive accepts exactly two arguments"),ie=ue[0],ge=ue[1],f.test(ie)||R(X,"ill-formed tag handle (first argument) of the TAG directive"),s.call(X.tagMap,ie)&&R(X,'there is a previously declared suffix for "'+ie+'" tag handle'),l.test(ge)||R(X,"ill-formed tag prefix (second argument) of the TAG directive");try{ge=decodeURIComponent(ge)}catch(Ce){R(X,"tag prefix is malformed: "+ge)}X.tagMap[ie]=ge}return M}()};function W(M,X,ae,ue){var ie,ge,Ce,Me;if(X1&&(M.result+=e.repeat("\n",X-1))}function he(M,X,ae){var ue,ie,ge,Ce,Me,De,ke,pe,se=M.kind,xe=M.result,_;if(_=M.input.charCodeAt(M.position),h(_)||C(_)||_===35||_===38||_===42||_===33||_===124||_===62||_===39||_===34||_===37||_===64||_===96||(_===63||_===45)&&(ie=M.input.charCodeAt(M.position+1),h(ie)||ae&&C(ie)))return!1;for(M.kind="scalar",M.result="",ge=Ce=M.position,Me=!1;_!==0;){if(_===58){if(ie=M.input.charCodeAt(M.position+1),h(ie)||ae&&C(ie))break}else if(_===35){if(ue=M.input.charCodeAt(M.position-1),h(ue))break}else{if(M.position===M.lineStart&&ne(M)||ae&&C(_))break;if(b(_))if(De=M.line,ke=M.lineStart,pe=M.lineIndent,G(M,!1,-1),M.lineIndent>=X){Me=!0,_=M.input.charCodeAt(M.position);continue}else{M.position=Ce,M.line=De,M.lineStart=ke,M.lineIndent=pe;break}}Me&&(W(M,ge,Ce,!1),Q(M,M.line-De),ge=Ce=M.position,Me=!1),g(_)||(Ce=M.position+1),_=M.input.charCodeAt(++M.position)}return W(M,ge,Ce,!1),M.result?!0:(M.kind=se,M.result=xe,!1)}function Ve(M,X){var ae,ue,ie;if(ae=M.input.charCodeAt(M.position),ae!==39)return!1;for(M.kind="scalar",M.result="",M.position++,ue=ie=M.position;(ae=M.input.charCodeAt(M.position))!==0;)if(ae===39)if(W(M,ue,M.position,!0),ae=M.input.charCodeAt(++M.position),ae===39)ue=M.position,M.position++,ie=M.position;else return!0;else b(ae)?(W(M,ue,ie,!0),Q(M,G(M,!1,X)),ue=ie=M.position):M.position===M.lineStart&&ne(M)?R(M,"unexpected end of the document within a single quoted scalar"):(M.position++,ie=M.position);R(M,"unexpected end of the stream within a single quoted scalar")}function Ne(M,X){var ae,ue,ie,ge,Ce,Me;if(Me=M.input.charCodeAt(M.position),Me!==34)return!1;for(M.kind="scalar",M.result="",M.position++,ae=ue=M.position;(Me=M.input.charCodeAt(M.position))!==0;){if(Me===34)return W(M,ae,M.position,!0),M.position++,!0;if(Me===92){if(W(M,ae,M.position,!0),Me=M.input.charCodeAt(++M.position),b(Me))G(M,!1,X);else if(Me<256&&A[Me])M.result+=T[Me],M.position++;else if((Ce=x(Me))>0){for(ie=Ce,ge=0;ie>0;ie--)Me=M.input.charCodeAt(++M.position),(Ce=N(Me))>=0?ge=(ge<<4)+Ce:R(M,"expected hexadecimal character");M.result+=w(ge),M.position++}else R(M,"unknown escape sequence");ae=ue=M.position}else b(Me)?(W(M,ae,ue,!0),Q(M,G(M,!1,X)),ae=ue=M.position):M.position===M.lineStart&&ne(M)?R(M,"unexpected end of the document within a double quoted scalar"):(M.position++,ue=M.position)}R(M,"unexpected end of the stream within a double quoted scalar")}function Be(M,X){var ae=!0,ue,ie,ge,Ce=M.tag,Me,De=M.anchor,ke,pe,se,xe,_,oe=Object.create(null),ve,Se,Ie,Ee;if(Ee=M.input.charCodeAt(M.position),Ee===91)pe=93,_=!1,Me=[];else if(Ee===123)pe=125,_=!0,Me={};else return!1;for(M.anchor!==null&&(M.anchorMap[M.anchor]=Me),Ee=M.input.charCodeAt(++M.position);Ee!==0;){if(G(M,!0,X),Ee=M.input.charCodeAt(M.position),Ee===pe)return M.position++,M.tag=Ce,M.anchor=De,M.kind=_?"mapping":"sequence",M.result=Me,!0;ae?Ee===44&&R(M,"expected the node content, but found ','"):R(M,"missed comma between flow collection entries"),Se=ve=Ie=null,se=xe=!1,Ee===63&&(ke=M.input.charCodeAt(M.position+1),h(ke)&&(se=xe=!0,M.position++,G(M,!0,X))),ue=M.line,ie=M.lineStart,ge=M.position,ee(M,X,y,!1,!0),Se=M.tag,ve=M.result,G(M,!0,X),Ee=M.input.charCodeAt(M.position),(xe||M.line===ue)&&Ee===58&&(se=!0,Ee=M.input.charCodeAt(++M.position),G(M,!0,X),ee(M,X,y,!1,!0),Ie=M.result),_?z(M,Me,oe,Se,ve,Ie,ue,ie,ge):se?Me.push(z(M,null,oe,Se,ve,Ie,ue,ie,ge)):Me.push(ve),G(M,!0,X),Ee=M.input.charCodeAt(M.position),Ee===44?(ae=!0,Ee=M.input.charCodeAt(++M.position)):ae=!1}R(M,"unexpected end of the stream within a flow collection")}function Le(M,X){var ae,ue,ie=p,ge=!1,Ce=!1,Me=X,De=0,ke=!1,pe,se;if(se=M.input.charCodeAt(M.position),se===124)ue=!1;else if(se===62)ue=!0;else return!1;for(M.kind="scalar",M.result="";se!==0;)if(se=M.input.charCodeAt(++M.position),se===43||se===45)p===ie?ie=se===43?c:i:R(M,"repeat of a chomping mode identifier");else if((pe=B(se))>=0)pe===0?R(M,"bad explicit indentation width of a block scalar; it cannot be less than one"):Ce?R(M,"repeat of an indentation width identifier"):(Me=X+pe-1,Ce=!0);else break;if(g(se)){do se=M.input.charCodeAt(++M.position);while(g(se));if(se===35)do se=M.input.charCodeAt(++M.position);while(!b(se)&&se!==0)}for(;se!==0;){for(Y(M),M.lineIndent=0,se=M.input.charCodeAt(M.position);(!Ce||M.lineIndentMe&&(Me=M.lineIndent),b(se)){De++;continue}if(M.lineIndentX)&&De!==0)R(M,"bad indentation of a sequence entry");else if(M.lineIndentX)&&(Se&&(Ce=M.line,Me=M.lineStart,De=M.position),ee(M,X,S,!0,ie)&&(Se?oe=M.result:ve=M.result),Se||(z(M,se,xe,_,oe,ve,Ce,Me,De),_=oe=ve=null),G(M,!0,-1),Ee=M.input.charCodeAt(M.position)),(M.line===ge||M.lineIndent>X)&&Ee!==0)R(M,"bad indentation of a mapping entry");else if(M.lineIndentX?De=1:M.lineIndent===X?De=0:M.lineIndentX?De=1:M.lineIndent===X?De=0:M.lineIndent tag; it should be "scalar", not "'+M.kind+'"'),se=0,xe=M.implicitTypes.length;se"),M.result!==null&&oe.kind!==M.kind&&R(M,"unacceptable node kind for !<"+M.tag+'> tag; it should be "'+oe.kind+'", not "'+M.kind+'"'),oe.resolve(M.result,M.tag)?(M.result=oe.construct(M.result,M.tag),M.anchor!==null&&(M.anchorMap[M.anchor]=M.result)):R(M,"cannot resolve a node with !<"+M.tag+"> explicit tag")}return M.listener!==null&&M.listener("close",M),M.tag!==null||M.anchor!==null||pe}function le(M){var X=M.position,ae,ue,ie,ge=!1,Ce;for(M.version=null,M.checkLineBreaks=M.legacy,M.tagMap=Object.create(null),M.anchorMap=Object.create(null);(Ce=M.input.charCodeAt(M.position))!==0&&(G(M,!0,-1),Ce=M.input.charCodeAt(M.position),!(M.lineIndent>0||Ce!==37));){for(ge=!0,Ce=M.input.charCodeAt(++M.position),ae=M.position;Ce!==0&&!h(Ce);)Ce=M.input.charCodeAt(++M.position);for(ue=M.input.slice(ae,M.position),ie=[],ue.length<1&&R(M,"directive name must not be less than one character in length");Ce!==0;){for(;g(Ce);)Ce=M.input.charCodeAt(++M.position);if(Ce===35){do Ce=M.input.charCodeAt(++M.position);while(Ce!==0&&!b(Ce));break}if(b(Ce))break;for(ae=M.position;Ce!==0&&!h(Ce);)Ce=M.input.charCodeAt(++M.position);ie.push(M.input.slice(ae,M.position))}Ce!==0&&Y(M),s.call(j,ue)?j[ue](M,ue,ie):F(M,'unknown document directive "'+ue+'"')}if(G(M,!0,-1),M.lineIndent===0&&M.input.charCodeAt(M.position)===45&&M.input.charCodeAt(M.position+1)===45&&M.input.charCodeAt(M.position+2)===45?(M.position+=3,G(M,!0,-1)):ge&&R(M,"directives end mark is expected"),ee(M,M.lineIndent-1,S,!1,!0),G(M,!0,-1),M.checkLineBreaks&&u.test(M.input.slice(X,M.position))&&F(M,"non-ASCII line breaks are interpreted as content"),M.documents.push(M.result),M.position===M.lineStart&&ne(M)){M.input.charCodeAt(M.position)===46&&(M.position+=3,G(M,!0,-1));return}if(M.positionc&&(p=" ... ",y=k-c+p.length),V-k>c&&(i=" ...",V=k+c-i.length),{str:p+s.slice(y,V).replace(/\t/g,"\u2192")+i,pos:k-y+p.length}}function t(s,y){return e.repeat(" ",y-s.length)+s}function o(s,y){if(y=Object.create(y||null),!s.buffer)return null;y.maxLength||(y.maxLength=79),typeof y.indent!="number"&&(y.indent=1),typeof y.linesBefore!="number"&&(y.linesBefore=3),typeof y.linesAfter!="number"&&(y.linesAfter=2);for(var V=/\r?\n|\r|\0/g,k=[0],S=[],p,i=-1;p=V.exec(s.buffer);)S.push(p.index),k.push(p.index+p[0].length),s.position<=p.index&&i<0&&(i=k.length-2);i<0&&(i=k.length-1);var c="",m,u,d=Math.min(s.line+y.linesAfter,S.length).toString().length,f=y.maxLength-(y.indent+d+3);for(m=1;m<=y.linesBefore&&!(i-m<0);m++)u=a(s.buffer,k[i-m],S[i-m],s.position-(k[i]-k[i-m]),f),c=e.repeat(" ",y.indent)+t((s.line-m+1).toString(),d)+" | "+u.str+"\n"+c;for(u=a(s.buffer,k[i],S[i],s.position,f),c+=e.repeat(" ",y.indent)+t((s.line+1).toString(),d)+" | "+u.str+"\n",c+=e.repeat("-",y.indent+d+3+u.pos)+"^\n",m=1;m<=y.linesAfter&&!(i+m>=S.length);m++)u=a(s.buffer,k[i+m],S[i+m],s.position-(k[i]-k[i+m]),f),c+=e.repeat(" ",y.indent)+t((s.line+m+1).toString(),d)+" | "+u.str+"\n";return c.replace(/\n$/,"")}I.exports=o},92276:function(I,r,n){"use strict";var e=n(53127),a=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],t=["scalar","sequence","mapping"];function o(y){var V={};return y!==null&&Object.keys(y).forEach(function(k){y[k].forEach(function(S){V[String(S)]=k})}),V}function s(y,V){if(V=V||{},Object.keys(V).forEach(function(k){if(a.indexOf(k)===-1)throw new e('Unknown option "'+k+'" is met in definition of "'+y+'" YAML type.')}),this.options=V,this.tag=y,this.kind=V.kind||null,this.resolve=V.resolve||function(){return!0},this.construct=V.construct||function(k){return k},this.instanceOf=V.instanceOf||null,this.predicate=V.predicate||null,this.represent=V.represent||null,this.representName=V.representName||null,this.defaultStyle=V.defaultStyle||null,this.multi=V.multi||!1,this.styleAliases=o(V.styleAliases||null),t.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+y+'" YAML type.')}I.exports=s},92806:function(I,r,n){"use strict";var e=n(92276),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function t(V){if(V===null)return!1;var k,S,p=0,i=V.length,c=a;for(S=0;S64)){if(k<0)return!1;p+=6}return p%8===0}function o(V){var k,S,p=V.replace(/[\r\n=]/g,""),i=p.length,c=a,m=0,u=[];for(k=0;k>16&255),u.push(m>>8&255),u.push(m&255)),m=m<<6|c.indexOf(p.charAt(k));return S=i%4*6,S===0?(u.push(m>>16&255),u.push(m>>8&255),u.push(m&255)):S===18?(u.push(m>>10&255),u.push(m>>2&255)):S===12&&u.push(m>>4&255),new Uint8Array(u)}function s(V){var k="",S=0,p,i,c=V.length,m=a;for(p=0;p>18&63],k+=m[S>>12&63],k+=m[S>>6&63],k+=m[S&63]),S=(S<<8)+V[p];return i=c%3,i===0?(k+=m[S>>18&63],k+=m[S>>12&63],k+=m[S>>6&63],k+=m[S&63]):i===2?(k+=m[S>>10&63],k+=m[S>>4&63],k+=m[S<<2&63],k+=m[64]):i===1&&(k+=m[S>>2&63],k+=m[S<<4&63],k+=m[64],k+=m[64]),k}function y(V){return Object.prototype.toString.call(V)==="[object Uint8Array]"}I.exports=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:t,construct:o,predicate:y,represent:s})},34015:function(I,r,n){"use strict";var e=n(92276);function a(s){if(s===null)return!1;var y=s.length;return y===4&&(s==="true"||s==="True"||s==="TRUE")||y===5&&(s==="false"||s==="False"||s==="FALSE")}function t(s){return s==="true"||s==="True"||s==="TRUE"}function o(s){return Object.prototype.toString.call(s)==="[object Boolean]"}I.exports=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:a,construct:t,predicate:o,represent:{lowercase:function(){function s(y){return y?"true":"false"}return s}(),uppercase:function(){function s(y){return y?"TRUE":"FALSE"}return s}(),camelcase:function(){function s(y){return y?"True":"False"}return s}()},defaultStyle:"lowercase"})},14589:function(I,r,n){"use strict";var e=n(11017),a=n(92276),t=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function o(S){return!(S===null||!t.test(S)||S[S.length-1]==="_")}function s(S){var p,i;return p=S.replace(/_/g,"").toLowerCase(),i=p[0]==="-"?-1:1,"+-".indexOf(p[0])>=0&&(p=p.slice(1)),p===".inf"?i===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:p===".nan"?NaN:i*parseFloat(p,10)}var y=/^[-+]?[0-9]+e/;function V(S,p){var i;if(isNaN(S))switch(p){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===S)switch(p){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===S)switch(p){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(S))return"-0.0";return i=S.toString(10),y.test(i)?i.replace("e",".e"):i}function k(S){return Object.prototype.toString.call(S)==="[object Number]"&&(S%1!==0||e.isNegativeZero(S))}I.exports=new a("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:s,predicate:k,represent:V,defaultStyle:"lowercase"})},72826:function(I,r,n){"use strict";var e=n(11017),a=n(92276);function t(S){return 48<=S&&S<=57||65<=S&&S<=70||97<=S&&S<=102}function o(S){return 48<=S&&S<=55}function s(S){return 48<=S&&S<=57}function y(S){if(S===null)return!1;var p=S.length,i=0,c=!1,m;if(!p)return!1;if(m=S[i],(m==="-"||m==="+")&&(m=S[++i]),m==="0"){if(i+1===p)return!0;if(m=S[++i],m==="b"){for(i++;i=0?"0b"+p.toString(2):"-0b"+p.toString(2).slice(1)}return S}(),octal:function(){function S(p){return p>=0?"0o"+p.toString(8):"-0o"+p.toString(8).slice(1)}return S}(),decimal:function(){function S(p){return p.toString(10)}return S}(),hexadecimal:function(){function S(p){return p>=0?"0x"+p.toString(16).toUpperCase():"-0x"+p.toString(16).toUpperCase().slice(1)}return S}()},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},89769:function(I,r,n){"use strict";var e=n(92276);I.exports=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(){function a(t){return t!==null?t:{}}return a}()})},36947:function(I,r,n){"use strict";var e=n(92276);function a(t){return t==="<<"||t===null}I.exports=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:a})},30534:function(I,r,n){"use strict";var e=n(92276);function a(s){if(s===null)return!0;var y=s.length;return y===1&&s==="~"||y===4&&(s==="null"||s==="Null"||s==="NULL")}function t(){return null}function o(s){return s===null}I.exports=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:a,construct:t,predicate:o,represent:{canonical:function(){function s(){return"~"}return s}(),lowercase:function(){function s(){return"null"}return s}(),uppercase:function(){function s(){return"NULL"}return s}(),camelcase:function(){function s(){return"Null"}return s}(),empty:function(){function s(){return""}return s}()},defaultStyle:"lowercase"})},14250:function(I,r,n){"use strict";var e=n(92276),a=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function o(y){if(y===null)return!0;var V=[],k,S,p,i,c,m=y;for(k=0,S=m.length;k=0;--H){var z=this.tryEntries[H],Y=z.completion;if(z.tryLoc==="root")return W("end");if(z.tryLoc<=this.prev){var G=a.call(z,"catchLoc"),ne=a.call(z,"finallyLoc");if(G&&ne){if(this.prev=0;--W){var H=this.tryEntries[W];if(H.tryLoc<=this.prev&&a.call(H,"finallyLoc")&&this.prev=0;--j){var W=this.tryEntries[j];if(W.finallyLoc===F)return this.complete(W.completion,W.afterLoc),T(W),f}}return R}(),catch:function(){function R(F){for(var j=this.tryEntries.length-1;j>=0;--j){var W=this.tryEntries[j];if(W.tryLoc===F){var H=W.completion;if(H.type==="throw"){var z=H.arg;T(W)}return z}}throw new Error("illegal catch attempt")}return R}(),delegateYield:function(){function R(F,j,W){return this.delegate={iterator:O(F),resultName:j,nextLoc:W},this.method==="next"&&(this.arg=o),f}return R}()},n}(I.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(I,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},s=function(){function V(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function k(){return Promise.resolve(a.responseText)}return k}(),json:function(){function k(){return Promise.resolve(a.responseText).then(JSON.parse)}return k}(),blob:function(){function k(){return Promise.resolve(new Blob([a.response]))}return k}(),clone:V,headers:{keys:function(){function k(){return t}return k}(),entries:function(){function k(){return t.map(function(S){return[S,a.getResponseHeader(S)]})}return k}(),get:function(){function k(S){return a.getResponseHeader(S)}return k}(),has:function(){function k(S){return a.getResponseHeader(S)!=null}return k}()}}}return V}();for(var y in a.open(r.method||"get",I,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(V,k){o[k]||t.push(o[k]=k)}),n(s())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(y,r.headers[y]);a.send(r.body||null)})})},88510:function(I,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(l,v){var b=typeof Symbol!="undefined"&&l[Symbol.iterator]||l["@@iterator"];if(b)return(b=b.call(l)).next.bind(b);if(Array.isArray(l)||(b=e(l))||v&&l&&typeof l.length=="number"){b&&(l=b);var g=0;return function(){return g>=l.length?{done:!0}:{done:!1,value:l[g++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(l,v){if(l){if(typeof l=="string")return a(l,v);var b={}.toString.call(l).slice(8,-1);return b==="Object"&&l.constructor&&(b=l.constructor.name),b==="Map"||b==="Set"?Array.from(l):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?a(l,v):void 0}}function a(l,v){(v==null||v>l.length)&&(v=l.length);for(var b=0,g=Array(v);bB)return 1}return 0},S=r.sortBy=function(){function l(){for(var v=arguments.length,b=new Array(v),N=0;NB)return 1}return 0},S=r.sortBy=function(){function l(){for(var v=arguments.length,b=new Array(v),g=0;g1?k-1:0),p=1;p1?S-1:0),i=1;i1?k-1:0),p=1;p1?S-1:0),i=1;i=10&&y<=20)return s;var V=y%10;return V===1?t:V>=2&&V<=4?o:s}return e}()},44879:function(I,r){"use strict";r.__esModule=!0,r.toFixed=r.scale=r.round=r.rad2deg=r.keyOfMatchingRange=r.inRange=r.clamp01=r.clamp=void 0;/** + */var n=r.KEY_BACKSPACE=8,e=r.KEY_TAB=9,a=r.KEY_ENTER=13,t=r.KEY_SHIFT=16,o=r.KEY_CTRL=17,s=r.KEY_ALT=18,y=r.KEY_PAUSE=19,V=r.KEY_CAPSLOCK=20,k=r.KEY_ESCAPE=27,S=r.KEY_SPACE=32,p=r.KEY_PAGEUP=33,i=r.KEY_PAGEDOWN=34,c=r.KEY_END=35,m=r.KEY_HOME=36,u=r.KEY_LEFT=37,d=r.KEY_UP=38,f=r.KEY_RIGHT=39,l=r.KEY_DOWN=40,v=r.KEY_INSERT=45,b=r.KEY_DELETE=46,g=r.KEY_0=48,h=r.KEY_1=49,C=r.KEY_2=50,N=r.KEY_3=51,x=r.KEY_4=52,B=r.KEY_5=53,L=r.KEY_6=54,w=r.KEY_7=55,A=r.KEY_8=56,T=r.KEY_9=57,E=r.KEY_A=65,O=r.KEY_B=66,P=r.KEY_C=67,R=r.KEY_D=68,F=r.KEY_E=69,j=r.KEY_F=70,W=r.KEY_G=71,H=r.KEY_H=72,z=r.KEY_I=73,Y=r.KEY_J=74,G=r.KEY_K=75,ne=r.KEY_L=76,Q=r.KEY_M=77,he=r.KEY_N=78,Ve=r.KEY_O=79,Ne=r.KEY_P=80,Be=r.KEY_Q=81,Le=r.KEY_R=82,Ae=r.KEY_S=83,fe=r.KEY_T=84,Z=r.KEY_U=85,J=r.KEY_V=86,te=r.KEY_W=87,ee=r.KEY_X=88,le=r.KEY_Y=89,ye=r.KEY_Z=90,me=r.KEY_NUMPAD_0=96,Te=r.KEY_NUMPAD_1=97,M=r.KEY_NUMPAD_2=98,X=r.KEY_NUMPAD_3=99,ae=r.KEY_NUMPAD_4=100,ue=r.KEY_NUMPAD_5=101,ie=r.KEY_NUMPAD_6=102,ge=r.KEY_NUMPAD_7=103,Ce=r.KEY_NUMPAD_8=104,Me=r.KEY_NUMPAD_9=105,De=r.KEY_F1=112,ke=r.KEY_F2=113,pe=r.KEY_F3=114,se=r.KEY_F4=115,xe=r.KEY_F5=116,_=r.KEY_F6=117,oe=r.KEY_F7=118,ve=r.KEY_F8=119,Se=r.KEY_F9=120,Ie=r.KEY_F10=121,Ee=r.KEY_F11=122,Pe=r.KEY_F12=123,Oe=r.KEY_SEMICOLON=186,We=r.KEY_EQUAL=187,ze=r.KEY_COMMA=188,Ge=r.KEY_MINUS=189,Qe=r.KEY_PERIOD=190,Ye=r.KEY_SLASH=191,ut=r.KEY_LEFT_BRACKET=219,qe=r.KEY_BACKSLASH=220,lt=r.KEY_RIGHT_BRACKET=221,Lt=r.KEY_QUOTE=222},70611:function(I,r){"use strict";r.__esModule=!0,r.KEY=void 0;var n=r.KEY=function(e){return e.Alt="Alt",e.Backspace="Backspace",e.Control="Control",e.Delete="Delete",e.Down="Down",e.End="End",e.Enter="Enter",e.Escape="Esc",e.Home="Home",e.Insert="Insert",e.Left="Left",e.PageDown="PageDown",e.PageUp="PageUp",e.Right="Right",e.Shift="Shift",e.Space=" ",e.Tab="Tab",e.Up="Up",e}({})},41260:function(I,r){"use strict";r.__esModule=!0,r.declensionRu=void 0;var n=r.declensionRu=function(){function e(a,t,o,s){var y=a%100;if(y>=10&&y<=20)return s;var V=y%10;return V===1?t:V>=2&&V<=4?o:s}return e}()},44879:function(I,r){"use strict";r.__esModule=!0,r.toFixed=r.scale=r.round=r.rad2deg=r.keyOfMatchingRange=r.inRange=r.clamp01=r.clamp=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.clamp=function(){function k(S,p,i){return Si?i:S}return k}(),e=r.clamp01=function(){function k(S){return S<0?0:S>1?1:S}return k}(),a=r.scale=function(){function k(S,p,i){return(S-p)/(i-p)}return k}(),t=r.round=function(){function k(S,p){if(!S||isNaN(S))return S;var i,c,f,u;return p|=0,i=Math.pow(10,p),S*=i,u=+(S>0)|-(S<0),f=Math.abs(S%1)>=.4999999999854481,c=Math.floor(S),f&&(S=c+(u>0)),(f?S:Math.round(S))/i}return k}(),o=r.toFixed=function(){function k(S,p){return p===void 0&&(p=0),Number(S).toFixed(Math.max(p,0))}return k}(),s=r.inRange=function(){function k(S,p){return p&&S>=p[0]&&S<=p[1]}return k}(),y=r.keyOfMatchingRange=function(){function k(S,p){for(var i=0,c=Object.keys(p);ii?i:S}return k}(),e=r.clamp01=function(){function k(S){return S<0?0:S>1?1:S}return k}(),a=r.scale=function(){function k(S,p,i){return(S-p)/(i-p)}return k}(),t=r.round=function(){function k(S,p){if(!S||isNaN(S))return S;var i,c,m,u;return p|=0,i=Math.pow(10,p),S*=i,u=+(S>0)|-(S<0),m=Math.abs(S%1)>=.4999999999854481,c=Math.floor(S),m&&(S=c+(u>0)),(m?S:Math.round(S))/i}return k}(),o=r.toFixed=function(){function k(S,p){return p===void 0&&(p=0),Number(S).toFixed(Math.max(p,0))}return k}(),s=r.inRange=function(){function k(S,p){return p&&S>=p[0]&&S<=p[1]}return k}(),y=r.keyOfMatchingRange=function(){function k(S,p){for(var i=0,c=Object.keys(p);i1?u-1:0),m=1;m1?g-1:0),B=1;B=0;--ye){var me=this.tryEntries[ye],Te=me.completion;if(me.tryLoc==="root")return le("end");if(me.tryLoc<=this.prev){var M=C.call(me,"catchLoc"),X=C.call(me,"finallyLoc");if(M&&X){if(this.prev=0;--le){var ye=this.tryEntries[le];if(ye.tryLoc<=this.prev&&C.call(ye,"finallyLoc")&&this.prev=0;--ee){var le=this.tryEntries[ee];if(le.finallyLoc===te)return this.complete(le.completion,le.afterLoc),Ae(le),j}}return J}(),catch:function(){function J(te){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var le=this.tryEntries[ee];if(le.tryLoc===te){var ye=le.completion;if(ye.type==="throw"){var me=ye.arg;Ae(le)}return me}}throw Error("illegal catch attempt")}return J}(),delegateYield:function(){function J(te,ee,le){return this.delegate={iterator:Z(te),resultName:ee,nextLoc:le},this.method==="next"&&(this.arg=b),j}return J}()},N}function e(b,N,h,C,g,x,B){try{var L=b[x](B),w=L.value}catch(A){return void h(A)}L.done?N(w):Promise.resolve(w).then(C,g)}function a(b){return function(){var N=this,h=arguments;return new Promise(function(C,g){var x=b.apply(N,h);function B(w){e(x,C,g,B,L,"next",w)}function L(w){e(x,C,g,B,L,"throw",w)}B(void 0)})}}/** + */var a=r.createStore=function(){function k(S,p){if(p)return p(a)(S);var i,c=[],m=function(){function f(){return i}return f}(),u=function(){function f(l){c.push(l)}return f}(),d=function(){function f(l){i=S(i,l);for(var v=0;v1?u-1:0),f=1;f1?N-1:0),B=1;B=0;--ye){var me=this.tryEntries[ye],Te=me.completion;if(me.tryLoc==="root")return le("end");if(me.tryLoc<=this.prev){var M=C.call(me,"catchLoc"),X=C.call(me,"finallyLoc");if(M&&X){if(this.prev=0;--le){var ye=this.tryEntries[le];if(ye.tryLoc<=this.prev&&C.call(ye,"finallyLoc")&&this.prev=0;--ee){var le=this.tryEntries[ee];if(le.finallyLoc===te)return this.complete(le.completion,le.afterLoc),Ae(le),j}}return J}(),catch:function(){function J(te){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var le=this.tryEntries[ee];if(le.tryLoc===te){var ye=le.completion;if(ye.type==="throw"){var me=ye.arg;Ae(le)}return me}}throw Error("illegal catch attempt")}return J}(),delegateYield:function(){function J(te,ee,le){return this.delegate={iterator:Z(te),resultName:ee,nextLoc:le},this.method==="next"&&(this.arg=b),j}return J}()},g}function e(b,g,h,C,N,x,B){try{var L=b[x](B),w=L.value}catch(A){return void h(A)}L.done?g(w):Promise.resolve(w).then(C,N)}function a(b){return function(){var g=this,h=arguments;return new Promise(function(C,N){var x=b.apply(g,h);function B(w){e(x,C,N,B,L,"next",w)}function L(w){e(x,C,N,B,L,"throw",w)}B(void 0)})}}/** * Browser-agnostic abstraction of key-value web storage. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.IMPL_MEMORY=0,o=r.IMPL_HUB_STORAGE=1,s=r.IMPL_INDEXED_DB=2,y=1,V="para-tgui",k="storage-v1",S="readonly",p="readwrite",i=function(N){return function(){try{return!!N()}catch(h){return!1}}},c=i(function(){return window.hubStorage&&window.hubStorage.getItem}),f=i(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),u=function(){function b(){this.impl=t,this.store={}}var N=b.prototype;return N.get=function(){var h=a(n().mark(function(){function g(x){return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",this.store[x]);case 1:case"end":return L.stop()}}return B}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.set=function(){var h=a(n().mark(function(){function g(x,B){return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:this.store[x]=B;case 1:case"end":return w.stop()}}return L}(),g,this)}return g}()));function C(g,x){return h.apply(this,arguments)}return C}(),N.remove=function(){var h=a(n().mark(function(){function g(x){return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:this.store[x]=void 0;case 1:case"end":return L.stop()}}return B}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.clear=function(){var h=a(n().mark(function(){function g(){return n().wrap(function(){function x(B){for(;;)switch(B.prev=B.next){case 0:this.store={};case 1:case"end":return B.stop()}}return x}(),g,this)}return g}()));function C(){return h.apply(this,arguments)}return C}(),b}(),d=function(){function b(){this.impl=o}var N=b.prototype;return N.get=function(){var h=a(n().mark(function(){function g(x){var B;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,window.hubStorage.getItem("paradise-"+x);case 2:if(B=w.sent,typeof B!="string"){w.next=5;break}return w.abrupt("return",JSON.parse(B));case 5:case"end":return w.stop()}}return L}(),g)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.set=function(){var h=a(n().mark(function(){function g(x,B){return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:window.hubStorage.setItem("paradise-"+x,JSON.stringify(B));case 1:case"end":return w.stop()}}return L}(),g)}return g}()));function C(g,x){return h.apply(this,arguments)}return C}(),N.remove=function(){var h=a(n().mark(function(){function g(x){return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:window.hubStorage.removeItem("paradise-"+x);case 1:case"end":return L.stop()}}return B}(),g)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.clear=function(){var h=a(n().mark(function(){function g(){return n().wrap(function(){function x(B){for(;;)switch(B.prev=B.next){case 0:window.hubStorage.clear();case 1:case"end":return B.stop()}}return x}(),g)}return g}()));function C(){return h.apply(this,arguments)}return C}(),b}(),m=function(){function b(){this.impl=s,this.dbPromise=new Promise(function(h,C){var g=window.indexedDB||window.msIndexedDB,x=g.open(V,y);x.onupgradeneeded=function(){try{x.result.createObjectStore(k)}catch(B){C(new Error("Failed to upgrade IDB: "+x.error))}},x.onsuccess=function(){return h(x.result)},x.onerror=function(){C(new Error("Failed to open IDB: "+x.error))}})}var N=b.prototype;return N.getStore=function(){var h=a(n().mark(function(){function g(x){return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",this.dbPromise.then(function(w){return w.transaction(k,x).objectStore(k)}));case 1:case"end":return L.stop()}}return B}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.get=function(){var h=a(n().mark(function(){function g(x){var B;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(S);case 2:return B=w.sent,w.abrupt("return",new Promise(function(A,T){var E=B.get(x);E.onsuccess=function(){return A(E.result)},E.onerror=function(){return T(E.error)}}));case 4:case"end":return w.stop()}}return L}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.set=function(){var h=a(n().mark(function(){function g(x,B){var L;return n().wrap(function(){function w(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.getStore(p);case 2:L=A.sent,L.put(B,x);case 4:case"end":return A.stop()}}return w}(),g,this)}return g}()));function C(g,x){return h.apply(this,arguments)}return C}(),N.remove=function(){var h=a(n().mark(function(){function g(x){var B;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(p);case 2:B=w.sent,B.delete(x);case 4:case"end":return w.stop()}}return L}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.clear=function(){var h=a(n().mark(function(){function g(){var x;return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.getStore(p);case 2:x=L.sent,x.clear();case 4:case"end":return L.stop()}}return B}(),g,this)}return g}()));function C(){return h.apply(this,arguments)}return C}(),b}(),l=function(){function b(){this.backendPromise=a(n().mark(function(){function h(){var C;return n().wrap(function(){function g(x){for(;;)switch(x.prev=x.next){case 0:if(!(!Byond.TRIDENT&&c())){x.next=2;break}return x.abrupt("return",new d);case 2:if(!f()){x.next=12;break}return x.prev=3,C=new m,x.next=7,C.dbPromise;case 7:return x.abrupt("return",C);case 10:x.prev=10,x.t0=x.catch(3);case 12:return x.abrupt("return",new u);case 13:case"end":return x.stop()}}return g}(),h,null,[[3,10]])}return h}()))()}var N=b.prototype;return N.get=function(){var h=a(n().mark(function(){function g(x){var B;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return B=w.sent,w.abrupt("return",B.get(x));case 4:case"end":return w.stop()}}return L}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.set=function(){var h=a(n().mark(function(){function g(x,B){var L;return n().wrap(function(){function w(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.backendPromise;case 2:return L=A.sent,A.abrupt("return",L.set(x,B));case 4:case"end":return A.stop()}}return w}(),g,this)}return g}()));function C(g,x){return h.apply(this,arguments)}return C}(),N.remove=function(){var h=a(n().mark(function(){function g(x){var B;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return B=w.sent,w.abrupt("return",B.remove(x));case 4:case"end":return w.stop()}}return L}(),g,this)}return g}()));function C(g){return h.apply(this,arguments)}return C}(),N.clear=function(){var h=a(n().mark(function(){function g(){var x;return n().wrap(function(){function B(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.backendPromise;case 2:return x=L.sent,L.abrupt("return",x.clear());case 4:case"end":return L.stop()}}return B}(),g,this)}return g}()));function C(){return h.apply(this,arguments)}return C}(),b}(),v=r.storage=new l},25328:function(I,r){"use strict";r.__esModule=!0,r.toTitleCase=r.multiline=r.decodeHtmlEntities=r.createSearch=r.createGlobPattern=r.capitalize=r.buildQueryString=void 0;function n(p,i){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=e(p))||i&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(p,i){if(p){if(typeof p=="string")return a(p,i);var c={}.toString.call(p).slice(8,-1);return c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set"?Array.from(p):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(p,i):void 0}}function a(p,i){(i==null||i>p.length)&&(i=p.length);for(var c=0,f=Array(i);c=p.length?{done:!0}:{done:!1,value:p[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(p,i){if(p){if(typeof p=="string")return a(p,i);var c={}.toString.call(p).slice(8,-1);return c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set"?Array.from(p):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(p,i):void 0}}function a(p,i){(i==null||i>p.length)&&(i=p.length);for(var c=0,m=Array(i);c",apos:"'"};return i.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(u,d){return f[d]}).replace(/&#?([0-9]+);/gi,function(u,d){var m=parseInt(d,10);return String.fromCharCode(m)}).replace(/&#x?([0-9a-f]+);/gi,function(u,d){var m=parseInt(d,16);return String.fromCharCode(m)})}return p}(),S=r.buildQueryString=function(){function p(i){return Object.keys(i).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(i[c])}).join("&")}return p}()},69214:function(I,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/** + */var t=r.multiline=function(){function p(i){if(Array.isArray(i))return t(i.join(""));for(var c=i.split("\n"),m,u=n(c),d;!(d=u()).done;)for(var f=d.value,l=0;l",apos:"'"};return i.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(u,d){return m[d]}).replace(/&#?([0-9]+);/gi,function(u,d){var f=parseInt(d,10);return String.fromCharCode(f)}).replace(/&#x?([0-9a-f]+);/gi,function(u,d){var f=parseInt(d,16);return String.fromCharCode(f)})}return p}(),S=r.buildQueryString=function(){function p(i){return Object.keys(i).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(i[c])}).join("&")}return p}()},69214:function(I,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.debounce=function(){function t(o,s,y){y===void 0&&(y=!1);var V;return function(){for(var k=arguments.length,S=new Array(k),p=0;p=s)o.apply(null,p),y=c;else{var f;V=setTimeout(function(){return k.apply(void 0,p)},s-(c-((f=y)!=null?f:0)))}}return k}()}return t}()},97450:function(I,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(88510);/** + */var n=r.debounce=function(){function t(o,s,y){y===void 0&&(y=!1);var V;return function(){for(var k=arguments.length,S=new Array(k),p=0;p=s)o.apply(null,p),y=c;else{var m;V=setTimeout(function(){return k.apply(void 0,p)},s-(c-((m=y)!=null?m:0)))}}return k}()}return t}()},97450:function(I,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(88510);/** * N-dimensional vector manipulation functions. * * Vectors are plain number arrays, i.e. [x, y, z]. @@ -58,11 +58,11 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=function(d,m){return d+m},t=function(d,m){return d-m},o=function(d,m){return d*m},s=function(d,m){return d/m},y=r.vecAdd=function(){function u(){for(var d=arguments.length,m=new Array(d),l=0;l0&&(C.style=T),C}return N}(),v=r.computeBoxClassName=function(){function N(h){var C=h.textColor||h.color,g=h.backgroundColor;return(0,e.classes)([p(C)&&"color-"+C,p(g)&&"color-bg-"+g])}return N}(),b=r.Box=function(){function N(h){var C=h.as,g=C===void 0?"div":C,x=h.className,B=h.children,L=y(h,s);if(typeof B=="function")return B(l(h));var w=typeof x=="string"?x+" "+v(L):v(L),A=l(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,g,w,B,t.ChildFlags.UnknownChildren,A)}return N}();b.defaultHooks=e.pureComponentHooks},94798:function(I,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),s=n(55937),y=n(1331),V=n(62147),k=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],S=["checked"],p=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],i=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** + */function y(g,h){if(g==null)return{};var C={};for(var N in g)if({}.hasOwnProperty.call(g,N)){if(h.includes(N))continue;C[N]=g[N]}return C}var V=r.unit=function(){function g(h){if(typeof h=="string")return h.endsWith("px")?parseFloat(h)/12+"rem":h;if(typeof h=="number")return h+"rem"}return g}(),k=r.halfUnit=function(){function g(h){if(typeof h=="string")return V(h);if(typeof h=="number")return V(h*.5)}return g}(),S=function(h){return!p(h)},p=function(h){if(typeof h=="string")return o.CSS_COLORS.includes(h)},i=function(h){return function(C,N){(typeof N=="number"||typeof N=="string")&&(C[h]=N)}},c=function(h,C){return function(N,x){(typeof x=="number"||typeof x=="string")&&(N[h]=C(x))}},m=function(h,C){return function(N,x){x&&(N[h]=C)}},u=function(h,C,N){return function(x,B){if(typeof B=="number"||typeof B=="string")for(var L=0;L0&&(C.style=T),C}return g}(),v=r.computeBoxClassName=function(){function g(h){var C=h.textColor||h.color,N=h.backgroundColor;return(0,e.classes)([p(C)&&"color-"+C,p(N)&&"color-bg-"+N])}return g}(),b=r.Box=function(){function g(h){var C=h.as,N=C===void 0?"div":C,x=h.className,B=h.children,L=y(h,s);if(typeof B=="function")return B(l(h));var w=typeof x=="string"?x+" "+v(L):v(L),A=l(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,N,w,B,t.ChildFlags.UnknownChildren,A)}return g}();b.defaultHooks=e.pureComponentHooks},94798:function(I,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),s=n(55937),y=n(1331),V=n(62147),k=["className","fluid","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],S=["checked"],p=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],i=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","placeholder","maxLength","multiLine"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function c(N,h){N.prototype=Object.create(h.prototype),N.prototype.constructor=N,f(N,h)}function f(N,h){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,g){return C.__proto__=g,C},f(N,h)}function u(N,h){if(N==null)return{};var C={};for(var g in N)if({}.hasOwnProperty.call(N,g)){if(h.includes(g))continue;C[g]=N[g]}return C}var d=(0,o.createLogger)("Button"),m=r.Button=function(){function N(h){var C=h.className,g=h.fluid,x=h.icon,B=h.iconRotation,L=h.iconSpin,w=h.color,A=h.textColor,T=h.disabled,E=h.selected,O=h.tooltip,P=h.tooltipPosition,R=h.ellipsis,F=h.compact,j=h.circular,W=h.content,H=h.iconColor,z=h.iconRight,$=h.iconStyle,G=h.children,ne=h.onclick,Q=h.onClick,he=h.multiLine,Ve=u(h,k),Ne=!!(W||G);ne&&d.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),Ve.onClick=function(Le){!T&&Q&&Q(Le)};var Be=(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Box,Object.assign({className:(0,a.classes)(["Button",g&&"Button--fluid",T&&"Button--disabled",E&&"Button--selected",Ne&&"Button--hasContent",R&&"Button--ellipsis",j&&"Button--circular",F&&"Button--compact",z&&"Button--iconRight",he&&"Button--multiLine",w&&typeof w=="string"?"Button--color--"+w:"Button--color--default",C]),tabIndex:!T&&"0",color:A,onKeyDown:function(){function Le(Ae){var fe=window.event?Ae.which:Ae.keyCode;if(fe===t.KEY_SPACE||fe===t.KEY_ENTER){Ae.preventDefault(),!T&&Q&&Q(Ae);return}if(fe===t.KEY_ESCAPE){Ae.preventDefault();return}}return Le}()},Ve,{children:[x&&!z&&(0,e.createComponentVNode)(2,y.Icon,{name:x,color:H,rotation:B,spin:L,style:$}),W,G,x&&z&&(0,e.createComponentVNode)(2,y.Icon,{name:x,color:H,rotation:B,spin:L,style:$})]})));return O&&(Be=(0,e.createComponentVNode)(2,V.Tooltip,{content:O,position:P,children:Be})),Be}return N}();m.defaultHooks=a.pureComponentHooks;var l=r.ButtonCheckbox=function(){function N(h){var C=h.checked,g=u(h,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({color:"transparent",icon:C?"check-square-o":"square-o",selected:C},g)))}return N}();m.Checkbox=l;var v=r.ButtonConfirm=function(N){function h(){var g;return g=N.call(this)||this,g.state={clickedOnce:!1},g.handleClick=function(){g.state.clickedOnce&&g.setClickedOnce(!1)},g}c(h,N);var C=h.prototype;return C.setClickedOnce=function(){function g(x){var B=this;this.setState({clickedOnce:x}),x?setTimeout(function(){return window.addEventListener("click",B.handleClick)}):window.removeEventListener("click",this.handleClick)}return g}(),C.render=function(){function g(){var x=this,B=this.props,L=B.confirmContent,w=L===void 0?"Confirm?":L,A=B.confirmColor,T=A===void 0?"bad":A,E=B.confirmIcon,O=B.icon,P=B.color,R=B.content,F=B.onClick,j=u(B,p);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({content:this.state.clickedOnce?w:R,icon:this.state.clickedOnce?E:O,color:this.state.clickedOnce?T:P,onClick:function(){function W(){return x.state.clickedOnce?F():x.setClickedOnce(!0)}return W}()},j)))}return g}(),h}(e.Component);m.Confirm=v;var b=r.ButtonInput=function(N){function h(){var g;return g=N.call(this)||this,g.inputRef=(0,e.createRef)(),g.state={inInput:!1},g}c(h,N);var C=h.prototype;return C.setInInput=function(){function g(x){var B=this.props.disabled;if(!B&&(this.setState({inInput:x}),this.inputRef)){var L=this.inputRef.current;if(x){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(w){}}}}return g}(),C.commitResult=function(){function g(x){if(this.inputRef){var B=this.inputRef.current,L=B.value!=="";if(L){this.props.onCommit(x,B.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(x,this.props.defaultValue)}}}return g}(),C.render=function(){function g(){var x=this,B=this.props,L=B.fluid,w=B.content,A=B.icon,T=B.iconRotation,E=B.iconSpin,O=B.tooltip,P=B.tooltipPosition,R=B.color,F=R===void 0?"default":R,j=B.disabled,W=B.placeholder,H=B.maxLength,z=B.multiLine,$=u(B,i),G=(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",j&&"Button--disabled","Button--color--"+F,z+"Button--multiLine"])},$,{onClick:function(){function ne(){return x.setInInput(!0)}return ne}(),children:[A&&(0,e.createComponentVNode)(2,y.Icon,{name:A,rotation:T,spin:E}),(0,e.createVNode)(1,"div",null,w,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function ne(Q){x.state.inInput&&(x.setInInput(!1),x.commitResult(Q))}return ne}(),onKeyDown:function(){function ne(Q){if(Q.keyCode===t.KEY_ENTER){x.setInInput(!1),x.commitResult(Q);return}Q.keyCode===t.KEY_ESCAPE&&x.setInInput(!1)}return ne}()},null,this.inputRef)]})));return O&&(G=(0,e.createComponentVNode)(2,V.Tooltip,{content:O,position:P,children:G})),G}return g}(),h}(e.Component);m.Input=b},18982:function(I,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),s=n(55937),y=["params"],V=["params"],k=["parent","params"];function S(v,b){if(v==null)return{};var N={};for(var h in v)if({}.hasOwnProperty.call(v,h)){if(b.includes(h))continue;N[h]=v[h]}return N}function p(v,b){v.prototype=Object.create(b.prototype),v.prototype.constructor=v,i(v,b)}function i(v,b){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,h){return N.__proto__=h,N},i(v,b)}/** + */function c(g,h){g.prototype=Object.create(h.prototype),g.prototype.constructor=g,m(g,h)}function m(g,h){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,N){return C.__proto__=N,C},m(g,h)}function u(g,h){if(g==null)return{};var C={};for(var N in g)if({}.hasOwnProperty.call(g,N)){if(h.includes(N))continue;C[N]=g[N]}return C}var d=(0,o.createLogger)("Button"),f=r.Button=function(){function g(h){var C=h.className,N=h.fluid,x=h.icon,B=h.iconRotation,L=h.iconSpin,w=h.color,A=h.textColor,T=h.disabled,E=h.selected,O=h.tooltip,P=h.tooltipPosition,R=h.ellipsis,F=h.compact,j=h.circular,W=h.content,H=h.iconColor,z=h.iconRight,Y=h.iconStyle,G=h.children,ne=h.onclick,Q=h.onClick,he=h.multiLine,Ve=u(h,k),Ne=!!(W||G);ne&&d.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),Ve.onClick=function(Le){!T&&Q&&Q(Le)};var Be=(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Box,Object.assign({className:(0,a.classes)(["Button",N&&"Button--fluid",T&&"Button--disabled",E&&"Button--selected",Ne&&"Button--hasContent",R&&"Button--ellipsis",j&&"Button--circular",F&&"Button--compact",z&&"Button--iconRight",he&&"Button--multiLine",w&&typeof w=="string"?"Button--color--"+w:"Button--color--default",C]),tabIndex:!T&&"0",color:A,onKeyDown:function(){function Le(Ae){var fe=window.event?Ae.which:Ae.keyCode;if(fe===t.KEY_SPACE||fe===t.KEY_ENTER){Ae.preventDefault(),!T&&Q&&Q(Ae);return}if(fe===t.KEY_ESCAPE){Ae.preventDefault();return}}return Le}()},Ve,{children:[x&&!z&&(0,e.createComponentVNode)(2,y.Icon,{name:x,color:H,rotation:B,spin:L,style:Y}),W,G,x&&z&&(0,e.createComponentVNode)(2,y.Icon,{name:x,color:H,rotation:B,spin:L,style:Y})]})));return O&&(Be=(0,e.createComponentVNode)(2,V.Tooltip,{content:O,position:P,children:Be})),Be}return g}();f.defaultHooks=a.pureComponentHooks;var l=r.ButtonCheckbox=function(){function g(h){var C=h.checked,N=u(h,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({color:"transparent",icon:C?"check-square-o":"square-o",selected:C},N)))}return g}();f.Checkbox=l;var v=r.ButtonConfirm=function(g){function h(){var N;return N=g.call(this)||this,N.state={clickedOnce:!1},N.handleClick=function(){N.state.clickedOnce&&N.setClickedOnce(!1)},N}c(h,g);var C=h.prototype;return C.setClickedOnce=function(){function N(x){var B=this;this.setState({clickedOnce:x}),x?setTimeout(function(){return window.addEventListener("click",B.handleClick)}):window.removeEventListener("click",this.handleClick)}return N}(),C.render=function(){function N(){var x=this,B=this.props,L=B.confirmContent,w=L===void 0?"Confirm?":L,A=B.confirmColor,T=A===void 0?"bad":A,E=B.confirmIcon,O=B.icon,P=B.color,R=B.content,F=B.onClick,j=u(B,p);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({content:this.state.clickedOnce?w:R,icon:this.state.clickedOnce?E:O,color:this.state.clickedOnce?T:P,onClick:function(){function W(){return x.state.clickedOnce?F():x.setClickedOnce(!0)}return W}()},j)))}return N}(),h}(e.Component);f.Confirm=v;var b=r.ButtonInput=function(g){function h(){var N;return N=g.call(this)||this,N.inputRef=(0,e.createRef)(),N.state={inInput:!1},N}c(h,g);var C=h.prototype;return C.setInInput=function(){function N(x){var B=this.props.disabled;if(!B&&(this.setState({inInput:x}),this.inputRef)){var L=this.inputRef.current;if(x){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(w){}}}}return N}(),C.commitResult=function(){function N(x){if(this.inputRef){var B=this.inputRef.current,L=B.value!=="";if(L){this.props.onCommit(x,B.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(x,this.props.defaultValue)}}}return N}(),C.render=function(){function N(){var x=this,B=this.props,L=B.fluid,w=B.content,A=B.icon,T=B.iconRotation,E=B.iconSpin,O=B.tooltip,P=B.tooltipPosition,R=B.color,F=R===void 0?"default":R,j=B.disabled,W=B.placeholder,H=B.maxLength,z=B.multiLine,Y=u(B,i),G=(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",j&&"Button--disabled","Button--color--"+F,z+"Button--multiLine"])},Y,{onClick:function(){function ne(){return x.setInInput(!0)}return ne}(),children:[A&&(0,e.createComponentVNode)(2,y.Icon,{name:A,rotation:T,spin:E}),(0,e.createVNode)(1,"div",null,w,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function ne(Q){x.state.inInput&&(x.setInInput(!1),x.commitResult(Q))}return ne}(),onKeyDown:function(){function ne(Q){if(Q.keyCode===t.KEY_ENTER){x.setInInput(!1),x.commitResult(Q);return}Q.keyCode===t.KEY_ESCAPE&&x.setInInput(!1)}return ne}()},null,this.inputRef)]})));return O&&(G=(0,e.createComponentVNode)(2,V.Tooltip,{content:O,position:P,children:G})),G}return N}(),h}(e.Component);f.Input=b},18982:function(I,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),s=n(55937),y=["params"],V=["params"],k=["parent","params"];function S(v,b){if(v==null)return{};var g={};for(var h in v)if({}.hasOwnProperty.call(v,h)){if(b.includes(h))continue;g[h]=v[h]}return g}function p(v,b){v.prototype=Object.create(b.prototype),v.prototype.constructor=v,i(v,b)}function i(v,b){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,h){return g.__proto__=h,g},i(v,b)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var c=(0,o.createLogger)("ByondUi"),f=[],u=function(b){var N=f.length;f.push(null);var h=b||"byondui_"+N;return c.log("allocated '"+h+"'"),{render:function(){function C(g){c.log("rendering '"+h+"'"),f[N]=h,Byond.winset(h,g)}return C}(),unmount:function(){function C(){c.log("unmounting '"+h+"'"),f[N]=null,Byond.winset(h,{parent:""})}return C}()}};window.addEventListener("beforeunload",function(){for(var v=0;v0){var R=P[0],F=P[P.length-1];P.push([O[0]+T,F[1]]),P.push([O[0]+T,-T]),P.push([-T,-T]),P.push([-T,R[1]])}var j=p(P);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function W(H){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+O[1]+")",fill:B,stroke:w,"stroke-width":T,points:j}),2,{viewBox:"0 0 "+O[0]+" "+O[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},H),null,v.ref))}return W}()})))}return l}(),d}(e.Component);i.defaultHooks=t.pureComponentHooks;var c=function(d){return null},f=r.Chart={Line:i}},4796:function(I,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(94798),o=["children","color","title","buttons"];function s(S,p){if(S==null)return{};var i={};for(var c in S)if({}.hasOwnProperty.call(S,c)){if(p.includes(c))continue;i[c]=S[c]}return i}function y(S,p){S.prototype=Object.create(p.prototype),S.prototype.constructor=S,V(S,p)}function V(S,p){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},V(S,p)}/** +*/var S=function(d,f,l,v){if(d.length===0)return[];var b=(0,a.zipWith)(Math.min).apply(void 0,d),g=(0,a.zipWith)(Math.max).apply(void 0,d);l!==void 0&&(b[0]=l[0],g[0]=l[1]),v!==void 0&&(b[1]=v[0],g[1]=v[1]);var h=(0,a.map)(function(C){return(0,a.zipWith)(function(N,x,B,L){return(N-x)/(B-x)*L})(C,b,g,f)})(d);return h},p=function(d){for(var f="",l=0;l0){var R=P[0],F=P[P.length-1];P.push([O[0]+T,F[1]]),P.push([O[0]+T,-T]),P.push([-T,-T]),P.push([-T,R[1]])}var j=p(P);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function W(H){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+O[1]+")",fill:B,stroke:w,"stroke-width":T,points:j}),2,{viewBox:"0 0 "+O[0]+" "+O[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},H),null,v.ref))}return W}()})))}return l}(),d}(e.Component);i.defaultHooks=t.pureComponentHooks;var c=function(d){return null},m=r.Chart={Line:i}},4796:function(I,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(94798),o=["children","color","title","buttons"];function s(S,p){if(S==null)return{};var i={};for(var c in S)if({}.hasOwnProperty.call(S,c)){if(p.includes(c))continue;i[c]=S[c]}return i}function y(S,p){S.prototype=Object.create(p.prototype),S.prototype.constructor=S,V(S,p)}function V(S,p){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},V(S,p)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var k=r.Collapsible=function(S){function p(c){var f;f=S.call(this,c)||this;var u=c.open;return f.state={open:u||!1},f}y(p,S);var i=p.prototype;return i.render=function(){function c(){var f=this,u=this.props,d=this.state.open,m=u.children,l=u.color,v=l===void 0?"default":l,b=u.title,N=u.buttons,h=s(u,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:v,icon:d?"chevron-down":"chevron-right",onClick:function(){function C(){return f.setState({open:!d})}return C}()},h,{children:b}))),2),N&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",N,0)],0),d&&(0,e.createComponentVNode)(2,a.Box,{mt:1,children:m})]})}return c}(),p}(e.Component)},88894:function(I,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/** +*/var k=r.Collapsible=function(S){function p(c){var m;m=S.call(this,c)||this;var u=c.open;return m.state={open:u||!1},m}y(p,S);var i=p.prototype;return i.render=function(){function c(){var m=this,u=this.props,d=this.state.open,f=u.children,l=u.color,v=l===void 0?"default":l,b=u.title,g=u.buttons,h=s(u,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:v,icon:d?"chevron-down":"chevron-right",onClick:function(){function C(){return m.setState({open:!d})}return C}()},h,{children:b}))),2),g&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",g,0)],0),d&&(0,e.createComponentVNode)(2,a.Box,{mt:1,children:f})]})}return c}(),p}(e.Component)},88894:function(I,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function s(V,k){if(V==null)return{};var S={};for(var p in V)if({}.hasOwnProperty.call(V,p)){if(k.includes(p))continue;S[p]=V[p]}return S}var y=r.ColorBox=function(){function V(k){var S=k.content,p=k.children,i=k.className,c=k.color,f=k.backgroundColor,u=s(k,o);return u.color=S?null:"transparent",u.backgroundColor=c||f,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",i,(0,t.computeBoxClassName)(u)]),S||".",0,Object.assign({},(0,t.computeBoxProps)(u))))}return V}();y.defaultHooks=a.pureComponentHooks},73379:function(I,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(k,S){if(k==null)return{};var p={};for(var i in k)if({}.hasOwnProperty.call(k,i)){if(S.includes(i))continue;p[i]=k[i]}return p}function s(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,y(k,S)}function y(k,S){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,i){return p.__proto__=i,p},y(k,S)}var V=r.Countdown=function(k){function S(i){var c;return c=k.call(this,i)||this,c.timer=null,c.state={value:Math.max(i.timeLeft*100,0)},c}s(S,k);var p=S.prototype;return p.tick=function(){function i(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(f){return{value:c}})}return i}(),p.componentDidMount=function(){function i(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return i}(),p.componentWillUnmount=function(){function i(){clearInterval(this.timer)}return i}(),p.componentDidUpdate=function(){function i(c){var f=this;this.props.current!==c.current&&this.setState(function(u){return{value:Math.max(f.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return i}(),p.render=function(){function i(){var c=this.props,f=c.format,u=o(c,t),d=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},u,{children:f?f(this.state.value,d):d})))}return i}(),S}(e.Component);V.defaultProps={rate:1e3}},61940:function(I,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/** + */function s(V,k){if(V==null)return{};var S={};for(var p in V)if({}.hasOwnProperty.call(V,p)){if(k.includes(p))continue;S[p]=V[p]}return S}var y=r.ColorBox=function(){function V(k){var S=k.content,p=k.children,i=k.className,c=k.color,m=k.backgroundColor,u=s(k,o);return u.color=S?null:"transparent",u.backgroundColor=c||m,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",i,(0,t.computeBoxClassName)(u)]),S||".",0,Object.assign({},(0,t.computeBoxProps)(u))))}return V}();y.defaultHooks=a.pureComponentHooks},73379:function(I,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(k,S){if(k==null)return{};var p={};for(var i in k)if({}.hasOwnProperty.call(k,i)){if(S.includes(i))continue;p[i]=k[i]}return p}function s(k,S){k.prototype=Object.create(S.prototype),k.prototype.constructor=k,y(k,S)}function y(k,S){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,i){return p.__proto__=i,p},y(k,S)}var V=r.Countdown=function(k){function S(i){var c;return c=k.call(this,i)||this,c.timer=null,c.state={value:Math.max(i.timeLeft*100,0)},c}s(S,k);var p=S.prototype;return p.tick=function(){function i(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(m){return{value:c}})}return i}(),p.componentDidMount=function(){function i(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return i}(),p.componentWillUnmount=function(){function i(){clearInterval(this.timer)}return i}(),p.componentDidUpdate=function(){function i(c){var m=this;this.props.current!==c.current&&this.setState(function(u){return{value:Math.max(m.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return i}(),p.render=function(){function i(){var c=this.props,m=c.format,u=o(c,t),d=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},u,{children:m?m(this.state.value,d):d})))}return i}(),S}(e.Component);V.defaultProps={rate:1e3}},61940:function(I,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -113,31 +113,31 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.Divider=function(){function o(s){var y=s.vertical,V=s.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",V&&"Divider--hidden",y?"Divider--vertical":"Divider--horizontal"]))}return o}()},20342:function(I,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function s(p,i){p.prototype=Object.create(i.prototype),p.prototype.constructor=p,y(p,i)}function y(p,i){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},y(p,i)}var V=400,k=function(i,c){return i.screenX*c[0]+i.screenY*c[1]},S=r.DraggableControl=function(p){function i(f){var u;return u=p.call(this,f)||this,u.inputRef=(0,e.createRef)(),u.state={originalValue:f.value,value:f.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var d=u.props.suppressFlicker;d>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},d))},u.handleDragStart=function(d){var m=u.props,l=m.value,v=m.dragMatrix,b=m.disabled,N=u.state.editing;N||b||(document.body.style["pointer-events"]="none",u.ref=d.currentTarget,u.setState({originalValue:l,dragging:!1,value:l,origin:k(d,v)}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var h=u.state,C=h.dragging,g=h.value,x=u.props.onDrag;C&&x&&x(d,g)},u.props.updateRate||V),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(d){var m,l=u.props,v=l.minValue,b=l.maxValue,N=l.step,h=l.dragMatrix,C=l.disabled;if(!C){var g=u.ref.offsetWidth/((b-v)/N),x=(m=u.props.stepPixelSize)!=null?m:g;typeof x=="function"&&(x=x(g)),u.setState(function(B){var L=Object.assign({},B),w=B.origin,A=k(d,h)-w;if(B.dragging){var T=Math.trunc(A/x);L.value=(0,a.clamp)(Math.floor(L.originalValue/N)*N+T*N,v,b)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},u.handleDragEnd=function(d){var m=u.props,l=m.onChange,v=m.onDrag,b=u.state,N=b.dragging,h=b.value;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({originalValue:null,dragging:!1,editing:!N,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),N)u.suppressFlicker(),l&&l(d,h),v&&v(d,h);else if(u.inputRef){var C=u.inputRef.current;C.value=h;try{C.focus(),C.select()}catch(g){}}},u}s(i,p);var c=i.prototype;return c.render=function(){function f(){var u=this,d=this.state,m=d.dragging,l=d.editing,v=d.value,b=d.suppressingFlicker,N=this.props,h=N.animated,C=N.value,g=N.unit,x=N.minValue,B=N.maxValue,L=N.format,w=N.onChange,A=N.onDrag,T=N.children,E=N.height,O=N.lineHeight,P=N.fontSize,R=N.disabled,F=C;(m||b)&&(F=v);var j=function(){function z($){return $+(g?" "+g:"")}return z}(),W=h&&!m&&!b&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:F,format:L,children:j})||j(L?L(F):F),H=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!l||R?"none":void 0,height:E,"line-height":O,"font-size":P},onBlur:function(){function z($){if(l){var G=(0,a.clamp)(parseFloat($.target.value),x,B);if(Number.isNaN(G)){u.setState({editing:!1});return}u.setState({editing:!1,value:G}),u.suppressFlicker(),w&&w($,G),A&&A($,G)}}return z}(),onKeyDown:function(){function z($){if($.keyCode===13){var G=(0,a.clamp)(parseFloat($.target.value),x,B);if(Number.isNaN(G)){u.setState({editing:!1});return}u.setState({editing:!1,value:G}),u.suppressFlicker(),w&&w($,G),A&&A($,G);return}if($.keyCode===27){u.setState({editing:!1});return}}return z}(),disabled:R},null,this.inputRef);return T({dragging:m,editing:l,value:C,displayValue:F,displayElement:W,inputElement:H,handleDragStart:this.handleDragStart})}return f}(),i}(e.Component);S.defaultHooks=t.pureComponentHooks,S.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(I,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),s=n(1331),y=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],V=["className"],k;function S(l,v){if(l==null)return{};var b={};for(var N in l)if({}.hasOwnProperty.call(l,N)){if(v.includes(N))continue;b[N]=l[N]}return b}function p(l,v){l.prototype=Object.create(v.prototype),l.prototype.constructor=l,i(l,v)}function i(l,v){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,N){return b.__proto__=N,b},i(l,v)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},f={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function l(){return null}return l}()},u="Layout Dropdown__menu",d="Layout Dropdown__menu-scroll",m=r.Dropdown=function(l){function v(N){var h;return h=l.call(this,N)||this,h.menuContents=void 0,h.handleClick=function(){h.state.open&&h.setOpen(!1)},h.state={open:!1,selected:h.props.selected},h.menuContents=null,h}p(v,l);var b=v.prototype;return b.getDOMNode=function(){function N(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return N}(),b.componentDidMount=function(){function N(){var h=this.getDOMNode()}return N}(),b.openMenu=function(){function N(){var h=v.renderedMenu;h===void 0&&(h=document.createElement("div"),h.className=u,document.body.appendChild(h),v.renderedMenu=h);var C=this.getDOMNode();v.currentOpenMenu=C,h.scrollTop=0,h.style.width=this.props.menuWidth||C.offsetWidth+"px",h.style.opacity="1",h.style.pointerEvents="auto",setTimeout(function(){var g;(g=v.renderedMenu)==null||g.focus()},400),this.renderMenuContent()}return N}(),b.closeMenu=function(){function N(){v.currentOpenMenu===this.getDOMNode()&&(v.currentOpenMenu=void 0,v.renderedMenu.style.opacity="0",v.renderedMenu.style.pointerEvents="none")}return N}(),b.componentWillUnmount=function(){function N(){this.closeMenu(),this.setOpen(!1)}return N}(),b.renderMenuContent=function(){function N(){var h=this,C=v.renderedMenu;if(C){C.offsetHeight>200?C.className=d:C.className=u;var g=this.props.options,x=g===void 0?[]:g,B=x.map(function(w){var A,T;return typeof w=="string"?(T=w,A=w):w!==null&&(T=w.displayText,A=w.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",h.state.selected===A&&"selected"]),T,0,{onClick:function(){function E(){h.setSelected(A)}return E}()},A)}),L=B.length?B:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),C,function(){var w=v.singletonPopper;w===void 0?(w=(0,a.createPopper)(v.virtualElement,C,Object.assign({},c,{placement:"bottom-start"})),v.singletonPopper=w):(w.setOptions(Object.assign({},c,{placement:"bottom-start"})),w.update())},this.context)}}return N}(),b.setOpen=function(){function N(h){var C=this;this.setState(function(g){return Object.assign({},g,{open:h})}),h?setTimeout(function(){C.openMenu(),window.addEventListener("click",C.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return N}(),b.setSelected=function(){function N(h){this.setState(function(C){return Object.assign({},C,{selected:h})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(h)}return N}(),b.render=function(){function N(){var h=this,C=this.props,g=C.icon,x=C.iconRotation,B=C.iconSpin,L=C.clipSelectedText,w=L===void 0?!0:L,A=C.color,T=A===void 0?"default":A,E=C.dropdownStyle,O=C.over,P=C.nochevron,R=C.width,F=C.onClick,j=C.onSelected,W=C.selected,H=C.disabled,z=C.displayText,$=S(C,y),G=$.className,ne=S($,V),Q=O?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:R,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+T,H&&"Button--disabled",G]),onClick:function(){function he(Ve){H&&!h.state.open||(h.setOpen(!h.state.open),F&&F(Ve))}return he}()},ne,{children:[g&&(0,e.createComponentVNode)(2,s.Icon,{name:g,rotation:x,spin:B,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",z||this.state.selected,0,{style:{overflow:w?"hidden":"visible"}}),P||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,s.Icon,{name:Q?"chevron-up":"chevron-down"}),2)]})))}return N}(),v}(e.Component);k=m,m.renderedMenu=void 0,m.singletonPopper=void 0,m.currentOpenMenu=void 0,m.virtualElement={getBoundingClientRect:function(){function l(){var v,b;return(v=(b=k.currentOpenMenu)==null?void 0:b.getBoundingClientRect())!=null?v:f}return l}()}},39473:function(I,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline"],s=["className"],y=["className","style","grow","order","shrink","basis","align"],V=["className"];/** + */var t=r.Divider=function(){function o(s){var y=s.vertical,V=s.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",V&&"Divider--hidden",y?"Divider--vertical":"Divider--horizontal"]))}return o}()},20342:function(I,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function s(p,i){p.prototype=Object.create(i.prototype),p.prototype.constructor=p,y(p,i)}function y(p,i){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},y(p,i)}var V=400,k=function(i,c){return i.screenX*c[0]+i.screenY*c[1]},S=r.DraggableControl=function(p){function i(m){var u;return u=p.call(this,m)||this,u.inputRef=(0,e.createRef)(),u.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var d=u.props.suppressFlicker;d>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},d))},u.handleDragStart=function(d){var f=u.props,l=f.value,v=f.dragMatrix,b=f.disabled,g=u.state.editing;g||b||(document.body.style["pointer-events"]="none",u.ref=d.currentTarget,u.setState({originalValue:l,dragging:!1,value:l,origin:k(d,v)}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var h=u.state,C=h.dragging,N=h.value,x=u.props.onDrag;C&&x&&x(d,N)},u.props.updateRate||V),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(d){var f,l=u.props,v=l.minValue,b=l.maxValue,g=l.step,h=l.dragMatrix,C=l.disabled;if(!C){var N=u.ref.offsetWidth/((b-v)/g),x=(f=u.props.stepPixelSize)!=null?f:N;typeof x=="function"&&(x=x(N)),u.setState(function(B){var L=Object.assign({},B),w=B.origin,A=k(d,h)-w;if(B.dragging){var T=Math.trunc(A/x);L.value=(0,a.clamp)(Math.floor(L.originalValue/g)*g+T*g,v,b)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},u.handleDragEnd=function(d){var f=u.props,l=f.onChange,v=f.onDrag,b=u.state,g=b.dragging,h=b.value;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({originalValue:null,dragging:!1,editing:!g,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),g)u.suppressFlicker(),l&&l(d,h),v&&v(d,h);else if(u.inputRef){var C=u.inputRef.current;C.value=h;try{C.focus(),C.select()}catch(N){}}},u}s(i,p);var c=i.prototype;return c.render=function(){function m(){var u=this,d=this.state,f=d.dragging,l=d.editing,v=d.value,b=d.suppressingFlicker,g=this.props,h=g.animated,C=g.value,N=g.unit,x=g.minValue,B=g.maxValue,L=g.format,w=g.onChange,A=g.onDrag,T=g.children,E=g.height,O=g.lineHeight,P=g.fontSize,R=g.disabled,F=C;(f||b)&&(F=v);var j=function(){function z(Y){return Y+(N?" "+N:"")}return z}(),W=h&&!f&&!b&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:F,format:L,children:j})||j(L?L(F):F),H=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!l||R?"none":void 0,height:E,"line-height":O,"font-size":P},onBlur:function(){function z(Y){if(l){var G=(0,a.clamp)(parseFloat(Y.target.value),x,B);if(Number.isNaN(G)){u.setState({editing:!1});return}u.setState({editing:!1,value:G}),u.suppressFlicker(),w&&w(Y,G),A&&A(Y,G)}}return z}(),onKeyDown:function(){function z(Y){if(Y.keyCode===13){var G=(0,a.clamp)(parseFloat(Y.target.value),x,B);if(Number.isNaN(G)){u.setState({editing:!1});return}u.setState({editing:!1,value:G}),u.suppressFlicker(),w&&w(Y,G),A&&A(Y,G);return}if(Y.keyCode===27){u.setState({editing:!1});return}}return z}(),disabled:R},null,this.inputRef);return T({dragging:f,editing:l,value:C,displayValue:F,displayElement:W,inputElement:H,handleDragStart:this.handleDragStart})}return m}(),i}(e.Component);S.defaultHooks=t.pureComponentHooks,S.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(I,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),s=n(1331),y=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],V=["className"],k;function S(l,v){if(l==null)return{};var b={};for(var g in l)if({}.hasOwnProperty.call(l,g)){if(v.includes(g))continue;b[g]=l[g]}return b}function p(l,v){l.prototype=Object.create(v.prototype),l.prototype.constructor=l,i(l,v)}function i(l,v){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,g){return b.__proto__=g,b},i(l,v)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function l(){return null}return l}()},u="Layout Dropdown__menu",d="Layout Dropdown__menu-scroll",f=r.Dropdown=function(l){function v(g){var h;return h=l.call(this,g)||this,h.menuContents=void 0,h.handleClick=function(){h.state.open&&h.setOpen(!1)},h.state={open:!1,selected:h.props.selected},h.menuContents=null,h}p(v,l);var b=v.prototype;return b.getDOMNode=function(){function g(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return g}(),b.componentDidMount=function(){function g(){var h=this.getDOMNode()}return g}(),b.openMenu=function(){function g(){var h=v.renderedMenu;h===void 0&&(h=document.createElement("div"),h.className=u,document.body.appendChild(h),v.renderedMenu=h);var C=this.getDOMNode();v.currentOpenMenu=C,h.scrollTop=0,h.style.width=this.props.menuWidth||C.offsetWidth+"px",h.style.opacity="1",h.style.pointerEvents="auto",setTimeout(function(){var N;(N=v.renderedMenu)==null||N.focus()},400),this.renderMenuContent()}return g}(),b.closeMenu=function(){function g(){v.currentOpenMenu===this.getDOMNode()&&(v.currentOpenMenu=void 0,v.renderedMenu.style.opacity="0",v.renderedMenu.style.pointerEvents="none")}return g}(),b.componentWillUnmount=function(){function g(){this.closeMenu(),this.setOpen(!1)}return g}(),b.renderMenuContent=function(){function g(){var h=this,C=v.renderedMenu;if(C){C.offsetHeight>200?C.className=d:C.className=u;var N=this.props.options,x=N===void 0?[]:N,B=x.map(function(w){var A,T;return typeof w=="string"?(T=w,A=w):w!==null&&(T=w.displayText,A=w.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",h.state.selected===A&&"selected"]),T,0,{onClick:function(){function E(){h.setSelected(A)}return E}()},A)}),L=B.length?B:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),C,function(){var w=v.singletonPopper;w===void 0?(w=(0,a.createPopper)(v.virtualElement,C,Object.assign({},c,{placement:"bottom-start"})),v.singletonPopper=w):(w.setOptions(Object.assign({},c,{placement:"bottom-start"})),w.update())},this.context)}}return g}(),b.setOpen=function(){function g(h){var C=this;this.setState(function(N){return Object.assign({},N,{open:h})}),h?setTimeout(function(){C.openMenu(),window.addEventListener("click",C.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return g}(),b.setSelected=function(){function g(h){this.setState(function(C){return Object.assign({},C,{selected:h})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(h)}return g}(),b.render=function(){function g(){var h=this,C=this.props,N=C.icon,x=C.iconRotation,B=C.iconSpin,L=C.clipSelectedText,w=L===void 0?!0:L,A=C.color,T=A===void 0?"default":A,E=C.dropdownStyle,O=C.over,P=C.nochevron,R=C.width,F=C.onClick,j=C.onSelected,W=C.selected,H=C.disabled,z=C.displayText,Y=S(C,y),G=Y.className,ne=S(Y,V),Q=O?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:R,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+T,H&&"Button--disabled",G]),onClick:function(){function he(Ve){H&&!h.state.open||(h.setOpen(!h.state.open),F&&F(Ve))}return he}()},ne,{children:[N&&(0,e.createComponentVNode)(2,s.Icon,{name:N,rotation:x,spin:B,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",z||this.state.selected,0,{style:{overflow:w?"hidden":"visible"}}),P||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,s.Icon,{name:Q?"chevron-up":"chevron-down"}),2)]})))}return g}(),v}(e.Component);k=f,f.renderedMenu=void 0,f.singletonPopper=void 0,f.currentOpenMenu=void 0,f.virtualElement={getBoundingClientRect:function(){function l(){var v,b;return(v=(b=k.currentOpenMenu)==null?void 0:b.getBoundingClientRect())!=null?v:m}return l}()}},39473:function(I,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline"],s=["className"],y=["className","style","grow","order","shrink","basis","align"],V=["className"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function k(d,m){if(d==null)return{};var l={};for(var v in d)if({}.hasOwnProperty.call(d,v)){if(m.includes(v))continue;l[v]=d[v]}return l}var S=r.computeFlexClassName=function(){function d(m){return(0,a.classes)(["Flex",m.inline&&"Flex--inline",(0,t.computeBoxClassName)(m)])}return d}(),p=r.computeFlexProps=function(){function d(m){var l=m.className,v=m.direction,b=m.wrap,N=m.align,h=m.justify,C=m.inline,g=k(m,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},g.style,{"flex-direction":v,"flex-wrap":b===!0?"wrap":b,"align-items":N,"justify-content":h})},g))}return d}(),i=r.Flex=function(){function d(m){var l=m.className,v=k(m,s);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,S(v)]),null,1,Object.assign({},p(v))))}return d}();i.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function d(m){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(m)])}return d}(),f=r.computeFlexItemProps=function(){function d(m){var l=m.className,v=m.style,b=m.grow,N=m.order,h=m.shrink,C=m.basis,g=C===void 0?m.width:C,x=m.align,B=k(m,y);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},v,{"flex-grow":b!==void 0&&Number(b),"flex-shrink":h!==void 0&&Number(h),"flex-basis":(0,t.unit)(g),order:N,"align-self":x})},B))}return d}(),u=function(m){var l=m.className,v=k(m,V);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,c(m)]),null,1,Object.assign({},f(v))))};u.defaultHooks=a.pureComponentHooks,i.Item=u},79646:function(I,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],s=["size","style"];/** + */function k(d,f){if(d==null)return{};var l={};for(var v in d)if({}.hasOwnProperty.call(d,v)){if(f.includes(v))continue;l[v]=d[v]}return l}var S=r.computeFlexClassName=function(){function d(f){return(0,a.classes)(["Flex",f.inline&&"Flex--inline",(0,t.computeBoxClassName)(f)])}return d}(),p=r.computeFlexProps=function(){function d(f){var l=f.className,v=f.direction,b=f.wrap,g=f.align,h=f.justify,C=f.inline,N=k(f,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},N.style,{"flex-direction":v,"flex-wrap":b===!0?"wrap":b,"align-items":g,"justify-content":h})},N))}return d}(),i=r.Flex=function(){function d(f){var l=f.className,v=k(f,s);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,S(v)]),null,1,Object.assign({},p(v))))}return d}();i.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function d(f){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(f)])}return d}(),m=r.computeFlexItemProps=function(){function d(f){var l=f.className,v=f.style,b=f.grow,g=f.order,h=f.shrink,C=f.basis,N=C===void 0?f.width:C,x=f.align,B=k(f,y);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},v,{"flex-grow":b!==void 0&&Number(b),"flex-shrink":h!==void 0&&Number(h),"flex-basis":(0,t.unit)(N),order:g,"align-self":x})},B))}return d}(),u=function(f){var l=f.className,v=k(f,V);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([l,c(f)]),null,1,Object.assign({},m(v))))};u.defaultHooks=a.pureComponentHooks,i.Item=u},79646:function(I,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],s=["size","style"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(S,p){if(S==null)return{};var i={};for(var c in S)if({}.hasOwnProperty.call(S,c)){if(p.includes(c))continue;i[c]=S[c]}return i}var V=r.Grid=function(){function S(p){var i=p.children,c=y(p,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:i})})))}return S}();V.defaultHooks=t.pureComponentHooks;var k=r.GridColumn=function(){function S(p){var i=p.size,c=i===void 0?1:i,f=p.style,u=y(p,s);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},f)},u)))}return S}();V.defaultHooks=t.pureComponentHooks,V.Column=k},1331:function(I,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],s=["className","style","children"];/** + */function y(S,p){if(S==null)return{};var i={};for(var c in S)if({}.hasOwnProperty.call(S,c)){if(p.includes(c))continue;i[c]=S[c]}return i}var V=r.Grid=function(){function S(p){var i=p.children,c=y(p,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:i})})))}return S}();V.defaultHooks=t.pureComponentHooks;var k=r.GridColumn=function(){function S(p){var i=p.size,c=i===void 0?1:i,m=p.style,u=y(p,s);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},m)},u)))}return S}();V.defaultHooks=t.pureComponentHooks,V.Column=k},1331:function(I,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],s=["className","style","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(p,i){if(p==null)return{};var c={};for(var f in p)if({}.hasOwnProperty.call(p,f)){if(i.includes(f))continue;c[f]=p[f]}return c}var V=/-o$/,k=r.Icon=function(){function p(i){var c=i.name,f=i.size,u=i.spin,d=i.className,m=i.style,l=m===void 0?{}:m,v=i.rotation,b=i.inverse,N=y(i,o);f&&(l["font-size"]=f*100+"%"),typeof v=="number"&&(l.transform="rotate("+v+"deg)");var h=V.test(c),C=c.replace(V,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",d,h?"far":"fas","fa-"+C,u&&"fa-spin"]),style:l},N)))}return p}();k.defaultHooks=a.pureComponentHooks;var S=r.IconStack=function(){function p(i){var c=i.className,f=i.style,u=f===void 0?{}:f,d=i.children,m=y(i,s);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:u},m,{children:d})))}return p}();k.Stack=S},66393:function(I,r,n){"use strict";r.__esModule=!0,r.ImageButtonItem=r.ImageButton=void 0;var e=n(89005),a=n(79140),t=n(35840),o=n(55937),s=n(1331),y=n(62147),V=["className","asset","color","title","vertical","content","selected","disabled","disabledContent","image","imageUrl","imageAsset","imageSize","tooltip","tooltipPosition","ellipsis","children","onClick"],k=["className","color","content","horizontal","selected","disabled","disabledContent","tooltip","tooltipPosition","icon","iconColor","iconPosition","iconRotation","iconSize","onClick","children"];/** + */function y(p,i){if(p==null)return{};var c={};for(var m in p)if({}.hasOwnProperty.call(p,m)){if(i.includes(m))continue;c[m]=p[m]}return c}var V=/-o$/,k=r.Icon=function(){function p(i){var c=i.name,m=i.size,u=i.spin,d=i.className,f=i.style,l=f===void 0?{}:f,v=i.rotation,b=i.inverse,g=y(i,o);m&&(l["font-size"]=m*100+"%"),typeof v=="number"&&(l.transform="rotate("+v+"deg)");var h=V.test(c),C=c.replace(V,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",d,h?"far":"fas","fa-"+C,u&&"fa-spin"]),style:l},g)))}return p}();k.defaultHooks=a.pureComponentHooks;var S=r.IconStack=function(){function p(i){var c=i.className,m=i.style,u=m===void 0?{}:m,d=i.children,f=y(i,s);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:u},f,{children:d})))}return p}();k.Stack=S},66393:function(I,r,n){"use strict";r.__esModule=!0,r.ImageButtonItem=r.ImageButton=void 0;var e=n(89005),a=n(79140),t=n(35840),o=n(55937),s=n(1331),y=n(62147),V=["className","asset","color","title","vertical","content","selected","disabled","disabledContent","image","imageUrl","imageAsset","imageSize","tooltip","tooltipPosition","ellipsis","children","onClick"],k=["className","color","content","horizontal","selected","disabled","disabledContent","tooltip","tooltipPosition","icon","iconColor","iconPosition","iconRotation","iconSize","onClick","children"];/** * @file * @copyright 2024 Aylong (https://github.com/AyIong) * @license MIT - */function S(c,f){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(f.includes(d))continue;u[d]=c[d]}return u}var p=r.ImageButton=function(){function c(f){var u=f.className,d=f.asset,m=f.color,l=f.title,v=f.vertical,b=f.content,N=f.selected,h=f.disabled,C=f.disabledContent,g=f.image,x=f.imageUrl,B=f.imageAsset,L=f.imageSize,w=f.tooltip,A=f.tooltipPosition,T=f.ellipsis,E=f.children,O=f.onClick,P=S(f,V);P.onClick=function(F){!h&&O&&O(F)};var R=(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)([v?"ImageButton__vertical":"ImageButton__horizontal",N&&"ImageButton--selected",h&&"ImageButton--disabled",m&&typeof m=="string"?O?"ImageButton--color--clickable--"+m:"ImageButton--color--"+m:O?"ImageButton--color--default--clickable":"ImageButton--color--default",u,(0,o.computeBoxClassName)(P)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__image"]),d?(0,e.createVNode)(1,"div",(0,t.classes)([B,g])):(0,e.createVNode)(1,"img",null,null,1,{src:x?(0,a.resolveAsset)(x):"data:image/jpeg;base64,"+g,style:{width:L,height:L,"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),0),b&&(v?(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__vertical",T&&"ImageButton__content--ellipsis",N&&"ImageButton__content--selected",h&&"ImageButton__content--disabled",m&&typeof m=="string"?"ImageButton__content--color--"+m:"ImageButton__content--color--default",u,(0,o.computeBoxClassName)(P)]),h&&C?C:b,0):(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal"]),[l&&(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--title"]),[l,(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--divider"]))],0),(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--content"]),b,0)],0))],0,Object.assign({tabIndex:!h&&"0"},(0,o.computeBoxProps)(P))));return w&&(R=(0,e.createComponentVNode)(2,y.Tooltip,{content:w,position:A,children:R})),(0,e.createVNode)(1,"div",(0,t.classes)([v?"ImageButton--vertical":"ImageButton--horizontal"]),[R,E],0)}return c}();p.defaultHooks=t.pureComponentHooks;var i=r.ImageButtonItem=function(){function c(f){var u=f.className,d=f.color,m=f.content,l=f.horizontal,v=f.selected,b=f.disabled,N=f.disabledContent,h=f.tooltip,C=f.tooltipPosition,g=f.icon,x=f.iconColor,B=f.iconPosition,L=f.iconRotation,w=f.iconSize,A=f.onClick,T=f.children,E=S(f,k);E.onClick=function(P){!b&&A&&A(P)};var O=(0,e.createVNode)(1,"div",null,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__item",v&&"ImageButton__item--selected",b&&"ImageButton__item--disabled",d&&typeof d=="string"?"ImageButton__item--color--"+d:"ImageButton__item--color--default",u,(0,o.computeBoxClassName)(E)]),(0,e.createVNode)(1,"div",(0,t.classes)([l&&"ImageButton__item--icon--horizontal",(0,o.computeBoxClassName)(E),u]),[g&&(B==="top"||B==="left")&&(0,e.createComponentVNode)(2,s.Icon,{mb:.5,name:g,color:x,rotation:L,size:w}),(0,e.createVNode)(1,"div",null,[b&&N?N:m,T],0),g&&!(B==="top"||B==="left")&&(0,e.createComponentVNode)(2,s.Icon,{mt:.5,name:g,color:x,rotation:L,size:w})],0),2,Object.assign({tabIndex:!b&&"0"},(0,o.computeBoxProps)(E)))),2);return h&&(O=(0,e.createComponentVNode)(2,y.Tooltip,{content:h,position:C,children:O})),O}return c}();p.Item=i},79652:function(I,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(92986),s=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],y=["className","fluid","monospace"];function V(c,f){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(f.includes(d))continue;u[d]=c[d]}return u}function k(c,f){c.prototype=Object.create(f.prototype),c.prototype.constructor=c,S(c,f)}function S(c,f){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,d){return u.__proto__=d,u},S(c,f)}/** + */function S(c,m){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(m.includes(d))continue;u[d]=c[d]}return u}var p=r.ImageButton=function(){function c(m){var u=m.className,d=m.asset,f=m.color,l=m.title,v=m.vertical,b=m.content,g=m.selected,h=m.disabled,C=m.disabledContent,N=m.image,x=m.imageUrl,B=m.imageAsset,L=m.imageSize,w=m.tooltip,A=m.tooltipPosition,T=m.ellipsis,E=m.children,O=m.onClick,P=S(m,V);P.onClick=function(F){!h&&O&&O(F)};var R=(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)([v?"ImageButton__vertical":"ImageButton__horizontal",g&&"ImageButton--selected",h&&"ImageButton--disabled",f&&typeof f=="string"?O?"ImageButton--color--clickable--"+f:"ImageButton--color--"+f:O?"ImageButton--color--default--clickable":"ImageButton--color--default",u,(0,o.computeBoxClassName)(P)]),[(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__image"]),d?(0,e.createVNode)(1,"div",(0,t.classes)([B,N])):(0,e.createVNode)(1,"img",null,null,1,{src:x?(0,a.resolveAsset)(x):"data:image/jpeg;base64,"+N,style:{width:L,height:L,"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),0),b&&(v?(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__vertical",T&&"ImageButton__content--ellipsis",g&&"ImageButton__content--selected",h&&"ImageButton__content--disabled",f&&typeof f=="string"?"ImageButton__content--color--"+f:"ImageButton__content--color--default",u,(0,o.computeBoxClassName)(P)]),h&&C?C:b,0):(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal"]),[l&&(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--title"]),[l,(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--divider"]))],0),(0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__content__horizontal--content"]),b,0)],0))],0,Object.assign({tabIndex:!h&&"0"},(0,o.computeBoxProps)(P))));return w&&(R=(0,e.createComponentVNode)(2,y.Tooltip,{content:w,position:A,children:R})),(0,e.createVNode)(1,"div",(0,t.classes)([v?"ImageButton--vertical":"ImageButton--horizontal"]),[R,E],0)}return c}();p.defaultHooks=t.pureComponentHooks;var i=r.ImageButtonItem=function(){function c(m){var u=m.className,d=m.color,f=m.content,l=m.horizontal,v=m.selected,b=m.disabled,g=m.disabledContent,h=m.tooltip,C=m.tooltipPosition,N=m.icon,x=m.iconColor,B=m.iconPosition,L=m.iconRotation,w=m.iconSize,A=m.onClick,T=m.children,E=S(m,k);E.onClick=function(P){!b&&A&&A(P)};var O=(0,e.createVNode)(1,"div",null,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["ImageButton__item",v&&"ImageButton__item--selected",b&&"ImageButton__item--disabled",d&&typeof d=="string"?"ImageButton__item--color--"+d:"ImageButton__item--color--default",u,(0,o.computeBoxClassName)(E)]),(0,e.createVNode)(1,"div",(0,t.classes)([l&&"ImageButton__item--icon--horizontal",(0,o.computeBoxClassName)(E),u]),[N&&(B==="top"||B==="left")&&(0,e.createComponentVNode)(2,s.Icon,{mb:.5,name:N,color:x,rotation:L,size:w}),(0,e.createVNode)(1,"div",null,[b&&g?g:f,T],0),N&&!(B==="top"||B==="left")&&(0,e.createComponentVNode)(2,s.Icon,{mt:.5,name:N,color:x,rotation:L,size:w})],0),2,Object.assign({tabIndex:!b&&"0"},(0,o.computeBoxProps)(E)))),2);return h&&(O=(0,e.createComponentVNode)(2,y.Tooltip,{content:h,position:C,children:O})),O}return c}();p.Item=i},79652:function(I,r,n){"use strict";r.__esModule=!0,r.toInputValue=r.Input=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(92986),s=["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus","disabled","multiline","cols","rows"],y=["className","fluid","monospace"];function V(c,m){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(m.includes(d))continue;u[d]=c[d]}return u}function k(c,m){c.prototype=Object.create(m.prototype),c.prototype.constructor=c,S(c,m)}function S(c,m){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(u,d){return u.__proto__=d,u},S(c,m)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var p=r.toInputValue=function(){function c(f){return typeof f!="number"&&typeof f!="string"?"":String(f)}return c}(),i=r.Input=function(c){function f(){var d;return d=c.call(this)||this,d.inputRef=(0,e.createRef)(),d.state={editing:!1},d.handleInput=function(m){var l=d.state.editing,v=d.props.onInput;l||d.setEditing(!0),v&&v(m,m.target.value)},d.handleFocus=function(m){var l=d.state.editing;l||d.setEditing(!0)},d.handleBlur=function(m){var l=d.state.editing,v=d.props.onChange;l&&(d.setEditing(!1),v&&v(m,m.target.value))},d.handleKeyDown=function(m){var l=d.props,v=l.onInput,b=l.onChange,N=l.onEnter;if(m.keyCode===o.KEY_ENTER){d.setEditing(!1),b&&b(m,m.target.value),v&&v(m,m.target.value),N&&N(m,m.target.value),d.props.selfClear?m.target.value="":m.target.blur();return}if(m.keyCode===o.KEY_ESCAPE){d.setEditing(!1),m.target.value=p(d.props.value),m.target.blur();return}},d}k(f,c);var u=f.prototype;return u.componentDidMount=function(){function d(){var m=this,l=this.props.value,v=this.inputRef.current;v&&(v.value=p(l),v.selectionStart=0,v.selectionEnd=v.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){v.focus(),m.props.autoSelect&&v.select()},1)}return d}(),u.componentDidUpdate=function(){function d(m,l){var v=this.state.editing,b=m.value,N=this.props.value,h=this.inputRef.current;h&&!v&&b!==N&&(h.value=p(N))}return d}(),u.setEditing=function(){function d(m){this.setState({editing:m})}return d}(),u.render=function(){function d(){var m=this.props,l=m.selfClear,v=m.onInput,b=m.onChange,N=m.onEnter,h=m.value,C=m.maxLength,g=m.placeholder,x=m.autofocus,B=m.disabled,L=m.multiline,w=m.cols,A=w===void 0?32:w,T=m.rows,E=T===void 0?4:T,O=V(m,s),P=O.className,R=O.fluid,F=O.monospace,j=V(O,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",R&&"Input--fluid",F&&"Input--monospace",B&&"Input--disabled",P])},j,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),L?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:g,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:C,cols:A,rows:E,disabled:B},null,this.inputRef):(0,e.createVNode)(64,"input","Input__input",null,1,{placeholder:g,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:C,disabled:B},null,this.inputRef)]})))}return d}(),f}(e.Component)},76334:function(I,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(55937),s=n(20342),y=n(59263),V=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** +*/var p=r.toInputValue=function(){function c(m){return typeof m!="number"&&typeof m!="string"?"":String(m)}return c}(),i=r.Input=function(c){function m(){var d;return d=c.call(this)||this,d.inputRef=(0,e.createRef)(),d.state={editing:!1},d.handleInput=function(f){var l=d.state.editing,v=d.props.onInput;l||d.setEditing(!0),v&&v(f,f.target.value)},d.handleFocus=function(f){var l=d.state.editing;l||d.setEditing(!0)},d.handleBlur=function(f){var l=d.state.editing,v=d.props.onChange;l&&(d.setEditing(!1),v&&v(f,f.target.value))},d.handleKeyDown=function(f){var l=d.props,v=l.onInput,b=l.onChange,g=l.onEnter;if(f.keyCode===o.KEY_ENTER){d.setEditing(!1),b&&b(f,f.target.value),v&&v(f,f.target.value),g&&g(f,f.target.value),d.props.selfClear?f.target.value="":f.target.blur();return}if(f.keyCode===o.KEY_ESCAPE){d.setEditing(!1),f.target.value=p(d.props.value),f.target.blur();return}},d}k(m,c);var u=m.prototype;return u.componentDidMount=function(){function d(){var f=this,l=this.props.value,v=this.inputRef.current;v&&(v.value=p(l),v.selectionStart=0,v.selectionEnd=v.value.length),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){v.focus(),f.props.autoSelect&&v.select()},1)}return d}(),u.componentDidUpdate=function(){function d(f,l){var v=this.state.editing,b=f.value,g=this.props.value,h=this.inputRef.current;h&&!v&&b!==g&&(h.value=p(g))}return d}(),u.setEditing=function(){function d(f){this.setState({editing:f})}return d}(),u.render=function(){function d(){var f=this.props,l=f.selfClear,v=f.onInput,b=f.onChange,g=f.onEnter,h=f.value,C=f.maxLength,N=f.placeholder,x=f.autofocus,B=f.disabled,L=f.multiline,w=f.cols,A=w===void 0?32:w,T=f.rows,E=T===void 0?4:T,O=V(f,s),P=O.className,R=O.fluid,F=O.monospace,j=V(O,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Input",R&&"Input--fluid",F&&"Input--monospace",B&&"Input--disabled",P])},j,{children:[(0,e.createVNode)(1,"div","Input__baseline",".",16),L?(0,e.createVNode)(128,"textarea","Input__textarea",null,1,{placeholder:N,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:C,cols:A,rows:E,disabled:B},null,this.inputRef):(0,e.createVNode)(64,"input","Input__input",null,1,{placeholder:N,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:C,disabled:B},null,this.inputRef)]})))}return d}(),m}(e.Component)},76334:function(I,r,n){"use strict";r.__esModule=!0,r.Knob=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(55937),s=n(20342),y=n(59263),V=["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function k(p,i){if(p==null)return{};var c={};for(var f in p)if({}.hasOwnProperty.call(p,f)){if(i.includes(f))continue;c[f]=p[f]}return c}var S=r.Knob=function(){function p(i){var c=i.animated,f=i.format,u=i.maxValue,d=i.minValue,m=i.onChange,l=i.onDrag,v=i.step,b=i.stepPixelSize,N=i.suppressFlicker,h=i.unit,C=i.value,g=i.className,x=i.style,B=i.fillValue,L=i.color,w=i.ranges,A=w===void 0?{}:w,T=i.size,E=T===void 0?1:T,O=i.bipolar,P=i.children,R=i.popUpPosition,F=k(i,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:f,maxValue:u,minValue:d,onChange:m,onDrag:l,step:v,stepPixelSize:b,suppressFlicker:N,unit:h,value:C},{children:function(){function j(W){var H=W.dragging,z=W.editing,$=W.value,G=W.displayValue,ne=W.displayElement,Q=W.inputElement,he=W.handleDragStart,Ve=(0,a.scale)(B!=null?B:G,d,u),Ne=(0,a.scale)(G,d,u),Be=L||(0,a.keyOfMatchingRange)(B!=null?B:$,A)||"default",Le=(Ne-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+Be,O&&"Knob--bipolar",g,(0,o.computeBoxClassName)(F)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+Le+"deg)"}}),2),H&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",R&&"Knob__popupValue--"+R]),ne,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((O?2.75:2)-Ve*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),Q],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},x)},F)),{onMouseDown:he})))}return j}()})))}return p}()},78621:function(I,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(89005),a=n(39473),t=["children"],o=["label","children"];/** + */function k(p,i){if(p==null)return{};var c={};for(var m in p)if({}.hasOwnProperty.call(p,m)){if(i.includes(m))continue;c[m]=p[m]}return c}var S=r.Knob=function(){function p(i){var c=i.animated,m=i.format,u=i.maxValue,d=i.minValue,f=i.onChange,l=i.onDrag,v=i.step,b=i.stepPixelSize,g=i.suppressFlicker,h=i.unit,C=i.value,N=i.className,x=i.style,B=i.fillValue,L=i.color,w=i.ranges,A=w===void 0?{}:w,T=i.size,E=T===void 0?1:T,O=i.bipolar,P=i.children,R=i.popUpPosition,F=k(i,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:c,format:m,maxValue:u,minValue:d,onChange:f,onDrag:l,step:v,stepPixelSize:b,suppressFlicker:g,unit:h,value:C},{children:function(){function j(W){var H=W.dragging,z=W.editing,Y=W.value,G=W.displayValue,ne=W.displayElement,Q=W.inputElement,he=W.handleDragStart,Ve=(0,a.scale)(B!=null?B:G,d,u),Ne=(0,a.scale)(G,d,u),Be=L||(0,a.keyOfMatchingRange)(B!=null?B:Y,A)||"default",Le=(Ne-.5)*270;return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,t.classes)(["Knob","Knob--color--"+Be,O&&"Knob--bipolar",N,(0,o.computeBoxClassName)(F)]),[(0,e.createVNode)(1,"div","Knob__circle",(0,e.createVNode)(1,"div","Knob__cursorBox",(0,e.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+Le+"deg)"}}),2),H&&(0,e.createVNode)(1,"div",(0,t.classes)(["Knob__popupValue",R&&"Knob__popupValue--"+R]),ne,0),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,e.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,e.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,e.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((O?2.75:2)-Ve*1.5)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),Q],0,Object.assign({},(0,o.computeBoxProps)(Object.assign({style:Object.assign({"font-size":E+"em"},x)},F)),{onMouseDown:he})))}return j}()})))}return p}()},78621:function(I,r,n){"use strict";r.__esModule=!0,r.LabeledControls=void 0;var e=n(89005),a=n(39473),t=["children"],o=["label","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -145,56 +145,56 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var y=r.LabeledList=function(){function S(p){var i=p.children;return(0,e.createVNode)(1,"table","LabeledList",i,0)}return S}();y.defaultHooks=a.pureComponentHooks;var V=function(p){var i=p.className,c=p.label,f=p.labelColor,u=f===void 0?"label":f,d=p.color,m=p.textAlign,l=p.buttons,v=p.tooltip,b=p.content,N=p.children,h=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",i]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:u,className:(0,a.classes)(["LabeledList__cell","LabeledList__label"]),children:c?c+":":null}),(0,e.createComponentVNode)(2,t.Box,{as:"td",color:d,textAlign:m,className:(0,a.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:l?void 0:2,children:[b,N]}),l&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",l,0)],0);return v&&(h=(0,e.createComponentVNode)(2,s.Tooltip,{content:v,children:h})),h};V.defaultHooks=a.pureComponentHooks;var k=function(p){var i=p.size?(0,t.unit)(Math.max(0,p.size-1)):0;return(0,e.createVNode)(1,"tr","LabeledList__row",(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,o.Divider),2,{colSpan:3,style:{"padding-top":i,"padding-bottom":i}}),2)};k.defaultHooks=a.pureComponentHooks,y.Item=V,y.Divider=k},36077:function(I,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(61940),s=["className","children","onEnter"];/** + */var y=r.LabeledList=function(){function S(p){var i=p.children;return(0,e.createVNode)(1,"table","LabeledList",i,0)}return S}();y.defaultHooks=a.pureComponentHooks;var V=function(p){var i=p.className,c=p.label,m=p.labelColor,u=m===void 0?"label":m,d=p.color,f=p.textAlign,l=p.buttons,v=p.tooltip,b=p.content,g=p.children,h=(0,e.createVNode)(1,"tr",(0,a.classes)(["LabeledList__row",i]),[(0,e.createComponentVNode)(2,t.Box,{as:"td",color:u,className:(0,a.classes)(["LabeledList__cell","LabeledList__label"]),children:c?c+":":null}),(0,e.createComponentVNode)(2,t.Box,{as:"td",color:d,textAlign:f,className:(0,a.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:l?void 0:2,children:[b,g]}),l&&(0,e.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",l,0)],0);return v&&(h=(0,e.createComponentVNode)(2,s.Tooltip,{content:v,children:h})),h};V.defaultHooks=a.pureComponentHooks;var k=function(p){var i=p.size?(0,t.unit)(Math.max(0,p.size-1)):0;return(0,e.createVNode)(1,"tr","LabeledList__row",(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,o.Divider),2,{colSpan:3,style:{"padding-top":i,"padding-bottom":i}}),2)};k.defaultHooks=a.pureComponentHooks,y.Item=V,y.Divider=k},36077:function(I,r,n){"use strict";r.__esModule=!0,r.Modal=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(61940),s=["className","children","onEnter"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function y(k,S){if(k==null)return{};var p={};for(var i in k)if({}.hasOwnProperty.call(k,i)){if(S.includes(i))continue;p[i]=k[i]}return p}var V=r.Modal=function(){function k(S){var p=S.className,i=S.children,c=S.onEnter,f=y(S,s),u;return c&&(u=function(){function d(m){m.keyCode===13&&c(m)}return d}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:u,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",p,(0,t.computeBoxClassName)(f)]),i,0,Object.assign({},(0,t.computeBoxProps)(f))))})}return k}()},73280:function(I,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(89005),a=n(36036),t=n(72253),o=n(29319),s=n(79911),y=n(79140);function V(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,k(u,d)}function k(u,d){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,l){return m.__proto__=l,m},k(u,d)}var S=function(d){return d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1,!1},p=r.NanoMap=function(u){function d(l){var v;v=u.call(this,l)||this;var b=window.innerWidth/2-256,N=window.innerHeight/2-256;return v.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},v.handleDragStart=function(h){v.ref=h.target,v.setState({dragging:!1,originX:h.screenX,originY:h.screenY}),document.addEventListener("mousemove",v.handleDragMove),document.addEventListener("mouseup",v.handleDragEnd),S(h)},v.handleDragMove=function(h){v.setState(function(C){var g=Object.assign({},C),x=h.screenX-g.originX,B=h.screenY-g.originY;return C.dragging?(g.offsetX+=x,g.offsetY+=B,g.originX=h.screenX,g.originY=h.screenY):g.dragging=!0,g}),S(h)},v.handleDragEnd=function(h){v.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",v.handleDragMove),document.removeEventListener("mouseup",v.handleDragEnd),S(h)},v.handleZoom=function(h,C){v.setState(function(g){var x=Math.min(Math.max(C,1),8),B=(x-g.zoom)*1.5;return g.zoom=x,g.offsetX=g.offsetX-262*B,g.offsetY=g.offsetY-256*B,l.onZoom&&l.onZoom(g.zoom),g})},v.handleZChange=function(h){l.setZCurrent(h)},v}V(d,u);var m=d.prototype;return m.render=function(){function l(){var v=(0,t.useBackend)(this.context),b=v.config,N=this.state,h=N.dragging,C=N.offsetX,g=N.offsetY,x=N.zoom,B=x===void 0?1:x,L=this.props.children,w=b.map+"_nanomap_z"+(this.props.zLevels.indexOf(this.props.z_current)+1)+".png",A=510*B+"px",T={width:A,height:A,"margin-top":g+"px","margin-left":C+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:h?"move":"auto"},E={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:T,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,y.resolveAsset)(w),style:E}),(0,e.createComponentVNode)(2,a.Box,{children:L})]}),(0,e.createComponentVNode)(2,c,{zoom:B,onZoom:this.handleZoom}),(0,e.createComponentVNode)(2,f,{z_current:this.props.z_current,z_levels:this.props.zLevels,z_names:this.props.zNames,onZChange:this.handleZChange})]})}return l}(),d}(e.Component),i=function(d,m){var l=d.x,v=d.y,b=d.z,N=d.z_current,h=d.zoom,C=h===void 0?1:h,g=d.icon,x=d.tooltip,B=d.color,L=d.bordered,w=d.onClick;if(N!==b)return null;var A=l*2*C-C-3,T=v*2*C-C-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:x,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:L?"NanoMap__marker__bordered":"NanoMap__marker",lineHeight:"0",bottom:T+"px",left:A+"px",onClick:w,children:(0,e.createComponentVNode)(2,a.Icon,{name:g,color:B,fontSize:"6px"})})}),2)};p.Marker=i;var c=function(d,m){return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zoomer",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Zoom",children:(0,e.createComponentVNode)(2,s.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function l(v){return v+"x"}return l}(),value:d.zoom,onDrag:function(){function l(v,b){return d.onZoom(v,b)}return l}()})})})})};p.Zoomer=c;var f=function(d){if(d.z_levels.length!==1)return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zlevel",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Z-level",children:(0,e.createComponentVNode)(2,a.Dropdown,{width:"100%",selected:d.z_names[d.z_levels.indexOf(d.z_current)],options:d.z_names,onSelected:function(){function m(l){return d.onZChange(d.z_levels[d.z_names.indexOf(l)])}return m}()})})})})}},74733:function(I,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","color","info","warning","success","danger"];/** + */function y(k,S){if(k==null)return{};var p={};for(var i in k)if({}.hasOwnProperty.call(k,i)){if(S.includes(i))continue;p[i]=k[i]}return p}var V=r.Modal=function(){function k(S){var p=S.className,i=S.children,c=S.onEnter,m=y(S,s),u;return c&&(u=function(){function d(f){f.keyCode===13&&c(f)}return d}()),(0,e.createComponentVNode)(2,o.Dimmer,{onKeyDown:u,children:(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Modal",p,(0,t.computeBoxClassName)(m)]),i,0,Object.assign({},(0,t.computeBoxProps)(m))))})}return k}()},73280:function(I,r,n){"use strict";r.__esModule=!0,r.NanoMap=void 0;var e=n(89005),a=n(36036),t=n(72253),o=n(29319),s=n(79911),y=n(79140);function V(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,k(u,d)}function k(u,d){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(f,l){return f.__proto__=l,f},k(u,d)}var S=function(d){return d.stopPropagation&&d.stopPropagation(),d.preventDefault&&d.preventDefault(),d.cancelBubble=!0,d.returnValue=!1,!1},p=r.NanoMap=function(u){function d(l){var v;v=u.call(this,l)||this;var b=window.innerWidth/2-256,g=window.innerHeight/2-256;return v.state={offsetX:128,offsetY:48,transform:"none",dragging:!1,originX:null,originY:null,zoom:1},v.handleDragStart=function(h){v.ref=h.target,v.setState({dragging:!1,originX:h.screenX,originY:h.screenY}),document.addEventListener("mousemove",v.handleDragMove),document.addEventListener("mouseup",v.handleDragEnd),S(h)},v.handleDragMove=function(h){v.setState(function(C){var N=Object.assign({},C),x=h.screenX-N.originX,B=h.screenY-N.originY;return C.dragging?(N.offsetX+=x,N.offsetY+=B,N.originX=h.screenX,N.originY=h.screenY):N.dragging=!0,N}),S(h)},v.handleDragEnd=function(h){v.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",v.handleDragMove),document.removeEventListener("mouseup",v.handleDragEnd),S(h)},v.handleZoom=function(h,C){v.setState(function(N){var x=Math.min(Math.max(C,1),8),B=(x-N.zoom)*1.5;return N.zoom=x,N.offsetX=N.offsetX-262*B,N.offsetY=N.offsetY-256*B,l.onZoom&&l.onZoom(N.zoom),N})},v.handleZChange=function(h){l.setZCurrent(h)},v}V(d,u);var f=d.prototype;return f.render=function(){function l(){var v=(0,t.useBackend)(this.context),b=v.config,g=this.state,h=g.dragging,C=g.offsetX,N=g.offsetY,x=g.zoom,B=x===void 0?1:x,L=this.props.children,w=b.map+"_nanomap_z"+(this.props.zLevels.indexOf(this.props.z_current)+1)+".png",A=510*B+"px",T={width:A,height:A,"margin-top":N+"px","margin-left":C+"px",overflow:"hidden",position:"relative","background-size":"cover","background-repeat":"no-repeat","text-align":"center",cursor:h?"move":"auto"},E={width:"100%",height:"100%",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"};return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__container",children:[(0,e.createComponentVNode)(2,a.Box,{style:T,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,y.resolveAsset)(w),style:E}),(0,e.createComponentVNode)(2,a.Box,{children:L})]}),(0,e.createComponentVNode)(2,c,{zoom:B,onZoom:this.handleZoom}),(0,e.createComponentVNode)(2,m,{z_current:this.props.z_current,z_levels:this.props.zLevels,z_names:this.props.zNames,onZChange:this.handleZChange})]})}return l}(),d}(e.Component),i=function(d,f){var l=d.x,v=d.y,b=d.z,g=d.z_current,h=d.zoom,C=h===void 0?1:h,N=d.icon,x=d.tooltip,B=d.color,L=d.bordered,w=d.onClick;if(g!==b)return null;var A=l*2*C-C-3,T=v*2*C-C-3;return(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,a.Tooltip,{content:x,children:(0,e.createComponentVNode)(2,a.Box,{position:"absolute",className:L?"NanoMap__marker__bordered":"NanoMap__marker",lineHeight:"0",bottom:T+"px",left:A+"px",onClick:w,children:(0,e.createComponentVNode)(2,a.Icon,{name:N,color:B,fontSize:"6px"})})}),2)};p.Marker=i;var c=function(d,f){return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zoomer",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Zoom",children:(0,e.createComponentVNode)(2,s.Slider,{minValue:1,maxValue:8,stepPixelSize:10,format:function(){function l(v){return v+"x"}return l}(),value:d.zoom,onDrag:function(){function l(v,b){return d.onZoom(v,b)}return l}()})})})})};p.Zoomer=c;var m=function(d){if(d.z_levels.length!==1)return(0,e.createComponentVNode)(2,a.Box,{className:"NanoMap__zlevel",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Z-level",children:(0,e.createComponentVNode)(2,a.Dropdown,{width:"100%",selected:d.z_names[d.z_levels.indexOf(d.z_current)],options:d.z_names,onSelected:function(){function f(l){return d.onZChange(d.z_levels[d.z_names.indexOf(l)])}return f}()})})})})}},74733:function(I,r,n){"use strict";r.__esModule=!0,r.NoticeBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","color","info","warning","success","danger"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function s(V,k){if(V==null)return{};var S={};for(var p in V)if({}.hasOwnProperty.call(V,p)){if(k.includes(p))continue;S[p]=V[p]}return S}var y=r.NoticeBox=function(){function V(k){var S=k.className,p=k.color,i=k.info,c=k.warning,f=k.success,u=k.danger,d=s(k,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",p&&"NoticeBox--color--"+p,i&&"NoticeBox--type--info",f&&"NoticeBox--type--success",u&&"NoticeBox--type--danger",S])},d)))}return V}();y.defaultHooks=a.pureComponentHooks},59263:function(I,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474),s=n(55937);function y(p,i){p.prototype=Object.create(i.prototype),p.prototype.constructor=p,V(p,i)}function V(p,i){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},V(p,i)}/** + */function s(V,k){if(V==null)return{};var S={};for(var p in V)if({}.hasOwnProperty.call(V,p)){if(k.includes(p))continue;S[p]=V[p]}return S}var y=r.NoticeBox=function(){function V(k){var S=k.className,p=k.color,i=k.info,c=k.warning,m=k.success,u=k.danger,d=s(k,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["NoticeBox",p&&"NoticeBox--color--"+p,i&&"NoticeBox--type--info",m&&"NoticeBox--type--success",u&&"NoticeBox--type--danger",S])},d)))}return V}();y.defaultHooks=a.pureComponentHooks},59263:function(I,r,n){"use strict";r.__esModule=!0,r.NumberInput=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474),s=n(55937);function y(p,i){p.prototype=Object.create(i.prototype),p.prototype.constructor=p,V(p,i)}function V(p,i){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},V(p,i)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var k=400,S=r.NumberInput=function(p){function i(f){var u;u=p.call(this,f)||this;var d=f.value;return u.inputRef=(0,e.createRef)(),u.state={value:d,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var m=u.props.suppressFlicker;m>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},m))},u.handleDragStart=function(m){var l=u.props.value,v=u.state.editing;v||(document.body.style["pointer-events"]="none",u.ref=m.target,u.setState({dragging:!1,origin:m.screenY,value:l,internalValue:l}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var b=u.state,N=b.dragging,h=b.value,C=u.props.onDrag;N&&C&&C(m,h)},u.props.updateRate||k),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(m){var l=u.props,v=l.minValue,b=l.maxValue,N=l.step,h=l.stepPixelSize;u.setState(function(C){var g=Object.assign({},C),x=g.origin-m.screenY;if(C.dragging){var B=Number.isFinite(v)?v%N:0;g.internalValue=(0,a.clamp)(g.internalValue+x*N/h,v-N,b+N),g.value=(0,a.clamp)(g.internalValue-g.internalValue%N+B,v,b),g.origin=m.screenY}else Math.abs(x)>4&&(g.dragging=!0);return g})},u.handleDragEnd=function(m){var l=u.props,v=l.onChange,b=l.onDrag,N=u.state,h=N.dragging,C=N.value,g=N.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({dragging:!1,editing:!h,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),h)u.suppressFlicker(),v&&v(m,C),b&&b(m,C);else if(u.inputRef){var x=u.inputRef.current;x.value=g;try{x.focus(),x.select()}catch(B){}}},u}y(i,p);var c=i.prototype;return c.render=function(){function f(){var u=this,d=this.state,m=d.dragging,l=d.editing,v=d.value,b=d.suppressingFlicker,N=this.props,h=N.className,C=N.fluid,g=N.animated,x=N.value,B=N.unit,L=N.minValue,w=N.maxValue,A=N.height,T=N.width,E=N.lineHeight,O=N.fontSize,P=N.format,R=N.onChange,F=N.onDrag,j=x;(m||b)&&(j=v);var W=(0,e.createVNode)(1,"div","NumberInput__content",[g&&!m&&!b?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:j,format:P}):P?P(j):j,B?" "+B:""],0);return(0,e.createComponentVNode)(2,s.Box,{className:(0,t.classes)(["NumberInput",C&&"NumberInput--fluid",h]),minWidth:T,minHeight:A,lineHeight:E,fontSize:O,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((j-L)/(w-L)*100,0,100)+"%"}}),2),W,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?void 0:"none",height:A,"line-height":E,"font-size":O},onBlur:function(){function H(z){if(l){var $=(0,a.clamp)(parseFloat(z.target.value),L,w);if(Number.isNaN($)){u.setState({editing:!1});return}u.setState({editing:!1,value:$}),u.suppressFlicker(),R&&R(z,$),F&&F(z,$)}}return H}(),onKeyDown:function(){function H(z){if(z.keyCode===13){var $=(0,a.clamp)(parseFloat(z.target.value),L,w);if(Number.isNaN($)){u.setState({editing:!1});return}u.setState({editing:!1,value:$}),u.suppressFlicker(),R&&R(z,$),F&&F(z,$);return}if(z.keyCode===27){u.setState({editing:!1});return}}return H}()},null,this.inputRef)]})}return f}(),i}(e.Component);S.defaultHooks=t.pureComponentHooks,S.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(I,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(y,V){y.prototype=Object.create(V.prototype),y.prototype.constructor=y,o(y,V)}function o(y,V){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,S){return k.__proto__=S,k},o(y,V)}var s=r.Popper=function(y){function V(){var S;return S=y.call(this)||this,S.renderedContent=void 0,S.popperInstance=void 0,V.id+=1,S}t(V,y);var k=V.prototype;return k.componentDidMount=function(){function S(){var p=this,i=this.props,c=i.additionalStyles,f=i.options;if(this.renderedContent=document.createElement("div"),c)for(var u=0,d=Object.entries(c);u0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},f))},u.handleDragStart=function(f){var l=u.props.value,v=u.state.editing;v||(document.body.style["pointer-events"]="none",u.ref=f.target,u.setState({dragging:!1,origin:f.screenY,value:l,internalValue:l}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var b=u.state,g=b.dragging,h=b.value,C=u.props.onDrag;g&&C&&C(f,h)},u.props.updateRate||k),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(f){var l=u.props,v=l.minValue,b=l.maxValue,g=l.step,h=l.stepPixelSize;u.setState(function(C){var N=Object.assign({},C),x=N.origin-f.screenY;if(C.dragging){var B=Number.isFinite(v)?v%g:0;N.internalValue=(0,a.clamp)(N.internalValue+x*g/h,v-g,b+g),N.value=(0,a.clamp)(N.internalValue-N.internalValue%g+B,v,b),N.origin=f.screenY}else Math.abs(x)>4&&(N.dragging=!0);return N})},u.handleDragEnd=function(f){var l=u.props,v=l.onChange,b=l.onDrag,g=u.state,h=g.dragging,C=g.value,N=g.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({dragging:!1,editing:!h,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),h)u.suppressFlicker(),v&&v(f,C),b&&b(f,C);else if(u.inputRef){var x=u.inputRef.current;x.value=N;try{x.focus(),x.select()}catch(B){}}},u}y(i,p);var c=i.prototype;return c.render=function(){function m(){var u=this,d=this.state,f=d.dragging,l=d.editing,v=d.value,b=d.suppressingFlicker,g=this.props,h=g.className,C=g.fluid,N=g.animated,x=g.value,B=g.unit,L=g.minValue,w=g.maxValue,A=g.height,T=g.width,E=g.lineHeight,O=g.fontSize,P=g.format,R=g.onChange,F=g.onDrag,j=x;(f||b)&&(j=v);var W=(0,e.createVNode)(1,"div","NumberInput__content",[N&&!f&&!b?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:j,format:P}):P?P(j):j,B?" "+B:""],0);return(0,e.createComponentVNode)(2,s.Box,{className:(0,t.classes)(["NumberInput",C&&"NumberInput--fluid",h]),minWidth:T,minHeight:A,lineHeight:E,fontSize:O,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((j-L)/(w-L)*100,0,100)+"%"}}),2),W,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?void 0:"none",height:A,"line-height":E,"font-size":O},onBlur:function(){function H(z){if(l){var Y=(0,a.clamp)(parseFloat(z.target.value),L,w);if(Number.isNaN(Y)){u.setState({editing:!1});return}u.setState({editing:!1,value:Y}),u.suppressFlicker(),R&&R(z,Y),F&&F(z,Y)}}return H}(),onKeyDown:function(){function H(z){if(z.keyCode===13){var Y=(0,a.clamp)(parseFloat(z.target.value),L,w);if(Number.isNaN(Y)){u.setState({editing:!1});return}u.setState({editing:!1,value:Y}),u.suppressFlicker(),R&&R(z,Y),F&&F(z,Y);return}if(z.keyCode===27){u.setState({editing:!1});return}}return H}()},null,this.inputRef)]})}return m}(),i}(e.Component);S.defaultHooks=t.pureComponentHooks,S.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(I,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(y,V){y.prototype=Object.create(V.prototype),y.prototype.constructor=y,o(y,V)}function o(y,V){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(k,S){return k.__proto__=S,k},o(y,V)}var s=r.Popper=function(y){function V(){var S;return S=y.call(this)||this,S.renderedContent=void 0,S.popperInstance=void 0,V.id+=1,S}t(V,y);var k=V.prototype;return k.componentDidMount=function(){function S(){var p=this,i=this.props,c=i.additionalStyles,m=i.options;if(this.renderedContent=document.createElement("div"),c)for(var u=0,d=Object.entries(c);uf)return"in the future";c=c/10,f=f/10;var u=f-c;if(u>3600){var d=Math.round(u/3600);return d+" hour"+(d===1?"":"s")+" ago"}else if(u>60){var m=Math.round(u/60);return m+" minute"+(m===1?"":"s")+" ago"}else{var l=Math.round(u);return l+" second"+(l===1?"":"s")+" ago"}return"just now"}return i}()},40944:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/** +*/var i=r.TextArea=function(c){function m(d,f){var l;l=c.call(this,d,f)||this,l.textareaRef=d.innerRef||(0,e.createRef)(),l.fillerRef=(0,e.createRef)(),l.state={editing:!1};var v=d.dontUseTabForIndent,b=v===void 0?!1:v;return l.handleOnInput=function(g){var h=l.state.editing,C=l.props.onInput;h||l.setEditing(!0),C&&C(g,g.target.value)},l.handleOnChange=function(g){var h=l.state.editing,C=l.props.onChange;h&&l.setEditing(!1),C&&C(g,g.target.value)},l.handleKeyPress=function(g){var h=l.state.editing,C=l.props.onKeyPress;h||l.setEditing(!0),C&&C(g,g.target.value)},l.handleKeyDown=function(g){var h=l.state.editing,C=l.props,N=C.onChange,x=C.onInput,B=C.onEnter,L=C.onKeyDown;if(g.keyCode===s.KEY_ENTER){l.setEditing(!1),N&&N(g,g.target.value),x&&x(g,g.target.value),B&&B(g,g.target.value),l.props.selfClear&&(g.target.value="",g.target.blur());return}if(g.keyCode===s.KEY_ESCAPE){l.props.onEscape&&l.props.onEscape(g),l.setEditing(!1),l.props.selfClear?g.target.value="":(g.target.value=(0,o.toInputValue)(l.props.value),g.target.blur());return}if(h||l.setEditing(!0),L&&L(g,g.target.value),!b){var w=g.keyCode||g.which;if(w===s.KEY_TAB){g.preventDefault();var A=g.target,T=A.value,E=A.selectionStart,O=A.selectionEnd;g.target.value=T.substring(0,E)+" "+T.substring(O),g.target.selectionEnd=E+1}}},l.handleFocus=function(g){var h=l.state.editing;h||l.setEditing(!0)},l.handleBlur=function(g){var h=l.state.editing,C=l.props.onChange;h&&(l.setEditing(!1),C&&C(g,g.target.value))},l}S(m,c);var u=m.prototype;return u.componentDidMount=function(){function d(){var f=this,l=this.props.value,v=this.textareaRef.current;v&&(v.value=(0,o.toInputValue)(l)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){v.focus(),f.props.autoSelect&&v.select()},1)}return d}(),u.componentDidUpdate=function(){function d(f,l){var v=f.value,b=this.props.value,g=this.textareaRef.current;g&&typeof b=="string"&&v!==b&&(g.value=(0,o.toInputValue)(b))}return d}(),u.setEditing=function(){function d(f){this.setState({editing:f})}return d}(),u.getValue=function(){function d(){return this.textareaRef.current&&this.textareaRef.current.value}return d}(),u.render=function(){function d(){var f=this.props,l=f.onChange,v=f.onKeyDown,b=f.onKeyPress,g=f.onInput,h=f.onFocus,C=f.onBlur,N=f.onEnter,x=f.value,B=f.maxLength,L=f.placeholder,w=k(f,y),A=w.className,T=w.fluid,E=k(w,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["TextArea",T&&"TextArea--fluid",A])},E,{children:(0,e.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:L,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:B},null,this.textareaRef)})))}return d}(),m}(e.Component)},5169:function(I,r){"use strict";r.__esModule=!0,r.TimeDisplay=void 0;var n=function(t){(!t||t<0)&&(t=0);var o=Math.floor(t/60).toString(10),s=(Math.floor(t)%60).toString(10);return[o,s].map(function(y){return y.length<2?"0"+y:y}).join(":")},e=r.TimeDisplay=function(){function a(t){var o=t.totalSeconds,s=o===void 0?0:o;return n(s)}return a}()},62147:function(I,r,n){"use strict";r.__esModule=!0,r.Tooltip=void 0;var e=n(89005),a=n(95996),t;function o(S,p){S.prototype=Object.create(p.prototype),S.prototype.constructor=S,s(S,p)}function s(S,p){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,c){return i.__proto__=c,i},s(S,p)}var y={modifiers:[{name:"eventListeners",enabled:!1}]},V={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function S(){return null}return S}()},k=r.Tooltip=function(S){function p(){return S.apply(this,arguments)||this}o(p,S);var i=p.prototype;return i.getDOMNode=function(){function c(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return c}(),i.componentDidMount=function(){function c(){var m=this,u=this.getDOMNode();u&&(u.addEventListener("mouseenter",function(){var d=p.renderedTooltip;d===void 0&&(d=document.createElement("div"),d.className="Tooltip",document.body.appendChild(d),p.renderedTooltip=d),p.currentHoveredElement=u,d.style.opacity="1",m.renderPopperContent()}),u.addEventListener("mouseleave",function(){m.fadeOut()}))}return c}(),i.fadeOut=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&(p.currentHoveredElement=void 0,p.renderedTooltip.style.opacity="0")}return c}(),i.renderPopperContent=function(){function c(){var m=this,u=p.renderedTooltip;u&&(0,e.render)((0,e.createVNode)(1,"span",null,this.props.content,0),u,function(){var d=p.singletonPopper;d===void 0?(d=(0,a.createPopper)(p.virtualElement,u,Object.assign({},y,{placement:m.props.position||"auto"})),p.singletonPopper=d):(d.setOptions(Object.assign({},y,{placement:m.props.position||"auto"})),d.update())},this.context)}return c}(),i.componentDidUpdate=function(){function c(){p.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return c}(),i.componentWillUnmount=function(){function c(){this.fadeOut()}return c}(),i.render=function(){function c(){return this.props.children}return c}(),p}(e.Component);t=k,k.renderedTooltip=void 0,k.singletonPopper=void 0,k.currentHoveredElement=void 0,k.virtualElement={getBoundingClientRect:function(){function S(){var p,i;return(p=(i=t.currentHoveredElement)==null?void 0:i.getBoundingClientRect())!=null?p:V}return S}()}},36036:function(I,r,n){"use strict";r.__esModule=!0,r.Tooltip=r.TimeDisplay=r.TextArea=r.Tabs=r.Table=r.Stack=r.Slider=r.Section=r.RoundGauge=r.RestrictedInput=r.ProgressBar=r.Popper=r.NumberInput=r.NoticeBox=r.NanoMap=r.Modal=r.LabeledList=r.LabeledControls=r.Knob=r.Input=r.ImageButton=r.Icon=r.Grid=r.Flex=r.Dropdown=r.DraggableControl=r.Divider=r.Dimmer=r.Countdown=r.ColorBox=r.Collapsible=r.Chart=r.ByondUi=r.Button=r.Box=r.BlockQuote=r.Blink=r.Autofocus=r.AnimatedNumber=void 0;var e=n(9474);r.AnimatedNumber=e.AnimatedNumber;var a=n(27185);r.Autofocus=a.Autofocus;var t=n(5814);r.Blink=t.Blink;var o=n(61773);r.BlockQuote=o.BlockQuote;var s=n(55937);r.Box=s.Box;var y=n(94798);r.Button=y.Button;var V=n(18982);r.ByondUi=V.ByondUi;var k=n(66820);r.Chart=k.Chart;var S=n(4796);r.Collapsible=S.Collapsible;var p=n(88894);r.ColorBox=p.ColorBox;var i=n(73379);r.Countdown=i.Countdown;var c=n(61940);r.Dimmer=c.Dimmer;var m=n(13605);r.Divider=m.Divider;var u=n(20342);r.DraggableControl=u.DraggableControl;var d=n(87099);r.Dropdown=d.Dropdown;var f=n(39473);r.Flex=f.Flex;var l=n(79646);r.Grid=l.Grid;var v=n(1331);r.Icon=v.Icon;var b=n(66393);r.ImageButton=b.ImageButton;var g=n(79652);r.Input=g.Input;var h=n(76334);r.Knob=h.Knob;var C=n(78621);r.LabeledControls=C.LabeledControls;var N=n(29319);r.LabeledList=N.LabeledList;var x=n(36077);r.Modal=x.Modal;var B=n(73280);r.NanoMap=B.NanoMap;var L=n(74733);r.NoticeBox=L.NoticeBox;var w=n(59263);r.NumberInput=w.NumberInput;var A=n(50186);r.Popper=A.Popper;var T=n(92704);r.ProgressBar=T.ProgressBar;var E=n(9075);r.RestrictedInput=E.RestrictedInput;var O=n(11441);r.RoundGauge=O.RoundGauge;var P=n(97079);r.Section=P.Section;var R=n(79911);r.Slider=R.Slider;var F=n(96690);r.Stack=F.Stack;var j=n(36352);r.Table=j.Table;var W=n(85138);r.Tabs=W.Tabs;var H=n(44868);r.TextArea=H.TextArea;var z=n(5169);r.TimeDisplay=z.TimeDisplay;var Y=n(62147);r.Tooltip=Y.Tooltip},76910:function(I,r){"use strict";r.__esModule=!0,r.timeAgo=r.getGasLabel=r.getGasColor=r.UI_UPDATE=r.UI_INTERACTIVE=r.UI_DISABLED=r.UI_CLOSE=r.RADIO_CHANNELS=r.CSS_COLORS=r.COLORS=void 0;var n=r.UI_INTERACTIVE=2,e=r.UI_UPDATE=1,a=r.UI_DISABLED=0,t=r.UI_CLOSE=-1,o=r.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",procedure:"#E3027A",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},s=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],y=r.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"},{name:"SyndTaipan",freq:1227,color:"#ffec8b"},{name:"Soviet",freq:1217,color:"#ffec8b"},{name:"Spider Clan",freq:1265,color:"#1ecc43"},{name:"Alpha wave",freq:1522,color:"#88910f"},{name:"Beta wave",freq:1532,color:"#1d83f7"},{name:"Gamma wave",freq:1542,color:"#d46549"},{name:"Spy Spider",freq:1251,color:"#776f96"}],V=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],k=r.getGasLabel=function(){function i(c,m){var u=String(c).toLowerCase(),d=V.find(function(f){return f.id===u||f.name.toLowerCase()===u});return d&&d.label||m||c}return i}(),S=r.getGasColor=function(){function i(c){var m=String(c).toLowerCase(),u=V.find(function(d){return d.id===m||d.name.toLowerCase()===m});return u&&u.color}return i}(),p=r.timeAgo=function(){function i(c,m){if(c>m)return"in the future";c=c/10,m=m/10;var u=m-c;if(u>3600){var d=Math.round(u/3600);return d+" hour"+(d===1?"":"s")+" ago"}else if(u>60){var f=Math.round(u/60);return f+" minute"+(f===1?"":"s")+" ago"}else{var l=Math.round(u);return l+" second"+(l===1?"":"s")+" ago"}return"just now"}return i}()},40944:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var s=n(4085),y=function(){return s.keys().map(function(S){return s(S)})},V=r.KitchenSink=function(){function k(S,p){var i=S.panel,c=(0,a.useLocalState)(p,"kitchenSinkTheme"),f=c[0],u=(0,a.useLocalState)(p,"pageIndex",0),d=u[0],m=u[1],l=y(),v=l[d],b=i?o.Pane:o.Window;return(0,e.createComponentVNode)(2,b,{title:"Kitchen Sink",width:600,height:500,theme:f,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:l.map(function(N,h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:h===d,onClick:function(){function C(){return m(h)}return C}(),children:N.meta.title},h)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,b.Content,{scrollable:!0,children:v.meta.render()})})]})})}return k}()},77384:function(I,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/** + */var s=n(4085),y=function(){return s.keys().map(function(S){return s(S)})},V=r.KitchenSink=function(){function k(S,p){var i=S.panel,c=(0,a.useLocalState)(p,"kitchenSinkTheme"),m=c[0],u=(0,a.useLocalState)(p,"pageIndex",0),d=u[0],f=u[1],l=y(),v=l[d],b=i?o.Pane:o.Window;return(0,e.createComponentVNode)(2,b,{title:"Kitchen Sink",width:600,height:500,theme:m,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:l.map(function(g,h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:h===d,onClick:function(){function C(){return f(h)}return C}(),children:g.meta.title},h)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,b.Content,{scrollable:!0,children:v.meta.render()})})]})})}return k}()},77384:function(I,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -206,7 +206,7 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var s=["backend/update","chat/message"],y=r.debugMiddleware=function(){function k(S){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(p){p.code===e.KEY_F11&&S.dispatch((0,o.toggleDebugLayout)()),p.code===e.KEY_F12&&S.dispatch((0,o.toggleKitchenSink)()),p.ctrl&&p.alt&&p.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(p){return function(i){return p(i)}}}return k}(),V=r.relayMiddleware=function(){function k(S){var p=n(7435),i=location.search==="?external";return i?p.subscribe(function(c){var f=c.type,u=c.payload;f==="relay"&&u.windowId===Byond.windowId&&S.dispatch(Object.assign({},u.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&S.dispatch((0,o.openExternalBrowser)())})),function(c){return function(f){var u=f.type,d=f.payload,m=f.relayed;if(u===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return s.includes(u)&&!m&&!i&&p.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:f}}),c(f)}}}return k}()},19147:function(I,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** + */var s=["backend/update","chat/message"],y=r.debugMiddleware=function(){function k(S){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(p){p.code===e.KEY_F11&&S.dispatch((0,o.toggleDebugLayout)()),p.code===e.KEY_F12&&S.dispatch((0,o.toggleKitchenSink)()),p.ctrl&&p.alt&&p.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(p){return function(i){return p(i)}}}return k}(),V=r.relayMiddleware=function(){function k(S){var p=n(7435),i=location.search==="?external";return i?p.subscribe(function(c){var m=c.type,u=c.payload;m==="relay"&&u.windowId===Byond.windowId&&S.dispatch(Object.assign({},u.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&S.dispatch((0,o.openExternalBrowser)())})),function(c){return function(m){var u=m.type,d=m.payload,f=m.relayed;if(u===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return s.includes(u)&&!f&&!i&&p.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:m}}),c(m)}}}return k}()},19147:function(I,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT @@ -214,17 +214,17 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(I,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return W};var j,W={},H=Object.prototype,z=H.hasOwnProperty,$=Object.defineProperty||function(ke,pe,se){ke[pe]=se.value},G=typeof Symbol=="function"?Symbol:{},ne=G.iterator||"@@iterator",Q=G.asyncIterator||"@@asyncIterator",he=G.toStringTag||"@@toStringTag";function Ve(ke,pe,se){return Object.defineProperty(ke,pe,{value:se,enumerable:!0,configurable:!0,writable:!0}),ke[pe]}try{Ve({},"")}catch(ke){Ve=function(se,xe,_){return se[xe]=_}}function Ne(ke,pe,se,xe){var _=pe&&pe.prototype instanceof te?pe:te,oe=Object.create(_.prototype),ve=new Me(xe||[]);return $(oe,"_invoke",{value:ue(ke,se,ve)}),oe}function Be(ke,pe,se){try{return{type:"normal",arg:ke.call(pe,se)}}catch(xe){return{type:"throw",arg:xe}}}W.wrap=Ne;var Le="suspendedStart",Ae="suspendedYield",fe="executing",Z="completed",J={};function te(){}function ee(){}function le(){}var ye={};Ve(ye,ne,function(){return this});var me=Object.getPrototypeOf,Te=me&&me(me(De([])));Te&&Te!==H&&z.call(Te,ne)&&(ye=Te);var M=le.prototype=te.prototype=Object.create(ye);function X(ke){["next","throw","return"].forEach(function(pe){Ve(ke,pe,function(se){return this._invoke(pe,se)})})}function ae(ke,pe){function se(_,oe,ve,Se){var Ie=Be(ke[_],ke,oe);if(Ie.type!=="throw"){var Ee=Ie.arg,Pe=Ee.value;return Pe&&typeof Pe=="object"&&z.call(Pe,"__await")?pe.resolve(Pe.__await).then(function(Oe){se("next",Oe,ve,Se)},function(Oe){se("throw",Oe,ve,Se)}):pe.resolve(Pe).then(function(Oe){Ee.value=Oe,ve(Ee)},function(Oe){return se("throw",Oe,ve,Se)})}Se(Ie.arg)}var xe;$(this,"_invoke",{value:function(){function _(oe,ve){function Se(){return new pe(function(Ie,Ee){se(oe,ve,Ie,Ee)})}return xe=xe?xe.then(Se,Se):Se()}return _}()})}function ue(ke,pe,se){var xe=Le;return function(_,oe){if(xe===fe)throw Error("Generator is already running");if(xe===Z){if(_==="throw")throw oe;return{value:j,done:!0}}for(se.method=_,se.arg=oe;;){var ve=se.delegate;if(ve){var Se=ie(ve,se);if(Se){if(Se===J)continue;return Se}}if(se.method==="next")se.sent=se._sent=se.arg;else if(se.method==="throw"){if(xe===Le)throw xe=Z,se.arg;se.dispatchException(se.arg)}else se.method==="return"&&se.abrupt("return",se.arg);xe=fe;var Ie=Be(ke,pe,se);if(Ie.type==="normal"){if(xe=se.done?Z:Ae,Ie.arg===J)continue;return{value:Ie.arg,done:se.done}}Ie.type==="throw"&&(xe=Z,se.method="throw",se.arg=Ie.arg)}}}function ie(ke,pe){var se=pe.method,xe=ke.iterator[se];if(xe===j)return pe.delegate=null,se==="throw"&&ke.iterator.return&&(pe.method="return",pe.arg=j,ie(ke,pe),pe.method==="throw")||se!=="return"&&(pe.method="throw",pe.arg=new TypeError("The iterator does not provide a '"+se+"' method")),J;var _=Be(xe,ke.iterator,pe.arg);if(_.type==="throw")return pe.method="throw",pe.arg=_.arg,pe.delegate=null,J;var oe=_.arg;return oe?oe.done?(pe[ke.resultName]=oe.value,pe.next=ke.nextLoc,pe.method!=="return"&&(pe.method="next",pe.arg=j),pe.delegate=null,J):oe:(pe.method="throw",pe.arg=new TypeError("iterator result is not an object"),pe.delegate=null,J)}function ge(ke){var pe={tryLoc:ke[0]};1 in ke&&(pe.catchLoc=ke[1]),2 in ke&&(pe.finallyLoc=ke[2],pe.afterLoc=ke[3]),this.tryEntries.push(pe)}function Ce(ke){var pe=ke.completion||{};pe.type="normal",delete pe.arg,ke.completion=pe}function Me(ke){this.tryEntries=[{tryLoc:"root"}],ke.forEach(ge,this),this.reset(!0)}function De(ke){if(ke||ke===""){var pe=ke[ne];if(pe)return pe.call(ke);if(typeof ke.next=="function")return ke;if(!isNaN(ke.length)){var se=-1,xe=function(){function _(){for(;++se=0;--_){var oe=this.tryEntries[_],ve=oe.completion;if(oe.tryLoc==="root")return xe("end");if(oe.tryLoc<=this.prev){var Se=z.call(oe,"catchLoc"),Ie=z.call(oe,"finallyLoc");if(Se&&Ie){if(this.prev=0;--xe){var _=this.tryEntries[xe];if(_.tryLoc<=this.prev&&z.call(_,"finallyLoc")&&this.prev<_.finallyLoc){var oe=_;break}}oe&&(pe==="break"||pe==="continue")&&oe.tryLoc<=se&&se<=oe.finallyLoc&&(oe=null);var ve=oe?oe.completion:{};return ve.type=pe,ve.arg=se,oe?(this.method="next",this.next=oe.finallyLoc,J):this.complete(ve)}return ke}(),complete:function(){function ke(pe,se){if(pe.type==="throw")throw pe.arg;return pe.type==="break"||pe.type==="continue"?this.next=pe.arg:pe.type==="return"?(this.rval=this.arg=pe.arg,this.method="return",this.next="end"):pe.type==="normal"&&se&&(this.next=se),J}return ke}(),finish:function(){function ke(pe){for(var se=this.tryEntries.length-1;se>=0;--se){var xe=this.tryEntries[se];if(xe.finallyLoc===pe)return this.complete(xe.completion,xe.afterLoc),Ce(xe),J}}return ke}(),catch:function(){function ke(pe){for(var se=this.tryEntries.length-1;se>=0;--se){var xe=this.tryEntries[se];if(xe.tryLoc===pe){var _=xe.completion;if(_.type==="throw"){var oe=_.arg;Ce(xe)}return oe}}throw Error("illegal catch attempt")}return ke}(),delegateYield:function(){function ke(pe,se,xe){return this.delegate={iterator:De(pe),resultName:se,nextLoc:xe},this.method==="next"&&(this.arg=j),J}return ke}()},W}function s(j,W,H,z,$,G,ne){try{var Q=j[G](ne),he=Q.value}catch(Ve){return void H(Ve)}Q.done?W(he):Promise.resolve(he).then(z,$)}function y(j){return function(){var W=this,H=arguments;return new Promise(function(z,$){var G=j.apply(W,H);function ne(he){s(G,z,$,ne,Q,"next",he)}function Q(he){s(G,z,$,ne,Q,"throw",he)}ne(void 0)})}}/** + */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(I,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return W};var j,W={},H=Object.prototype,z=H.hasOwnProperty,Y=Object.defineProperty||function(ke,pe,se){ke[pe]=se.value},G=typeof Symbol=="function"?Symbol:{},ne=G.iterator||"@@iterator",Q=G.asyncIterator||"@@asyncIterator",he=G.toStringTag||"@@toStringTag";function Ve(ke,pe,se){return Object.defineProperty(ke,pe,{value:se,enumerable:!0,configurable:!0,writable:!0}),ke[pe]}try{Ve({},"")}catch(ke){Ve=function(se,xe,_){return se[xe]=_}}function Ne(ke,pe,se,xe){var _=pe&&pe.prototype instanceof te?pe:te,oe=Object.create(_.prototype),ve=new Me(xe||[]);return Y(oe,"_invoke",{value:ue(ke,se,ve)}),oe}function Be(ke,pe,se){try{return{type:"normal",arg:ke.call(pe,se)}}catch(xe){return{type:"throw",arg:xe}}}W.wrap=Ne;var Le="suspendedStart",Ae="suspendedYield",fe="executing",Z="completed",J={};function te(){}function ee(){}function le(){}var ye={};Ve(ye,ne,function(){return this});var me=Object.getPrototypeOf,Te=me&&me(me(De([])));Te&&Te!==H&&z.call(Te,ne)&&(ye=Te);var M=le.prototype=te.prototype=Object.create(ye);function X(ke){["next","throw","return"].forEach(function(pe){Ve(ke,pe,function(se){return this._invoke(pe,se)})})}function ae(ke,pe){function se(_,oe,ve,Se){var Ie=Be(ke[_],ke,oe);if(Ie.type!=="throw"){var Ee=Ie.arg,Pe=Ee.value;return Pe&&typeof Pe=="object"&&z.call(Pe,"__await")?pe.resolve(Pe.__await).then(function(Oe){se("next",Oe,ve,Se)},function(Oe){se("throw",Oe,ve,Se)}):pe.resolve(Pe).then(function(Oe){Ee.value=Oe,ve(Ee)},function(Oe){return se("throw",Oe,ve,Se)})}Se(Ie.arg)}var xe;Y(this,"_invoke",{value:function(){function _(oe,ve){function Se(){return new pe(function(Ie,Ee){se(oe,ve,Ie,Ee)})}return xe=xe?xe.then(Se,Se):Se()}return _}()})}function ue(ke,pe,se){var xe=Le;return function(_,oe){if(xe===fe)throw Error("Generator is already running");if(xe===Z){if(_==="throw")throw oe;return{value:j,done:!0}}for(se.method=_,se.arg=oe;;){var ve=se.delegate;if(ve){var Se=ie(ve,se);if(Se){if(Se===J)continue;return Se}}if(se.method==="next")se.sent=se._sent=se.arg;else if(se.method==="throw"){if(xe===Le)throw xe=Z,se.arg;se.dispatchException(se.arg)}else se.method==="return"&&se.abrupt("return",se.arg);xe=fe;var Ie=Be(ke,pe,se);if(Ie.type==="normal"){if(xe=se.done?Z:Ae,Ie.arg===J)continue;return{value:Ie.arg,done:se.done}}Ie.type==="throw"&&(xe=Z,se.method="throw",se.arg=Ie.arg)}}}function ie(ke,pe){var se=pe.method,xe=ke.iterator[se];if(xe===j)return pe.delegate=null,se==="throw"&&ke.iterator.return&&(pe.method="return",pe.arg=j,ie(ke,pe),pe.method==="throw")||se!=="return"&&(pe.method="throw",pe.arg=new TypeError("The iterator does not provide a '"+se+"' method")),J;var _=Be(xe,ke.iterator,pe.arg);if(_.type==="throw")return pe.method="throw",pe.arg=_.arg,pe.delegate=null,J;var oe=_.arg;return oe?oe.done?(pe[ke.resultName]=oe.value,pe.next=ke.nextLoc,pe.method!=="return"&&(pe.method="next",pe.arg=j),pe.delegate=null,J):oe:(pe.method="throw",pe.arg=new TypeError("iterator result is not an object"),pe.delegate=null,J)}function ge(ke){var pe={tryLoc:ke[0]};1 in ke&&(pe.catchLoc=ke[1]),2 in ke&&(pe.finallyLoc=ke[2],pe.afterLoc=ke[3]),this.tryEntries.push(pe)}function Ce(ke){var pe=ke.completion||{};pe.type="normal",delete pe.arg,ke.completion=pe}function Me(ke){this.tryEntries=[{tryLoc:"root"}],ke.forEach(ge,this),this.reset(!0)}function De(ke){if(ke||ke===""){var pe=ke[ne];if(pe)return pe.call(ke);if(typeof ke.next=="function")return ke;if(!isNaN(ke.length)){var se=-1,xe=function(){function _(){for(;++se=0;--_){var oe=this.tryEntries[_],ve=oe.completion;if(oe.tryLoc==="root")return xe("end");if(oe.tryLoc<=this.prev){var Se=z.call(oe,"catchLoc"),Ie=z.call(oe,"finallyLoc");if(Se&&Ie){if(this.prev=0;--xe){var _=this.tryEntries[xe];if(_.tryLoc<=this.prev&&z.call(_,"finallyLoc")&&this.prev<_.finallyLoc){var oe=_;break}}oe&&(pe==="break"||pe==="continue")&&oe.tryLoc<=se&&se<=oe.finallyLoc&&(oe=null);var ve=oe?oe.completion:{};return ve.type=pe,ve.arg=se,oe?(this.method="next",this.next=oe.finallyLoc,J):this.complete(ve)}return ke}(),complete:function(){function ke(pe,se){if(pe.type==="throw")throw pe.arg;return pe.type==="break"||pe.type==="continue"?this.next=pe.arg:pe.type==="return"?(this.rval=this.arg=pe.arg,this.method="return",this.next="end"):pe.type==="normal"&&se&&(this.next=se),J}return ke}(),finish:function(){function ke(pe){for(var se=this.tryEntries.length-1;se>=0;--se){var xe=this.tryEntries[se];if(xe.finallyLoc===pe)return this.complete(xe.completion,xe.afterLoc),Ce(xe),J}}return ke}(),catch:function(){function ke(pe){for(var se=this.tryEntries.length-1;se>=0;--se){var xe=this.tryEntries[se];if(xe.tryLoc===pe){var _=xe.completion;if(_.type==="throw"){var oe=_.arg;Ce(xe)}return oe}}throw Error("illegal catch attempt")}return ke}(),delegateYield:function(){function ke(pe,se,xe){return this.delegate={iterator:De(pe),resultName:se,nextLoc:xe},this.method==="next"&&(this.arg=j),J}return ke}()},W}function s(j,W,H,z,Y,G,ne){try{var Q=j[G](ne),he=Q.value}catch(Ve){return void H(Ve)}Q.done?W(he):Promise.resolve(he).then(z,Y)}function y(j){return function(){var W=this,H=arguments;return new Promise(function(z,Y){var G=j.apply(W,H);function ne(he){s(G,z,Y,ne,Q,"next",he)}function Q(he){s(G,z,Y,ne,Q,"throw",he)}ne(void 0)})}}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var V=(0,t.createLogger)("drag"),k=Byond.windowId,S=!1,p=!1,i=[0,0],c,f,u,d,m,l=r.setWindowKey=function(){function j(W){k=W}return j}(),v=r.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),b=r.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),N=r.setWindowPosition=function(){function j(W){var H=(0,a.vecAdd)(W,i);return Byond.winset(Byond.windowId,{pos:H[0]+","+H[1]})}return j}(),h=r.setWindowSize=function(){function j(W){return Byond.winset(Byond.windowId,{size:W[0]+"x"+W[1]})}return j}(),C=r.getScreenPosition=function(){function j(){return[0-i[0],0-i[1]]}return j}(),g=r.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),x=function(W,H,z){z===void 0&&(z=50);for(var $=[H],G,ne=0;neVe&&(G[Q]=Ve-H[Q],ne=!0)}return[ne,G]},T=r.dragStartHandler=function(){function j(W){V.log("drag start"),S=!0,f=[window.screenLeft-W.screenX,window.screenTop-W.screenY],document.addEventListener("mousemove",O),document.addEventListener("mouseup",E),O(W)}return j}(),E=function(W){V.log("drag end"),O(W),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",E),S=!1,B()},O=function(W){S&&(W.preventDefault(),N((0,a.vecAdd)([W.screenX,W.screenY],f)))},P=r.resizeStartHandler=function(){function j(W,H){return function(z){u=[W,H],V.log("resize start",u),p=!0,f=[window.screenLeft-z.screenX,window.screenTop-z.screenY],d=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",F),document.addEventListener("mouseup",R),F(z)}}return j}(),R=function(W){V.log("resize end",m),F(W),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",R),p=!1,B()},F=function(W){p&&(W.preventDefault(),m=(0,a.vecAdd)(d,(0,a.vecMultiply)(u,(0,a.vecAdd)([W.screenX,W.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),f,[1,1]))),m[0]=Math.max(m[0],150),m[1]=Math.max(m[1],50),h(m))}},24826:function(I,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/** +*/var V=(0,t.createLogger)("drag"),k=Byond.windowId,S=!1,p=!1,i=[0,0],c,m,u,d,f,l=r.setWindowKey=function(){function j(W){k=W}return j}(),v=r.getWindowPosition=function(){function j(){return[window.screenLeft,window.screenTop]}return j}(),b=r.getWindowSize=function(){function j(){return[window.innerWidth,window.innerHeight]}return j}(),g=r.setWindowPosition=function(){function j(W){var H=(0,a.vecAdd)(W,i);return Byond.winset(Byond.windowId,{pos:H[0]+","+H[1]})}return j}(),h=r.setWindowSize=function(){function j(W){return Byond.winset(Byond.windowId,{size:W[0]+"x"+W[1]})}return j}(),C=r.getScreenPosition=function(){function j(){return[0-i[0],0-i[1]]}return j}(),N=r.getScreenSize=function(){function j(){return[window.screen.availWidth,window.screen.availHeight]}return j}(),x=function(W,H,z){z===void 0&&(z=50);for(var Y=[H],G,ne=0;neVe&&(G[Q]=Ve-H[Q],ne=!0)}return[ne,G]},T=r.dragStartHandler=function(){function j(W){V.log("drag start"),S=!0,m=[window.screenLeft-W.screenX,window.screenTop-W.screenY],document.addEventListener("mousemove",O),document.addEventListener("mouseup",E),O(W)}return j}(),E=function(W){V.log("drag end"),O(W),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",E),S=!1,B()},O=function(W){S&&(W.preventDefault(),g((0,a.vecAdd)([W.screenX,W.screenY],m)))},P=r.resizeStartHandler=function(){function j(W,H){return function(z){u=[W,H],V.log("resize start",u),p=!0,m=[window.screenLeft-z.screenX,window.screenTop-z.screenY],d=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",F),document.addEventListener("mouseup",R),F(z)}}return j}(),R=function(W){V.log("resize end",f),F(W),document.removeEventListener("mousemove",F),document.removeEventListener("mouseup",R),p=!1,B()},F=function(W){p&&(W.preventDefault(),f=(0,a.vecAdd)(d,(0,a.vecMultiply)(u,(0,a.vecAdd)([W.screenX,W.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),f[0]=Math.max(f[0],150),f[1]=Math.max(f[1],50),h(f))}},24826:function(I,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/** * Normalized browser focus events and BYOND-specific focus helpers. * * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var t=r.globalEvents=new e.EventEmitter,o=!1,s=r.setupGlobalEvents=function(){function h(C){C===void 0&&(C={}),o=!!C.ignoreWindowFocus}return h}(),y,V=!0,k=function(C,g){if(o){V=!0;return}if(y&&(clearTimeout(y),y=null),g){y=setTimeout(function(){return k(C)});return}V!==C&&(V=C,t.emit(C?"window-focus":"window-blur"),t.emit("window-focus-change",C))},S=null,p=r.canStealFocus=function(){function h(C){var g=String(C.tagName).toLowerCase();return g==="input"||g==="textarea"}return h}(),i=function(C){c(),S=C,S.addEventListener("blur",c)},c=function(){S&&(S.removeEventListener("blur",c),S=null)},f=null,u=null,d=[],m=r.addScrollableNode=function(){function h(C){d.push(C)}return h}(),l=r.removeScrollableNode=function(){function h(C){var g=d.indexOf(C);g>=0&&d.splice(g,1)}return h}(),v=function(C){if(!(S||!V))for(var g=document.body;C&&C!==g;){if(d.includes(C)){if(C.contains(f))return;f=C,C.focus();return}C=C.parentNode}};window.addEventListener("mousemove",function(h){var C=h.target;C!==u&&(u=C,v(C))}),window.addEventListener("focusin",function(h){if(u=null,f=h.target,k(!0),p(h.target)){i(h.target);return}}),window.addEventListener("focusout",function(h){u=null,k(!1,!0)}),window.addEventListener("blur",function(h){u=null,k(!1,!0)}),window.addEventListener("beforeunload",function(h){k(!1)});var b={},N=r.KeyEvent=function(){function h(g,x,B){this.event=g,this.type=x,this.code=window.event?g.which:g.keyCode,this.ctrl=g.ctrlKey,this.shift=g.shiftKey,this.alt=g.altKey,this.repeat=!!B}var C=h.prototype;return C.hasModifierKeys=function(){function g(){return this.ctrl||this.alt||this.shift}return g}(),C.isModifierKey=function(){function g(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return g}(),C.isDown=function(){function g(){return this.type==="keydown"}return g}(),C.isUp=function(){function g(){return this.type==="keyup"}return g}(),C.toString=function(){function g(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return g}(),h}();document.addEventListener("keydown",function(h){if(!p(h.target)){var C=h.keyCode,g=new N(h,"keydown",b[C]);t.emit("keydown",g),t.emit("key",g),b[C]=!0}}),document.addEventListener("keyup",function(h){if(!p(h.target)){var C=h.keyCode,g=new N(h,"keyup");t.emit("keyup",g),t.emit("key",g),b[C]=!1}})},87695:function(I,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** + */var t=r.globalEvents=new e.EventEmitter,o=!1,s=r.setupGlobalEvents=function(){function h(C){C===void 0&&(C={}),o=!!C.ignoreWindowFocus}return h}(),y,V=!0,k=function(C,N){if(o){V=!0;return}if(y&&(clearTimeout(y),y=null),N){y=setTimeout(function(){return k(C)});return}V!==C&&(V=C,t.emit(C?"window-focus":"window-blur"),t.emit("window-focus-change",C))},S=null,p=r.canStealFocus=function(){function h(C){var N=String(C.tagName).toLowerCase();return N==="input"||N==="textarea"}return h}(),i=function(C){c(),S=C,S.addEventListener("blur",c)},c=function(){S&&(S.removeEventListener("blur",c),S=null)},m=null,u=null,d=[],f=r.addScrollableNode=function(){function h(C){d.push(C)}return h}(),l=r.removeScrollableNode=function(){function h(C){var N=d.indexOf(C);N>=0&&d.splice(N,1)}return h}(),v=function(C){if(!(S||!V))for(var N=document.body;C&&C!==N;){if(d.includes(C)){if(C.contains(m))return;m=C,C.focus();return}C=C.parentNode}};window.addEventListener("mousemove",function(h){var C=h.target;C!==u&&(u=C,v(C))}),window.addEventListener("focusin",function(h){if(u=null,m=h.target,k(!0),p(h.target)){i(h.target);return}}),window.addEventListener("focusout",function(h){u=null,k(!1,!0)}),window.addEventListener("blur",function(h){u=null,k(!1,!0)}),window.addEventListener("beforeunload",function(h){k(!1)});var b={},g=r.KeyEvent=function(){function h(N,x,B){this.event=N,this.type=x,this.code=window.event?N.which:N.keyCode,this.ctrl=N.ctrlKey,this.shift=N.shiftKey,this.alt=N.altKey,this.repeat=!!B}var C=h.prototype;return C.hasModifierKeys=function(){function N(){return this.ctrl||this.alt||this.shift}return N}(),C.isModifierKey=function(){function N(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return N}(),C.isDown=function(){function N(){return this.type==="keydown"}return N}(),C.isUp=function(){function N(){return this.type==="keyup"}return N}(),C.toString=function(){function N(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return N}(),h}();document.addEventListener("keydown",function(h){if(!p(h.target)){var C=h.keyCode,N=new g(h,"keydown",b[C]);t.emit("keydown",N),t.emit("key",N),b[C]=!0}}),document.addEventListener("keyup",function(h){if(!p(h.target)){var C=h.keyCode,N=new g(h,"keyup");t.emit("keyup",N),t.emit("key",N),b[C]=!1}})},87695:function(I,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/** * Various focus helpers. * * @file @@ -234,28 +234,28 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function k(S,p,i){if(p===void 0&&(p=-t),i===void 0&&(i=""),typeof S!="number"||!Number.isFinite(S))return S;var c=Math.floor(Math.log10(S)),f=Math.floor(Math.max(p*3,c)),u=Math.floor(c/3),d=Math.floor(f/3),m=(0,e.clamp)(t+d,0,a.length),l=a[m],v=S/Math.pow(1e3,d),b=u>p?2+d*3-f:0,N=(0,e.toFixed)(v,b)+" "+l+i;return N.trim()}return k}(),s=r.formatPower=function(){function k(S,p){return p===void 0&&(p=0),o(S,p,"W")}return k}(),y=r.formatMoney=function(){function k(S,p){if(p===void 0&&(p=0),!Number.isFinite(S))return S;var i=(0,e.round)(S,p);p>0&&(i=(0,e.toFixed)(S,p)),i=String(i);var c=i.length,f=i.indexOf(".");f===-1&&(f=c);for(var u="",d=0;d0&&d=0?"+":p<0?"\u2013":"",c=Math.abs(p);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),i+c+" dB"}return k}()},56518:function(I,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=s(n(92986)),a=n(24826),t=n(9394);function o(m){if(typeof WeakMap!="function")return null;var l=new WeakMap,v=new WeakMap;return(o=function(N){return N?v:l})(m)}function s(m,l){if(!l&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var v=o(l);if(v&&v.has(m))return v.get(m);var b={__proto__:null},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in m)if(h!=="default"&&{}.hasOwnProperty.call(m,h)){var C=N?Object.getOwnPropertyDescriptor(m,h):null;C&&(C.get||C.set)?Object.defineProperty(b,h,C):b[h]=m[h]}return b.default=m,v&&v.set(m,b),b}/** + */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function k(S,p,i){if(p===void 0&&(p=-t),i===void 0&&(i=""),typeof S!="number"||!Number.isFinite(S))return S;var c=Math.floor(Math.log10(S)),m=Math.floor(Math.max(p*3,c)),u=Math.floor(c/3),d=Math.floor(m/3),f=(0,e.clamp)(t+d,0,a.length),l=a[f],v=S/Math.pow(1e3,d),b=u>p?2+d*3-m:0,g=(0,e.toFixed)(v,b)+" "+l+i;return g.trim()}return k}(),s=r.formatPower=function(){function k(S,p){return p===void 0&&(p=0),o(S,p,"W")}return k}(),y=r.formatMoney=function(){function k(S,p){if(p===void 0&&(p=0),!Number.isFinite(S))return S;var i=(0,e.round)(S,p);p>0&&(i=(0,e.toFixed)(S,p)),i=String(i);var c=i.length,m=i.indexOf(".");m===-1&&(m=c);for(var u="",d=0;d0&&d=0?"+":p<0?"\u2013":"",c=Math.abs(p);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),i+c+" dB"}return k}()},56518:function(I,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=s(n(92986)),a=n(24826),t=n(9394);function o(f){if(typeof WeakMap!="function")return null;var l=new WeakMap,v=new WeakMap;return(o=function(g){return g?v:l})(f)}function s(f,l){if(!l&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var v=o(l);if(v&&v.has(f))return v.get(f);var b={__proto__:null},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var h in f)if(h!=="default"&&{}.hasOwnProperty.call(f,h)){var C=g?Object.getOwnPropertyDescriptor(f,h):null;C&&(C.get||C.set)?Object.defineProperty(b,h,C):b[h]=f[h]}return b.default=f,v&&v.set(f,b),b}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var y=(0,t.createLogger)("hotkeys"),V={},k=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],S={},p=function(l){if(l===16)return"Shift";if(l===17)return"Ctrl";if(l===18)return"Alt";if(l===33)return"Northeast";if(l===34)return"Southeast";if(l===35)return"Southwest";if(l===36)return"Northwest";if(l===37)return"West";if(l===38)return"North";if(l===39)return"East";if(l===40)return"South";if(l===45)return"Insert";if(l===46)return"Delete";if(l>=48&&l<=57||l>=65&&l<=90)return String.fromCharCode(l);if(l>=96&&l<=105)return"Numpad"+(l-96);if(l>=112&&l<=123)return"F"+(l-111);if(l===188)return",";if(l===189)return"-";if(l===190)return"."},i=function(l){var v=String(l);if(v==="Ctrl+F5"||v==="Ctrl+R"){location.reload();return}if(v!=="Ctrl+F"&&!(l.event.defaultPrevented||l.isModifierKey()||k.includes(l.code))){v==="F5"&&(l.event.preventDefault(),l.event.returnValue=!1);var b=p(l.code);if(b){var N=V[b];if(N)return y.debug("macro",N),Byond.command(N);if(l.isDown()&&!S[b]){S[b]=!0;var h='KeyDown "'+b+'"';return y.debug(h),Byond.command(h)}if(l.isUp()&&S[b]){S[b]=!1;var C='KeyUp "'+b+'"';return y.debug(C),Byond.command(C)}}}},c=r.acquireHotKey=function(){function m(l){k.push(l)}return m}(),f=r.releaseHotKey=function(){function m(l){var v=k.indexOf(l);v>=0&&k.splice(v,1)}return m}(),u=r.releaseHeldKeys=function(){function m(){for(var l=0,v=Object.keys(S);l=75?c="green":i.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:i.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,i.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(f,u){return(0,e.createComponentVNode)(2,t.Box,{children:f},u)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.wireless?"check":"times",content:i.wireless?"Enabled":"Disabled",color:i.wireless?"green":"red",onClick:function(){function f(){return p("wireless")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.radio?"check":"times",content:i.radio?"Enabled":"Disabled",color:i.radio?"green":"red",onClick:function(){function f(){return p("radio")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:i.flushing||i.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function f(){return p("wipe")}return f}()})})]})})})]})})})}return y}()},39454:function(I,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AIFixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(i.stat===2||i.stat===null)&&(c=!1);var f=null;i.integrity>=75?f="green":i.integrity>=25?f="yellow":f="red";var u=!0;return i.integrity>=100&&i.stat!==2&&(u=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:f,value:i.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(d,m){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d},m)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.wireless?"times":"check",content:i.wireless?"Disabled":"Enabled",color:i.wireless?"red":"green",onClick:function(){function d(){return p("wireless")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.radio?"times":"check",content:i.radio?"Disabled":"Enabled",color:i.radio?"red":"green",onClick:function(){function d(){return p("radio")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!u||i.active,content:!u||i.active?"Already Repaired":"Repair",onClick:function(){function d(){return p("fix")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:i.active?"Reconstruction in progress.":""})]})})]})})})}return y}()},88422:function(I,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(195),y=r.APC=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),V={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"}},k={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},S=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.locked&&!d.siliconUser,l=d.normallyLocked,v=V[d.externalPower]||V[0],b=V[d.chargingStatus]||V[0],N=d.powerChannels||[],h=k[d.malfStatus]||k[0],C=d.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,s.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.isOperating?"power-off":"times",content:d.isOperating?"On":"Off",selected:d.isOperating&&!m,color:d.isOperating?"":"bad",disabled:m,onClick:function(){function g(){return u("breaker")}return g}()}),children:["[ ",v.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:b.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.chargeMode?"sync":"times",content:d.chargeMode?"Auto":"Off",selected:d.chargeMode,disabled:m,onClick:function(){function g(){return u("charge")}return g}()}),children:["[ ",b.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[N.map(function(g){var x=g.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:g.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:g.status>=2?"good":"bad",children:g.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!m&&(g.status===1||g.status===3),disabled:m,onClick:function(){function B(){return u("channel",x.auto)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!m&&g.status===2,disabled:m,onClick:function(){function B(){return u("channel",x.on)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!m&&g.status===0,disabled:m,onClick:function(){function B(){return u("channel",x.off)}return B}()})],4),children:[g.powerLoad," W"]},g.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[d.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!d.siliconUser&&(0,e.createFragment)([!!d.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:h.icon,content:h.content,color:"bad",onClick:function(){function g(){return u(h.action)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function g(){return u("overload")}return g}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:d.coverLocked?"lock":"unlock",content:d.coverLocked?"Engaged":"Disengaged",disabled:m,onClick:function(){function g(){return u("cover")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:d.nightshiftLights?"Enabled":"Disabled",onClick:function(){function g(){return u("toggle_nightshift")}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting Fallback",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:d.emergencyLights?"Engaged":"Disengaged",disabled:m,onClick:function(){function g(){return u("emergency_lighting")}return g}()})})]})})],4)}},99660:function(I,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ATM=function(){function f(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.view_screen,N=v.authenticated_account,h=v.ticks_left_locked_down,C=v.linked_db,g;if(h>0)g=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!C)g=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(N)switch(b){case 1:g=(0,e.createComponentVNode)(2,V);break;case 2:g=(0,e.createComponentVNode)(2,k);break;case 3:g=(0,e.createComponentVNode)(2,i);break;default:g=(0,e.createComponentVNode)(2,S)}else g=(0,e.createComponentVNode)(2,p);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Section,{children:g})]})})}return f}(),y=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.machine_id,N=v.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"eject",onClick:function(){function h(){return l("insert_card")}return h}()})})})]})},V=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:b===0,onClick:function(){function N(){return l("change_security_level",{new_security_level:0})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:b===1,onClick:function(){function N(){return l("change_security_level",{new_security_level:1})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Card and Account Pin",icon:"unlock",selected:b===2,onClick:function(){function N(){return l("change_security_level",{new_security_level:2})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number, pin and card are required to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=(0,a.useLocalState)(d,"targetAccNumber",0),N=b[0],h=b[1],C=(0,a.useLocalState)(d,"fundsAmount",0),g=C[0],x=C[1],B=(0,a.useLocalState)(d,"purpose",0),L=B[0],w=B[1],A=v.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function T(E,O){return h(O)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,O){return x(O)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function T(E,O){return w(O)}return T}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function T(){return l("transfer",{target_acc_number:N,funds_amount:g,purpose:L})}return T}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=(0,a.useLocalState)(d,"fundsAmount",0),N=b[0],h=b[1],C=v.owner_name,g=v.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+C,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function x(){return l("logout")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",g]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(B,L){return h(L)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function x(){return l("withdrawal",{funds_amount:N})}return x}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function x(){return l("view_screen",{view_screen:1})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function x(){return l("view_screen",{view_screen:2})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function x(){return l("view_screen",{view_screen:3})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function x(){return l("balance_statement")}return x}()})})]})],4)},p=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=(0,a.useLocalState)(d,"accountID",null),N=b[0],h=b[1],C=(0,a.useLocalState)(d,"accountPin",null),g=C[0],x=C[1],B=v.machine_id,L=v.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,T){return h(T)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,T){return x(T)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function w(){return l("attempt_auth",{account_num:N,account_pin:g})}return w}()})})]})})},i=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),b.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:N.is_deposit?"green":"red",children:["$",N.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.target_name})]},N)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function b(){return l("view_screen",{view_screen:0})}return b}()})}},86423:function(I,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(36352),y=n(98595),V=n(321),k=n(5485),S=r.AccountsUplinkTerminal=function(){function d(m,l){var v=(0,t.useBackend)(l),b=v.act,N=v.data,h=N.loginState,C=N.currentPage,g;if(h.logged_in)C===1?g=(0,e.createComponentVNode)(2,p):C===2?g=(0,e.createComponentVNode)(2,f):C===3&&(g=(0,e.createComponentVNode)(2,u));else return(0,e.createComponentVNode)(2,y.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,k.LoginScreen)})})});return(0,e.createComponentVNode)(2,y.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:g})]})})})}return d}(),p=function(m,l){var v=(0,t.useBackend)(l),b=v.act,N=v.data,h=N.accounts,C=(0,t.useLocalState)(l,"searchText",""),g=C[0],x=C[1],B=(0,t.useLocalState)(l,"sortId","owner_name"),L=B[0],w=B[1],A=(0,t.useLocalState)(l,"sortOrder",!0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,i,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,i,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,i,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,i,{id:"money",children:"Account Balance"})]}),h.filter((0,a.createSearch)(g,function(O){return O.owner_name+"|"+O.account_number+"|"+O.suspended+"|"+O.money})).sort(function(O,P){var R=T?1:-1;return O[L].localeCompare(P[L])*R}).map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+O.suspended,onClick:function(){function P(){return b("view_account_detail",{index:O.account_index})}return P}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",O.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.money})]},O.account_number)})]})})})]})},i=function(m,l){var v=(0,t.useLocalState)(l,"sortId","name"),b=v[0],N=v[1],h=(0,t.useLocalState)(l,"sortOrder",!0),C=h[0],g=h[1],x=m.id,B=m.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:b!==x&&"transparent",width:"100%",onClick:function(){function L(){b===x?g(!C):(N(x),g(!0))}return L}(),children:[B,b===x&&(0,e.createComponentVNode)(2,o.Icon,{name:C?"sort-up":"sort-down",ml:"0.25rem;"})]})})},c=function(m,l){var v=(0,t.useBackend)(l),b=v.act,N=v.data,h=N.is_printing,C=(0,t.useLocalState)(l,"searchText",""),g=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function B(){return b("create_new_account")}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"print",content:"Print Account List",disabled:h,ml:"0.25rem",onClick:function(){function B(){return b("print_records")}return B}()})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function B(L,w){return x(w)}return B}()})})]})},f=function(m,l){var v=(0,t.useBackend)(l),b=v.act,N=v.data,h=N.account_number,C=N.owner_name,g=N.money,x=N.suspended,B=N.transactions;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+h+" / "+C,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function L(){return b("back")}return L}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",h]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:C}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:g}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:x?"red":"green",children:[x?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:x?"Unsuspend":"Suspend",icon:x?"unlock":"lock",onClick:function(){function L(){return b("toggle_suspension")}return L}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:L.is_deposit?"green":"red",children:["$",L.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.target_name})]},L)})]})})})]})},u=function(m,l){var v=(0,t.useBackend)(l),b=v.act,N=v.data,h=(0,t.useLocalState)(l,"accName",""),C=h[0],g=h[1],x=(0,t.useLocalState)(l,"accDeposit",""),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function w(){return b("back")}return w}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function w(A,T){return g(T)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function w(A,T){return L(T)}return w}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function w(){return b("finalise_create_account",{holder_name:C,starting_funds:B})}return w}()})]})}},79571:function(I,r,n){"use strict";r.__esModule=!0,r.AgentCardSLSlots=r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=r.AgentCard=function(){function p(i,c){var f=(0,t.useLocalState)(c,"tabIndex",0),u=f[0],d=f[1],m=function(){function l(v){switch(v){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return(0,e.createComponentVNode)(2,V)}}return l}();return(0,e.createComponentVNode)(2,s.Window,{width:500,height:475,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===0,onClick:function(){function l(){return d(0)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===1,onClick:function(){function l(){return d(1)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"id-card"})," Appearance"]},"Appearance"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===2,onClick:function(){function l(){return d(2)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"arrow-down"})," Save/Load Card Info"]},"Save/Load Card Info")]}),m(u)]})})})}return p}(),V=r.AgentCardInfo=function(){function p(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.registered_name,l=d.sex,v=d.age,b=d.assignment,N=d.associated_account_number,h=d.blood_type,C=d.dna_hash,g=d.fingerprint_hash,x=d.photo,B=d.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Button,{content:m||"[UNSET]",onClick:function(){function L(){return u("change_name")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,o.Button,{iconRight:!1,content:l||"[UNSET]",onClick:function(){function L(){return u("change_sex")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,o.Button,{content:v||"[UNSET]",onClick:function(){function L(){return u("change_age")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,o.Button,{content:b||"[UNSET]",onClick:function(){function L(){return u("change_occupation")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,o.Button,{content:g||"[UNSET]",onClick:function(){function L(){return u("change_fingerprints")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,o.Button,{content:h||"[UNSET]",onClick:function(){function L(){return u("change_blood_type")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,o.Button,{content:C||"[UNSET]",onClick:function(){function L(){return u("change_dna_hash")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"[UNSET]",onClick:function(){function L(){return u("change_money_account")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,o.Button,{content:x?"Update":"[UNSET]",onClick:function(){function L(){return u("change_photo")}return L}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Card Settings",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,o.Button,{content:"Delete Card Info",onClick:function(){function L(){return u("delete_info")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,o.Button,{content:"Reset Access",onClick:function(){function L(){return u("clear_access")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,o.Button,{content:B?"Untrackable":"Trackable",onClick:function(){function L(){return u("change_ai_tracking")}return L}()})})]})})],4)}return p}(),k=r.AgentCardAppearances=function(){function p(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.appearances;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Card Appearance",children:m.map(function(l){return(0,e.createComponentVNode)(2,o.ImageButton,{tooltip:l,vertical:!0,asset:!0,style:{margin:"1px"},image:l,imageAsset:"id_card64x64",onclick:function(){function v(){return u("change_appearance_new",{new_appearance:l})}return v}()},l)})})}return p}(),S=r.AgentCardSLSlots=function(){function p(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.saved_info;return(0,e.createComponentVNode)(2,o.Section,{title:"Save/Load Manager",style:{"line-height":"25px"},children:(0,e.createComponentVNode)(2,o.LabeledList,{children:m.map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.registered_name?l.registered_name+", "+l.assignment:"Slot "+l.id,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Clear",onClick:function(){function v(){return u("clear_slot",{slot:l.id})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Save",onClick:function(){function v(){return u("save_slot",{slot:l.id})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Load",disabled:!l.registered_name,onClick:function(){function v(){return u("load_slot",{slot:l.id})}return v}()})],4)},l.id)})})})}return p}()},56793:function(I,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},y=r.AiAirlock=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=s[c.power.main]||s[0],u=s[c.power.backup]||s[0],d=s[c.shock]||s[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:f.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function m(){return i("disrupt-main")}return m}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function m(){return i("disrupt-backup")}return m}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:d.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function m(){return i("shock-restore")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function m(){return i("shock-temp")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function m(){return i("shock-perm")}return m}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function m(){return i("idscan-toggle")}return m}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function m(){return i("emergency-toggle")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function m(){return i("bolt-toggle")}return m}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function m(){return i("light-toggle")}return m}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function m(){return i("safe-toggle")}return m}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function m(){return i("speed-toggle")}return m}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function m(){return i("open-close")}return m}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return V}()},72475:function(I,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(195),y=r.AirAlarm=function(){function d(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:h?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,s.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,k),!h&&(0,e.createFragment)([(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)],4)]})})}return d}(),V=function(m){return m===0?"green":m===1?"orange":"red"},k=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.air,C=N.mode,g=N.atmos_alarm,x=N.locked,B=N.alarmActivated,L=N.rcon,w=N.target_temp,A;return h.danger.overall===0?g===0?A="Optimal":A="Caution: Atmos alert in area":h.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.pressure})," kPa",!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:C===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:C===3,icon:"exclamation-triangle",onClick:function(){function T(){return b("mode",{mode:C===3?1:3})}return T}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.oxygen/100,fractionDigits:"1",color:V(h.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.nitrogen/100,fractionDigits:"1",color:V(h.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.co2/100,fractionDigits:"1",color:V(h.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.plasma/100,fractionDigits:"1",color:V(h.danger.plasma)})}),h.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.n2o/100,fractionDigits:"1",color:V(h.danger.n2o)})}),h.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.other/100,fractionDigits:"1",color:V(h.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:w+" C",onClick:function(){function T(){return b("temperature")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:h.thermostat_state?"On":"Off",selected:h.thermostat_state,icon:"power-off",onClick:function(){function T(){return b("thermostat_state")}return T}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.overall),children:[A,!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:B?"Reset Alarm":"Activate Alarm",selected:B,onClick:function(){function T(){return b(B?"atmos_reset":"atmos_alarm")}return T}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function T(){return b("set_rcon",{rcon:1})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function T(){return b("set_rcon",{rcon:2})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function T(){return b("set_rcon",{rcon:3})}return T}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},S=function(m,l){var v=(0,a.useLocalState)(l,"tabIndex",0),b=v[0],N=v[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===0,onClick:function(){function h(){return N(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===1,onClick:function(){function h(){return N(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===2,onClick:function(){function h(){return N(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===3,onClick:function(){function h(){return N(3)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},p=function(m,l){var v=(0,a.useLocalState)(l,"tabIndex",0),b=v[0],N=v[1];switch(b){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,f);case 3:return(0,e.createComponentVNode)(2,u);default:return"WE SHOULDN'T BE HERE!"}},i=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.vents;return h.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:C.power?"On":"Off",selected:C.power,icon:"power-off",onClick:function(){function g(){return b("command",{cmd:"power",val:C.power===1?0:1,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:C.direction==="release"?"Blowing":"Siphoning",icon:C.direction==="release"?"sign-out-alt":"sign-in-alt",onClick:function(){function g(){return b("command",{cmd:"direction",val:C.direction==="release"?0:1,id_tag:C.id_tag})}return g}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:C.checks===1,onClick:function(){function g(){return b("command",{cmd:"checks",val:1,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:C.checks===2,onClick:function(){function g(){return b("command",{cmd:"checks",val:2,id_tag:C.id_tag})}return g}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function g(){return b("command",{cmd:"set_external_pressure",id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function g(){return b("command",{cmd:"set_external_pressure",val:101.325,id_tag:C.id_tag})}return g}()})]})]})},C.name)})},c=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.scrubbers;return h.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:C.power?"On":"Off",selected:C.power,icon:"power-off",onClick:function(){function g(){return b("command",{cmd:"power",val:C.power===1?0:1,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:C.scrubbing?"Scrubbing":"Siphoning",icon:C.scrubbing?"filter":"sign-in-alt",onClick:function(){function g(){return b("command",{cmd:"scrubbing",val:C.scrubbing===0?1:0,id_tag:C.id_tag})}return g}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:C.widenet?"Extended":"Normal",selected:C.widenet,icon:"expand-arrows-alt",onClick:function(){function g(){return b("command",{cmd:"widenet",val:C.widenet===0?1:0,id_tag:C.id_tag})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:C.filter_co2,onClick:function(){function g(){return b("command",{cmd:"co2_scrub",val:C.filter_co2===0?1:0,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:C.filter_toxins,onClick:function(){function g(){return b("command",{cmd:"tox_scrub",val:C.filter_toxins===0?1:0,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:C.filter_n2o,onClick:function(){function g(){return b("command",{cmd:"n2o_scrub",val:C.filter_n2o===0?1:0,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:C.filter_o2,onClick:function(){function g(){return b("command",{cmd:"o2_scrub",val:C.filter_o2===0?1:0,id_tag:C.id_tag})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:C.filter_n2,onClick:function(){function g(){return b("command",{cmd:"n2_scrub",val:C.filter_n2===0?1:0,id_tag:C.id_tag})}return g}()})]})]})},C.name)})},f=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.modes,C=N.presets,g=N.emagged,x=N.mode,B=N.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:h.map(function(L){return(!L.emagonly||L.emagonly&&!!g)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===x,onClick:function(){function w(){return b("mode",{mode:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:C.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function w(){return b("preset",{preset:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},u=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),h.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.name}),C.settings.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:g.selected===-1?"Off":g.selected,onClick:function(){function x(){return b("command",{cmd:"set_threshold",env:g.env,var:g.val})}return x}()})},g.val)})]},C.name)})]})})}},12333:function(I,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AirlockAccessController=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.exterior_status,f=i.interior_status,u=i.processing,d,m;return c==="open"?d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:u,onClick:function(){function l(){return p("force_ext")}return l}()}):d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:u,onClick:function(){function l(){return p("cycle_ext_door")}return l}()}),f==="open"?m=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:u,color:f==="open"?"red":u?"yellow":null,onClick:function(){function l(){return p("force_int")}return l}()}):m=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:u,onClick:function(){function l(){return p("cycle_int_door")}return l}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:f==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[d,m]})})]})})}return y}()},28736:function(I,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49148),y=1,V=2,k=4,S=8,p=r.AirlockElectronics=function(){function f(u,d){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})})}return f}(),i=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:b&k?"selected":null,onClick:function(){function N(){return l("unrestricted_access",{unres_dir:k})}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:b&V?"selected":null,onClick:function(){function N(){return l("unrestricted_access",{unres_dir:V})}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:b&S?"selected":null,onClick:function(){function N(){return l("unrestricted_access",{unres_dir:S})}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:b&y?"selected":null,onClick:function(){function N(){return l("unrestricted_access",{unres_dir:y})}return N}()})})]})]})})},c=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.selected_accesses,N=v.one_access,h=v.regions;return(0,e.createComponentVNode)(2,s.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:N,content:"One",onClick:function(){function C(){return l("set_one_access",{access:"one"})}return C}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!N,content:"All",onClick:function(){function C(){return l("set_one_access",{access:"all"})}return C}()})],4),accesses:h,selectedList:b,accessMod:function(){function C(g){return l("set",{access:g})}return C}(),grantAll:function(){function C(){return l("grant_all")}return C}(),denyAll:function(){function C(){return l("clear_all")}return C}(),grantDep:function(){function C(g){return l("grant_region",{region:g})}return C}(),denyDep:function(){function C(g){return l("deny_region",{region:g})}return C}()})}},47365:function(I,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),s=n(36036),y=n(98595),V=-1,k=1,S=r.AlertModal=function(){function c(f,u){var d=(0,t.useBackend)(u),m=d.act,l=d.data,v=l.autofocus,b=l.buttons,N=b===void 0?[]:b,h=l.large_buttons,C=l.message,g=C===void 0?"":C,x=l.timeout,B=l.title,L=(0,t.useLocalState)(u,"selected",0),w=L[0],A=L[1],T=110+(g.length>30?Math.ceil(g.length/4):0)+(g.length&&h?5:0),E=325+(N.length>2?100:0),O=function(){function P(R){w===0&&R===V?A(N.length-1):w===N.length-1&&R===k?A(0):A(w+R)}return P}();return(0,e.createComponentVNode)(2,y.Window,{title:B,height:T,width:E,children:[!!x&&(0,e.createComponentVNode)(2,a.Loader,{value:x}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function P(R){var F=window.event?R.which:R.keyCode;F===o.KEY_SPACE||F===o.KEY_ENTER?m("choose",{choice:N[w]}):F===o.KEY_ESCAPE?m("cancel"):F===o.KEY_LEFT?(R.preventDefault(),O(V)):(F===o.KEY_TAB||F===o.KEY_RIGHT)&&(R.preventDefault(),O(k))}return P}(),children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,s.Box,{color:"label",overflow:"hidden",children:g})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:[!!v&&(0,e.createComponentVNode)(2,s.Autofocus),(0,e.createComponentVNode)(2,p,{selected:w})]})]})})})]})}return c}(),p=function(f,u){var d=(0,t.useBackend)(u),m=d.data,l=m.buttons,v=l===void 0?[]:l,b=m.large_buttons,N=m.swapped_buttons,h=f.selected;return(0,e.createComponentVNode)(2,s.Flex,{fill:!0,align:"center",direction:N?"row":"row-reverse",justify:"space-around",wrap:!0,children:v==null?void 0:v.map(function(C,g){return b&&v.length<3?(0,e.createComponentVNode)(2,s.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{button:C,id:g.toString(),selected:h===g})},g):(0,e.createComponentVNode)(2,s.Flex.Item,{grow:b?1:0,children:(0,e.createComponentVNode)(2,i,{button:C,id:g.toString(),selected:h===g})},g)})})},i=function(f,u){var d=(0,t.useBackend)(u),m=d.act,l=d.data,v=l.large_buttons,b=f.button,N=f.selected,h=b.length>7?"100%":7;return(0,e.createComponentVNode)(2,s.Button,{mx:v?1:0,pt:v?.33:0,content:b,fluid:!!v,onClick:function(){function C(){return m("choose",{choice:b})}return C}(),selected:N,textAlign:"center",height:!!v&&2,width:!v&&h})}},71824:function(I,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AppearanceChanger=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.change_race,u=c.species,d=c.specimen,m=c.change_gender,l=c.gender,v=c.has_gender,b=c.change_eye_color,N=c.change_skin_tone,h=c.change_skin_color,C=c.change_head_accessory_color,g=c.change_hair_color,x=c.change_secondary_hair_color,B=c.change_facial_hair_color,L=c.change_secondary_facial_hair_color,w=c.change_head_marking_color,A=c.change_body_marking_color,T=c.change_tail_marking_color,E=c.change_head_accessory,O=c.head_accessory_styles,P=c.head_accessory_style,R=c.change_hair,F=c.hair_styles,j=c.hair_style,W=c.change_hair_gradient,H=c.change_facial_hair,z=c.facial_hair_styles,$=c.facial_hair_style,G=c.change_head_markings,ne=c.head_marking_styles,Q=c.head_marking_style,he=c.change_body_markings,Ve=c.body_marking_styles,Ne=c.body_marking_style,Be=c.change_tail_markings,Le=c.tail_marking_styles,Ae=c.tail_marking_style,fe=c.change_body_accessory,Z=c.body_accessory_styles,J=c.body_accessory_style,te=c.change_alt_head,ee=c.alt_head_styles,le=c.alt_head_style,ye=!1;return(b||N||h||C||g||x||B||L||w||A||T)&&(ye=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:u.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.specimen,selected:me.specimen===d,onClick:function(){function Te(){return i("race",{race:me.specimen})}return Te}()},me.specimen)})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:l==="male",onClick:function(){function me(){return i("gender",{gender:"male"})}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:l==="female",onClick:function(){function me(){return i("gender",{gender:"female"})}return me}()}),!v&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:l==="plural",onClick:function(){function me(){return i("gender",{gender:"plural"})}return me}()})]}),!!ye&&(0,e.createComponentVNode)(2,y),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:O.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.headaccessorystyle,selected:me.headaccessorystyle===P,onClick:function(){function Te(){return i("head_accessory",{head_accessory:me.headaccessorystyle})}return Te}()},me.headaccessorystyle)})}),!!R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:F.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.hairstyle,selected:me.hairstyle===j,onClick:function(){function Te(){return i("hair",{hair:me.hairstyle})}return Te}()},me.hairstyle)})}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function me(){return i("hair_gradient")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function me(){return i("hair_gradient_offset")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function me(){return i("hair_gradient_colour")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function me(){return i("hair_gradient_alpha")}return me}()})]}),!!H&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:z.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.facialhairstyle,selected:me.facialhairstyle===$,onClick:function(){function Te(){return i("facial_hair",{facial_hair:me.facialhairstyle})}return Te}()},me.facialhairstyle)})}),!!G&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:ne.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.headmarkingstyle,selected:me.headmarkingstyle===Q,onClick:function(){function Te(){return i("head_marking",{head_marking:me.headmarkingstyle})}return Te}()},me.headmarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:Ve.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.bodymarkingstyle,selected:me.bodymarkingstyle===Ne,onClick:function(){function Te(){return i("body_marking",{body_marking:me.bodymarkingstyle})}return Te}()},me.bodymarkingstyle)})}),!!Be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:Le.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.tailmarkingstyle,selected:me.tailmarkingstyle===Ae,onClick:function(){function Te(){return i("tail_marking",{tail_marking:me.tailmarkingstyle})}return Te}()},me.tailmarkingstyle)})}),!!fe&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:Z.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.bodyaccessorystyle,selected:me.bodyaccessorystyle===J,onClick:function(){function Te(){return i("body_accessory",{body_accessory:me.bodyaccessorystyle})}return Te}()},me.bodyaccessorystyle)})}),!!te&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:ee.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.altheadstyle,selected:me.altheadstyle===le,onClick:function(){function Te(){return i("alt_head",{alt_head:me.altheadstyle})}return Te}()},me.altheadstyle)})})]})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:f.map(function(u){return!!c[u.key]&&(0,e.createComponentVNode)(2,t.Button,{content:u.text,onClick:function(){function d(){return i(u.action)}return d}()},u.key)})})}},72285:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosAlertConsole=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.priority||[],f=i.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(u){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u,color:"bad",onClick:function(){function d(){return p("clear",{zone:u})}return d}()}),2,null,u)}),f.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),f.map(function(u){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u,color:"average",onClick:function(){function d(){return p("clear",{zone:u})}return d}()}),2,null,u)})],0)})})})}return y}()},65805:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),s=n(98595),y=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},V=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},k=r.AtmosControl=function(){function i(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=(0,a.useLocalState)(f,"tabIndex",0),v=l[0],b=l[1],N=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,S);case 1:return(0,e.createComponentVNode)(2,p);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,s.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:v===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),N(v)]})})})}return i}(),S=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:v.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:y(v.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function b(){return d("open_alarm",{aref:v.ref})}return b}()})})]},v.name)})]})})},p=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.alarms,v=m.stationLevelNum,b=m.stationLevelName,N=(0,a.useLocalState)(f,"zoom",1),h=N[0],C=N[1],g=(0,a.useLocalState)(f,"z_current",v[0]),x=g[0],B=g[1];return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function L(w){return C(w)}return L}(),zLevels:v,zNames:b,z_current:x,setZCurrent:B,children:l.map(function(L){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:L.x,y:L.y,z:L.z,z_current:x,zoom:h,icon:"circle",tooltip:L.name,color:V(L.danger),onClick:function(){function w(){return d("open_alarm",{aref:L.ref})}return w}()},L.ref)})})})}},87816:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosFilter=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,f=i.pressure,u=i.max_pressure,d=i.filter_type,m=i.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function l(){return p("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function l(){return p("min_pressure")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:f,onDrag:function(){function l(v,b){return p("custom_pressure",{pressure:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function l(){return p("max_pressure")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{selected:l.gas_type===d,content:l.label,onClick:function(){function v(){return p("set_filter",{filter:l.gas_type})}return v}()},l.label)})})]})})})})}return y}()},52977:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosMixer=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.on,u=c.pressure,d=c.max_pressure,m=c.node1_concentration,l=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function v(){return i("power")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:u===0,width:2.2,onClick:function(){function v(){return i("min_pressure")}return v}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:u,onDrag:function(){function v(b,N){return i("custom_pressure",{pressure:N})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:u===d,width:2.2,onClick:function(){function v(){return i("max_pressure")}return v}()})]}),(0,e.createComponentVNode)(2,y,{node_name:"Node 1",node_ref:m}),(0,e.createComponentVNode)(2,y,{node_name:"Node 2",node_ref:l})]})})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=k.node_name,u=k.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:f,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:u===0,onClick:function(){function d(){return i("set_node",{node_name:f,concentration:(u-10)/100})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:u,onChange:function(){function d(m,l){return i("set_node",{node_name:f,concentration:l/100})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:u===100,onClick:function(){function d(){return i("set_node",{node_name:f,concentration:(u+10)/100})}return d}()})]})}},11748:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosPump=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,f=i.rate,u=i.max_rate,d=i.gas_unit,m=i.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function l(){return p("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function l(){return p("min_rate")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:m,minValue:0,maxValue:u,value:f,onDrag:function(){function l(v,b){return p("custom_rate",{rate:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function l(){return p("max_rate")}return l}()})]})]})})})})}return y}()},76511:function(I,r,n){"use strict";r.__esModule=!0,r.AutoDoc=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(39473),y=r.AutoDoc=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.HasTray,u=c.TguiIcons,d=c.occupant,m=c.isHealing,l=c.fixtimer,v=c.healtimer,b=(0,a.useLocalState)(S,"ChoosePart","chest"),N=b[0],h=b[1];return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",resizable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{width:"100%",children:[(0,e.createComponentVNode)(2,s.FlexItem,{basis:"30%",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+u.human,style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+u[N],style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})]}),(0,e.createComponentVNode)(2,s.FlexItem,{basis:"70%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Info",buttons:(0,e.createFragment)([Object.keys(u).map(function(C){return C!=="human"&&(0,e.createComponentVNode)(2,t.Button,{content:C,selected:C===N,onClick:function(){function g(){return h(C)}return g}(),z:!0},C)}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:f?"Eject Tray":"Reject Tray",locked:m,onClick:function(){function C(){return i("ChangeTrayState")}return C}()})],0),children:(0,e.createComponentVNode)(2,t.Box,{children:[!!(d[N]&&d[N].extOrgan)&&d[N].extOrgan.map(function(C){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,C.name,0),(0,e.createVNode)(1,"br"),C.open?"opened":"",C.broken?"broken":"",!!C.broken&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:m,onClick:function(){function g(){return i("FixOrgan",{organ:C.name,type:"fracture"})}return g}()}),(0,e.createVNode)(1,"br")],4),C.internalBleeding?"bleeding":"",!!C.internalBleeding&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:m,onClick:function(){function g(){return i("FixOrgan",{organ:C.name,type:"bleeding"})}return g}()}),(0,e.createVNode)(1,"br")],4),(0,e.createTextVNode)("Internals:"),(0,e.createComponentVNode)(2,t.Button,{content:"Complete",style:{"margin-left":"10px"},locked:m,onClick:function(){function g(){return i("FixOrgan",{organ:C.name,type:"completeInternal"})}return g}()}),(0,e.createVNode)(1,"br"),C.dead?"dead":"",!!C.dead&&(0,e.createVNode)(1,"br"),C.germ_level?"Germ level is "+C.germ_level:"",!!C.germ_level&&(0,e.createVNode)(1,"br"),C.totalLoss?"Total damage is "+C.totalLoss:"",(0,e.createVNode)(1,"br")],0,C.name)}),!!(d[N]&&d[N].intOrgan)&&d[N].intOrgan.map(function(C){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,C.name,0),(0,e.createComponentVNode)(2,t.Button,{content:"Remove",style:{"margin-left":"1.5rem"},locked:m,onClick:function(){function g(){return i("FixOrgan",{organ:C.name,type:"remove"})}return g}()}),(0,e.createVNode)(1,"br"),C.dead?"dead":"",!!C.dead&&(0,e.createVNode)(1,"br"),C.germ_level?"Germ level is "+C.germ_level:"",!!C.germ_level&&(0,e.createVNode)(1,"br"),C.totalLoss?"Total damage is "+C.damage:"",!!C.totalLoss&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Heal",style:{"margin-left":"30px"},locked:m,onClick:function(){function g(){return i("FixOrgan",{organ:C.name,type:"damage"})}return g}()}),(0,e.createVNode)(1,"br")],4)],0,C.name)}),!!d.TotalBruteBurn&&(0,e.createFragment)([(0,e.createTextVNode)("Total external damage is "),d.TotalBruteBurn,(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Start Healing",onClick:function(){function C(){return i("HealBruteBurn")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Reattach externals",onClick:function(){function C(){return i("CompleteExternal")}return C}()})],0),(0,e.createVNode)(1,"br"),!!l&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Fixing organ: "),l],0),!!v&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Healing external damage: "),v],0)]})})})]})})})}return V}()},59179:function(I,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(25328),k=function(i,c,f,u){return i.requirements===null?!0:!(i.requirements.metal*u>c||i.requirements.glass*u>f)},S=r.Autolathe=function(){function p(i,c){var f=(0,o.useBackend)(c),u=f.act,d=f.data,m=d.total_amount,l=d.max_amount,v=d.metal_amount,b=d.glass_amount,N=d.busyname,h=d.busyamt,C=d.showhacked,g=d.buildQueue,x=d.buildQueueLen,B=d.recipes,L=d.categories,w=(0,o.useSharedState)(c,"category",0),A=w[0],T=w[1];A===0&&(A="Tools");var E=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=m.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),R=(0,o.useSharedState)(c,"search_text",""),F=R[0],j=R[1],W=(0,V.createSearch)(F,function(G){return G.name}),H="";x>0&&(H=g.map(function(G,ne){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,s.Button,{fluid:!0,icon:"times",color:"transparent",content:g[ne][0],onClick:function(){function Q(){return u("remove_from_queue",{remove_from_queue:g.indexOf(G)+1})}return Q}()},G)},ne)}));var z=(0,a.flow)([(0,t.filter)(function(G){return(G.category.indexOf(A)>-1||F)&&(d.showhacked||!G.hacked)}),F&&(0,t.filter)(W),(0,t.sortBy)(function(G){return G.name.toLowerCase()})])(B),$="Build";return F?$="Results for: '"+F+"':":A&&($="Build ("+A+")"),(0,e.createComponentVNode)(2,y.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:$,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function G(ne){return T(ne)}return G}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function G(ne,Q){return j(Q)}return G}(),mb:1}),z.map(function(G){return(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+G.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===1,disabled:!k(G,d.metal_amount,d.glass_amount,1),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:1})}return ne}(),children:(0,V.toTitleCase)(G.name)}),G.max_multiplier>=10&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===10,disabled:!k(G,d.metal_amount,d.glass_amount,10),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:10})}return ne}(),children:"10x"}),G.max_multiplier>=25&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===25,disabled:!k(G,d.metal_amount,d.glass_amount,25),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:25})}return ne}(),children:"25x"}),G.max_multiplier>25&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===G.max_multiplier,disabled:!k(G,d.metal_amount,d.glass_amount,G.max_multiplier),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:G.max_multiplier})}return ne}(),children:[G.max_multiplier,"x"]}),G.requirements&&Object.keys(G.requirements).map(function(ne){return(0,V.toTitleCase)(ne)+": "+G.requirements[ne]}).join(", ")||(0,e.createComponentVNode)(2,s.Box,{children:"No resources required."})]},G.ref)})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,s.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Glass",children:O}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Total",children:P}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Storage",children:[d.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,s.Section,{title:"Building",children:(0,e.createComponentVNode)(2,s.Box,{color:N?"green":"",children:N||"Nothing"})}),(0,e.createComponentVNode)(2,s.Section,{title:"Build Queue",height:23.7,children:[H,(0,e.createComponentVNode)(2,s.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!d.buildQueueLen,onClick:function(){function G(){return u("clear_queue")}return G}()})]})]})]})})})}return p}()},64273:function(I,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(62411),y=r.Biogenerator=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.data,d=f.config,m=u.container,l=u.processing,v=d.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Operating,{operating:l,name:v}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),V=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.biomass,l=d.container,v=d.container_curr_reagents,b=d.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:m}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),l?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:b,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+b+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.has_plants,l=d.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!m,tooltip:m?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return u("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!l,tooltip:l?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return u("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!m,tooltip:m?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return u("eject_plants")}return v}()})})]})})},S=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.biomass,l=d.product_list,v=d.container,b=(0,a.useSharedState)(c,"vendAmount",1),N=b[0],h=b[1],C=Object.entries(l).map(function(g,x){var B=Object.entries(g[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:g[0],open:!0,children:B.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*N,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:L.needs_container&&!v?(0,e.createComponentVNode)(2,t.Button,{content:"No container",disabled:!0,icon:"flask",tooltip:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438"}):(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:m0?Math.floor(A/u):0,P=f?"@?%%!\u2116@"+u:u,R=A>=u,F=d-d%5+(d%5>0?5:0);return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0420\u0430\u0437\u043B\u043E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:B}),(0,e.createComponentVNode)(2,t.ProgressBar,{color:E===0?"bad":E<100?"average":"good",value:w,maxValue:L,mt:1,mb:2,children:[E<=100?E:100," %"]}),(0,e.createComponentVNode)(2,t.Box,{children:["\u0414\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0437\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F: ",(0,e.createComponentVNode)(2,t.Box,{color:A?R?"good":"average":"bad",as:"span",children:Math.floor(A)}),(0,e.createComponentVNode)(2,t.Button,{icon:"atom",tooltip:"\u0414\u043B\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0437\u043E\u043D\u0434\u0438\u0440\u0443\u044E\u0449\u0435\u0433\u043E \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u0430 \u043D\u0443\u0436\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C "+P+" \u0434\u0430\u043D\u043D\u044B\u0445.",content:d>0?"\u041F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0430 "+F+" \u0441\u0435\u043A\u0443\u043D\u0434":"\u0417\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C ("+O+")",disabled:!R||d>0,onClick:function(){function j(){return i("probe",{rift_id:x})}return j}(),mx:2}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:T?"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D":"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",disabled:T||E<100,onClick:function(){function j(){return i("reward",{rift_id:x})}return j}(),mt:1.4})]})]})}return C}(),N=function(){function C(g){var x=g.servName,B=g.servData;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x,children:B.length?B.map(function(L,w){return(0,e.createComponentVNode)(2,t.Box,{children:[L.riftName," \u2014 ",Math.floor(L.probePoints)," ","\u0434\u0430\u043D\u043D\u044B\u0445."]},w)}):(0,e.createComponentVNode)(2,t.Box,{children:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"})})}return C}(),h=function(){function C(g){var x=g.scannerId,B=g.scannerName,L=g.scanStatus,w=g.canSwitch,A=g.switching,T=s[L],E=function(){function P(){if(T==="OFF")return[" ","silver"];if(T==="NO_RIFTS")return["\u041D\u0435\u0442 \u0440\u0430\u0437\u043B\u043E\u043C\u043E\u0432","silver"];if(T==="SOME_RIFTS")return["\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442","good"];if(T==="DANGER")return["\u041E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C! \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0441\u043A\u0430\u043D\u0435\u0440!","bad"]}return P}(),O=E();return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B,py:0,children:[A?(0,e.createComponentVNode)(2,t.Icon,{name:"circle-notch",color:"silver",spin:!0,ml:1.85,mr:1.79,my:.84}):w?(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",color:T==="OFF"?"bad":"good",onClick:function(){function P(){return i("toggle_scanner",{scanner_id:x})}return P}(),ml:1,mr:1}):(0,e.createComponentVNode)(2,t.Icon,{name:"power-off",color:T==="OFF"?"bad":"good",ml:1.85,mr:1.79,my:.84}),T!=="OFF"&&(0,e.createComponentVNode)(2,t.Box,{as:"span",color:O[1],children:O[0]})]})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:570,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m&&m.map(function(C){return b(C)}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:v&&v.map(function(C){return h(C)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0435\u0440\u0432\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l&&l.map(function(C){return N(C)})})})]})})}return V}()},27629:function(I,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49968),y=r.BluespaceTap=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.product||[],u=c.desiredLevel,d=c.inputLevel,m=c.points,l=c.totalPoints,v=c.powerUse,b=c.availablePower,N=c.maxLevel,h=c.emagged,C=c.safeLevels,g=c.nextLevelPower,x=u>d&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),d>C&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u===0,tooltip:"Set to 0",onClick:function(){function B(){return i("set",{set_level:0})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:u===0,onClick:function(){function B(){return i("set",{set_level:d})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:u===0,tooltip:"Decrease one step",onClick:function(){function B(){return i("decrease")}return B}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:u,fillValue:d,minValue:0,color:x,maxValue:N,stepPixelSize:20,step:1,onChange:function(){function B(L,w){return i("set",{set_level:w})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:u===N,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function B(){return i("increase")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u===N,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function B(){return i("set",{set_level:N})}return B}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,s.formatPower)(v)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,s.formatPower)(g)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,s.formatPower)(b)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:l})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:f.map(function(B){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:B.price>=m,onClick:function(){function L(){return i("vend",{target:B.key})}return L}(),content:B.price})},B.key)})})})})]})})]})})})}return V}()},33758:function(I,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),s=n(36036),y=n(98595),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["hasBorer","bad","Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."],["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],S=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radioactive","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],p={average:[.25,.5],bad:[.5,1/0]},i=function(x,B){for(var L=[],w=0;w0?x.filter(function(B){return!!B}).reduce(function(B,L){return(0,e.createFragment)([B,(0,e.createComponentVNode)(2,s.Box,{children:L},L)],0)},null):null},f=function(x){if(x>100){if(x<300)return"mild infection";if(x<400)return"mild infection+";if(x<500)return"mild infection++";if(x<700)return"acute infection";if(x<800)return"acute infection+";if(x<900)return"acute infection++";if(x>=900)return"septic"}return""},u=r.BodyScanner=function(){function g(x,B){var L=(0,o.useBackend)(B),w=L.data,A=w.occupied,T=w.occupant,E=T===void 0?{}:T,O=A?(0,e.createComponentVNode)(2,d,{occupant:E}):(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,y.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:O})})}return g}(),d=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,m,{occupant:B}),(0,e.createComponentVNode)(2,l,{occupant:B}),(0,e.createComponentVNode)(2,v,{occupant:B}),(0,e.createComponentVNode)(2,N,{organs:B.extOrgan}),(0,e.createComponentVNode)(2,h,{organs:B.intOrgan})]})},m=function(x,B){var L=(0,o.useBackend)(B),w=L.act,A=L.data,T=A.occupant;return(0,e.createComponentVNode)(2,s.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Button,{icon:"print",onClick:function(){function E(){return w("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,s.Button,{icon:"user-slash",onClick:function(){function E(){return w("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Name",children:T.name}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Status",color:V[T.stat][0],children:V[T.stat][1]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,s.AnimatedNumber,{value:(0,a.round)(T.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,s.AnimatedNumber,{value:(0,a.round)(T.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Implants",children:T.implant_len?(0,e.createComponentVNode)(2,s.Box,{children:T.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"None"})})]})})},l=function(x){var B=x.occupant;return B.hasBorer||B.blind||B.colourblind||B.nearsighted||B.hasVirus?(0,e.createComponentVNode)(2,s.Section,{title:"Abnormalities",children:k.map(function(L,w){if(B[L[0]])return(0,e.createComponentVNode)(2,s.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,s.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No abnormalities found."})})},v=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,s.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,s.Table,{children:i(S,function(L,w,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:!!w&&w[0]+":"})]}),(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:(0,e.createComponentVNode)(2,b,{value:B[L[1]],marginBottom:A100)&&"average"||!!B.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,s.ProgressBar,{m:-.5,min:"0",max:B.maxHealth,mt:L>0&&"0.5rem",value:B.totalLoss/B.maxHealth,ranges:p,children:(0,e.createComponentVNode)(2,s.Stack,{children:[(0,e.createComponentVNode)(2,s.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(B.totalLoss)]})}),!!B.bruteLoss&&(0,e.createComponentVNode)(2,s.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,s.Icon,{name:"bone",mr:.5}),(0,a.round)(B.bruteLoss)]})}),!!B.fireLoss&&(0,e.createComponentVNode)(2,s.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"fire",mr:.5}),(0,a.round)(B.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,s.Box,{color:"average",inline:!0,children:c([!!B.internalBleeding&&"Internal bleeding",!!B.burnWound&&"Critical tissue burns",!!B.lungRuptured&&"Ruptured lung",!!B.status.broken&&B.status.broken,f(B.germ_level),!!B.open&&"Open incision"])}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:[c([!!B.status.splinted&&(0,e.createComponentVNode)(2,s.Box,{color:"good",children:"Splinted"}),!!B.status.robotic&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Robotic"}),!!B.status.dead&&(0,e.createComponentVNode)(2,s.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(B.shrapnel.map(function(w){return w.known?w.name:"Unknown object"}))]})]})]},L)})]})})},h=function(x){return x.organs.length===0?(0,e.createComponentVNode)(2,s.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,s.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,s.Table,{children:[(0,e.createComponentVNode)(2,s.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",children:"Injuries"})]}),x.organs.map(function(B,L){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{color:!!B.dead&&"bad"||B.germ_level>100&&"average"||B.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:B.maxHealth,value:B.damage/B.maxHealth,mt:L>0&&"0.5rem",ranges:p,children:(0,a.round)(B.damage)})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,s.Box,{color:"average",inline:!0,children:c([f(B.germ_level)])}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:c([B.robotic===1&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Robotic"}),B.robotic===2&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Assisted"}),!!B.dead&&(0,e.createComponentVNode)(2,s.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},C=function(){return(0,e.createComponentVNode)(2,s.Section,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,s.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},42570:function(I,r,n){"use strict";r.__esModule=!0,r.BorgPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BorgPanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.borg||{},f=i.cell||{},u=f.charge/f.maxcharge,d=i.channels||[],m=i.modules||[],l=i.upgrades||[],v=i.ais||[],b=i.laws||[];return(0,e.createComponentVNode)(2,o.Window,{title:"Borg Panel",width:700,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:c.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function N(){return p("rename")}return N}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c.emagged?"check-square-o":"square-o",content:"Emagged",selected:c.emagged,onClick:function(){function N(){return p("toggle_emagged")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.lockdown?"check-square-o":"square-o",content:"Locked Down",selected:c.lockdown,onClick:function(){function N(){return p("toggle_lockdown")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.scrambledcodes?"check-square-o":"square-o",content:"Scrambled Codes",selected:c.scrambledcodes,onClick:function(){function N(){return p("toggle_scrambledcodes")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset Module",onClick:function(){function N(){return p("reset_module")}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge",children:[f.missing?(0,e.createVNode)(1,"span","color-bad","No cell installed",16):(0,e.createComponentVNode)(2,t.ProgressBar,{value:u,children:f.charge+" / "+f.maxcharge}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Set",onClick:function(){function N(){return p("set_charge")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Change",onClick:function(){function N(){return p("change_cell")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",content:"Remove",color:"bad",onClick:function(){function N(){return p("remove_cell")}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radio Channels",children:d.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{icon:N.installed?"check-square-o":"square-o",content:N.name,selected:N.installed,onClick:function(){function h(){return p("toggle_radio",{channel:N.name})}return h}()},N.name)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Model",children:m.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{icon:c.active_module===N.name?"check-square-o":"square-o",content:N.name+" module",selected:c.active_module===N.name,onClick:function(){function h(){return p("setmodule",{module:N.name})}return h}()},N.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upgrades",children:l.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{icon:N.installed?"check-square-o":"square-o",content:N.name,selected:N.installed,onClick:function(){function h(){return p("toggle_upgrade",{upgrade:N.type})}return h}()},N.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:v.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{icon:N.connected?"check-square-o":"square-o",content:N.name,selected:N.connected,onClick:function(){function h(){return p("slavetoai",{slavetoai:N.ref})}return h}()},N.ref)})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Laws",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Law Manager",selected:c.lawmanager,onClick:function(){function N(){return p("lawmanager")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.lawupdate?"check-square-o":"square-o",content:"Lawsync",selected:c.lawupdate,onClick:function(){function N(){return p("toggle_lawupdate")}return N}()})],4),children:b.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:N},N)})})]})})}return y}()},20464:function(I,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BotClean=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.locked,f=i.noaccess,u=i.maintpanel,d=i.on,m=i.autopatrol,l=i.canhack,v=i.emagged,b=i.remote_disabled,N=i.painame,h=i.cleanblood;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",c?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:f,onClick:function(){function C(){return p("power")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:m,content:"Auto Patrol",disabled:f,onClick:function(){function C(){return p("autopatrol")}return C}()})}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:v?"bad":"good",children:v?"DISABLED!":"Enabled"})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:v?"Restore Safties":"Hack",disabled:f,color:"bad",onClick:function(){function C(){return p("hack")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!b,content:"AI Remote Control",disabled:f,onClick:function(){function C(){return p("disableremote")}return C}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Clean Blood",disabled:f,onClick:function(){function C(){return p("blood")}return C}()})}),N&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:N,disabled:f,onClick:function(){function C(){return p("ejectpai")}return C}()})})]})})}return y}()},74439:function(I,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BotSecurity=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.locked,f=i.noaccess,u=i.maintpanel,d=i.on,m=i.autopatrol,l=i.canhack,v=i.emagged,b=i.remote_disabled,N=i.painame,h=i.check_id,C=i.check_weapons,g=i.check_warrant,x=i.arrest_mode,B=i.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",c?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:f,onClick:function(){function L(){return p("power")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:m,content:"Auto Patrol",disabled:f,onClick:function(){function L(){return p("autopatrol")}return L}()})}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:v?"bad":"good",children:v?"DISABLED!":"Enabled"})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:v?"Restore Safties":"Hack",disabled:f,color:"bad",onClick:function(){function L(){return p("hack")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!b,content:"AI Remote Control",disabled:f,onClick:function(){function L(){return p("disableremote")}return L}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Unidentifiable Persons",disabled:f,onClick:function(){function L(){return p("authid")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Unauthorized Weapons",disabled:f,onClick:function(){function L(){return p("authweapon")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Wanted Criminals",disabled:f,onClick:function(){function L(){return p("authwarrant")}return L}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:x,content:"Detain Targets Indefinitely",disabled:f,onClick:function(){function L(){return p("arrtype")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"Announce Arrests On Radio",disabled:f,onClick:function(){function L(){return p("arrdeclare")}return L}()})]}),N&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:N,disabled:f,onClick:function(){function L(){return p("ejectpai")}return L}()})})]})})}return y}()},10833:function(I,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),s=function(S,p){var i=S.cell,c=(0,o.useBackend)(p),f=c.act,u=i.cell_id,d=i.occupant,m=i.crimes,l=i.brigged_by,v=i.time_left_seconds,b=i.time_set_seconds,N=i.ref,h="";v>0&&(h+=" BrigCells__listRow--active");var C=function(){f("release",{ref:N})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:h,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:b})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:C,children:"Release"})})]})},y=function(S){var p=S.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),p.map(function(i){return(0,e.createComponentVNode)(2,s,{cell:i},i.ref)})]})},V=r.BrigCells=function(){function k(S,p){var i=(0,o.useBackend)(p),c=i.act,f=i.data,u=f.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y,{cells:u})})})})})}return k}()},45761:function(I,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BrigTimer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;i.nameText=i.occupant,i.timing&&(i.prisoner_hasrec?i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.occupant}):i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:i.occupant}));var c="pencil-alt";i.prisoner_name&&(i.prisoner_hasrec||(c="exclamation-triangle"));var f=[],u=0;for(u=0;u60||!i.isAllowed,onClick:function(){function d(){return p("start")}return d}()})})]})})]})})}return y}()},26300:function(I,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsoleListContent=r.CameraConsole=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),s=n(25328),y=n(72253),V=n(36036),k=n(98595);String.prototype.trimLongStr=function(d){return this.length>d?this.substring(0,d)+"...":this};var S=function(m,l){var v,b;if(!l)return[];var N=m.findIndex(function(h){return h.name===l.name});return[(v=m[N-1])==null?void 0:v.name,(b=m[N+1])==null?void 0:b.name]},p=function(m,l){l===void 0&&(l="");var v=(0,s.createSearch)(l,function(b){return b.name});return(0,t.flow)([(0,a.filter)(function(b){return b==null?void 0:b.name}),l&&(0,a.filter)(v),(0,a.sortBy)(function(b){return b.name})])(m)},i=r.CameraConsole=function(){function d(m,l){var v=(0,y.useLocalState)(l,"tabIndex",0),b=v[0],N=v[1],h=function(){function C(g){switch(g){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return C}();return(0,e.createComponentVNode)(2,k.Window,{width:1250,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:b===0,onClick:function(){function C(){return N(0)}return C}(),children:[(0,e.createComponentVNode)(2,V.Icon,{name:"map-marked-alt"})," Map"]},"Map"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:b===1,onClick:function(){function C(){return N(1)}return C}(),children:[(0,e.createComponentVNode)(2,V.Icon,{name:"table"})," List"]},"List")]}),h(b)]})})})}return d}(),c=r.CameraConsoleMapContent=function(){function d(m,l){var v=(0,y.useBackend)(l),b=v.act,N=v.data,h=p(N.cameras),C=(0,y.useLocalState)(l,"zoom",1),g=C[0],x=C[1],B=N.mapRef,L=N.activeCamera,w=N.stationLevelNum,A=N.stationLevelName,T=(0,y.useLocalState)(l,"z_current",w[0]),E=T[0],O=T[1],P=S(h,L),R=P[0],F=P[1];return(0,e.createComponentVNode)(2,V.Box,{height:"100%",display:"flex",children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,V.Box,{height:"100%",display:"flex",children:(0,e.createComponentVNode)(2,V.NanoMap,{onZoom:function(){function j(W){return x(W)}return j}(),zLevels:w,zNames:A,z_current:E,setZCurrent:O,children:h.map(function(j){return(0,e.createComponentVNode)(2,V.NanoMap.Marker,{x:j.x,y:j.y,z:j.z,z_current:E,zoom:g,icon:"box",tooltip:j.name,color:j.status?"blue":"red",bordered:!0,onClick:function(){function W(){return b("switch_camera",{name:j.name})}return W}()},j.ref)})})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),L&&L.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-left",disabled:!R,onClick:function(){function j(){return b("switch_camera",{name:R})}return j}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-right",disabled:!F,onClick:function(){function j(){return b("switch_camera",{name:F})}return j}()})],4),(0,e.createComponentVNode)(2,V.ByondUi,{className:"CameraConsole__map",params:{id:B,type:"map"}})],4)]})}return d}(),f=r.CameraConsoleOldContent=function(){function d(m,l){var v=(0,y.useBackend)(l),b=v.act,N=v.data,h=v.config,C=N.mapRef,g=N.activeCamera,x=(0,y.useLocalState)(l,"searchText",""),B=x[0],L=p(N.cameras,B),w=S(L,g),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,u)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),g&&g.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return b("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-right",disabled:!T,onClick:function(){function E(){return b("switch_camera",{name:T})}return E}()})],4),(0,e.createComponentVNode)(2,V.ByondUi,{className:"CameraConsole__map",params:{id:C,type:"map"}})],4)]})}return d}(),u=r.CameraConsoleListContent=function(){function d(m,l){var v=(0,y.useBackend)(l),b=v.act,N=v.data,h=(0,y.useLocalState)(l,"searchText",""),C=h[0],g=h[1],x=N.activeCamera,B=p(N.cameras,C);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function L(w,A){return g(A)}return L}()})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:B.map(function(L){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",x&&L.name===x.name&&"Button--selected"]),L.name,0,{title:L.name,onClick:function(){function w(){return b("switch_camera",{name:L.name})}return w}()},L.name)})})})]})}return d}()},52927:function(I,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(49968),y=n(98595),V=r.Canister=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,f=i.data,u=f.portConnected,d=f.tankPressure,m=f.releasePressure,l=f.defaultReleasePressure,v=f.minReleasePressure,b=f.maxReleasePressure,N=f.valveOpen,h=f.name,C=f.canLabel,g=f.colorContainer,x=f.color_index,B=f.hasHoldingTank,L=f.holdingTank,w="";x.prim&&(w=g.prim.options[x.prim].name);var A="";x.sec&&(A=g.sec.options[x.sec].name);var T="";x.ter&&(T=g.ter.options[x.ter].name);var E="";x.quart&&(E=g.quart.options[x.quart].name);var O=[],P=[],R=[],F=[],j=0;for(j=0;jh.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:h.total_positions-h.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:l.cooldown_time||!h.can_close,onClick:function(){function C(){return m("make_job_unavailable",{job:h.title})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:l.cooldown_time||!h.can_open,onClick:function(){function C(){return m("make_job_available",{job:h.title})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:l.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.priority_jobs.indexOf(h.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:h.is_priority?"Yes":"No",selected:h.is_priority,disabled:l.cooldown_time||!h.can_prioritize,onClick:function(){function C(){return m("prioritize_job",{job:h.title})}return C}()})})]},h.title)})]})})]}):N=(0,e.createComponentVNode)(2,k);break;case 2:!l.authenticated||!l.scan_name?N=(0,e.createComponentVNode)(2,k):l.modify_name?N=(0,e.createComponentVNode)(2,s.AccessList,{accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(){function h(C){return m("set",{access:C})}return h}(),grantAll:function(){function h(){return m("grant_all")}return h}(),denyAll:function(){function h(){return m("clear_all")}return h}(),grantDep:function(){function h(C){return m("grant_region",{region:C})}return h}(),denyDep:function(){function h(C){return m("deny_region",{region:C})}return h}()}):N=(0,e.createComponentVNode)(2,S);break;case 3:l.authenticated?l.records.length?N=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!l.authenticated||l.records.length===0||l.target_dept,onClick:function(){function h(){return m("wipe_all_logs")}return h}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),l.records.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.reason}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.deletedby})]},h.timestamp)})]}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!l.authenticated||l.records.length===0,onClick:function(){function h(){return m("wipe_my_logs")}return h}()})})]}):N=(0,e.createComponentVNode)(2,p):N=(0,e.createComponentVNode)(2,k);break;case 4:!l.authenticated||!l.scan_name?N=(0,e.createComponentVNode)(2,k):N=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),l.people_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:h.buttontext,disabled:!h.demotable,onClick:function(){function C(){return m("remote_demote",{remote_demote:h.name})}return C}()})})]},h.title)})]})});break;default:N=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:b}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:N})]})})})}return c}()},64083:function(I,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(25328),k=r.CargoConsole=function(){function f(u,d){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})})}return f}(),S=function(u,d){var m=(0,o.useLocalState)(d,"contentsModal",null),l=m[0],v=m[1],b=(0,o.useLocalState)(d,"contentsModalTitle",null),N=b[0],h=b[1];if(l!==null&&N!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[N,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:l.map(function(C){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",C]},C)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function C(){v(null),h(null)}return C}()})})]})},p=function(u,d){var m=(0,o.useBackend)(d),l=m.act,v=m.data,b=v.is_public,N=v.points,h=v.credits,C=v.timeleft,g=v.moving,x=v.at_station,B,L;return!g&&!x?(B="Docked off-station",L="Call Shuttle"):!g&&x?(B="Docked at the station",L="Return Shuttle"):g&&(L="In Transit...",C!==1?B="Shuttle is en route (ETA: "+C+" minutes)":B="Shuttle is en route (ETA: "+C+" minute)"),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Points Available",children:N}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Credits Available",children:h}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Shuttle Status",children:B}),b===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:L,disabled:g,onClick:function(){function w(){return l("moveShuttle")}return w}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Central Command Messages",onClick:function(){function w(){return l("showMessages")}return w}()})]})]})})})},i=function(u,d){var m=(0,o.useBackend)(d),l=m.act,v=m.data,b=v.categories,N=v.supply_packs,h=(0,o.useSharedState)(d,"category","Emergency"),C=h[0],g=h[1],x=(0,o.useSharedState)(d,"search_text",""),B=x[0],L=x[1],w=(0,o.useLocalState)(d,"contentsModal",null),A=w[0],T=w[1],E=(0,o.useLocalState)(d,"contentsModalTitle",null),O=E[0],P=E[1],R=(0,V.createSearch)(B,function(W){return W.name}),F=(0,a.flow)([(0,t.filter)(function(W){return W.cat===b.filter(function(H){return H.name===C})[0].category||B}),B&&(0,t.filter)(R),(0,t.sortBy)(function(W){return W.name.toLowerCase()})])(N),j="Crate Catalogue";return B?j="Results for '"+B+"':":C&&(j="Browsing "+C),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:j,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:b.map(function(W){return W.name}),selected:C,onSelected:function(){function W(H){return g(H)}return W}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function W(H,z){return L(z)}return W}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:F.map(function(W){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,s.Box,{color:W.has_sale?"good":"default",children:[W.name," (",W.cost?W.cost+" Points":"",W.creditsCost&&W.cost?" ":"",W.creditsCost?W.creditsCost+" Credits":"",")"]})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function H(){return l("order",{crate:W.ref,multiple:0})}return H}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function H(){return l("order",{crate:W.ref,multiple:1})}return H}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function H(){T(W.contents),P(W.name)}return H}()})]})]},W.name)})})})]})})},c=function(u,d){var m=(0,o.useBackend)(d),l=m.act,v=m.data,b=v.requests,N=v.canapprove,h=v.orders;return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:"Details",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:b.map(function(C){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",C.ordernum,": ",C.supply_type," for ",(0,e.createVNode)(1,"b",null,C.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",C.comment]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Required Techs: ",C.pack_techs]})]}),(0,e.createComponentVNode)(2,s.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!N,onClick:function(){function g(){return l("approve",{ordernum:C.ordernum})}return g}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function g(){return l("deny",{ordernum:C.ordernum})}return g}()})]})]},C.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:h.map(function(C){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",C.ordernum,": ",C.supply_type," for ",(0,e.createVNode)(1,"b",null,C.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",C.comment]})]})},C.ordernum)})})]})}},12226:function(I,r,n){"use strict";r.__esModule=!0,r.Changelog=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=n(79140),V=S(n(83331)),k=S(n(52754));function S(l){return l&&l.__esModule?l:{default:l}}function p(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return v};var l,v={},b=Object.prototype,N=b.hasOwnProperty,h=Object.defineProperty||function(fe,Z,J){fe[Z]=J.value},C=typeof Symbol=="function"?Symbol:{},g=C.iterator||"@@iterator",x=C.asyncIterator||"@@asyncIterator",B=C.toStringTag||"@@toStringTag";function L(fe,Z,J){return Object.defineProperty(fe,Z,{value:J,enumerable:!0,configurable:!0,writable:!0}),fe[Z]}try{L({},"")}catch(fe){L=function(J,te,ee){return J[te]=ee}}function w(fe,Z,J,te){var ee=Z&&Z.prototype instanceof F?Z:F,le=Object.create(ee.prototype),ye=new Le(te||[]);return h(le,"_invoke",{value:he(fe,J,ye)}),le}function A(fe,Z,J){try{return{type:"normal",arg:fe.call(Z,J)}}catch(te){return{type:"throw",arg:te}}}v.wrap=w;var T="suspendedStart",E="suspendedYield",O="executing",P="completed",R={};function F(){}function j(){}function W(){}var H={};L(H,g,function(){return this});var z=Object.getPrototypeOf,$=z&&z(z(Ae([])));$&&$!==b&&N.call($,g)&&(H=$);var G=W.prototype=F.prototype=Object.create(H);function ne(fe){["next","throw","return"].forEach(function(Z){L(fe,Z,function(J){return this._invoke(Z,J)})})}function Q(fe,Z){function J(ee,le,ye,me){var Te=A(fe[ee],fe,le);if(Te.type!=="throw"){var M=Te.arg,X=M.value;return X&&typeof X=="object"&&N.call(X,"__await")?Z.resolve(X.__await).then(function(ae){J("next",ae,ye,me)},function(ae){J("throw",ae,ye,me)}):Z.resolve(X).then(function(ae){M.value=ae,ye(M)},function(ae){return J("throw",ae,ye,me)})}me(Te.arg)}var te;h(this,"_invoke",{value:function(){function ee(le,ye){function me(){return new Z(function(Te,M){J(le,ye,Te,M)})}return te=te?te.then(me,me):me()}return ee}()})}function he(fe,Z,J){var te=T;return function(ee,le){if(te===O)throw Error("Generator is already running");if(te===P){if(ee==="throw")throw le;return{value:l,done:!0}}for(J.method=ee,J.arg=le;;){var ye=J.delegate;if(ye){var me=Ve(ye,J);if(me){if(me===R)continue;return me}}if(J.method==="next")J.sent=J._sent=J.arg;else if(J.method==="throw"){if(te===T)throw te=P,J.arg;J.dispatchException(J.arg)}else J.method==="return"&&J.abrupt("return",J.arg);te=O;var Te=A(fe,Z,J);if(Te.type==="normal"){if(te=J.done?P:E,Te.arg===R)continue;return{value:Te.arg,done:J.done}}Te.type==="throw"&&(te=P,J.method="throw",J.arg=Te.arg)}}}function Ve(fe,Z){var J=Z.method,te=fe.iterator[J];if(te===l)return Z.delegate=null,J==="throw"&&fe.iterator.return&&(Z.method="return",Z.arg=l,Ve(fe,Z),Z.method==="throw")||J!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+J+"' method")),R;var ee=A(te,fe.iterator,Z.arg);if(ee.type==="throw")return Z.method="throw",Z.arg=ee.arg,Z.delegate=null,R;var le=ee.arg;return le?le.done?(Z[fe.resultName]=le.value,Z.next=fe.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=l),Z.delegate=null,R):le:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,R)}function Ne(fe){var Z={tryLoc:fe[0]};1 in fe&&(Z.catchLoc=fe[1]),2 in fe&&(Z.finallyLoc=fe[2],Z.afterLoc=fe[3]),this.tryEntries.push(Z)}function Be(fe){var Z=fe.completion||{};Z.type="normal",delete Z.arg,fe.completion=Z}function Le(fe){this.tryEntries=[{tryLoc:"root"}],fe.forEach(Ne,this),this.reset(!0)}function Ae(fe){if(fe||fe===""){var Z=fe[g];if(Z)return Z.call(fe);if(typeof fe.next=="function")return fe;if(!isNaN(fe.length)){var J=-1,te=function(){function ee(){for(;++J=0;--ee){var le=this.tryEntries[ee],ye=le.completion;if(le.tryLoc==="root")return te("end");if(le.tryLoc<=this.prev){var me=N.call(le,"catchLoc"),Te=N.call(le,"finallyLoc");if(me&&Te){if(this.prev=0;--te){var ee=this.tryEntries[te];if(ee.tryLoc<=this.prev&&N.call(ee,"finallyLoc")&&this.prev=0;--J){var te=this.tryEntries[J];if(te.finallyLoc===Z)return this.complete(te.completion,te.afterLoc),Be(te),R}}return fe}(),catch:function(){function fe(Z){for(var J=this.tryEntries.length-1;J>=0;--J){var te=this.tryEntries[J];if(te.tryLoc===Z){var ee=te.completion;if(ee.type==="throw"){var le=ee.arg;Be(te)}return le}}throw Error("illegal catch attempt")}return fe}(),delegateYield:function(){function fe(Z,J,te){return this.delegate={iterator:Ae(Z),resultName:J,nextLoc:te},this.method==="next"&&(this.arg=l),R}return fe}()},v}function i(l,v,b,N,h,C,g){try{var x=l[C](g),B=x.value}catch(L){return void b(L)}x.done?v(B):Promise.resolve(B).then(N,h)}function c(l){return function(){var v=this,b=arguments;return new Promise(function(N,h){var C=l.apply(v,b);function g(B){i(C,N,h,g,x,"next",B)}function x(B){i(C,N,h,g,x,"throw",B)}g(void 0)})}}function f(l,v){l.prototype=Object.create(v.prototype),l.prototype.constructor=l,u(l,v)}function u(l,v){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,N){return b.__proto__=N,b},u(l,v)}var d={add:{icon:"check-circle",color:"green"},admin:{icon:"user-shield",color:"purple"},balance:{icon:"balance-scale-right",color:"yellow"},bugfix:{icon:"bug",color:"green"},code_imp:{icon:"code",color:"green"},config:{icon:"cogs",color:"purple"},del:{icon:"minus",color:"red"},expansion:{icon:"check-circle",color:"green"},experiment:{icon:"radiation",color:"yellow"},image:{icon:"image",color:"green"},imageadd:{icon:"tg-image-plus",color:"green"},imagedel:{icon:"tg-image-minus",color:"red"},qol:{icon:"hand-holding-heart",color:"green"},refactor:{icon:"tools",color:"green"},rscadd:{icon:"check-circle",color:"green"},rscdel:{icon:"times-circle",color:"red"},server:{icon:"server",color:"purple"},sound:{icon:"volume-high",color:"green"},soundadd:{icon:"tg-sound-plus",color:"green"},sounddel:{icon:"tg-sound-minus",color:"red"},spellcheck:{icon:"spell-check",color:"green"},tgs:{icon:"toolbox",color:"purple"},tweak:{icon:"wrench",color:"green"},unknown:{icon:"info-circle",color:"label"},wip:{icon:"hammer",color:"orange"}},m=r.Changelog=function(l){function v(){var N;return N=l.call(this)||this,N.getData=function(h,C){C===void 0&&(C=1);var g=(0,t.useBackend)(N.context),x=g.act,B=N,L=6;if(C>L)return N.setData("Failed to load data after "+L+" attempts");x("get_month",{date:h}),fetch((0,y.resolveAsset)(h+".yml")).then(function(){var w=c(p().mark(function(){function A(T){var E,O,P;return p().wrap(function(){function R(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,T.text();case 2:E=F.sent,O=/^Cannot find/,O.test(E)?(P=50+C*50,B.setData("Loading changelog data"+".".repeat(C+3)),setTimeout(function(){B.getData(h,C+1)},P)):B.setData(k.default.load(E,{schema:k.default.CORE_SCHEMA}));case 5:case"end":return F.stop()}}return R}(),A)}return A}()));return function(A){return w.apply(this,arguments)}}())},N.state={data:"Loading changelog data...",selectedDate:"",selectedIndex:0},N.dateChoices=[],N}f(v,l);var b=v.prototype;return b.setData=function(){function N(h){this.setState({data:h})}return N}(),b.setSelectedDate=function(){function N(h){this.setState({selectedDate:h})}return N}(),b.setSelectedIndex=function(){function N(h){this.setState({selectedIndex:h})}return N}(),b.componentDidMount=function(){function N(){var h=this,C=(0,t.useBackend)(this.context),g=C.data.dates,x=g===void 0?[]:g;x&&(x.forEach(function(B){return h.dateChoices.push((0,V.default)(B,"mmmm yyyy",!0))}),this.setSelectedDate(this.dateChoices[0]),this.getData(x[0]))}return N}(),b.render=function(){function N(){var h=this,C=this.state,g=C.data,x=C.selectedDate,B=C.selectedIndex,L=(0,t.useBackend)(this.context),w=L.data.dates,A=this.dateChoices,T=A.length>0&&(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===0,icon:"chevron-left",onClick:function(){function F(){var j=B-1;return h.setData("Loading changelog data..."),h.setSelectedIndex(j),h.setSelectedDate(A[j]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[j])}return F}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{displayText:x,options:A,onSelected:function(){function F(j){var W=A.indexOf(j);return h.setData("Loading changelog data..."),h.setSelectedIndex(W),h.setSelectedDate(j),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[W])}return F}(),selected:x,width:"150px"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===A.length-1,icon:"chevron-right",onClick:function(){function F(){var j=B+1;return h.setData("Loading changelog data..."),h.setSelectedIndex(j),h.setSelectedDate(A[j]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[j])}return F}()})})]}),E=(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createVNode)(1,"h1",null,"Paradise Station",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thanks to: ",16),(0,e.createTextVNode)("Baystation 12, /tg/station, /vg/station, NTstation, CDK Station devs, FacepunchStation, GoonStation devs, the original SpaceStation developers and Radithor for the title image. Also a thanks to anybody who has contributed who is not listed here :( Ask to be added here on irc.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Recent GitHub contributors can be found "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://github.com/ss220-space/Paradise/pulse/monthly"}),(0,e.createTextVNode)(".")],0),T]}),O=(0,e.createComponentVNode)(2,o.Section,{children:[T,(0,e.createVNode)(1,"h3",null,"GoonStation 13 Development Team",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Coders: ",16),(0,e.createTextVNode)("Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Spriters: ",16),(0,e.createTextVNode)("Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Traditional Games Space Station 13 is thankful to the GoonStation 13 Development Team for its work on the game up to the"),(0,e.createTextVNode)(" r4407 release. The changelog for changes up to r4407 can be seen "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://wiki.ss13.co/Pre-2016_Changelog#April_2010"}),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,["Except where otherwise noted, Goon Station 13 is licensed under a ",(0,e.createVNode)(1,"a",null,"Creative Commons Attribution-Noncommercial-Share Alike 3.0 License",16,{href:"https://creativecommons.org/licenses/by-nc-sa/3.0/"}),". Rights are currently extended to ",(0,e.createVNode)(1,"a",null,"SomethingAwful Goons",16,{href:"http://forums.somethingawful.com/"})," only."],0),(0,e.createVNode)(1,"h3",null,"Traditional Games Space Station 13 License",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Some icons by"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Yusuke Kamiyamane",16,{href:"http://p.yusukekamiyamane.com/"}),(0,e.createTextVNode)(". All rights reserved. Licensed under a"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Creative Commons Attribution 3.0 License",16,{href:"http://creativecommons.org/licenses/by/3.0/"}),(0,e.createTextVNode)(".")],0)]}),P=/#\d+/,R=typeof g=="object"&&Object.keys(g).length>0&&Object.entries(g).reverse().map(function(F){var j=F[0],W=F[1];return(0,e.createComponentVNode)(2,o.Section,{title:(0,V.default)(j,"d mmmm yyyy",!0),children:(0,e.createComponentVNode)(2,o.Box,{ml:3,children:Object.entries(W).map(function(H){var z=H[0],$=H[1];return(0,e.createFragment)([(0,e.createVNode)(1,"h4",null,[z,(0,e.createTextVNode)(" changed:")],0),(0,e.createComponentVNode)(2,o.Box,{ml:3,children:(0,e.createComponentVNode)(2,o.Table,{children:$.map(function(G){var ne=Object.keys(G)[0],Q=G[ne],he=Q.match(P),Ve=(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)(["Changelog__Cell","Changelog__Cell--Icon"]),children:(0,e.createComponentVNode)(2,o.Icon,{color:d[ne]?d[ne].color:d.unknown.color,name:d[ne]?d[ne].icon:d.unknown.icon})});return he!==null&&(0,e.createComponentVNode)(2,o.Table.Row,{children:[Ve,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:(0,e.createVNode)(1,"a",null,[" ",Q.charAt(0).toUpperCase()+Q.slice(1)," "],0,{href:"https://github.com/ss220-space/Paradise/pull/"+he[0].substring(1)})})]},ne+Q)||(0,e.createComponentVNode)(2,o.Table.Row,{children:[Ve,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:Q})]},ne+Q)})})})],4,z)})})},j)});return(0,e.createComponentVNode)(2,s.Window,{title:"Changelog",width:675,height:650,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:[E,R,typeof g=="string"&&(0,e.createVNode)(1,"p",null,g,0),O]})})}return N}(),v}(e.Component)},36108:function(I,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),s=n(98595),y=[1,5,10,20,30,50,100],V=[1,5,10],k=r.ChemDispenser=function(){function c(f,u){var d=(0,a.useBackend)(u),m=d.act,l=d.data,v=l.chemicals;return(0,e.createComponentVNode)(2,s.Window,{width:460,height:400+v.length*8,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i)]})})})}return c}(),S=function(f,u){var d=(0,a.useBackend)(u),m=d.act,l=d.data,v=l.amount,b=l.energy,N=l.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b,minValue:0,maxValue:N,ranges:{good:[N*.5,1/0],average:[N*.25,N*.5],bad:[-1/0,N*.25]},children:[b," / ",N," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:y.map(function(h,C){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:v===h,content:h,onClick:function(){function g(){return m("amount",{amount:h})}return g}()})},C)})})})]})})})},p=function(f,u){for(var d=(0,a.useBackend)(u),m=d.act,l=d.data,v=l.chemicals,b=v===void 0?[]:v,N=[],h=0;h<(b.length+1)%3;h++)N.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[b.map(function(C,g){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:C.title,style:{"margin-left":"2px"},onClick:function(){function x(){return m("dispense",{reagent:C.id})}return x}()},g)}),N.map(function(C,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},g)})]})})},i=function(f,u){var d=(0,a.useBackend)(u),m=d.act,l=d.data,v=l.isBeakerLoaded,b=l.beakerCurrentVolume,N=l.beakerMaxVolume,h=l.beakerContents,C=h===void 0?[]:h;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:l.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!v&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[b," / ",N," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function g(){return m("ejectBeaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:v,beakerContents:C,buttons:function(){function g(x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function B(){return m("remove",{reagent:x.id,amount:-1})}return B}()}),V.map(function(B,L){return(0,e.createComponentVNode)(2,t.Button,{content:B,onClick:function(){function w(){return m("remove",{reagent:x.id,amount:B})}return w}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function B(){return m("remove",{reagent:x.id,amount:x.volume})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Floor",tooltip:"Set to "+Math.trunc(x.volume),icon:"arrow-circle-down",onClick:function(){function B(){return m("remove",{reagent:x.id,amount:-2})}return B}()})],0)}return g}()})})})}},13146:function(I,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(85870),y=n(98595),V=r.ChemHeater=function(){function p(i,c){return(0,e.createComponentVNode)(2,y.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),k=function(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.targetTemp,l=d.targetTempReached,v=d.autoEject,b=d.isActive,N=d.currentTemp,h=d.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:v?"toggle-on":"toggle-off",selected:v,onClick:function(){function C(){return u("toggle_autoeject")}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:b?"On":"Off",icon:"power-off",selected:b,disabled:!h,onClick:function(){function C(){return u("toggle_on")}return C}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(m,0),minValue:0,maxValue:1e3,onDrag:function(){function C(g,x){return u("adjust_temperature",{target:x})}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:l?"good":"average",children:h&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:N,format:function(){function C(g){return(0,a.toFixed)(g)+" K"}return C}()})||"\u2014"})]})})})},S=function(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.isBeakerLoaded,l=d.beakerCurrentVolume,v=d.beakerMaxVolume,b=d.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!m&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[l," / ",v," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function N(){return u("eject_beaker")}return N}()})]}),children:(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:m,beakerContents:b})})})}},56541:function(I,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(85870),y=n(3939),V=n(35840),k=["icon"];function S(B,L){if(B==null)return{};var w={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;w[A]=B[A]}return w}function p(B,L){B.prototype=Object.create(L.prototype),B.prototype.constructor=B,i(B,L)}function i(B,L){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,A){return w.__proto__=A,w},i(B,L)}var c=[1,5,10],f=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:O.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(O.desc||"").length>0?O.desc:"N/A"}),O.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:O.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:O.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function P(){return T("print",{idx:O.idx,beaker:L.args.beaker})}return P}()})]})})})})},u=function(B){return B[B.ToDisposals=0]="ToDisposals",B[B.ToBeaker=1]="ToBeaker",B}(u||{}),d=r.ChemMaster=function(){function B(L,w){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,x)]})})]})}return B}(),m=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=E.beaker,P=E.beaker_reagents,R=E.buffer_reagents,F=R.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:F?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function j(){return T("eject")}return j}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function j(){return T("eject")}return j}()}),children:O?(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:!0,beakerContents:P,buttons:function(){function j(W,H){return(0,e.createComponentVNode)(2,t.Box,{mb:H0?(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:!0,beakerContents:P,buttons:function(){function R(F,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0&&(F=R.map(function(j){var W=j.id,H=j.sprite;return(0,e.createComponentVNode)(2,C,{icon:H,color:"translucent",onClick:function(){function z(){return T("set_sprite_style",{production_mode:O,style:W})}return z}(),selected:P===W},W)})),(0,e.createComponentVNode)(2,h,{productionData:L.productionData,children:F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:F})})},x=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=E.loaded_pill_bottle_style,P=E.containerstyles,R=E.loaded_pill_bottle,F={width:"20px",height:"20px"},j=P.map(function(W){var H=W.color,z=W.name,$=O===H;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:F.width,height:F.height},onClick:function(){function G(){return T("set_container_style",{style:H})}return G}(),icon:$&&"check",iconStyle:{position:"relative","z-index":1},tooltip:z,tooltipPosition:"top",children:[!$&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:F.width,height:F.height,"background-color":H,opacity:.6,filter:"alpha(opacity=60)"}})]},H)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!R,content:"Eject Container",onClick:function(){function W(){return T("ejectp")}return W}()}),children:R?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:F.width,height:F.height},icon:"tint-slash",onClick:function(){function W(){return T("clear_container_style")}return W}(),selected:!O,tooltip:"Default",tooltipPosition:"top"}),j]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,y.modalRegisterBodyOverride)("analyze",f)},37173:function(I,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(76910),y=n(3939),V=n(98595),k=n(79140),S=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=v.args,x=g.activerecord,B=g.realname,L=g.health,w=g.unidentity,A=g.strucenzymes,T=L.split(" - ");return(0,e.createComponentVNode)(2,o.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+B,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Damage",children:T.length>1?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.oxy,inline:!0,children:T[0]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.toxin,inline:!0,children:T[2]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.brute,inline:!0,children:T[3]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.burn,inline:!0,children:T[1]})],4):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Unknown"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:w}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Disk",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!C.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){function E(){return h("disk",{option:"load"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){function E(){return h("disk",{option:"save",savetype:"ui"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){function E(){return h("disk",{option:"save",savetype:"ue"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){function E(){return h("disk",{option:"save",savetype:"se"})}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!C.podready,icon:"user-plus",content:"Clone",onClick:function(){function E(){return h("clone",{ref:x})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Delete",onClick:function(){function E(){return h("del_rec")}return E}()})]})]})})},p=r.CloningConsole=function(){function l(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.menu;return(0,y.modalRegisterBodyOverride)("view_rec",S),(0,e.createComponentVNode)(2,V.Window,{width:640,height:520,children:[(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,flexGrow:"1",children:(0,e.createComponentVNode)(2,c)})]})]})}return l}(),i=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.menu;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:g===1,icon:"home",onClick:function(){function x(){return h("menu",{num:1})}return x}(),children:"Main"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:g===2,icon:"folder",onClick:function(){function x(){return h("menu",{num:2})}return x}(),children:"Records"})]})},c=function(v,b){var N=(0,t.useBackend)(b),h=N.data,C=h.menu,g;return C===1?g=(0,e.createComponentVNode)(2,f):C===2&&(g=(0,e.createComponentVNode)(2,u)),g},f=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.loading,x=C.scantemp,B=C.occupant,L=C.locked,w=C.can_brainscan,A=C.scan_mode,T=C.numberofpods,E=C.pods,O=C.selected_pod,P=L&&!!B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Scanner",level:"2",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"Scanner Lock:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,selected:P,icon:P?"toggle-on":"toggle-off",content:P?"Engaged":"Disengaged",onClick:function(){function R(){return h("lock")}return R}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:P||!B,icon:"user-slash",content:"Eject Occupant",onClick:function(){function R(){return h("eject")}return R}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:g?(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"spinner",spin:!0}),"\xA0 Scanning..."]}):(0,e.createComponentVNode)(2,o.Box,{color:x.color,children:x.text})}),!!w&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scan Mode",children:(0,e.createComponentVNode)(2,o.Button,{icon:A?"brain":"male",content:A?"Brain":"Body",onClick:function(){function R(){return h("toggle_mode")}return R}()})})]}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B||g,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){function R(){return h("scan")}return R}()})]}),(0,e.createComponentVNode)(2,o.Section,{title:"Pods",level:"2",children:T?E.map(function(R,F){var j;return R.status==="cloning"?j=(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:R.progress/100,ranges:{good:[.75,1/0],average:[.25,.75],bad:[-1/0,.25]},mt:"0.5rem",children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,a.round)(R.progress,0)+"%"})}):R.status==="mess"?j=(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):j=(0,e.createComponentVNode)(2,o.Button,{selected:O===R.pod,icon:O===R.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){function W(){return h("selectpod",{ref:R.pod})}return W}()}),(0,e.createComponentVNode)(2,o.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,k.resolveAsset)("pod_"+R.status+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["Pod #",F+1]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:R.biomass>=150?"good":"bad",inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:R.biomass>=150?"circle":"circle-o"}),"\xA0",R.biomass]}),j]},F)}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},u=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.records;return g.length?(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:g.map(function(x,B){return(0,e.createComponentVNode)(2,o.Button,{icon:"user",mb:"0.5rem",content:x.realname,onClick:function(){function L(){return h("view_rec",{ref:x.record})}return L}()},B)})}):(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No records found."]})})},d=function(v,b){var N,h=(0,t.useBackend)(b),C=h.act,g=h.data,x=g.temp;if(!(!x||!x.text||x.text.length<=0)){var B=(N={},N[x.style]=!0,N);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.NoticeBox,Object.assign({},B,{children:[(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",children:x.text}),(0,e.createComponentVNode)(2,o.Button,{icon:"times-circle",float:"right",onClick:function(){function L(){return C("cleartemp")}return L}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"both"})]})))}},m=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.scanner,x=C.numberofpods,B=C.autoallowed,L=C.autoprocess,w=C.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Status",buttons:(0,e.createFragment)([!!B&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"Auto-processing:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:L?"Enabled":"Disabled",onClick:function(){function A(){return h("autoprocess",{on:L?0:1})}return A}()})],4),(0,e.createComponentVNode)(2,o.Button,{disabled:!w,icon:"eject",content:"Eject Disk",onClick:function(){function A(){return h("disk",{option:"eject"})}return A}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanner",children:g?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Connected"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Not connected!"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pods",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[x," connected"]}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None connected!"})})]})})}},63818:function(I,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.CommunicationsComputer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c;i.authenticated?i.is_ai?c="AI":i.authenticated===1?c="Command":i.authenticated===2?c="Captain":c="ERROR: Report This Bug!":c="Not Logged In";var f="View ("+i.messages.length+")",u=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i.is_ai&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access Level",children:"AI"})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,content:i.authenticated?"Log Out ("+c+")":"Log In",onClick:function(){function x(){return p("auth")}return x}()})})})}),!!i.esc_section&&(0,e.createComponentVNode)(2,t.Section,{title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!i.esc_status&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:i.esc_status}),!!i.esc_callable&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!i.authenticated,onClick:function(){function x(){return p("callshuttle")}return x}()})}),!!i.esc_recallable&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!i.authenticated||i.is_ai,onClick:function(){function x(){return p("cancelshuttle")}return x}()})}),!!i.lastCallLoc&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:i.lastCallLoc})]})})],0),d="Make Priority Announcement";i.msg_cooldown>0&&(d+=" ("+i.msg_cooldown+"s)");var m=i.emagged?"Message [UNKNOWN]":"Message CentComm",l="Request Authentication Codes";i.cc_cooldown>0&&(m+=" ("+i.cc_cooldown+"s)",l+=" ("+i.cc_cooldown+"s)");var v=i.str_security_level,b=i.levels.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{icon:x.icon,content:x.name,disabled:!i.authmax||x.id===i.security_level,onClick:function(){function B(){return p("newalertlevel",{level:x.id})}return B}()},x.name)}),N=i.stat_display.presets.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.label,selected:x.name===i.stat_display.type,disabled:!i.authenticated,onClick:function(){function B(){return p("setstat",{statdisp:x.name})}return B}()},x.name)}),h=i.stat_display.alerts.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.label,selected:x.alert===i.stat_display.icon,disabled:!i.authenticated,onClick:function(){function B(){return p("setstat",{statdisp:"alert",alert:x.alert})}return B}()},x.alert)}),C;if(i.current_message_title)C=(0,e.createComponentVNode)(2,t.Section,{title:i.current_message_title,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!i.authenticated,onClick:function(){function x(){return p("messagelist")}return x}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:i.current_message})});else{var g=i.messages.map(function(x){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!i.authenticated||i.current_message_title===x.title,onClick:function(){function B(){return p("messagelist",{msgid:x.id})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete",disabled:!i.authenticated,onClick:function(){function B(){return p("delmessage",{msgid:x.id})}return B}()})]},x.id)});C=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return p("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g})})}switch(i.menu_state){case 1:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u,(0,e.createComponentVNode)(2,t.Section,{title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:i.security_level_color,children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:d,disabled:!i.authmax||i.msg_cooldown>0,onClick:function(){function x(){return p("announce")}return x}()})}),!!i.emagged&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:m,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("MessageSyndicate")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!i.authmax,onClick:function(){function x(){return p("RestoreBackup")}return x}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:m,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("MessageCentcomm")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:l,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("nukerequest")}return x}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!i.authenticated,onClick:function(){function x(){return p("status")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:f,disabled:!i.authenticated,onClick:function(){function x(){return p("messagelist")}return x}()})})]})})]})});case 2:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,(0,e.createComponentVNode)(2,t.Section,{title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return p("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:i.stat_display.line_1,disabled:!i.authenticated,onClick:function(){function x(){return p("setmsg1")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:i.stat_display.line_2,disabled:!i.authenticated,onClick:function(){function x(){return p("setmsg2")}return x}()})})]})})]})});case 3:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,C]})});default:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,"ERRROR. Unknown menu_state: ",i.menu_state,"Please report this to NT Technical Support."]})})}}return y}()},21813:function(I,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(73379),y=n(98595);function V(b,N){b.prototype=Object.create(N.prototype),b.prototype.constructor=b,k(b,N)}function k(b,N){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,C){return h.__proto__=C,h},k(b,N)}var S={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},p=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],i=r.Contractor=function(){function b(N,h){var C=(0,t.useBackend)(h),g=C.act,x=C.data,B;x.unauthorized?B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function T(){}return T}()})}):x.load_animation_completed?B=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:x.page===1?(0,e.createComponentVNode)(2,u,{height:"100%"}):(0,e.createComponentVNode)(2,m,{height:"100%"})})],4):B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:p,finishedTimeout:3e3,onFinished:function(){function T(){return g("complete_load_animation")}return T}()})});var L=(0,t.useLocalState)(h,"viewingPhoto",""),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,y.Window,{width:500,height:600,theme:"syndicate",children:[w&&(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,y.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:B})})]})}return b}(),c=function(N,h){var C=(0,t.useBackend)(h),g=C.act,x=C.data,B=x.tc_available,L=x.tc_paid_out,w=x.completed_contracts,A=x.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},N,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[B," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:B<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function T(){return g("claim")}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",display:"inline-block",children:w})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},f=function(N,h){var C=(0,t.useBackend)(h),g=C.act,x=C.data,B=x.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},N,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===1,onClick:function(){function L(){return g("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===2,onClick:function(){function L(){return g("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},u=function(N,h){var C=(0,t.useBackend)(h),g=C.act,x=C.data,B=x.contracts,L=x.contract_active,w=x.can_extract,A=!!L&&B.filter(function(R){return R.status===1})[0],T=A&&A.time_left>0,E=(0,t.useLocalState)(h,"viewingPhoto",""),O=E[0],P=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!w||T,icon:"parachute-box",content:["Call Extraction",T&&(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A.time_left,format:function(){function R(F,j){return" ("+j.substr(3)+")"}return R}()})],onClick:function(){function R(){return g("extract")}return R}()})},N,{children:B.slice().sort(function(R,F){return R.status===1?-1:F.status===1?1:R.status-F.status}).map(function(R){var F;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:R.status===1&&"good",children:R.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:R.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function j(){return P("target_photo_"+R.uid+".png")}return j}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!S[R.status]&&(0,e.createComponentVNode)(2,o.Box,{color:S[R.status][1],display:"inline-block",mt:R.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:S[R.status][0]}),R.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function j(){return g("abort")}return j}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[R.fluff_message,!!R.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",R.completed_time]}),!!R.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!R.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",R.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",d(R)]}),(F=R.difficulties)==null?void 0:F.map(function(j,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:j.name+" ("+j.reward+" TC)",onClick:function(){function H(){return g("activate",{uid:R.uid,difficulty:W+1})}return H}()},W)}),!!R.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[R.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(R.objective.rewards.tc||0)+" TC",",\xA0",(R.objective.rewards.credits||0)+" Credits",")"]})]})]})},R.uid)})})))},d=function(N){if(!(!N.objective||N.status>1)){var h=N.objective.locs.user_area_id,C=N.objective.locs.user_coords,g=N.objective.locs.target_area_id,x=N.objective.locs.target_coords,B=h===g;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:B?"dot-circle-o":"arrow-alt-circle-right-o",color:B?"green":"yellow",rotation:B?null:-(0,a.rad2deg)(Math.atan2(x[1]-C[1],x[0]-C[0])),lineHeight:B?null:"0.85",size:"1.5"})})}},m=function(N,h){var C=(0,t.useBackend)(h),g=C.act,x=C.data,B=x.rep,L=x.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},N,{children:L.map(function(w){return(0,e.createComponentVNode)(2,o.Section,{title:w.name,buttons:w.refundable&&(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Refund ("+w.cost+" Rep)",onClick:function(){function A(){return g("refund",{uid:w.uid})}return A}()}),children:[w.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:B-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:w.stock===0?"bad":"good",ml:"0.5rem",children:[w.stock," in stock"]})]},w.uid)})})))},l=function(b){function N(C){var g;return g=b.call(this,C)||this,g.timer=null,g.state={currentIndex:0,currentDisplay:[]},g}V(N,b);var h=N.prototype;return h.tick=function(){function C(){var g=this.props,x=this.state;if(x.currentIndex<=g.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var B=x.currentDisplay;B.push(g.allMessages[x.currentIndex])}else clearTimeout(this.timer),setTimeout(g.onFinished,g.finishedTimeout)}return C}(),h.componentDidMount=function(){function C(){var g=this,x=this.props.linesPerSecond,B=x===void 0?2.5:x;this.timer=setInterval(function(){return g.tick()},1e3/B)}return C}(),h.componentWillUnmount=function(){function C(){clearTimeout(this.timer)}return C}(),h.render=function(){function C(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(g){return(0,e.createFragment)([g,(0,e.createVNode)(1,"br")],0,g)})})}return C}(),N}(e.Component),v=function(N,h){var C=(0,t.useLocalState)(h,"viewingPhoto",""),g=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:g}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function B(){return x("")}return B}()})]})}},54151:function(I,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ConveyorSwitch=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.slowFactor,f=i.minSpeed,u=i.maxSpeed,d=i.oneWay,m=i.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:m>0?"forward":m<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!d,onClick:function(){function l(){return p("toggleOneWay")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function l(){return p("slowFactor",{value:c-.5})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function l(){return p("slowFactor",{value:c-.1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:f,maxValue:u,step:.1,format:function(){function l(v){return v+"s."}return l}(),onChange:function(){function l(v,b){return p("slowFactor",{value:b})}return l}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function l(){return p("slowFactor",{value:c+.1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function l(){return p("slowFactor",{value:c+.5})}return l}()})," "]})]})})]})})})})}return y}()},73169:function(I,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),s=n(36036),y=n(36352),V=n(76910),k=n(98595),S=function(v,b){return v.dead?"Deceased":parseInt(v.health,10)<=b?"Critical":parseInt(v.stat,10)===1?"Unconscious":"Living"},p=function(v,b){return v.dead?"red":parseInt(v.health,10)<=b?"orange":parseInt(v.stat,10)===1?"blue":"green"},i=r.CrewMonitor=function(){function l(v,b){var N=(0,o.useBackend)(b),h=N.act,C=N.data,g=(0,o.useLocalState)(b,"tabIndex",C.IndexToggler),x=g[0],B=g[1],L=function(){function w(A){switch(A){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,d);case 2:return(0,e.createComponentVNode)(2,f);case 3:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return w}();return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,s.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,s.Tabs,{children:[C.isBS?(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===0,onClick:function(){function w(){return B(0)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Command Data View"]},"ComDataView"):null,C.isBP?(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===1,onClick:function(){function w(){return B(1)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Security Data View"]},"SecDataView"):null,(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===2,onClick:function(){function w(){return B(2)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===3,onClick:function(){function w(){return B(3)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),L(x)]})})})}return l}(),c=function(v){var b=v.crewData,N=v.context,h=(0,o.useBackend)(N),C=h.act,g=h.data,x=(0,a.sortBy)(function(T){return T.name})(b||[]),B=(0,o.useLocalState)(N,"search",""),L=B[0],w=B[1],A=(0,t.createSearch)(L,function(T){return T.name+"|"+T.assignment+"|"+T.area});return(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,s.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function T(E,O){return w(O)}return T}()}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,s.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Location"})]}),x.filter(A).map(function(T){return(0,e.createComponentVNode)(2,s.Table.Row,{bold:!!T.is_command,children:[(0,e.createComponentVNode)(2,y.TableCell,{children:[T.name," (",T.assignment,")"]}),(0,e.createComponentVNode)(2,y.TableCell,{children:[(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:p(T,g.critThreshold),children:S(T,g.critThreshold)}),T.sensor_type>=2?(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:["(",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.oxy,children:T.oxy}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.toxin,children:T.tox}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.burn,children:T.fire}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.brute,children:T.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,y.TableCell,{children:T.sensor_type===3?g.isAI?(0,e.createComponentVNode)(2,s.Button,{fluid:!0,icon:"location-arrow",content:T.area+" ("+T.x+", "+T.y+")",onClick:function(){function E(){return C("track",{track:T.ref})}return E}()}):T.area+" ("+T.x+", "+T.y+")":"Not Available"})]},T.ref)})]})]})},f=function(v,b){var N=(0,o.useBackend)(b),h=N.act,C=N.data,g=C.crewmembers||[];return(0,e.createComponentVNode)(2,c,{crewData:g,context:b})},u=function(v,b){var N=(0,o.useBackend)(b),h=N.act,C=N.data,g=C.crewmembers.filter(function(x){return x.is_command})||[];return(0,e.createComponentVNode)(2,c,{crewData:g,context:b})},d=function(v,b){var N=(0,o.useBackend)(b),h=N.act,C=N.data,g=C.crewmembers.filter(function(x){return x.is_security})||[];return(0,e.createComponentVNode)(2,c,{crewData:g,context:b})},m=function(v,b){var N=(0,o.useBackend)(b),h=N.act,C=N.data,g=C.stationLevelNum,x=C.stationLevelName,B=(0,o.useLocalState)(b,"zoom",1),L=B[0],w=B[1],A=(0,o.useLocalState)(b,"z_current",g[0]),T=A[0],E=A[1],O=function(j){return j.is_command&&C.isBS||j.is_security&&C.isBP?"square":"circle"},P=function(j){return j.is_command&&C.isBS||j.is_security&&C.isBP?10:6},R=function(j,W){return j.is_command&&C.isBS||j.is_security&&C.isBP?j.dead?"red":parseInt(j.health,10)<=W?"orange":parseInt(j.stat,10)===1?"blue":"violet":p(j,W)};return(0,e.createComponentVNode)(2,s.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,s.NanoMap,{onZoom:function(){function F(j){return w(j)}return F}(),zLevels:g,zNames:x,z_current:T,setZCurrent:E,children:C.crewmembers.filter(function(F){return F.sensor_type===3}).map(function(F){return(0,e.createComponentVNode)(2,s.NanoMap.Marker,{x:F.x,y:F.y,z:F.z,z_current:T,zoom:L,icon:O(F),size:P(F),tooltip:F.name+" ("+F.assignment+")",color:R(F,C.critThreshold),onClick:function(){function j(){C.isAI&&h("track",{track:F.ref})}return j}()},F.ref)})})})}},63987:function(I,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(41260),t=n(72253),o=n(36036),s=n(98595),y=[{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:"\u0420\u0430\u043D\u044B",type:"bruteLoss"},{label:"\u041E\u0436\u043E\u0433\u0438",type:"fireLoss"}],V=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0422\u0420\u0423\u041F"]],k=r.Cryo=function(){function i(c,f){return(0,e.createComponentVNode)(2,s.Window,{width:520,height:490,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return i}(),S=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.isOperating,v=m.hasOccupant,b=m.occupant,N=b===void 0?[]:b,h=m.cellTemperature,C=m.cellTemperatureStatus,g=m.isBeakerLoaded,x=m.auto_eject_healthy,B=m.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:2,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!v,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C"}),children:v?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:N.name||"\u0418\u043C\u044F \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:N.health,max:N.maxHealth,value:N.health/N.maxHealth,color:N.health>0?"good":"average",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(N.health)})})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",color:V[N.stat][0],children:V[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(N.bodyTemperature)})," ","K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),y.map(function(L){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:N[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(N[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,o.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u0438\u043E\u043A\u0430\u043F\u0441\u0443\u043B\u0430",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!g,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C"}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0438\u0442\u0430\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",onClick:function(){function L(){return d(l?"switchOff":"switchOn")}return L}(),selected:l,children:l?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:C,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:h})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,onClick:function(){function L(){return d(x?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:x?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u043C\u0451\u0440\u0442\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:B?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})})]})})})]})},p=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.isBeakerLoaded,v=m.beakerLabel,b=m.beakerVolume;return l?(0,e.createFragment)([v?"\xAB"+v+"\xBB":(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0430"}),(0,e.createComponentVNode)(2,o.Box,{color:!b&&"bad",children:b?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:b,format:function(){function N(h){var C=Math.round(h),g=(0,a.declensionRu)(C,"\u041E\u0441\u0442\u0430\u043B\u0430\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u0438\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C"),x=(0,a.declensionRu)(C,"\u0435\u0434\u0438\u043D\u0438\u0446\u0430","\u0435\u0434\u0438\u043D\u0438\u0446\u044B","\u0435\u0434\u0438\u043D\u0438\u0446");return g+" "+C+" "+x}return N}()}):"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430"})],0):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430"})}},86099:function(I,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(25328),y=r.CryopodConsole=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.data,u=f.account_name,d=f.allow_items;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(u||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,V),!!d&&(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,a.useBackend)(i),f=c.data,u=f.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:u.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(d,m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:d.rank},m)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},k=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.frozen_items,m=function(v){var b=v.toString();return b.startsWith("the ")&&(b=b.slice(4,b.length)),(0,s.toTitleCase)(b)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:d.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m(l.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function v(){return f("one_item",{item:l.uid})}return v}()})},l)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function l(){return f("all_items")}return l}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},12692:function(I,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(3939),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],k=[5,10,20,30,50],S=r.DNAModifier=function(){function h(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.irradiating,A=L.dnaBlockSize,T=L.occupant;g.dnaBlockSize=A,g.isDNAInvalid=!T.isViableSubject||!T.uniqueIdentity||!T.structuralEnzymes;var E;return w&&(E=(0,e.createComponentVNode)(2,b,{duration:w})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,s.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i)})]})})]})}return h}(),p=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.locked,A=L.hasOccupant,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:w,icon:w?"toggle-on":"toggle-off",content:w?"Engaged":"Disengaged",onClick:function(){function E(){return B("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||w,icon:"user-slash",content:"Eject",onClick:function(){function E(){return B("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:T.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:T.minHealth,max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:y[T.stat][0],children:y[T.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),g.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:T.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},i=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.selectedMenuKey,A=L.hasOccupant,T=L.occupant;if(A){if(g.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return w==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)],4):w==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)],4):w==="buffer"?E=(0,e.createComponentVNode)(2,d):w==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,v)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:V.map(function(O,P){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:O[2],selected:w===O[0],onClick:function(){function R(){return B("selectMenuKey",{key:O[0]})}return R}(),children:O[1]},P)})}),E]})},c=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.selectedUIBlock,A=L.selectedUISubBlock,T=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,N,{dnaString:E.uniqueIdentity,selectedBlock:w,selectedSubblock:A,blockSize:g.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:T,format:function(){function O(P){return P.toString(16).toUpperCase()}return O}(),ml:"0",onChange:function(){function O(P,R){return B("changeUITarget",{value:R})}return O}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function O(){return B("pulseUIRadiation")}return O}()})]})},f=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.selectedSEBlock,A=L.selectedSESubBlock,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,N,{dnaString:T.structuralEnzymes,selectedBlock:w,selectedSubblock:A,blockSize:g.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return B("pulseSERadiation")}return E}()})]})},u=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:w,popUpPosition:"right",ml:"0",onChange:function(){function T(E,O){return B("radiationIntensity",{value:O})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function T(E,O){return B("radiationDuration",{value:O})}return T}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function T(){return B("pulseRadiation")}return T}()})]})},d=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.buffers,A=w.map(function(T,E){return(0,e.createComponentVNode)(2,m,{id:E+1,name:"Buffer "+(E+1),buffer:T},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,l)})]})},m=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=C.id,A=C.name,T=C.buffer,E=L.isInjectorReady,O=A+(T.data?" - "+T.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:O,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T.data,icon:"trash",content:"Clear",onClick:function(){function P(){return B("bufferOption",{option:"clear",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data,icon:"pen",content:"Rename",onClick:function(){function P(){return B("bufferOption",{option:"changeLabel",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function P(){return B("bufferOption",{option:"saveDisk",id:w})}return P}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveUI",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveUIAndUE",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveSE",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"loadDisk",id:w})}return P}()})]}),!!T.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:T.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[T.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!T.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"createInjector",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"createInjector",id:w,block:1})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"transfer",id:w})}return P}()})]})],4)]}),!T.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},l=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!w||!A.data,icon:"trash",content:"Wipe",onClick:function(){function T(){return B("wipeDisk")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function T(){return B("ejectDisk")}return T}()})],4),children:w?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},v=function(C,g){var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=L.isBeakerLoaded,A=L.beakerVolume,T=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function E(){return B("ejectBeaker")}return E}()}),children:w?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function P(){return B("injectRejuvenators",{amount:E})}return P}()},O)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return B("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:T||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},b=function(C,g){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),C.duration,(0,e.createTextVNode)(" second"),C.duration===1?"":"s"],0)})]})},N=function(C,g){for(var x=(0,a.useBackend)(g),B=x.act,L=x.data,w=C.dnaString,A=C.selectedBlock,T=C.selectedSubblock,E=C.blockSize,O=C.action,P=w.split(""),R=0,F=[],j=function(){for(var z=W/E+1,$=[],G=function(){var he=ne+1;$.push((0,e.createComponentVNode)(2,t.Button,{selected:A===z&&T===he,content:P[W+ne],mb:"0",onClick:function(){function Ve(){return B(O,{block:z,subblock:he})}return Ve}()}))},ne=0;ne0?"Yes":"No",selected:i.com>0,onClick:function(){function f(){return p("toggle_com")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.sec===f,content:f,onClick:function(){function d(){return p("set_sec",{set_sec:f})}return d}()},"sec"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.med===f,content:f,onClick:function(){function d(){return p("set_med",{set_med:f})}return d}()},"med"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.eng===f,content:f,onClick:function(){function d(){return p("set_eng",{set_eng:f})}return d}()},"eng"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Paranormal",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.par===f,content:f,onClick:function(){function d(){return p("set_par",{set_par:f})}return d}()},"par"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitor",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.jan===f,content:f,onClick:function(){function d(){return p("set_jan",{set_jan:f})}return d}()},"jan"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cyborg",children:c.map(function(f,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.cyb===f,content:f,onClick:function(){function d(){return p("set_cyb",{set_cyb:f})}return d}()},"cyb"+f)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Slots",children:(0,e.createComponentVNode)(2,t.Box,{color:i.total>i.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Send ERT",onClick:function(){function f(){return p("dispatch_ert")}return f}()})})]})})]})})}return y}()},82565:function(I,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=r.Electropack=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,c=p.data,f=c.power,u=c.code,d=c.frequency,m=c.minFrequency,l=c.maxFrequency;return(0,e.createComponentVNode)(2,s.Window,{width:360,height:150,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,onClick:function(){function v(){return i("power")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function v(){return i("reset",{reset:"freq"})}return v}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:l/10,value:d/10,format:function(){function v(b){return(0,a.toFixed)(b,1)}return v}(),width:"80px",onChange:function(){function v(b,N){return i("freq",{freq:N})}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function v(){return i("reset",{reset:"code"})}return v}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(){function v(b,N){return i("code",{code:N})}return v}()})})]})})})})}return V}()},36730:function(I,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.EvolutionMenu=function(){function k(S,p){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:574,theme:"changeling",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.evo_points,d=f.can_respec;return(0,e.createComponentVNode)(2,t.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:u}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{ml:2.5,disabled:!d,content:"Readapt",icon:"sync",onClick:function(){function m(){return c("readapt")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.evo_points,d=f.ability_list,m=f.purchased_abilities,l=f.view_mode;return(0,e.createComponentVNode)(2,t.Section,{title:"Abilities",flexGrow:"1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:l?"square-o":"check-square-o",selected:!l,content:"Compact",onClick:function(){function v(){return c("set_view_mode",{mode:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:l?"check-square-o":"square-o",selected:l,content:"Expanded",onClick:function(){function v(){return c("set_view_mode",{mode:1})}return v}()})],4),children:d.map(function(v,b){return(0,e.createComponentVNode)(2,t.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{ml:.5,color:"#dedede",children:v.name}),m.includes(v.power_path)&&(0,e.createComponentVNode)(2,t.Flex.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,t.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,t.Box,{as:"span",bold:!0,color:"#1b945c",children:v.cost})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,t.Button,{mr:.5,disabled:v.cost>u||m.includes(v.power_path),content:"Evolve",onClick:function(){function N(){return c("purchase",{power_path:v.power_path})}return N}()})})]}),!!l&&(0,e.createComponentVNode)(2,t.Flex,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:v.description+" "+v.helptext})]},b)})})}},17370:function(I,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),s=n(36036),y=n(73379),V=n(98595),k=["id","amount","lineDisplay","onClick"];function S(b,N){if(b==null)return{};var h={};for(var C in b)if({}.hasOwnProperty.call(b,C)){if(N.includes(C))continue;h[C]=b[C]}return h}var p=2e3,i={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function b(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=x.building;return(0,e.createComponentVNode)(2,V.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,V.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)}),B&&(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)})]})})]})})})}return b}(),f=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=x.materials,L=x.capacity,w=Object.values(B).reduce(function(A,T){return A+T},0);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,s.Box,{color:"label",mt:"0.25rem",children:[(w/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,l,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function T(){return g("withdraw",{id:A})}return T}()},A)})})},u=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=x.curCategory,L=x.categories,w=x.designs,A=x.syncing,T=(0,o.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=(0,t.createSearch)(E,function(F){return F.name}),R=w.filter(P);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,s.Dropdown,{className:"Exofab__dropdown",selected:B,options:L,onSelected:function(){function F(j){return g("category",{cat:j})}return F}()}),buttons:(0,e.createComponentVNode)(2,s.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,s.Button,{icon:"plus",content:"Queue all",onClick:function(){function F(){return g("queueall")}return F}()}),(0,e.createComponentVNode)(2,s.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function F(){return g("sync")}return F}()})]}),children:[(0,e.createComponentVNode)(2,s.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function F(j,W){return O(W)}return F}()}),R.map(function(F){return(0,e.createComponentVNode)(2,v,{design:F},F.id)}),R.length===0&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No designs found."})]})},d=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=x.building,L=x.buildStart,w=x.buildEnd,A=x.worldTime;return(0,e.createComponentVNode)(2,s.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,s.ProgressBar.Countdown,{start:L,current:A,end:w,children:(0,e.createComponentVNode)(2,s.Stack,{children:[(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:["Building ",B,"\xA0(",(0,e.createComponentVNode)(2,y.Countdown,{current:A,timeLeft:w-A,format:function(){function T(E,O){return O.substr(3)}return T}()}),")"]})]})})})},m=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=x.queue,L=x.processingQueue,w=Object.entries(x.queueDeficit).filter(function(T){return T[1]<0}),A=B.reduce(function(T,E){return T+E.time},0);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,s.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function T(){return g("process")}return T}()}),(0,e.createComponentVNode)(2,s.Button,{disabled:B.length===0,icon:"eraser",content:"Clear",onClick:function(){function T(){return g("unqueueall")}return T}()})]}),children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:B.length===0?(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:B.map(function(T,E){return(0,e.createComponentVNode)(2,s.Box,{color:T.notEnough&&"bad",children:[E+1,". ",T.name,E>0&&(0,e.createComponentVNode)(2,s.Button,{icon:"arrow-up",onClick:function(){function O(){return g("queueswap",{from:E+1,to:E})}return O}()}),E0&&(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,s.Divider),"Processing time:",(0,e.createComponentVNode)(2,s.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(w).length>0&&(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,s.Divider),"Lacking materials to complete:",w.map(function(T){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,l,{id:T[0],amount:-T[1],lineDisplay:!0})},T[0])})]})],0)})})},l=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=N.id,L=N.amount,w=N.lineDisplay,A=N.onClick,T=S(N,k),E=x.materials[B]||0,O=L||E;if(!(O<=0&&!(B==="metal"||B==="glass"))){var P=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",w&&"Exofab__material--line"])},T,{children:w?(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{className:(0,a.classes)(["materials32x32",B])}),(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__material--amount",color:P&&"bad",ml:0,mr:1,children:O.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,s.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,s.Box,{mt:1,className:(0,a.classes)(["materials32x32",B])})})}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__material--name",children:B}),(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__material--amount",children:[O.toLocaleString("en-US")," cm\xB3 (",Math.round(O/p*10)/10," ","sheets)"]})]})],4)})))}},v=function(N,h){var C=(0,o.useBackend)(h),g=C.act,x=C.data,B=N.design;return(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,s.Button,{disabled:B.notEnough||x.building,icon:"cog",content:B.name,onClick:function(){function L(){return g("build",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,s.Button,{icon:"plus-circle",onClick:function(){function L(){return g("queue",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__design--cost",children:Object.entries(B.cost).map(function(L){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,l,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,s.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"clock"}),B.time>0?(0,e.createFragment)([B.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},97086:function(I,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=0,y=1013,V=function(p){var i="good",c=80,f=95,u=110,d=120;return pu?i="average":p>d&&(i="bad"),i},k=r.ExternalAirlockController=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.chamber_pressure,m=u.exterior_status,l=u.interior_status,v=u.processing;return(0,e.createComponentVNode)(2,o.Window,{width:470,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:V(d),value:d,minValue:s,maxValue:y,children:[d," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:v,onClick:function(){function b(){return f("cycle_ext")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Interior",icon:"arrow-circle-right",disabled:v,onClick:function(){function b(){return f("cycle_int")}return b}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Force Exterior Door",icon:"exclamation-triangle",color:l==="open"?"red":v?"yellow":null,onClick:function(){function b(){return f("force_ext")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Force Interior Door",icon:"exclamation-triangle",color:l==="open"?"red":v?"yellow":null,onClick:function(){function b(){return f("force_int")}return b}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!v,onClick:function(){function b(){return f("abort")}return b}()})})]})]})})}return S}()},96142:function(I,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.FaxMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.scan_name?"eject":"id-card",selected:i.scan_name,content:i.scan_name?i.scan_name:"-----",tooltip:i.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return p("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,disabled:!i.scan_name&&!i.authenticated,content:i.authenticated?"Log Out":"Log In",onClick:function(){function c(){return p("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:i.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:i.paper?"eject":"paperclip",disabled:!i.authenticated&&!i.paper,content:i.paper?i.paper:"-----",onClick:function(){function c(){return p("paper")}return c}()}),!!i.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return p("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:i.destination?i.destination:"-----",disabled:!i.authenticated,onClick:function(){function c(){return p("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:i.sendError?i.sendError:"Send",disabled:!i.paper||!i.destination||!i.authenticated||i.sendError,onClick:function(){function c(){return p("send")}return c}()})})]})})]})})}return y}()},83767:function(I,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=k.image,u=k.isSelected,d=k.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+f,style:{"border-style":u&&"solid"||"none","border-width":"2px","border-color":"orange",padding:u&&"2px"||"4px"},onClick:d})},y=r.FloorPainter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.availableStyles,u=c.selectedStyle,d=c.selectedDir,m=c.directionsPreview,l=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function v(){return i("cycle_style",{offset:-1})}return v}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:f,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function v(b){return i("select_style",{style:b})}return v}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function v(){return i("cycle_style",{offset:1})}return v}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:f.map(function(v){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,s,{image:l[v],isSelected:u===v,onSelect:function(){function b(){return i("select_style",{style:v})}return b}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[v+"west",v,v+"east"].map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:b===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,s,{image:m[b],isSelected:b===d,onSelect:function(){function N(){return i("select_direction",{direction:b})}return N}()})},b)})},v)})})})})]})})})}return V}()},53424:function(I,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=function(u){return u?"("+u.join(", ")+")":"ERROR"},V=function(u,d,m){if(!(!u||!d)){if(u[2]!==d[2]||m!==1)return null;var l=Math.atan2(d[1]-u[1],d[0]-u[0]),v=Math.sqrt(Math.pow(d[1]-u[1],2)+Math.pow(d[0]-u[0],2));return{angle:(0,a.rad2deg)(l),distance:v}}},k=r.GPS=function(){function f(u,d){var m=(0,t.useBackend)(d),l=m.data,v=l.emped,b=l.active,N=l.area,h=l.position,C=l.saved;return(0,e.createComponentVNode)(2,s.Window,{width:450,height:700,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:v?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,S,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,p)}),b?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,i,{area:N,position:h})}),C&&(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,i,{title:"Saved Position",position:C})}),(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,S)],0)})})})}return f}(),S=function(u,d){var m=u.emp;return(0,e.createComponentVNode)(2,o.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:m?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),m?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},p=function(u,d){var m=(0,t.useBackend)(d),l=m.act,v=m.data,b=v.active,N=v.tag,h=v.same_z,C=(0,t.useLocalState)(d,"newTag",N),g=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function B(){return l("toggle")}return B}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:N,onEnter:function(){function B(){return l("tag",{newtag:g})}return B}(),onInput:function(){function B(L,w){return x(w)}return B}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:N===g,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function B(){return l("tag",{newtag:g})}return B}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"compress":"expand",content:h?"Local Sector":"Global",onClick:function(){function B(){return l("same_z")}return B}()})})]})})},i=function(u,d){var m=u.title,l=u.area,v=u.position;return(0,e.createComponentVNode)(2,o.Section,{title:m||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[l&&(0,e.createFragment)([l,(0,e.createVNode)(1,"br")],0),y(v)]})})},c=function(u,d){var m=(0,t.useBackend)(d),l=m.data,v=l.position,b=l.signals,N=l.upgraded;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Signals",overflow:"auto"},u,{children:(0,e.createComponentVNode)(2,o.Table,{children:b.map(function(h){return Object.assign({},h,V(v,h.position,N))}).map(function(h,C){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:C%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:h.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:h.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:h.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(h.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:h.distance>0?"arrow-right":"circle",rotation:-h.angle}),"\xA0",Math.floor(h.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:y(h.position)})]},C)})})})))}},68703:function(I,r,n){"use strict";r.__esModule=!0,r.GasAnalyzerHistory=r.GasAnalyzerContent=r.GasAnalyzer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GasAnalyzerContent=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.gasmixes,d=f.autoUpdating;return(0,e.createComponentVNode)(2,t.Section,{title:u[0].name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"unlock":"lock",onClick:function(){function m(){return c("autoscantoggle")}return m}(),tooltip:d?"Auto-Update Enabled":"Auto-Update Disabled",fluid:!0,textAlign:"center",selected:d}),children:u[0].total_moles?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Moles",children:(u[0].total_moles?u[0].total_moles:"-")+" mol"}),u[0].oxygen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:u[0].oxygen.toFixed(2)+" mol ("+(u[0].oxygen/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].nitrogen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:u[0].nitrogen.toFixed(2)+" mol ("+(u[0].nitrogen/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].carbon_dioxide?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:u[0].carbon_dioxide.toFixed(2)+" mol ("+(u[0].carbon_dioxide/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].toxins?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:u[0].toxins.toFixed(2)+" mol ("+(u[0].toxins/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].sleeping_agent?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:u[0].sleeping_agent.toFixed(2)+" mol ("+(u[0].sleeping_agent/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].agent_b?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Agent B",children:u[0].agent_b.toFixed(2)+" mol ("+(u[0].agent_b/u[0].total_moles).toFixed(2)*100+" %)"}):"",(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(u[0].total_moles?(u[0].temperature-273.15).toFixed(2):"-")+" \xB0C ("+(u[0].total_moles?u[0].temperature.toFixed(2):"-")+" K)"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Volume",children:(u[0].total_moles?u[0].volume:"-")+" L"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(u[0].total_moles?u[0].pressure.toFixed(2):"-")+" kPa"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Heat Capacity",children:u[0].heat_capacity+" / K"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Thermal Energy",children:u[0].thermal_energy})]}):(0,e.createComponentVNode)(2,t.Box,{nowrap:!0,italic:!0,mb:"10px",children:"No Gas Detected!"})},u[0])}return k}(),y=r.GasAnalyzerHistory=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.historyGasmixes,d=f.historyViewMode,m=f.historyIndex;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Scan History",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"trash",tooltip:"Clear History",onClick:function(){function l(){return c("clearhistory")}return l}(),textAlign:"center",disabled:u.length===0}),children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",children:(0,e.createComponentVNode)(2,t.Flex,{inline:!0,width:"50%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"kPa",onClick:function(){function l(){return c("modekpa")}return l}(),textAlign:"center",selected:d==="kpa"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"mol",onClick:function(){function l(){return c("modemol")}return l}(),textAlign:"center",selected:d==="mol"})})]})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(l,v){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:v+1+". "+(d==="mol"?l[0].total_moles.toFixed(2):l[0].pressure.toFixed(2)),onClick:function(){function b(){return c("input",{target:v+1})}return b}(),textAlign:"left",selected:v+1===m,fluid:!0})},l[0])})})]})}return k}(),V=r.GasAnalyzer=function(){function k(S,p){var i={float:"left",width:"67%"},c={float:"right",width:"33%"};return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{grow:!0,children:(0,e.createComponentVNode)(2,s)}),2,{style:i}),(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{width:"160px",children:(0,e.createComponentVNode)(2,y)}),2,{style:c})]})})}return k}()},27546:function(I,r,n){"use strict";r.__esModule=!0,r.GasFreezer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GasFreezer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,f=i.pressure,u=i.temperature,d=i.temperatureCelsius,m=i.min,l=i.max,v=i.target,b=i.targetCelsius,N=(u-m)/(l-m);return(0,e.createComponentVNode)(2,o.Window,{width:560,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c?"power-off":"times",content:c?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B",selected:c,onClick:function(){function h(){return p("power")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[f," \u043A\u041F\u0430"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:N,ranges:{blue:[-1/0,.5],red:[.5,1/0]},children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:[N<.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"blue",ml:1,children:[u," \xB0K (",d," \xB0C)"]}),N>=.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"red",ml:1,children:[u," \xB0K (",d," \xB0C)"]})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",justify:"end",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:(v-m)/(l-m),children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:[v," \xB0K (",b," \xB0C)"]})})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0434\u0430\u0442\u044C \u0446\u0435\u043B\u0435\u0432\u0443\u044E \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0443",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",title:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function h(){return p("temp",{temp:m})}return h}()}),(0,e.createComponentVNode)(2,t.NumberInput,{value:Math.round(v),unit:"\xB0K",minValue:Math.round(m),maxValue:Math.round(l),step:5,stepPixelSize:3,onDrag:function(){function h(C,g){return p("temp",{temp:g})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",title:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function h(){return p("temp",{temp:l})}return h}()})]})]})})})})}return y}()},89124:function(I,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(35840),o=n(36036),s=n(3939),y=n(98595),V=r.GeneModder=function(){function d(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.has_seed;return(0,e.createComponentVNode)(2,y.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,s.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),N===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})})})}return d}(),k=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Insert Gene from Disk",disabled:!h||!h.can_insert||h.is_core,icon:"arrow-circle-down",onClick:function(){function C(){return b("insert")}return C}()}),children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})},S=function(m,l){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,o.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},p=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.has_seed,C=N.seed,g=N.has_disk,x=N.disk,B,L;return h?B=(0,e.createComponentVNode)(2,o.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",(0,t.classes)(["seeds32x32",C.image]),null,1,{style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,o.Button,{content:C.name,onClick:function(){function w(){return b("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,o.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return b("variant_name")}return w}()})]}):B=(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:"None",onClick:function(){function w(){return b("eject_seed")}return w}()})}),g?L=x.name:L="None",(0,e.createComponentVNode)(2,o.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:L,onClick:function(){function w(){return b("eject_disk")}return w}()})})})]})})},i=function(m,l){var v=(0,a.useBackend)(l),b=v.act,N=v.data,h=N.disk,C=N.core_genes;return(0,e.createComponentVNode)(2,o.Collapsible,{title:"Core Genes",open:!0,children:[C.map(function(g){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(h!=null&&h.can_extract),icon:"save",onClick:function(){function x(){return b("extract",{id:g.id})}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace",disabled:!g.is_type||!h.can_insert,icon:"arrow-circle-down",onClick:function(){function x(){return b("replace",{id:g.id})}return x}()})})]},g)})," ",(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace All",disabled:!(h!=null&&h.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function g(){return b("bulk_replace_core")}return g}()})})})]},"Core Genes")},c=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.reagent_genes,h=b.has_reagent;return(0,e.createComponentVNode)(2,u,{title:"Reagent Genes",gene_set:N,do_we_show:h})},f=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.trait_genes,h=b.has_trait;return(0,e.createComponentVNode)(2,u,{title:"Trait Genes",gene_set:N,do_we_show:h})},u=function(m,l){var v=m.title,b=m.gene_set,N=m.do_we_show,h=(0,a.useBackend)(l),C=h.act,g=h.data,x=g.disk;return(0,e.createComponentVNode)(2,o.Collapsible,{title:v,open:!0,children:N?b.map(function(B){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(x!=null&&x.can_extract),icon:"save",onClick:function(){function L(){return C("extract",{id:B.id})}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return C("remove",{id:B.id})}return L}()})})]},B)}):(0,e.createComponentVNode)(2,o.Stack.Item,{children:"No Genes Detected"})},v)}},73053:function(I,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),s=r.GenericCrewManifest=function(){function y(V,k){return(0,e.createComponentVNode)(2,t.Window,{width:588,height:510,theme:"nologo",children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return y}()},42914:function(I,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GhostHudPanel=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.security,f=i.medical,u=i.diagnostic,d=i.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,y,{label:"Medical",type:"medical",is_active:f}),(0,e.createComponentVNode)(2,y,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,y,{label:"Diagnostic",type:"diagnostic",is_active:u}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,y,{label:"Antag HUD",is_active:d,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=k.label,f=k.type,u=f===void 0?null:f,d=k.is_active,m=k.act_on,l=m===void 0?"hud_on":m,v=k.act_off,b=v===void 0?"hud_off":v;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:d?"On":"Off",icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){function N(){return i(d?b:l,{hud_type:u})}return N}()})})]})}},25825:function(I,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GlandDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.glands,f=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:u.color,content:u.amount||"0",disabled:!u.amount,onClick:function(){function d(){return p("dispense",{gland_id:u.id})}return d}()},u.id)})})})})}return y}()},67834:function(I,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=[1,5,10,20,30,50],y=null,V=r.HandheldChemDispenser=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),k=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.amount,l=d.energy,v=d.maxEnergy,b=d.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[l," / ",v," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:s.map(function(N,h){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:m===N,content:N,onClick:function(){function C(){return u("amount",{amount:N})}return C}()})},h)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function N(){return u("mode",{mode:"dispense"})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function N(){return u("mode",{mode:"remove"})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function N(){return u("mode",{mode:"isolate"})}return N}()})]})})]})})})},S=function(i,c){for(var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.chemicals,l=m===void 0?[]:m,v=d.current_reagent,b=[],N=0;N<(l.length+1)%3;N++)b.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"Drink Selector":"Chemical Selector",children:[l.map(function(h,C){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:v===h.id,content:h.title,style:{"margin-left":"2px"},onClick:function(){function g(){return u("dispense",{reagent:h.id})}return g}()},C)}),b.map(function(h,C){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},C)})]})})}},75926:function(I,r,n){"use strict";r.__esModule=!0,r.ImplantPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ImplantPad=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.implant,f=i.contains_case,u=i.tag,d=(0,a.useLocalState)(k,"newTag",u),m=d[0],l=d[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!f,onClick:function(){function v(){return p("eject_case")}return v}()})}),children:c&&f?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function v(){return p("tag",{newtag:m})}return v}(),onInput:function(){function v(b,N){return l(N)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===m,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function v(){return p("tag",{newtag:m})}return v}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):f?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return y}()},25471:function(I,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=r.Instrument=function(){function i(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data;return(0,e.createComponentVNode)(2,s.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})]})}return i}(),V=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.help;if(l)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function v(){return d("help")}return v}()})]})})})},k=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.lines,v=m.playing,b=m.repeat,N=m.maxRepeats,h=m.tempo,C=m.minTempo,g=m.maxTempo,x=m.tickLag,B=m.volume,L=m.minVolume,w=m.maxVolume,A=m.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function T(){return d("help")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function T(){return d("newsong")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function T(){return d("import")}return T}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:v,disabled:l.length===0||b<0,icon:"play",content:"Play",onClick:function(){function T(){return d("play")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v,icon:"stop",content:"Stop",onClick:function(){function T(){return d("stop")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:N,value:b,stepPixelSize:59,onChange:function(){function T(E,O){return d("repeat",{new:O})}return T}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:h>=g,content:"-",as:"span",mr:"0.5rem",onClick:function(){function T(){return d("tempo",{new:h+x})}return T}()}),(0,a.round)(600/h)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:h<=C,content:"+",as:"span",ml:"0.5rem",onClick:function(){function T(){return d("tempo",{new:h-x})}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:w,value:B,stepPixelSize:6,onDrag:function(){function T(E,O){return d("setvolume",{new:O})}return T}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,S)]})},S=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.allowedInstrumentNames,v=m.instrumentLoaded,b=m.instrument,N=m.canNoteShift,h=m.noteShift,C=m.noteShiftMin,g=m.noteShiftMax,x=m.sustainMode,B=m.sustainLinearDuration,L=m.sustainExponentialDropoff,w=m.legacy,A=m.sustainDropoffVolume,T=m.sustainHeldNote,E,O;return x===1?(E="Linear",O=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:B,step:.5,stepPixelSize:85,format:function(){function P(R){return(0,a.round)(R*100)/100+" seconds"}return P}(),onChange:function(){function P(R,F){return d("setlinearfalloff",{new:F/10})}return P}()})):x===2&&(E="Exponential",O=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function P(R){return(0,a.round)(R*1e3)/1e3+"% per decisecond"}return P}(),onChange:function(){function P(R,F){return d("setexpfalloff",{new:F})}return P}()})),l.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:w?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:v?(0,e.createComponentVNode)(2,o.Dropdown,{options:l,selected:b,width:"50%",onSelected:function(){function P(R){return d("switchinstrument",{name:R})}return P}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!w&&N)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:C,maxValue:g,value:h,stepPixelSize:2,format:function(){function P(R){return R+" keys / "+(0,a.round)(R/12*100)/100+" octaves"}return P}(),onChange:function(){function P(R,F){return d("setnoteshift",{new:F})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function P(R){return d("setsustainmode",{new:R})}return P}()}),O]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function P(R,F){return d("setdropoffvolume",{new:F})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Yes":"No",onClick:function(){function P(){return d("togglesustainhold")}return P}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function P(){return d("reset")}return P}()})]})})})},p=function(c,f){var u=(0,t.useBackend)(f),d=u.act,m=u.data,l=m.playing,v=m.lines,b=m.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!b||l,icon:"plus",content:"Add Line",onClick:function(){function N(){return d("newline",{line:v.length+1})}return N}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!b,icon:b?"chevron-up":"chevron-down",onClick:function(){function N(){return d("edit")}return N}()})],4),children:!!b&&(v.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:v.map(function(N,h){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"pen",onClick:function(){function C(){return d("modifyline",{line:h+1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"trash",onClick:function(){function C(){return d("deleteline",{line:h+1})}return C}()})],4),children:N},h)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},65021:function(I,r,n){"use strict";r.__esModule=!0,r.ItemPixelShift=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ItemPixelShift=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.pixel_x,f=i.pixel_y,u=i.max_shift_x,d=i.max_shift_y,m=i.random_drop_on;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"X-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",title:"Shifts item leftwards.",disabled:c===-u,onClick:function(){function l(){return p("shift_left")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:c,minValue:-u,maxValue:u,onChange:function(){function l(v,b){return p("custom_x",{pixel_x:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",title:"Shifts item rightwards.",disabled:c===u,onClick:function(){function l(){return p("shift_right")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Y-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-up",title:"Shifts item upwards.",disabled:f===d,onClick:function(){function l(){return p("shift_up")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:f,minValue:-d,maxValue:d,onChange:function(){function l(v,b){return p("custom_y",{pixel_y:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",title:"Shifts item downwards.",disabled:f===-d,onClick:function(){function l(){return p("shift_down")}return l}()})]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"brown",icon:"arrow-up",content:"Move to Top",title:"Tries to place an item on top of the others.",onClick:function(){function l(){return p("move_to_top")}return l}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:m?"good":"bad",icon:"power-off",content:m?"Shift Enabled":"Shift Disabled",title:"Enables/Disables item pixel randomization on any drops.",onClick:function(){function l(){return p("toggle")}return l}()})})]})})]})})}return y}()},13618:function(I,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),s=n(98595),y=n(19203),V=n(51057),k=function(u){return u.key!==a.KEY.Alt&&u.key!==a.KEY.Control&&u.key!==a.KEY.Shift&&u.key!==a.KEY.Escape},S={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},p=3,i=function(u){var d="";if(u.altKey&&(d+="Alt"),u.ctrlKey&&(d+="Ctrl"),u.shiftKey&&!(u.keyCode>=48&&u.keyCode<=57)&&(d+="Shift"),u.location===p&&(d+="Numpad"),k(u))if(u.shiftKey&&u.keyCode>=48&&u.keyCode<=57){var m=u.keyCode-48;d+="Shift"+m}else{var l=u.key.toUpperCase();d+=S[l]||l}return d},c=r.KeyComboModal=function(){function f(u,d){var m=(0,t.useBackend)(d),l=m.act,v=m.data,b=v.init_value,N=v.large_buttons,h=v.message,C=h===void 0?"":h,g=v.title,x=v.timeout,B=(0,t.useLocalState)(d,"input",b),L=B[0],w=B[1],A=(0,t.useLocalState)(d,"binding",!0),T=A[0],E=A[1],O=function(){function F(j){if(!T){j.key===a.KEY.Enter&&l("submit",{entry:L}),j.key===a.KEY.Escape&&l("cancel");return}if(j.preventDefault(),k(j)){P(i(j)),E(!1);return}else if(j.key===a.KEY.Escape){P(b),E(!1);return}}return F}(),P=function(){function F(j){j!==L&&w(j)}return F}(),R=130+(C.length>30?Math.ceil(C.length/3):0)+(C.length&&N?5:0);return(0,e.createComponentVNode)(2,s.Window,{title:g,width:240,height:R,children:[x&&(0,e.createComponentVNode)(2,V.Loader,{value:x}),(0,e.createComponentVNode)(2,s.Window.Content,{onKeyDown:function(){function F(j){O(j)}return F}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:C})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:T,content:T&&T!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function F(){P(b),E(!0)}return F}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,y.InputButtons,{input:L})})]})]})})]})}return f}()},35655:function(I,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.KeycardAuth=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!i.swiping&&!i.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!i.redAvailable,onClick:function(){function u(){return p("triggerevent",{triggerevent:"Red Alert"})}return u}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Emergency Response Team"})}return u}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return u}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return u}(),content:"Revoke"})]})]})})]})});var f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!i.hasSwiped&&!i.ertreason&&i.event==="Emergency Response Team"?f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):i.hasConfirm?f=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):i.isRemote?f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):i.hasSwiped&&(f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,i.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:i.ertreason?"":"red",icon:i.ertreason?"check":"pencil-alt",content:i.ertreason?i.ertreason:"-----",disabled:i.busy,onClick:function(){function u(){return p("ert")}return u}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:i.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:i.busy||i.hasConfirm,onClick:function(){function u(){return p("reset")}return u}()}),children:f})]})})}return y}()},40951:function(I,r,n){"use strict";r.__esModule=!0,r.LaborClaimConsole=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=r.LaborClaimConsole=function(){function S(p,i){return(0,e.createComponentVNode)(2,s.Window,{width:315,height:470,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,t.useBackend)(i),f=c.act,u=c.data,d=u.can_go_home,m=u.emagged,l=u.id_inserted,v=u.id_name,b=u.id_points,N=u.id_goal,h=u.unclaimed_points,C=m?0:1,g=m?"ERR0R":d?"Completed!":"Insufficient";return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:!!l&&(0,e.createComponentVNode)(2,o.ProgressBar,{value:b/N,ranges:{good:[C,1/0],bad:[-1/0,C]},children:b+" / "+N+" "+g})||!!m&&"ERR0R COMPLETED?!@"||"No ID inserted"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Move shuttle",disabled:!d,onClick:function(){function x(){return f("move_shuttle")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed points",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Claim points ("+h+")",disabled:!l||!h,onClick:function(){function x(){return f("claim_points")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:l?v:"-------------",onClick:function(){function x(){return f("handle_id")}return x}()})})]})})},k=function(p,i){var c=(0,t.useBackend)(i),f=c.data,u=f.ores;return(0,e.createComponentVNode)(2,o.Section,{title:"Material values",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Material"}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:"Value"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,a.toTitleCase)(d.ore)}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:d.value})})]},d.ore)})]})})}},9525:function(I,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.LawManager=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.isAdmin,m=u.isSlaved,l=u.isMalf,v=u.isAIMalf,b=u.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:l?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(d&&m)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",m,"."]}),!!(l||v)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:b===0,onClick:function(){function N(){return f("set_view",{set_view:0})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:b===1,onClick:function(){function N(){return f("set_view",{set_view:1})}return N}()})]}),b===0&&(0,e.createComponentVNode)(2,y),b===1&&(0,e.createComponentVNode)(2,V)]})})}return S}(),y=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.has_zeroth_laws,m=u.zeroth_laws,l=u.has_ion_laws,v=u.ion_laws,b=u.ion_law_nr,N=u.has_inherent_laws,h=u.inherent_laws,C=u.has_supplied_laws,g=u.supplied_laws,x=u.channels,B=u.channel,L=u.isMalf,w=u.isAdmin,A=u.zeroth_law,T=u.ion_law,E=u.inherent_law,O=u.supplied_law,P=u.supplied_law_position;return(0,e.createFragment)([!!d&&(0,e.createComponentVNode)(2,k,{title:"ERR_NULL_VALUE",laws:m,ctx:i}),!!l&&(0,e.createComponentVNode)(2,k,{title:b,laws:v,ctx:i}),!!N&&(0,e.createComponentVNode)(2,k,{title:"Inherent",laws:h,ctx:i}),!!C&&(0,e.createComponentVNode)(2,k,{title:"Supplied",laws:g,ctx:i}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:x.map(function(R){return(0,e.createComponentVNode)(2,t.Button,{content:R.channel,selected:R.channel===B,onClick:function(){function F(){return f("law_channel",{law_channel:R.channel})}return F}()},R.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function R(){return f("state_laws")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function R(){return f("notify_laws")}return R}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(w&&!d)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return f("change_zeroth_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return f("add_zeroth_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:T}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return f("change_ion_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return f("add_ion_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return f("change_inherent_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return f("add_inherent_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:O}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:P,onClick:function(){function R(){return f("change_supplied_law_position")}return R}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return f("change_supplied_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return f("add_supplied_law")}return R}()})]})]})]})})],0)},V=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name+" - "+m.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function l(){return f("transfer_laws",{transfer_laws:m.ref})}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.laws.has_ion_laws>0&&m.laws.ion_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),m.laws.has_zeroth_laws>0&&m.laws.zeroth_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),m.laws.has_inherent_laws>0&&m.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),m.laws.has_supplied_laws>0&&m.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)})]})},m.name)})})},k=function(p,i){var c=(0,a.useBackend)(p.ctx),f=c.act,u=c.data,d=u.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:p.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),p.laws.map(function(m){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:m.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:m.state?"Yes":"No",selected:m.state,onClick:function(){function l(){return f("state_law",{ref:m.ref,state_law:m.state?0:1})}return l}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function l(){return f("edit_law",{edit_law:m.ref})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function l(){return f("delete_law",{delete_law:m.ref})}return l}()})],4)]})]},m.law)})]})})}},90447:function(I,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),s=n(72253),y=n(92986),V=n(98595),k=r.ListInputModal=function(){function i(c,f){var u=(0,s.useBackend)(f),d=u.act,m=u.data,l=m.items,v=l===void 0?[]:l,b=m.message,N=b===void 0?"":b,h=m.init_value,C=m.timeout,g=m.title,x=(0,s.useLocalState)(f,"selected",v.indexOf(h)),B=x[0],L=x[1],w=(0,s.useLocalState)(f,"searchBarVisible",v.length>10),A=w[0],T=w[1],E=(0,s.useLocalState)(f,"searchQuery",""),O=E[0],P=E[1],R=function(){function ne(Q){var he=$.length-1;if(Q===y.KEY_DOWN)if(B===null||B===he){var Ve;L(0),(Ve=document.getElementById("0"))==null||Ve.scrollIntoView()}else{var Ne;L(B+1),(Ne=document.getElementById((B+1).toString()))==null||Ne.scrollIntoView()}else if(Q===y.KEY_UP)if(B===null||B===0){var Be;L(he),(Be=document.getElementById(he.toString()))==null||Be.scrollIntoView()}else{var Le;L(B-1),(Le=document.getElementById((B-1).toString()))==null||Le.scrollIntoView()}}return ne}(),F=function(){function ne(Q){Q!==B&&L(Q)}return ne}(),j=function(){function ne(){T(!1),T(!0)}return ne}(),W=function(){function ne(Q){var he=String.fromCharCode(Q),Ve=v.find(function(Le){return Le==null?void 0:Le.toLowerCase().startsWith(he==null?void 0:he.toLowerCase())});if(Ve){var Ne,Be=v.indexOf(Ve);L(Be),(Ne=document.getElementById(Be.toString()))==null||Ne.scrollIntoView()}}return ne}(),H=function(){function ne(Q){var he;Q!==O&&(P(Q),L(0),(he=document.getElementById("0"))==null||he.scrollIntoView())}return ne}(),z=function(){function ne(){T(!A),P("")}return ne}(),$=v.filter(function(ne){return ne==null?void 0:ne.toLowerCase().includes(O.toLowerCase())}),G=330+Math.ceil(N.length/3);return A||setTimeout(function(){var ne;return(ne=document.getElementById(B.toString()))==null?void 0:ne.focus()},1),(0,e.createComponentVNode)(2,V.Window,{title:g,width:325,height:G,children:[C&&(0,e.createComponentVNode)(2,a.Loader,{value:C}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function ne(Q){var he=window.event?Q.which:Q.keyCode;(he===y.KEY_DOWN||he===y.KEY_UP)&&(Q.preventDefault(),R(he)),he===y.KEY_ENTER&&(Q.preventDefault(),d("submit",{entry:$[B]})),!A&&he>=y.KEY_A&&he<=y.KEY_Z&&(Q.preventDefault(),W(he)),he===y.KEY_ESCAPE&&(Q.preventDefault(),d("cancel"))}return ne}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function ne(){return z()}return ne}()}),className:"ListInput__Section",fill:!0,title:N,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,S,{filteredItems:$,onClick:F,onFocusSearch:j,searchBarVisible:A,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,p,{filteredItems:$,onSearch:H,searchQuery:O,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:$[B]})})]})})})]})}return i}(),S=function(c,f){var u=(0,s.useBackend)(f),d=u.act,m=c.filteredItems,l=c.onClick,v=c.onFocusSearch,b=c.searchBarVisible,N=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:m.map(function(h,C){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:C,onClick:function(){function g(){return l(C)}return g}(),onDblClick:function(){function g(x){x.preventDefault(),d("submit",{entry:m[N]})}return g}(),onKeyDown:function(){function g(x){var B=window.event?x.which:x.keyCode;b&&B>=y.KEY_A&&B<=y.KEY_Z&&(x.preventDefault(),v())}return g}(),selected:C===N,style:{animation:"none",transition:"none"},children:h.replace(/^\w/,function(g){return g.toUpperCase()})},C)})})},p=function(c,f){var u=(0,s.useBackend)(f),d=u.act,m=c.filteredItems,l=c.onSearch,v=c.searchQuery,b=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function N(h){h.preventDefault(),d("submit",{entry:m[b]})}return N}(),onInput:function(){function N(h,C){return l(C)}return N}(),placeholder:"Search...",value:v})}},72106:function(I,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.MechBayConsole=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.recharge_port,f=c&&c.mech,u=f&&f.cell,d=f&&f.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:d?"Mech status: "+d:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function m(){return p("reconnect")}return m}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:f.health/f.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.charge/u.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.charge})," / "+u.maxcharge]})})]})})})})}return y}()},7466:function(I,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=n(25328),V=r.MechaControlConsole=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,f=i.data,u=f.beacons,d=f.stored_data;return d.length?(0,e.createComponentVNode)(2,s.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function m(){return c("clear_log")}return m}()}),children:d.map(function(m){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",m.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,y.decodeHtmlEntities)(m.message)})]},m.time)})})})}):(0,e.createComponentVNode)(2,s.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:u.length&&u.map(function(m){return(0,e.createComponentVNode)(2,o.Section,{title:m.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function l(){return c("send_message",{mt:m.uid})}return l}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function l(){return c("get_log",{mt:m.uid})}return l}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){function l(){return c("shock",{mt:m.uid})}return l}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[m.maxHealth*.75,1/0],average:[m.maxHealth*.5,m.maxHealth*.75],bad:[-1/0,m.maxHealth*.5]},value:m.health,maxValue:m.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:m.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[m.cellMaxCharge*.75,1/0],average:[m.cellMaxCharge*.5,m.cellMaxCharge*.75],bad:[-1/0,m.cellMaxCharge*.5]},value:m.cellCharge,maxValue:m.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[m.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:m.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,y.toTitleCase)(m.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:m.active||"None"}),m.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[m.cargoMax*.75,1/0],average:[m.cargoMax*.5,m.cargoMax*.75],good:[-1/0,m.cargoMax*.5]},value:m.cargoUsed,maxValue:m.cargoMax})})||null]})},m.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return k}()},79625:function(I,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(3939),y=n(98595),V=n(321),k=n(5485),S=n(22091),p={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},i={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(w,A){(0,s.modalOpen)(w,"edit",{field:A.edit,value:A.value})},f=function(w,A){var T=w.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:T.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:T.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[T.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:T.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:T.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:p[T.severity],children:T.severity})]})})})},u=r.MedicalRecords=function(){function L(w,A){var T=(0,t.useBackend)(A),E=T.data,O=E.loginState,P=E.screen;if(!O.logged_in)return(0,e.createComponentVNode)(2,y.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,d):P===3?R=(0,e.createComponentVNode)(2,m):P===4?R=(0,e.createComponentVNode)(2,l):P===5?R=(0,e.createComponentVNode)(2,h):P===6&&(R=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,y.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,s.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,B),R]})})]})}return L}(),d=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.records,R=(0,t.useLocalState)(A,"searchText",""),F=R[0],j=R[1],W=(0,t.useLocalState)(A,"sortId","name"),H=W[0],z=W[1],$=(0,t.useLocalState)(A,"sortOrder",!0),G=$[0],ne=$[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function Q(){return E("screen",{screen:3})}return Q}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function Q(he,Ve){return j(Ve)}return Q}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,g,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,g,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,g,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,g,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,g,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(F,function(Q){return Q.name+"|"+Q.id+"|"+Q.rank+"|"+Q.p_stat+"|"+Q.m_stat})).sort(function(Q,he){var Ve=G?1:-1;return Q[H].localeCompare(he[H])*Ve}).map(function(Q){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+i[Q.p_stat],onClick:function(){function he(){return E("view_record",{view_record:Q.ref})}return he}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",Q.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.m_stat})]},Q.id)})]})})})],4)},m=function(w,A){var T=(0,t.useBackend)(A),E=T.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function O(){return E("del_all")}return O}()})})]})})},l=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical,R=O.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function F(){return E("print_record")}return F}()}),children:(0,e.createComponentVNode)(2,v)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function F(){return E("new")}return F}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function F(){return E("del_r")}return F}()}),children:(0,e.createComponentVNode)(2,b)})}),(0,e.createComponentVNode)(2,N)],4)],0)},v=function(w,A){var T=(0,t.useBackend)(A),E=T.data,O=E.general;return!O||!O.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:O.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function F(){return c(A,P)}return F}()})]},R)})})}),!!O.has_photos&&O.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},b=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,F){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function j(){return c(A,R)}return j}()})]},F)})})})})},N=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,s.modalOpen)(A,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,F){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function j(){return E("del_c",{del_c:F+1})}return j}()})]},F)})})})},h=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.virus,R=(0,t.useLocalState)(A,"searchText",""),F=R[0],j=R[1],W=(0,t.useLocalState)(A,"sortId2","name"),H=W[0],z=W[1],$=(0,t.useLocalState)(A,"sortOrder2",!0),G=$[0],ne=$[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function Q(he,Ve){return j(Ve)}return Q}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,x,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,x,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,x,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(F,function(Q){return Q.name+"|"+Q.max_stages+"|"+Q.severity})).sort(function(Q,he){var Ve=G?1:-1;return Q[H].localeCompare(he[H])*Ve}).map(function(Q){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+Q.severity,onClick:function(){function he(){return E("vir",{vir:Q.D})}return he}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",Q.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:p[Q.severity],children:Q.severity})]},Q.id)})]})})})})],4)},C=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},g=function(w,A){var T=(0,t.useLocalState)(A,"sortId","name"),E=T[0],O=T[1],P=(0,t.useLocalState)(A,"sortOrder",!0),R=P[0],F=P[1],j=w.id,W=w.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==j&&"transparent",onClick:function(){function H(){E===j?F(!R):(O(j),F(!0))}return H}(),children:[W,E===j&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(w,A){var T=(0,t.useLocalState)(A,"sortId2","name"),E=T[0],O=T[1],P=(0,t.useLocalState)(A,"sortOrder2",!0),R=P[0],F=P[1],j=w.id,W=w.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==j&&"transparent",onClick:function(){function H(){E===j?F(!R):(O(j),F(!0))}return H}(),children:[W,E===j&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},B=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.screen,R=O.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function F(){E("screen",{screen:2})}return F}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function F(){E("screen",{screen:5})}return F}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===6,onClick:function(){function F(){return E("screen",{screen:6})}return F}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,s.modalRegisterBodyOverride)("virus",f)},52306:function(I,r,n){"use strict";r.__esModule=!0,r.Mimicking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Mimicking=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.slots||[];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:[c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Choose",selected:f.selected,onClick:function(){function u(){return p("Choose",{id:f.id})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",color:"bad",onClick:function(){function u(){return p("Delete",{id:f.id})}return u}()})],4),children:(0,e.createComponentVNode)(2,t.Box,{preserveWhitespace:!0,textColor:"#878787",fontSize:"14px",children:["Voice: ",f.voice]})},f.id)}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Add",onClick:function(){function f(){return p("Add")}return f}()})]})})})})}return y}()},66238:function(I,r,n){"use strict";r.__esModule=!0,r.Minesweeper=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Minesweeper=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.matrix,f=i.showMessage,u=i.tokens,d=i.uiWidth,m={1:"blue",2:"green",3:"red",4:"darkblue",5:"brown",6:"lightblue",7:"black",8:"white"};document.addEventListener("contextmenu",function(C){return C.preventDefault()});var l=function(){function C(g,x,B){g.button!==0&&g.button!==2||p("Square",{X:x,Y:B,mode:g.button===2?h[b]:b})}return C}(),v=(0,a.useLocalState)(k,"mode","bomb"),b=v[0],N=v[1],h={flag:"bomb",bomb:"flag"};return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",width:d+80,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0433\u0440\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435",textAlign:"center",fill:!0,fitted:!0,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",iconColor:"black",selected:b==="bomb",onClick:function(){function C(){return N("bomb")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"flag",iconColor:"red",selected:b==="flag",onClick:function(){function C(){return N("flag")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",onClick:function(){function C(){return p("Mode",{mode:"16x30"})}return C}()})],4),children:[(0,e.createVNode)(1,"p"),Object.keys(c).map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:Object.keys(c[C]).map(function(g){return(0,e.createComponentVNode)(2,t.Button,{m:"1px",height:"30px",width:"30px",className:c[C][g].open?"Minesweeper__open":"Minesweeper__closed",bold:!0,color:"transparent",icon:c[C][g].open?c[C][g].bomb?"bomb":"":c[C][g].flag?"flag":"",textColor:c[C][g].open?c[C][g].bomb?"black":m[c[C][g].around]:c[C][g].flag?"red":"gray",onMouseDown:function(){function x(B){return l(B,C,g)}return x}(),children:c[C][g].open&&!c[C][g].bomb&&c[C][g].around?c[C][g].around:" "},g)})},C)}),(0,e.createVNode)(1,"p"),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",className:"Minesweeper__message",children:["\u0414\u043B\u044F \u043F\u043E\u0431\u0435\u0434\u044B \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438 \u0432\u0441\u0435 \u0431\u043E\u043C\u0431\u044B, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u043F\u0443\u0441\u0442\u044B\u0435 \u043A\u043B\u0435\u0442\u043A\u0438.",(0,e.createVNode)(1,"br"),"\u0411\u0430\u043B\u0430\u043D\u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u0432: ",u,(0,e.createVNode)(1,"br"),f]})]})})})})}return y}()},21385:function(I,r,n){"use strict";r.__esModule=!0,r.MiniGamesMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.MiniGamesMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.spawners||[],f=i.thunderdome_eligible,u=i.notifications_enabled;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:f?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:f?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:f?"good":"bad",onClick:function(){function d(){return p("toggle_minigames")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:u?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:u?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:u?"good":"bad",onClick:function(){function d(){return p("toggle_notifications")}return d}()}),(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:d.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function m(){return p("jump",{ID:d.uids})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Start",onClick:function(){function m(){return p("spawn",{ID:d.uids})}return m}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:d.desc}),!!d.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:d.fluff}),!!d.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:d.important_info})]},d.name)})})]})})}return y}()},87684:function(I,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=["title","items"];function V(u,d){if(u==null)return{};var m={};for(var l in u)if({}.hasOwnProperty.call(u,l)){if(d.includes(l))continue;m[l]=u[l]}return m}var k={Alphabetical:function(){function u(d,m){return d-m}return u}(),Availability:function(){function u(d,m){return-(d.affordable-m.affordable)}return u}(),Price:function(){function u(d,m){return d.price-m.price}return u}()},S=r.MiningVendor=function(){function u(d,m){return(0,e.createComponentVNode)(2,s.Window,{width:400,height:450,children:(0,e.createComponentVNode)(2,s.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)]})})})}return u}(),p=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.has_id,h=b.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:N,children:N?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",h.name,".",(0,e.createVNode)(1,"br"),"You have ",h.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function C(){return v("logoff")}return C}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},i=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.has_id,h=b.id,C=b.items,g=(0,t.useLocalState)(m,"search",""),x=g[0],B=g[1],L=(0,t.useLocalState)(m,"sort","Alphabetical"),w=L[0],A=L[1],T=(0,t.useLocalState)(m,"descending",!1),E=T[0],O=T[1],P=(0,a.createSearch)(x,function(j){return j[0]}),R=!1,F=Object.entries(C).map(function(j,W){var H=Object.entries(j[1]).filter(P).map(function(z){return z[1].affordable=N&&h.points>=z[1].price,z[1]}).sort(k[w]);if(H.length!==0)return E&&(H=H.reverse()),R=!0,(0,e.createComponentVNode)(2,f,{title:j[0],items:H},j[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:R?F:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(d,m){var l=(0,t.useLocalState)(m,"search",""),v=l[0],b=l[1],N=(0,t.useLocalState)(m,"sort",""),h=N[0],C=N[1],g=(0,t.useLocalState)(m,"descending",!1),x=g[0],B=g[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(k),width:"100%",onSelected:function(){function L(w){return C(w)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"21px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return B(!x)}return L}()})})]})})},f=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=d.title,h=d.items,C=V(d,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:N},C,{children:h.map(function(g){return(0,e.createComponentVNode)(2,o.ImageButton,{bold:!0,asset:!0,color:"brown",imageSize:"64px",image:g.imageId,imageAsset:"mining_vendor64x64",content:g.name,children:(0,e.createComponentVNode)(2,o.ImageButton.Item,{bold:!0,horizontal:!0,width:"64px",fontSize:1,content:g.price,icon:"shopping-cart",iconSize:1,iconColor:!b.has_id||b.id.points"})}),!!O&&(0,e.createComponentVNode)(2,d,{mt:1.1,label:"ID tag",compactLabel:!0,wrapContent:F?(0,e.createComponentVNode)(2,f,{text:R,defaultText:"",color:"silver"}):(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"red",italic:!0,nowrap:!0,children:"Not supported"})})]})})]})})})}return x}(),i=function(B,L){var w=B.iconName,A=B.machineName,T=B.noMachine,E=B.noMachineText,O=B.noMachineElem,P="Unknown machine",R=T?E:A||"Unknown machine",F=R===E,j=R===E||R===P;return T&&O?O:(0,e.createComponentVNode)(2,o.Flex,{mt:.1,mb:1.9,children:[!T&&(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,align:"center",children:(0,e.createComponentVNode)(2,o.Icon,{mr:1,size:1.1,name:w})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,wordWrap:"break-word",children:(0,e.createComponentVNode)(2,o.Box,{as:"span",wordWrap:"break-word",color:F?"label":"silver",fontSize:"1.1rem",bold:!0,italic:j,children:R})})]})},c=function(B,L){var w=B.text;return(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:w})},f=function(B,L){var w=B.text,A=B.defaultText,T=S(B,y);return w?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"span",wordWrap:"break-word"},T,{children:w}))):(0,e.createComponentVNode)(2,c,{text:A})},u=function(B,L){var w=B.noConfirm,A=w===void 0?!1:w,T=S(B,V);return A?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button,Object.assign({},T))):(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button.Confirm,Object.assign({},T)))},d=function(B,L){var w=B.label,A=B.wrapContent,T=B.noWrapContent,E=B.compactLabel,O=E===void 0?!1:E,P=S(B,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Flex,Object.assign({my:.5,mr:"0.5%",spacing:1,align:"center"},P,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:O?0:1,shrink:0,textOverflow:"ellipsis",overflow:"hidden",basis:O?"auto":0,maxWidth:O?"none":20,color:"label",nowrap:!0,children:w}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,textAlign:"center",wordWrap:"break-word",children:A}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:.1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,nowrap:!0,children:T})]})))},m=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data;return(0,e.createComponentVNode)(2,o.Box,{mt:1.5,fontSize:"0.9rem",color:"silver",italic:!0,children:"No options"})},l=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data;return(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.1rem",color:"red",bold:!0,italic:!0,children:"ACCESS DENIED"})},v=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.attachedTag;return(0,e.createComponentVNode)(2,d,{label:"ID tag",wrapContent:(0,e.createComponentVNode)(2,f,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Set",icon:"wrench",onClick:function(){function O(){return A("set_tag")}return O}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Clear",icon:"times-circle",color:"red",disabled:!E,onClick:function(){function O(){return A("clear_tag")}return O}()})],4)})},b=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.frequency,O=T.minFrequency,P=T.maxFrequency,R=T.canReset;return(0,e.createComponentVNode)(2,d,{label:"Frequency",noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.1,stepPixelSize:10,minValue:O/10,maxValue:P/10,value:E/10,format:function(){function F(j){return(0,a.toFixed)(j,1)}return F}(),onChange:function(){function F(j,W){return A("set_frequency",{frequency:W*10})}return F}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"",disabled:!R,tooltip:"Reset",onClick:function(){function F(){return A("reset_frequency")}return F}()})],4)})},N=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.attachedTags;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Linked tags",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add tag",icon:"plus",iconRight:!0,onClick:function(){function O(){return A("add_tag")}return O}()}),children:E.map(function(O,P){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:O})}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{icon:"minus",color:"red",onClick:function(){function R(){return A("remove_tag",{tag_index:P})}return R}()})})})},P)})})},h=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.bolts,O=T.pressureCheck,P=T.temperatureCheck,R=T.oxygenCheck,F=T.toxinsCheck,j=T.nitrogenCheck,W=T.carbonDioxideCheck,H=[{bitflag:1,checked:O,label:"Monitor pressure"},{bitflag:2,checked:P,label:"Monitor temperature"},{bitflag:4,checked:R,label:"Monitor oxygen concentration"},{bitflag:8,checked:F,label:"Monitor plasma concentration"},{bitflag:16,checked:j,label:"Monitor nitrogen concentration"},{bitflag:32,checked:W,label:"Monitor carbon dioxide concentration"}];return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Floor bolts",noWrapContent:(0,e.createComponentVNode)(2,o.Button,{icon:E?"check":"times",selected:E,content:E?"YES":"NO",onClick:function(){function z(){return A("toggle_bolts")}return z}()})}),H.map(function(z){return(0,e.createComponentVNode)(2,d,{label:z.label,noWrapContent:(0,e.createComponentVNode)(2,o.Button.Checkbox,{checked:z.checked,onClick:function(){function $(){return A("toggle_flag",{bitflag:z.bitflag})}return $}()})},z.bitflag)})],0)},C=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.sensors;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Sensors",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add sensor",icon:"plus",iconRight:!0,onClick:function(){function O(){return A("add_sensor")}return O}()}),children:[(0,e.createComponentVNode)(2,d,{mr:0,compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"ID tag"}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"Label"}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:11.3})]})}),Object.keys(E).map(function(O){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:O}),E[O]?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:E[O]}):(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:""})]}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:[(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"edit",onClick:function(){function P(){return A("change_label",{sensor_tag:O})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"times-circle",color:"orange",disabled:!E[O],onClick:function(){function P(){return A("clear_label",{sensor_tag:O})}return P}()})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:.5}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{px:1.2,icon:"minus",color:"red",onClick:function(){function P(){return A("del_sensor",{sensor_tag:O})}return P}()})})]})},O)})]})},g=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.inputTag,O=T.outputTag,P=T.bufferTag,R=T.bufferFitsInput,F=T.bufferFitsOutput,j=T.doNotLinkAndNotify;return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Input",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,f,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,u,{noConfirm:j||!E,confirmContent:"This will change the intput device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:E&&P===E,disabled:!R,onClick:function(){function W(){return A("link_input")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the intput device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!E,onClick:function(){function W(){return A("unlink_input")}return W}()})],4)}),(0,e.createComponentVNode)(2,d,{label:"Output",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,f,{text:O,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,u,{noConfirm:j||!O,confirmContent:"This will change the output device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:O&&P===O,disabled:!F,onClick:function(){function W(){return A("link_output")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the output device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!O,onClick:function(){function W(){return A("unlink_output")}return W}()})],4)})],4)}},64713:function(I,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(76910),y=n(98595),V=n(3939),k=n(22091),S=["icon","iconSpin","selected","security","onClick","title","children"],p=["name"];function i(B,L){if(B==null)return{};var w={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;w[A]=B[A]}return w}var c=128,f=["security","engineering","medical","science","service","supply"],u={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},d=r.Newscaster=function(){function B(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.is_security,P=E.is_admin,R=E.is_silent,F=E.is_printing,j=E.screen,W=E.channels,H=E.channel_idx,z=H===void 0?-1:H,$=(0,t.useLocalState)(w,"menuOpen",!1),G=$[0],ne=$[1],Q=(0,t.useLocalState)(w,"viewingPhoto",""),he=Q[0],Ve=Q[1],Ne=(0,t.useLocalState)(w,"censorMode",!1),Be=Ne[0],Le=Ne[1],Ae;j===0||j===2?Ae=(0,e.createComponentVNode)(2,l):j===1&&(Ae=(0,e.createComponentVNode)(2,v));var fe=W.reduce(function(Z,J){return Z+J.unread},0);return(0,e.createComponentVNode)(2,y.Window,{theme:O&&"security",width:800,height:600,children:[he?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,V.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",G&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,m,{icon:"bars",title:"Toggle Menu",onClick:function(){function Z(){return ne(!G)}return Z}()}),(0,e.createComponentVNode)(2,m,{icon:"newspaper",title:"Headlines",selected:j===0,onClick:function(){function Z(){return T("headlines")}return Z}(),children:fe>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:fe>=10?"9+":fe})}),(0,e.createComponentVNode)(2,m,{icon:"briefcase",title:"Job Openings",selected:j===1,onClick:function(){function Z(){return T("jobs")}return Z}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(Z){return(0,e.createComponentVNode)(2,m,{icon:Z.icon,title:Z.name,selected:j===2&&W[z-1]===Z,onClick:function(){function J(){return T("channel",{uid:Z.uid})}return J}(),children:Z.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Z.unread>=10?"9+":Z.unread})},Z)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!O||!!P)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,m,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Z(){return(0,V.modalOpen)(w,"wanted_notice")}return Z}()}),(0,e.createComponentVNode)(2,m,{security:!0,icon:Be?"minus-square":"minus-square-o",title:"Censor Mode: "+(Be?"On":"Off"),mb:"0.5rem",onClick:function(){function Z(){return Le(!Be)}return Z}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,m,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Z(){return(0,V.modalOpen)(w,"create_story")}return Z}()}),(0,e.createComponentVNode)(2,m,{icon:"plus-circle",title:"New Channel",onClick:function(){function Z(){return(0,V.modalOpen)(w,"create_channel")}return Z}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,m,{icon:F?"spinner":"print",iconSpin:F,title:F?"Printing...":"Print Newspaper",onClick:function(){function Z(){return T("print_newspaper")}return Z}()}),(0,e.createComponentVNode)(2,m,{icon:R?"volume-mute":"volume-up",title:"Mute: "+(R?"On":"Off"),onClick:function(){function Z(){return T("toggle_mute")}return Z}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,k.TemporaryNotice),Ae]})]})})]})}return B}(),m=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=L.icon,O=E===void 0?"":E,P=L.iconSpin,R=L.selected,F=R===void 0?!1:R,j=L.security,W=j===void 0?!1:j,H=L.onClick,z=L.title,$=L.children,G=i(L,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",F&&"Newscaster__menuButton--selected",W&&"Newscaster__menuButton--security"]),onClick:H},G,{children:[F&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:O,spin:P,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:z}),$]})))},l=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.screen,P=E.is_admin,R=E.channel_idx,F=E.channel_can_manage,j=E.channels,W=E.stories,H=E.wanted,z=(0,t.useLocalState)(w,"fullStories",[]),$=z[0],G=z[1],ne=(0,t.useLocalState)(w,"censorMode",!1),Q=ne[0],he=ne[1],Ve=O===2&&R>-1?j[R-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!H&&(0,e.createComponentVNode)(2,b,{story:H,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:Ve?Ve.icon:"newspaper",mr:"0.5rem"}),Ve?Ve.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(Ne){return!$.includes(Ne.uid)&&Ne.body.length+3>c?Object.assign({},Ne,{body_short:Ne.body.substr(0,c-4)+"..."}):Ne}).map(function(Ne,Be){return(0,e.createComponentVNode)(2,b,{story:Ne},Be)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!Ve&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Q&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!Ve.admin&&!P,selected:Ve.censored,icon:Ve.censored?"comment-slash":"comment",content:Ve.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function Ne(){return T("censor_channel",{uid:Ve.uid})}return Ne}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!F,icon:"cog",content:"Manage",onClick:function(){function Ne(){return(0,V.modalOpen)(w,"manage_channel",{uid:Ve.uid})}return Ne}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:Ve.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:Ve.author||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:Ve.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),W.reduce(function(Ne,Be){return Ne+Be.view_count},0).toLocaleString()]})]})})]})},v=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.jobs,P=E.wanted,R=Object.entries(O).reduce(function(F,j){var W=j[0],H=j[1];return F+H.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!P&&(0,e.createComponentVNode)(2,b,{story:P,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:R>0?f.map(function(F){return Object.assign({},u[F],{id:F,jobs:O[F]})}).filter(function(F){return!!F&&F.jobs.length>0}).map(function(F){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+F.id]),title:F.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:F.fluff_text}),children:F.jobs.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!j.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",j.title]},j.title)})},F.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},b=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=L.story,P=L.wanted,R=P===void 0?!1:P,F=(0,t.useLocalState)(w,"fullStories",[]),j=F[0],W=F[1],H=(0,t.useLocalState)(w,"censorMode",!1),z=H[0],$=H[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",R&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([R&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),O.censor_flags&2&&"[REDACTED]"||O.title||"News from "+O.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!R&&z&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:O.censor_flags&2,icon:O.censor_flags&2?"comment-slash":"comment",content:O.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function G(){return T("censor_story",{uid:O.uid})}return G}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.author," |\xA0",!R&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),O.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,s.timeAgo)(O.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:O.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!O.has_photo&&(0,e.createComponentVNode)(2,N,{name:"story_photo_"+O.uid+".png",float:"right",ml:"0.5rem"}),(O.body_short||O.body).split("\n").map(function(G,ne){return(0,e.createComponentVNode)(2,o.Box,{children:G||(0,e.createVNode)(1,"br")},ne)}),O.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function G(){return W([].concat(j,[O.uid]))}return G}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},N=function(L,w){var A=L.name,T=i(L,p),E=(0,t.useLocalState)(w,"viewingPhoto",""),O=E[0],P=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function R(){return P(A)}return R}()},T)))},h=function(L,w){var A=(0,t.useLocalState)(w,"viewingPhoto",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:T}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function O(){return E("")}return O}()})]})},C=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=!!L.args.uid&&E.channels.filter(function(ee){return ee.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!O){(0,V.modalClose)(w);return}var P=L.id==="manage_channel",R=!!L.args.is_admin,F=L.args.scanned_user,j=(0,t.useLocalState)(w,"author",(O==null?void 0:O.author)||F||"Unknown"),W=j[0],H=j[1],z=(0,t.useLocalState)(w,"name",(O==null?void 0:O.name)||""),$=z[0],G=z[1],ne=(0,t.useLocalState)(w,"description",(O==null?void 0:O.description)||""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"icon",(O==null?void 0:O.icon)||"newspaper"),Ne=Ve[0],Be=Ve[1],Le=(0,t.useLocalState)(w,"isPublic",P?!!(O!=null&&O.public):!1),Ae=Le[0],fe=Le[1],Z=(0,t.useLocalState)(w,"adminLocked",(O==null?void 0:O.admin)===1||!1),J=Z[0],te=Z[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:P?"Manage "+O.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!R,width:"100%",value:W,onInput:function(){function ee(le,ye){return H(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:$,onInput:function(){function ee(le,ye){return G(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Q,onInput:function(){function ee(le,ye){return he(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!R,value:Ne,width:"35%",mr:"0.5rem",onInput:function(){function ee(le,ye){return Be(ye)}return ee}()}),(0,e.createComponentVNode)(2,o.Icon,{name:Ne,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:Ae,icon:Ae?"toggle-on":"toggle-off",content:Ae?"Yes":"No",onClick:function(){function ee(){return fe(!Ae)}return ee}()})}),R&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:J,icon:J?"lock":"lock-open",content:J?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ee(){return te(!J)}return ee}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||$.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ee(){(0,V.modalAnswer)(w,L.id,"",{author:W,name:$.substr(0,49),description:Q.substr(0,128),icon:Ne,public:Ae?1:0,admin_locked:J?1:0})}return ee}()})]})},g=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.photo,P=E.channels,R=E.channel_idx,F=R===void 0?-1:R,j=!!L.args.is_admin,W=L.args.scanned_user,H=P.slice().sort(function(ee,le){if(F<0)return 0;var ye=P[F-1];if(ye.uid===ee.uid)return-1;if(ye.uid===le.uid)return 1}).filter(function(ee){return j||!ee.frozen&&(ee.author===W||!!ee.public)}),z=(0,t.useLocalState)(w,"author",W||"Unknown"),$=z[0],G=z[1],ne=(0,t.useLocalState)(w,"channel",H.length>0?H[0].name:""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"title",""),Ne=Ve[0],Be=Ve[1],Le=(0,t.useLocalState)(w,"body",""),Ae=Le[0],fe=Le[1],Z=(0,t.useLocalState)(w,"adminLocked",!1),J=Z[0],te=Z[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!j,width:"100%",value:$,onInput:function(){function ee(le,ye){return G(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Q,options:H.map(function(ee){return ee.name}),mb:"0",width:"100%",onSelected:function(){function ee(le){return he(le)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Ne,onInput:function(){function ee(le,ye){return Be(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:Ae,onInput:function(){function ee(le,ye){return fe(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:O,content:O?"Eject: "+O.name:"Insert Photo",tooltip:!O&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function ee(){return T(O?"eject_photo":"attach_photo")}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:Ne,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!O&&(0,e.createComponentVNode)(2,N,{name:"inserted_photo_"+O.uid+".png",float:"right"}),Ae.split("\n").map(function(ee,le){return(0,e.createComponentVNode)(2,o.Box,{children:ee||(0,e.createVNode)(1,"br")},le)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:J,icon:J?"lock":"lock-open",content:J?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ee(){return te(!J)}return ee}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:$.trim().length===0||Q.trim().length===0||Ne.trim().length===0||Ae.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ee(){(0,V.modalAnswer)(w,"create_story","",{author:$,channel:Q,title:Ne.substr(0,127),body:Ae.substr(0,1023),admin_locked:J?1:0})}return ee}()})]})},x=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.photo,P=E.wanted,R=!!L.args.is_admin,F=L.args.scanned_user,j=(0,t.useLocalState)(w,"author",(P==null?void 0:P.author)||F||"Unknown"),W=j[0],H=j[1],z=(0,t.useLocalState)(w,"name",(P==null?void 0:P.title.substr(8))||""),$=z[0],G=z[1],ne=(0,t.useLocalState)(w,"description",(P==null?void 0:P.body)||""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"adminLocked",(P==null?void 0:P.admin_locked)===1||!1),Ne=Ve[0],Be=Ve[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!R,width:"100%",value:W,onInput:function(){function Le(Ae,fe){return H(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:$,maxLength:"128",onInput:function(){function Le(Ae,fe){return G(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Q,maxLength:"512",rows:"4",onInput:function(){function Le(Ae,fe){return he(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:O,content:O?"Eject: "+O.name:"Insert Photo",tooltip:!O&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function Le(){return T(O?"eject_photo":"attach_photo")}return Le}()}),!!O&&(0,e.createComponentVNode)(2,N,{name:"inserted_photo_"+O.uid+".png",float:"right"})]}),R&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Ne,icon:Ne?"lock":"lock-open",content:Ne?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function Le(){return Be(!Ne)}return Le}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!P,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function Le(){T("clear_wanted_notice"),(0,V.modalClose)(w)}return Le}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||$.trim().length===0||Q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function Le(){(0,V.modalAnswer)(w,L.id,"",{author:W,name:$.substr(0,127),description:Q.substr(0,511),admin_locked:Ne?1:0})}return Le}()})]})};(0,V.modalRegisterBodyOverride)("create_channel",C),(0,V.modalRegisterBodyOverride)("manage_channel",C),(0,V.modalRegisterBodyOverride)("create_story",g),(0,V.modalRegisterBodyOverride)("wanted_notice",x)},97351:function(I,r,n){"use strict";r.__esModule=!0,r.NinjaBloodScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(39473),s=n(98595),y=r.NinjaBloodScan=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data;return(0,e.createComponentVNode)(2,s.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.vialIcons,m=u.noVialIcon,l=u.bloodOwnerNames,v=u.bloodOwnerSpecies,b=u.bloodOwnerTypes,N=u.blockButtons,h=u.scanStates,C={blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"},g=["NoticeBox_red","NoticeBox","NoticeBox_blue"],x=[1,2,3];return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0431\u0440\u0430\u0437\u0446\u044B",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0442\u0440\u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u0430 \u043A\u0440\u043E\u0432\u0438. \u041C\u0430\u0448\u0438\u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0430 \u043D\u0430 \u0440\u0430\u0431\u043E\u0442\u0443 \u0441 \u043A\u0440\u043E\u0432\u044C\u044E \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0438 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u043B \u0432\u0430\u043C \u043A\u043B\u0430\u043D. \u0420\u0435\u0430\u0433\u0435\u043D\u0442\u044B \u0438\u043C \u043D\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u043D\u0435 \u043F\u0440\u0438\u043C\u0443\u0442\u0441\u044F \u0438\u043B\u0438 \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u043C",tooltipPosition:"bottom-start"}),children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"center",children:x.map(function(B,L){return(0,e.createComponentVNode)(2,o.FlexItem,{direction:"column",width:"33.3%",ml:L?2:0,children:[(0,e.createComponentVNode)(2,t.Section,{title:l[L]?"\u041A\u0440\u043E\u0432\u044C":"\u041D\u0435\u0442 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",style:{"text-align":"left",background:"rgba(53, 94, 163, 0.5)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:g[h[L]],success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:N?C.disabled:C.blue,height:"100%",width:"100%",disabled:N,onClick:function(){function w(){return f("vial_out",{button_num:L+1})}return w}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+(d[L]||m),style:{"margin-left":"3px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:l[L]||" - ",content:"\u0420\u0430\u0441\u0430: "+(v[L]||" - ")+"\n"+("\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438: "+(b[L]||" - ")),position:"bottom"})]})})]},L)})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:N===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:N,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043A\u0440\u043E\u0432\u044C \u0438 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u0430\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043A\u043B\u0430\u043D\u0443.",tooltipPosition:"bottom",onClick:function(){function B(){return f("scan_blood")}return B}()})})]})})},k=function(p,i){var c=(0,a.useBackend)(i),f=c.data,u=f.progressBar;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"green",value:u,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",mt:1,children:u?"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 "+(u+"%"):"\u0420\u0435\u0436\u0438\u043C \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F"}),2)})})}},32989:function(I,r,n){"use strict";r.__esModule=!0,r.NinjaMindScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.NinjaMindScan=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.occupantIcon,u=c.occupant_name,d=c.occupant_health,m=c.scanned_occupants,l=u==="none"?1:0;return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435.",tooltipPosition:"left"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{shrink:1,alignContent:"left",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,width:"90px",align:"left",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},align:"left",children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+f,style:{"margin-left":"-28px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,alignContent:"right",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",success:0,danger:0,align:"left",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043C\u044F",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:d})]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",mt:2.5,success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:l,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438 \u043F\u044B\u0442\u0430\u0435\u0442\u0441\u044F \u0434\u043E\u0431\u044B\u0442\u044C \u0438\u0437 \u0435\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0443\u044E \u043A\u043B\u0430\u043D\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E.",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("scan_occupant")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",width:"250px",textAlign:"center",disabled:l,tooltip:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438\u0437 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("go_out")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",width:"250px",textAlign:"center",disabled:l,tooltip:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0441 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u043D \u0431\u044B\u043B \u043F\u043E\u0445\u0438\u0449\u0435\u043D. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0433\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u044D\u0442\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u043D\u0435 \u0440\u0430\u0437\u0431\u043E\u043B\u0442\u0430\u043B \u043E \u0432\u0430\u0441.",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("teleport_out")}return v}()})]})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043F\u0438\u0441\u043E\u043A \u0443\u0436\u0435 \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u043C\u0438 \u043B\u044E\u0434\u0435\u0439",align:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",children:(0,e.createComponentVNode)(2,t.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:m.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Box,{children:v.scanned_occupant})})},v.scanned_occupant)})})})})]})}},41166:function(I,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.NuclearBomb=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;return i.extended?(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authdisk?"eject":"id-card",selected:i.authdisk,content:i.diskname?i.diskname:"-----",tooltip:i.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return p("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!i.authdisk,selected:i.authcode,content:i.codemsg,onClick:function(){function c(){return p("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.anchored?"check":"times",selected:i.anchored,disabled:!i.authfull,content:i.anchored?"YES":"NO",onClick:function(){function c(){return p("toggle_anchor")}return c}()})}),i.authfull&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:i.time,disabled:!i.authfull,tooltip:"Set Timer",onClick:function(){function c(){return p("set_time")}return c}()})})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",color:i.timer?"red":"",children:i.time+"s"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.safety?"check":"times",selected:i.safety,disabled:!i.authfull,content:i.safety?"ON":"OFF",tooltip:i.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return p("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(i.timer,"bomb"),disabled:i.safety||!i.authfull,color:"red",content:i.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return p("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return p("deploy")}return c}()})})})})}return y}()},52416:function(I,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),s=n(72253),y=n(36036),V=n(98595),k=r.NumberInputModal=function(){function p(i,c){var f=(0,s.useBackend)(c),u=f.act,d=f.data,m=d.init_value,l=d.large_buttons,v=d.message,b=v===void 0?"":v,N=d.timeout,h=d.title,C=(0,s.useLocalState)(c,"input",m),g=C[0],x=C[1],B=function(){function A(T){T!==g&&x(T)}return A}(),L=function(){function A(T){T!==g&&x(T)}return A}(),w=140+Math.max(Math.ceil(b.length/3),b.length>0&&l?5:0);return(0,e.createComponentVNode)(2,V.Window,{title:h,width:270,height:w,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function A(T){var E=window.event?T.which:T.keyCode;E===o.KEY_ENTER&&u("submit",{entry:g}),E===o.KEY_ESCAPE&&u("cancel")}return A}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:b})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,S,{input:g,onClick:L,onChange:B})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:g})})]})})})]})}return p}(),S=function(i,c){var f=(0,s.useBackend)(c),u=f.act,d=f.data,m=d.min_value,l=d.max_value,v=d.init_value,b=d.round_value,N=i.input,h=i.onClick,C=i.onChange,g=Math.round(N!==m?Math.max(N/2,m):l/2),x=N===m&&m>0||N===1;return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:N===m,icon:"angle-double-left",onClick:function(){function B(){return h(m)}return B}(),tooltip:N===m?"Min":"Min ("+m+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!b,minValue:m,maxValue:l,onChange:function(){function B(L,w){return C(w)}return B}(),onEnter:function(){function B(L,w){return u("submit",{entry:w})}return B}(),value:N})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:N===l,icon:"angle-double-right",onClick:function(){function B(){return h(l)}return B}(),tooltip:N===l?"Max":"Max ("+l+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:x,icon:"divide",onClick:function(){function B(){return h(g)}return B}(),tooltip:x?"Split":"Split ("+g+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:N===v,icon:"redo",onClick:function(){function B(){return h(v)}return B}(),tooltip:v?"Reset ("+v+")":"Reset"})})]})}},1218:function(I,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),s=n(36036),y=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.OperatingComputer=function(){function u(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.hasOccupant,h=b.choice,C;return h?C=(0,e.createComponentVNode)(2,f):C=N?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Tabs,{children:[(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:!h,icon:"user",onClick:function(){function g(){return v("choiceOff")}return g}(),children:"Patient"}),(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:!!h,icon:"cog",onClick:function(){function g(){return v("choiceOn")}return g}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,children:C})})]})})})}return u}(),i=function(d,m){var l=(0,t.useBackend)(m),v=l.data,b=v.occupant;return(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Status",color:y[b.stat][0],children:y[b.stat][1]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),V.map(function(N,h){return(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:N[0]+" Damage",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:"100",value:b[N[1]]/100,ranges:k,children:(0,a.round)(b[N[1]])},h)},h)}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:S[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius),"\xB0C, ",(0,a.round)(b.btFaren),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Pulse",children:[b.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:"Current Procedures",level:"2",children:b.inSurgery?b.surgeries.map(function(N){var h=N.bodypartName,C=N.surgeryName,g=N.stepName;return(0,e.createComponentVNode)(2,s.Section,{title:h,level:"4",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Procedure",children:C}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Next Step",children:g})]})},h)}):(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,s.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,s.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},f=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.verbose,h=b.health,C=b.healthAlarm,g=b.oxy,x=b.oxyAlarm,B=b.crit;return(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,s.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"On":"Off",onClick:function(){function L(){return v(N?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,s.Button,{selected:h,icon:h?"toggle-on":"toggle-off",content:h?"On":"Off",onClick:function(){function L(){return v(h?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,s.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:C,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return v("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,s.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return v(g?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,s.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:x,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return v("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,s.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"On":"Off",onClick:function(){function L(){return v(B?"critOff":"critOn")}return L}()})})]})}},46892:function(I,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595);function y(m,l){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=V(m))||l&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(m,l){if(m){if(typeof m=="string")return k(m,l);var v={}.toString.call(m).slice(8,-1);return v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set"?Array.from(m):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?k(m,l):void 0}}function k(m,l){(l==null||l>m.length)&&(l=m.length);for(var v=0,b=Array(l);vv},c=function(l,v){var b=l.name,N=v.name;if(!b||!N)return 0;var h=b.match(S),C=N.match(S);if(h&&C&&b.replace(S,"")===N.replace(S,"")){var g=parseInt(h[1],10),x=parseInt(C[1],10);return g-x}return i(b,N)},f=function(l,v){var b=(0,t.useBackend)(v),N=b.act,h=l.searchText,C=l.source,g=l.title,x=C.filter(p(h));return x.sort(c),C.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:g+" - ("+C.length+")",children:x.map(function(B){return(0,e.createComponentVNode)(2,o.Button,{content:B.name,onClick:function(){function L(){return N("orbit",{ref:B.ref})}return L}()},B.name)})})},u=function(l,v){var b=(0,t.useBackend)(v),N=b.act,h=l.color,C=l.thing;return(0,e.createComponentVNode)(2,o.Button,{color:h,onClick:function(){function g(){return N("orbit",{ref:C.ref})}return g}(),children:C.name})},d=r.Orbit=function(){function m(l,v){for(var b=(0,t.useBackend)(v),N=b.act,h=b.data,C=h.alive,g=h.antagonists,x=h.highlights,B=h.auto_observe,L=h.dead,w=h.ghosts,A=h.misc,T=h.npcs,E=(0,t.useLocalState)(v,"searchText",""),O=E[0],P=E[1],R={},F=y(g),j;!(j=F()).done;){var W=j.value;R[W.antag]===void 0&&(R[W.antag]=[]),R[W.antag].push(W)}var H=Object.entries(R);H.sort(function($,G){return i($[0],G[0])});var z=function(){function $(G){for(var ne=0,Q=[H.map(function(Ne){var Be=Ne[0],Le=Ne[1];return Le}),x,C,w,L,T,A];ne0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:H.map(function($){var G=$[0],ne=$[1];return(0,e.createComponentVNode)(2,o.Section,{title:G,level:2,children:ne.filter(p(O)).sort(c).map(function(Q){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:Q},Q.name)})},G)})}),x.length>0&&(0,e.createComponentVNode)(2,f,{title:"Highlights",source:x,searchText:O,color:"teal"}),(0,e.createComponentVNode)(2,o.Section,{title:"Alive - ("+C.length+")",children:C.filter(p(O)).sort(c).map(function($){return(0,e.createComponentVNode)(2,u,{color:"good",thing:$},$.name)})}),(0,e.createComponentVNode)(2,o.Section,{title:"Ghosts - ("+w.length+")",children:w.filter(p(O)).sort(c).map(function($){return(0,e.createComponentVNode)(2,u,{color:"grey",thing:$},$.name)})}),(0,e.createComponentVNode)(2,f,{title:"Dead",source:L,searchText:O}),(0,e.createComponentVNode)(2,f,{title:"NPCs",source:T,searchText:O}),(0,e.createComponentVNode)(2,f,{title:"Misc",source:A,searchText:O})]})})}return m}()},15421:function(I,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=n(9394);function V(l){if(l==null)throw new TypeError("Cannot destructure "+l)}var k=(0,y.createLogger)("OreRedemption"),S=function(v){return v.toLocaleString("en-US")+" pts"},p=r.OreRedemption=function(){function l(v,b){return(0,e.createComponentVNode)(2,s.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})})}return l}(),i=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.id,x=C.points,B=C.disk,L=Object.assign({},(V(v),v));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID card",children:g?(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,verticalAlign:"middle",icon:"eject",content:g.name,tooltip:"Ejects the ID card.",onClick:function(){function w(){return h("eject_id")}return w}(),style:{"white-space":"pre-wrap"}}):(0,e.createComponentVNode)(2,o.Button,{icon:"sign-in-alt",content:"Insert",tooltip:"Hold the ID card in your hand to insert.",onClick:function(){function w(){return h("insert_id")}return w}()})}),g&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:S(g.points)})}),g&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:S(g.total_points)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:x>0?"good":"grey",bold:x>0&&"good",children:S(x)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!g,icon:"hand-holding-usd",content:"Claim",onClick:function(){function w(){return h("claim")}return w}()})})]}),(0,e.createComponentVNode)(2,o.Divider),B?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:B.name,tooltip:"Ejects the design disk.",onClick:function(){function w(){return h("eject_disk")}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:B.design&&(B.compatible?"good":"bad"),children:B.design||"N/A"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!B.design||!B.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function w(){return h("download")}return w}()})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.sheets,x=Object.assign({},(V(v),v));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,u,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),g.map(function(B){return(0,e.createComponentVNode)(2,d,{ore:B},B.id)})]})))})},f=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.alloys,x=Object.assign({},(V(v),v));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,u,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),g.map(function(B){return(0,e.createComponentVNode)(2,m,{ore:B},B.id)})]})))})},u=function(v,b){var N;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:v.title}),(N=v.columns)==null?void 0:N.map(function(h){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:h[1],textAlign:"center",color:"label",bold:!0,children:h[0]},h)})]})})},d=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=v.ore;if(!(C.value&&C.amount<=0&&!(["metal","glass"].indexOf(C.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:C.amount>=1?"good":"gray",bold:C.amount>=1,align:"center",children:C.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:C.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(C.amount,50),stepPixelSize:6,onChange:function(){function g(x,B){return h(C.value?"sheet":"alloy",{id:C.id,amount:B})}return g}()})})]})})},m=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=v.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",C.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:C.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:C.amount>=1?"good":"gray",align:"center",children:C.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:C.amount>=1?"good":"gray",bold:C.amount>=1,align:"center",children:C.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(C.amount,50),stepPixelSize:6,onChange:function(){function g(x,B){return h(C.value?"sheet":"alloy",{id:C.id,amount:B})}return g}()})})]})})}},30373:function(I,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(71253),y=n(70752),V=function(p){var i;try{i=y("./"+p+".js")}catch(f){if(f.code==="MODULE_NOT_FOUND")return(0,s.routingError)("notFound",p);throw f}var c=i[p];return c||(0,s.routingError)("missingExport",p)},k=r.PAI=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.app_template,m=u.app_icon,l=u.app_title,v=V(d);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:m,mr:1}),l,d!=="pai_main_menu"&&(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Home",icon:"arrow-up",onClick:function(){function b(){return f("MASTER_back")}return b}()})]}),p:1,children:(0,e.createComponentVNode)(2,v)})})})}return S}()},85175:function(I,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(71253),y=n(59395),V=function(c){var f;try{f=y("./"+c+".js")}catch(d){if(d.code==="MODULE_NOT_FOUND")return(0,s.routingError)("notFound",c);throw d}var u=f[c];return u||(0,s.routingError)("missingExport",c)},k=r.PDA=function(){function i(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.app,v=m.owner;if(!v)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var b=V(l.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:l.icon,mr:1}),l.name]}),children:(0,e.createComponentVNode)(2,b)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,p)})]})})})}return i}(),S=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.idInserted,v=m.idLink,b=m.stationTime,N=m.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function h(){return d("Authenticate")}return h}(),content:l?v:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function h(){return d("Eject")}return h}(),content:N?["Eject "+N]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:b})]})},p=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!l.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function v(){return d("Back")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:l.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){function v(){d("Home")}return v}()})})]})})}},38280:function(I,r,n){"use strict";r.__esModule=!0,r.PDAPainter=r.PDAColorRow=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),s=r.PDAPainter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.statusLabel,u=c.pdaTypes,d=c.hasPDA,m=c.pdaIcon,l=c.pdaOwnerName,v=c.pdaJobName;return(0,e.createComponentVNode)(2,t.Window,{width:545,height:350,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{spacing:1,direction:"row",height:"100%",flex:"1",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:24,shrink:0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0435\u0435",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:d?"eject":"exclamation-triangle",selected:d,content:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C":"-----",tooltip:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C PDA":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C PDA",tooltipPosition:"left",onClick:function(){function b(){return i(d?"eject_pda":"insert_pda")}return b}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:l||"\u041D/\u0414"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:v||"\u041D/\u0414"})]})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",flex:"1",children:(0,e.createComponentVNode)(2,o.Flex.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{as:"img",height:"160px",src:d?"data:image/png;base64,"+m:"",style:{"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"},align:"middle"})}),(0,e.createComponentVNode)(2,o.LabeledList,{m:"5px",children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:f})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{m:"5px",fluid:!0,disabled:!d,content:"\u0421\u0442\u0435\u0440\u0435\u0442\u044C PDA",confirmContent:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C?",textAlign:"left",color:"red",tooltip:"C\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u0430 \u0437\u0430\u0432\u043E\u0434\u0441\u043A\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltipPosition:"top",onClick:function(){function b(){return i("erase_pda")}return b}()})]})})})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:27,children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",flex:"1",children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0426\u0432\u0435\u0442 PDA",flexGrow:"1",scrollable:!0,fill:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:Object.keys(u).map(function(b){return(0,e.createComponentVNode)(2,y,{selectedPda:b,selectedPdaImage:u[b][0]},b)})})})})})]})})})}return V}(),y=r.PDAColorRow=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.hasPDA,u=k.selectedPda,d=k.selectedPdaImage;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+d,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,disabled:!f,icon:d,content:u,confirmContent:"\u041F\u043E\u043A\u0440\u0430\u0441\u0438\u0442\u044C?",textAlign:"left",onClick:function(){function m(){return i("choose_pda",{selectedPda:u,selectedPdaImage:d})}return m}()})})]})}return V}()},68654:function(I,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49968),y=r.Pacman=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.broken,u=c.anchored,d=c.active,m=c.fuel_type,l=c.fuel_usage,v=c.fuel_stored,b=c.fuel_cap,N=c.is_ai,h=c.tmp_current,C=c.tmp_max,g=c.tmp_overheat,x=c.output_max,B=c.power_gen,L=c.output_set,w=c.has_fuel,A=v/b,T=h/C,E=L*B,O=Math.round(v/l),P=Math.round(O/60),R=O>120?P+" minutes":O+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(f||!u)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!f&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!f&&!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!f&&!!u&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!w,selected:d,onClick:function(){function F(){return i("toggle_power")}return F}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:L,minValue:1,maxValue:x,step:1,className:"mt-1",onDrag:function(){function F(j,W){return i("change_power",{change_power:W})}return F}()}),"(",(0,s.formatPower)(E),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[h," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[g>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),g>20&&g<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),g>1&&g<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),g===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:d||N||!w,onClick:function(){function F(){return i("eject_fuel")}return F}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[l/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!w&&(l?R:"N/A"),!w&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return V}()},33388:function(I,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.PersonalCrafting=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.busy,d=f.category,m=f.display_craftable_only,l=f.display_compact,v=f.prev_cat,b=f.next_cat,N=f.subcategory,h=f.prev_subcat,C=f.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:d,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:m?"check-square-o":"square-o",selected:m,onClick:function(){function g(){return c("toggle_recipes")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:l?"check-square-o":"square-o",selected:l,onClick:function(){function g(){return c("toggle_compact")}return g}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-left",onClick:function(){function g(){return c("backwardCat")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:b,icon:"arrow-right",onClick:function(){function g(){return c("forwardCat")}return g}()})]}),N&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function g(){return c("backwardSubCat")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-right",onClick:function(){function g(){return c("forwardSubCat")}return g}()})]}),l?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.display_craftable_only,d=f.can_craft,m=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function v(){return c("make",{make:l.ref})}return v}()}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)}),!u&&m.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.display_craftable_only,d=f.can_craft,m=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[d.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function v(){return c("make",{make:l.ref})}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)}),!u&&m.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)})]})}},56150:function(I,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(88510),y=n(64795),V=n(25328);function k(f,u){var d=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(d)return(d=d.call(f)).next.bind(d);if(Array.isArray(f)||(d=S(f))||u&&f&&typeof f.length=="number"){d&&(f=d);var m=0;return function(){return m>=f.length?{done:!0}:{done:!1,value:f[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(f,u){if(f){if(typeof f=="string")return p(f,u);var d={}.toString.call(f).slice(8,-1);return d==="Object"&&f.constructor&&(d=f.constructor.name),d==="Map"||d==="Set"?Array.from(f):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?p(f,u):void 0}}function p(f,u){(u==null||u>f.length)&&(u=f.length);for(var d=0,m=Array(u);df?this.substring(0,f)+"...":this};var i=function(u,d){d===void 0&&(d="");var m=(0,V.createSearch)(d,function(l){return l.altername});return(0,y.flow)([(0,s.filter)(function(l){return l==null?void 0:l.altername}),d&&(0,s.filter)(m),(0,s.sortBy)(function(l){return l.id})])(u)},c=r.Photocopier=function(){function f(u,d){for(var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.copies,N=v.maxcopies,h=(0,a.useLocalState)(d,"searchText",""),C=h[0],g=h[1],x=i((0,s.sortBy)(function(R){return R.category})(v.forms||[]),C),B=[],L=k(x),w;!(w=L()).done;){var A=w.value;B.includes(A.category)||B.push(A.category)}var T=(0,a.useLocalState)(d,"number",0),E=T[0],O=T[1],P;return v.category===""?P=x:P=x.filter(function(R){return R.category===v.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:v.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:v.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:v.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":v.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!v.copyitem&&!v.mob,icon:v.copyitem||v.mob?"eject":"times",content:v.copyitem?v.copyitem:v.mob?"\u0416\u043E\u043F\u0430 "+v.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function R(){return l("removedocument")}return R}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!v.folder,icon:v.folder?"eject":"times",content:v.folder?v.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function R(){return l("removefolder")}return R}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:v.toner===0||v.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function R(){return l("print_form")}return R}()})}),!!v.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:v.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function R(){return l("ai_pic")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:v.toner===0||!v.copyitem&&!v.mob,onClick:function(){function R(){return l("copy")}return R}()})}),!!v.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:v.toner===0,onClick:function(){function R(){return l("ai_text")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:N,value:b,stepPixelSize:10,onChange:function(){function R(F,j){return l("copies",{new:j})}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!v.category,onClick:function(){function R(){return l("choose_category",{category:""})}return R}()})}),B.map(function(R){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:R,selected:v.category===R,onClick:function(){function F(){return l("choose_category",{category:R})}return F}()},R)},R)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:v.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function R(F,j){return g(j)}return R}()}),children:P.map(function(R){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:R.altername.trimLongStr(37),tooltip:R.altername,selected:v.form_id===R.id,onClick:function(){function F(){return l("choose_form",{path:R.path,id:R.id})}return F}()})},R.path)})})})]})})})}return f}()},94158:function(I,r,n){"use strict";r.__esModule=!0,r.PodTracking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.PodTracking=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.pods;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Position",children:[f.podx,", ",f.pody,", ",f.podz]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pilot",children:f.pilot}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Passengers",children:f.passengers})]})},f.name)})})})}return y}()},84676:function(I,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=["tempKey"];function y(p,i){if(p==null)return{};var c={};for(var f in p)if({}.hasOwnProperty.call(p,f)){if(i.includes(f))continue;c[f]=p[f]}return c}var V={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},k=function(i,c){var f=i.tempKey,u=y(i,s),d=V[f];if(!d)return null;var m=(0,a.useBackend)(c),l=m.data,v=m.act,b=l.currentTemp,N=d.label,h=d.icon,C=f===b,g=function(){v("setTemp",{temp:f})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({selected:C,onClick:g},u,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:h}),N]})))},S=r.PoolController=function(){function p(i,c){for(var f=(0,a.useBackend)(c),u=f.data,d=u.emagged,m=u.currentTemp,l=V[m]||V.normal,v=l.label,b=l.color,N=[],h=0,C=Object.entries(V);h50?"battery-half":"battery-quarter")||b==="C"&&"bolt"||b==="F"&&"battery-full"||b==="M"&&"slash",color:b==="N"&&(N>50?"yellow":"red")||b==="C"&&"yellow"||b==="F"&&"green"||b==="M"&&"orange"}),(0,e.createComponentVNode)(2,k.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(N)+"%"})],4)};d.defaultHooks=s.pureComponentHooks;var m=function(v){var b,N,h=v.status;switch(h){case"AOn":b=!0,N=!0;break;case"AOff":b=!0,N=!1;break;case"On":b=!1,N=!0;break;case"Off":b=!1,N=!1;break}var C=(N?"On":"Off")+(" ["+(b?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,k.ColorBox,{color:N?"good":"bad",content:b?void 0:"M",title:C})};m.defaultHooks=s.pureComponentHooks},50992:function(I,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(3939),y=n(321),V=n(5485),k=n(98595),S=r.PrisonerImplantManager=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.loginState,l=d.prisonerInfo,v=d.chemicalInfo,b=d.trackingInfo,N;if(!m.logged_in)return(0,e.createComponentVNode)(2,k.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.LoginScreen)})});var h=[1,5,10];return(0,e.createComponentVNode)(2,k.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,s.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.name?"eject":"id-card",selected:l.name,content:l.name?l.name:"-----",tooltip:l.name?"Eject ID":"Insert ID",onClick:function(){function C(){return u("id_card")}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[l.points!==null?l.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:l.points===null,content:"Reset",onClick:function(){function C(){return u("reset_points")}return C}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[l.goal!==null?l.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:l.goal===null,content:"Edit",onClick:function(){function C(){return(0,s.modalOpen)(c,"set_points")}return C}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:l.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:b.map(function(C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",C.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:C.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:C.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function g(){return(0,s.modalOpen)(c,"warn",{uid:C.uid})}return g}()})})]})]},C.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:v.map(function(C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",C.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:C.volume})}),h.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:C.volume1100?"purple":m>500?"orange":m>250?"yellow":"green"},k=function(m,l){for(var v=[],b=0;b0?"envelope-open-text":"envelope",onClick:function(){function g(){return l("setScreen",{setScreen:6})}return g}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Assistance",icon:"hand-paper",onClick:function(){function g(){return l("setScreen",{setScreen:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Supplies",icon:"box",onClick:function(){function g(){return l("setScreen",{setScreen:2})}return g}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Relay Anonymous Information",icon:"comment",onClick:function(){function g(){return l("setScreen",{setScreen:3})}return g}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print Shipping Label",icon:"tag",onClick:function(){function g(){return l("setScreen",{setScreen:9})}return g}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function g(){return l("setScreen",{setScreen:10})}return g}()})})]}),!!N&&(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function g(){return l("setScreen",{setScreen:8})}return g}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:h?"Speaker Off":"Speaker On",selected:!h,icon:h?"volume-mute":"volume-up",onClick:function(){function g(){return l("toggleSilent")}return g}()})})]})},V=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.department,N,h;switch(u.purpose){case"ASSISTANCE":N=v.assist_dept,h="Request assistance from another department";break;case"SUPPLIES":N=v.supply_dept,h="Request supplies from another department";break;case"INFO":N=v.info_dept,h="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:h,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function C(){return l("setScreen",{setScreen:0})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N.filter(function(C){return C!==b}).map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function g(){return l("writeInput",{write:C,priority:1})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function g(){return l("writeInput",{write:C,priority:2})}return g}()})]},C)})})})},k=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b;switch(u.type){case"SUCCESS":b="Message sent successfully";break;case"FAIL":b="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:b,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return l("setScreen",{setScreen:0})}return N}()})})},S=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b,N;switch(u.type){case"MESSAGES":b=v.message_log,N="Message Log";break;case"SHIPPING":b=v.shipping_log,N="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Section,{title:N,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return l("setScreen",{setScreen:0})}return h}()}),children:b.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{className:"RequestConsole__message",children:h},h)})})},p=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.recipient,N=v.message,h=v.msgVerified,C=v.msgStamped;return(0,e.createComponentVNode)(2,t.Section,{title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return l("setScreen",{setScreen:0})}return g}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:N}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:C})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function g(){return l("department",{department:b})}return g}()})]})},i=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.message,N=v.announceAuth;return(0,e.createComponentVNode)(2,t.Section,{title:"Station-Wide Announcement",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return l("setScreen",{setScreen:0})}return h}()}),children:[(0,e.createComponentVNode)(2,t.Button,{content:b||"Edit Message",icon:"edit",onClick:function(){function h(){return l("writeAnnouncement")}return h}()}),N?(0,e.createComponentVNode)(2,t.Box,{mt:1,color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{mt:1,children:"Swipe your ID card to authenticate yourself."}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(N&&b),onClick:function(){function h(){return l("sendAnnouncement")}return h}()})]})},c=function(u,d){var m=(0,a.useBackend)(d),l=m.act,v=m.data,b=v.shipDest,N=v.msgVerified,h=v.ship_dept;return(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function C(){return l("setScreen",{setScreen:0})}return C}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:N})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(b&&N),onClick:function(){function C(){return l("printLabel")}return C}()}),(0,e.createComponentVNode)(2,t.Section,{title:"Destinations",mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:(0,e.createComponentVNode)(2,t.Button,{content:b===C?"Selected":"Select",selected:b===C,onClick:function(){function g(){return l("shipSelect",{shipSelect:C})}return g}()})},C)})})})]})}},3786:function(I,r,n){"use strict";r.__esModule=!0,r.RequestManager=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595);/** + */var y=(0,t.createLogger)("hotkeys"),V={},k=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],S={},p=function(l){if(l===16)return"Shift";if(l===17)return"Ctrl";if(l===18)return"Alt";if(l===33)return"Northeast";if(l===34)return"Southeast";if(l===35)return"Southwest";if(l===36)return"Northwest";if(l===37)return"West";if(l===38)return"North";if(l===39)return"East";if(l===40)return"South";if(l===45)return"Insert";if(l===46)return"Delete";if(l>=48&&l<=57||l>=65&&l<=90)return String.fromCharCode(l);if(l>=96&&l<=105)return"Numpad"+(l-96);if(l>=112&&l<=123)return"F"+(l-111);if(l===188)return",";if(l===189)return"-";if(l===190)return"."},i=function(l){var v=String(l);if(v==="Ctrl+F5"||v==="Ctrl+R"){location.reload();return}if(v!=="Ctrl+F"&&!(l.event.defaultPrevented||l.isModifierKey()||k.includes(l.code))){v==="F5"&&(l.event.preventDefault(),l.event.returnValue=!1);var b=p(l.code);if(b){var g=V[b];if(g)return y.debug("macro",g),Byond.command(g);if(l.isDown()&&!S[b]){S[b]=!0;var h='KeyDown "'+b+'"';return y.debug(h),Byond.command(h)}if(l.isUp()&&S[b]){S[b]=!1;var C='KeyUp "'+b+'"';return y.debug(C),Byond.command(C)}}}},c=r.acquireHotKey=function(){function f(l){k.push(l)}return f}(),m=r.releaseHotKey=function(){function f(l){var v=k.indexOf(l);v>=0&&k.splice(v,1)}return f}(),u=r.releaseHeldKeys=function(){function f(){for(var l=0,v=Object.keys(S);l=75?c="green":i.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:i.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,i.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(m,u){return(0,e.createComponentVNode)(2,t.Box,{children:m},u)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.wireless?"check":"times",content:i.wireless?"Enabled":"Disabled",color:i.wireless?"green":"red",onClick:function(){function m(){return p("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:i.radio?"check":"times",content:i.radio?"Enabled":"Disabled",color:i.radio?"green":"red",onClick:function(){function m(){return p("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:i.flushing||i.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return p("wipe")}return m}()})})]})})})]})})})}return y}()},39454:function(I,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AIFixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(i.stat===2||i.stat===null)&&(c=!1);var m=null;i.integrity>=75?m="green":i.integrity>=25?m="yellow":m="red";var u=!0;return i.integrity>=100&&i.stat!==2&&(u=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:i.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:i.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!i.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:i.laws.map(function(d,f){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d},f)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.wireless?"times":"check",content:i.wireless?"Disabled":"Enabled",color:i.wireless?"red":"green",onClick:function(){function d(){return p("wireless")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.radio?"times":"check",content:i.radio?"Disabled":"Enabled",color:i.radio?"red":"green",onClick:function(){function d(){return p("radio")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!u||i.active,content:!u||i.active?"Already Repaired":"Repair",onClick:function(){function d(){return p("fix")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:i.active?"Reconstruction in progress.":""})]})})]})})})}return y}()},88422:function(I,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(195),y=r.APC=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),V={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"}},k={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},S=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.locked&&!d.siliconUser,l=d.normallyLocked,v=V[d.externalPower]||V[0],b=V[d.chargingStatus]||V[0],g=d.powerChannels||[],h=k[d.malfStatus]||k[0],C=d.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,s.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:v.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.isOperating?"power-off":"times",content:d.isOperating?"On":"Off",selected:d.isOperating&&!f,color:d.isOperating?"":"bad",disabled:f,onClick:function(){function N(){return u("breaker")}return N}()}),children:["[ ",v.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:C})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:b.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.chargeMode?"sync":"times",content:d.chargeMode?"Auto":"Off",selected:d.chargeMode,disabled:f,onClick:function(){function N(){return u("charge")}return N}()}),children:["[ ",b.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[g.map(function(N){var x=N.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:N.status>=2?"good":"bad",children:N.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!f&&(N.status===1||N.status===3),disabled:f,onClick:function(){function B(){return u("channel",x.auto)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!f&&N.status===2,disabled:f,onClick:function(){function B(){return u("channel",x.on)}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!f&&N.status===0,disabled:f,onClick:function(){function B(){return u("channel",x.off)}return B}()})],4),children:[N.powerLoad," W"]},N.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[d.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!d.siliconUser&&(0,e.createFragment)([!!d.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:h.icon,content:h.content,color:"bad",onClick:function(){function N(){return u(h.action)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function N(){return u("overload")}return N}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:d.coverLocked?"lock":"unlock",content:d.coverLocked?"Engaged":"Disengaged",disabled:f,onClick:function(){function N(){return u("cover")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:d.nightshiftLights?"Enabled":"Disabled",onClick:function(){function N(){return u("toggle_nightshift")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting Fallback",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:d.emergencyLights?"Engaged":"Disengaged",disabled:f,onClick:function(){function N(){return u("emergency_lighting")}return N}()})})]})})],4)}},99660:function(I,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ATM=function(){function m(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.view_screen,g=v.authenticated_account,h=v.ticks_left_locked_down,C=v.linked_db,N;if(h>0)N=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!C)N=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(g)switch(b){case 1:N=(0,e.createComponentVNode)(2,V);break;case 2:N=(0,e.createComponentVNode)(2,k);break;case 3:N=(0,e.createComponentVNode)(2,i);break;default:N=(0,e.createComponentVNode)(2,S)}else N=(0,e.createComponentVNode)(2,p);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Section,{children:N})]})})}return m}(),y=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.machine_id,g=v.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"eject",onClick:function(){function h(){return l("insert_card")}return h}()})})})]})},V=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:b===0,onClick:function(){function g(){return l("change_security_level",{new_security_level:0})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:b===1,onClick:function(){function g(){return l("change_security_level",{new_security_level:1})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Card and Account Pin",icon:"unlock",selected:b===2,onClick:function(){function g(){return l("change_security_level",{new_security_level:2})}return g}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number, pin and card are required to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=(0,a.useLocalState)(d,"targetAccNumber",0),g=b[0],h=b[1],C=(0,a.useLocalState)(d,"fundsAmount",0),N=C[0],x=C[1],B=(0,a.useLocalState)(d,"purpose",0),L=B[0],w=B[1],A=v.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function T(E,O){return h(O)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function T(E,O){return x(O)}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function T(E,O){return w(O)}return T}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function T(){return l("transfer",{target_acc_number:g,funds_amount:N,purpose:L})}return T}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},S=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=(0,a.useLocalState)(d,"fundsAmount",0),g=b[0],h=b[1],C=v.owner_name,N=v.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+C,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function x(){return l("logout")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",N]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(B,L){return h(L)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function x(){return l("withdrawal",{funds_amount:g})}return x}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function x(){return l("view_screen",{view_screen:1})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function x(){return l("view_screen",{view_screen:2})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function x(){return l("view_screen",{view_screen:3})}return x}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function x(){return l("balance_statement")}return x}()})})]})],4)},p=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=(0,a.useLocalState)(d,"accountID",null),g=b[0],h=b[1],C=(0,a.useLocalState)(d,"accountPin",null),N=C[0],x=C[1],B=v.machine_id,L=v.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,T){return h(T)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,T){return x(T)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function w(){return l("attempt_auth",{account_num:g,account_pin:N})}return w}()})})]})})},i=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),b.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:g.is_deposit?"green":"red",children:["$",g.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.target_name})]},g)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function b(){return l("view_screen",{view_screen:0})}return b}()})}},86423:function(I,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(36352),y=n(98595),V=n(321),k=n(5485),S=r.AccountsUplinkTerminal=function(){function d(f,l){var v=(0,t.useBackend)(l),b=v.act,g=v.data,h=g.loginState,C=g.currentPage,N;if(h.logged_in)C===1?N=(0,e.createComponentVNode)(2,p):C===2?N=(0,e.createComponentVNode)(2,m):C===3&&(N=(0,e.createComponentVNode)(2,u));else return(0,e.createComponentVNode)(2,y.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,k.LoginScreen)})})});return(0,e.createComponentVNode)(2,y.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:N})]})})})}return d}(),p=function(f,l){var v=(0,t.useBackend)(l),b=v.act,g=v.data,h=g.accounts,C=(0,t.useLocalState)(l,"searchText",""),N=C[0],x=C[1],B=(0,t.useLocalState)(l,"sortId","owner_name"),L=B[0],w=B[1],A=(0,t.useLocalState)(l,"sortOrder",!0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,i,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,i,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,i,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,i,{id:"money",children:"Account Balance"})]}),h.filter((0,a.createSearch)(N,function(O){return O.owner_name+"|"+O.account_number+"|"+O.suspended+"|"+O.money})).sort(function(O,P){var R=T?1:-1;return O[L].localeCompare(P[L])*R}).map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+O.suspended,onClick:function(){function P(){return b("view_account_detail",{index:O.account_index})}return P}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",O.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.money})]},O.account_number)})]})})})]})},i=function(f,l){var v=(0,t.useLocalState)(l,"sortId","name"),b=v[0],g=v[1],h=(0,t.useLocalState)(l,"sortOrder",!0),C=h[0],N=h[1],x=f.id,B=f.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:b!==x&&"transparent",width:"100%",onClick:function(){function L(){b===x?N(!C):(g(x),N(!0))}return L}(),children:[B,b===x&&(0,e.createComponentVNode)(2,o.Icon,{name:C?"sort-up":"sort-down",ml:"0.25rem;"})]})})},c=function(f,l){var v=(0,t.useBackend)(l),b=v.act,g=v.data,h=g.is_printing,C=(0,t.useLocalState)(l,"searchText",""),N=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function B(){return b("create_new_account")}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"print",content:"Print Account List",disabled:h,ml:"0.25rem",onClick:function(){function B(){return b("print_records")}return B}()})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function B(L,w){return x(w)}return B}()})})]})},m=function(f,l){var v=(0,t.useBackend)(l),b=v.act,g=v.data,h=g.account_number,C=g.owner_name,N=g.money,x=g.suspended,B=g.transactions;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+h+" / "+C,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function L(){return b("back")}return L}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",h]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:C}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:N}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:x?"red":"green",children:[x?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:x?"Unsuspend":"Suspend",icon:x?"unlock":"lock",onClick:function(){function L(){return b("toggle_suspension")}return L}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),B.map(function(L){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:L.is_deposit?"green":"red",children:["$",L.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:L.target_name})]},L)})]})})})]})},u=function(f,l){var v=(0,t.useBackend)(l),b=v.act,g=v.data,h=(0,t.useLocalState)(l,"accName",""),C=h[0],N=h[1],x=(0,t.useLocalState)(l,"accDeposit",""),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function w(){return b("back")}return w}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function w(A,T){return N(T)}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function w(A,T){return L(T)}return w}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function w(){return b("finalise_create_account",{holder_name:C,starting_funds:B})}return w}()})]})}},79571:function(I,r,n){"use strict";r.__esModule=!0,r.AgentCardSLSlots=r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=r.AgentCard=function(){function p(i,c){var m=(0,t.useLocalState)(c,"tabIndex",0),u=m[0],d=m[1],f=function(){function l(v){switch(v){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return(0,e.createComponentVNode)(2,V)}}return l}();return(0,e.createComponentVNode)(2,s.Window,{width:500,height:475,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===0,onClick:function(){function l(){return d(0)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"table"})," Card Info"]},"Card Info"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===1,onClick:function(){function l(){return d(1)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"id-card"})," Appearance"]},"Appearance"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:u===2,onClick:function(){function l(){return d(2)}return l}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"arrow-down"})," Save/Load Card Info"]},"Save/Load Card Info")]}),f(u)]})})})}return p}(),V=r.AgentCardInfo=function(){function p(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.registered_name,l=d.sex,v=d.age,b=d.assignment,g=d.associated_account_number,h=d.blood_type,C=d.dna_hash,N=d.fingerprint_hash,x=d.photo,B=d.ai_tracking;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Card Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Button,{content:f||"[UNSET]",onClick:function(){function L(){return u("change_name")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sex",children:(0,e.createComponentVNode)(2,o.Button,{iconRight:!1,content:l||"[UNSET]",onClick:function(){function L(){return u("change_sex")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Age",children:(0,e.createComponentVNode)(2,o.Button,{content:v||"[UNSET]",onClick:function(){function L(){return u("change_age")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Rank",children:(0,e.createComponentVNode)(2,o.Button,{content:b||"[UNSET]",onClick:function(){function L(){return u("change_occupation")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Fingerprints",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"[UNSET]",onClick:function(){function L(){return u("change_fingerprints")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Type",children:(0,e.createComponentVNode)(2,o.Button,{content:h||"[UNSET]",onClick:function(){function L(){return u("change_blood_type")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"DNA Hash",children:(0,e.createComponentVNode)(2,o.Button,{content:C||"[UNSET]",onClick:function(){function L(){return u("change_dna_hash")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Money Account",children:(0,e.createComponentVNode)(2,o.Button,{content:g||"[UNSET]",onClick:function(){function L(){return u("change_money_account")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo",children:(0,e.createComponentVNode)(2,o.Button,{content:x?"Update":"[UNSET]",onClick:function(){function L(){return u("change_photo")}return L}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Card Settings",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Card Info",children:(0,e.createComponentVNode)(2,o.Button,{content:"Delete Card Info",onClick:function(){function L(){return u("delete_info")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Access",children:(0,e.createComponentVNode)(2,o.Button,{content:"Reset Access",onClick:function(){function L(){return u("clear_access")}return L}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"AI Tracking",children:(0,e.createComponentVNode)(2,o.Button,{content:B?"Untrackable":"Trackable",onClick:function(){function L(){return u("change_ai_tracking")}return L}()})})]})})],4)}return p}(),k=r.AgentCardAppearances=function(){function p(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.appearances;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Card Appearance",children:f.map(function(l){return(0,e.createComponentVNode)(2,o.ImageButton,{tooltip:l,vertical:!0,asset:!0,style:{margin:"1px"},image:l,imageAsset:"id_card64x64",onclick:function(){function v(){return u("change_appearance_new",{new_appearance:l})}return v}()},l)})})}return p}(),S=r.AgentCardSLSlots=function(){function p(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.saved_info;return(0,e.createComponentVNode)(2,o.Section,{title:"Save/Load Manager",style:{"line-height":"25px"},children:(0,e.createComponentVNode)(2,o.LabeledList,{children:f.map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.registered_name?l.registered_name+", "+l.assignment:"Slot "+l.id,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Clear",onClick:function(){function v(){return u("clear_slot",{slot:l.id})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Save",onClick:function(){function v(){return u("save_slot",{slot:l.id})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Load",disabled:!l.registered_name,onClick:function(){function v(){return u("load_slot",{slot:l.id})}return v}()})],4)},l.id)})})})}return p}()},56793:function(I,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},y=r.AiAirlock=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=s[c.power.main]||s[0],u=s[c.power.backup]||s[0],d=s[c.shock]||s[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function f(){return i("disrupt-main")}return f}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function f(){return i("disrupt-backup")}return f}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:d.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function f(){return i("shock-restore")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function f(){return i("shock-temp")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function f(){return i("shock-perm")}return f}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function f(){return i("idscan-toggle")}return f}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function f(){return i("emergency-toggle")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function f(){return i("bolt-toggle")}return f}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function f(){return i("light-toggle")}return f}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function f(){return i("safe-toggle")}return f}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function f(){return i("speed-toggle")}return f}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function f(){return i("open-close")}return f}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return V}()},72475:function(I,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(195),y=r.AirAlarm=function(){function d(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:h?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,s.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,k),!h&&(0,e.createFragment)([(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)],4)]})})}return d}(),V=function(f){return f===0?"green":f===1?"orange":"red"},k=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.air,C=g.mode,N=g.atmos_alarm,x=g.locked,B=g.alarmActivated,L=g.rcon,w=g.target_temp,A;return h.danger.overall===0?N===0?A="Optimal":A="Caution: Atmos alert in area":h.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:h?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.pressure})," kPa",!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:C===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:C===3,icon:"exclamation-triangle",onClick:function(){function T(){return b("mode",{mode:C===3?1:3})}return T}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.oxygen/100,fractionDigits:"1",color:V(h.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.nitrogen/100,fractionDigits:"1",color:V(h.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.co2/100,fractionDigits:"1",color:V(h.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.plasma/100,fractionDigits:"1",color:V(h.danger.plasma)})}),h.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.n2o/100,fractionDigits:"1",color:V(h.danger.n2o)})}),h.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:h.contents.other/100,fractionDigits:"1",color:V(h.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature})," K /"," ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:w+" C",onClick:function(){function T(){return b("temperature")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:h.thermostat_state?"On":"Off",selected:h.thermostat_state,icon:"power-off",onClick:function(){function T(){return b("thermostat_state")}return T}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:V(h.danger.overall),children:[A,!x&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:B?"Reset Alarm":"Activate Alarm",selected:B,onClick:function(){function T(){return b(B?"atmos_reset":"atmos_alarm")}return T}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function T(){return b("set_rcon",{rcon:1})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function T(){return b("set_rcon",{rcon:2})}return T}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function T(){return b("set_rcon",{rcon:3})}return T}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},S=function(f,l){var v=(0,a.useLocalState)(l,"tabIndex",0),b=v[0],g=v[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===0,onClick:function(){function h(){return g(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===1,onClick:function(){function h(){return g(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===2,onClick:function(){function h(){return g(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:b===3,onClick:function(){function h(){return g(3)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},p=function(f,l){var v=(0,a.useLocalState)(l,"tabIndex",0),b=v[0],g=v[1];switch(b){case 0:return(0,e.createComponentVNode)(2,i);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,u);default:return"WE SHOULDN'T BE HERE!"}},i=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.vents;return h.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:C.power?"On":"Off",selected:C.power,icon:"power-off",onClick:function(){function N(){return b("command",{cmd:"power",val:C.power===1?0:1,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:C.direction==="release"?"Blowing":"Siphoning",icon:C.direction==="release"?"sign-out-alt":"sign-in-alt",onClick:function(){function N(){return b("command",{cmd:"direction",val:C.direction==="release"?0:1,id_tag:C.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:C.checks===1,onClick:function(){function N(){return b("command",{cmd:"checks",val:1,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:C.checks===2,onClick:function(){function N(){return b("command",{cmd:"checks",val:2,id_tag:C.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:C.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function N(){return b("command",{cmd:"set_external_pressure",id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function N(){return b("command",{cmd:"set_external_pressure",val:101.325,id_tag:C.id_tag})}return N}()})]})]})},C.name)})},c=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.scrubbers;return h.map(function(C){return(0,e.createComponentVNode)(2,t.Section,{title:C.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:C.power?"On":"Off",selected:C.power,icon:"power-off",onClick:function(){function N(){return b("command",{cmd:"power",val:C.power===1?0:1,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:C.scrubbing?"Scrubbing":"Siphoning",icon:C.scrubbing?"filter":"sign-in-alt",onClick:function(){function N(){return b("command",{cmd:"scrubbing",val:C.scrubbing===0?1:0,id_tag:C.id_tag})}return N}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:C.widenet?"Extended":"Normal",selected:C.widenet,icon:"expand-arrows-alt",onClick:function(){function N(){return b("command",{cmd:"widenet",val:C.widenet===0?1:0,id_tag:C.id_tag})}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:C.filter_co2,onClick:function(){function N(){return b("command",{cmd:"co2_scrub",val:C.filter_co2===0?1:0,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:C.filter_toxins,onClick:function(){function N(){return b("command",{cmd:"tox_scrub",val:C.filter_toxins===0?1:0,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:C.filter_n2o,onClick:function(){function N(){return b("command",{cmd:"n2o_scrub",val:C.filter_n2o===0?1:0,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:C.filter_o2,onClick:function(){function N(){return b("command",{cmd:"o2_scrub",val:C.filter_o2===0?1:0,id_tag:C.id_tag})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:C.filter_n2,onClick:function(){function N(){return b("command",{cmd:"n2_scrub",val:C.filter_n2===0?1:0,id_tag:C.id_tag})}return N}()})]})]})},C.name)})},m=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.modes,C=g.presets,N=g.emagged,x=g.mode,B=g.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:h.map(function(L){return(!L.emagonly||L.emagonly&&!!N)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===x,onClick:function(){function w(){return b("mode",{mode:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:C.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===B,onClick:function(){function w(){return b("preset",{preset:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},u=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),h.map(function(C){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:C.name}),C.settings.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:N.selected===-1?"Off":N.selected,onClick:function(){function x(){return b("command",{cmd:"set_threshold",env:N.env,var:N.val})}return x}()})},N.val)})]},C.name)})]})})}},12333:function(I,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AirlockAccessController=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.exterior_status,m=i.interior_status,u=i.processing,d,f;return c==="open"?d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:u,onClick:function(){function l(){return p("force_ext")}return l}()}):d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:u,onClick:function(){function l(){return p("cycle_ext_door")}return l}()}),m==="open"?f=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:u,color:m==="open"?"red":u?"yellow":null,onClick:function(){function l(){return p("force_int")}return l}()}):f=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:u,onClick:function(){function l(){return p("cycle_int_door")}return l}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[d,f]})})]})})}return y}()},28736:function(I,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49148),y=1,V=2,k=4,S=8,p=r.AirlockElectronics=function(){function m(u,d){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})})}return m}(),i=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:b&k?"selected":null,onClick:function(){function g(){return l("unrestricted_access",{unres_dir:k})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:b&V?"selected":null,onClick:function(){function g(){return l("unrestricted_access",{unres_dir:V})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:b&S?"selected":null,onClick:function(){function g(){return l("unrestricted_access",{unres_dir:S})}return g}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:b&y?"selected":null,onClick:function(){function g(){return l("unrestricted_access",{unres_dir:y})}return g}()})})]})]})})},c=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.selected_accesses,g=v.one_access,h=v.regions;return(0,e.createComponentVNode)(2,s.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function C(){return l("set_one_access",{access:"one"})}return C}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,content:"All",onClick:function(){function C(){return l("set_one_access",{access:"all"})}return C}()})],4),accesses:h,selectedList:b,accessMod:function(){function C(N){return l("set",{access:N})}return C}(),grantAll:function(){function C(){return l("grant_all")}return C}(),denyAll:function(){function C(){return l("clear_all")}return C}(),grantDep:function(){function C(N){return l("grant_region",{region:N})}return C}(),denyDep:function(){function C(N){return l("deny_region",{region:N})}return C}()})}},47365:function(I,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),s=n(36036),y=n(98595),V=-1,k=1,S=r.AlertModal=function(){function c(m,u){var d=(0,t.useBackend)(u),f=d.act,l=d.data,v=l.autofocus,b=l.buttons,g=b===void 0?[]:b,h=l.large_buttons,C=l.message,N=C===void 0?"":C,x=l.timeout,B=l.title,L=(0,t.useLocalState)(u,"selected",0),w=L[0],A=L[1],T=110+(N.length>30?Math.ceil(N.length/4):0)+(N.length&&h?5:0),E=325+(g.length>2?100:0),O=function(){function P(R){w===0&&R===V?A(g.length-1):w===g.length-1&&R===k?A(0):A(w+R)}return P}();return(0,e.createComponentVNode)(2,y.Window,{title:B,height:T,width:E,children:[!!x&&(0,e.createComponentVNode)(2,a.Loader,{value:x}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function P(R){var F=window.event?R.which:R.keyCode;F===o.KEY_SPACE||F===o.KEY_ENTER?f("choose",{choice:g[w]}):F===o.KEY_ESCAPE?f("cancel"):F===o.KEY_LEFT?(R.preventDefault(),O(V)):(F===o.KEY_TAB||F===o.KEY_RIGHT)&&(R.preventDefault(),O(k))}return P}(),children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,s.Box,{color:"label",overflow:"hidden",children:N})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:[!!v&&(0,e.createComponentVNode)(2,s.Autofocus),(0,e.createComponentVNode)(2,p,{selected:w})]})]})})})]})}return c}(),p=function(m,u){var d=(0,t.useBackend)(u),f=d.data,l=f.buttons,v=l===void 0?[]:l,b=f.large_buttons,g=f.swapped_buttons,h=m.selected;return(0,e.createComponentVNode)(2,s.Flex,{fill:!0,align:"center",direction:g?"row":"row-reverse",justify:"space-around",wrap:!0,children:v==null?void 0:v.map(function(C,N){return b&&v.length<3?(0,e.createComponentVNode)(2,s.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{button:C,id:N.toString(),selected:h===N})},N):(0,e.createComponentVNode)(2,s.Flex.Item,{grow:b?1:0,children:(0,e.createComponentVNode)(2,i,{button:C,id:N.toString(),selected:h===N})},N)})})},i=function(m,u){var d=(0,t.useBackend)(u),f=d.act,l=d.data,v=l.large_buttons,b=m.button,g=m.selected,h=b.length>7?"100%":7;return(0,e.createComponentVNode)(2,s.Button,{mx:v?1:0,pt:v?.33:0,content:b,fluid:!!v,onClick:function(){function C(){return f("choose",{choice:b})}return C}(),selected:g,textAlign:"center",height:!!v&&2,width:!v&&h})}},71824:function(I,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AppearanceChanger=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.change_race,u=c.species,d=c.specimen,f=c.change_gender,l=c.gender,v=c.has_gender,b=c.change_eye_color,g=c.change_skin_tone,h=c.change_skin_color,C=c.change_head_accessory_color,N=c.change_hair_color,x=c.change_secondary_hair_color,B=c.change_facial_hair_color,L=c.change_secondary_facial_hair_color,w=c.change_head_marking_color,A=c.change_body_marking_color,T=c.change_tail_marking_color,E=c.change_head_accessory,O=c.head_accessory_styles,P=c.head_accessory_style,R=c.change_hair,F=c.hair_styles,j=c.hair_style,W=c.change_hair_gradient,H=c.change_facial_hair,z=c.facial_hair_styles,Y=c.facial_hair_style,G=c.change_head_markings,ne=c.head_marking_styles,Q=c.head_marking_style,he=c.change_body_markings,Ve=c.body_marking_styles,Ne=c.body_marking_style,Be=c.change_tail_markings,Le=c.tail_marking_styles,Ae=c.tail_marking_style,fe=c.change_body_accessory,Z=c.body_accessory_styles,J=c.body_accessory_style,te=c.change_alt_head,ee=c.alt_head_styles,le=c.alt_head_style,ye=!1;return(b||g||h||C||N||x||B||L||w||A||T)&&(ye=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:u.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.specimen,selected:me.specimen===d,onClick:function(){function Te(){return i("race",{race:me.specimen})}return Te}()},me.specimen)})}),!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:l==="male",onClick:function(){function me(){return i("gender",{gender:"male"})}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:l==="female",onClick:function(){function me(){return i("gender",{gender:"female"})}return me}()}),!v&&(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:l==="plural",onClick:function(){function me(){return i("gender",{gender:"plural"})}return me}()})]}),!!ye&&(0,e.createComponentVNode)(2,y),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:O.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.headaccessorystyle,selected:me.headaccessorystyle===P,onClick:function(){function Te(){return i("head_accessory",{head_accessory:me.headaccessorystyle})}return Te}()},me.headaccessorystyle)})}),!!R&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:F.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.hairstyle,selected:me.hairstyle===j,onClick:function(){function Te(){return i("hair",{hair:me.hairstyle})}return Te}()},me.hairstyle)})}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function me(){return i("hair_gradient")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function me(){return i("hair_gradient_offset")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function me(){return i("hair_gradient_colour")}return me}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function me(){return i("hair_gradient_alpha")}return me}()})]}),!!H&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:z.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.facialhairstyle,selected:me.facialhairstyle===Y,onClick:function(){function Te(){return i("facial_hair",{facial_hair:me.facialhairstyle})}return Te}()},me.facialhairstyle)})}),!!G&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:ne.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.headmarkingstyle,selected:me.headmarkingstyle===Q,onClick:function(){function Te(){return i("head_marking",{head_marking:me.headmarkingstyle})}return Te}()},me.headmarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:Ve.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.bodymarkingstyle,selected:me.bodymarkingstyle===Ne,onClick:function(){function Te(){return i("body_marking",{body_marking:me.bodymarkingstyle})}return Te}()},me.bodymarkingstyle)})}),!!Be&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:Le.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.tailmarkingstyle,selected:me.tailmarkingstyle===Ae,onClick:function(){function Te(){return i("tail_marking",{tail_marking:me.tailmarkingstyle})}return Te}()},me.tailmarkingstyle)})}),!!fe&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:Z.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.bodyaccessorystyle,selected:me.bodyaccessorystyle===J,onClick:function(){function Te(){return i("body_accessory",{body_accessory:me.bodyaccessorystyle})}return Te}()},me.bodyaccessorystyle)})}),!!te&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:ee.map(function(me){return(0,e.createComponentVNode)(2,t.Button,{content:me.altheadstyle,selected:me.altheadstyle===le,onClick:function(){function Te(){return i("alt_head",{alt_head:me.altheadstyle})}return Te}()},me.altheadstyle)})})]})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(u){return!!c[u.key]&&(0,e.createComponentVNode)(2,t.Button,{content:u.text,onClick:function(){function d(){return i(u.action)}return d}()},u.key)})})}},72285:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosAlertConsole=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.priority||[],m=i.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(u){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u,color:"bad",onClick:function(){function d(){return p("clear",{zone:u})}return d}()}),2,null,u)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(u){return(0,e.createVNode)(1,"li",null,(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u,color:"average",onClick:function(){function d(){return p("clear",{zone:u})}return d}()}),2,null,u)})],0)})})})}return y}()},65805:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),s=n(98595),y=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},V=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},k=r.AtmosControl=function(){function i(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=(0,a.useLocalState)(m,"tabIndex",0),v=l[0],b=l[1],g=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,S);case 1:return(0,e.createComponentVNode)(2,p);default:return"WE SHOULDN'T BE HERE!"}}return h}();return(0,e.createComponentVNode)(2,s.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:v===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),g(v)]})})})}return i}(),S=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:v.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:y(v.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function b(){return d("open_alarm",{aref:v.ref})}return b}()})})]},v.name)})]})})},p=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.alarms,v=f.stationLevelNum,b=f.stationLevelName,g=(0,a.useLocalState)(m,"zoom",1),h=g[0],C=g[1],N=(0,a.useLocalState)(m,"z_current",v[0]),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{onZoom:function(){function L(w){return C(w)}return L}(),zLevels:v,zNames:b,z_current:x,setZCurrent:B,children:l.map(function(L){return(0,e.createComponentVNode)(2,t.NanoMap.Marker,{x:L.x,y:L.y,z:L.z,z_current:x,zoom:h,icon:"circle",tooltip:L.name,color:V(L.danger),onClick:function(){function w(){return d("open_alarm",{aref:L.ref})}return w}()},L.ref)})})})}},87816:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosFilter=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,m=i.pressure,u=i.max_pressure,d=i.filter_type,f=i.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function l(){return p("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return p("min_pressure")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:m,onDrag:function(){function l(v,b){return p("custom_pressure",{pressure:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===u,width:2.2,onClick:function(){function l(){return p("max_pressure")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:f.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{selected:l.gas_type===d,content:l.label,onClick:function(){function v(){return p("set_filter",{filter:l.gas_type})}return v}()},l.label)})})]})})})})}return y}()},52977:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosMixer=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.on,u=c.pressure,d=c.max_pressure,f=c.node1_concentration,l=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function v(){return i("power")}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:u===0,width:2.2,onClick:function(){function v(){return i("min_pressure")}return v}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:u,onDrag:function(){function v(b,g){return i("custom_pressure",{pressure:g})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:u===d,width:2.2,onClick:function(){function v(){return i("max_pressure")}return v}()})]}),(0,e.createComponentVNode)(2,y,{node_name:"Node 1",node_ref:f}),(0,e.createComponentVNode)(2,y,{node_name:"Node 2",node_ref:l})]})})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=k.node_name,u=k.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:u===0,onClick:function(){function d(){return i("set_node",{node_name:m,concentration:(u-10)/100})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:u,onChange:function(){function d(f,l){return i("set_node",{node_name:m,concentration:l/100})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:u===100,onClick:function(){function d(){return i("set_node",{node_name:m,concentration:(u+10)/100})}return d}()})]})}},11748:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.AtmosPump=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,m=i.rate,u=i.max_rate,d=i.gas_unit,f=i.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function l(){return p("power")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function l(){return p("min_rate")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:f,minValue:0,maxValue:u,value:m,onDrag:function(){function l(v,b){return p("custom_rate",{rate:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===u,width:2.2,onClick:function(){function l(){return p("max_rate")}return l}()})]})]})})})})}return y}()},76511:function(I,r,n){"use strict";r.__esModule=!0,r.AutoDoc=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(39473),y=r.AutoDoc=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.HasTray,u=c.TguiIcons,d=c.occupant,f=c.isHealing,l=c.fixtimer,v=c.healtimer,b=(0,a.useLocalState)(S,"ChoosePart","chest"),g=b[0],h=b[1];return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",resizable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{width:"100%",children:[(0,e.createComponentVNode)(2,s.FlexItem,{basis:"30%",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+u.human,style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"img",null,null,1,{height:"256px",width:"256px",src:"data:image/jpeg;base64,"+u[g],style:{position:"absolute","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})]}),(0,e.createComponentVNode)(2,s.FlexItem,{basis:"70%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Info",buttons:(0,e.createFragment)([Object.keys(u).map(function(C){return C!=="human"&&(0,e.createComponentVNode)(2,t.Button,{content:C,selected:C===g,onClick:function(){function N(){return h(C)}return N}(),z:!0},C)}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:m?"Eject Tray":"Reject Tray",locked:f,onClick:function(){function C(){return i("ChangeTrayState")}return C}()})],0),children:(0,e.createComponentVNode)(2,t.Box,{children:[!!(d[g]&&d[g].extOrgan)&&d[g].extOrgan.map(function(C){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,C.name,0),(0,e.createVNode)(1,"br"),C.open?"opened":"",C.broken?"broken":"",!!C.broken&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:f,onClick:function(){function N(){return i("FixOrgan",{organ:C.name,type:"fracture"})}return N}()}),(0,e.createVNode)(1,"br")],4),C.internalBleeding?"bleeding":"",!!C.internalBleeding&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Fix",style:{"margin-left":"30px"},locked:f,onClick:function(){function N(){return i("FixOrgan",{organ:C.name,type:"bleeding"})}return N}()}),(0,e.createVNode)(1,"br")],4),(0,e.createTextVNode)("Internals:"),(0,e.createComponentVNode)(2,t.Button,{content:"Complete",style:{"margin-left":"10px"},locked:f,onClick:function(){function N(){return i("FixOrgan",{organ:C.name,type:"completeInternal"})}return N}()}),(0,e.createVNode)(1,"br"),C.dead?"dead":"",!!C.dead&&(0,e.createVNode)(1,"br"),C.germ_level?"Germ level is "+C.germ_level:"",!!C.germ_level&&(0,e.createVNode)(1,"br"),C.totalLoss?"Total damage is "+C.totalLoss:"",(0,e.createVNode)(1,"br")],0,C.name)}),!!(d[g]&&d[g].intOrgan)&&d[g].intOrgan.map(function(C){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,C.name,0),(0,e.createComponentVNode)(2,t.Button,{content:"Remove",style:{"margin-left":"1.5rem"},locked:f,onClick:function(){function N(){return i("FixOrgan",{organ:C.name,type:"remove"})}return N}()}),(0,e.createVNode)(1,"br"),C.dead?"dead":"",!!C.dead&&(0,e.createVNode)(1,"br"),C.germ_level?"Germ level is "+C.germ_level:"",!!C.germ_level&&(0,e.createVNode)(1,"br"),C.totalLoss?"Total damage is "+C.damage:"",!!C.totalLoss&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Heal",style:{"margin-left":"30px"},locked:f,onClick:function(){function N(){return i("FixOrgan",{organ:C.name,type:"damage"})}return N}()}),(0,e.createVNode)(1,"br")],4)],0,C.name)}),!!d.TotalBruteBurn&&(0,e.createFragment)([(0,e.createTextVNode)("Total external damage is "),d.TotalBruteBurn,(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Start Healing",onClick:function(){function C(){return i("HealBruteBurn")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{style:{"margin-left":"30px"},content:"Reattach externals",onClick:function(){function C(){return i("CompleteExternal")}return C}()})],0),(0,e.createVNode)(1,"br"),!!l&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Fixing organ: "),l],0),!!v&&(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Healing external damage: "),v],0)]})})})]})})})}return V}()},59179:function(I,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(25328),k=function(i,c,m,u){return i.requirements===null?!0:!(i.requirements.metal*u>c||i.requirements.glass*u>m)},S=r.Autolathe=function(){function p(i,c){var m=(0,o.useBackend)(c),u=m.act,d=m.data,f=d.total_amount,l=d.max_amount,v=d.metal_amount,b=d.glass_amount,g=d.busyname,h=d.busyamt,C=d.showhacked,N=d.buildQueue,x=d.buildQueueLen,B=d.recipes,L=d.categories,w=(0,o.useSharedState)(c,"category",0),A=w[0],T=w[1];A===0&&(A="Tools");var E=v.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),O=b.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=f.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),R=(0,o.useSharedState)(c,"search_text",""),F=R[0],j=R[1],W=(0,V.createSearch)(F,function(G){return G.name}),H="";x>0&&(H=N.map(function(G,ne){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,s.Button,{fluid:!0,icon:"times",color:"transparent",content:N[ne][0],onClick:function(){function Q(){return u("remove_from_queue",{remove_from_queue:N.indexOf(G)+1})}return Q}()},G)},ne)}));var z=(0,a.flow)([(0,t.filter)(function(G){return(G.category.indexOf(A)>-1||F)&&(d.showhacked||!G.hacked)}),F&&(0,t.filter)(W),(0,t.sortBy)(function(G){return G.name.toLowerCase()})])(B),Y="Build";return F?Y="Results for: '"+F+"':":A&&(Y="Build ("+A+")"),(0,e.createComponentVNode)(2,y.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:Y,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function G(ne){return T(ne)}return G}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function G(ne,Q){return j(Q)}return G}(),mb:1}),z.map(function(G){return(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+G.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===1,disabled:!k(G,d.metal_amount,d.glass_amount,1),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:1})}return ne}(),children:(0,V.toTitleCase)(G.name)}),G.max_multiplier>=10&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===10,disabled:!k(G,d.metal_amount,d.glass_amount,10),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:10})}return ne}(),children:"10x"}),G.max_multiplier>=25&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===25,disabled:!k(G,d.metal_amount,d.glass_amount,25),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:25})}return ne}(),children:"25x"}),G.max_multiplier>25&&(0,e.createComponentVNode)(2,s.Button,{mr:1,icon:"hammer",selected:d.busyname===G.name&&d.busyamt===G.max_multiplier,disabled:!k(G,d.metal_amount,d.glass_amount,G.max_multiplier),onClick:function(){function ne(){return u("make",{make:G.uid,multiplier:G.max_multiplier})}return ne}(),children:[G.max_multiplier,"x"]}),G.requirements&&Object.keys(G.requirements).map(function(ne){return(0,V.toTitleCase)(ne)+": "+G.requirements[ne]}).join(", ")||(0,e.createComponentVNode)(2,s.Box,{children:"No resources required."})]},G.ref)})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,s.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Glass",children:O}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Total",children:P}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Storage",children:[d.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,s.Section,{title:"Building",children:(0,e.createComponentVNode)(2,s.Box,{color:g?"green":"",children:g||"Nothing"})}),(0,e.createComponentVNode)(2,s.Section,{title:"Build Queue",height:23.7,children:[H,(0,e.createComponentVNode)(2,s.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!d.buildQueueLen,onClick:function(){function G(){return u("clear_queue")}return G}()})]})]})]})})})}return p}()},64273:function(I,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(62411),y=r.Biogenerator=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.data,d=m.config,f=u.container,l=u.processing,v=d.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Operating,{operating:l,name:v}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),V=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.biomass,l=d.container,v=d.container_curr_reagents,b=d.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:f}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),l?(0,e.createComponentVNode)(2,t.ProgressBar,{value:v,maxValue:b,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:v+" / "+b+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.has_plants,l=d.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!f,tooltip:f?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function v(){return u("activate")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!l,tooltip:l?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function v(){return u("detach_container")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!f,tooltip:f?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function v(){return u("eject_plants")}return v}()})})]})})},S=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.biomass,l=d.product_list,v=d.container,b=(0,a.useSharedState)(c,"vendAmount",1),g=b[0],h=b[1],C=Object.entries(l).map(function(N,x){var B=Object.entries(N[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:N[0],open:!0,children:B.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*g,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:L.needs_container&&!v?(0,e.createComponentVNode)(2,t.Button,{content:"No container",disabled:!0,icon:"flask",tooltip:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043B\u044E\u0431\u043E\u0439 \u043A\u043E\u043D\u0442\u0435\u0439\u043D\u0435\u0440 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438"}):(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:f0?Math.floor(A/u):0,P=m?"@?%%!\u2116@"+u:u,R=A>=u,F=d-d%5+(d%5>0?5:0);return(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0435 \u0420\u0430\u0437\u043B\u043E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Box,{color:"silver",bold:!0,children:B}),(0,e.createComponentVNode)(2,t.ProgressBar,{color:E===0?"bad":E<100?"average":"good",value:w,maxValue:L,mt:1,mb:2,children:[E<=100?E:100," %"]}),(0,e.createComponentVNode)(2,t.Box,{children:["\u0414\u0430\u043D\u043D\u044B\u0435 \u0434\u043B\u044F \u0437\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F: ",(0,e.createComponentVNode)(2,t.Box,{color:A?R?"good":"average":"bad",as:"span",children:Math.floor(A)}),(0,e.createComponentVNode)(2,t.Button,{icon:"atom",tooltip:"\u0414\u043B\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0437\u043E\u043D\u0434\u0438\u0440\u0443\u044E\u0449\u0435\u0433\u043E \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u0430 \u043D\u0443\u0436\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C "+P+" \u0434\u0430\u043D\u043D\u044B\u0445.",content:d>0?"\u041F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0430 "+F+" \u0441\u0435\u043A\u0443\u043D\u0434":"\u0417\u043E\u043D\u0434\u0438\u0440\u043E\u0432\u0430\u0442\u044C ("+O+")",disabled:!R||d>0,onClick:function(){function j(){return i("probe",{rift_id:x})}return j}(),mx:2}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:T?"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D":"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",disabled:T||E<100,onClick:function(){function j(){return i("reward",{rift_id:x})}return j}(),mt:1.4})]})]})}return C}(),g=function(){function C(N){var x=N.servName,B=N.servData;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x,children:B.length?B.map(function(L,w){return(0,e.createComponentVNode)(2,t.Box,{children:[L.riftName," \u2014 ",Math.floor(L.probePoints)," ","\u0434\u0430\u043D\u043D\u044B\u0445."]},w)}):(0,e.createComponentVNode)(2,t.Box,{children:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445"})})}return C}(),h=function(){function C(N){var x=N.scannerId,B=N.scannerName,L=N.scanStatus,w=N.canSwitch,A=N.switching,T=s[L],E=function(){function P(){if(T==="OFF")return[" ","silver"];if(T==="NO_RIFTS")return["\u041D\u0435\u0442 \u0440\u0430\u0437\u043B\u043E\u043C\u043E\u0432","silver"];if(T==="SOME_RIFTS")return["\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442","good"];if(T==="DANGER")return["\u041E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C! \u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0441\u043A\u0430\u043D\u0435\u0440!","bad"]}return P}(),O=E();return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B,py:0,children:[A?(0,e.createComponentVNode)(2,t.Icon,{name:"circle-notch",color:"silver",spin:!0,ml:1.85,mr:1.79,my:.84}):w?(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",color:T==="OFF"?"bad":"good",onClick:function(){function P(){return i("toggle_scanner",{scanner_id:x})}return P}(),ml:1,mr:1}):(0,e.createComponentVNode)(2,t.Icon,{name:"power-off",color:T==="OFF"?"bad":"good",ml:1.85,mr:1.79,my:.84}),T!=="OFF"&&(0,e.createComponentVNode)(2,t.Box,{as:"span",color:O[1],children:O[0]})]})}return C}();return(0,e.createComponentVNode)(2,o.Window,{width:570,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[f&&f.map(function(C){return b(C)}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043A\u0430\u043D\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:v&&v.map(function(C){return h(C)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0435\u0440\u0432\u0435\u0440\u044B \u0432 \u0441\u0435\u0442\u0438",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:l&&l.map(function(C){return g(C)})})})]})})}return V}()},27629:function(I,r,n){"use strict";r.__esModule=!0,r.BluespaceTap=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49968),y=r.BluespaceTap=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.product||[],u=c.desiredLevel,d=c.inputLevel,f=c.points,l=c.totalPoints,v=c.powerUse,b=c.availablePower,g=c.maxLevel,h=c.emagged,C=c.safeLevels,N=c.nextLevelPower,x=u>d&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Safety Protocols disabled"}),d>C&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"High Power, Instability likely"}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u===0,tooltip:"Set to 0",onClick:function(){function B(){return i("set",{set_level:0})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:u===0,onClick:function(){function B(){return i("set",{set_level:d})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:u===0,tooltip:"Decrease one step",onClick:function(){function B(){return i("decrease")}return B}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{value:u,fillValue:d,minValue:0,color:x,maxValue:g,stepPixelSize:20,step:1,onChange:function(){function B(L,w){return i("set",{set_level:w})}return B}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:u===g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function B(){return i("increase")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u===g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function B(){return i("set",{set_level:g})}return B}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Power Use",children:(0,s.formatPower)(v)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power for next level",children:(0,s.formatPower)(N)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,s.formatPower)(b)})]})})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:f}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:l})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(B){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:B.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:B.price>=f,onClick:function(){function L(){return i("vend",{target:B.key})}return L}(),content:B.price})},B.key)})})})})]})})]})})})}return V}()},33758:function(I,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),s=n(36036),y=n(98595),V=[["good","Alive"],["average","Critical"],["bad","DEAD"]],k=[["hasBorer","bad","Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."],["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],S=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radioactive","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],p={average:[.25,.5],bad:[.5,1/0]},i=function(x,B){for(var L=[],w=0;w0?x.filter(function(B){return!!B}).reduce(function(B,L){return(0,e.createFragment)([B,(0,e.createComponentVNode)(2,s.Box,{children:L},L)],0)},null):null},m=function(x){if(x>100){if(x<300)return"mild infection";if(x<400)return"mild infection+";if(x<500)return"mild infection++";if(x<700)return"acute infection";if(x<800)return"acute infection+";if(x<900)return"acute infection++";if(x>=900)return"septic"}return""},u=r.BodyScanner=function(){function N(x,B){var L=(0,o.useBackend)(B),w=L.data,A=w.occupied,T=w.occupant,E=T===void 0?{}:T,O=A?(0,e.createComponentVNode)(2,d,{occupant:E}):(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,y.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:O})})}return N}(),d=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,f,{occupant:B}),(0,e.createComponentVNode)(2,l,{occupant:B}),(0,e.createComponentVNode)(2,v,{occupant:B}),(0,e.createComponentVNode)(2,g,{organs:B.extOrgan}),(0,e.createComponentVNode)(2,h,{organs:B.intOrgan})]})},f=function(x,B){var L=(0,o.useBackend)(B),w=L.act,A=L.data,T=A.occupant;return(0,e.createComponentVNode)(2,s.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Button,{icon:"print",onClick:function(){function E(){return w("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,s.Button,{icon:"user-slash",onClick:function(){function E(){return w("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Name",children:T.name}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Status",color:V[T.stat][0],children:V[T.stat][1]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,s.AnimatedNumber,{value:(0,a.round)(T.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,s.AnimatedNumber,{value:(0,a.round)(T.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Implants",children:T.implant_len?(0,e.createComponentVNode)(2,s.Box,{children:T.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"None"})})]})})},l=function(x){var B=x.occupant;return B.hasBorer||B.blind||B.colourblind||B.nearsighted||B.hasVirus?(0,e.createComponentVNode)(2,s.Section,{title:"Abnormalities",children:k.map(function(L,w){if(B[L[0]])return(0,e.createComponentVNode)(2,s.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,s.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No abnormalities found."})})},v=function(x){var B=x.occupant;return(0,e.createComponentVNode)(2,s.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,s.Table,{children:i(S,function(L,w,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:!!w&&w[0]+":"})]}),(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:(0,e.createComponentVNode)(2,b,{value:B[L[1]],marginBottom:A100)&&"average"||!!B.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,s.ProgressBar,{m:-.5,min:"0",max:B.maxHealth,mt:L>0&&"0.5rem",value:B.totalLoss/B.maxHealth,ranges:p,children:(0,e.createComponentVNode)(2,s.Stack,{children:[(0,e.createComponentVNode)(2,s.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(B.totalLoss)]})}),!!B.bruteLoss&&(0,e.createComponentVNode)(2,s.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,s.Icon,{name:"bone",mr:.5}),(0,a.round)(B.bruteLoss)]})}),!!B.fireLoss&&(0,e.createComponentVNode)(2,s.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"fire",mr:.5}),(0,a.round)(B.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,s.Box,{color:"average",inline:!0,children:c([!!B.internalBleeding&&"Internal bleeding",!!B.burnWound&&"Critical tissue burns",!!B.lungRuptured&&"Ruptured lung",!!B.status.broken&&B.status.broken,m(B.germ_level),!!B.open&&"Open incision"])}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:[c([!!B.status.splinted&&(0,e.createComponentVNode)(2,s.Box,{color:"good",children:"Splinted"}),!!B.status.robotic&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Robotic"}),!!B.status.dead&&(0,e.createComponentVNode)(2,s.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(B.shrapnel.map(function(w){return w.known?w.name:"Unknown object"}))]})]})]},L)})]})})},h=function(x){return x.organs.length===0?(0,e.createComponentVNode)(2,s.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,s.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,s.Table,{children:[(0,e.createComponentVNode)(2,s.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",children:"Injuries"})]}),x.organs.map(function(B,L){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{color:!!B.dead&&"bad"||B.germ_level>100&&"average"||B.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(B.name)}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:B.maxHealth,value:B.damage/B.maxHealth,mt:L>0&&"0.5rem",ranges:p,children:(0,a.round)(B.damage)})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,s.Box,{color:"average",inline:!0,children:c([m(B.germ_level)])}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:c([B.robotic===1&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Robotic"}),B.robotic===2&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"Assisted"}),!!B.dead&&(0,e.createComponentVNode)(2,s.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},C=function(){return(0,e.createComponentVNode)(2,s.Section,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,s.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},42570:function(I,r,n){"use strict";r.__esModule=!0,r.BorgPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BorgPanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.borg||{},m=i.cell||{},u=m.charge/m.maxcharge,d=i.channels||[],f=i.modules||[],l=i.upgrades||[],v=i.ais||[],b=i.laws||[];return(0,e.createComponentVNode)(2,o.Window,{title:"Borg Panel",width:700,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:c.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function g(){return p("rename")}return g}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:c.emagged?"check-square-o":"square-o",content:"Emagged",selected:c.emagged,onClick:function(){function g(){return p("toggle_emagged")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.lockdown?"check-square-o":"square-o",content:"Locked Down",selected:c.lockdown,onClick:function(){function g(){return p("toggle_lockdown")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.scrambledcodes?"check-square-o":"square-o",content:"Scrambled Codes",selected:c.scrambledcodes,onClick:function(){function g(){return p("toggle_scrambledcodes")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset Module",onClick:function(){function g(){return p("reset_module")}return g}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge",children:[m.missing?(0,e.createVNode)(1,"span","color-bad","No cell installed",16):(0,e.createComponentVNode)(2,t.ProgressBar,{value:u,children:m.charge+" / "+m.maxcharge}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Set",onClick:function(){function g(){return p("set_charge")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Change",onClick:function(){function g(){return p("change_cell")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",content:"Remove",color:"bad",onClick:function(){function g(){return p("remove_cell")}return g}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radio Channels",children:d.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:g.installed?"check-square-o":"square-o",content:g.name,selected:g.installed,onClick:function(){function h(){return p("toggle_radio",{channel:g.name})}return h}()},g.name)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Model",children:f.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:c.active_module===g.name?"check-square-o":"square-o",content:g.name+" module",selected:c.active_module===g.name,onClick:function(){function h(){return p("setmodule",{module:g.name})}return h}()},g.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Upgrades",children:l.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:g.installed?"check-square-o":"square-o",content:g.name,selected:g.installed,onClick:function(){function h(){return p("toggle_upgrade",{upgrade:g.type})}return h}()},g.type)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:v.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{icon:g.connected?"check-square-o":"square-o",content:g.name,selected:g.connected,onClick:function(){function h(){return p("slavetoai",{slavetoai:g.ref})}return h}()},g.ref)})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Laws",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Law Manager",selected:c.lawmanager,onClick:function(){function g(){return p("lawmanager")}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:c.lawupdate?"check-square-o":"square-o",content:"Lawsync",selected:c.lawupdate,onClick:function(){function g(){return p("toggle_lawupdate")}return g}()})],4),children:b.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:g},g)})})]})})}return y}()},20464:function(I,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BotClean=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.locked,m=i.noaccess,u=i.maintpanel,d=i.on,f=i.autopatrol,l=i.canhack,v=i.emagged,b=i.remote_disabled,g=i.painame,h=i.cleanblood;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",c?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:m,onClick:function(){function C(){return p("power")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:f,content:"Auto Patrol",disabled:m,onClick:function(){function C(){return p("autopatrol")}return C}()})}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:v?"bad":"good",children:v?"DISABLED!":"Enabled"})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:v?"Restore Safties":"Hack",disabled:m,color:"bad",onClick:function(){function C(){return p("hack")}return C}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!b,content:"AI Remote Control",disabled:m,onClick:function(){function C(){return p("disableremote")}return C}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Clean Blood",disabled:m,onClick:function(){function C(){return p("blood")}return C}()})}),g&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:g,disabled:m,onClick:function(){function C(){return p("ejectpai")}return C}()})})]})})}return y}()},74439:function(I,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BotSecurity=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.locked,m=i.noaccess,u=i.maintpanel,d=i.on,f=i.autopatrol,l=i.canhack,v=i.emagged,b=i.remote_disabled,g=i.painame,h=i.check_id,C=i.check_weapons,N=i.check_warrant,x=i.arrest_mode,B=i.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",c?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:m,onClick:function(){function L(){return p("power")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:f,content:"Auto Patrol",disabled:m,onClick:function(){function L(){return p("autopatrol")}return L}()})}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:v?"bad":"good",children:v?"DISABLED!":"Enabled"})}),!!l&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:v?"Restore Safties":"Hack",disabled:m,color:"bad",onClick:function(){function L(){return p("hack")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!b,content:"AI Remote Control",disabled:m,onClick:function(){function L(){return p("disableremote")}return L}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Unidentifiable Persons",disabled:m,onClick:function(){function L(){return p("authid")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:C,content:"Unauthorized Weapons",disabled:m,onClick:function(){function L(){return p("authweapon")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Wanted Criminals",disabled:m,onClick:function(){function L(){return p("authwarrant")}return L}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:x,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function L(){return p("arrtype")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:B,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function L(){return p("arrdeclare")}return L}()})]}),g&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:g,disabled:m,onClick:function(){function L(){return p("ejectpai")}return L}()})})]})})}return y}()},10833:function(I,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),s=function(S,p){var i=S.cell,c=(0,o.useBackend)(p),m=c.act,u=i.cell_id,d=i.occupant,f=i.crimes,l=i.brigged_by,v=i.time_left_seconds,b=i.time_set_seconds,g=i.ref,h="";v>0&&(h+=" BrigCells__listRow--active");var C=function(){m("release",{ref:g})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:h,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:b})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:v})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:C,children:"Release"})})]})},y=function(S){var p=S.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),p.map(function(i){return(0,e.createComponentVNode)(2,s,{cell:i},i.ref)})]})},V=r.BrigCells=function(){function k(S,p){var i=(0,o.useBackend)(p),c=i.act,m=i.data,u=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,y,{cells:u})})})})})}return k}()},45761:function(I,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.BrigTimer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;i.nameText=i.occupant,i.timing&&(i.prisoner_hasrec?i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.occupant}):i.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:i.occupant}));var c="pencil-alt";i.prisoner_name&&(i.prisoner_hasrec||(c="exclamation-triangle"));var m=[],u=0;for(u=0;u60||!i.isAllowed,onClick:function(){function d(){return p("start")}return d}()})})]})})]})})}return y}()},26300:function(I,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsoleListContent=r.CameraConsole=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),s=n(25328),y=n(72253),V=n(36036),k=n(98595);String.prototype.trimLongStr=function(d){return this.length>d?this.substring(0,d)+"...":this};var S=function(f,l){var v,b;if(!l)return[];var g=f.findIndex(function(h){return h.name===l.name});return[(v=f[g-1])==null?void 0:v.name,(b=f[g+1])==null?void 0:b.name]},p=function(f,l){l===void 0&&(l="");var v=(0,s.createSearch)(l,function(b){return b.name});return(0,t.flow)([(0,a.filter)(function(b){return b==null?void 0:b.name}),l&&(0,a.filter)(v),(0,a.sortBy)(function(b){return b.name})])(f)},i=r.CameraConsole=function(){function d(f,l){var v=(0,y.useLocalState)(l,"tabIndex",0),b=v[0],g=v[1],h=function(){function C(N){switch(N){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return C}();return(0,e.createComponentVNode)(2,k.Window,{width:1250,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.Box,{fillPositionedParent:!0,overflow:"hidden",children:[(0,e.createComponentVNode)(2,V.Tabs,{children:[(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:b===0,onClick:function(){function C(){return g(0)}return C}(),children:[(0,e.createComponentVNode)(2,V.Icon,{name:"map-marked-alt"})," Map"]},"Map"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:b===1,onClick:function(){function C(){return g(1)}return C}(),children:[(0,e.createComponentVNode)(2,V.Icon,{name:"table"})," List"]},"List")]}),h(b)]})})})}return d}(),c=r.CameraConsoleMapContent=function(){function d(f,l){var v=(0,y.useBackend)(l),b=v.act,g=v.data,h=p(g.cameras),C=(0,y.useLocalState)(l,"zoom",1),N=C[0],x=C[1],B=g.mapRef,L=g.activeCamera,w=g.stationLevelNum,A=g.stationLevelName,T=(0,y.useLocalState)(l,"z_current",w[0]),E=T[0],O=T[1],P=S(h,L),R=P[0],F=P[1];return(0,e.createComponentVNode)(2,V.Box,{height:"100%",display:"flex",children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,V.Box,{height:"100%",display:"flex",children:(0,e.createComponentVNode)(2,V.NanoMap,{onZoom:function(){function j(W){return x(W)}return j}(),zLevels:w,zNames:A,z_current:E,setZCurrent:O,children:h.map(function(j){return(0,e.createComponentVNode)(2,V.NanoMap.Marker,{x:j.x,y:j.y,z:j.z,z_current:E,zoom:N,icon:"box",tooltip:j.name,color:j.status?"blue":"red",bordered:!0,onClick:function(){function W(){return b("switch_camera",{name:j.name})}return W}()},j.ref)})})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),L&&L.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-left",disabled:!R,onClick:function(){function j(){return b("switch_camera",{name:R})}return j}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-right",disabled:!F,onClick:function(){function j(){return b("switch_camera",{name:F})}return j}()})],4),(0,e.createComponentVNode)(2,V.ByondUi,{className:"CameraConsole__map",params:{id:B,type:"map"}})],4)]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(f,l){var v=(0,y.useBackend)(l),b=v.act,g=v.data,h=v.config,C=g.mapRef,N=g.activeCamera,x=(0,y.useLocalState)(l,"searchText",""),B=x[0],L=p(g.cameras,B),w=S(L,N),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,V.Box,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,u)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),N&&N.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return b("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"chevron-right",disabled:!T,onClick:function(){function E(){return b("switch_camera",{name:T})}return E}()})],4),(0,e.createComponentVNode)(2,V.ByondUi,{className:"CameraConsole__map",params:{id:C,type:"map"}})],4)]})}return d}(),u=r.CameraConsoleListContent=function(){function d(f,l){var v=(0,y.useBackend)(l),b=v.act,g=v.data,h=(0,y.useLocalState)(l,"searchText",""),C=h[0],N=h[1],x=g.activeCamera,B=p(g.cameras,C);return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function L(w,A){return N(A)}return L}()})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:B.map(function(L){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",x&&L.name===x.name&&"Button--selected"]),L.name,0,{title:L.name,onClick:function(){function w(){return b("switch_camera",{name:L.name})}return w}()},L.name)})})})]})}return d}()},52927:function(I,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(49968),y=n(98595),V=r.Canister=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,m=i.data,u=m.portConnected,d=m.tankPressure,f=m.releasePressure,l=m.defaultReleasePressure,v=m.minReleasePressure,b=m.maxReleasePressure,g=m.valveOpen,h=m.name,C=m.canLabel,N=m.colorContainer,x=m.color_index,B=m.hasHoldingTank,L=m.holdingTank,w="";x.prim&&(w=N.prim.options[x.prim].name);var A="";x.sec&&(A=N.sec.options[x.sec].name);var T="";x.ter&&(T=N.ter.options[x.ter].name);var E="";x.quart&&(E=N.quart.options[x.quart].name);var O=[],P=[],R=[],F=[],j=0;for(j=0;jh.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:h.total_positions-h.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:l.cooldown_time||!h.can_close,onClick:function(){function C(){return f("make_job_unavailable",{job:h.title})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:l.cooldown_time||!h.can_open,onClick:function(){function C(){return f("make_job_available",{job:h.title})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:l.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.priority_jobs.indexOf(h.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:h.is_priority?"Yes":"No",selected:h.is_priority,disabled:l.cooldown_time||!h.can_prioritize,onClick:function(){function C(){return f("prioritize_job",{job:h.title})}return C}()})})]},h.title)})]})})]}):g=(0,e.createComponentVNode)(2,k);break;case 2:!l.authenticated||!l.scan_name?g=(0,e.createComponentVNode)(2,k):l.modify_name?g=(0,e.createComponentVNode)(2,s.AccessList,{accesses:l.regions,selectedList:l.selectedAccess,accessMod:function(){function h(C){return f("set",{access:C})}return h}(),grantAll:function(){function h(){return f("grant_all")}return h}(),denyAll:function(){function h(){return f("clear_all")}return h}(),grantDep:function(){function h(C){return f("grant_region",{region:C})}return h}(),denyDep:function(){function h(C){return f("deny_region",{region:C})}return h}()}):g=(0,e.createComponentVNode)(2,S);break;case 3:l.authenticated?l.records.length?g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!l.authenticated||l.records.length===0||l.target_dept,onClick:function(){function h(){return f("wipe_all_logs")}return h}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),l.records.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.reason}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.deletedby})]},h.timestamp)})]}),!!l.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!l.authenticated||l.records.length===0,onClick:function(){function h(){return f("wipe_my_logs")}return h}()})})]}):g=(0,e.createComponentVNode)(2,p):g=(0,e.createComponentVNode)(2,k);break;case 4:!l.authenticated||!l.scan_name?g=(0,e.createComponentVNode)(2,k):g=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),l.people_dept.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:h.buttontext,disabled:!h.demotable,onClick:function(){function C(){return f("remote_demote",{remote_demote:h.name})}return C}()})})]},h.title)})]})});break;default:g=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:b}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:v}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:g})]})})})}return c}()},64083:function(I,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(25328),k=r.CargoConsole=function(){function m(u,d){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c)]})})})}return m}(),S=function(u,d){var f=(0,o.useLocalState)(d,"contentsModal",null),l=f[0],v=f[1],b=(0,o.useLocalState)(d,"contentsModalTitle",null),g=b[0],h=b[1];if(l!==null&&g!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[g,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:l.map(function(C){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",C]},C)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function C(){v(null),h(null)}return C}()})})]})},p=function(u,d){var f=(0,o.useBackend)(d),l=f.act,v=f.data,b=v.is_public,g=v.points,h=v.credits,C=v.timeleft,N=v.moving,x=v.at_station,B,L;return!N&&!x?(B="Docked off-station",L="Call Shuttle"):!N&&x?(B="Docked at the station",L="Return Shuttle"):N&&(L="In Transit...",C!==1?B="Shuttle is en route (ETA: "+C+" minutes)":B="Shuttle is en route (ETA: "+C+" minute)"),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Points Available",children:g}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Credits Available",children:h}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Shuttle Status",children:B}),b===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:L,disabled:N,onClick:function(){function w(){return l("moveShuttle")}return w}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Central Command Messages",onClick:function(){function w(){return l("showMessages")}return w}()})]})]})})})},i=function(u,d){var f=(0,o.useBackend)(d),l=f.act,v=f.data,b=v.categories,g=v.supply_packs,h=(0,o.useSharedState)(d,"category","Emergency"),C=h[0],N=h[1],x=(0,o.useSharedState)(d,"search_text",""),B=x[0],L=x[1],w=(0,o.useLocalState)(d,"contentsModal",null),A=w[0],T=w[1],E=(0,o.useLocalState)(d,"contentsModalTitle",null),O=E[0],P=E[1],R=(0,V.createSearch)(B,function(W){return W.name}),F=(0,a.flow)([(0,t.filter)(function(W){return W.cat===b.filter(function(H){return H.name===C})[0].category||B}),B&&(0,t.filter)(R),(0,t.sortBy)(function(W){return W.name.toLowerCase()})])(g),j="Crate Catalogue";return B?j="Results for '"+B+"':":C&&(j="Browsing "+C),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:j,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:b.map(function(W){return W.name}),selected:C,onSelected:function(){function W(H){return N(H)}return W}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function W(H,z){return L(z)}return W}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:F.map(function(W){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,s.Box,{color:W.has_sale?"good":"default",children:[W.name," (",W.cost?W.cost+" Points":"",W.creditsCost&&W.cost?" ":"",W.creditsCost?W.creditsCost+" Credits":"",")"]})}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function H(){return l("order",{crate:W.ref,multiple:0})}return H}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function H(){return l("order",{crate:W.ref,multiple:1})}return H}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function H(){T(W.contents),P(W.name)}return H}()})]})]},W.name)})})})]})})},c=function(u,d){var f=(0,o.useBackend)(d),l=f.act,v=f.data,b=v.requests,g=v.canapprove,h=v.orders;return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:"Details",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:b.map(function(C){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",C.ordernum,": ",C.supply_type," for ",(0,e.createVNode)(1,"b",null,C.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",C.comment]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Required Techs: ",C.pack_techs]})]}),(0,e.createComponentVNode)(2,s.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!g,onClick:function(){function N(){return l("approve",{ordernum:C.ordernum})}return N}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function N(){return l("deny",{ordernum:C.ordernum})}return N}()})]})]},C.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:h.map(function(C){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",C.ordernum,": ",C.supply_type," for ",(0,e.createVNode)(1,"b",null,C.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",C.comment]})]})},C.ordernum)})})]})}},12226:function(I,r,n){"use strict";r.__esModule=!0,r.Changelog=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=n(79140),V=S(n(83331)),k=S(n(52754));function S(l){return l&&l.__esModule?l:{default:l}}function p(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */p=function(){return v};var l,v={},b=Object.prototype,g=b.hasOwnProperty,h=Object.defineProperty||function(fe,Z,J){fe[Z]=J.value},C=typeof Symbol=="function"?Symbol:{},N=C.iterator||"@@iterator",x=C.asyncIterator||"@@asyncIterator",B=C.toStringTag||"@@toStringTag";function L(fe,Z,J){return Object.defineProperty(fe,Z,{value:J,enumerable:!0,configurable:!0,writable:!0}),fe[Z]}try{L({},"")}catch(fe){L=function(J,te,ee){return J[te]=ee}}function w(fe,Z,J,te){var ee=Z&&Z.prototype instanceof F?Z:F,le=Object.create(ee.prototype),ye=new Le(te||[]);return h(le,"_invoke",{value:he(fe,J,ye)}),le}function A(fe,Z,J){try{return{type:"normal",arg:fe.call(Z,J)}}catch(te){return{type:"throw",arg:te}}}v.wrap=w;var T="suspendedStart",E="suspendedYield",O="executing",P="completed",R={};function F(){}function j(){}function W(){}var H={};L(H,N,function(){return this});var z=Object.getPrototypeOf,Y=z&&z(z(Ae([])));Y&&Y!==b&&g.call(Y,N)&&(H=Y);var G=W.prototype=F.prototype=Object.create(H);function ne(fe){["next","throw","return"].forEach(function(Z){L(fe,Z,function(J){return this._invoke(Z,J)})})}function Q(fe,Z){function J(ee,le,ye,me){var Te=A(fe[ee],fe,le);if(Te.type!=="throw"){var M=Te.arg,X=M.value;return X&&typeof X=="object"&&g.call(X,"__await")?Z.resolve(X.__await).then(function(ae){J("next",ae,ye,me)},function(ae){J("throw",ae,ye,me)}):Z.resolve(X).then(function(ae){M.value=ae,ye(M)},function(ae){return J("throw",ae,ye,me)})}me(Te.arg)}var te;h(this,"_invoke",{value:function(){function ee(le,ye){function me(){return new Z(function(Te,M){J(le,ye,Te,M)})}return te=te?te.then(me,me):me()}return ee}()})}function he(fe,Z,J){var te=T;return function(ee,le){if(te===O)throw Error("Generator is already running");if(te===P){if(ee==="throw")throw le;return{value:l,done:!0}}for(J.method=ee,J.arg=le;;){var ye=J.delegate;if(ye){var me=Ve(ye,J);if(me){if(me===R)continue;return me}}if(J.method==="next")J.sent=J._sent=J.arg;else if(J.method==="throw"){if(te===T)throw te=P,J.arg;J.dispatchException(J.arg)}else J.method==="return"&&J.abrupt("return",J.arg);te=O;var Te=A(fe,Z,J);if(Te.type==="normal"){if(te=J.done?P:E,Te.arg===R)continue;return{value:Te.arg,done:J.done}}Te.type==="throw"&&(te=P,J.method="throw",J.arg=Te.arg)}}}function Ve(fe,Z){var J=Z.method,te=fe.iterator[J];if(te===l)return Z.delegate=null,J==="throw"&&fe.iterator.return&&(Z.method="return",Z.arg=l,Ve(fe,Z),Z.method==="throw")||J!=="return"&&(Z.method="throw",Z.arg=new TypeError("The iterator does not provide a '"+J+"' method")),R;var ee=A(te,fe.iterator,Z.arg);if(ee.type==="throw")return Z.method="throw",Z.arg=ee.arg,Z.delegate=null,R;var le=ee.arg;return le?le.done?(Z[fe.resultName]=le.value,Z.next=fe.nextLoc,Z.method!=="return"&&(Z.method="next",Z.arg=l),Z.delegate=null,R):le:(Z.method="throw",Z.arg=new TypeError("iterator result is not an object"),Z.delegate=null,R)}function Ne(fe){var Z={tryLoc:fe[0]};1 in fe&&(Z.catchLoc=fe[1]),2 in fe&&(Z.finallyLoc=fe[2],Z.afterLoc=fe[3]),this.tryEntries.push(Z)}function Be(fe){var Z=fe.completion||{};Z.type="normal",delete Z.arg,fe.completion=Z}function Le(fe){this.tryEntries=[{tryLoc:"root"}],fe.forEach(Ne,this),this.reset(!0)}function Ae(fe){if(fe||fe===""){var Z=fe[N];if(Z)return Z.call(fe);if(typeof fe.next=="function")return fe;if(!isNaN(fe.length)){var J=-1,te=function(){function ee(){for(;++J=0;--ee){var le=this.tryEntries[ee],ye=le.completion;if(le.tryLoc==="root")return te("end");if(le.tryLoc<=this.prev){var me=g.call(le,"catchLoc"),Te=g.call(le,"finallyLoc");if(me&&Te){if(this.prev=0;--te){var ee=this.tryEntries[te];if(ee.tryLoc<=this.prev&&g.call(ee,"finallyLoc")&&this.prev=0;--J){var te=this.tryEntries[J];if(te.finallyLoc===Z)return this.complete(te.completion,te.afterLoc),Be(te),R}}return fe}(),catch:function(){function fe(Z){for(var J=this.tryEntries.length-1;J>=0;--J){var te=this.tryEntries[J];if(te.tryLoc===Z){var ee=te.completion;if(ee.type==="throw"){var le=ee.arg;Be(te)}return le}}throw Error("illegal catch attempt")}return fe}(),delegateYield:function(){function fe(Z,J,te){return this.delegate={iterator:Ae(Z),resultName:J,nextLoc:te},this.method==="next"&&(this.arg=l),R}return fe}()},v}function i(l,v,b,g,h,C,N){try{var x=l[C](N),B=x.value}catch(L){return void b(L)}x.done?v(B):Promise.resolve(B).then(g,h)}function c(l){return function(){var v=this,b=arguments;return new Promise(function(g,h){var C=l.apply(v,b);function N(B){i(C,g,h,N,x,"next",B)}function x(B){i(C,g,h,N,x,"throw",B)}N(void 0)})}}function m(l,v){l.prototype=Object.create(v.prototype),l.prototype.constructor=l,u(l,v)}function u(l,v){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,g){return b.__proto__=g,b},u(l,v)}var d={add:{icon:"check-circle",color:"green"},admin:{icon:"user-shield",color:"purple"},balance:{icon:"balance-scale-right",color:"yellow"},bugfix:{icon:"bug",color:"green"},code_imp:{icon:"code",color:"green"},config:{icon:"cogs",color:"purple"},del:{icon:"minus",color:"red"},expansion:{icon:"check-circle",color:"green"},experiment:{icon:"radiation",color:"yellow"},image:{icon:"image",color:"green"},imageadd:{icon:"tg-image-plus",color:"green"},imagedel:{icon:"tg-image-minus",color:"red"},qol:{icon:"hand-holding-heart",color:"green"},refactor:{icon:"tools",color:"green"},rscadd:{icon:"check-circle",color:"green"},rscdel:{icon:"times-circle",color:"red"},server:{icon:"server",color:"purple"},sound:{icon:"volume-high",color:"green"},soundadd:{icon:"tg-sound-plus",color:"green"},sounddel:{icon:"tg-sound-minus",color:"red"},spellcheck:{icon:"spell-check",color:"green"},tgs:{icon:"toolbox",color:"purple"},tweak:{icon:"wrench",color:"green"},unknown:{icon:"info-circle",color:"label"},wip:{icon:"hammer",color:"orange"}},f=r.Changelog=function(l){function v(){var g;return g=l.call(this)||this,g.getData=function(h,C){C===void 0&&(C=1);var N=(0,t.useBackend)(g.context),x=N.act,B=g,L=6;if(C>L)return g.setData("Failed to load data after "+L+" attempts");x("get_month",{date:h}),fetch((0,y.resolveAsset)(h+".yml")).then(function(){var w=c(p().mark(function(){function A(T){var E,O,P;return p().wrap(function(){function R(F){for(;;)switch(F.prev=F.next){case 0:return F.next=2,T.text();case 2:E=F.sent,O=/^Cannot find/,O.test(E)?(P=50+C*50,B.setData("Loading changelog data"+".".repeat(C+3)),setTimeout(function(){B.getData(h,C+1)},P)):B.setData(k.default.load(E,{schema:k.default.CORE_SCHEMA}));case 5:case"end":return F.stop()}}return R}(),A)}return A}()));return function(A){return w.apply(this,arguments)}}())},g.state={data:"Loading changelog data...",selectedDate:"",selectedIndex:0},g.dateChoices=[],g}m(v,l);var b=v.prototype;return b.setData=function(){function g(h){this.setState({data:h})}return g}(),b.setSelectedDate=function(){function g(h){this.setState({selectedDate:h})}return g}(),b.setSelectedIndex=function(){function g(h){this.setState({selectedIndex:h})}return g}(),b.componentDidMount=function(){function g(){var h=this,C=(0,t.useBackend)(this.context),N=C.data.dates,x=N===void 0?[]:N;x&&(x.forEach(function(B){return h.dateChoices.push((0,V.default)(B,"mmmm yyyy",!0))}),this.setSelectedDate(this.dateChoices[0]),this.getData(x[0]))}return g}(),b.render=function(){function g(){var h=this,C=this.state,N=C.data,x=C.selectedDate,B=C.selectedIndex,L=(0,t.useBackend)(this.context),w=L.data.dates,A=this.dateChoices,T=A.length>0&&(0,e.createComponentVNode)(2,o.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===0,icon:"chevron-left",onClick:function(){function F(){var j=B-1;return h.setData("Loading changelog data..."),h.setSelectedIndex(j),h.setSelectedDate(A[j]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[j])}return F}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Dropdown,{displayText:x,options:A,onSelected:function(){function F(j){var W=A.indexOf(j);return h.setData("Loading changelog data..."),h.setSelectedIndex(W),h.setSelectedDate(j),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[W])}return F}(),selected:x,width:"150px"})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{className:"Changelog__Button",disabled:B===A.length-1,icon:"chevron-right",onClick:function(){function F(){var j=B+1;return h.setData("Loading changelog data..."),h.setSelectedIndex(j),h.setSelectedDate(A[j]),window.scrollTo(0,document.body.scrollHeight||document.documentElement.scrollHeight),h.getData(w[j])}return F}()})})]}),E=(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createVNode)(1,"h1",null,"Paradise Station",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thanks to: ",16),(0,e.createTextVNode)("Baystation 12, /tg/station, /vg/station, NTstation, CDK Station devs, FacepunchStation, GoonStation devs, the original SpaceStation developers and Radithor for the title image. Also a thanks to anybody who has contributed who is not listed here :( Ask to be added here on irc.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Recent GitHub contributors can be found "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://github.com/ss220-space/Paradise/pulse/monthly"}),(0,e.createTextVNode)(".")],0),T]}),O=(0,e.createComponentVNode)(2,o.Section,{children:[T,(0,e.createVNode)(1,"h3",null,"GoonStation 13 Development Team",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Coders: ",16),(0,e.createTextVNode)("Stuntwaffle, Showtime, Pantaloons, Nannek, Keelin, Exadv1, hobnob, Justicefries, 0staf, sniperchance, AngriestIBM, BrianOBlivion")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Spriters: ",16),(0,e.createTextVNode)("Supernorn, Haruhi, Stuntwaffle, Pantaloons, Rho, SynthOrange, I Said No")],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Traditional Games Space Station 13 is thankful to the GoonStation 13 Development Team for its work on the game up to the"),(0,e.createTextVNode)(" r4407 release. The changelog for changes up to r4407 can be seen "),(0,e.createVNode)(1,"a",null,"here",16,{href:"https://wiki.ss13.co/Pre-2016_Changelog#April_2010"}),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,["Except where otherwise noted, Goon Station 13 is licensed under a ",(0,e.createVNode)(1,"a",null,"Creative Commons Attribution-Noncommercial-Share Alike 3.0 License",16,{href:"https://creativecommons.org/licenses/by-nc-sa/3.0/"}),". Rights are currently extended to ",(0,e.createVNode)(1,"a",null,"SomethingAwful Goons",16,{href:"http://forums.somethingawful.com/"})," only."],0),(0,e.createVNode)(1,"h3",null,"Traditional Games Space Station 13 License",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Some icons by"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Yusuke Kamiyamane",16,{href:"http://p.yusukekamiyamane.com/"}),(0,e.createTextVNode)(". All rights reserved. Licensed under a"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"a",null,"Creative Commons Attribution 3.0 License",16,{href:"http://creativecommons.org/licenses/by/3.0/"}),(0,e.createTextVNode)(".")],0)]}),P=/#\d+/,R=typeof N=="object"&&Object.keys(N).length>0&&Object.entries(N).reverse().map(function(F){var j=F[0],W=F[1];return(0,e.createComponentVNode)(2,o.Section,{title:(0,V.default)(j,"d mmmm yyyy",!0),children:(0,e.createComponentVNode)(2,o.Box,{ml:3,children:Object.entries(W).map(function(H){var z=H[0],Y=H[1];return(0,e.createFragment)([(0,e.createVNode)(1,"h4",null,[z,(0,e.createTextVNode)(" changed:")],0),(0,e.createComponentVNode)(2,o.Box,{ml:3,children:(0,e.createComponentVNode)(2,o.Table,{children:Y.map(function(G){var ne=Object.keys(G)[0],Q=G[ne],he=Q.match(P),Ve=(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)(["Changelog__Cell","Changelog__Cell--Icon"]),children:(0,e.createComponentVNode)(2,o.Icon,{color:d[ne]?d[ne].color:d.unknown.color,name:d[ne]?d[ne].icon:d.unknown.icon})});return he!==null&&(0,e.createComponentVNode)(2,o.Table.Row,{children:[Ve,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:(0,e.createVNode)(1,"a",null,[" ",Q.charAt(0).toUpperCase()+Q.slice(1)," "],0,{href:"https://github.com/ss220-space/Paradise/pull/"+he[0].substring(1)})})]},ne+Q)||(0,e.createComponentVNode)(2,o.Table.Row,{children:[Ve,(0,e.createComponentVNode)(2,o.Table.Cell,{className:"Changelog__Cell",children:Q})]},ne+Q)})})})],4,z)})})},j)});return(0,e.createComponentVNode)(2,s.Window,{title:"Changelog",width:675,height:650,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:[E,R,typeof N=="string"&&(0,e.createVNode)(1,"p",null,N,0),O]})})}return g}(),v}(e.Component)},36108:function(I,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),s=n(98595),y=[1,5,10,20,30,50,100],V=[1,5,10],k=r.ChemDispenser=function(){function c(m,u){var d=(0,a.useBackend)(u),f=d.act,l=d.data,v=l.chemicals;return(0,e.createComponentVNode)(2,s.Window,{width:460,height:400+v.length*8,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i)]})})})}return c}(),S=function(m,u){var d=(0,a.useBackend)(u),f=d.act,l=d.data,v=l.amount,b=l.energy,g=l.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:b,minValue:0,maxValue:g,ranges:{good:[g*.5,1/0],average:[g*.25,g*.5],bad:[-1/0,g*.25]},children:[b," / ",g," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:y.map(function(h,C){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:v===h,content:h,onClick:function(){function N(){return f("amount",{amount:h})}return N}()})},C)})})})]})})})},p=function(m,u){for(var d=(0,a.useBackend)(u),f=d.act,l=d.data,v=l.chemicals,b=v===void 0?[]:v,g=[],h=0;h<(b.length+1)%3;h++)g.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:l.glass?"Drink Dispenser":"Chemical Dispenser",children:[b.map(function(C,N){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:C.title,style:{"margin-left":"2px"},onClick:function(){function x(){return f("dispense",{reagent:C.id})}return x}()},N)}),g.map(function(C,N){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},N)})]})})},i=function(m,u){var d=(0,a.useBackend)(u),f=d.act,l=d.data,v=l.isBeakerLoaded,b=l.beakerCurrentVolume,g=l.beakerMaxVolume,h=l.beakerContents,C=h===void 0?[]:h;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:l.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!v&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[b," / ",g," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function N(){return f("ejectBeaker")}return N}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:v,beakerContents:C,buttons:function(){function N(x){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function B(){return f("remove",{reagent:x.id,amount:-1})}return B}()}),V.map(function(B,L){return(0,e.createComponentVNode)(2,t.Button,{content:B,onClick:function(){function w(){return f("remove",{reagent:x.id,amount:B})}return w}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function B(){return f("remove",{reagent:x.id,amount:x.volume})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Floor",tooltip:"Set to "+Math.trunc(x.volume),icon:"arrow-circle-down",onClick:function(){function B(){return f("remove",{reagent:x.id,amount:-2})}return B}()})],0)}return N}()})})})}},13146:function(I,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(85870),y=n(98595),V=r.ChemHeater=function(){function p(i,c){return(0,e.createComponentVNode)(2,y.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),k=function(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.targetTemp,l=d.targetTempReached,v=d.autoEject,b=d.isActive,g=d.currentTemp,h=d.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:v?"toggle-on":"toggle-off",selected:v,onClick:function(){function C(){return u("toggle_autoeject")}return C}()}),(0,e.createComponentVNode)(2,o.Button,{content:b?"On":"Off",icon:"power-off",selected:b,disabled:!h,onClick:function(){function C(){return u("toggle_on")}return C}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(f,0),minValue:0,maxValue:1e3,onDrag:function(){function C(N,x){return u("adjust_temperature",{target:x})}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:l?"good":"average",children:h&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:g,format:function(){function C(N){return(0,a.toFixed)(N)+" K"}return C}()})||"\u2014"})]})})})},S=function(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.isBeakerLoaded,l=d.beakerCurrentVolume,v=d.beakerMaxVolume,b=d.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!f&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[l," / ",v," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function g(){return u("eject_beaker")}return g}()})]}),children:(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:f,beakerContents:b})})})}},56541:function(I,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(85870),y=n(3939),V=n(35840),k=["icon"];function S(B,L){if(B==null)return{};var w={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;w[A]=B[A]}return w}function p(B,L){B.prototype=Object.create(L.prototype),B.prototype.constructor=B,i(B,L)}function i(B,L){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,A){return w.__proto__=A,w},i(B,L)}var c=[1,5,10],m=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:O.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(O.desc||"").length>0?O.desc:"N/A"}),O.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:O.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:O.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function P(){return T("print",{idx:O.idx,beaker:L.args.beaker})}return P}()})]})})})})},u=function(B){return B[B.ToDisposals=0]="ToDisposals",B[B.ToBeaker=1]="ToBeaker",B}(u||{}),d=r.ChemMaster=function(){function B(L,w){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,x)]})})]})}return B}(),f=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=E.beaker,P=E.beaker_reagents,R=E.buffer_reagents,F=R.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:F?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function j(){return T("eject")}return j}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!O,content:"Eject and Clear Buffer",onClick:function(){function j(){return T("eject")}return j}()}),children:O?(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:!0,beakerContents:P,buttons:function(){function j(W,H){return(0,e.createComponentVNode)(2,t.Box,{mb:H0?(0,e.createComponentVNode)(2,s.BeakerContents,{beakerLoaded:!0,beakerContents:P,buttons:function(){function R(F,j){return(0,e.createComponentVNode)(2,t.Box,{mb:j0&&(F=R.map(function(j){var W=j.id,H=j.sprite;return(0,e.createComponentVNode)(2,C,{icon:H,color:"translucent",onClick:function(){function z(){return T("set_sprite_style",{production_mode:O,style:W})}return z}(),selected:P===W},W)})),(0,e.createComponentVNode)(2,h,{productionData:L.productionData,children:F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:F})})},x=function(L,w){var A=(0,a.useBackend)(w),T=A.act,E=A.data,O=E.loaded_pill_bottle_style,P=E.containerstyles,R=E.loaded_pill_bottle,F={width:"20px",height:"20px"},j=P.map(function(W){var H=W.color,z=W.name,Y=O===H;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:F.width,height:F.height},onClick:function(){function G(){return T("set_container_style",{style:H})}return G}(),icon:Y&&"check",iconStyle:{position:"relative","z-index":1},tooltip:z,tooltipPosition:"top",children:[!Y&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:F.width,height:F.height,"background-color":H,opacity:.6,filter:"alpha(opacity=60)"}})]},H)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!R,content:"Eject Container",onClick:function(){function W(){return T("ejectp")}return W}()}),children:R?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:F.width,height:F.height},icon:"tint-slash",onClick:function(){function W(){return T("clear_container_style")}return W}(),selected:!O,tooltip:"Default",tooltipPosition:"top"}),j]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,y.modalRegisterBodyOverride)("analyze",m)},37173:function(I,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(76910),y=n(3939),V=n(98595),k=n(79140),S=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=v.args,x=N.activerecord,B=N.realname,L=N.health,w=N.unidentity,A=N.strucenzymes,T=L.split(" - ");return(0,e.createComponentVNode)(2,o.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+B,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Damage",children:T.length>1?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.oxy,inline:!0,children:T[0]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.toxin,inline:!0,children:T[2]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.brute,inline:!0,children:T[3]}),(0,e.createTextVNode)("\xA0|\xA0"),(0,e.createComponentVNode)(2,o.Box,{color:s.COLORS.damageType.burn,inline:!0,children:T[1]})],4):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Unknown"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:w}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:A}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Disk",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!C.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){function E(){return h("disk",{option:"load"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){function E(){return h("disk",{option:"save",savetype:"ui"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){function E(){return h("disk",{option:"save",savetype:"ue"})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!C.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){function E(){return h("disk",{option:"save",savetype:"se"})}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!C.podready,icon:"user-plus",content:"Clone",onClick:function(){function E(){return h("clone",{ref:x})}return E}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Delete",onClick:function(){function E(){return h("del_rec")}return E}()})]})]})})},p=r.CloningConsole=function(){function l(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.menu;return(0,y.modalRegisterBodyOverride)("view_rec",S),(0,e.createComponentVNode)(2,V.Window,{width:640,height:520,children:[(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,e.createComponentVNode)(2,V.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,flexGrow:"1",children:(0,e.createComponentVNode)(2,c)})]})]})}return l}(),i=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.menu;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===1,icon:"home",onClick:function(){function x(){return h("menu",{num:1})}return x}(),children:"Main"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:N===2,icon:"folder",onClick:function(){function x(){return h("menu",{num:2})}return x}(),children:"Records"})]})},c=function(v,b){var g=(0,t.useBackend)(b),h=g.data,C=h.menu,N;return C===1?N=(0,e.createComponentVNode)(2,m):C===2&&(N=(0,e.createComponentVNode)(2,u)),N},m=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.loading,x=C.scantemp,B=C.occupant,L=C.locked,w=C.can_brainscan,A=C.scan_mode,T=C.numberofpods,E=C.pods,O=C.selected_pod,P=L&&!!B;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Scanner",level:"2",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"Scanner Lock:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B,selected:P,icon:P?"toggle-on":"toggle-off",content:P?"Engaged":"Disengaged",onClick:function(){function R(){return h("lock")}return R}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:P||!B,icon:"user-slash",content:"Eject Occupant",onClick:function(){function R(){return h("eject")}return R}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"spinner",spin:!0}),"\xA0 Scanning..."]}):(0,e.createComponentVNode)(2,o.Box,{color:x.color,children:x.text})}),!!w&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scan Mode",children:(0,e.createComponentVNode)(2,o.Button,{icon:A?"brain":"male",content:A?"Brain":"Body",onClick:function(){function R(){return h("toggle_mode")}return R}()})})]}),(0,e.createComponentVNode)(2,o.Button,{disabled:!B||N,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){function R(){return h("scan")}return R}()})]}),(0,e.createComponentVNode)(2,o.Section,{title:"Pods",level:"2",children:T?E.map(function(R,F){var j;return R.status==="cloning"?j=(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:R.progress/100,ranges:{good:[.75,1/0],average:[.25,.75],bad:[-1/0,.25]},mt:"0.5rem",children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,a.round)(R.progress,0)+"%"})}):R.status==="mess"?j=(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):j=(0,e.createComponentVNode)(2,o.Button,{selected:O===R.pod,icon:O===R.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){function W(){return h("selectpod",{ref:R.pod})}return W}()}),(0,e.createComponentVNode)(2,o.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,k.resolveAsset)("pod_"+R.status+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["Pod #",F+1]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,color:R.biomass>=150?"good":"bad",inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:R.biomass>=150?"circle":"circle-o"}),"\xA0",R.biomass]}),j]},F)}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},u=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.records;return N.length?(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:N.map(function(x,B){return(0,e.createComponentVNode)(2,o.Button,{icon:"user",mb:"0.5rem",content:x.realname,onClick:function(){function L(){return h("view_rec",{ref:x.record})}return L}()},B)})}):(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No records found."]})})},d=function(v,b){var g,h=(0,t.useBackend)(b),C=h.act,N=h.data,x=N.temp;if(!(!x||!x.text||x.text.length<=0)){var B=(g={},g[x.style]=!0,g);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.NoticeBox,Object.assign({},B,{children:[(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",children:x.text}),(0,e.createComponentVNode)(2,o.Button,{icon:"times-circle",float:"right",onClick:function(){function L(){return C("cleartemp")}return L}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"both"})]})))}},f=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.scanner,x=C.numberofpods,B=C.autoallowed,L=C.autoprocess,w=C.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Status",buttons:(0,e.createFragment)([!!B&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",children:"Auto-processing:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:L?"Enabled":"Disabled",onClick:function(){function A(){return h("autoprocess",{on:L?0:1})}return A}()})],4),(0,e.createComponentVNode)(2,o.Button,{disabled:!w,icon:"eject",content:"Eject Disk",onClick:function(){function A(){return h("disk",{option:"eject"})}return A}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanner",children:N?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Connected"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Not connected!"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pods",children:x?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[x," connected"]}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None connected!"})})]})})}},63818:function(I,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.CommunicationsComputer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c;i.authenticated?i.is_ai?c="AI":i.authenticated===1?c="Command":i.authenticated===2?c="Captain":c="ERROR: Report This Bug!":c="Not Logged In";var m="View ("+i.messages.length+")",u=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:i.is_ai&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access Level",children:"AI"})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,content:i.authenticated?"Log Out ("+c+")":"Log In",onClick:function(){function x(){return p("auth")}return x}()})})})}),!!i.esc_section&&(0,e.createComponentVNode)(2,t.Section,{title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!i.esc_status&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:i.esc_status}),!!i.esc_callable&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!i.authenticated,onClick:function(){function x(){return p("callshuttle")}return x}()})}),!!i.esc_recallable&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!i.authenticated||i.is_ai,onClick:function(){function x(){return p("cancelshuttle")}return x}()})}),!!i.lastCallLoc&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:i.lastCallLoc})]})})],0),d="Make Priority Announcement";i.msg_cooldown>0&&(d+=" ("+i.msg_cooldown+"s)");var f=i.emagged?"Message [UNKNOWN]":"Message CentComm",l="Request Authentication Codes";i.cc_cooldown>0&&(f+=" ("+i.cc_cooldown+"s)",l+=" ("+i.cc_cooldown+"s)");var v=i.str_security_level,b=i.levels.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{icon:x.icon,content:x.name,disabled:!i.authmax||x.id===i.security_level,onClick:function(){function B(){return p("newalertlevel",{level:x.id})}return B}()},x.name)}),g=i.stat_display.presets.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.label,selected:x.name===i.stat_display.type,disabled:!i.authenticated,onClick:function(){function B(){return p("setstat",{statdisp:x.name})}return B}()},x.name)}),h=i.stat_display.alerts.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.label,selected:x.alert===i.stat_display.icon,disabled:!i.authenticated,onClick:function(){function B(){return p("setstat",{statdisp:"alert",alert:x.alert})}return B}()},x.alert)}),C;if(i.current_message_title)C=(0,e.createComponentVNode)(2,t.Section,{title:i.current_message_title,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!i.authenticated,onClick:function(){function x(){return p("messagelist")}return x}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:i.current_message})});else{var N=i.messages.map(function(x){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:x.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!i.authenticated||i.current_message_title===x.title,onClick:function(){function B(){return p("messagelist",{msgid:x.id})}return B}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete",disabled:!i.authenticated,onClick:function(){function B(){return p("delmessage",{msgid:x.id})}return B}()})]},x.id)});C=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return p("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:N})})}switch(i.menu_state){case 1:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u,(0,e.createComponentVNode)(2,t.Section,{title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:i.security_level_color,children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:d,disabled:!i.authmax||i.msg_cooldown>0,onClick:function(){function x(){return p("announce")}return x}()})}),!!i.emagged&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:f,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("MessageSyndicate")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!i.authmax,onClick:function(){function x(){return p("RestoreBackup")}return x}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:f,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("MessageCentcomm")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:l,disabled:!i.authmax||i.cc_cooldown>0,onClick:function(){function x(){return p("nukerequest")}return x}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!i.authenticated,onClick:function(){function x(){return p("status")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:m,disabled:!i.authenticated,onClick:function(){function x(){return p("messagelist")}return x}()})})]})})]})});case 2:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,(0,e.createComponentVNode)(2,t.Section,{title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function x(){return p("main")}return x}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:i.stat_display.line_1,disabled:!i.authenticated,onClick:function(){function x(){return p("setmsg1")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:i.stat_display.line_2,disabled:!i.authenticated,onClick:function(){function x(){return p("setmsg2")}return x}()})})]})})]})});case 3:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,C]})});default:return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[u,"ERRROR. Unknown menu_state: ",i.menu_state,"Please report this to NT Technical Support."]})})}}return y}()},21813:function(I,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(73379),y=n(98595);function V(b,g){b.prototype=Object.create(g.prototype),b.prototype.constructor=b,k(b,g)}function k(b,g){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(h,C){return h.__proto__=C,h},k(b,g)}var S={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},p=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],i=r.Contractor=function(){function b(g,h){var C=(0,t.useBackend)(h),N=C.act,x=C.data,B;x.unauthorized?B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function T(){}return T}()})}):x.load_animation_completed?B=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:x.page===1?(0,e.createComponentVNode)(2,u,{height:"100%"}):(0,e.createComponentVNode)(2,f,{height:"100%"})})],4):B=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,l,{height:"100%",allMessages:p,finishedTimeout:3e3,onFinished:function(){function T(){return N("complete_load_animation")}return T}()})});var L=(0,t.useLocalState)(h,"viewingPhoto",""),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,y.Window,{width:500,height:600,theme:"syndicate",children:[w&&(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,y.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:B})})]})}return b}(),c=function(g,h){var C=(0,t.useBackend)(h),N=C.act,x=C.data,B=x.tc_available,L=x.tc_paid_out,w=x.completed_contracts,A=x.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},g,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[B," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:B<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function T(){return N("claim")}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",display:"inline-block",children:w})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(g,h){var C=(0,t.useBackend)(h),N=C.act,x=C.data,B=x.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},g,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===1,onClick:function(){function L(){return N("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:B===2,onClick:function(){function L(){return N("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},u=function(g,h){var C=(0,t.useBackend)(h),N=C.act,x=C.data,B=x.contracts,L=x.contract_active,w=x.can_extract,A=!!L&&B.filter(function(R){return R.status===1})[0],T=A&&A.time_left>0,E=(0,t.useLocalState)(h,"viewingPhoto",""),O=E[0],P=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!w||T,icon:"parachute-box",content:["Call Extraction",T&&(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A.time_left,format:function(){function R(F,j){return" ("+j.substr(3)+")"}return R}()})],onClick:function(){function R(){return N("extract")}return R}()})},g,{children:B.slice().sort(function(R,F){return R.status===1?-1:F.status===1?1:R.status-F.status}).map(function(R){var F;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:R.status===1&&"good",children:R.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:R.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function j(){return P("target_photo_"+R.uid+".png")}return j}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!S[R.status]&&(0,e.createComponentVNode)(2,o.Box,{color:S[R.status][1],display:"inline-block",mt:R.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:S[R.status][0]}),R.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function j(){return N("abort")}return j}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[R.fluff_message,!!R.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",R.completed_time]}),!!R.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!R.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",R.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",d(R)]}),(F=R.difficulties)==null?void 0:F.map(function(j,W){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:j.name+" ("+j.reward+" TC)",onClick:function(){function H(){return N("activate",{uid:R.uid,difficulty:W+1})}return H}()},W)}),!!R.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[R.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(R.objective.rewards.tc||0)+" TC",",\xA0",(R.objective.rewards.credits||0)+" Credits",")"]})]})]})},R.uid)})})))},d=function(g){if(!(!g.objective||g.status>1)){var h=g.objective.locs.user_area_id,C=g.objective.locs.user_coords,N=g.objective.locs.target_area_id,x=g.objective.locs.target_coords,B=h===N;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:B?"dot-circle-o":"arrow-alt-circle-right-o",color:B?"green":"yellow",rotation:B?null:-(0,a.rad2deg)(Math.atan2(x[1]-C[1],x[0]-C[0])),lineHeight:B?null:"0.85",size:"1.5"})})}},f=function(g,h){var C=(0,t.useBackend)(h),N=C.act,x=C.data,B=x.rep,L=x.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},g,{children:L.map(function(w){return(0,e.createComponentVNode)(2,o.Section,{title:w.name,buttons:w.refundable&&(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Refund ("+w.cost+" Rep)",onClick:function(){function A(){return N("refund",{uid:w.uid})}return A}()}),children:[w.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:B-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:w.stock===0?"bad":"good",ml:"0.5rem",children:[w.stock," in stock"]})]},w.uid)})})))},l=function(b){function g(C){var N;return N=b.call(this,C)||this,N.timer=null,N.state={currentIndex:0,currentDisplay:[]},N}V(g,b);var h=g.prototype;return h.tick=function(){function C(){var N=this.props,x=this.state;if(x.currentIndex<=N.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var B=x.currentDisplay;B.push(N.allMessages[x.currentIndex])}else clearTimeout(this.timer),setTimeout(N.onFinished,N.finishedTimeout)}return C}(),h.componentDidMount=function(){function C(){var N=this,x=this.props.linesPerSecond,B=x===void 0?2.5:x;this.timer=setInterval(function(){return N.tick()},1e3/B)}return C}(),h.componentWillUnmount=function(){function C(){clearTimeout(this.timer)}return C}(),h.render=function(){function C(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(N){return(0,e.createFragment)([N,(0,e.createVNode)(1,"br")],0,N)})})}return C}(),g}(e.Component),v=function(g,h){var C=(0,t.useLocalState)(h,"viewingPhoto",""),N=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:N}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function B(){return x("")}return B}()})]})}},54151:function(I,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ConveyorSwitch=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.slowFactor,m=i.minSpeed,u=i.maxSpeed,d=i.oneWay,f=i.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:f>0?"forward":f<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!d,onClick:function(){function l(){return p("toggleOneWay")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function l(){return p("slowFactor",{value:c-.5})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function l(){return p("slowFactor",{value:c-.1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:m,maxValue:u,step:.1,format:function(){function l(v){return v+"s."}return l}(),onChange:function(){function l(v,b){return p("slowFactor",{value:b})}return l}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function l(){return p("slowFactor",{value:c+.1})}return l}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function l(){return p("slowFactor",{value:c+.5})}return l}()})," "]})]})})]})})})})}return y}()},73169:function(I,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),s=n(36036),y=n(36352),V=n(76910),k=n(98595),S=function(v,b){return v.dead?"Deceased":parseInt(v.health,10)<=b?"Critical":parseInt(v.stat,10)===1?"Unconscious":"Living"},p=function(v,b){return v.dead?"red":parseInt(v.health,10)<=b?"orange":parseInt(v.stat,10)===1?"blue":"green"},i=r.CrewMonitor=function(){function l(v,b){var g=(0,o.useBackend)(b),h=g.act,C=g.data,N=(0,o.useLocalState)(b,"tabIndex",C.IndexToggler),x=N[0],B=N[1],L=function(){function w(A){switch(A){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,d);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return w}();return(0,e.createComponentVNode)(2,k.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,s.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,s.Tabs,{children:[C.isBS?(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===0,onClick:function(){function w(){return B(0)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Command Data View"]},"ComDataView"):null,C.isBP?(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===1,onClick:function(){function w(){return B(1)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Security Data View"]},"SecDataView"):null,(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===2,onClick:function(){function w(){return B(2)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:x===3,onClick:function(){function w(){return B(3)}return w}(),children:[(0,e.createComponentVNode)(2,s.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),L(x)]})})})}return l}(),c=function(v){var b=v.crewData,g=v.context,h=(0,o.useBackend)(g),C=h.act,N=h.data,x=(0,a.sortBy)(function(T){return T.name})(b||[]),B=(0,o.useLocalState)(g,"search",""),L=B[0],w=B[1],A=(0,t.createSearch)(L,function(T){return T.name+"|"+T.assignment+"|"+T.area});return(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,s.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function T(E,O){return w(O)}return T}()}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,s.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,s.Table.Cell,{children:"Location"})]}),x.filter(A).map(function(T){return(0,e.createComponentVNode)(2,s.Table.Row,{bold:!!T.is_command,children:[(0,e.createComponentVNode)(2,y.TableCell,{children:[T.name," (",T.assignment,")"]}),(0,e.createComponentVNode)(2,y.TableCell,{children:[(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:p(T,N.critThreshold),children:S(T,N.critThreshold)}),T.sensor_type>=2?(0,e.createComponentVNode)(2,s.Box,{inline:!0,children:["(",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.oxy,children:T.oxy}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.toxin,children:T.tox}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.burn,children:T.fire}),"|",(0,e.createComponentVNode)(2,s.Box,{inline:!0,color:V.COLORS.damageType.brute,children:T.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,y.TableCell,{children:T.sensor_type===3?N.isAI?(0,e.createComponentVNode)(2,s.Button,{fluid:!0,icon:"location-arrow",content:T.area+" ("+T.x+", "+T.y+")",onClick:function(){function E(){return C("track",{track:T.ref})}return E}()}):T.area+" ("+T.x+", "+T.y+")":"Not Available"})]},T.ref)})]})]})},m=function(v,b){var g=(0,o.useBackend)(b),h=g.act,C=g.data,N=C.crewmembers||[];return(0,e.createComponentVNode)(2,c,{crewData:N,context:b})},u=function(v,b){var g=(0,o.useBackend)(b),h=g.act,C=g.data,N=C.crewmembers.filter(function(x){return x.is_command})||[];return(0,e.createComponentVNode)(2,c,{crewData:N,context:b})},d=function(v,b){var g=(0,o.useBackend)(b),h=g.act,C=g.data,N=C.crewmembers.filter(function(x){return x.is_security})||[];return(0,e.createComponentVNode)(2,c,{crewData:N,context:b})},f=function(v,b){var g=(0,o.useBackend)(b),h=g.act,C=g.data,N=C.stationLevelNum,x=C.stationLevelName,B=(0,o.useLocalState)(b,"zoom",1),L=B[0],w=B[1],A=(0,o.useLocalState)(b,"z_current",N[0]),T=A[0],E=A[1],O=function(j){return j.is_command&&C.isBS||j.is_security&&C.isBP?"square":"circle"},P=function(j){return j.is_command&&C.isBS||j.is_security&&C.isBP?10:6},R=function(j,W){return j.is_command&&C.isBS||j.is_security&&C.isBP?j.dead?"red":parseInt(j.health,10)<=W?"orange":parseInt(j.stat,10)===1?"blue":"violet":p(j,W)};return(0,e.createComponentVNode)(2,s.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,s.NanoMap,{onZoom:function(){function F(j){return w(j)}return F}(),zLevels:N,zNames:x,z_current:T,setZCurrent:E,children:C.crewmembers.filter(function(F){return F.sensor_type===3}).map(function(F){return(0,e.createComponentVNode)(2,s.NanoMap.Marker,{x:F.x,y:F.y,z:F.z,z_current:T,zoom:L,icon:O(F),size:P(F),tooltip:F.name+" ("+F.assignment+")",color:R(F,C.critThreshold),onClick:function(){function j(){C.isAI&&h("track",{track:F.ref})}return j}()},F.ref)})})})}},63987:function(I,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(41260),t=n(72253),o=n(36036),s=n(98595),y=[{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:"\u0420\u0430\u043D\u044B",type:"bruteLoss"},{label:"\u041E\u0436\u043E\u0433\u0438",type:"fireLoss"}],V=[["good","\u0412 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u0438"],["average","\u0411\u0435\u0437 \u0441\u043E\u0437\u043D\u0430\u043D\u0438\u044F"],["bad","\u0422\u0420\u0423\u041F"]],k=r.Cryo=function(){function i(c,m){return(0,e.createComponentVNode)(2,s.Window,{width:520,height:490,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return i}(),S=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.isOperating,v=f.hasOccupant,b=f.occupant,g=b===void 0?[]:b,h=f.cellTemperature,C=f.cellTemperatureStatus,N=f.isBeakerLoaded,x=f.auto_eject_healthy,B=f.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:2,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!v,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C"}),children:v?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",children:g.name||"\u0418\u043C\u044F \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:g.health,max:g.maxHealth,value:g.health/g.maxHealth,color:g.health>0?"good":"average",children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(g.health)})})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",color:V[g.stat][0],children:V[g.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(g.bodyTemperature)})," ","K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),y.map(function(L){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:g[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:Math.round(g[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,o.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"\u041F\u0430\u0446\u0438\u0435\u043D\u0442 \u043D\u0435 \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D."]})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"\u041A\u0440\u0438\u043E\u043A\u0430\u043F\u0441\u0443\u043B\u0430",fill:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!N,children:"\u0418\u0437\u0432\u043B\u0435\u0447\u044C \u0451\u043C\u043A\u043E\u0441\u0442\u044C"}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u041F\u0438\u0442\u0430\u043D\u0438\u0435",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",onClick:function(){function L(){return d(l?"switchOff":"switchOn")}return L}(),selected:l,children:l?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",color:C,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:h})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0437\u0434\u043E\u0440\u043E\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,onClick:function(){function L(){return d(x?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:x?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0410\u0432\u0442\u043E\u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u043C\u0451\u0440\u0442\u0432\u044B\u0445 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u043E\u0432",children:(0,e.createComponentVNode)(2,o.Button,{icon:B?"toggle-on":"toggle-off",selected:B,onClick:function(){function L(){return d(B?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:B?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B"})})]})})})]})},p=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.isBeakerLoaded,v=f.beakerLabel,b=f.beakerVolume;return l?(0,e.createFragment)([v?"\xAB"+v+"\xBB":(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0430"}),(0,e.createComponentVNode)(2,o.Box,{color:!b&&"bad",children:b?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:b,format:function(){function g(h){var C=Math.round(h),N=(0,a.declensionRu)(C,"\u041E\u0441\u0442\u0430\u043B\u0430\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u0438\u0441\u044C","\u041E\u0441\u0442\u0430\u043B\u043E\u0441\u044C"),x=(0,a.declensionRu)(C,"\u0435\u0434\u0438\u043D\u0438\u0446\u0430","\u0435\u0434\u0438\u043D\u0438\u0446\u044B","\u0435\u0434\u0438\u043D\u0438\u0446");return N+" "+C+" "+x}return g}()}):"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043F\u0443\u0441\u0442\u0430"})],0):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"\u0401\u043C\u043A\u043E\u0441\u0442\u044C \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430"})}},86099:function(I,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(25328),y=r.CryopodConsole=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.data,u=m.account_name,d=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(u||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,V),!!d&&(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,a.useBackend)(i),m=c.data,u=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:u.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(d,f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:d.rank},f)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},k=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.frozen_items,f=function(v){var b=v.toString();return b.startsWith("the ")&&(b=b.slice(4,b.length)),(0,s.toTitleCase)(b)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:d.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:f(l.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function v(){return m("one_item",{item:l.uid})}return v}()})},l)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function l(){return m("all_items")}return l}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},94848:function(I,r,n){"use strict";r.__esModule=!0,r.Customat=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=function(S,p){var i=(0,t.useBackend)(p),c=i.act,m=i.data,u=S.product,d=m.user,f=m.userMoney,l=m.vend_ready,v=u.price===0,b="ERROR!",g="";v?(b="FREE",g="arrow-circle-down"):(b=u.price,g="shopping-cart");var h=!l||u.stock===0||!v&&u.price>f;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u.icon,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:u.stock<=0&&"bad"||"good",children:[u.stock," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:h,icon:g,content:b,textAlign:"left",onClick:function(){function C(){return c("vend",{Key:u.Key})}return C}()})})]})},V=r.Customat=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,m=i.data,u=m.guestNotice,d=m.userMoney,f=m.user,l=m.products,v=m.vend_ready,b=m.panel_open,g=m.speaker;return(0,e.createComponentVNode)(2,s.Window,{width:470,height:600,title:"Customat",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"User",children:f&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,f.name,0),", ",(0,e.createVNode)(1,"b",null,f.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:u})}),!!b&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:g?"check":"volume-mute",selected:g,content:"Speaker",textAlign:"left",onClick:function(){function h(){return c("toggle_voice",{})}return h}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:l.map(function(h){return(0,e.createComponentVNode)(2,y,{product:h,productStock:h.stock},h.name)})})})})]})})})}return k}()},12692:function(I,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(3939),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],k=[5,10,20,30,50],S=r.DNAModifier=function(){function h(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.irradiating,A=L.dnaBlockSize,T=L.occupant;N.dnaBlockSize=A,N.isDNAInvalid=!T.isViableSubject||!T.uniqueIdentity||!T.structuralEnzymes;var E;return w&&(E=(0,e.createComponentVNode)(2,b,{duration:w})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,s.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,p)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i)})]})})]})}return h}(),p=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.locked,A=L.hasOccupant,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:w,icon:w?"toggle-on":"toggle-off",content:w?"Engaged":"Disengaged",onClick:function(){function E(){return B("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||w,icon:"user-slash",content:"Eject",onClick:function(){function E(){return B("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:T.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:T.minHealth,max:T.maxHealth,value:T.health/T.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:y[T.stat][0],children:y[T.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),N.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:T.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},i=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.selectedMenuKey,A=L.hasOccupant,T=L.occupant;if(A){if(N.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return w==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)],4):w==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4):w==="buffer"?E=(0,e.createComponentVNode)(2,d):w==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,v)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:V.map(function(O,P){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:O[2],selected:w===O[0],onClick:function(){function R(){return B("selectMenuKey",{key:O[0]})}return R}(),children:O[1]},P)})}),E]})},c=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.selectedUIBlock,A=L.selectedUISubBlock,T=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,g,{dnaString:E.uniqueIdentity,selectedBlock:w,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:T,format:function(){function O(P){return P.toString(16).toUpperCase()}return O}(),ml:"0",onChange:function(){function O(P,R){return B("changeUITarget",{value:R})}return O}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function O(){return B("pulseUIRadiation")}return O}()})]})},m=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.selectedSEBlock,A=L.selectedSESubBlock,T=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,g,{dnaString:T.structuralEnzymes,selectedBlock:w,selectedSubblock:A,blockSize:N.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return B("pulseSERadiation")}return E}()})]})},u=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:w,popUpPosition:"right",ml:"0",onChange:function(){function T(E,O){return B("radiationIntensity",{value:O})}return T}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function T(E,O){return B("radiationDuration",{value:O})}return T}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function T(){return B("pulseRadiation")}return T}()})]})},d=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.buffers,A=w.map(function(T,E){return(0,e.createComponentVNode)(2,f,{id:E+1,name:"Buffer "+(E+1),buffer:T},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,l)})]})},f=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=C.id,A=C.name,T=C.buffer,E=L.isInjectorReady,O=A+(T.data?" - "+T.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:O,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!T.data,icon:"trash",content:"Clear",onClick:function(){function P(){return B("bufferOption",{option:"clear",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data,icon:"pen",content:"Rename",onClick:function(){function P(){return B("bufferOption",{option:"changeLabel",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!T.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function P(){return B("bufferOption",{option:"saveDisk",id:w})}return P}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveUI",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveUIAndUE",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"saveSE",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"loadDisk",id:w})}return P}()})]}),!!T.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:T.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[T.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!T.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"createInjector",id:w})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"createInjector",id:w,block:1})}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function P(){return B("bufferOption",{option:"transfer",id:w})}return P}()})]})],4)]}),!T.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},l=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!w||!A.data,icon:"trash",content:"Wipe",onClick:function(){function T(){return B("wipeDisk")}return T}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function T(){return B("ejectDisk")}return T}()})],4),children:w?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},v=function(C,N){var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=L.isBeakerLoaded,A=L.beakerVolume,T=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function E(){return B("ejectBeaker")}return E}()}),children:w?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function P(){return B("injectRejuvenators",{amount:E})}return P}()},O)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return B("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:T||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},b=function(C,N){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),C.duration,(0,e.createTextVNode)(" second"),C.duration===1?"":"s"],0)})]})},g=function(C,N){for(var x=(0,a.useBackend)(N),B=x.act,L=x.data,w=C.dnaString,A=C.selectedBlock,T=C.selectedSubblock,E=C.blockSize,O=C.action,P=w.split(""),R=0,F=[],j=function(){for(var z=W/E+1,Y=[],G=function(){var he=ne+1;Y.push((0,e.createComponentVNode)(2,t.Button,{selected:A===z&&T===he,content:P[W+ne],mb:"0",onClick:function(){function Ve(){return B(O,{block:z,subblock:he})}return Ve}()}))},ne=0;ne0?"Yes":"No",selected:i.com>0,onClick:function(){function m(){return p("toggle_com")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Security",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.sec===m,content:m,onClick:function(){function d(){return p("set_sec",{set_sec:m})}return d}()},"sec"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Medical",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.med===m,content:m,onClick:function(){function d(){return p("set_med",{set_med:m})}return d}()},"med"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Engineering",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.eng===m,content:m,onClick:function(){function d(){return p("set_eng",{set_eng:m})}return d}()},"eng"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Paranormal",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.par===m,content:m,onClick:function(){function d(){return p("set_par",{set_par:m})}return d}()},"par"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitor",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.jan===m,content:m,onClick:function(){function d(){return p("set_jan",{set_jan:m})}return d}()},"jan"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cyborg",children:c.map(function(m,u){return(0,e.createComponentVNode)(2,t.Button,{selected:i.cyb===m,content:m,onClick:function(){function d(){return p("set_cyb",{set_cyb:m})}return d}()},"cyb"+m)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Slots",children:(0,e.createComponentVNode)(2,t.Box,{color:i.total>i.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Send ERT",onClick:function(){function m(){return p("dispatch_ert")}return m}()})})]})})]})})}return y}()},82565:function(I,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=r.Electropack=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,c=p.data,m=c.power,u=c.code,d=c.frequency,f=c.minFrequency,l=c.maxFrequency;return(0,e.createComponentVNode)(2,s.Window,{width:360,height:150,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function v(){return i("power")}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function v(){return i("reset",{reset:"freq"})}return v}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:f/10,maxValue:l/10,value:d/10,format:function(){function v(b){return(0,a.toFixed)(b,1)}return v}(),width:"80px",onChange:function(){function v(b,g){return i("freq",{freq:g})}return v}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function v(){return i("reset",{reset:"code"})}return v}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(){function v(b,g){return i("code",{code:g})}return v}()})})]})})})})}return V}()},36730:function(I,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.EvolutionMenu=function(){function k(S,p){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:574,theme:"changeling",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.evo_points,d=m.can_respec;return(0,e.createComponentVNode)(2,t.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:u}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{ml:2.5,disabled:!d,content:"Readapt",icon:"sync",onClick:function(){function f(){return c("readapt")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.evo_points,d=m.ability_list,f=m.purchased_abilities,l=m.view_mode;return(0,e.createComponentVNode)(2,t.Section,{title:"Abilities",flexGrow:"1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:l?"square-o":"check-square-o",selected:!l,content:"Compact",onClick:function(){function v(){return c("set_view_mode",{mode:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:l?"check-square-o":"square-o",selected:l,content:"Expanded",onClick:function(){function v(){return c("set_view_mode",{mode:1})}return v}()})],4),children:d.map(function(v,b){return(0,e.createComponentVNode)(2,t.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{ml:.5,color:"#dedede",children:v.name}),f.includes(v.power_path)&&(0,e.createComponentVNode)(2,t.Flex.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,t.Flex.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,t.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,t.Box,{as:"span",bold:!0,color:"#1b945c",children:v.cost})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,t.Button,{mr:.5,disabled:v.cost>u||f.includes(v.power_path),content:"Evolve",onClick:function(){function g(){return c("purchase",{power_path:v.power_path})}return g}()})})]}),!!l&&(0,e.createComponentVNode)(2,t.Flex,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:v.description+" "+v.helptext})]},b)})})}},17370:function(I,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),s=n(36036),y=n(73379),V=n(98595),k=["id","amount","lineDisplay","onClick"];function S(b,g){if(b==null)return{};var h={};for(var C in b)if({}.hasOwnProperty.call(b,C)){if(g.includes(C))continue;h[C]=b[C]}return h}var p=2e3,i={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function b(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=x.building;return(0,e.createComponentVNode)(2,V.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,V.Window.Content,{className:"Exofab",children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)}),B&&(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f)})]})})]})})})}return b}(),m=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=x.materials,L=x.capacity,w=Object.values(B).reduce(function(A,T){return A+T},0);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,s.Box,{color:"label",mt:"0.25rem",children:[(w/L*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(A){return(0,e.createComponentVNode)(2,l,{mt:-2,id:A,bold:A==="metal"||A==="glass",onClick:function(){function T(){return N("withdraw",{id:A})}return T}()},A)})})},u=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=x.curCategory,L=x.categories,w=x.designs,A=x.syncing,T=(0,o.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=(0,t.createSearch)(E,function(F){return F.name}),R=w.filter(P);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,s.Dropdown,{className:"Exofab__dropdown",selected:B,options:L,onSelected:function(){function F(j){return N("category",{cat:j})}return F}()}),buttons:(0,e.createComponentVNode)(2,s.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,s.Button,{icon:"plus",content:"Queue all",onClick:function(){function F(){return N("queueall")}return F}()}),(0,e.createComponentVNode)(2,s.Button,{disabled:A,iconSpin:A,icon:"sync-alt",content:A?"Synchronizing...":"Synchronize with R&D servers",onClick:function(){function F(){return N("sync")}return F}()})]}),children:[(0,e.createComponentVNode)(2,s.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function F(j,W){return O(W)}return F}()}),R.map(function(F){return(0,e.createComponentVNode)(2,v,{design:F},F.id)}),R.length===0&&(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No designs found."})]})},d=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=x.building,L=x.buildStart,w=x.buildEnd,A=x.worldTime;return(0,e.createComponentVNode)(2,s.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,s.ProgressBar.Countdown,{start:L,current:A,end:w,children:(0,e.createComponentVNode)(2,s.Stack,{children:[(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:["Building ",B,"\xA0(",(0,e.createComponentVNode)(2,y.Countdown,{current:A,timeLeft:w-A,format:function(){function T(E,O){return O.substr(3)}return T}()}),")"]})]})})})},f=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=x.queue,L=x.processingQueue,w=Object.entries(x.queueDeficit).filter(function(T){return T[1]<0}),A=B.reduce(function(T,E){return T+E.time},0);return(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,s.Button,{selected:L,icon:L?"toggle-on":"toggle-off",content:"Process",onClick:function(){function T(){return N("process")}return T}()}),(0,e.createComponentVNode)(2,s.Button,{disabled:B.length===0,icon:"eraser",content:"Clear",onClick:function(){function T(){return N("unqueueall")}return T}()})]}),children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:B.length===0?(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:B.map(function(T,E){return(0,e.createComponentVNode)(2,s.Box,{color:T.notEnough&&"bad",children:[E+1,". ",T.name,E>0&&(0,e.createComponentVNode)(2,s.Button,{icon:"arrow-up",onClick:function(){function O(){return N("queueswap",{from:E+1,to:E})}return O}()}),E0&&(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,s.Divider),"Processing time:",(0,e.createComponentVNode)(2,s.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,s.Box,{inline:!0,bold:!0,children:new Date(A/10*1e3).toISOString().substr(14,5)})]}),Object.keys(w).length>0&&(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,s.Divider),"Lacking materials to complete:",w.map(function(T){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,l,{id:T[0],amount:-T[1],lineDisplay:!0})},T[0])})]})],0)})})},l=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=g.id,L=g.amount,w=g.lineDisplay,A=g.onClick,T=S(g,k),E=x.materials[B]||0,O=L||E;if(!(O<=0&&!(B==="metal"||B==="glass"))){var P=L&&L>E;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",w&&"Exofab__material--line"])},T,{children:w?(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{className:(0,a.classes)(["materials32x32",B])}),(0,e.createComponentVNode)(2,s.Stack.Item,{className:"Exofab__material--amount",color:P&&"bad",ml:0,mr:1,children:O.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,s.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,s.Button,{width:"85%",color:"transparent",onClick:A,children:(0,e.createComponentVNode)(2,s.Box,{mt:1,className:(0,a.classes)(["materials32x32",B])})})}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__material--name",children:B}),(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__material--amount",children:[O.toLocaleString("en-US")," cm\xB3 (",Math.round(O/p*10)/10," ","sheets)"]})]})],4)})))}},v=function(g,h){var C=(0,o.useBackend)(h),N=C.act,x=C.data,B=g.design;return(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,s.Button,{disabled:B.notEnough||x.building,icon:"cog",content:B.name,onClick:function(){function L(){return N("build",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,s.Button,{icon:"plus-circle",onClick:function(){function L(){return N("queue",{id:B.id})}return L}()}),(0,e.createComponentVNode)(2,s.Box,{className:"Exofab__design--cost",children:Object.entries(B.cost).map(function(L){return(0,e.createComponentVNode)(2,s.Box,{children:(0,e.createComponentVNode)(2,l,{id:L[0],amount:L[1],lineDisplay:!0})},L[0])})}),(0,e.createComponentVNode)(2,s.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,s.Stack.Item,{children:[(0,e.createComponentVNode)(2,s.Icon,{name:"clock"}),B.time>0?(0,e.createFragment)([B.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})}},97086:function(I,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=0,y=1013,V=function(p){var i="good",c=80,m=95,u=110,d=120;return pu?i="average":p>d&&(i="bad"),i},k=r.ExternalAirlockController=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.chamber_pressure,f=u.exterior_status,l=u.interior_status,v=u.processing;return(0,e.createComponentVNode)(2,o.Window,{width:470,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:V(d),value:d,minValue:s,maxValue:y,children:[d," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:v,onClick:function(){function b(){return m("cycle_ext")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Cycle to Interior",icon:"arrow-circle-right",disabled:v,onClick:function(){function b(){return m("cycle_int")}return b}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Force Exterior Door",icon:"exclamation-triangle",color:l==="open"?"red":v?"yellow":null,onClick:function(){function b(){return m("force_ext")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Force Interior Door",icon:"exclamation-triangle",color:l==="open"?"red":v?"yellow":null,onClick:function(){function b(){return m("force_int")}return b}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!v,onClick:function(){function b(){return m("abort")}return b}()})})]})]})})}return S}()},96142:function(I,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.FaxMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.scan_name?"eject":"id-card",selected:i.scan_name,content:i.scan_name?i.scan_name:"-----",tooltip:i.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return p("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authenticated?"sign-out-alt":"id-card",selected:i.authenticated,disabled:!i.scan_name&&!i.authenticated,content:i.authenticated?"Log Out":"Log In",onClick:function(){function c(){return p("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:i.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:i.paper?"eject":"paperclip",disabled:!i.authenticated&&!i.paper,content:i.paper?i.paper:"-----",onClick:function(){function c(){return p("paper")}return c}()}),!!i.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return p("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:i.destination?i.destination:"-----",disabled:!i.authenticated,onClick:function(){function c(){return p("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:i.sendError?i.sendError:"Send",disabled:!i.paper||!i.destination||!i.authenticated||i.sendError,onClick:function(){function c(){return p("send")}return c}()})})]})})]})})}return y}()},83767:function(I,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=k.image,u=k.isSelected,d=k.onSelect;return(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"border-style":u&&"solid"||"none","border-width":"2px","border-color":"orange",padding:u&&"2px"||"4px"},onClick:d})},y=r.FloorPainter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.availableStyles,u=c.selectedStyle,d=c.selectedDir,f=c.directionsPreview,l=c.allStylesPreview;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function v(){return i("cycle_style",{offset:-1})}return v}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:m,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function v(b){return i("select_style",{style:b})}return v}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function v(){return i("cycle_style",{offset:1})}return v}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"220px",wrap:"wrap",children:m.map(function(v){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,s,{image:l[v],isSelected:u===v,onSelect:function(){function b(){return i("select_style",{style:v})}return b}()})},"{style}")})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:["north","","south"].map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[v+"west",v,v+"east"].map(function(b){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:b===""?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,s,{image:f[b],isSelected:b===d,onSelect:function(){function g(){return i("select_direction",{direction:b})}return g}()})},b)})},v)})})})})]})})})}return V}()},53424:function(I,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=function(u){return u?"("+u.join(", ")+")":"ERROR"},V=function(u,d,f){if(!(!u||!d)){if(u[2]!==d[2]||f!==1)return null;var l=Math.atan2(d[1]-u[1],d[0]-u[0]),v=Math.sqrt(Math.pow(d[1]-u[1],2)+Math.pow(d[0]-u[0],2));return{angle:(0,a.rad2deg)(l),distance:v}}},k=r.GPS=function(){function m(u,d){var f=(0,t.useBackend)(d),l=f.data,v=l.emped,b=l.active,g=l.area,h=l.position,C=l.saved;return(0,e.createComponentVNode)(2,s.Window,{width:450,height:700,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:v?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,S,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,p)}),b?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,i,{area:g,position:h})}),C&&(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,i,{title:"Saved Position",position:C})}),(0,e.createComponentVNode)(2,o.Flex.Item,{mt:"0.5rem",grow:"1",basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,S)],0)})})})}return m}(),S=function(u,d){var f=u.emp;return(0,e.createComponentVNode)(2,o.Section,{mt:"0.5rem",width:"100%",height:"100%",stretchContents:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:f?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),f?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},p=function(u,d){var f=(0,t.useBackend)(d),l=f.act,v=f.data,b=v.active,g=v.tag,h=v.same_z,C=(0,t.useLocalState)(d,"newTag",g),N=C[0],x=C[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:b,icon:b?"toggle-on":"toggle-off",content:b?"On":"Off",onClick:function(){function B(){return l("toggle")}return B}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:g,onEnter:function(){function B(){return l("tag",{newtag:N})}return B}(),onInput:function(){function B(L,w){return x(w)}return B}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:g===N,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function B(){return l("tag",{newtag:N})}return B}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"compress":"expand",content:h?"Local Sector":"Global",onClick:function(){function B(){return l("same_z")}return B}()})})]})})},i=function(u,d){var f=u.title,l=u.area,v=u.position;return(0,e.createComponentVNode)(2,o.Section,{title:f||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[l&&(0,e.createFragment)([l,(0,e.createVNode)(1,"br")],0),y(v)]})})},c=function(u,d){var f=(0,t.useBackend)(d),l=f.data,v=l.position,b=l.signals,g=l.upgraded;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Signals",overflow:"auto"},u,{children:(0,e.createComponentVNode)(2,o.Table,{children:b.map(function(h){return Object.assign({},h,V(v,h.position,g))}).map(function(h,C){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:C%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:h.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:h.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:h.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(h.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:h.distance>0?"arrow-right":"circle",rotation:-h.angle}),"\xA0",Math.floor(h.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:y(h.position)})]},C)})})})))}},68703:function(I,r,n){"use strict";r.__esModule=!0,r.GasAnalyzerHistory=r.GasAnalyzerContent=r.GasAnalyzer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GasAnalyzerContent=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.gasmixes,d=m.autoUpdating;return(0,e.createComponentVNode)(2,t.Section,{title:u[0].name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"unlock":"lock",onClick:function(){function f(){return c("autoscantoggle")}return f}(),tooltip:d?"Auto-Update Enabled":"Auto-Update Disabled",fluid:!0,textAlign:"center",selected:d}),children:u[0].total_moles?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Moles",children:(u[0].total_moles?u[0].total_moles:"-")+" mol"}),u[0].oxygen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:u[0].oxygen.toFixed(2)+" mol ("+(u[0].oxygen/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].nitrogen?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:u[0].nitrogen.toFixed(2)+" mol ("+(u[0].nitrogen/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].carbon_dioxide?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:u[0].carbon_dioxide.toFixed(2)+" mol ("+(u[0].carbon_dioxide/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].toxins?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:u[0].toxins.toFixed(2)+" mol ("+(u[0].toxins/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].sleeping_agent?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:u[0].sleeping_agent.toFixed(2)+" mol ("+(u[0].sleeping_agent/u[0].total_moles).toFixed(2)*100+" %)"}):"",u[0].agent_b?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Agent B",children:u[0].agent_b.toFixed(2)+" mol ("+(u[0].agent_b/u[0].total_moles).toFixed(2)*100+" %)"}):"",(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(u[0].total_moles?(u[0].temperature-273.15).toFixed(2):"-")+" \xB0C ("+(u[0].total_moles?u[0].temperature.toFixed(2):"-")+" K)"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Volume",children:(u[0].total_moles?u[0].volume:"-")+" L"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(u[0].total_moles?u[0].pressure.toFixed(2):"-")+" kPa"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Heat Capacity",children:u[0].heat_capacity+" / K"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Thermal Energy",children:u[0].thermal_energy})]}):(0,e.createComponentVNode)(2,t.Box,{nowrap:!0,italic:!0,mb:"10px",children:"No Gas Detected!"})},u[0])}return k}(),y=r.GasAnalyzerHistory=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.historyGasmixes,d=m.historyViewMode,f=m.historyIndex;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Scan History",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"trash",tooltip:"Clear History",onClick:function(){function l(){return c("clearhistory")}return l}(),textAlign:"center",disabled:u.length===0}),children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",children:(0,e.createComponentVNode)(2,t.Flex,{inline:!0,width:"50%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"kPa",onClick:function(){function l(){return c("modekpa")}return l}(),textAlign:"center",selected:d==="kpa"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"mol",onClick:function(){function l(){return c("modemol")}return l}(),textAlign:"center",selected:d==="mol"})})]})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(l,v){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:v+1+". "+(d==="mol"?l[0].total_moles.toFixed(2):l[0].pressure.toFixed(2)),onClick:function(){function b(){return c("input",{target:v+1})}return b}(),textAlign:"left",selected:v+1===f,fluid:!0})},l[0])})})]})}return k}(),V=r.GasAnalyzer=function(){function k(S,p){var i={float:"left",width:"67%"},c={float:"right",width:"33%"};return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{grow:!0,children:(0,e.createComponentVNode)(2,s)}),2,{style:i}),(0,e.createVNode)(1,"div",null,(0,e.createComponentVNode)(2,t.Section,{width:"160px",children:(0,e.createComponentVNode)(2,y)}),2,{style:c})]})})}return k}()},27546:function(I,r,n){"use strict";r.__esModule=!0,r.GasFreezer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GasFreezer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.on,m=i.pressure,u=i.temperature,d=i.temperatureCelsius,f=i.min,l=i.max,v=i.target,b=i.targetCelsius,g=(u-f)/(l-f);return(0,e.createComponentVNode)(2,o.Window,{width:560,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c?"power-off":"times",content:c?"\u0412\u043A\u043B":"\u0412\u044B\u043A\u043B",selected:c,onClick:function(){function h(){return p("power")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[m," \u043A\u041F\u0430"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:g,ranges:{blue:[-1/0,.5],red:[.5,1/0]},children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:[g<.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"blue",ml:1,children:[u," \xB0K (",d," \xB0C)"]}),g>=.5&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"red",ml:1,children:[u," \xB0K (",d," \xB0C)"]})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0435\u043B\u0435\u0432\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"65%",justify:"end",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:(v-f)/(l-f),children:"\xA0"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"35%",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,ml:1,children:[v," \xB0K (",b," \xB0C)"]})})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0434\u0430\u0442\u044C \u0446\u0435\u043B\u0435\u0432\u0443\u044E \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0443",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",title:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function h(){return p("temp",{temp:f})}return h}()}),(0,e.createComponentVNode)(2,t.NumberInput,{value:Math.round(v),unit:"\xB0K",minValue:Math.round(f),maxValue:Math.round(l),step:5,stepPixelSize:3,onDrag:function(){function h(C,N){return p("temp",{temp:N})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",title:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430",onClick:function(){function h(){return p("temp",{temp:l})}return h}()})]})]})})})})}return y}()},89124:function(I,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(35840),o=n(36036),s=n(3939),y=n(98595),V=r.GeneModder=function(){function d(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.has_seed;return(0,e.createComponentVNode)(2,y.Window,{width:500,height:650,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,s.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),g===0?(0,e.createComponentVNode)(2,S):(0,e.createComponentVNode)(2,k)]})})})}return d}(),k=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.disk;return(0,e.createComponentVNode)(2,o.Section,{title:"Genes",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Insert Gene from Disk",disabled:!h||!h.can_insert||h.is_core,icon:"arrow-circle-down",onClick:function(){function C(){return b("insert")}return C}()}),children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})},S=function(f,l){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,o.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},p=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.has_seed,C=g.seed,N=g.has_disk,x=g.disk,B,L;return h?B=(0,e.createComponentVNode)(2,o.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",(0,t.classes)(["seeds32x32",C.image]),null,1,{style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,o.Button,{content:C.name,onClick:function(){function w(){return b("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,o.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return b("variant_name")}return w}()})]}):B=(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:"None",onClick:function(){function w(){return b("eject_seed")}return w}()})}),N?L=x.name:L="None",(0,e.createComponentVNode)(2,o.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Plant Sample",children:B}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:3.3,content:L,onClick:function(){function w(){return b("eject_disk")}return w}()})})})]})})},i=function(f,l){var v=(0,a.useBackend)(l),b=v.act,g=v.data,h=g.disk,C=g.core_genes;return(0,e.createComponentVNode)(2,o.Collapsible,{title:"Core Genes",open:!0,children:[C.map(function(N){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:N.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(h!=null&&h.can_extract),icon:"save",onClick:function(){function x(){return b("extract",{id:N.id})}return x}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace",disabled:!N.is_type||!h.can_insert,icon:"arrow-circle-down",onClick:function(){function x(){return b("replace",{id:N.id})}return x}()})})]},N)})," ",(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Replace All",disabled:!(h!=null&&h.is_bulk_core),icon:"arrow-circle-down",onClick:function(){function N(){return b("bulk_replace_core")}return N}()})})})]},"Core Genes")},c=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.reagent_genes,h=b.has_reagent;return(0,e.createComponentVNode)(2,u,{title:"Reagent Genes",gene_set:g,do_we_show:h})},m=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.trait_genes,h=b.has_trait;return(0,e.createComponentVNode)(2,u,{title:"Trait Genes",gene_set:g,do_we_show:h})},u=function(f,l){var v=f.title,b=f.gene_set,g=f.do_we_show,h=(0,a.useBackend)(l),C=h.act,N=h.data,x=N.disk;return(0,e.createComponentVNode)(2,o.Collapsible,{title:v,open:!0,children:g?b.map(function(B){return(0,e.createComponentVNode)(2,o.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{width:"100%",ml:"2px",children:B.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Extract",disabled:!(x!=null&&x.can_extract),icon:"save",onClick:function(){function L(){return C("extract",{id:B.id})}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return C("remove",{id:B.id})}return L}()})})]},B)}):(0,e.createComponentVNode)(2,o.Stack.Item,{children:"No Genes Detected"})},v)}},73053:function(I,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),s=r.GenericCrewManifest=function(){function y(V,k){return(0,e.createComponentVNode)(2,t.Window,{width:588,height:510,theme:"nologo",children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return y}()},42914:function(I,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GhostHudPanel=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.security,m=i.medical,u=i.diagnostic,d=i.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,y,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,y,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,y,{label:"Diagnostic",type:"diagnostic",is_active:u}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,y,{label:"Antag HUD",is_active:d,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=k.label,m=k.type,u=m===void 0?null:m,d=k.is_active,f=k.act_on,l=f===void 0?"hud_on":f,v=k.act_off,b=v===void 0?"hud_off":v;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:d?"On":"Off",icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){function g(){return i(d?b:l,{hud_type:u})}return g}()})})]})}},25825:function(I,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.GlandDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:u.color,content:u.amount||"0",disabled:!u.amount,onClick:function(){function d(){return p("dispense",{gland_id:u.id})}return d}()},u.id)})})})})}return y}()},67834:function(I,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=[1,5,10,20,30,50],y=null,V=r.HandheldChemDispenser=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S)]})})})}return p}(),k=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.amount,l=d.energy,v=d.maxEnergy,b=d.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[l," / ",v," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:s.map(function(g,h){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:f===g,content:g,onClick:function(){function C(){return u("amount",{amount:g})}return C}()})},h)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"dispense"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"remove"})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:b==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function g(){return u("mode",{mode:"isolate"})}return g}()})]})})]})})})},S=function(i,c){for(var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.chemicals,l=f===void 0?[]:f,v=d.current_reagent,b=[],g=0;g<(l.length+1)%3;g++)b.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:d.glass?"Drink Selector":"Chemical Selector",children:[l.map(function(h,C){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:v===h.id,content:h.title,style:{"margin-left":"2px"},onClick:function(){function N(){return u("dispense",{reagent:h.id})}return N}()},C)}),b.map(function(h,C){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},C)})]})})}},75926:function(I,r,n){"use strict";r.__esModule=!0,r.ImplantPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ImplantPad=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.implant,m=i.contains_case,u=i.tag,d=(0,a.useLocalState)(k,"newTag",u),f=d[0],l=d[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function v(){return p("eject_case")}return v}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function v(){return p("tag",{newtag:f})}return v}(),onInput:function(){function v(b,g){return l(g)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===f,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function v(){return p("tag",{newtag:f})}return v}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return y}()},25471:function(I,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=r.Instrument=function(){function i(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data;return(0,e.createComponentVNode)(2,s.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,p)]})})]})}return i}(),V=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.help;if(l)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen:"),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function v(){return d("help")}return v}()})]})})})},k=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.lines,v=f.playing,b=f.repeat,g=f.maxRepeats,h=f.tempo,C=f.minTempo,N=f.maxTempo,x=f.tickLag,B=f.volume,L=f.minVolume,w=f.maxVolume,A=f.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function T(){return d("help")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function T(){return d("newsong")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function T(){return d("import")}return T}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:v,disabled:l.length===0||b<0,icon:"play",content:"Play",onClick:function(){function T(){return d("play")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!v,icon:"stop",content:"Stop",onClick:function(){function T(){return d("stop")}return T}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:g,value:b,stepPixelSize:59,onChange:function(){function T(E,O){return d("repeat",{new:O})}return T}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:h>=N,content:"-",as:"span",mr:"0.5rem",onClick:function(){function T(){return d("tempo",{new:h+x})}return T}()}),(0,a.round)(600/h)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:h<=C,content:"+",as:"span",ml:"0.5rem",onClick:function(){function T(){return d("tempo",{new:h-x})}return T}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:w,value:B,stepPixelSize:6,onDrag:function(){function T(E,O){return d("setvolume",{new:O})}return T}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,S)]})},S=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.allowedInstrumentNames,v=f.instrumentLoaded,b=f.instrument,g=f.canNoteShift,h=f.noteShift,C=f.noteShiftMin,N=f.noteShiftMax,x=f.sustainMode,B=f.sustainLinearDuration,L=f.sustainExponentialDropoff,w=f.legacy,A=f.sustainDropoffVolume,T=f.sustainHeldNote,E,O;return x===1?(E="Linear",O=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:B,step:.5,stepPixelSize:85,format:function(){function P(R){return(0,a.round)(R*100)/100+" seconds"}return P}(),onChange:function(){function P(R,F){return d("setlinearfalloff",{new:F/10})}return P}()})):x===2&&(E="Exponential",O=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function P(R){return(0,a.round)(R*1e3)/1e3+"% per decisecond"}return P}(),onChange:function(){function P(R,F){return d("setexpfalloff",{new:F})}return P}()})),l.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:w?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:v?(0,e.createComponentVNode)(2,o.Dropdown,{options:l,selected:b,width:"50%",onSelected:function(){function P(R){return d("switchinstrument",{name:R})}return P}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!w&&g)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:C,maxValue:N,value:h,stepPixelSize:2,format:function(){function P(R){return R+" keys / "+(0,a.round)(R/12*100)/100+" octaves"}return P}(),onChange:function(){function P(R,F){return d("setnoteshift",{new:F})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function P(R){return d("setsustainmode",{new:R})}return P}()}),O]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function P(R,F){return d("setdropoffvolume",{new:F})}return P}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:T,icon:T?"toggle-on":"toggle-off",content:T?"Yes":"No",onClick:function(){function P(){return d("togglesustainhold")}return P}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function P(){return d("reset")}return P}()})]})})})},p=function(c,m){var u=(0,t.useBackend)(m),d=u.act,f=u.data,l=f.playing,v=f.lines,b=f.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!b||l,icon:"plus",content:"Add Line",onClick:function(){function g(){return d("newline",{line:v.length+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!b,icon:b?"chevron-up":"chevron-down",onClick:function(){function g(){return d("edit")}return g}()})],4),children:!!b&&(v.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:v.map(function(g,h){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"pen",onClick:function(){function C(){return d("modifyline",{line:h+1})}return C}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:l,icon:"trash",onClick:function(){function C(){return d("deleteline",{line:h+1})}return C}()})],4),children:g},h)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},65021:function(I,r,n){"use strict";r.__esModule=!0,r.ItemPixelShift=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ItemPixelShift=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.pixel_x,m=i.pixel_y,u=i.max_shift_x,d=i.max_shift_y,f=i.random_drop_on;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"X-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",title:"Shifts item leftwards.",disabled:c===-u,onClick:function(){function l(){return p("shift_left")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:c,minValue:-u,maxValue:u,onChange:function(){function l(v,b){return p("custom_x",{pixel_x:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",title:"Shifts item rightwards.",disabled:c===u,onClick:function(){function l(){return p("shift_right")}return l}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Y-coordinates",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-up",title:"Shifts item upwards.",disabled:m===d,onClick:function(){function l(){return p("shift_up")}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,lineHeight:1.7,width:"75px",unit:"pixels",stepPixelSize:6,value:m,minValue:-d,maxValue:d,onChange:function(){function l(v,b){return p("custom_y",{pixel_y:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",title:"Shifts item downwards.",disabled:m===-d,onClick:function(){function l(){return p("shift_down")}return l}()})]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"brown",icon:"arrow-up",content:"Move to Top",title:"Tries to place an item on top of the others.",onClick:function(){function l(){return p("move_to_top")}return l}()})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:f?"good":"bad",icon:"power-off",content:f?"Shift Enabled":"Shift Disabled",title:"Enables/Disables item pixel randomization on any drops.",onClick:function(){function l(){return p("toggle")}return l}()})})]})})]})})}return y}()},13618:function(I,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),s=n(98595),y=n(19203),V=n(51057),k=function(u){return u.key!==a.KEY.Alt&&u.key!==a.KEY.Control&&u.key!==a.KEY.Shift&&u.key!==a.KEY.Escape},S={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},p=3,i=function(u){var d="";if(u.altKey&&(d+="Alt"),u.ctrlKey&&(d+="Ctrl"),u.shiftKey&&!(u.keyCode>=48&&u.keyCode<=57)&&(d+="Shift"),u.location===p&&(d+="Numpad"),k(u))if(u.shiftKey&&u.keyCode>=48&&u.keyCode<=57){var f=u.keyCode-48;d+="Shift"+f}else{var l=u.key.toUpperCase();d+=S[l]||l}return d},c=r.KeyComboModal=function(){function m(u,d){var f=(0,t.useBackend)(d),l=f.act,v=f.data,b=v.init_value,g=v.large_buttons,h=v.message,C=h===void 0?"":h,N=v.title,x=v.timeout,B=(0,t.useLocalState)(d,"input",b),L=B[0],w=B[1],A=(0,t.useLocalState)(d,"binding",!0),T=A[0],E=A[1],O=function(){function F(j){if(!T){j.key===a.KEY.Enter&&l("submit",{entry:L}),j.key===a.KEY.Escape&&l("cancel");return}if(j.preventDefault(),k(j)){P(i(j)),E(!1);return}else if(j.key===a.KEY.Escape){P(b),E(!1);return}}return F}(),P=function(){function F(j){j!==L&&w(j)}return F}(),R=130+(C.length>30?Math.ceil(C.length/3):0)+(C.length&&g?5:0);return(0,e.createComponentVNode)(2,s.Window,{title:N,width:240,height:R,children:[x&&(0,e.createComponentVNode)(2,V.Loader,{value:x}),(0,e.createComponentVNode)(2,s.Window.Content,{onKeyDown:function(){function F(j){O(j)}return F}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:C})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:T,content:T&&T!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function F(){P(b),E(!0)}return F}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,y.InputButtons,{input:L})})]})]})})]})}return m}()},35655:function(I,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.KeycardAuth=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!i.swiping&&!i.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!i.redAvailable,onClick:function(){function u(){return p("triggerevent",{triggerevent:"Red Alert"})}return u}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Emergency Response Team"})}return u}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return u}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return p("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return u}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!i.hasSwiped&&!i.ertreason&&i.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):i.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):i.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):i.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,i.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:i.ertreason?"":"red",icon:i.ertreason?"check":"pencil-alt",content:i.ertreason?i.ertreason:"-----",disabled:i.busy,onClick:function(){function u(){return p("ert")}return u}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:i.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:i.busy||i.hasConfirm,onClick:function(){function u(){return p("reset")}return u}()}),children:m})]})})}return y}()},40951:function(I,r,n){"use strict";r.__esModule=!0,r.LaborClaimConsole=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=r.LaborClaimConsole=function(){function S(p,i){return(0,e.createComponentVNode)(2,s.Window,{width:315,height:470,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,t.useBackend)(i),m=c.act,u=c.data,d=u.can_go_home,f=u.emagged,l=u.id_inserted,v=u.id_name,b=u.id_points,g=u.id_goal,h=u.unclaimed_points,C=f?0:1,N=f?"ERR0R":d?"Completed!":"Insufficient";return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:!!l&&(0,e.createComponentVNode)(2,o.ProgressBar,{value:b/g,ranges:{good:[C,1/0],bad:[-1/0,C]},children:b+" / "+g+" "+N})||!!f&&"ERR0R COMPLETED?!@"||"No ID inserted"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Shuttle controls",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Move shuttle",disabled:!d,onClick:function(){function x(){return m("move_shuttle")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed points",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:"Claim points ("+h+")",disabled:!l||!h,onClick:function(){function x(){return m("claim_points")}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Inserted ID",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,content:l?v:"-------------",onClick:function(){function x(){return m("handle_id")}return x}()})})]})})},k=function(p,i){var c=(0,t.useBackend)(i),m=c.data,u=m.ores;return(0,e.createComponentVNode)(2,o.Section,{title:"Material values",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Material"}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:"Value"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,a.toTitleCase)(d.ore)}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"right",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:d.value})})]},d.ore)})]})})}},9525:function(I,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.LawManager=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.isAdmin,f=u.isSlaved,l=u.isMalf,v=u.isAIMalf,b=u.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:l?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(d&&f)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",f,"."]}),!!(l||v)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:b===0,onClick:function(){function g(){return m("set_view",{set_view:0})}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:b===1,onClick:function(){function g(){return m("set_view",{set_view:1})}return g}()})]}),b===0&&(0,e.createComponentVNode)(2,y),b===1&&(0,e.createComponentVNode)(2,V)]})})}return S}(),y=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.has_zeroth_laws,f=u.zeroth_laws,l=u.has_ion_laws,v=u.ion_laws,b=u.ion_law_nr,g=u.has_inherent_laws,h=u.inherent_laws,C=u.has_supplied_laws,N=u.supplied_laws,x=u.channels,B=u.channel,L=u.isMalf,w=u.isAdmin,A=u.zeroth_law,T=u.ion_law,E=u.inherent_law,O=u.supplied_law,P=u.supplied_law_position;return(0,e.createFragment)([!!d&&(0,e.createComponentVNode)(2,k,{title:"ERR_NULL_VALUE",laws:f,ctx:i}),!!l&&(0,e.createComponentVNode)(2,k,{title:b,laws:v,ctx:i}),!!g&&(0,e.createComponentVNode)(2,k,{title:"Inherent",laws:h,ctx:i}),!!C&&(0,e.createComponentVNode)(2,k,{title:"Supplied",laws:N,ctx:i}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:x.map(function(R){return(0,e.createComponentVNode)(2,t.Button,{content:R.channel,selected:R.channel===B,onClick:function(){function F(){return m("law_channel",{law_channel:R.channel})}return F}()},R.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function R(){return m("state_laws")}return R}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function R(){return m("notify_laws")}return R}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(w&&!d)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return m("change_zeroth_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return m("add_zeroth_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:T}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return m("change_ion_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return m("add_ion_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return m("change_inherent_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return m("add_inherent_law")}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:O}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:P,onClick:function(){function R(){return m("change_supplied_law_position")}return R}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function R(){return m("change_supplied_law")}return R}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function R(){return m("add_supplied_law")}return R}()})]})]})]})})],0)},V=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.name+" - "+f.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function l(){return m("transfer_laws",{transfer_laws:f.ref})}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f.laws.has_ion_laws>0&&f.laws.ion_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),f.laws.has_zeroth_laws>0&&f.laws.zeroth_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),f.laws.has_inherent_laws>0&&f.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)}),f.laws.has_supplied_laws>0&&f.laws.inherent_laws.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.index,children:l.law},l.index)})]})},f.name)})})},k=function(p,i){var c=(0,a.useBackend)(p.ctx),m=c.act,u=c.data,d=u.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:p.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),p.laws.map(function(f){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:f.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:f.state?"Yes":"No",selected:f.state,onClick:function(){function l(){return m("state_law",{ref:f.ref,state_law:f.state?0:1})}return l}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function l(){return m("edit_law",{edit_law:f.ref})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function l(){return m("delete_law",{delete_law:f.ref})}return l}()})],4)]})]},f.law)})]})})}},90447:function(I,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),s=n(72253),y=n(92986),V=n(98595),k=r.ListInputModal=function(){function i(c,m){var u=(0,s.useBackend)(m),d=u.act,f=u.data,l=f.items,v=l===void 0?[]:l,b=f.message,g=b===void 0?"":b,h=f.init_value,C=f.timeout,N=f.title,x=(0,s.useLocalState)(m,"selected",v.indexOf(h)),B=x[0],L=x[1],w=(0,s.useLocalState)(m,"searchBarVisible",v.length>10),A=w[0],T=w[1],E=(0,s.useLocalState)(m,"searchQuery",""),O=E[0],P=E[1],R=function(){function ne(Q){var he=Y.length-1;if(Q===y.KEY_DOWN)if(B===null||B===he){var Ve;L(0),(Ve=document.getElementById("0"))==null||Ve.scrollIntoView()}else{var Ne;L(B+1),(Ne=document.getElementById((B+1).toString()))==null||Ne.scrollIntoView()}else if(Q===y.KEY_UP)if(B===null||B===0){var Be;L(he),(Be=document.getElementById(he.toString()))==null||Be.scrollIntoView()}else{var Le;L(B-1),(Le=document.getElementById((B-1).toString()))==null||Le.scrollIntoView()}}return ne}(),F=function(){function ne(Q){Q!==B&&L(Q)}return ne}(),j=function(){function ne(){T(!1),T(!0)}return ne}(),W=function(){function ne(Q){var he=String.fromCharCode(Q),Ve=v.find(function(Le){return Le==null?void 0:Le.toLowerCase().startsWith(he==null?void 0:he.toLowerCase())});if(Ve){var Ne,Be=v.indexOf(Ve);L(Be),(Ne=document.getElementById(Be.toString()))==null||Ne.scrollIntoView()}}return ne}(),H=function(){function ne(Q){var he;Q!==O&&(P(Q),L(0),(he=document.getElementById("0"))==null||he.scrollIntoView())}return ne}(),z=function(){function ne(){T(!A),P("")}return ne}(),Y=v.filter(function(ne){return ne==null?void 0:ne.toLowerCase().includes(O.toLowerCase())}),G=330+Math.ceil(g.length/3);return A||setTimeout(function(){var ne;return(ne=document.getElementById(B.toString()))==null?void 0:ne.focus()},1),(0,e.createComponentVNode)(2,V.Window,{title:N,width:325,height:G,children:[C&&(0,e.createComponentVNode)(2,a.Loader,{value:C}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function ne(Q){var he=window.event?Q.which:Q.keyCode;(he===y.KEY_DOWN||he===y.KEY_UP)&&(Q.preventDefault(),R(he)),he===y.KEY_ENTER&&(Q.preventDefault(),d("submit",{entry:Y[B]})),!A&&he>=y.KEY_A&&he<=y.KEY_Z&&(Q.preventDefault(),W(he)),he===y.KEY_ESCAPE&&(Q.preventDefault(),d("cancel"))}return ne}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function ne(){return z()}return ne}()}),className:"ListInput__Section",fill:!0,title:g,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,S,{filteredItems:Y,onClick:F,onFocusSearch:j,searchBarVisible:A,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,p,{filteredItems:Y,onSearch:H,searchQuery:O,selected:B})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:Y[B]})})]})})})]})}return i}(),S=function(c,m){var u=(0,s.useBackend)(m),d=u.act,f=c.filteredItems,l=c.onClick,v=c.onFocusSearch,b=c.searchBarVisible,g=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:f.map(function(h,C){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:C,onClick:function(){function N(){return l(C)}return N}(),onDblClick:function(){function N(x){x.preventDefault(),d("submit",{entry:f[g]})}return N}(),onKeyDown:function(){function N(x){var B=window.event?x.which:x.keyCode;b&&B>=y.KEY_A&&B<=y.KEY_Z&&(x.preventDefault(),v())}return N}(),selected:C===g,style:{animation:"none",transition:"none"},children:h.replace(/^\w/,function(N){return N.toUpperCase()})},C)})})},p=function(c,m){var u=(0,s.useBackend)(m),d=u.act,f=c.filteredItems,l=c.onSearch,v=c.searchQuery,b=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function g(h){h.preventDefault(),d("submit",{entry:f[b]})}return g}(),onInput:function(){function g(h,C){return l(C)}return g}(),placeholder:"Search...",value:v})}},72106:function(I,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.MechBayConsole=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.recharge_port,m=c&&c.mech,u=m&&m.cell,d=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:d?"Mech status: "+d:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function f(){return p("reconnect")}return f}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.charge/u.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.charge})," / "+u.maxcharge]})})]})})})})}return y}()},7466:function(I,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=n(25328),V=r.MechaControlConsole=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,m=i.data,u=m.beacons,d=m.stored_data;return d.length?(0,e.createComponentVNode)(2,s.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function f(){return c("clear_log")}return f}()}),children:d.map(function(f){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",f.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,y.decodeHtmlEntities)(f.message)})]},f.time)})})})}):(0,e.createComponentVNode)(2,s.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:u.length&&u.map(function(f){return(0,e.createComponentVNode)(2,o.Section,{title:f.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function l(){return c("send_message",{mt:f.uid})}return l}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function l(){return c("get_log",{mt:f.uid})}return l}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"EMP",icon:"bomb",onClick:function(){function l(){return c("shock",{mt:f.uid})}return l}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[f.maxHealth*.75,1/0],average:[f.maxHealth*.5,f.maxHealth*.75],bad:[-1/0,f.maxHealth*.5]},value:f.health,maxValue:f.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:f.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[f.cellMaxCharge*.75,1/0],average:[f.cellMaxCharge*.5,f.cellMaxCharge*.75],bad:[-1/0,f.cellMaxCharge*.5]},value:f.cellCharge,maxValue:f.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[f.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:f.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,y.toTitleCase)(f.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:f.active||"None"}),f.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[f.cargoMax*.75,1/0],average:[f.cargoMax*.5,f.cargoMax*.75],good:[-1/0,f.cargoMax*.5]},value:f.cargoUsed,maxValue:f.cargoMax})})||null]})},f.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return k}()},79625:function(I,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(3939),y=n(98595),V=n(321),k=n(5485),S=n(22091),p={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},i={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(w,A){(0,s.modalOpen)(w,"edit",{field:A.edit,value:A.value})},m=function(w,A){var T=w.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:T.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:T.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[T.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:T.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:T.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:p[T.severity],children:T.severity})]})})})},u=r.MedicalRecords=function(){function L(w,A){var T=(0,t.useBackend)(A),E=T.data,O=E.loginState,P=E.screen;if(!O.logged_in)return(0,e.createComponentVNode)(2,y.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});var R;return P===2?R=(0,e.createComponentVNode)(2,d):P===3?R=(0,e.createComponentVNode)(2,f):P===4?R=(0,e.createComponentVNode)(2,l):P===5?R=(0,e.createComponentVNode)(2,h):P===6&&(R=(0,e.createComponentVNode)(2,C)),(0,e.createComponentVNode)(2,y.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,s.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,B),R]})})]})}return L}(),d=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.records,R=(0,t.useLocalState)(A,"searchText",""),F=R[0],j=R[1],W=(0,t.useLocalState)(A,"sortId","name"),H=W[0],z=W[1],Y=(0,t.useLocalState)(A,"sortOrder",!0),G=Y[0],ne=Y[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function Q(){return E("screen",{screen:3})}return Q}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function Q(he,Ve){return j(Ve)}return Q}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,N,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,N,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,N,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,N,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,N,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(F,function(Q){return Q.name+"|"+Q.id+"|"+Q.rank+"|"+Q.p_stat+"|"+Q.m_stat})).sort(function(Q,he){var Ve=G?1:-1;return Q[H].localeCompare(he[H])*Ve}).map(function(Q){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+i[Q.p_stat],onClick:function(){function he(){return E("view_record",{view_record:Q.ref})}return he}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",Q.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.m_stat})]},Q.id)})]})})})],4)},f=function(w,A){var T=(0,t.useBackend)(A),E=T.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,lineHeight:3,color:"translucent",icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,lineHeight:3,icon:"trash",color:"translucent",content:"Delete All Medical Records",onClick:function(){function O(){return E("del_all")}return O}()})})]})})},l=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical,R=O.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:R?"spinner":"print",disabled:R,iconSpin:!!R,content:"Print Record",ml:"0.5rem",onClick:function(){function F(){return E("print_record")}return F}()}),children:(0,e.createComponentVNode)(2,v)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function F(){return E("new")}return F}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function F(){return E("del_r")}return F}()}),children:(0,e.createComponentVNode)(2,b)})}),(0,e.createComponentVNode)(2,g)],4)],0)},v=function(w,A){var T=(0,t.useBackend)(A),E=T.data,O=E.general;return!O||!O.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:O.fields.map(function(P,R){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function F(){return c(A,P)}return F}()})]},R)})})}),!!O.has_photos&&O.photos.map(function(P,R){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",R+1]},R)})]})},b=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(R,F){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:R.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(R.value),!!R.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:R.line_break?"1rem":"initial",onClick:function(){function j(){return c(A,R)}return j}()})]},F)})})})})},g=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function R(){return(0,s.modalOpen)(A,"add_comment")}return R}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(R,F){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:R.header}),(0,e.createVNode)(1,"br"),R.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function j(){return E("del_c",{del_c:F+1})}return j}()})]},F)})})})},h=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.virus,R=(0,t.useLocalState)(A,"searchText",""),F=R[0],j=R[1],W=(0,t.useLocalState)(A,"sortId2","name"),H=W[0],z=W[1],Y=(0,t.useLocalState)(A,"sortOrder2",!0),G=Y[0],ne=Y[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function Q(he,Ve){return j(Ve)}return Q}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,x,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,x,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,x,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(F,function(Q){return Q.name+"|"+Q.max_stages+"|"+Q.severity})).sort(function(Q,he){var Ve=G?1:-1;return Q[H].localeCompare(he[H])*Ve}).map(function(Q){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+Q.severity,onClick:function(){function he(){return E("vir",{vir:Q.D})}return he}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",Q.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:Q.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:p[Q.severity],children:Q.severity})]},Q.id)})]})})})})],4)},C=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(R){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+R.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",R.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[R.area||"Unknown"," (",R.x,", ",R.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:R.use_beaker?"Reservoir: "+R.total_volume+"/"+R.maximum_volume:"Using internal synthesizer"})]},R.id)})]})})})},N=function(w,A){var T=(0,t.useLocalState)(A,"sortId","name"),E=T[0],O=T[1],P=(0,t.useLocalState)(A,"sortOrder",!0),R=P[0],F=P[1],j=w.id,W=w.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==j&&"transparent",onClick:function(){function H(){E===j?F(!R):(O(j),F(!0))}return H}(),children:[W,E===j&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},x=function(w,A){var T=(0,t.useLocalState)(A,"sortId2","name"),E=T[0],O=T[1],P=(0,t.useLocalState)(A,"sortOrder2",!0),R=P[0],F=P[1],j=w.id,W=w.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:E!==j&&"transparent",onClick:function(){function H(){E===j?F(!R):(O(j),F(!0))}return H}(),children:[W,E===j&&(0,e.createComponentVNode)(2,o.Icon,{name:R?"sort-up":"sort-down",ml:"0.25rem;"})]})})},B=function(w,A){var T=(0,t.useBackend)(A),E=T.act,O=T.data,P=O.screen,R=O.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function F(){E("screen",{screen:2})}return F}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function F(){E("screen",{screen:5})}return F}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===6,onClick:function(){function F(){return E("screen",{screen:6})}return F}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&R&&!R.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",R.fields[0].value]})]})})};(0,s.modalRegisterBodyOverride)("virus",m)},52306:function(I,r,n){"use strict";r.__esModule=!0,r.Mimicking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Mimicking=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.slots||[];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:[c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Choose",selected:m.selected,onClick:function(){function u(){return p("Choose",{id:m.id})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",color:"bad",onClick:function(){function u(){return p("Delete",{id:m.id})}return u}()})],4),children:(0,e.createComponentVNode)(2,t.Box,{preserveWhitespace:!0,textColor:"#878787",fontSize:"14px",children:["Voice: ",m.voice]})},m.id)}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Add",onClick:function(){function m(){return p("Add")}return m}()})]})})})})}return y}()},66238:function(I,r,n){"use strict";r.__esModule=!0,r.Minesweeper=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Minesweeper=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.matrix,m=i.showMessage,u=i.tokens,d=i.uiWidth,f={1:"blue",2:"green",3:"red",4:"darkblue",5:"brown",6:"lightblue",7:"black",8:"white"};document.addEventListener("contextmenu",function(C){return C.preventDefault()});var l=function(){function C(N,x,B){N.button!==0&&N.button!==2||p("Square",{X:x,Y:B,mode:N.button===2?h[b]:b})}return C}(),v=(0,a.useLocalState)(k,"mode","bomb"),b=v[0],g=v[1],h={flag:"bomb",bomb:"flag"};return(0,e.createComponentVNode)(2,o.Window,{theme:"ntOS95",width:d+80,height:750,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0418\u0433\u0440\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u0435",textAlign:"center",fill:!0,fitted:!0,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",iconColor:"black",selected:b==="bomb",onClick:function(){function C(){return g("bomb")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"flag",iconColor:"red",selected:b==="flag",onClick:function(){function C(){return g("flag")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",onClick:function(){function C(){return p("Mode",{mode:"16x30"})}return C}()})],4),children:[(0,e.createVNode)(1,"p"),Object.keys(c).map(function(C){return(0,e.createComponentVNode)(2,t.Box,{children:Object.keys(c[C]).map(function(N){return(0,e.createComponentVNode)(2,t.Button,{m:"1px",height:"30px",width:"30px",className:c[C][N].open?"Minesweeper__open":"Minesweeper__closed",bold:!0,color:"transparent",icon:c[C][N].open?c[C][N].bomb?"bomb":"":c[C][N].flag?"flag":"",textColor:c[C][N].open?c[C][N].bomb?"black":f[c[C][N].around]:c[C][N].flag?"red":"gray",onMouseDown:function(){function x(B){return l(B,C,N)}return x}(),children:c[C][N].open&&!c[C][N].bomb&&c[C][N].around?c[C][N].around:" "},N)})},C)}),(0,e.createVNode)(1,"p"),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",className:"Minesweeper__message",children:["\u0414\u043B\u044F \u043F\u043E\u0431\u0435\u0434\u044B \u043D\u0443\u0436\u043D\u043E \u043F\u043E\u043C\u0435\u0442\u0438\u0442\u044C \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438 \u0432\u0441\u0435 \u0431\u043E\u043C\u0431\u044B, \u0430 \u0442\u0430\u043A\u0436\u0435 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u0441\u0435 \u043F\u0443\u0441\u0442\u044B\u0435 \u043A\u043B\u0435\u0442\u043A\u0438.",(0,e.createVNode)(1,"br"),"\u0411\u0430\u043B\u0430\u043D\u0441 \u0442\u043E\u043A\u0435\u043D\u043E\u0432: ",u,(0,e.createVNode)(1,"br"),m]})]})})})})}return y}()},21385:function(I,r,n){"use strict";r.__esModule=!0,r.MiniGamesMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.MiniGamesMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.spawners||[],m=i.thunderdome_eligible,u=i.notifications_enabled;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:m?"\u0412\u044B\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:m?"good":"bad",onClick:function(){function d(){return p("toggle_minigames")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",tooltip:u?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",tooltipPosition:"bottom",content:u?"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445":"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u0431\u043E\u0435\u0432\u044B\u0445 \u043C\u0438\u043D\u0438-\u0438\u0433\u0440\u0430\u0445",color:u?"good":"bad",onClick:function(){function d(){return p("toggle_notifications")}return d}()}),(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:d.name,level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function f(){return p("jump",{ID:d.uids})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Start",onClick:function(){function f(){return p("spawn",{ID:d.uids})}return f}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:d.desc}),!!d.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:d.fluff}),!!d.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:d.important_info})]},d.name)})})]})})}return y}()},87684:function(I,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=["title","items"];function V(u,d){if(u==null)return{};var f={};for(var l in u)if({}.hasOwnProperty.call(u,l)){if(d.includes(l))continue;f[l]=u[l]}return f}var k={Alphabetical:function(){function u(d,f){return d-f}return u}(),Availability:function(){function u(d,f){return-(d.affordable-f.affordable)}return u}(),Price:function(){function u(d,f){return d.price-f.price}return u}()},S=r.MiningVendor=function(){function u(d,f){return(0,e.createComponentVNode)(2,s.Window,{width:400,height:450,children:(0,e.createComponentVNode)(2,s.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,i)]})})})}return u}(),p=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.has_id,h=b.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:g,children:g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",h.name,".",(0,e.createVNode)(1,"br"),"You have ",h.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function C(){return v("logoff")}return C}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},i=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.has_id,h=b.id,C=b.items,N=(0,t.useLocalState)(f,"search",""),x=N[0],B=N[1],L=(0,t.useLocalState)(f,"sort","Alphabetical"),w=L[0],A=L[1],T=(0,t.useLocalState)(f,"descending",!1),E=T[0],O=T[1],P=(0,a.createSearch)(x,function(j){return j[0]}),R=!1,F=Object.entries(C).map(function(j,W){var H=Object.entries(j[1]).filter(P).map(function(z){return z[1].affordable=g&&h.points>=z[1].price,z[1]}).sort(k[w]);if(H.length!==0)return E&&(H=H.reverse()),R=!0,(0,e.createComponentVNode)(2,m,{title:j[0],items:H},j[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:R?F:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(d,f){var l=(0,t.useLocalState)(f,"search",""),v=l[0],b=l[1],g=(0,t.useLocalState)(f,"sort",""),h=g[0],C=g[1],N=(0,t.useLocalState)(f,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(k),width:"100%",onSelected:function(){function L(w){return C(w)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"21px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return B(!x)}return L}()})})]})})},m=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=d.title,h=d.items,C=V(d,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},C,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.ImageButton,{bold:!0,asset:!0,color:"brown",imageSize:"64px",image:N.imageId,imageAsset:"mining_vendor64x64",content:N.name,children:(0,e.createComponentVNode)(2,o.ImageButton.Item,{bold:!0,horizontal:!0,width:"64px",fontSize:1,content:N.price,icon:"shopping-cart",iconSize:1,iconColor:!b.has_id||b.id.points"})}),!!O&&(0,e.createComponentVNode)(2,d,{mt:1.1,label:"ID tag",compactLabel:!0,wrapContent:F?(0,e.createComponentVNode)(2,m,{text:R,defaultText:"",color:"silver"}):(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"red",italic:!0,nowrap:!0,children:"Not supported"})})]})})]})})})}return x}(),i=function(B,L){var w=B.iconName,A=B.machineName,T=B.noMachine,E=B.noMachineText,O=B.noMachineElem,P="Unknown machine",R=T?E:A||"Unknown machine",F=R===E,j=R===E||R===P;return T&&O?O:(0,e.createComponentVNode)(2,o.Flex,{mt:.1,mb:1.9,children:[!T&&(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,align:"center",children:(0,e.createComponentVNode)(2,o.Icon,{mr:1,size:1.1,name:w})}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,wordWrap:"break-word",children:(0,e.createComponentVNode)(2,o.Box,{as:"span",wordWrap:"break-word",color:F?"label":"silver",fontSize:"1.1rem",bold:!0,italic:j,children:R})})]})},c=function(B,L){var w=B.text;return(0,e.createComponentVNode)(2,o.Box,{as:"span",fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:w})},m=function(B,L){var w=B.text,A=B.defaultText,T=S(B,y);return w?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"span",wordWrap:"break-word"},T,{children:w}))):(0,e.createComponentVNode)(2,c,{text:A})},u=function(B,L){var w=B.noConfirm,A=w===void 0?!1:w,T=S(B,V);return A?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button,Object.assign({},T))):(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Button.Confirm,Object.assign({},T)))},d=function(B,L){var w=B.label,A=B.wrapContent,T=B.noWrapContent,E=B.compactLabel,O=E===void 0?!1:E,P=S(B,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Flex,Object.assign({my:.5,mr:"0.5%",spacing:1,align:"center"},P,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:O?0:1,shrink:0,textOverflow:"ellipsis",overflow:"hidden",basis:O?"auto":0,maxWidth:O?"none":20,color:"label",nowrap:!0,children:w}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,textAlign:"center",wordWrap:"break-word",children:A}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:.1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,nowrap:!0,children:T})]})))},f=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data;return(0,e.createComponentVNode)(2,o.Box,{mt:1.5,fontSize:"0.9rem",color:"silver",italic:!0,children:"No options"})},l=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data;return(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.1rem",color:"red",bold:!0,italic:!0,children:"ACCESS DENIED"})},v=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.attachedTag;return(0,e.createComponentVNode)(2,d,{label:"ID tag",wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Set",icon:"wrench",onClick:function(){function O(){return A("set_tag")}return O}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Clear",icon:"times-circle",color:"red",disabled:!E,onClick:function(){function O(){return A("clear_tag")}return O}()})],4)})},b=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.frequency,O=T.minFrequency,P=T.maxFrequency,R=T.canReset;return(0,e.createComponentVNode)(2,d,{label:"Frequency",noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.1,stepPixelSize:10,minValue:O/10,maxValue:P/10,value:E/10,format:function(){function F(j){return(0,a.toFixed)(j,1)}return F}(),onChange:function(){function F(j,W){return A("set_frequency",{frequency:W*10})}return F}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"undo",content:"",disabled:!R,tooltip:"Reset",onClick:function(){function F(){return A("reset_frequency")}return F}()})],4)})},g=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.attachedTags;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Linked tags",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add tag",icon:"plus",iconRight:!0,onClick:function(){function O(){return A("add_tag")}return O}()}),children:E.map(function(O,P){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:O})}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{icon:"minus",color:"red",onClick:function(){function R(){return A("remove_tag",{tag_index:P})}return R}()})})})},P)})})},h=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.bolts,O=T.pressureCheck,P=T.temperatureCheck,R=T.oxygenCheck,F=T.toxinsCheck,j=T.nitrogenCheck,W=T.carbonDioxideCheck,H=[{bitflag:1,checked:O,label:"Monitor pressure"},{bitflag:2,checked:P,label:"Monitor temperature"},{bitflag:4,checked:R,label:"Monitor oxygen concentration"},{bitflag:8,checked:F,label:"Monitor plasma concentration"},{bitflag:16,checked:j,label:"Monitor nitrogen concentration"},{bitflag:32,checked:W,label:"Monitor carbon dioxide concentration"}];return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Floor bolts",noWrapContent:(0,e.createComponentVNode)(2,o.Button,{icon:E?"check":"times",selected:E,content:E?"YES":"NO",onClick:function(){function z(){return A("toggle_bolts")}return z}()})}),H.map(function(z){return(0,e.createComponentVNode)(2,d,{label:z.label,noWrapContent:(0,e.createComponentVNode)(2,o.Button.Checkbox,{checked:z.checked,onClick:function(){function Y(){return A("toggle_flag",{bitflag:z.bitflag})}return Y}()})},z.bitflag)})],0)},C=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.sensors;return(0,e.createComponentVNode)(2,o.Section,{mt:1.7,ml:.5,mr:1,px:.5,title:"Sensors",buttons:(0,e.createComponentVNode)(2,o.Button,{mr:1,pl:2.1,content:"Add sensor",icon:"plus",iconRight:!0,onClick:function(){function O(){return A("add_sensor")}return O}()}),children:[(0,e.createComponentVNode)(2,d,{mr:0,compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:1}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"ID tag"}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"label",nowrap:!0,bold:!0,children:"Label"}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:11.3})]})}),Object.keys(E).map(function(O){return(0,e.createComponentVNode)(2,d,{mr:0,label:(0,e.createComponentVNode)(2,o.Icon,{name:"wave-square"}),compactLabel:!0,wrapContent:(0,e.createComponentVNode)(2,o.Flex,{align:"center",spacing:1,children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:O}),E[O]?(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,color:"silver",wordWrap:"break-word",children:E[O]}):(0,e.createComponentVNode)(2,o.Flex.Item,{grow:1,shrink:1,basis:0,fontSize:"0.9rem",color:"yellow",italic:!0,nowrap:!0,children:""})]}),noWrapContent:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:[(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"edit",onClick:function(){function P(){return A("change_label",{sensor_tag:O})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Label",icon:"times-circle",color:"orange",disabled:!E[O],onClick:function(){function P(){return A("clear_label",{sensor_tag:O})}return P}()})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:.5}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:0,shrink:0,children:(0,e.createComponentVNode)(2,o.Button,{px:1.2,icon:"minus",color:"red",onClick:function(){function P(){return A("del_sensor",{sensor_tag:O})}return P}()})})]})},O)})]})},N=function(B,L){var w=(0,t.useBackend)(L),A=w.act,T=w.data,E=T.inputTag,O=T.outputTag,P=T.bufferTag,R=T.bufferFitsInput,F=T.bufferFitsOutput,j=T.doNotLinkAndNotify;return(0,e.createFragment)([(0,e.createComponentVNode)(2,d,{label:"Input",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:E,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,u,{noConfirm:j||!E,confirmContent:"This will change the intput device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:E&&P===E,disabled:!R,onClick:function(){function W(){return A("link_input")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the intput device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!E,onClick:function(){function W(){return A("unlink_input")}return W}()})],4)}),(0,e.createComponentVNode)(2,d,{label:"Output",labelWidth:6,wrapContent:(0,e.createComponentVNode)(2,m,{text:O,defaultText:"",color:"silver"}),noWrapContent:(0,e.createFragment)([(0,e.createComponentVNode)(2,u,{noConfirm:j||!O,confirmContent:"This will change the output device. Confirm?",confirmColor:"orange",content:"Link buffer",icon:"link",selected:O&&P===O,disabled:!F,onClick:function(){function W(){return A("link_output")}return W}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{confirmContent:"This will unlink the output device. Confirm?",confirmColor:"orange",content:"Unlink",icon:"unlink",color:"red",disabled:!O,onClick:function(){function W(){return A("unlink_output")}return W}()})],4)})],4)}},64713:function(I,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(76910),y=n(98595),V=n(3939),k=n(22091),S=["icon","iconSpin","selected","security","onClick","title","children"],p=["name"];function i(B,L){if(B==null)return{};var w={};for(var A in B)if({}.hasOwnProperty.call(B,A)){if(L.includes(A))continue;w[A]=B[A]}return w}var c=128,m=["security","engineering","medical","science","service","supply"],u={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},d=r.Newscaster=function(){function B(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.is_security,P=E.is_admin,R=E.is_silent,F=E.is_printing,j=E.screen,W=E.channels,H=E.channel_idx,z=H===void 0?-1:H,Y=(0,t.useLocalState)(w,"menuOpen",!1),G=Y[0],ne=Y[1],Q=(0,t.useLocalState)(w,"viewingPhoto",""),he=Q[0],Ve=Q[1],Ne=(0,t.useLocalState)(w,"censorMode",!1),Be=Ne[0],Le=Ne[1],Ae;j===0||j===2?Ae=(0,e.createComponentVNode)(2,l):j===1&&(Ae=(0,e.createComponentVNode)(2,v));var fe=W.reduce(function(Z,J){return Z+J.unread},0);return(0,e.createComponentVNode)(2,y.Window,{theme:O&&"security",width:800,height:600,children:[he?(0,e.createComponentVNode)(2,h):(0,e.createComponentVNode)(2,V.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",G&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,f,{icon:"bars",title:"Toggle Menu",onClick:function(){function Z(){return ne(!G)}return Z}()}),(0,e.createComponentVNode)(2,f,{icon:"newspaper",title:"Headlines",selected:j===0,onClick:function(){function Z(){return T("headlines")}return Z}(),children:fe>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:fe>=10?"9+":fe})}),(0,e.createComponentVNode)(2,f,{icon:"briefcase",title:"Job Openings",selected:j===1,onClick:function(){function Z(){return T("jobs")}return Z}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:W.map(function(Z){return(0,e.createComponentVNode)(2,f,{icon:Z.icon,title:Z.name,selected:j===2&&W[z-1]===Z,onClick:function(){function J(){return T("channel",{uid:Z.uid})}return J}(),children:Z.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:Z.unread>=10?"9+":Z.unread})},Z)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!O||!!P)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function Z(){return(0,V.modalOpen)(w,"wanted_notice")}return Z}()}),(0,e.createComponentVNode)(2,f,{security:!0,icon:Be?"minus-square":"minus-square-o",title:"Censor Mode: "+(Be?"On":"Off"),mb:"0.5rem",onClick:function(){function Z(){return Le(!Be)}return Z}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,f,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function Z(){return(0,V.modalOpen)(w,"create_story")}return Z}()}),(0,e.createComponentVNode)(2,f,{icon:"plus-circle",title:"New Channel",onClick:function(){function Z(){return(0,V.modalOpen)(w,"create_channel")}return Z}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,f,{icon:F?"spinner":"print",iconSpin:F,title:F?"Printing...":"Print Newspaper",onClick:function(){function Z(){return T("print_newspaper")}return Z}()}),(0,e.createComponentVNode)(2,f,{icon:R?"volume-mute":"volume-up",title:"Mute: "+(R?"On":"Off"),onClick:function(){function Z(){return T("toggle_mute")}return Z}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,k.TemporaryNotice),Ae]})]})})]})}return B}(),f=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=L.icon,O=E===void 0?"":E,P=L.iconSpin,R=L.selected,F=R===void 0?!1:R,j=L.security,W=j===void 0?!1:j,H=L.onClick,z=L.title,Y=L.children,G=i(L,S);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",F&&"Newscaster__menuButton--selected",W&&"Newscaster__menuButton--security"]),onClick:H},G,{children:[F&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:O,spin:P,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:z}),Y]})))},l=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.screen,P=E.is_admin,R=E.channel_idx,F=E.channel_can_manage,j=E.channels,W=E.stories,H=E.wanted,z=(0,t.useLocalState)(w,"fullStories",[]),Y=z[0],G=z[1],ne=(0,t.useLocalState)(w,"censorMode",!1),Q=ne[0],he=ne[1],Ve=O===2&&R>-1?j[R-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!H&&(0,e.createComponentVNode)(2,b,{story:H,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:Ve?Ve.icon:"newspaper",mr:"0.5rem"}),Ve?Ve.name:"Headlines"],0),children:W.length>0?W.slice().reverse().map(function(Ne){return!Y.includes(Ne.uid)&&Ne.body.length+3>c?Object.assign({},Ne,{body_short:Ne.body.substr(0,c-4)+"..."}):Ne}).map(function(Ne,Be){return(0,e.createComponentVNode)(2,b,{story:Ne},Be)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!Ve&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Q&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!Ve.admin&&!P,selected:Ve.censored,icon:Ve.censored?"comment-slash":"comment",content:Ve.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function Ne(){return T("censor_channel",{uid:Ve.uid})}return Ne}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!F,icon:"cog",content:"Manage",onClick:function(){function Ne(){return(0,V.modalOpen)(w,"manage_channel",{uid:Ve.uid})}return Ne}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:Ve.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:Ve.author||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:Ve.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),W.reduce(function(Ne,Be){return Ne+Be.view_count},0).toLocaleString()]})]})})]})},v=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.jobs,P=E.wanted,R=Object.entries(O).reduce(function(F,j){var W=j[0],H=j[1];return F+H.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!P&&(0,e.createComponentVNode)(2,b,{story:P,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:R>0?m.map(function(F){return Object.assign({},u[F],{id:F,jobs:O[F]})}).filter(function(F){return!!F&&F.jobs.length>0}).map(function(F){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+F.id]),title:F.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:F.fluff_text}),children:F.jobs.map(function(j){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!j.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",j.title]},j.title)})},F.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the"," ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},b=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=L.story,P=L.wanted,R=P===void 0?!1:P,F=(0,t.useLocalState)(w,"fullStories",[]),j=F[0],W=F[1],H=(0,t.useLocalState)(w,"censorMode",!1),z=H[0],Y=H[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",R&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([R&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),O.censor_flags&2&&"[REDACTED]"||O.title||"News from "+O.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!R&&z&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:O.censor_flags&2,icon:O.censor_flags&2?"comment-slash":"comment",content:O.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function G(){return T("censor_story",{uid:O.uid})}return G}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.author," |\xA0",!R&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),O.view_count.toLocaleString(),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("|\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,s.timeAgo)(O.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:O.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!O.has_photo&&(0,e.createComponentVNode)(2,g,{name:"story_photo_"+O.uid+".png",float:"right",ml:"0.5rem"}),(O.body_short||O.body).split("\n").map(function(G,ne){return(0,e.createComponentVNode)(2,o.Box,{children:G||(0,e.createVNode)(1,"br")},ne)}),O.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function G(){return W([].concat(j,[O.uid]))}return G}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},g=function(L,w){var A=L.name,T=i(L,p),E=(0,t.useLocalState)(w,"viewingPhoto",""),O=E[0],P=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function R(){return P(A)}return R}()},T)))},h=function(L,w){var A=(0,t.useLocalState)(w,"viewingPhoto",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:T}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function O(){return E("")}return O}()})]})},C=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=!!L.args.uid&&E.channels.filter(function(ee){return ee.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!O){(0,V.modalClose)(w);return}var P=L.id==="manage_channel",R=!!L.args.is_admin,F=L.args.scanned_user,j=(0,t.useLocalState)(w,"author",(O==null?void 0:O.author)||F||"Unknown"),W=j[0],H=j[1],z=(0,t.useLocalState)(w,"name",(O==null?void 0:O.name)||""),Y=z[0],G=z[1],ne=(0,t.useLocalState)(w,"description",(O==null?void 0:O.description)||""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"icon",(O==null?void 0:O.icon)||"newspaper"),Ne=Ve[0],Be=Ve[1],Le=(0,t.useLocalState)(w,"isPublic",P?!!(O!=null&&O.public):!1),Ae=Le[0],fe=Le[1],Z=(0,t.useLocalState)(w,"adminLocked",(O==null?void 0:O.admin)===1||!1),J=Z[0],te=Z[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:P?"Manage "+O.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!R,width:"100%",value:W,onInput:function(){function ee(le,ye){return H(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:Y,onInput:function(){function ee(le,ye){return G(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Q,onInput:function(){function ee(le,ye){return he(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!R,value:Ne,width:"35%",mr:"0.5rem",onInput:function(){function ee(le,ye){return Be(ye)}return ee}()}),(0,e.createComponentVNode)(2,o.Icon,{name:Ne,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:Ae,icon:Ae?"toggle-on":"toggle-off",content:Ae?"Yes":"No",onClick:function(){function ee(){return fe(!Ae)}return ee}()})}),R&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:J,icon:J?"lock":"lock-open",content:J?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ee(){return te(!J)}return ee}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||Y.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ee(){(0,V.modalAnswer)(w,L.id,"",{author:W,name:Y.substr(0,49),description:Q.substr(0,128),icon:Ne,public:Ae?1:0,admin_locked:J?1:0})}return ee}()})]})},N=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.photo,P=E.channels,R=E.channel_idx,F=R===void 0?-1:R,j=!!L.args.is_admin,W=L.args.scanned_user,H=P.slice().sort(function(ee,le){if(F<0)return 0;var ye=P[F-1];if(ye.uid===ee.uid)return-1;if(ye.uid===le.uid)return 1}).filter(function(ee){return j||!ee.frozen&&(ee.author===W||!!ee.public)}),z=(0,t.useLocalState)(w,"author",W||"Unknown"),Y=z[0],G=z[1],ne=(0,t.useLocalState)(w,"channel",H.length>0?H[0].name:""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"title",""),Ne=Ve[0],Be=Ve[1],Le=(0,t.useLocalState)(w,"body",""),Ae=Le[0],fe=Le[1],Z=(0,t.useLocalState)(w,"adminLocked",!1),J=Z[0],te=Z[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!j,width:"100%",value:Y,onInput:function(){function ee(le,ye){return G(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Q,options:H.map(function(ee){return ee.name}),mb:"0",width:"100%",onSelected:function(){function ee(le){return he(le)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Ne,onInput:function(){function ee(le,ye){return Be(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:Ae,onInput:function(){function ee(le,ye){return fe(ye)}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:O,content:O?"Eject: "+O.name:"Insert Photo",tooltip:!O&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function ee(){return T(O?"eject_photo":"attach_photo")}return ee}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:Ne,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!O&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+O.uid+".png",float:"right"}),Ae.split("\n").map(function(ee,le){return(0,e.createComponentVNode)(2,o.Box,{children:ee||(0,e.createVNode)(1,"br")},le)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:J,icon:J?"lock":"lock-open",content:J?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function ee(){return te(!J)}return ee}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:Y.trim().length===0||Q.trim().length===0||Ne.trim().length===0||Ae.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function ee(){(0,V.modalAnswer)(w,"create_story","",{author:Y,channel:Q,title:Ne.substr(0,127),body:Ae.substr(0,1023),admin_locked:J?1:0})}return ee}()})]})},x=function(L,w){var A=(0,t.useBackend)(w),T=A.act,E=A.data,O=E.photo,P=E.wanted,R=!!L.args.is_admin,F=L.args.scanned_user,j=(0,t.useLocalState)(w,"author",(P==null?void 0:P.author)||F||"Unknown"),W=j[0],H=j[1],z=(0,t.useLocalState)(w,"name",(P==null?void 0:P.title.substr(8))||""),Y=z[0],G=z[1],ne=(0,t.useLocalState)(w,"description",(P==null?void 0:P.body)||""),Q=ne[0],he=ne[1],Ve=(0,t.useLocalState)(w,"adminLocked",(P==null?void 0:P.admin_locked)===1||!1),Ne=Ve[0],Be=Ve[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!R,width:"100%",value:W,onInput:function(){function Le(Ae,fe){return H(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:Y,maxLength:"128",onInput:function(){function Le(Ae,fe){return G(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Q,maxLength:"512",rows:"4",onInput:function(){function Le(Ae,fe){return he(fe)}return Le}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:O,content:O?"Eject: "+O.name:"Insert Photo",tooltip:!O&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function Le(){return T(O?"eject_photo":"attach_photo")}return Le}()}),!!O&&(0,e.createComponentVNode)(2,g,{name:"inserted_photo_"+O.uid+".png",float:"right"})]}),R&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:Ne,icon:Ne?"lock":"lock-open",content:Ne?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function Le(){return Be(!Ne)}return Le}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!P,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function Le(){T("clear_wanted_notice"),(0,V.modalClose)(w)}return Le}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:W.trim().length===0||Y.trim().length===0||Q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function Le(){(0,V.modalAnswer)(w,L.id,"",{author:W,name:Y.substr(0,127),description:Q.substr(0,511),admin_locked:Ne?1:0})}return Le}()})]})};(0,V.modalRegisterBodyOverride)("create_channel",C),(0,V.modalRegisterBodyOverride)("manage_channel",C),(0,V.modalRegisterBodyOverride)("create_story",N),(0,V.modalRegisterBodyOverride)("wanted_notice",x)},97351:function(I,r,n){"use strict";r.__esModule=!0,r.NinjaBloodScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(39473),s=n(98595),y=r.NinjaBloodScan=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data;return(0,e.createComponentVNode)(2,s.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{className:"Layout__content--flexColumn",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k)]})})}return S}(),V=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.vialIcons,f=u.noVialIcon,l=u.bloodOwnerNames,v=u.bloodOwnerSpecies,b=u.bloodOwnerTypes,g=u.blockButtons,h=u.scanStates,C={blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"},N=["NoticeBox_red","NoticeBox","NoticeBox_blue"],x=[1,2,3];return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"\u041E\u0431\u0440\u0430\u0437\u0446\u044B",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0442\u0440\u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u0430 \u043A\u0440\u043E\u0432\u0438. \u041C\u0430\u0448\u0438\u043D\u0430 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0430 \u043D\u0430 \u0440\u0430\u0431\u043E\u0442\u0443 \u0441 \u043A\u0440\u043E\u0432\u044C\u044E \u0441\u0443\u0449\u0435\u0441\u0442\u0432 \u0438 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0441\u0442\u0430\u0432\u0438\u043B \u0432\u0430\u043C \u043A\u043B\u0430\u043D. \u0420\u0435\u0430\u0433\u0435\u043D\u0442\u044B \u0438\u043C \u043D\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u043D\u0435 \u043F\u0440\u0438\u043C\u0443\u0442\u0441\u044F \u0438\u043B\u0438 \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u043F\u0435\u0448\u043D\u044B\u043C",tooltipPosition:"bottom-start"}),children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"center",children:x.map(function(B,L){return(0,e.createComponentVNode)(2,o.FlexItem,{direction:"column",width:"33.3%",ml:L?2:0,children:[(0,e.createComponentVNode)(2,t.Section,{title:l[L]?"\u041A\u0440\u043E\u0432\u044C":"\u041D\u0435\u0442 \u0440\u0435\u0430\u0433\u0435\u043D\u0442\u0430",style:{"text-align":"left",background:"rgba(53, 94, 163, 0.5)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:N[h[L]],success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:g?C.disabled:C.blue,height:"100%",width:"100%",disabled:g,onClick:function(){function w(){return m("vial_out",{button_num:L+1})}return w}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+(d[L]||f),style:{"margin-left":"3px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:l[L]||" - ",content:"\u0420\u0430\u0441\u0430: "+(v[L]||" - ")+"\n"+("\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438: "+(b[L]||" - ")),position:"bottom"})]})})]},L)})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{className:g===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:g,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043A\u0440\u043E\u0432\u044C \u0438 \u043F\u0435\u0440\u0435\u0441\u044B\u043B\u0430\u0435\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u0443\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043A\u043B\u0430\u043D\u0443.",tooltipPosition:"bottom",onClick:function(){function B(){return m("scan_blood")}return B}()})})]})})},k=function(p,i){var c=(0,a.useBackend)(i),m=c.data,u=m.progressBar;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"green",value:u,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",mt:1,children:u?"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 "+(u+"%"):"\u0420\u0435\u0436\u0438\u043C \u043E\u0436\u0438\u0434\u0430\u043D\u0438\u044F"}),2)})})}},32989:function(I,r,n){"use strict";r.__esModule=!0,r.NinjaMindScan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.NinjaMindScan=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,theme:"spider_clan",children:(0,e.createComponentVNode)(2,o.Window.Content,{className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.occupantIcon,u=c.occupant_name,d=c.occupant_health,f=c.scanned_occupants,l=u==="none"?1:0;return(0,e.createComponentVNode)(2,t.Flex,{direction:"column",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0430\u0446\u0438\u0435\u043D\u0442",backgroundColor:"rgba(0, 0, 0, 0.4)",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0438 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435.",tooltipPosition:"left"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",shrink:1,alignContent:"left",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{shrink:1,alignContent:"left",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,width:"90px",align:"left",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},align:"left",children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+m,style:{"margin-left":"-28px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,alignContent:"right",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_green",success:0,danger:0,align:"left",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043C\u044F",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0434\u043E\u0440\u043E\u0432\u044C\u0435",children:d})]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",mt:2.5,success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",width:"250px",textAlign:"center",disabled:l,tooltip:"\u0421\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438 \u043F\u044B\u0442\u0430\u0435\u0442\u0441\u044F \u0434\u043E\u0431\u044B\u0442\u044C \u0438\u0437 \u0435\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u0443\u044E \u043A\u043B\u0430\u043D\u0443 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E.",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("scan_occupant")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E",width:"250px",textAlign:"center",disabled:l,tooltip:"\u041E\u0442\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E, \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u0438\u0437 \u043A\u0430\u043F\u0441\u0443\u043B\u044B",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("go_out")}return v}()}),(0,e.createComponentVNode)(2,t.Button,{className:l===0?"":"Button_disabled",content:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430",width:"250px",textAlign:"center",disabled:l,tooltip:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u0430\u0446\u0438\u0435\u043D\u0442\u0430 \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0441 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u043E\u043D \u0431\u044B\u043B \u043F\u043E\u0445\u0438\u0449\u0435\u043D. \u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0435\u0433\u043E \u0437\u0430\u043F\u0443\u0433\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u044D\u0442\u0438\u043C, \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u043D\u0435 \u0440\u0430\u0437\u0431\u043E\u043B\u0442\u0430\u043B \u043E \u0432\u0430\u0441.",tooltipPosition:"bottom-start",onClick:function(){function v(){return i("teleport_out")}return v}()})]})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043F\u0438\u0441\u043E\u043A \u0443\u0436\u0435 \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0432\u0430\u043C\u0438 \u043B\u044E\u0434\u0435\u0439",align:"center",backgroundColor:"rgba(0, 0, 0, 0.4)",children:(0,e.createComponentVNode)(2,t.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:f.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Box,{children:v.scanned_occupant})})},v.scanned_occupant)})})})})]})}},41166:function(I,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.NuclearBomb=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;return i.extended?(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.authdisk?"eject":"id-card",selected:i.authdisk,content:i.diskname?i.diskname:"-----",tooltip:i.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return p("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!i.authdisk,selected:i.authcode,content:i.codemsg,onClick:function(){function c(){return p("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.anchored?"check":"times",selected:i.anchored,disabled:!i.authfull,content:i.anchored?"YES":"NO",onClick:function(){function c(){return p("toggle_anchor")}return c}()})}),i.authfull&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:i.time,disabled:!i.authfull,tooltip:"Set Timer",onClick:function(){function c(){return p("set_time")}return c}()})})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",color:i.timer?"red":"",children:i.time+"s"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.safety?"check":"times",selected:i.safety,disabled:!i.authfull,content:i.safety?"ON":"OFF",tooltip:i.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return p("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(i.timer,"bomb"),disabled:i.safety||!i.authfull,color:"red",content:i.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return p("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:450,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return p("deploy")}return c}()})})})})}return y}()},52416:function(I,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),s=n(72253),y=n(36036),V=n(98595),k=r.NumberInputModal=function(){function p(i,c){var m=(0,s.useBackend)(c),u=m.act,d=m.data,f=d.init_value,l=d.large_buttons,v=d.message,b=v===void 0?"":v,g=d.timeout,h=d.title,C=(0,s.useLocalState)(c,"input",f),N=C[0],x=C[1],B=function(){function A(T){T!==N&&x(T)}return A}(),L=function(){function A(T){T!==N&&x(T)}return A}(),w=140+Math.max(Math.ceil(b.length/3),b.length>0&&l?5:0);return(0,e.createComponentVNode)(2,V.Window,{title:h,width:270,height:w,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function A(T){var E=window.event?T.which:T.keyCode;E===o.KEY_ENTER&&u("submit",{entry:N}),E===o.KEY_ESCAPE&&u("cancel")}return A}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:b})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,S,{input:N,onClick:L,onChange:B})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:N})})]})})})]})}return p}(),S=function(i,c){var m=(0,s.useBackend)(c),u=m.act,d=m.data,f=d.min_value,l=d.max_value,v=d.init_value,b=d.round_value,g=i.input,h=i.onClick,C=i.onChange,N=Math.round(g!==f?Math.max(g/2,f):l/2),x=g===f&&f>0||g===1;return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:g===f,icon:"angle-double-left",onClick:function(){function B(){return h(f)}return B}(),tooltip:g===f?"Min":"Min ("+f+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!b,minValue:f,maxValue:l,onChange:function(){function B(L,w){return C(w)}return B}(),onEnter:function(){function B(L,w){return u("submit",{entry:w})}return B}(),value:g})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:g===l,icon:"angle-double-right",onClick:function(){function B(){return h(l)}return B}(),tooltip:g===l?"Max":"Max ("+l+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:x,icon:"divide",onClick:function(){function B(){return h(N)}return B}(),tooltip:x?"Split":"Split ("+N+")"})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Button,{disabled:g===v,icon:"redo",onClick:function(){function B(){return h(v)}return B}(),tooltip:v?"Reset ("+v+")":"Reset"})})]})}},1218:function(I,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),s=n(36036),y=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.OperatingComputer=function(){function u(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.hasOccupant,h=b.choice,C;return h?C=(0,e.createComponentVNode)(2,m):C=g?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Tabs,{children:[(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:!h,icon:"user",onClick:function(){function N(){return v("choiceOff")}return N}(),children:"Patient"}),(0,e.createComponentVNode)(2,s.Tabs.Tab,{selected:!!h,icon:"cog",onClick:function(){function N(){return v("choiceOn")}return N}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,scrollable:!0,children:C})})]})})})}return u}(),i=function(d,f){var l=(0,t.useBackend)(f),v=l.data,b=v.occupant;return(0,e.createComponentVNode)(2,s.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Name",children:b.name}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Status",color:y[b.stat][0],children:y[b.stat][1]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.maxHealth,value:b.health/b.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),V.map(function(g,h){return(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:g[0]+" Damage",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:"100",value:b[g[1]]/100,ranges:k,children:(0,a.round)(b[g[1]])},h)},h)}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.maxTemp,value:b.bodyTemperature/b.maxTemp,color:S[b.temperatureSuitability+3],children:[(0,a.round)(b.btCelsius),"\xB0C, ",(0,a.round)(b.btFaren),"\xB0F"]})}),!!b.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,s.ProgressBar,{min:"0",max:b.bloodMax,value:b.bloodLevel/b.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[b.bloodPercent,"%, ",b.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Pulse",children:[b.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,s.Stack.Item,{children:(0,e.createComponentVNode)(2,s.Section,{title:"Current Procedures",level:"2",children:b.inSurgery?b.surgeries.map(function(g){var h=g.bodypartName,C=g.surgeryName,N=g.stepName;return(0,e.createComponentVNode)(2,s.Section,{title:h,level:"4",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Procedure",children:C}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Next Step",children:N})]})},h)}):(0,e.createComponentVNode)(2,s.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,s.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,s.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,s.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.verbose,h=b.health,C=b.healthAlarm,N=b.oxy,x=b.oxyAlarm,B=b.crit;return(0,e.createComponentVNode)(2,s.LabeledList,{children:[(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,s.Button,{selected:g,icon:g?"toggle-on":"toggle-off",content:g?"On":"Off",onClick:function(){function L(){return v(g?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,s.Button,{selected:h,icon:h?"toggle-on":"toggle-off",content:h?"On":"Off",onClick:function(){function L(){return v(h?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,s.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:C,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return v("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,s.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"On":"Off",onClick:function(){function L(){return v(N?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,s.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:x,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return v("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,s.Button,{selected:B,icon:B?"toggle-on":"toggle-off",content:B?"On":"Off",onClick:function(){function L(){return v(B?"critOff":"critOn")}return L}()})})]})}},46892:function(I,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595);function y(f,l){var v=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(v)return(v=v.call(f)).next.bind(v);if(Array.isArray(f)||(v=V(f))||l&&f&&typeof f.length=="number"){v&&(f=v);var b=0;return function(){return b>=f.length?{done:!0}:{done:!1,value:f[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(f,l){if(f){if(typeof f=="string")return k(f,l);var v={}.toString.call(f).slice(8,-1);return v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set"?Array.from(f):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?k(f,l):void 0}}function k(f,l){(l==null||l>f.length)&&(l=f.length);for(var v=0,b=Array(l);vv},c=function(l,v){var b=l.name,g=v.name;if(!b||!g)return 0;var h=b.match(S),C=g.match(S);if(h&&C&&b.replace(S,"")===g.replace(S,"")){var N=parseInt(h[1],10),x=parseInt(C[1],10);return N-x}return i(b,g)},m=function(l,v){var b=(0,t.useBackend)(v),g=b.act,h=l.searchText,C=l.source,N=l.title,x=C.filter(p(h));return x.sort(c),C.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:N+" - ("+C.length+")",children:x.map(function(B){return(0,e.createComponentVNode)(2,o.Button,{content:B.name,onClick:function(){function L(){return g("orbit",{ref:B.ref})}return L}()},B.name)})})},u=function(l,v){var b=(0,t.useBackend)(v),g=b.act,h=l.color,C=l.thing;return(0,e.createComponentVNode)(2,o.Button,{color:h,onClick:function(){function N(){return g("orbit",{ref:C.ref})}return N}(),children:C.name})},d=r.Orbit=function(){function f(l,v){for(var b=(0,t.useBackend)(v),g=b.act,h=b.data,C=h.alive,N=h.antagonists,x=h.highlights,B=h.auto_observe,L=h.dead,w=h.ghosts,A=h.misc,T=h.npcs,E=(0,t.useLocalState)(v,"searchText",""),O=E[0],P=E[1],R={},F=y(N),j;!(j=F()).done;){var W=j.value;R[W.antag]===void 0&&(R[W.antag]=[]),R[W.antag].push(W)}var H=Object.entries(R);H.sort(function(Y,G){return i(Y[0],G[0])});var z=function(){function Y(G){for(var ne=0,Q=[H.map(function(Ne){var Be=Ne[0],Le=Ne[1];return Le}),x,C,w,L,T,A];ne0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:H.map(function(Y){var G=Y[0],ne=Y[1];return(0,e.createComponentVNode)(2,o.Section,{title:G,level:2,children:ne.filter(p(O)).sort(c).map(function(Q){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:Q},Q.name)})},G)})}),x.length>0&&(0,e.createComponentVNode)(2,m,{title:"Highlights",source:x,searchText:O,color:"teal"}),(0,e.createComponentVNode)(2,o.Section,{title:"Alive - ("+C.length+")",children:C.filter(p(O)).sort(c).map(function(Y){return(0,e.createComponentVNode)(2,u,{color:"good",thing:Y},Y.name)})}),(0,e.createComponentVNode)(2,o.Section,{title:"Ghosts - ("+w.length+")",children:w.filter(p(O)).sort(c).map(function(Y){return(0,e.createComponentVNode)(2,u,{color:"grey",thing:Y},Y.name)})}),(0,e.createComponentVNode)(2,m,{title:"Dead",source:L,searchText:O}),(0,e.createComponentVNode)(2,m,{title:"NPCs",source:T,searchText:O}),(0,e.createComponentVNode)(2,m,{title:"Misc",source:A,searchText:O})]})})}return f}()},15421:function(I,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=n(9394);function V(l){if(l==null)throw new TypeError("Cannot destructure "+l)}var k=(0,y.createLogger)("OreRedemption"),S=function(v){return v.toLocaleString("en-US")+" pts"},p=r.OreRedemption=function(){function l(v,b){return(0,e.createComponentVNode)(2,s.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,i,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return l}(),i=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.id,x=C.points,B=C.disk,L=Object.assign({},(V(v),v));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID card",children:N?(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,verticalAlign:"middle",icon:"eject",content:N.name,tooltip:"Ejects the ID card.",onClick:function(){function w(){return h("eject_id")}return w}(),style:{"white-space":"pre-wrap"}}):(0,e.createComponentVNode)(2,o.Button,{icon:"sign-in-alt",content:"Insert",tooltip:"Hold the ID card in your hand to insert.",onClick:function(){function w(){return h("insert_id")}return w}()})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:S(N.points)})}),N&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Mining Points",children:(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:S(N.total_points)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:x>0?"good":"grey",bold:x>0&&"good",children:S(x)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!N,icon:"hand-holding-usd",content:"Claim",onClick:function(){function w(){return h("claim")}return w}()})})]}),(0,e.createComponentVNode)(2,o.Divider),B?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:B.name,tooltip:"Ejects the design disk.",onClick:function(){function w(){return h("eject_disk")}return w}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:B.design&&(B.compatible?"good":"bad"),children:B.design||"N/A"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:!B.design||!B.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function w(){return h("download")}return w}()})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.sheets,x=Object.assign({},(V(v),v));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,u,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,d,{ore:B},B.id)})]})))})},m=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.alloys,x=Object.assign({},(V(v),v));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},x,{children:[(0,e.createComponentVNode)(2,u,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),N.map(function(B){return(0,e.createComponentVNode)(2,f,{ore:B},B.id)})]})))})},u=function(v,b){var g;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:v.title}),(g=v.columns)==null?void 0:g.map(function(h){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:h[1],textAlign:"center",color:"label",bold:!0,children:h[0]},h)})]})})},d=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=v.ore;if(!(C.value&&C.amount<=0&&!(["metal","glass"].indexOf(C.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",C.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:C.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:C.amount>=1?"good":"gray",bold:C.amount>=1,align:"center",children:C.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:C.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(C.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return h(C.value?"sheet":"alloy",{id:C.id,amount:B})}return N}()})})]})})},f=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=v.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",C.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:C.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:C.amount>=1?"good":"gray",align:"center",children:C.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:C.amount>=1?"good":"gray",bold:C.amount>=1,align:"center",children:C.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(C.amount,50),stepPixelSize:6,onChange:function(){function N(x,B){return h(C.value?"sheet":"alloy",{id:C.id,amount:B})}return N}()})})]})})}},30373:function(I,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(71253),y=n(70752),V=function(p){var i;try{i=y("./"+p+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,s.routingError)("notFound",p);throw m}var c=i[p];return c||(0,s.routingError)("missingExport",p)},k=r.PAI=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.app_template,f=u.app_icon,l=u.app_title,v=V(d);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:f,mr:1}),l,d!=="pai_main_menu"&&(0,e.createComponentVNode)(2,t.Button,{ml:2,content:"Home",icon:"arrow-up",onClick:function(){function b(){return m("MASTER_back")}return b}()})]}),p:1,children:(0,e.createComponentVNode)(2,v)})})})}return S}()},85175:function(I,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(71253),y=n(59395),V=function(c){var m;try{m=y("./"+c+".js")}catch(d){if(d.code==="MODULE_NOT_FOUND")return(0,s.routingError)("notFound",c);throw d}var u=m[c];return u||(0,s.routingError)("missingExport",c)},k=r.PDA=function(){function i(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.app,v=f.owner;if(!v)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var b=V(l.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,S)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:l.icon,mr:1}),l.name]}),children:(0,e.createComponentVNode)(2,b)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,p)})]})})})}return i}(),S=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.idInserted,v=f.idLink,b=f.stationTime,g=f.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function h(){return d("Authenticate")}return h}(),content:l?v:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function h(){return d("Eject")}return h}(),content:g?["Eject "+g]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:b})]})},p=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!l.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function v(){return d("Back")}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:l.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:l.is_home?"disabled":"white",icon:"home",onClick:function(){function v(){d("Home")}return v}()})})]})})}},38280:function(I,r,n){"use strict";r.__esModule=!0,r.PDAPainter=r.PDAColorRow=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),s=r.PDAPainter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.statusLabel,u=c.pdaTypes,d=c.hasPDA,f=c.pdaIcon,l=c.pdaOwnerName,v=c.pdaJobName;return(0,e.createComponentVNode)(2,t.Window,{width:545,height:350,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Flex,{spacing:1,direction:"row",height:"100%",flex:"1",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{width:24,shrink:0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u0431\u0449\u0435\u0435",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:d?"eject":"exclamation-triangle",selected:d,content:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C":"-----",tooltip:d?"\u0418\u0437\u0432\u043B\u0435\u0447\u044C PDA":"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C PDA",tooltipPosition:"left",onClick:function(){function b(){return i(d?"eject_pda":"insert_pda")}return b}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0418\u043C\u044F",children:l||"\u041D/\u0414"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:v||"\u041D/\u0414"})]})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Flex,{height:"100%",direction:"column",flex:"1",children:(0,e.createComponentVNode)(2,o.Flex.Item,{children:[(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{as:"img",height:"160px",src:d?"data:image/png;base64,"+f:"",style:{"-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"},align:"middle"})}),(0,e.createComponentVNode)(2,o.LabeledList,{m:"5px",children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"\u0421\u0442\u0430\u0442\u0443\u0441",children:m})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{m:"5px",fluid:!0,disabled:!d,content:"\u0421\u0442\u0435\u0440\u0435\u0442\u044C PDA",confirmContent:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C?",textAlign:"left",color:"red",tooltip:"C\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0442\u0435\u043B\u0435\u0444\u043E\u043D \u043D\u0430 \u0437\u0430\u0432\u043E\u0434\u0441\u043A\u0438\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",tooltipPosition:"top",onClick:function(){function b(){return i("erase_pda")}return b}()})]})})})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{width:27,children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",flex:"1",children:(0,e.createComponentVNode)(2,o.Section,{title:"\u0426\u0432\u0435\u0442 PDA",flexGrow:"1",scrollable:!0,fill:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:Object.keys(u).map(function(b){return(0,e.createComponentVNode)(2,y,{selectedPda:b,selectedPdaImage:u[b][0]},b)})})})})})]})})})}return V}(),y=r.PDAColorRow=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.hasPDA,u=k.selectedPda,d=k.selectedPdaImage;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+d,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,disabled:!m,icon:d,content:u,confirmContent:"\u041F\u043E\u043A\u0440\u0430\u0441\u0438\u0442\u044C?",textAlign:"left",onClick:function(){function f(){return i("choose_pda",{selectedPda:u,selectedPdaImage:d})}return f}()})})]})}return V}()},68654:function(I,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(49968),y=r.Pacman=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.broken,u=c.anchored,d=c.active,f=c.fuel_type,l=c.fuel_usage,v=c.fuel_stored,b=c.fuel_cap,g=c.is_ai,h=c.tmp_current,C=c.tmp_max,N=c.tmp_overheat,x=c.output_max,B=c.power_gen,L=c.output_set,w=c.has_fuel,A=v/b,T=h/C,E=L*B,O=Math.round(v/l),P=Math.round(O/60),R=O>120?P+" minutes":O+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(m||!u)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!m&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!m&&!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!m&&!!u&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!w,selected:d,onClick:function(){function F(){return i("toggle_power")}return F}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:L,minValue:1,maxValue:x,step:1,className:"mt-1",onDrag:function(){function F(j,W){return i("change_power",{change_power:W})}return F}()}),"(",(0,s.formatPower)(E),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:T,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[h," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[N>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),N>20&&N<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),N>1&&N<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),N===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:d||g||!w,onClick:function(){function F(){return i("eject_fuel")}return F}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:f}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:A,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(v/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[l/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!w&&(l?R:"N/A"),!w&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return V}()},33388:function(I,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.PersonalCrafting=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.busy,d=m.category,f=m.display_craftable_only,l=m.display_compact,v=m.prev_cat,b=m.next_cat,g=m.subcategory,h=m.prev_subcat,C=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:d,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:f?"check-square-o":"square-o",selected:f,onClick:function(){function N(){return c("toggle_recipes")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:l?"check-square-o":"square-o",selected:l,onClick:function(){function N(){return c("toggle_compact")}return N}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"arrow-left",onClick:function(){function N(){return c("backwardCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:b,icon:"arrow-right",onClick:function(){function N(){return c("forwardCat")}return N}()})]}),g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function N(){return c("backwardSubCat")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:C,icon:"arrow-right",onClick:function(){function N(){return c("forwardSubCat")}return N}()})]}),l?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.display_craftable_only,d=m.can_craft,f=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function v(){return c("make",{make:l.ref})}return v}()}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)}),!u&&f.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),l.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:l.req_text,content:"Requirements",color:"transparent"}),l.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:l.tool_text,content:"Tools",color:"transparent"})]},l.name)})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.display_craftable_only,d=m.can_craft,f=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[d.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function v(){return c("make",{make:l.ref})}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)}),!u&&f.map(function(l){return(0,e.createComponentVNode)(2,t.Section,{title:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[l.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:l.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:l.req_text}),l.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:l.tool_text})]})},l.name)})]})}},56150:function(I,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(88510),y=n(64795),V=n(25328);function k(m,u){var d=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(d)return(d=d.call(m)).next.bind(d);if(Array.isArray(m)||(d=S(m))||u&&m&&typeof m.length=="number"){d&&(m=d);var f=0;return function(){return f>=m.length?{done:!0}:{done:!1,value:m[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,u){if(m){if(typeof m=="string")return p(m,u);var d={}.toString.call(m).slice(8,-1);return d==="Object"&&m.constructor&&(d=m.constructor.name),d==="Map"||d==="Set"?Array.from(m):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?p(m,u):void 0}}function p(m,u){(u==null||u>m.length)&&(u=m.length);for(var d=0,f=Array(u);dm?this.substring(0,m)+"...":this};var i=function(u,d){d===void 0&&(d="");var f=(0,V.createSearch)(d,function(l){return l.altername});return(0,y.flow)([(0,s.filter)(function(l){return l==null?void 0:l.altername}),d&&(0,s.filter)(f),(0,s.sortBy)(function(l){return l.id})])(u)},c=r.Photocopier=function(){function m(u,d){for(var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.copies,g=v.maxcopies,h=(0,a.useLocalState)(d,"searchText",""),C=h[0],N=h[1],x=i((0,s.sortBy)(function(R){return R.category})(v.forms||[]),C),B=[],L=k(x),w;!(w=L()).done;){var A=w.value;B.includes(A.category)||B.push(A.category)}var T=(0,a.useLocalState)(d,"number",0),E=T[0],O=T[1],P;return v.category===""?P=x:P=x.filter(function(R){return R.category===v.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:v.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:v.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:v.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":v.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!v.copyitem&&!v.mob,icon:v.copyitem||v.mob?"eject":"times",content:v.copyitem?v.copyitem:v.mob?"\u0416\u043E\u043F\u0430 "+v.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function R(){return l("removedocument")}return R}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!v.folder,icon:v.folder?"eject":"times",content:v.folder?v.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function R(){return l("removefolder")}return R}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:v.toner===0||v.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function R(){return l("print_form")}return R}()})}),!!v.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:v.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function R(){return l("ai_pic")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:v.toner===0||!v.copyitem&&!v.mob,onClick:function(){function R(){return l("copy")}return R}()})}),!!v.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:v.toner===0,onClick:function(){function R(){return l("ai_text")}return R}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:g,value:b,stepPixelSize:10,onChange:function(){function R(F,j){return l("copies",{new:j})}return R}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!v.category,onClick:function(){function R(){return l("choose_category",{category:""})}return R}()})}),B.map(function(R){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:R,selected:v.category===R,onClick:function(){function F(){return l("choose_category",{category:R})}return F}()},R)},R)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:v.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function R(F,j){return N(j)}return R}()}),children:P.map(function(R){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:R.altername.trimLongStr(37),tooltip:R.altername,selected:v.form_id===R.id,onClick:function(){function F(){return l("choose_form",{path:R.path,id:R.id})}return F}()})},R.path)})})})]})})})}return m}()},94158:function(I,r,n){"use strict";r.__esModule=!0,r.PodTracking=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.PodTracking=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.pods;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Position",children:[m.podx,", ",m.pody,", ",m.podz]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pilot",children:m.pilot}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Passengers",children:m.passengers})]})},m.name)})})})}return y}()},84676:function(I,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=["tempKey"];function y(p,i){if(p==null)return{};var c={};for(var m in p)if({}.hasOwnProperty.call(p,m)){if(i.includes(m))continue;c[m]=p[m]}return c}var V={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},k=function(i,c){var m=i.tempKey,u=y(i,s),d=V[m];if(!d)return null;var f=(0,a.useBackend)(c),l=f.data,v=f.act,b=l.currentTemp,g=d.label,h=d.icon,C=m===b,N=function(){v("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({selected:C,onClick:N},u,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:h}),g]})))},S=r.PoolController=function(){function p(i,c){for(var m=(0,a.useBackend)(c),u=m.data,d=u.emagged,f=u.currentTemp,l=V[f]||V.normal,v=l.label,b=l.color,g=[],h=0,C=Object.entries(V);h50?"battery-half":"battery-quarter")||b==="C"&&"bolt"||b==="F"&&"battery-full"||b==="M"&&"slash",color:b==="N"&&(g>50?"yellow":"red")||b==="C"&&"yellow"||b==="F"&&"green"||b==="M"&&"orange"}),(0,e.createComponentVNode)(2,k.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(g)+"%"})],4)};d.defaultHooks=s.pureComponentHooks;var f=function(v){var b,g,h=v.status;switch(h){case"AOn":b=!0,g=!0;break;case"AOff":b=!0,g=!1;break;case"On":b=!1,g=!0;break;case"Off":b=!1,g=!1;break}var C=(g?"On":"Off")+(" ["+(b?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,k.ColorBox,{color:g?"good":"bad",content:b?void 0:"M",title:C})};f.defaultHooks=s.pureComponentHooks},50992:function(I,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(3939),y=n(321),V=n(5485),k=n(98595),S=r.PrisonerImplantManager=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.loginState,l=d.prisonerInfo,v=d.chemicalInfo,b=d.trackingInfo,g;if(!f.logged_in)return(0,e.createComponentVNode)(2,k.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,V.LoginScreen)})});var h=[1,5,10];return(0,e.createComponentVNode)(2,k.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,s.ComplexModal),(0,e.createComponentVNode)(2,k.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.name?"eject":"id-card",selected:l.name,content:l.name?l.name:"-----",tooltip:l.name?"Eject ID":"Insert ID",onClick:function(){function C(){return u("id_card")}return C}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[l.points!==null?l.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:l.points===null,content:"Reset",onClick:function(){function C(){return u("reset_points")}return C}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[l.goal!==null?l.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:l.goal===null,content:"Edit",onClick:function(){function C(){return(0,s.modalOpen)(c,"set_points")}return C}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:l.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:b.map(function(C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",C.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:C.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:C.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function N(){return(0,s.modalOpen)(c,"warn",{uid:C.uid})}return N}()})})]})]},C.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:v.map(function(C){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",C.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:C.volume})}),h.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:C.volume1100?"purple":f>500?"orange":f>250?"yellow":"green"},k=function(f,l){for(var v=[],b=0;b0?"envelope-open-text":"envelope",onClick:function(){function N(){return l("setScreen",{setScreen:6})}return N}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Assistance",icon:"hand-paper",onClick:function(){function N(){return l("setScreen",{setScreen:1})}return N}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Supplies",icon:"box",onClick:function(){function N(){return l("setScreen",{setScreen:2})}return N}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Relay Anonymous Information",icon:"comment",onClick:function(){function N(){return l("setScreen",{setScreen:3})}return N}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print Shipping Label",icon:"tag",onClick:function(){function N(){return l("setScreen",{setScreen:9})}return N}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function N(){return l("setScreen",{setScreen:10})}return N}()})})]}),!!g&&(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function N(){return l("setScreen",{setScreen:8})}return N}()})}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{content:h?"Speaker Off":"Speaker On",selected:!h,icon:h?"volume-mute":"volume-up",onClick:function(){function N(){return l("toggleSilent")}return N}()})})]})},V=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.department,g,h;switch(u.purpose){case"ASSISTANCE":g=v.assist_dept,h="Request assistance from another department";break;case"SUPPLIES":g=v.supply_dept,h="Request supplies from another department";break;case"INFO":g=v.info_dept,h="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:h,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function C(){return l("setScreen",{setScreen:0})}return C}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:g.filter(function(C){return C!==b}).map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function N(){return l("writeInput",{write:C,priority:1})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function N(){return l("writeInput",{write:C,priority:2})}return N}()})]},C)})})})},k=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b;switch(u.type){case"SUCCESS":b="Message sent successfully";break;case"FAIL":b="Request supplies from another department";break}return(0,e.createComponentVNode)(2,t.Section,{title:b,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function g(){return l("setScreen",{setScreen:0})}return g}()})})},S=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b,g;switch(u.type){case"MESSAGES":b=v.message_log,g="Message Log";break;case"SHIPPING":b=v.shipping_log,g="Shipping label print log";break}return(0,e.createComponentVNode)(2,t.Section,{title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return l("setScreen",{setScreen:0})}return h}()}),children:b.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{className:"RequestConsole__message",children:h},h)})})},p=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.recipient,g=v.message,h=v.msgVerified,C=v.msgStamped;return(0,e.createComponentVNode)(2,t.Section,{title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function N(){return l("setScreen",{setScreen:0})}return N}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:g}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:C})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function N(){return l("department",{department:b})}return N}()})]})},i=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.message,g=v.announceAuth;return(0,e.createComponentVNode)(2,t.Section,{title:"Station-Wide Announcement",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function h(){return l("setScreen",{setScreen:0})}return h}()}),children:[(0,e.createComponentVNode)(2,t.Button,{content:b||"Edit Message",icon:"edit",onClick:function(){function h(){return l("writeAnnouncement")}return h}()}),g?(0,e.createComponentVNode)(2,t.Box,{mt:1,color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{mt:1,children:"Swipe your ID card to authenticate yourself."}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(g&&b),onClick:function(){function h(){return l("sendAnnouncement")}return h}()})]})},c=function(u,d){var f=(0,a.useBackend)(d),l=f.act,v=f.data,b=v.shipDest,g=v.msgVerified,h=v.ship_dept;return(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function C(){return l("setScreen",{setScreen:0})}return C}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:b}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:g})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(b&&g),onClick:function(){function C(){return l("printLabel")}return C}()}),(0,e.createComponentVNode)(2,t.Section,{title:"Destinations",mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.map(function(C){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:C,children:(0,e.createComponentVNode)(2,t.Button,{content:b===C?"Selected":"Select",selected:b===C,onClick:function(){function N(){return l("shipSelect",{shipSelect:C})}return N}()})},C)})})})]})}},3786:function(I,r,n){"use strict";r.__esModule=!0,r.RequestManager=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595);/** * @file * @copyright 2021 bobbahbrown (https://github.com/bobbahbrown) * @coauthor 2022 BeebBeebBoob (https://github.com/BeebBeebBoob) * @license MIT - */var y=r.RequestManager=function(){function p(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.requests,l=(0,t.useLocalState)(c,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=l[0],b=l[1],N=(0,t.useLocalState)(c,"searchText"),h=N[0],C=N[1],g=m.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();g=g.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,s.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return C(w)}return B}(),placeholder:"Search...",mr:1}),children:g.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,k,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(i){var c=i.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+c,[V[c],(0,e.createTextVNode)(":")],0)},S=function(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f._,m=i.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("pp",{id:m.id})}return l}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("vv",{id:m.id})}return l}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("sm",{id:m.id})}return l}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("tp",{id:m.id})}return l}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("logs",{id:m.id})}return l}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("bless",{id:m.id})}return l}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("smite",{id:m.id})}return l}(),children:"SMITE"}),m.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("rply",{id:m.id})}return l}(),children:"RPLY"}),m.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("ertreply",{id:m.id})}return l}(),children:"ERTREPLY"}),m.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("getcode",{id:m.id})}return l}(),children:"GETCODE"})],0)}},16475:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),s=n(13472),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,i){var c=(0,a.useBackend)(i),f=c.data,u=f.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:f.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,s.RndNavbar),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,s.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:function(){function d(m){return m===y.LATHE||m===y.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,s.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.SettingsMenu)}return d}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},93098:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.CurrentLevels=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(i,c){var f=i.name,u=i.level,d=i.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:f}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},f)})]})}return s}()},19192:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y="design",V="tech",k=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function C(){return N("updt_tech")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function C(){return N("clear_tech")}return C}()}),(0,e.createComponentVNode)(2,i)]})]}):null},S=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=v.act,h=b.disk_data;if(!h)return null;var C=h.name,g=h.lathe_types,x=h.materials,B=g.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return N("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return N("clear_design")}return L}()}),(0,e.createComponentVNode)(2,i)]})]})},p=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:s.SUBMENU.DISK_COPY,icon:"arrow-down",content:N===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,i)]})]})},i=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function C(){var g=h===V?"eject_tech":"eject_design";N(g)}return C}()}):null},c=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.disk_data,h=b.disk_type,C=function(){if(!N)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:C()})},f=function(m,l){var v=(0,a.useBackend)(l),b=v.data,N=v.act,h=b.disk_type,C=b.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.sort(function(g,x){return g.name.localeCompare(x.name)}).map(function(g){var x=g.name,B=g.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===V?N("copy_tech",{id:B}):N("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function d(m,l){var v=(0,a.useBackend)(l),b=v.data,N=b.disk_type;return N?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,f)}return h}()})],4):null}return d}()},20887:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.DeconstructionMenu=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_item,c=S.linked_destroy;return c?i?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",i.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.origin_tech.map(function(f){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+f.name,children:[f.object_level," ",f.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),f.current_level,(0,e.createTextVNode)(")")],0):null]},f.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function f(){p("deconstruct")}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function f(){p("eject_item")}return f}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return s}()},10666:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=r.LatheCategory=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,c=p.category,f=p.matching_designs,u=p.menu,d=u===4,m=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(l){var v=l.id,b=l.name,N=l.can_build,h=l.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:N<1,onClick:function(){function C(){return i(m,{id:v,amount:1})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:N>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function C(){return i(m,{id:v,amount:5})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:N>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function C(){return i(m,{id:v,amount:10})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(C){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",C.is_red?"color-red":null,[C.amount,(0,e.createTextVNode)(" "),C.name],0)],0)})})]},v)})})]})}return y}()},52285:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_chemicals,c=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=c?"disposeallP":"disposeallI";p(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(f){var u=f.volume,d=f.name,m=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var v=c?"disposeP":"disposeI";p(v,{id:m})}return l}()})},m)})})]})}return s}()},71964:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=r.LatheMainMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,c=p.menu,f=p.categories,u=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:d,onClick:function(){function m(){i("setCategory",{category:d})}return m}()})},d)})})]})}return y}()},17906:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(c){var f=c.id,u=c.amount,d=c.name,m=function(){function N(h){var C=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(C,{id:f,amount:h})}return N}(),l=Math.floor(u/2e3),v=u<1,b=l===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function N(){return m(1)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function N(){return m("custom")}return N}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function N(){return m(5)}return N}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function N(){return m(50)}return N}()})],0):null})]},f)})})})}return s}()},83706:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.total_materials,i=S.max_materials,c=S.max_chemicals,f=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return s}()},76749:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(12059),o=n(13472),s=n(36036),y=n(16475),V=r.LatheMenu=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.data,f=c.menu,u=c.linked_lathe,d=c.linked_imprinter;return f===4&&!u?(0,e.createComponentVNode)(2,s.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):f===5&&!d?(0,e.createComponentVNode)(2,s.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return m}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function m(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return m}()})]})}return k}()},74698:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(i,c){return S("search",{to_search:c})}return p}()})})}return s}()},17180:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y=r.MainMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.disk_type,f=i.linked_destroy,u=i.linked_lathe,d=i.linked_imprinter,m=i.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:s.MENU.DISK,submenu:s.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,menu:s.MENU.DESTROY,submenu:s.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:s.MENU.LATHE,submenu:s.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:s.MENU.IMPRINTER,submenu:s.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:s.MENU.SETTINGS,submenu:s.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:m.map(function(l){var v=l.name,b=l.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},63459:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.RndNavButton=function(){function s(y,V){var k=y.icon,S=y.children,p=y.disabled,i=y.content,c=(0,a.useBackend)(V),f=c.data,u=c.act,d=f.menu,m=f.submenu,l=d,v=m;return y.menu!==null&&y.menu!==void 0&&(l=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:i,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:l,submenu:v})}return b}(),children:S})}return s}()},94942:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(89005),a=n(13472),t=n(36036),o=n(16475),s=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},12059:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(72253),a=r.RndRoute=function(){function t(o,s){var y=o.render,V=(0,e.useBackend)(s),k=V.data,S=k.menu,p=k.submenu,i=function(){function f(u,d){return u==null?!0:typeof u=="function"?u(d):u===d}return f}(),c=i(o.menu,S)&&i(o.submenu,p);return c?y():null}return t}()},52580:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y=r.SettingsMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=p.act,f=i.sync,u=i.admin,d=i.linked_destroy,m=i.linked_lathe,l=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!f,onClick:function(){function b(){c("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:f,onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!f,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!f,content:"Device Linkage Menu",icon:"link",menu:s.MENU.SETTINGS,submenu:s.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return c("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function b(){return c("find_device")}return b}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),m?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){c("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},13472:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(93098);r.CurrentLevels=e.CurrentLevels;var a=n(19192);r.DataDiskMenu=a.DataDiskMenu;var t=n(20887);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(10666);r.LatheCategory=o.LatheCategory;var s=n(52285);r.LatheChemicalStorage=s.LatheChemicalStorage;var y=n(71964);r.LatheMainMenu=y.LatheMainMenu;var V=n(83706);r.LatheMaterials=V.LatheMaterials;var k=n(17906);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(76749);r.LatheMenu=S.LatheMenu;var p=n(74698);r.LatheSearch=p.LatheSearch;var i=n(17180);r.MainMenu=i.MainMenu;var c=n(94942);r.RndNavbar=c.RndNavbar;var f=n(63459);r.RndNavButton=f.RndNavButton;var u=n(12059);r.RndRoute=u.RndRoute;var d=n(52580);r.SettingsMenu=d.SettingsMenu},40026:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,c=p.data,f=c.hasID,u=c.name,d=c.questInfo,m=c.hasTask,l=c.canCheck,v=c.canSend,b=c.checkMessage,N=c.style,h=c.cooldown,C=c.shopItems,g=c.points,x=c.cats,B=(0,t.useLocalState)(S,"shopState",!1),L=B[0],w=B[1],A={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,s.Window,{theme:N,width:1e3,height:540,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Mecha",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Check Mech",icon:"search",disabled:!f||!m||!l||h,onClick:function(){function T(){return i("Check")}return T}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!m&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",d.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&d.modules.map(function(T){return T.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&d.modules.map(function(T){return T.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,h,0)],4)]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["Corps bounties",(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",(0,e.createVNode)(1,"b",null,g.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,g.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,g.security,0,{style:{color:"red"}})]})]}),children:Object.keys(C).map(function(T){return(0,e.createFragment)(!(C[T]===void 0||C[T].length===0||T==="robo")&&C[T].map(function(E){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:A[T],image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.security,0,{style:{color:"red"}})]}),content:E.desc,onClick:function(){function O(){return i("buyItem",{item:E.path})}return O}()},E.path)}),0,T)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Other",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Shop",icon:"shopping-cart",onClick:function(){function T(){return w(!L)}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",onClick:function(){function T(){return i("ChangeStyle")}return T}()})],4),children:!!u&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,u,0),(0,e.createVNode)(1,"br")],4)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Info",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"Eject ID",disabled:!f,onClick:function(){function T(){return i("RemoveID")}return T}()}),!m&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"Get Task",disabled:!f||h,onClick:function(){function T(){return i("GetTask")}return T}()}),!!m&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Print",icon:"print",onClick:function(){function T(){return i("printOrder")}return T}(),disabled:!m}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Remove Task",disabled:!f||h,onClick:function(){function T(){return i("RemoveTask")}return T}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"Name: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"Desc: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"Modules",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!m&&d.modules.map(function(T){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),T.id],0),(0,e.createTextVNode)(": "),T.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,T.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Send Mech",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return i("SendMech",{type:"send"})}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Pack",textAlign:"center",disabled:!f||!m||!v||h,onClick:function(){function T(){return i("SendMech",{type:"only_packing"})}return T}()})]})]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("RoboQuest Shop"),(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",g.robo]})],4),children:C.robo.map(function(T){return(!T.emagOnly||N==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:T.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[T.name," ",(0,e.createVNode)(1,"b",null,T.cost.robo,0,{style:{color:"purple"}})]}),content:T.desc,onClick:function(){function E(){return i("buyItem",{item:T.path})}return E}()},T.name)})})]})]})})})}return V}()},26109:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(25328),y=function(S,p){var i=S/p;return i<=.2?"good":i<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,s.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},d)})})})}return k}()},97997:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.can_hack,u=c.safety,d=c.show_detonate_all,m=c.cyborgs,l=m===void 0?[]:m;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return i("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return i("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:l,can_hack:f})]})})}return V}(),y=function(k,S){var p=k.cyborgs,i=k.can_hack,c=(0,a.useBackend)(S),f=c.act,u=c.data;return p.length?p.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createFragment)([!!d.hackable&&!d.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function m(){return f("hackbot",{uid:d.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:d.locked_down?"unlock":"lock",color:d.locked_down?"good":"default",content:d.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function m(){return f("stopbot",{uid:d.uid})}return m}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function m(){return f("killbot",{uid:d.uid})}return m}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:d.status?"bad":d.locked_down?"average":"good",children:d.status?"Not Responding":d.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:d.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.health>50?"good":"bad",value:d.health/100})}),typeof d.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.charge>30?"good":"bad",value:d.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:d.cell_capacity<3e4?"average":"good",children:d.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!d.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:d.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:d.synchronization?"default":"average",children:d.synchronization||"None"})})]})},d.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(79140),t=n(72253),o=n(36036),s=n(98595),y=r.Safe=function(){function p(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.dial,l=d.open,v=d.locked,b=d.contents;return(0,e.createComponentVNode)(2,s.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*m+"deg)","z-index":0}})]}),!l&&(0,e.createComponentVNode)(2,S)]})})}return p}(),V=function(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.dial,l=d.open,v=d.locked,b=function(h,C){return(0,e.createComponentVNode)(2,o.Button,{disabled:l||C&&!v,icon:"arrow-"+(C?"right":"left"),content:(C?"Right":"Left")+" "+h,iconRight:C,onClick:function(){function g(){return u(C?"turnleft":"turnright",{num:h})}return g}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:v,icon:l?"lock":"lock-open",content:l?"Close":"Open",mb:"0.5rem",onClick:function(){function N(){return u("open")}return N}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[b(50),b(10),b(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[b(1,!0),b(10,!0),b(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:m})]})},k=function(i,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,m=d.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:m.map(function(l,v){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function b(){return u("retrieve",{index:v+1})}return b}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:l.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),l.name]}),(0,e.createVNode)(1,"br")],4,l)})})},S=function(i,c){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SatelliteControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.satellites,f=i.notice,u=i.meteor_shield,d=i.meteor_shield_coverage,m=i.meteor_shield_coverage_max,l=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:d,maxValue:m,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.notice}),c.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},44162:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SecureStorage=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.emagged,f=i.locked,u=i.l_set,d=i.l_setshort,m=i.current_code,l=function(){function v(b){var N=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:c||d,type:"button",color:h,onClick:function(){function C(){return p("setnumber",{buttonValue:N})}return C}(),children:N})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"1"}),(0,e.createComponentVNode)(2,l,{buttonValue:"2"}),(0,e.createComponentVNode)(2,l,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"4"}),(0,e.createComponentVNode)(2,l,{buttonValue:"5"}),(0,e.createComponentVNode)(2,l,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"7"}),(0,e.createComponentVNode)(2,l,{buttonValue:"8"}),(0,e.createComponentVNode)(2,l,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,l,{buttonValue:"0"}),(0,e.createComponentVNode)(2,l,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:c||d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:c?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),c?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:f?"red":"green",children:f?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:m||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:f,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},6272:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=n(3939),V=n(321),k=n(5485),S=n(22091),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(C,g){(0,y.modalOpen)(C,"edit",{field:g.edit,value:g.value})},c=r.SecurityRecords=function(){function h(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,l):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,s.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,s.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,f),T]})})]})}return h}(),f=function(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(g,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(g,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(g,"sortOrder",!0),j=F[0],W=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,d,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,d,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,d,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,d,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(T,function(H){return H.name+"|"+H.id+"|"+H.rank+"|"+H.fingerprint+"|"+H.status})).sort(function(H,z){var $=j?1:-1;return H[P].localeCompare(z[P])*$}).map(function(H){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[H.status],onClick:function(){function z(){return B("view",{uid_gen:H.uid_gen,uid_sec:H.uid_sec})}return z}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",H.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.status})]},H.id)})]})})})],4)},d=function(C,g){var x=(0,t.useLocalState)(g,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(g,"sortOrder",!0),A=w[0],T=w[1],E=C.id,O=C.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==E&&"transparent",fluid:!0,onClick:function(){function P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},m=function(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.isPrinting,A=(0,t.useLocalState)(g,"searchText",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(g,"print_cell_log")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function O(P,R){return E(R)}return O}()})})]})},l=function(C,g){var x=(0,t.useBackend)(g),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},v=function(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.isPrinting,A=L.general,T=L.security;return!A||!A.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,b)})}),!T||!T.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function E(){return B("new_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function P(){return i(g,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,N)],4)],0)},b=function(C,g){var x=(0,t.useBackend)(g),B=x.data,L=B.general;return!L||!L.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:L.fields.map(function(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return i(g,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,A){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},N=function(C,g){var x=(0,t.useBackend)(g),B=x.act,L=x.data,w=L.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function A(){return(0,y.modalOpen)(g,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),s=n(36036),y=n(98595),V=n(3939);function k(m,l){var v=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(v)return(v=v.call(m)).next.bind(v);if(Array.isArray(m)||(v=S(m))||l&&m&&typeof m.length=="number"){v&&(m=v);var b=0;return function(){return b>=m.length?{done:!0}:{done:!1,value:m[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(m,l){if(m){if(typeof m=="string")return p(m,l);var v={}.toString.call(m).slice(8,-1);return v==="Object"&&m.constructor&&(v=m.constructor.name),v==="Map"||v==="Set"?Array.from(m):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(m,l):void 0}}function p(m,l){(l==null||l>m.length)&&(l=m.length);for(var v=0,b=Array(l);v=T},N=function(A,T){return A<=T},h=l.split(" "),C=[],g=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return C.push(function(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=N,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":C.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":C.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":C.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":C.push(function(P){return O(P.production,E)});break;case"y":case"yield":C.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":C.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":C.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=g(),x!==0&&x)return x.v;return function(w){for(var A=0,T=C;A=1?Number(O):1)}return T}()})]})]})}},2916:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ShuttleConsole=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=i.type,l=m===void 0?"shuttle":m,v=i.blind_drop,b=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:l==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function N(){return u("request")}return N}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:l,blind_drop:v})})]})}return p}(),y=function(i,c){var f;return i==null||(f=i.find(function(u){return u.id===c}))==null?void 0:f.name},V=function(i,c){var f;return i==null||(f=i.find(function(u){return u.name===c}))==null?void 0:f.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=i.type,l=i.blind_drop,v=d.status,b=d.locked,N=d.authorization_required,h=d.destination,C=d.docked_location,g=d.timer_str,x=d.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:g||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:m==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:C||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:m!=="shuttle"&&B.length===0&&!!l&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:N||!l,content:"Blind Drop",onClick:function(){function L(){return u("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||N,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||N||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},39401:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ShuttleManipulator=function(){function S(p,i){var c=(0,a.useLocalState)(i,"tabIndex",0),f=c[0],u=c[1],d=function(){function m(l){switch(l){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return m}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function m(){return u(0)}return m}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function m(){return u(1)}return m}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function m(){return u(2)}return m}(),icon:"tools",children:"Modification"},"Modification")]}),d(f)]})})})}return S}(),y=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:m.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:m.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:m.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:m.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return f("jump_to",{type:"mobile",id:m.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return f("fast_travel",{id:m.id})}return l}()})]})]})},m.name)})})},V=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.templates_tabs,m=u.existing_shuttle,l=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===m.id,icon:"file",onClick:function(){function b(){return f("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!m&&l[m.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function b(){return f("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,i){var c=(0,a.useBackend)(i),f=c.act,u=c.data,d=u.existing_shuttle,m=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[d?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+d.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d.status}),d.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:d.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return f("jump_to",{type:"mobile",id:d.id})}return l}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),m?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+m.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:m.description}),m.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:m.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function l(){return f("preview",{shuttle_id:m.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return f("load",{shuttle_id:m.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function l(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.hasOccupant,x=g?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,m);return(0,e.createComponentVNode)(2,s.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return l}(),i=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,d)],4)},c=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.occupant,x=C.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:g.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:g.maxHealth,value:g.health/g.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(g.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[g.stat][0],children:y[g.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:g.maxTemp,value:g.bodyTemperature/g.maxTemp,color:S[g.temperatureSuitability+3],children:[(0,a.round)(g.btCelsius,0),"\xB0C,",(0,a.round)(g.btFaren,0),"\xB0F"]})}),!!g.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:g.bloodMax,value:g.bloodLevel/g.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[g.bloodPercent,"%, ",g.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[g.pulse," BPM"]})],4)]})})},f=function(v,b){var N=(0,t.useBackend)(b),h=N.data,C=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.map(function(g,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:g[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:C[g[1]]/100,ranges:k,children:(0,a.round)(C[g[1]],0)},x)},x)})})})},u=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.hasOccupant,x=C.isBeakerLoaded,B=C.beakerMaxSpace,L=C.beakerFreeSpace,w=C.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!g,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},d=function(v,b){var N=(0,t.useBackend)(b),h=N.act,C=N.data,g=C.occupant,x=C.chemicals,B=C.maxchem,L=C.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||g.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},m=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SlotMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return i.plays===1?c=i.plays+" player has tried their luck today!":c=i.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function f(){return p("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return y}()},46348:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Smartfridge=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.secure,f=i.can_dry,u=i.drying,d=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function m(){return p("drying")}return m}()}),children:[!d&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!d&&d.slice().sort(function(m,l){return m.display_name.localeCompare(l.display_name)}).map(function(m){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:m.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",m.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function l(){return p("vend",{index:m.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:m.quantity,step:1,stepPixelSize:3,onChange:function(){function l(v,b){return p("vend",{index:m.vend,amount:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return p("vend",{index:m.vend,amount:m.quantity})}return l}()})]})]},m)})]})]})})})}return y}()},86162:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),s=n(98595),y=1e3,V=r.Smes=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.capacityPercent,d=f.capacity,m=f.charge,l=f.inputAttempt,v=f.inputting,b=f.inputLevel,N=f.inputLevelMax,h=f.inputAvailable,C=f.outputPowernet,g=f.outputAttempt,x=f.outputting,B=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||m>0&&"average"||"bad";return(0,e.createComponentVNode)(2,s.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:b===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:N/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===N,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===N,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:g?"power-off":"times",selected:g,onClick:function(){function E(){return c("tryoutput")}return E}(),children:g?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:C?x?"Sending":m>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:B===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("output",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},63584:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SolarControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=0,f=1,u=2,d=i.generated,m=i.generated_ratio,l=i.tracking_state,v=i.tracking_rate,b=i.connected_panels,N=i.connected_tracker,h=i.cdir,C=i.direction,g=i.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function x(){return p("refresh")}return x}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:N?"good":"bad",children:N?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:m,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",C,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",g,")"," "]}),l===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[l!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function x(){return p("track",{track:c})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===f,onClick:function(){function x(){return p("track",{track:f})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===u,disabled:!N,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return p("tdir",{tdir:L})}return x}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},38096:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SpawnersMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return y}()},7957:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(98595);function y(m,l){m.prototype=Object.create(l.prototype),m.prototype.constructor=m,V(m,l)}function V(m,l){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,b){return v.__proto__=b,v},V(m,l)}var k=r.SpiderOS=function(){function m(l,v){var b=(0,a.useBackend)(v),N=b.act,h=b.data,C;return h.suit_tgui_state===0?C=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,f)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.suit_tgui_state===1&&(C=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function g(){return N("set_UI_state",{suit_tgui_state:0})}return g}()})]})})),(0,e.createComponentVNode)(2,s.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:C})})})}return m}(),S=function(l,v){var b=(0,a.useBackend)(v),N=b.data,h=N.allStylesPreview,C=N.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[C],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},p=function(l,v){var b=(0,a.useBackend)(v),N=b.act,h=b.data,C=h.designs,g=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:x,onSelected:function(){function z($){return N("set_scarf_design",{scarf_design_choice:$})}return z}()})}):W=null;var H;return P?H=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return N("toggle_ui_concentration")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):H=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:g,onSelected:function(){function z($){return N("set_design",{design_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function z($){return N("set_color",{color_choice:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:w,selected:A,onSelected:function(){function z($){return N("set_gender",{preferred_clothes_gender:$})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:j,onClick:function(){function z(){return N("toggle_scarf")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return N("toggle_ui_charge")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),H]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function z(){return N("initialise_suit")}return z}()})})]})})},i=function(l,v){var b=(0,a.useBackend)(v),N=b.data,h=N.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},c=function(l,v){var b=(0,a.useBackend)(v),N=b.act,h=b.data,C=h.allActionsPreview,g=h.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:g[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:g[0],onClick:function(){function B(){return N("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:g[1],onClick:function(){function B(){return N("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:g[2],onClick:function(){function B(){return N("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:g[3],onClick:function(){function B(){return N("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:g[4],onClick:function(){function B(){return N("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:g[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:g[0],onClick:function(){function B(){return N("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:g[1],onClick:function(){function B(){return N("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:g[2],onClick:function(){function B(){return N("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:g[3],onClick:function(){function B(){return N("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:g[4],onClick:function(){function B(){return N("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:g[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:g[0],onClick:function(){function B(){return N("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:g[1],onClick:function(){function B(){return N("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:g[2],onClick:function(){function B(){return N("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:g[3],onClick:function(){function B(){return N("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:g[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:g[4],onClick:function(){function B(){return N("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},f=r.ShuttleConsole=function(){function m(l,v){var b=(0,a.useBackend)(v),N=b.act,h=b.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.status?h.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.player_pos}),!!h.shuttle&&(!!h.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:h.docking_ports.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:C.name,onClick:function(){function g(){return N("move",{move:C.id})}return g}()},C.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!h.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!h.status,onClick:function(){function C(){return N("request")}return C}()})})],0))]})})})}return m}(),u=function(l,v){var b=(0,a.useBackend)(v),N=b.data,h=N.randomPercent,C=N.allActionsPreview,g=N.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:g,value:h,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+g,mt:1,children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C["spider_"+g],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},d=function(m){function l(b){var N;return N=m.call(this,b)||this,N.timer=null,N.state={lastText:"text do be there",currentDisplay:[]},N}y(l,m);var v=l.prototype;return v.tick=function(){function b(){var N=this.props,h=this.state;if(N.allMessages!==h.lastText&&!N.end_terminal){var C=h.currentDisplay;C.push(N.allMessages),h.lastText=N.allMessages}else N.end_terminal&&(clearTimeout(this.timer),setTimeout(N.onFinished,N.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var N=this,h=this.props.linesPerSecond,C=h===void 0?2.5:h;this.timer=setInterval(function(){return N.tick()},1e3/C)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(N){return(0,e.createFragment)([N,(0,e.createVNode)(1,"br")],0,N)})})}return b}(),l}(e.Component)},38307:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.StationAlertConsole=function(){function V(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.alarms||[];return Object.keys(c).map(function(f){var u,d;return(0,e.createComponentVNode)(2,t.Section,{title:f+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=c[f])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=c[f])==null?void 0:d.map(function(m){return(0,e.createVNode)(1,"li","color-average",m,0,null,m)}),0)},f)})}return V}()},39409:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),s=n(36036),y=n(98595),V=5,k=9,S=function(b){return b===0?5:9},p="64px",i=function(b){return b[0]+"/"+b[1]},c=function(b){var N=b.align,h=b.children;return(0,e.createComponentVNode)(2,s.Box,{style:{position:"absolute",left:N==="left"?"6px":"48px","text-align":N,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},f={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},u={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},m=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(m||{}),l=r.StripMenu=function(){function v(b,N){var h=(0,o.useBackend)(N),C=h.act,g=h.data,x=new Map;if(g.show_mode===0)for(var B=0,L=Object.keys(g.items);B300?"bad":f>150?"average":"good"},k=function(f){return f>5e3?"bad":f>4e3?"average":"good"},S=function(f){return f>1e4?"bad":f>5e3?"average":"good"},p=function(f,u){var d=(0,a.useBackend)(u),m=d.act,l=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function v(){return m("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:l.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Details"})]}),l.supermatters.map(function(v){return(0,e.createComponentVNode)(2,s.TableRow,{children:[(0,e.createComponentVNode)(2,s.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,s.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,s.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return m("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},i=function(f,u){var d=(0,a.useBackend)(u),m=d.act,l=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function v(){return m("back")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:l.SM_integrity,children:[l.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(l.SM_power),children:[l.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(l.SM_ambienttemp),children:[l.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(l.SM_ambientpressure),children:[l.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[l.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[l.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[l.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[l.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[l.SM_gas_OTHER,"%"]})]})})]})})}},46029:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(98595),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data;return(0,e.createComponentVNode)(2,s.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:c.rows.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f.buttontitle,disabled:f.buttondisabled,tooltip:f.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return i(f.buttonact)}return u}()}),children:[f.status,!!f.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:f.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},f.title)})})})}return V}()},99279:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(29319),k=n(25328),S=r.SyndieCargoConsole=function(){function u(d,m){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})}return u}(),p=function(d,m){var l=(0,o.useLocalState)(m,"contentsModal",null),v=l[0],b=l[1],N=(0,o.useLocalState)(m,"contentsModalTitle",null),h=N[0],C=N[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:v.map(function(g){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",g]},g)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function g(){b(null),C(null)}return g}()})})]})},i=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,N=b.is_public,h=N===void 0?0:N,C=b.cash,g=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,g!==1?w=""+B+" (ETA: "+g+" seconds)":w=""+B+" (ETA: "+g+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Money Available",children:[C,(0,e.createComponentVNode)(2,s.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",C)}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",C)}return O}()})]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},c=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,N=b.categories,h=b.supply_packs,C=(0,o.useSharedState)(m,"category","Emergency"),g=C[0],x=C[1],B=(0,o.useSharedState)(m,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(m,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(m,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(H){return H.name}),j=(0,a.flow)([(0,t.filter)(function(H){return H.cat===N.filter(function(z){return z.name===g})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(h),W="Crate Catalogue";return L?W="Results for '"+L+"':":g&&(W="Browsing "+g),(0,e.createComponentVNode)(2,s.Section,{title:W,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:N.map(function(H){return H.name}),selected:g,onSelected:function(){function H(z){return x(z)}return H}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H(z,$){return w($)}return H}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:j.map(function(H){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:[H.name," (",H.cost," Credits)"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:0})}return z}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:1})}return z}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function z(){E(H.contents),R(H.name)}return z}()})]})]},H.name)})})})]})},f=function(d,m){var l=(0,o.useBackend)(m),v=l.act,b=l.data,N=b.requests,h=b.canapprove,C=b.orders;return(0,e.createComponentVNode)(2,s.Section,{title:"Details",children:(0,e.createComponentVNode)(2,s.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:N.map(function(g){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",g.comment]})]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:g.ordernum})}return x}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:g.ordernum})}return x}()})]})]},g.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:C.map(function(g){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",g.ordernum,": ",g.supply_type," for ",(0,e.createVNode)(1,"b",null,g.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",g.comment]})]})},g.ordernum)})})]})})}},44852:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(i,c,f,u){return u===void 0&&(u=null),i.map(function(d){var m,l=(m=d[u])!=null?m:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c.includes(d),content:l,onClick:function(){function v(){c.includes(d)?f(c.filter(function(b){var N;return((N=b[u])!=null?N:b)!==d})):f([d].concat(c))}return v}()},l)})},k=r.TTSSeedsExplorer=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.providers,l=d.seeds,v=d.selected_seed,b=d.phrases,N=d.donator_level,h=l.map(function(Z){return Z.category}).filter(function(Z,J,te){return te.indexOf(Z)===J}),C=l.map(function(Z){return Z.gender}).filter(function(Z,J,te){return te.indexOf(Z)===J}),g=l.map(function(Z){return Z.donator_level}).filter(function(Z,J,te){return te.indexOf(Z)===J}).map(function(Z){return s[Z]}),x=(0,a.useLocalState)(c,"selectedProviders",m),B=x[0],L=x[1],w=(0,a.useLocalState)(c,"selectedGenders",C),A=w[0],T=w[1],E=(0,a.useLocalState)(c,"selectedCategories",h),O=E[0],P=E[1],R=(0,a.useLocalState)(c,"selectedDonatorLevels",g),F=R[0],j=R[1],W=(0,a.useLocalState)(c,"selectedPhrase",b[0]),H=W[0],z=W[1],$=(0,a.useLocalState)(c,"searchtext",""),G=$[0],ne=$[1],Q=V(m,B,L,"name"),he=V(C,A,T),Ve=V(h,O,P),Ne=V(g,F,j),Be=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:H.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function Z(J){return z(J)}return Z}()}),Le=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function Z(J,te){return ne(te)}return Z}()}),Ae=l.sort(function(Z,J){var te=Z.name.toLowerCase(),ee=J.name.toLowerCase();return te>ee?1:te0&&v!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.donator_level>0&&(0,e.createFragment)([s[Z.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:Q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ve}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:Be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Le})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Ae.length+"/"+l.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:fe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return p}()},56441:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TachyonArray=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.records,u=f===void 0?[]:f,d=c.explosion_target,m=c.toxins_tech,l=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:m}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||l,align:"center",onClick:function(){function v(){return i("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return i("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function m(){return i("delete_record",{index:d.index})}return m}()})})]},d.index)})]})})})})}return V}()},1754:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Tank=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c;return i.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function f(){return p("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return p("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function f(u,d){return p("pressure",{pressure:d})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return p("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return p("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return y}()},7579:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TankDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.o_tanks,f=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},16136:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TcommsCore=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.ion,l=(0,a.useLocalState)(c,"tabIndex",0),v=l[0],b=l[1],N=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[m===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),N(v)]})})}return p}(),y=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},V=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.active,l=d.sectors_available,v=d.nttc_toggle_jobs,b=d.nttc_toggle_job_color,N=d.nttc_toggle_name_color,h=d.nttc_toggle_command_bold,C=d.nttc_job_indicator_type,g=d.nttc_setting_language,x=d.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"On":"Off",selected:m,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"On":"Off",selected:N,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("nttc_toggle_command_bold")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"Unset",selected:C,icon:"pencil-alt",onClick:function(){function B(){return u("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"Unset",selected:g,icon:"globe",onClick:function(){function B(){return u("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return u("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.link_password,l=d.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,m=d.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function l(){return u("add_filter")}return l}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),m.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:l})}return v}()})})]},l)})]})})}},88046:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TcommsRelay=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.linked,d=f.active,m=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function l(){return c("toggle_active")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:m||"Unset",selected:m,icon:"server",onClick:function(){function l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.linked_core_id,d=f.linked_core_addr,m=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:m?"Yes":"No",icon:m?"eye-slash":"eye",selected:m,onClick:function(){function l(){return c("toggle_hidden_link")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function l(){return c("unlink")}return l}()})})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,f=i.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function m(){return c("link",{addr:d.addr})}return m}()})})]},d.addr)})]})})}},20802:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(79646),y=r.Teleporter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.targetsTeleport?c.targetsTeleport:{},u=0,d=1,m=2,l=c.calibrated,v=c.calibrating,b=c.powerstation,N=c.regime,h=c.teleporterhub,C=c.target,g=c.locked,x=c.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:N===d?"good":null,onClick:function(){function B(){return i("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:N===u?"good":null,onClick:function(){function B(){return i("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:N===m?"good":null,disabled:!g,onClick:function(){function B(){return i("setregime",{regime:m})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[N===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),N===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(f),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:f[L].x,y:f[L].y,z:f[L].z})}return B}()}),N===m&&(0,e.createComponentVNode)(2,t.Box,{children:C})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[C!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,s.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(l||x>=3)&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,s.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(l||v),onClick:function(){function B(){return i("calibrate")}return B}()})})})]}),C==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(g&&b&&h&&N===m)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return i("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return i("eject")}return B}()})]})})]})})}return V}()},24410:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),s=n(92986),y=n(36036),V=n(98595),k=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),S=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.message,N=b===void 0?"":b,h=l.multiline,C=l.placeholder,g=l.timeout,x=l.title,B=(0,o.useLocalState)(u,"input",C||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(N.length>40?Math.ceil(N.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===s.KEY_ENTER&&(!T||!P.shiftKey)&&m("submit",{entry:L}),R===s.KEY_ESCAPE&&m("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:N})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return c}(),i=function(f,u){var d=(0,o.useBackend)(u),m=d.act,l=d.data,v=l.max_length,b=l.multiline,N=f.input,h=f.onType,C=b||N.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||N.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function g(){return m("cancel")}return g}(),onEnter:function(){function g(x){C&&x.shiftKey||(x.preventDefault(),m("submit",{entry:N}))}return g}(),onInput:function(){function g(x,B){return h(B)}return g}(),placeholder:"Type something...",value:N})}},69566:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ThiefKit=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.uses,f=i.possible_uses,u=i.multi_uses,d=i.kits,m=i.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:c<=0?"good":c=f,onClick:function(){function l(){return p("randomKit")}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:l.was_taken||c>=f,onClick:function(){function v(){return p("takeKit",{item:l.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!l.was_taken,onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:l.desc})},l.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:m&&m.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},l.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:c0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return g("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),c=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function($,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function(Q){var he=Q.hijack_only===1?"|hijack":"";return Q.name+"|"+Q.desc+"|"+Q.cost+"tc"+he});return(0,t.flow)([(0,a.filter)(function(Q){return Q==null?void 0:Q.name}),G&&(0,a.filter)(ne),(0,a.sortBy)(function(Q){return Q==null?void 0:Q.name})])($)},F=function($){if(P($),$==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),$))},j=(0,y.useLocalState)(h,"showDesc",1),W=j[0],H=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function z(){return H(!W)}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function z(){return g("buyRandom")}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function z(){return g("refund")}return z}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function z($,G){F(G)}return z}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(z){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:z.items===A,onClick:function(){function $(){T(z.items),P("")}return $}(),children:z.cat},z)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(z){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:z,showDecription:W},(0,o.decodeHtmlEntities)(z.name))},(0,o.decodeHtmlEntities)(z.name))})})})})]})]})},f=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return g("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return g("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,l,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return g("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:w})},A)})})})})},d=function(N,h){var C=N.i,g=N.showDecription,x=g===void 0?1:g,B=N.buttons,L=B===void 0?(0,e.createComponentVNode)(2,m,{i:C}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(C.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(C.desc)}):null})},m=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=N.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return g("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return g("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},l=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=N.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return g("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return g("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return g("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return g("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(N,h){var C=(0,y.useBackend)(h),g=C.act,x=C.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,W){W===void 0&&(W="");var H=(0,o.createSearch)(W,function(z){return z.name});return(0,t.flow)([(0,a.filter)(function(z){return z==null?void 0:z.name}),W&&(0,a.filter)(H),(0,a.sortBy)(function(z){return z.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,W){return O(W)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,N){var h,C,g,x,B=(0,y.useBackend)(N),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(C=L.contractor)!=null&&C.affordable),O=!!(L!=null&&(g=L.contractor)!=null&&g.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",F?"":(0,e.createComponentVNode)(2,V.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A,format:function(){function j(W,H){return" ("+H+")"}return j}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function j(){return(0,S.modalAnswer)(N,b.id,1)}return j}()})]})})},8946:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VampireSpecMenu=function(){function i(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return i}(),y=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return d("hemomancer")}return v}()})]})})},V=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return d("umbrae")}return v}()})]})})},k=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return d("gargantua")}return v}()})]})})},S=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return d("dantalion")}return v}()})]})})},p=function(c,f){var u=(0,a.useBackend)(f),d=u.act,m=u.data,l=m.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return d("bestia")}return v}()})]})})}},45770:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,N){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,l)]})})})}return v}(),V=function(b,N){var h=(0,a.useBackend)(N),C=h.act,g=h.data,x=g.hearts,B=g.lungs,L=g.livers,w=g.kidneys,A=g.eyes,T=g.ears,E=g.trophies_max_gen,O=g.trophies_max_crit,P=g.icon_hearts,R=g.icon_lungs,F=g.icon_livers,j=g.icon_kidneys,W=g.icon_eyes,H=g.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+m,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=u.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return c("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,f=i.data,u=f.user,d=f.guestNotice,m=f.userMoney,l=f.chargesMoney,v=f.product_records,b=v===void 0?[]:v,N=f.coin_records,h=N===void 0?[]:N,C=f.hidden_records,g=C===void 0?[]:C,x=f.stock,B=f.vend_ready,L=f.coin_name,w=f.inserted_item_name,A=f.panel_open,T=f.speaker,E=f.imagelist,O;return O=[].concat(b,h),f.extended_inventory&&(O=[].concat(O,g)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,s.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!l&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[m,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:d})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"Coin",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Remove Coin",onClick:function(){function P(){return c("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(0,e.createComponentVNode)(2,o.Section,{title:"Item",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject Item",onClick:function(){function P(){return c("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"Speaker",textAlign:"left",onClick:function(){function P(){return c("toggle_voice",{})}return P}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},68971:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VolumeMixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.num,volume:0})}return d}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function d(m,l){return p("volume",{channel:f.num,volume:l})}return d}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:f.num,volume:100})}return d}()})})})]})})],4,f.num)})})})})}return y}()},2510:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VotePanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.remaining,f=i.question,u=i.choices,d=i.user_vote,m=i.counts,l=i.show_counts,v=i.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(l?" ("+(m[b]||0)+")":""),onClick:function(){function N(){return p("vote",{target:b})}return N}(),selected:b===d})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},30138:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Wires=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.wires||[],f=i.status||[],u=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:d.color_name,labelColor:d.seen_color,color:d.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d.cut?"Mend":"Cut",onClick:function(){function m(){return p("cut",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function m(){return p("pulse",{wire:d.color})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function m(){return p("attach",{wire:d.color})}return m}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return y}()},30995:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(73379),y=n(98595),V=["title","items"];function k(u,d){if(u==null)return{};var m={};for(var l in u)if({}.hasOwnProperty.call(u,l)){if(d.includes(l))continue;m[l]=u[l]}return m}var S=function(d,m,l){return d.requirements===null?!0:!(d.requirements.brass>m||d.requirements.power>l)},p=r.Workshop=function(){function u(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.brass_amount,h=b.power_amount,C=b.building,g=b.buildStart,x=b.buildEnd,B=b.worldTime,L=N.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),C&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:g,current:B,end:x,bold:!0,children:["Building ",C,"\xA0(",(0,e.createComponentVNode)(2,s.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.substr(3)}return E}()}),")"]})]})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,c)})})]})})})}return u}(),i=function(d,m){var l=(0,t.useLocalState)(m,"search",""),v=l[0],b=l[1],N=(0,t.useLocalState)(m,"sort",""),h=N[0],C=N[1],g=(0,t.useLocalState)(m,"descending",!1),x=g[0],B=g[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},c=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=b.items,h=(0,t.useLocalState)(m,"search",""),C=h[0],g=h[1],x=(0,t.useLocalState)(m,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(m,"descending",!1),A=w[0],T=w[1],E=(0,a.createSearch)(C,function(R){return R[0]}),O=!1,P=Object.entries(N).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(W){return W[1].affordable=S(W[1],b.brass_amount,b.power_amount),W[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,f,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},f=function(d,m){var l=(0,t.useBackend)(m),v=l.act,b=l.data,N=d.title,h=d.items,C=k(d,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:N},C,{children:h.map(function(g){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+g.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(g,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:N,name:g.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(g.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:g.requirements&&Object.keys(g.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+g.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},g.name)})})))}},49148:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function s(p,i){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=y(p))||i&&p&&typeof p.length=="number"){c&&(p=c);var f=0;return function(){return f>=p.length?{done:!0}:{done:!1,value:p[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,i){if(p){if(typeof p=="string")return V(p,i);var c={}.toString.call(p).slice(8,-1);return c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set"?Array.from(p):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?V(p,i):void 0}}function V(p,i){(i==null||i>p.length)&&(i=p.length);for(var c=0,f=Array(i);c0&&!g.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function W(){return x(j.ref)}return W}()},j.desc)})]})]})})}return p}()},26991:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),s=function(k,S,p,i,c){return ki?"average":k>c?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(p).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:s(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return V}()},85870:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(V){return V+" unit"+(V===1?"":"s")},s=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,i=V.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(c,f)})]},c.name)})]})}return y}();s.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},3939:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},s=r.modalOpen=function(){function p(i,c,f){var u=(0,a.useBackend)(i),d=u.act,m=u.data,l=Object.assign(m.modal?m.modal.args:{},f||{});d("modal_open",{id:c,arguments:JSON.stringify(l)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(i,c){o[i]=c}return p}(),V=r.modalAnswer=function(){function p(i,c,f,u){var d=(0,a.useBackend)(i),m=d.act,l=d.data;if(l.modal){var v=Object.assign(l.modal.args||{},u||{});m("modal_answer",{id:c,answer:f,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(i,c){var f=(0,a.useBackend)(i),u=f.act;u("modal_close",{id:c})}return p}(),S=r.ComplexModal=function(){function p(i,c){var f=(0,a.useBackend)(c),u=f.data;if(u.modal){var d=u.modal,m=d.id,l=d.text,v=d.type,b,N=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(c)}return L}()}),h,C,g="auto";if(o[m])h=o[m](u.modal,c);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(c,m,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){x=A}return L}()}),C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return k(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(c,m,w)}return L}()}),g="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(c,m,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(c,m,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,m,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:g,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[m]&&N,h,C]})}}return p}()},41874:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),s=n(76910),y=s.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(f){return V.indexOf(f)!==-1?"green":"orange"},S=function(f){if(V.indexOf(f)!==-1)return!0},p=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},i=r.CrewManifest=function(){function c(f,u){var d=(0,a.useBackend)(u),m=d.act,l;if(f.data)l=f.data;else{var v=(0,a.useBackend)(u),b=v.data;l=b}var N=l,h=N.manifest,C=h.heads,g=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(C)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:p(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(E)})]})}return c}()},19203:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function s(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,i=p.large_buttons,c=p.swapped_buttons,f=y.input,u=y.message,d=y.disabled,m=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("submit",{entry:f})}return v}(),textAlign:"center",tooltip:i&&u,disabled:d,width:!i&&6}),l=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),!i&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:m}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:m})]})}return s}()},195:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=y.siliconUser,c=i===void 0?p.siliconUser:i,f=y.locked,u=f===void 0?p.locked:f,d=y.normallyLocked,m=d===void 0?p.normallyLocked:d,l=y.onLockStatusChange,v=l===void 0?function(){return S("lock")}:l,b=y.accessText,N=b===void 0?"an ID card":b;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",N," to ",u?"unlock":"lock"," this interface."]})}return s}()},51057:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function s(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(V)*100+"%"}}),2)}return s}()},321:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return S("login_logout")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function c(){return S("login_eject")}return c}()})]})]})})}return s}()},5485:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState,c=p.isAI,f=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function d(){return S("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function d(){return S("login_login",{login_type:1})}return d}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function d(){return S("login_login",{login_type:2})}return d}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function d(){return S("login_login",{login_type:3})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function d(){return S("login_login",{login_type:4})}return d}()})]})})})}return s}()},62411:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function s(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return s}();o.propTypes={operating:t.bool,name:t.string}},13545:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=V.data,c=i.code,f=i.frequency,u=i.minFrequency,d=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:d/10,value:f/10,format:function(){function m(l){return(0,a.toFixed)(l,1)}return m}(),width:"80px",onDrag:function(){function m(l,v){return p("freq",{freq:v})}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function m(l,v){return p("code",{code:v})}return m}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function m(){return p("signal")}return m}()})]})}return y}()},41984:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),s=n(88510),y=n(36036),V=r.SimpleRecords=function(){function p(i,c){var f=i.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:f?(0,e.createComponentVNode)(2,S,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,k,{data:i.data})})}return p}(),k=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=i.data.recordsList,m=(0,a.useLocalState)(c,"searchText",""),l=m[0],v=m[1],b=function(C,g){g===void 0&&(g="");var x=(0,t.createSearch)(g,function(B){return B.Name});return(0,o.flow)([(0,s.filter)(function(B){return B==null?void 0:B.Name}),g&&(0,s.filter)(x),(0,s.sortBy)(function(B){return B.Name})])(d)},N=b(d,l);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(C,g){return v(g)}return h}()}),N.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function C(){return u("Records",{target:h.uid})}return C}()})},h)})]})},S=function(i,c){var f=(0,a.useBackend)(c),u=f.act,d=i.data.records,m=d.general,l=d.medical,v=d.security,b;switch(i.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:m?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:m.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:m.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:m.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:m.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:m.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:m.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:m.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:m.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},22091:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function s(y,V){var k,S=(0,a.useBackend)(V),p=S.act,i=S.data,c=i.temp;if(c){var f=(k={},k[c.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:c.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return s}()},25443:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20342),s=n(98595),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return i}return h}()},{title:"ProgressBar",component:function(){function h(){return c}return h}()},{title:"Tabs",component:function(){function h(){return f}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return d}return h}()},{title:"Collapsible",component:function(){function h(){return m}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return N}return h}()}],S=r.KitchenSink=function(){function h(C,g){var x=(0,a.useLocalState)(g,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(g,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,s.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[V.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{color:g,content:g},g)}),(0,e.createVNode)(1,"br"),y.map(function(g){return(0,e.createComponentVNode)(2,t.Button,{color:g,content:g},g)}),(0,e.createVNode)(1,"br"),y.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:g,children:g},g)})]})]})},i=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},c=function(C,g){var x=(0,a.useLocalState)(g,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},f=function(C,g){var x=(0,a.useLocalState)(g,"tabIndex",0),B=x[0],L=x[1],w=(0,a.useLocalState)(g,"tabVert"),A=w[0],T=w[1],E=(0,a.useLocalState)(g,"tabAlt"),O=E[0],P=E[1],R=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function W(){return L(j)}return W}(),children:["Tab #",F]},j)})})]})},u=function(C){var g=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:g.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},d=function(C,g){var x=(0,a.useLocalState)(g,"number",0),B=x[0],L=x[1],w=(0,a.useLocalState)(g,"text","Sample text"),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onChange:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onChange:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},m=function(C){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,l)})})},l=function(C){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},C,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},v=function(C){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,l)})},b=function(C,g){var x=(0,a.useBackend)(g),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},N=function(C,g){var x=(0,a.useLocalState)(g,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:B,onInput:function(){function w(A,T){return L(T)}return w}()})})})})}},96572:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},80818:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return s}()},23903:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.holder,f=i.dead,u=i.health,d=i.brute,m=i.oxy,l=i.tox,v=i.burn,b=i.reagents,N=i.addictions,h=i.fractures,C=i.internal_bleeding;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:m})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:b?b.map(function(g){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:g.title,children:(0,e.createComponentVNode)(2,t.Box,{color:g.overdosed?"bad":"good",children:[" ",g.volume," ",g.overdosed?"OVERDOSED":""," "]})},g.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:N?N.map(function(g){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:g.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",g.stage," "]})},g.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:["Fractures ",h?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:["Internal Bleedings ",C?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},79592:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},64988:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.master,f=i.dna,u=i.prime,d=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function m(){return S("getdna")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:d||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return s}()},13813:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.cable,f=i.machine,u=i.inprogress,d=i.progress,m=i.aborted,l;f?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return f&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),v]})}return s}()},43816:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.radio_name,f=i.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[c,", ",f]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newname",{newname:m})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,m){return S("set_newrank",{newrank:m})}return u}()})})]})})}return s}()},88895:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},66025:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.available_software,f=i.installed_software,u=i.installed_toggles,d=i.available_ram,m=i.emotions,l=i.current_emotion,v=[];return f.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>d,onClick:function(){function N(){return S("purchaseSoftware",{key:b.key})}return N}()},b.key)}),c.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function N(){return S("startSoftware",{software_key:b.key})}return N}()},b.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function N(){return S("setToggle",{toggle_key:b.key})}return N}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:m.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===l,onClick:function(){function N(){return S("setEmotion",{emotion:b.id})}return N}()},b.id)})})]})})}return s}()},2983:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return s}()},40758:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return s}()},98599:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return s}()},50775:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),s=r.pai_radio=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.app_data,f=c.minFrequency,u=c.maxFrequency,d=c.frequency,m=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:d/10,format:function(){function l(v){return(0,t.toFixed)(v,1)}return l}(),onChange:function(){function l(v,b){return p("freq",{freq:b})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return p("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return p("toggleBroadcast")}return l}(),selected:m,content:m?"Enabled":"Disabled"})})]})}return y}()},19873:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.holder,f=i.dead,u=i.health,d=i.current_chemicals,m=i.available_chemicals;return c?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[m.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.name+" ("+l.cost+")",tooltip:l.desc,disabled:l.cost>d,onClick:function(){function v(){return S("secreteChemicals",{key:l.key})}return v}()},l.key)}),m.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},48623:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return s}()},47297:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return s}()},78532:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return s}()},40253:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.janitor,c=i.user_loc,f=i.mops,u=i.buckets,d=i.cleanbots,m=i.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})})]})}return s}()},58293:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=S.data,c=i.owner,f=i.ownjob,u=i.idInserted,d=i.categories,m=i.pai,l=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:d.map(function(v){var b=i.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(N){return(0,e.createComponentVNode)(2,o.Button,{icon:N.uid in l?N.notify_icon:N.icon,iconSpin:N.uid in l,color:N.uid in l?"red":"transparent",content:N.name,onClick:function(){function h(){return p("StartProgram",{program:N.uid})}return h}()},N.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!m&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},58059:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return s}()},18147:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return s}()},77595:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),s=r.pda_messenger=function(){function S(p,i){var c=(0,t.useBackend)(i),f=c.act,u=c.data,d=u.active_convo;return d?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,i){var c=(0,t.useBackend)(i),f=c.act,u=p.data,d=u.convo_device,m=u.messages,l=u.active_convo,v=(0,t.useLocalState)(i,"clipboardMode",!1),b=v[0],N=v[1],h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return N(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:l})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===l})(m).map(function(C,g){return(0,e.createComponentVNode)(2,o.Box,{textAlign:C.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:C.sent?"#4d9121":"#cd7a0d",position:"absolute",left:C.sent?null:"0px",right:C.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:C.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:C.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:C.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[C.sent?"You:":"Them:"," ",C.message]})]},g)})});return b&&(h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return N(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return f("Message",{target:l})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===l})(m).map(function(C,g){return(0,e.createComponentVNode)(2,o.Box,{color:C.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[C.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:C.message})]},g)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function C(){return f("Clear",{option:"Convo"})}return C}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,i){var c=(0,t.useBackend)(i),f=c.act,u=p.data,d=u.convopdas,m=u.pdas,l=u.charges,v=u.silent,b=u.toff,N=(0,t.useLocalState)(i,"searchTerm",""),h=N[0],C=N[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function g(){return f("Toggle Ringer")}return g}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function g(){return f("Toggle Messenger")}return g}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function g(){return f("Ringtone")}return g}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function g(){return f("Clear",{option:"All"})}return g}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[l," charges left."]})})}),!d.length&&!m.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:h,onInput:function(){function g(x,B){C(B)}return g}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,k,{title:"Current Conversations",data:u,pdas:d,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:m,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,i){var c=(0,t.useBackend)(i),f=c.act,u=p.data,d=p.pdas,m=p.title,l=p.msgAct,v=p.searchTerm,b=u.charges,N=u.plugins;return!d||!d.length?(0,e.createComponentVNode)(2,o.Section,{title:m,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:m,children:d.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function C(){return f(l,{target:h.uid})}return C}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&N.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.icon,content:C.name,onClick:function(){function g(){return f("Messenger Plugin",{plugin:C.uid,target:h.uid})}return g}()},C.uid)})})]},h.uid)})})}},24635:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.mulebot,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:d.uid})}return m}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return i("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.mulebot,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v=u.load,b=u.powr,N=u.dest,h=u.home,C=u.retn,g=u.pick,x;switch(m){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=m;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:N?N+" (Set)":"None (Set)",onClick:function(){function B(){return i("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return i("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Yes":"No",selected:g,onClick:function(){function B(){return i("SetAutoPickup",{autoPickupType:g?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"Yes":"No",selected:C,onClick:function(){function B(){return i("SetAutoReturn",{autoReturnType:C?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return i("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return i("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return i("ReturnHome")}return B}()})]})]})]})}},97085:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:i}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return S("Edit")}return c}(),content:"Edit"})]})}return s}()},57513:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return s}()},99808:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.beepsky,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.beepsky,u=f.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function m(){return i("AccessBot",{uid:d.uid})}return m}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return i("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,f=c.beepsky,u=f.botstatus,d=f.active,m=u.mode,l=u.loca,v;switch(m){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[m===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return i("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return i("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return i("Summon")}return b}()})]})]})]})}},77168:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return s}()},21773:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return s}()},81857:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return S("Status",{statdisp:"blank"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return S("Status",{statdisp:"shuttle"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return S("Status",{statdisp:"message"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg1"})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg2"})}return c}()})})]})})}return s}()},70287:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.supply,c=i.shuttle_loc,f=i.shuttle_time,u=i.shuttle_moving,d=i.approved,m=i.approved_count,l=i.requests,v=i.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",f]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&l.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:m>0&&d.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return s}()},17617:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),s=["className","theme","children"],y=["className","scrollable","children"];/** + */var y=r.RequestManager=function(){function p(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.requests,l=(0,t.useLocalState)(c,"filteredTypes",Object.fromEntries(Object.entries(V).map(function(B){var L=B[0],w=B[1];return[L,!0]}))),v=l[0],b=l[1],g=(0,t.useLocalState)(c,"searchText"),h=g[0],C=g[1],N=f.filter(function(B){return v[B.req_type]});if(h){var x=h.toLowerCase();N=N.filter(function(B){return(0,a.decodeHtmlEntities)(B.message).toLowerCase().includes(x)||B.owner_name.toLowerCase().includes(x)})}return(0,e.createComponentVNode)(2,s.Window,{title:"Request Manager",width:575,height:600,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Requests",buttons:(0,e.createComponentVNode)(2,o.Input,{value:h,onInput:function(){function B(L,w){return C(w)}return B}(),placeholder:"Search...",mr:1}),children:N.map(function(B){return(0,e.createVNode)(1,"div","RequestManager__row",[(0,e.createVNode)(1,"div","RequestManager__rowContents",[(0,e.createVNode)(1,"h2","RequestManager__header",[(0,e.createVNode)(1,"span","RequestManager__headerText",[B.owner_name,B.owner===null&&" [DC]"],0),(0,e.createVNode)(1,"span","RequestManager__timestamp",B.timestamp_str,0)],4),(0,e.createVNode)(1,"div","RequestManager__message",[(0,e.createComponentVNode)(2,k,{requestType:B.req_type}),(0,a.decodeHtmlEntities)(B.message)],0)],4),B.owner!==null&&(0,e.createComponentVNode)(2,S,{request:B})],0,null,B.id)})})})})}return p}(),V={request_prayer:"PRAYER",request_centcom:"CENTCOM",request_syndicate:"SYNDICATE",request_honk:"HONK",request_ert:"ERT",request_nuke:"NUKE CODE"},k=function(i){var c=i.requestType;return(0,e.createVNode)(1,"b","RequestManager__"+c,[V[c],(0,e.createTextVNode)(":")],0)},S=function(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m._,f=i.request;return(0,e.createVNode)(1,"div","RequestManager__controlsContainer",[(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("pp",{id:f.id})}return l}(),children:"PP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("vv",{id:f.id})}return l}(),children:"VV"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("sm",{id:f.id})}return l}(),children:"SM"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("tp",{id:f.id})}return l}(),children:"TP"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("logs",{id:f.id})}return l}(),children:"LOGS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("bless",{id:f.id})}return l}(),children:"BLESS"}),(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("smite",{id:f.id})}return l}(),children:"SMITE"}),f.req_type!=="request_prayer"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("rply",{id:f.id})}return l}(),children:"RPLY"}),f.req_type==="request_ert"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("ertreply",{id:f.id})}return l}(),children:"ERTREPLY"}),f.req_type==="request_nuke"&&(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return u("getcode",{id:f.id})}return l}(),children:"GETCODE"})],0)}},16475:function(I,r,n){"use strict";r.__esModule=!0,r.SUBMENU=r.RndConsole=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),s=n(13472),y=r.MENU={MAIN:0,LEVELS:1,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},V=r.SUBMENU={MAIN:0,DISK_COPY:1,LATHE_CATEGORY:1,LATHE_MAT_STORAGE:2,LATHE_CHEM_STORAGE:3,SETTINGS_DEVICES:1},k=r.RndConsole=function(){function S(p,i){var c=(0,a.useBackend)(i),m=c.data,u=m.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,theme:m.ui_theme,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,s.RndNavbar),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.MAIN,render:function(){function d(){return(0,e.createComponentVNode)(2,s.MainMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.LEVELS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.CurrentLevels)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DISK,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DataDiskMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.DESTROY,render:function(){function d(){return(0,e.createComponentVNode)(2,s.DeconstructionMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:function(){function d(f){return f===y.LATHE||f===y.IMPRINTER}return d}(),render:function(){function d(){return(0,e.createComponentVNode)(2,s.LatheMenu)}return d}()}),(0,e.createComponentVNode)(2,s.RndRoute,{menu:y.SETTINGS,render:function(){function d(){return(0,e.createComponentVNode)(2,s.SettingsMenu)}return d}()}),u?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:u})})}):null]})})})}return S}()},93098:function(I,r,n){"use strict";r.__esModule=!0,r.CurrentLevels=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.CurrentLevels=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.tech_levels;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),p.map(function(i,c){var m=i.name,u=i.level,d=i.desc;return(0,e.createComponentVNode)(2,t.Box,{children:[c>0?(0,e.createComponentVNode)(2,t.Divider):null,(0,e.createComponentVNode)(2,t.Box,{children:m}),(0,e.createComponentVNode)(2,t.Box,{children:["* Level: ",u]}),(0,e.createComponentVNode)(2,t.Box,{children:["* Summary: ",d]})]},m)})]})}return s}()},19192:function(I,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y="design",V="tech",k=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=v.act,h=b.disk_data;return h?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:h.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function C(){return g("updt_tech")}return C}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function C(){return g("clear_tech")}return C}()}),(0,e.createComponentVNode)(2,i)]})]}):null},S=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=v.act,h=b.disk_data;if(!h)return null;var C=h.name,N=h.lathe_types,x=h.materials,B=N.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:C}),B?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:B}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),x.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,L.name,0,{style:{"text-transform":"capitalize"}})," x ",L.amount]},L.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function L(){return g("updt_design")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Disk",icon:"trash",onClick:function(){function L(){return g("clear_design")}return L}()}),(0,e.createComponentVNode)(2,i)]})]})},p=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.disk_type;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"This disk is empty."}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{submenu:s.SUBMENU.DISK_COPY,icon:"arrow-down",content:g===V?"Load Tech to Disk":"Load Design to Disk"}),(0,e.createComponentVNode)(2,i)]})]})},i=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=v.act,h=b.disk_type;return h?(0,e.createComponentVNode)(2,t.Button,{content:"Eject Disk",icon:"eject",onClick:function(){function C(){var N=h===V?"eject_tech":"eject_design";g(N)}return C}()}):null},c=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.disk_data,h=b.disk_type,C=function(){if(!g)return(0,e.createComponentVNode)(2,p);switch(h){case y:return(0,e.createComponentVNode)(2,S);case V:return(0,e.createComponentVNode)(2,k);default:return null}};return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk Contents",children:C()})},m=function(f,l){var v=(0,a.useBackend)(l),b=v.data,g=v.act,h=b.disk_type,C=b.to_copy;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:C.sort(function(N,x){return N.name.localeCompare(x.name)}).map(function(N){var x=N.name,B=N.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:x,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function L(){h===V?g("copy_tech",{id:B}):g("copy_design",{id:B})}return L}()})},B)})})})})},u=r.DataDiskMenu=function(){function d(f,l){var v=(0,a.useBackend)(l),b=v.data,g=b.disk_type;return g?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function h(){return(0,e.createComponentVNode)(2,c)}return h}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.DISK_COPY,render:function(){function h(){return(0,e.createComponentVNode)(2,m)}return h}()})],4):null}return d}()},20887:function(I,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.DeconstructionMenu=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_item,c=S.linked_destroy;return c?i?(0,e.createComponentVNode)(2,t.Section,{noTopPadding:!0,title:"Deconstruction Menu",children:[(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:["Name: ",i.name]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Origin Tech:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.origin_tech.map(function(m){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+m.name,children:[m.object_level," ",m.current_level?(0,e.createFragment)([(0,e.createTextVNode)("(Current: "),m.current_level,(0,e.createTextVNode)(")")],0):null]},m.name)})}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createVNode)(1,"h3",null,"Options:",16)}),(0,e.createComponentVNode)(2,t.Button,{content:"Deconstruct Item",icon:"unlink",onClick:function(){function m(){p("deconstruct")}return m}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Item",icon:"eject",onClick:function(){function m(){p("eject_item")}return m}()})]}):(0,e.createComponentVNode)(2,t.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,t.Box,{children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return s}()},10666:function(I,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=r.LatheCategory=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,c=p.category,m=p.matching_designs,u=p.menu,d=u===4,f=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(l){var v=l.id,b=l.name,g=l.can_build,h=l.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:b,disabled:g<1,onClick:function(){function C(){return i(f,{id:v,amount:1})}return C}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function C(){return i(f,{id:v,amount:5})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:g>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function C(){return i(f,{id:v,amount:10})}return C}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.map(function(C){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",C.is_red?"color-red":null,[C.amount,(0,e.createTextVNode)(" "),C.name],0)],0)})})]},v)})})]})}return y}()},52285:function(I,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_chemicals,c=S.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var u=c?"disposeallP":"disposeallI";p(u)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:i.map(function(m){var u=m.volume,d=m.name,f=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function l(){var v=c?"disposeP":"disposeI";p(v,{id:f})}return l}()})},f)})})]})}return s}()},71964:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=r.LatheMainMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.data,i=S.act,c=p.menu,m=p.categories,u=c===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,o.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:d,onClick:function(){function f(){i("setCategory",{category:d})}return f}()})},d)})})]})}return y}()},17906:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=k.act,i=S.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:i.map(function(c){var m=c.id,u=c.amount,d=c.name,f=function(){function g(h){var C=S.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";p(C,{id:m,amount:h})}return g}(),l=Math.floor(u/2e3),v=u<1,b=l===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:v?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",l," sheet",b,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function g(){return f(1)}return g}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function g(){return f("custom")}return g}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function g(){return f(5)}return g}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function g(){return f(50)}return g}()})],0):null})]},m)})})})}return s}()},83706:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data,p=S.total_materials,i=S.max_materials,c=S.max_chemicals,m=S.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p}),i?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+i}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return s}()},76749:function(I,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(12059),o=n(13472),s=n(36036),y=n(16475),V=r.LatheMenu=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.data,m=c.menu,u=c.linked_lathe,d=c.linked_imprinter;return m===4&&!u?(0,e.createComponentVNode)(2,s.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):m===5&&!d?(0,e.createComponentVNode)(2,s.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,s.Box,{children:[(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.MAIN,render:function(){function f(){return(0,e.createComponentVNode)(2,o.LatheMainMenu)}return f}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CATEGORY,render:function(){function f(){return(0,e.createComponentVNode)(2,o.LatheCategory)}return f}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_MAT_STORAGE,render:function(){function f(){return(0,e.createComponentVNode)(2,o.LatheMaterialStorage)}return f}()}),(0,e.createComponentVNode)(2,t.RndRoute,{submenu:y.SUBMENU.LATHE_CHEM_STORAGE,render:function(){function f(){return(0,e.createComponentVNode)(2,o.LatheChemicalStorage)}return f}()})]})}return k}()},74698:function(I,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function p(i,c){return S("search",{to_search:c})}return p}()})})}return s}()},17180:function(I,r,n){"use strict";r.__esModule=!0,r.MainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y=r.MainMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.disk_type,m=i.linked_destroy,u=i.linked_lathe,d=i.linked_imprinter,f=i.tech_levels;return(0,e.createComponentVNode)(2,t.Section,{title:"Main Menu",children:[(0,e.createComponentVNode)(2,t.Flex,{className:"RndConsole__MainMenu__Buttons",direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!c,menu:s.MENU.DISK,submenu:s.SUBMENU.MAIN,icon:"save",content:"Disk Operations"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,menu:s.MENU.DESTROY,submenu:s.SUBMENU.MAIN,icon:"unlink",content:"Destructive Analyzer Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!u,menu:s.MENU.LATHE,submenu:s.SUBMENU.MAIN,icon:"print",content:"Protolathe Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!d,menu:s.MENU.IMPRINTER,submenu:s.SUBMENU.MAIN,icon:"print",content:"Circuit Imprinter Menu"}),(0,e.createComponentVNode)(2,o.RndNavButton,{menu:s.MENU.SETTINGS,submenu:s.SUBMENU.MAIN,icon:"cog",content:"Settings"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"12px"}),(0,e.createVNode)(1,"h3",null,"Current Research Levels:",16),(0,e.createComponentVNode)(2,t.LabeledList,{children:f.map(function(l){var v=l.name,b=l.level;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:v,children:b},v)})})]})}return V}()},63459:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavButton=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.RndNavButton=function(){function s(y,V){var k=y.icon,S=y.children,p=y.disabled,i=y.content,c=(0,a.useBackend)(V),m=c.data,u=c.act,d=m.menu,f=m.submenu,l=d,v=f;return y.menu!==null&&y.menu!==void 0&&(l=y.menu),y.submenu!==null&&y.submenu!==void 0&&(v=y.submenu),(0,e.createComponentVNode)(2,t.Button,{content:i,icon:k,disabled:p,onClick:function(){function b(){u("nav",{menu:l,submenu:v})}return b}(),children:S})}return s}()},94942:function(I,r,n){"use strict";r.__esModule=!0,r.RndNavbar=void 0;var e=n(89005),a=n(13472),t=n(36036),o=n(16475),s=r.RndNavbar=function(){function y(){return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__RndNavbar",children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k!==o.MENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,a.RndNavButton,{menu:o.MENU.MAIN,submenu:o.SUBMENU.MAIN,icon:"reply",content:"Main Menu"})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{submenu:function(){function V(k){return k!==o.SUBMENU.MAIN}return V}(),render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.DISK,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Disk Operations Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.LATHE,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Protolathe Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.IMPRINTER,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Circuit Imprinter Menu"})}return k}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:o.MENU.SETTINGS,render:function(){function k(){return(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.MAIN,icon:"reply",content:"Settings Menu"})}return k}()})]})}return V}()}),(0,e.createComponentVNode)(2,a.RndRoute,{menu:function(){function V(k){return k===o.MENU.LATHE||k===o.MENU.IMPRINTER}return V}(),submenu:o.SUBMENU.MAIN,render:function(){function V(){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_MAT_STORAGE,icon:"arrow-up",content:"Material Storage"}),(0,e.createComponentVNode)(2,a.RndNavButton,{submenu:o.SUBMENU.LATHE_CHEM_STORAGE,icon:"arrow-up",content:"Chemical Storage"})]})}return V}()})]})}return y}()},12059:function(I,r,n){"use strict";r.__esModule=!0,r.RndRoute=void 0;var e=n(72253),a=r.RndRoute=function(){function t(o,s){var y=o.render,V=(0,e.useBackend)(s),k=V.data,S=k.menu,p=k.submenu,i=function(){function m(u,d){return u==null?!0:typeof u=="function"?u(d):u===d}return m}(),c=i(o.menu,S)&&i(o.submenu,p);return c?y():null}return t}()},52580:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(13472),s=n(16475),y=r.SettingsMenu=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=p.act,m=i.sync,u=i.admin,d=i.linked_destroy,f=i.linked_lathe,l=i.linked_imprinter;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.MAIN,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Sync Database with Network",icon:"sync",disabled:!m,onClick:function(){function b(){c("sync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Connect to Research Network",icon:"plug",disabled:m,onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!m,icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function b(){c("togglesync")}return b}()}),(0,e.createComponentVNode)(2,o.RndNavButton,{disabled:!m,content:"Device Linkage Menu",icon:"link",menu:s.MENU.SETTINGS,submenu:s.SUBMENU.SETTINGS_DEVICES}),u===1?(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation",content:"[ADMIN] Maximize Research Levels",onClick:function(){function b(){return c("maxresearch")}return b}()}):null]})})}return v}()}),(0,e.createComponentVNode)(2,o.RndRoute,{submenu:s.SUBMENU.SETTINGS_DEVICES,render:function(){function v(){return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage Menu",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function b(){return c("find_device")}return b}()}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",children:(0,e.createVNode)(1,"h3",null,"Linked Devices:",16)}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[d?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"destroy"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Destructive Analyzer Linked"}),f?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){c("disconnect",{item:"lathe"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Protolathe Linked"}),l?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",content:"Unlink",onClick:function(){function b(){return c("disconnect",{item:"imprinter"})}return b}()})}):(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:"* No Circuit Imprinter Linked"})]})]})}return v}()})]})}return V}()},13472:function(I,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=r.RndRoute=r.RndNavbar=r.RndNavButton=r.MainMenu=r.LatheSearch=r.LatheMenu=r.LatheMaterials=r.LatheMaterialStorage=r.LatheMainMenu=r.LatheChemicalStorage=r.LatheCategory=r.DeconstructionMenu=r.DataDiskMenu=r.CurrentLevels=void 0;var e=n(93098);r.CurrentLevels=e.CurrentLevels;var a=n(19192);r.DataDiskMenu=a.DataDiskMenu;var t=n(20887);r.DeconstructionMenu=t.DeconstructionMenu;var o=n(10666);r.LatheCategory=o.LatheCategory;var s=n(52285);r.LatheChemicalStorage=s.LatheChemicalStorage;var y=n(71964);r.LatheMainMenu=y.LatheMainMenu;var V=n(83706);r.LatheMaterials=V.LatheMaterials;var k=n(17906);r.LatheMaterialStorage=k.LatheMaterialStorage;var S=n(76749);r.LatheMenu=S.LatheMenu;var p=n(74698);r.LatheSearch=p.LatheSearch;var i=n(17180);r.MainMenu=i.MainMenu;var c=n(94942);r.RndNavbar=c.RndNavbar;var m=n(63459);r.RndNavButton=m.RndNavButton;var u=n(12059);r.RndRoute=u.RndRoute;var d=n(52580);r.SettingsMenu=d.SettingsMenu},40026:function(I,r,n){"use strict";r.__esModule=!0,r.RoboQuest=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(98595),y=r.RoboQuest=function(){function V(k,S){var p=(0,t.useBackend)(S),i=p.act,c=p.data,m=c.hasID,u=c.name,d=c.questInfo,f=c.hasTask,l=c.canCheck,v=c.canSend,b=c.checkMessage,g=c.style,h=c.cooldown,C=c.shopItems,N=c.points,x=c.cats,B=(0,t.useLocalState)(S,"shopState",!1),L=B[0],w=B[1],A={medical:"blue",working:"brown",security:"red",working_medical:"olive",medical_security:"violet",working_medical_security:"grey"};return(0,e.createComponentVNode)(2,s.Window,{theme:g,width:1e3,height:540,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:40,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Mecha",buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Check Mech",icon:"search",disabled:!m||!f||!l||h,onClick:function(){function T(){return i("Check")}return T}()}),children:[(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:60,textAlign:"center",align:"center",children:!!f&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest_large128x128",d.icon]))}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Divider,{vertical:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:42,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!f&&d.modules.map(function(T){return T.id<4&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!f&&d.modules.map(function(T){return T.id>3&&(0,e.createVNode)(1,"img",(0,a.classes)(["roboquest64x64",T.icon]),null,1,null,T.id)})})]})})]}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Divider),(0,e.createVNode)(1,"b",null,b,0)],4),!!h&&(0,e.createFragment)([(0,e.createVNode)(1,"b",null,"\u0417\u0430 \u043E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0437\u0430\u043A\u0430\u0437\u0430, \u0432\u044B \u0431\u044B\u043B\u0438 \u043E\u0442\u0441\u0442\u0440\u0430\u043D\u0435\u043D\u044B \u043E\u0442 \u0440\u0430\u0431\u043E\u0442\u044B \u043D\u0430 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,h,0)],4)]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:(0,e.createComponentVNode)(2,o.Box,{children:["Corps bounties",(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",(0,e.createVNode)(1,"b",null,N.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,N.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,N.security,0,{style:{color:"red"}})]})]}),children:Object.keys(C).map(function(T){return(0,e.createFragment)(!(C[T]===void 0||C[T].length===0||T==="robo")&&C[T].map(function(E){return(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:A[T],image:E.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[E.name," ",(0,e.createVNode)(1,"b",null,E.cost.working,0,{style:{color:"brown"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.medical,0,{style:{color:"lightblue"}}),"|",(0,e.createVNode)(1,"b",null,E.cost.security,0,{style:{color:"red"}})]}),content:E.desc,onClick:function(){function O(){return i("buyItem",{item:E.path})}return O}()},E.path)}),0,T)})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:20,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Other",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Shop",icon:"shopping-cart",onClick:function(){function T(){return w(!L)}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"cog",onClick:function(){function T(){return i("ChangeStyle")}return T}()})],4),children:!!u&&(0,e.createFragment)([(0,e.createTextVNode)("\u0417\u0434\u0440\u0430\u0441\u0442\u0432\u0443\u0439\u0442\u0435,"),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,u,0),(0,e.createVNode)(1,"br")],4)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:38,children:[!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Info",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"id-card",content:"Eject ID",disabled:!m,onClick:function(){function T(){return i("RemoveID")}return T}()}),!f&&(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",content:"Get Task",disabled:!m||h,onClick:function(){function T(){return i("GetTask")}return T}()}),!!f&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Print",icon:"print",onClick:function(){function T(){return i("printOrder")}return T}(),disabled:!f}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",content:"Remove Task",disabled:!m||h,onClick:function(){function T(){return i("RemoveTask")}return T}()})],4)],0),children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"1rem",children:[(0,e.createVNode)(1,"b",null,"Name: ",16),d.name,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,"Desc: ",16),d.desc]}),(0,e.createComponentVNode)(2,o.Section,{title:"Modules",level:2,children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",mb:"0.5rem",children:!!f&&d.modules.map(function(T){return(0,e.createFragment)([(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Module "),T.id],0),(0,e.createTextVNode)(": "),T.name,(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br")],0,T.id)})})}),(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Send Mech",textAlign:"center",disabled:!m||!f||!v||h,onClick:function(){function T(){return i("SendMech",{type:"send"})}return T}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-up",width:"15rem",bold:!0,content:"Pack",textAlign:"center",disabled:!m||!f||!v||h,onClick:function(){function T(){return i("SendMech",{type:"only_packing"})}return T}()})]})]}),!!L&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createTextVNode)("RoboQuest Shop"),(0,e.createComponentVNode)(2,o.Box,{children:["Points: ",N.robo]})],4),children:C.robo.map(function(T){return(!T.emagOnly||g==="syndicate")&&(0,e.createComponentVNode)(2,o.ImageButton,{asset:!0,color:"purple",image:T.icon,imageAsset:"roboquest64x64",title:(0,e.createComponentVNode)(2,o.Box,{nowrap:!0,inline:!0,children:[T.name," ",(0,e.createVNode)(1,"b",null,T.cost.robo,0,{style:{color:"purple"}})]}),content:T.desc,onClick:function(){function E(){return i("buyItem",{item:T.path})}return E}()},T.name)})})]})]})})})}return V}()},26109:function(I,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(25328),y=function(S,p){var i=S/p;return i<=.2?"good":i<=.5?"average":"bad"},V=r.RobotSelfDiagnosis=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(u,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,s.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:y(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:y(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},d)})})})}return k}()},97997:function(I,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.RoboticsControlConsole=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.can_hack,u=c.safety,d=c.show_detonate_all,f=c.cyborgs,l=f===void 0?[]:f;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Self Destruct",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function v(){return i("arm",{})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",disabled:u,content:"Destroy ALL Cyborgs",color:"bad",onClick:function(){function v(){return i("nuke",{})}return v}()})]}),(0,e.createComponentVNode)(2,y,{cyborgs:l,can_hack:m})]})})}return V}(),y=function(k,S){var p=k.cyborgs,i=k.can_hack,c=(0,a.useBackend)(S),m=c.act,u=c.data;return p.length?p.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createFragment)([!!d.hackable&&!d.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function f(){return m("hackbot",{uid:d.uid})}return f}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:d.locked_down?"unlock":"lock",color:d.locked_down?"good":"default",content:d.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function f(){return m("stopbot",{uid:d.uid})}return f}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Detonate",disabled:!u.auth,color:"bad",onClick:function(){function f(){return m("killbot",{uid:d.uid})}return f}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:d.status?"bad":d.locked_down?"average":"good",children:d.status?"Not Responding":d.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:d.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.health>50?"good":"bad",value:d.health/100})}),typeof d.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:d.charge>30?"good":"bad",value:d.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:d.cell_capacity<3e4?"average":"good",children:d.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!d.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:d.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:d.synchronization?"default":"average",children:d.synchronization||"None"})})]})},d.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(I,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(79140),t=n(72253),o=n(36036),s=n(98595),y=r.Safe=function(){function p(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.dial,l=d.open,v=d.locked,b=d.contents;return(0,e.createComponentVNode)(2,s.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,o.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),l?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,o.Box,{as:"img",className:"Safe--dial",src:(0,a.resolveAsset)("safe_dial.png"),style:{transform:"rotate(-"+3.6*f+"deg)","z-index":0}})]}),!l&&(0,e.createComponentVNode)(2,S)]})})}return p}(),V=function(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.dial,l=d.open,v=d.locked,b=function(h,C){return(0,e.createComponentVNode)(2,o.Button,{disabled:l||C&&!v,icon:"arrow-"+(C?"right":"left"),content:(C?"Right":"Left")+" "+h,iconRight:C,onClick:function(){function N(){return u(C?"turnleft":"turnright",{num:h})}return N}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,o.Button,{disabled:v,icon:l?"lock":"lock-open",content:l?"Close":"Open",mb:"0.5rem",onClick:function(){function g(){return u("open")}return g}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{position:"absolute",children:[b(50),b(10),b(1)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[b(1,!0),b(10,!0),b(50,!0)]}),(0,e.createComponentVNode)(2,o.Box,{className:"Safe--dialer--number",children:f})]})},k=function(i,c){var m=(0,t.useBackend)(c),u=m.act,d=m.data,f=d.contents;return(0,e.createComponentVNode)(2,o.Box,{className:"Safe--contents",overflow:"auto",children:f.map(function(l,v){return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{mb:"0.5rem",onClick:function(){function b(){return u("retrieve",{index:v+1})}return b}(),children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:l.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),l.name]}),(0,e.createVNode)(1,"br")],4,l)})})},S=function(i,c){return(0,e.createComponentVNode)(2,o.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,o.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,o.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(I,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SatelliteControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.satellites,m=i.notice,u=i.meteor_shield,d=i.meteor_shield_coverage,f=i.meteor_shield_coverage_max,l=i.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:l>=100?"good":"average",value:d,maxValue:f,children:[l," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:i.notice}),c.map(function(v){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+v.id,children:[v.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:v.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function b(){return p("toggle",{id:v.id})}return b}()})]},v.id)})]})})]})})}return y}()},44162:function(I,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SecureStorage=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.emagged,m=i.locked,u=i.l_set,d=i.l_setshort,f=i.current_code,l=function(){function v(b){var g=b.buttonValue,h=b.color;return h||(h="default"),(0,e.createComponentVNode)(2,t.Button,{disabled:c||d,type:"button",color:h,onClick:function(){function C(){return p("setnumber",{buttonValue:g})}return C}(),children:g})}return v}();return(0,e.createComponentVNode)(2,o.Window,{width:520,height:200,children:(0,e.createComponentVNode)(2,t.Flex,{spacing:"1",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:16,shrink:0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Code Panel",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"1"}),(0,e.createComponentVNode)(2,l,{buttonValue:"2"}),(0,e.createComponentVNode)(2,l,{buttonValue:"3"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"4"}),(0,e.createComponentVNode)(2,l,{buttonValue:"5"}),(0,e.createComponentVNode)(2,l,{buttonValue:"6"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"7"}),(0,e.createComponentVNode)(2,l,{buttonValue:"8"}),(0,e.createComponentVNode)(2,l,{buttonValue:"9"})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:[(0,e.createComponentVNode)(2,l,{buttonValue:"R",color:"red"}),(0,e.createComponentVNode)(2,l,{buttonValue:"0"}),(0,e.createComponentVNode)(2,l,{buttonValue:"E",color:"green"})]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Current Status",children:c||d?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:c?"LOCKING SYSTEM ERROR - 1701":"ALERT: MEMORY SYSTEM ERROR - 6040 201"})}),c?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"NEW INPUT, ASSHOLE"})}):""]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Secure Code",children:(0,e.createComponentVNode)(2,t.Box,{color:u?"red":"green",children:u?"*****":"NOT SET. ENTER NEW."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lock Status",children:(0,e.createComponentVNode)(2,t.Box,{color:m?"red":"green",children:m?"Locked":"Unlocked"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Code",children:(0,e.createComponentVNode)(2,t.Box,{children:f||"Waiting for input"})}),(0,e.createComponentVNode)(2,t.Button,{top:".35em",left:".5em",disabled:m,color:"red",content:"Lock",icon:"lock",onClick:function(){function v(){return p("close")}return v}()})]})})]})})}return y}()},6272:function(I,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(98595),y=n(3939),V=n(321),k=n(5485),S=n(22091),p={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},i=function(C,N){(0,y.modalOpen)(C,"edit",{field:N.edit,value:N.value})},c=r.SecurityRecords=function(){function h(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.loginState,A=L.currentPage,T;if(w.logged_in)A===1?T=(0,e.createComponentVNode)(2,u):A===2?T=(0,e.createComponentVNode)(2,l):A===3&&(T=(0,e.createComponentVNode)(2,v));else return(0,e.createComponentVNode)(2,s.Window,{width:800,height:900,theme:"security",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,k.LoginScreen)})});return(0,e.createComponentVNode)(2,s.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,y.ComplexModal),(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.LoginInfo),(0,e.createComponentVNode)(2,S.TemporaryNotice),(0,e.createComponentVNode)(2,m),T]})})]})}return h}(),m=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.currentPage,A=L.general;return(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===1,onClick:function(){function T(){return B("page",{page:1})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"list"}),"List Records"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===2,onClick:function(){function T(){return B("page",{page:2})}return T}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wrench"}),"Record Maintenance"]}),w===3&&A&&!A.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:w===3,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"file"}),"Record: ",A.fields[0].value]})]})},u=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.records,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1],O=(0,t.useLocalState)(N,"sortId","name"),P=O[0],R=O[1],F=(0,t.useLocalState)(N,"sortOrder",!0),j=F[0],W=F[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,d,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,d,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,d,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,d,{id:"status",children:"Criminal Status"})]}),w.filter((0,a.createSearch)(T,function(H){return H.name+"|"+H.id+"|"+H.rank+"|"+H.fingerprint+"|"+H.status})).sort(function(H,z){var Y=j?1:-1;return H[P].localeCompare(z[P])*Y}).map(function(H){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+p[H.status],onClick:function(){function z(){return B("view",{uid_gen:H.uid_gen,uid_sec:H.uid_sec})}return z}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",H.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:H.status})]},H.id)})]})})})],4)},d=function(C,N){var x=(0,t.useLocalState)(N,"sortId","name"),B=x[0],L=x[1],w=(0,t.useLocalState)(N,"sortOrder",!0),A=w[0],T=w[1],E=C.id,O=C.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:B!==E&&"transparent",fluid:!0,onClick:function(){function P(){B===E?T(!A):(L(E),T(!0))}return P}(),children:[O,B===E&&(0,e.createComponentVNode)(2,o.Icon,{name:A?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},f=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=(0,t.useLocalState)(N,"searchText",""),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function O(){return B("new_general")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Cell Log",onClick:function(){function O(){return(0,y.modalOpen)(N,"print_cell_log")}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function O(P,R){return E(R)}return O}()})})]})},l=function(C,N){var x=(0,t.useBackend)(N),B=x.act;return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"download",content:"Backup to Disk",tooltip:"This feature is not available.",tooltipPosition:"right"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button,{disabled:!0,icon:"upload",content:"Upload from Disk",tooltip:"This feature is not available.",tooltipPosition:"right",my:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){function L(){return B("delete_security_all")}return L}(),mb:"0.5rem"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",content:"Delete All Cell Logs",onClick:function(){function L(){return B("delete_cell_logs")}return L}()})]})},v=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.isPrinting,A=L.general,T=L.security;return!A||!A.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,level:2,mt:"-6px",title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:w,icon:w?"spinner":"print",iconSpin:!!w,content:"Print Record",onClick:function(){function E(){return B("print_record")}return E}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function E(){return B("delete_general")}return E}()})],4),children:(0,e.createComponentVNode)(2,b)})}),!T||!T.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function E(){return B("new_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:T.empty,content:"Delete Record",onClick:function(){function E(){return B("delete_security")}return E}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:T.fields.map(function(E,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:E.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(E.value),!!E.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:E.line_break?"1rem":"initial",onClick:function(){function P(){return i(N,E)}return P}()})]},O)})})})})}),(0,e.createComponentVNode)(2,g)],4)],0)},b=function(C,N){var x=(0,t.useBackend)(N),B=x.data,L=B.general;return!L||!L.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:L.fields.map(function(w,A){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:w.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+w.value),!!w.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:w.line_break?"1rem":"initial",onClick:function(){function T(){return i(N,w)}return T}()})]},A)})})}),!!L.has_photos&&L.photos.map(function(w,A){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:w,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",A+1]},A)})]})},g=function(C,N){var x=(0,t.useBackend)(N),B=x.act,L=x.data,w=L.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function A(){return(0,y.modalOpen)(N,"comment_add")}return A}()}),children:w.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):w.comments.map(function(A,T){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:A.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),A.text||A,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function E(){return B("comment_delete",{id:T+1})}return E}()})]},T)})})})}},5099:function(I,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(35840),o=n(72253),s=n(36036),y=n(98595),V=n(3939);function k(f,l){var v=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(v)return(v=v.call(f)).next.bind(v);if(Array.isArray(f)||(v=S(f))||l&&f&&typeof f.length=="number"){v&&(f=v);var b=0;return function(){return b>=f.length?{done:!0}:{done:!1,value:f[b++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function S(f,l){if(f){if(typeof f=="string")return p(f,l);var v={}.toString.call(f).slice(8,-1);return v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set"?Array.from(f):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?p(f,l):void 0}}function p(f,l){(l==null||l>f.length)&&(l=f.length);for(var v=0,b=Array(l);v=T},g=function(A,T){return A<=T},h=l.split(" "),C=[],N=function(){var A=L.value,T=A.split(":");if(T.length===0)return 0;if(T.length===1)return C.push(function(P){return(P.name+" ("+P.variant+")").toLocaleLowerCase().includes(T[0].toLocaleLowerCase())}),0;if(T.length>2)return{v:function(){function P(R){return!1}return P}()};var E,O=v;if(T[1][T[1].length-1]==="-"?(O=g,E=Number(T[1].substring(0,T[1].length-1))):T[1][T[1].length-1]==="+"?(O=b,E=Number(T[1].substring(0,T[1].length-1))):E=Number(T[1]),isNaN(E))return{v:function(){function P(R){return!1}return P}()};switch(T[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":C.push(function(P){return O(P.lifespan,E)});break;case"e":case"end":case"endurance":C.push(function(P){return O(P.endurance,E)});break;case"m":case"mat":case"maturation":C.push(function(P){return O(P.maturation,E)});break;case"pr":case"prod":case"production":C.push(function(P){return O(P.production,E)});break;case"y":case"yield":C.push(function(P){return O(P.yield,E)});break;case"po":case"pot":case"potency":C.push(function(P){return O(P.potency,E)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":C.push(function(P){return O(P.amount,E)});break;default:return{v:function(){function P(R){return!1}return P}()}}},x,B=k(h),L;!(L=B()).done;)if(x=N(),x!==0&&x)return x.v;return function(w){for(var A=0,T=C;A=1?Number(O):1)}return T}()})]})]})}},2916:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleConsoleContent=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ShuttleConsole=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=i.type,l=f===void 0?"shuttle":f,v=i.blind_drop,b=d.authorization_required;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:240,children:[!!b&&(0,e.createComponentVNode)(2,t.Modal,{ml:1,mt:1,width:26,height:12,fontSize:"28px",fontFamily:"monospace",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,children:(0,e.createComponentVNode)(2,t.Icon,{name:"minus-circle"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2,ml:2,color:"bad",children:l==="shuttle"?"SHUTTLE LOCKED":"BASE LOCKED"})]}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"18px",mt:4,children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:"40px",icon:"arrow-circle-right",content:"Request Authorization",color:"bad",onClick:function(){function g(){return u("request")}return g}()})})]}),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S,{type:l,blind_drop:v})})]})}return p}(),y=function(i,c){var m;return i==null||(m=i.find(function(u){return u.id===c}))==null?void 0:m.name},V=function(i,c){var m;return i==null||(m=i.find(function(u){return u.name===c}))==null?void 0:m.id},k={"In Transit":"good",Idle:"average",Igniting:"average",Recharging:"average",Missing:"bad","Unauthorized Access":"bad",Locked:"bad"},S=r.ShuttleConsoleContent=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=i.type,l=i.blind_drop,v=d.status,b=d.locked,g=d.authorization_required,h=d.destination,C=d.docked_location,N=d.timer_str,x=d.locations,B=x===void 0?[]:x;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,fontSize:"26px",textAlign:"center",fontFamily:"monospace",children:N||"00:00"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",fontSize:"14px",mb:1,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,bold:!0,children:"STATUS:"}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:k[v]||"bad",ml:1,children:v||"Not Available"})]}),(0,e.createComponentVNode)(2,t.Section,{title:f==="shuttle"?"Shuttle Controls":"Base Launch Controls",level:2,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:C||"Not Available"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",buttons:f!=="shuttle"&&B.length===0&&!!l&&(0,e.createComponentVNode)(2,t.Button,{color:"bad",icon:"exclamation-triangle",disabled:g||!l,content:"Blind Drop",onClick:function(){function L(){return u("random")}return L}()}),children:B.length===0&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"bad",children:"Not Available"})||B.length===1&&(0,e.createComponentVNode)(2,t.Box,{mb:1.7,color:"average",children:y(B,h)})||(0,e.createComponentVNode)(2,t.Dropdown,{mb:1.7,over:!0,width:"240px",options:B.map(function(L){return L.name}),disabled:b||g,selected:y(B,h)||"Select a Destination",onSelected:function(){function L(w){return u("set_destination",{destination:V(B,w)})}return L}()})})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Depart",disabled:!y(B,h)||b||g||v!=="Idle",icon:"arrow-up",textAlign:"center",onClick:function(){function L(){return u("move",{shuttle_id:h})}return L}()})]})]})}return p}()},39401:function(I,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ShuttleManipulator=function(){function S(p,i){var c=(0,a.useLocalState)(i,"tabIndex",0),m=c[0],u=c[1],d=function(){function f(l){switch(l){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,V);case 2:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}}return f}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function f(){return u(0)}return f}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function f(){return u(1)}return f}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function f(){return u(2)}return f}(),icon:"tools",children:"Modification"},"Modification")]}),d(m)]})})})}return S}(),y=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{title:f.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:f.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:f.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:f.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:f.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return m("jump_to",{type:"mobile",id:f.id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function l(){return m("fast_travel",{id:f.id})}return l}()})]})]})},f.name)})})},V=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.templates_tabs,f=u.existing_shuttle,l=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(v){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===f.id,icon:"file",onClick:function(){function b(){return m("select_template_category",{cat:v})}return b}(),children:v},v)})}),!!f&&l[f.id].templates.map(function(v){return(0,e.createComponentVNode)(2,t.Section,{title:v.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:v.description}),v.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:v.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function b(){return m("select_template",{shuttle_id:v.shuttle_id})}return b}()})})]})},v.name)})]})},k=function(p,i){var c=(0,a.useBackend)(i),m=c.act,u=c.data,d=u.existing_shuttle,f=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[d?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+d.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d.status}),d.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:d.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function l(){return m("jump_to",{type:"mobile",id:d.id})}return l}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),f?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+f.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:f.description}),f.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:f.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function l(){return m("preview",{shuttle_id:f.shuttle_id})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function l(){return m("load",{shuttle_id:f.shuttle_id})}return l}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(I,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],V=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],k={average:[.25,.5],bad:[.5,1/0]},S=["bad","average","average","good","average","average","bad"],p=r.Sleeper=function(){function l(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=N?(0,e.createComponentVNode)(2,i):(0,e.createComponentVNode)(2,f);return(0,e.createComponentVNode)(2,s.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:x}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return l}(),i=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4)},c=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:x?"toggle-on":"toggle-off",selected:x,content:x?"On":"Off",onClick:function(){function B(){return h("auto_eject_dead_"+(x?"off":"on"))}return B}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function B(){return h("ejectify")}return B}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(N.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:y[N.stat][0],children:y[N.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:S[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius,0),"\xB0C,",(0,a.round)(N.btFaren,0),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[N.pulse," BPM"]})],4)]})})},m=function(v,b){var g=(0,t.useBackend)(b),h=g.data,C=h.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:V.map(function(N,x){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:N[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:C[N[1]]/100,ranges:k,children:(0,a.round)(C[N[1]],0)},x)},x)})})})},u=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.hasOccupant,x=C.isBeakerLoaded,B=C.beakerMaxSpace,L=C.beakerFreeSpace,w=C.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!x||L<=0||!N,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function T(){return h("togglefilter")}return T}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!x,icon:"eject",content:"Eject",onClick:function(){function T(){return h("removebeaker")}return T}()})],4),children:x?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:L/B,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},d=function(v,b){var g=(0,t.useBackend)(b),h=g.act,C=g.data,N=C.occupant,x=C.chemicals,B=C.maxchem,L=C.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:x.map(function(w,A){var T="",E;return w.overdosing?(T="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(T="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:B,value:w.occ_amount/B,color:T,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",B,"u"]}),L.map(function(O,P){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+O>B||N.stat===2,icon:"syringe",content:"Inject "+O+"u",title:"Inject "+O+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function R(){return h("chemical",{chemid:w.id,amount:O})}return R}()},P)})]})})},A)})})},f=function(v,b){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(I,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SlotMachine=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data;if(i.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return i.plays===1?c=i.plays+" player has tried their luck today!":c=i.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:i.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"50 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:i.working,content:i.working?"Spinning...":"Spin",onClick:function(){function m(){return p("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:i.resultlvl,children:i.result})]})})})}return y}()},46348:function(I,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Smartfridge=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.secure,m=i.can_dry,u=i.drying,d=i.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function f(){return p("drying")}return f}()}),children:[!d&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!d&&d.slice().sort(function(f,l){return f.display_name.localeCompare(l.display_name)}).map(function(f){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:f.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",f.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function l(){return p("vend",{index:f.vend,amount:1})}return l}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:f.quantity,step:1,stepPixelSize:3,onChange:function(){function l(v,b){return p("vend",{index:f.vend,amount:b})}return l}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function l(){return p("vend",{index:f.vend,amount:f.quantity})}return l}()})]})]},f)})]})]})})})}return y}()},86162:function(I,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),s=n(98595),y=1e3,V=r.Smes=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.capacityPercent,d=m.capacity,f=m.charge,l=m.inputAttempt,v=m.inputting,b=m.inputLevel,g=m.inputLevelMax,h=m.inputAvailable,C=m.outputPowernet,N=m.outputAttempt,x=m.outputting,B=m.outputLevel,L=m.outputLevelMax,w=m.outputUsed,A=u>=100&&"good"||v&&"average"||"bad",T=x&&"good"||f>0&&"average"||"bad";return(0,e.createComponentVNode)(2,s.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:l?"sync-alt":"times",selected:l,onClick:function(){function E(){return c("tryinput")}return E}(),children:l?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||v&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:b===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:b===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:b/y,fillValue:h/y,minValue:0,maxValue:g/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("input",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:b===g,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:b===g,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(h)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){function E(){return c("tryoutput")}return E}(),children:N?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:T,children:C?x?"Sending":f>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:B===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:B===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:B/y,minValue:0,maxValue:L/y,step:5,stepPixelSize:4,format:function(){function E(O){return(0,o.formatPower)(O*y,1)}return E}(),onChange:function(){function E(O,P){return c("output",{target:P*y})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:B===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:B===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return k}()},63584:function(I,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SolarControl=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=0,m=1,u=2,d=i.generated,f=i.generated_ratio,l=i.tracking_state,v=i.tracking_rate,b=i.connected_panels,g=i.connected_tracker,h=i.cdir,C=i.direction,N=i.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function x(){return p("refresh")}return x}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:g?"good":"bad",children:g?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:b>0?"good":"bad",children:b})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:f,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[h,"\xB0 (",C,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),l===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",v,"\xB0/h (",N,")"," "]}),l===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[l!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:h,onDrag:function(){function x(B,L){return p("cdir",{cdir:L})}return x}()}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:l===c,onClick:function(){function x(){return p("track",{track:c})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:l===m,onClick:function(){function x(){return p("track",{track:m})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:l===u,disabled:!g,onClick:function(){function x(){return p("track",{track:u})}return x}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[l===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:v,format:function(){function x(B){var L=Math.sign(B)>0?"+":"-";return L+Math.abs(B)}return x}(),onDrag:function(){function x(B,L){return p("tdir",{tdir:L})}return x}()}),l===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),l===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return y}()},38096:function(I,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.SpawnersMenu=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return p("jump",{ID:m.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return p("spawn",{ID:m.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return y}()},7957:function(I,r,n){"use strict";r.__esModule=!0,r.SpiderOS=r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(98595);function y(f,l){f.prototype=Object.create(l.prototype),f.prototype.constructor=f,V(f,l)}function V(f,l){return V=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,b){return v.__proto__=b,v},V(f,l)}var k=r.SpiderOS=function(){function f(l,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C;return h.suit_tgui_state===0?C=(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:[(0,e.createComponentVNode)(2,t.Flex,{direction:"column",width:"60%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,t.Flex.Item,{mt:2.2,backgroundColor:"rgba(0, 0, 0, 0)",children:(0,e.createComponentVNode)(2,m)})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"40%",height:"190px",grow:1,backgroundColor:"rgba(0, 0, 0, 0)",children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p)]})]}):h.suit_tgui_state===1&&(C=(0,e.createComponentVNode)(2,t.Flex,{width:"100%",height:"100%",direction:"column",shrink:1,spacing:1,children:(0,e.createComponentVNode)(2,t.Flex.Item,{backgroundColor:"rgba(0, 0, 0, 0.8)",height:"100%",children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d,{allMessages:h.current_load_text,finishedTimeout:3e3,current_initialisation_phase:h.current_initialisation_phase,end_terminal:h.end_terminal,onFinished:function(){function N(){return g("set_UI_state",{suit_tgui_state:0})}return N}()})]})})),(0,e.createComponentVNode)(2,s.Window,{width:800,height:630,theme:"spider_clan",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",spacing:1,children:C})})})}return f}(),S=function(l,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allStylesPreview,C=g.style_preview_icon_state;return(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0432\u043D\u0435\u0448\u043D\u0435\u0433\u043E \u0432\u0438\u0434\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u041D\u0430\u0448\u0438 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u0432\u0430\u043C \u043F\u043E\u0434\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u043E\u0434 \u0441\u0435\u0431\u044F, \u043F\u0440\u0438 \u044D\u0442\u043E\u043C \u043D\u0435 \u0442\u0435\u0440\u044F\u044F \u043E\u0431\u043E\u0440\u043E\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0430\u0447\u0435\u0441\u0442\u0432. \u041F\u043E\u0442\u043E\u043C\u0443 \u0447\u0442\u043E \u0443\u0434\u043E\u0431\u0441\u0442\u0432\u043E \u043F\u0440\u0438 \u043D\u043E\u0448\u0435\u043D\u0438\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u043E \u0432\u0430\u0436\u043D\u043E \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0433\u043E \u0443\u0431\u0438\u0439\u0446\u044B.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.Section,{style:{background:"rgba(4, 74, 27, 0.75)"},mr:10,ml:10,children:(0,e.createVNode)(1,"img",null,null,1,{height:"128px",width:"128px",src:"data:image/jpeg;base64,"+h[C],style:{"margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})})})})},p=function(l,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.designs,N=h.design_choice,x=h.scarf_design_choice,B=h.colors,L=h.color_choice,w=h.genders,A=h.preferred_clothes_gender,T=h.suit_state,E=h.preferred_scarf_over_hood,O=h.show_charge_UI,P=h.has_martial_art,R=h.show_concentration_UI,F;T===0?F="\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C":F="\u0414\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C";var j;E===0?j="\u041A\u0430\u043F\u044E\u0448\u043E\u043D":j="\u0428\u0430\u0440\u0444";var W;E===1?W=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C \u0448\u0430\u0440\u0444\u0430",content:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:x,onSelected:function(){function z(Y){return g("set_scarf_design",{scarf_design_choice:Y})}return z}()})}):W=null;var H;return P?H=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u044F",content:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{selected:R,width:"78px",textAlign:"left",content:R?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_concentration")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0441\u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043B\u0438 \u0432\u044B \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0431\u043E\u0435\u0432\u043E\u0433\u043E \u0438\u0441\u0441\u043A\u0443\u0441\u0442\u0432\u0430.",tooltipPosition:"top-start"})]})}):H=null,(0,e.createComponentVNode)(2,t.Flex,{direction:"row",grow:1,alignContent:"center",ml:.5,children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,width:"100%",children:[(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0421\u0442\u0438\u043B\u044C",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:C,selected:N,onSelected:function(){function z(Y){return g("set_design",{design_choice:Y})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0426\u0432\u0435\u0442",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:L,onSelected:function(){function z(Y){return g("set_color",{color_choice:Y})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439/\u041C\u0443\u0436\u0441\u043A\u043E\u0439",children:(0,e.createComponentVNode)(2,t.Dropdown,{options:w,selected:A,onSelected:function(){function z(Y){return g("set_gender",{preferred_clothes_gender:Y})}return z}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0428\u0430\u0440\u0444/\u041A\u0430\u043F\u044E\u0448\u043E\u043D",children:[(0,e.createComponentVNode)(2,t.Button,{className:T===0?"":"Button_disabled",width:"90px",selected:E,disabled:T,textAlign:"left",content:j,onClick:function(){function z(){return g("toggle_scarf")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:'\u0421 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u043E\u0439 "\u0428\u0430\u0440\u0444" \u0432\u0430\u0448 \u043A\u0430\u043F\u044E\u0448\u043E\u043D \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u043E\u043B\u043E\u0441\u044B. \u041D\u043E \u044D\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u0447\u0438\u0442, \u0447\u0442\u043E \u0432\u0430\u0448\u0430 \u0433\u043E\u043B\u043E\u0432\u0430 \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u0430! \u0410\u0434\u0430\u043F\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043D\u043E-\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u044E\u0442 \u043D\u0430 \u043F\u043E\u0442\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0443\u0433\u0440\u043E\u0437\u044B \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u044F \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443! \u0423\u0442\u043E\u0447\u043D\u0435\u043D\u0438\u0435: \u043D\u0430\u043D\u043E\u0432\u043E\u043B\u043E\u043A\u043D\u0430 \u0442\u0430\u043A \u0436\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0438\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0443 \u0433\u043E\u043B\u043E\u0432\u0443 \u0438 \u043E\u0442 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u043B\u043E\u0432\u043D\u044B\u0445 \u0443\u0431\u043E\u0440\u043E\u0432 \u0441 \u0446\u0435\u043B\u044C\u044E \u0443\u043C\u0435\u043D\u044C\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u0435\u0445 \u0432 \u0438\u0445 \u0440\u0430\u0431\u043E\u0442\u0435.',tooltipPosition:"top-start"})]}),W,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0417\u0430\u0440\u044F\u0434 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",children:[(0,e.createComponentVNode)(2,t.Button,{selected:O,width:"90px",textAlign:"left",content:O?"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C":"\u0421\u043A\u0440\u044B\u0442\u044C",onClick:function(){function z(){return g("toggle_ui_charge")}return z}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",content:"?",tooltip:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0435\u0433\u043E \u0437\u0430\u0440\u044F\u0434 \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430.",tooltipPosition:"top-start"})]}),H]})}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+L,success:0,danger:0,mt:-1.2,align:"center",children:(0,e.createComponentVNode)(2,t.Button,{width:"80%",icon:"power-off",mt:.5,textAlign:"center",content:F,tooltip:"\u041F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u0430\u043C \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043A\u043E\u0441\u0442\u044E\u043C \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F \u043A \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044E \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0432 \u043D\u0451\u043C \u0437\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445. \n\u0423\u0447\u0442\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u043B\u044E\u0431\u044B\u0435 \u043C\u043E\u0434\u0443\u043B\u0438, \u043A\u043E\u0433\u0434\u0430 \u043A\u043E\u0441\u0442\u044E\u043C \u0431\u0443\u0434\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u043A\u043B\u044E\u0447\u0451\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u044F\u0435\u0442 \u0437\u0430\u0440\u044F\u0434 \u0434\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0440\u0430\u0431\u043E\u0442\u044B \u0432\u0441\u0435\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u0439 \u0438 \u043C\u043E\u0434\u0443\u043B\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u043A\u043E\u0441\u0442\u044E\u043C \u043D\u0435\u043B\u044C\u0437\u044F \u0441\u043D\u044F\u0442\u044C \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u0441\u043F\u043E\u0441\u043E\u0431\u043E\u043C, \u043F\u043E\u043A\u0430 \u043E\u043D \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D. \n\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u0440\u043E\u0432\u043D\u043E \u043A\u0430\u043A \u0438 \u0432\u044B\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A\u043E\u0441\u0442\u044E\u043C\u0430 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u043C\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438. \u041F\u043E\u0434\u0443\u043C\u0430\u0439\u0442\u0435 \u0434\u0432\u0430\u0436\u0434\u044B \u043F\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043C \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0435\u0433\u043E \u043D\u0430 \u0442\u0435\u0440\u0440\u0438\u0442\u043E\u0440\u0438\u0438 \u0432\u0440\u0430\u0433\u0430!",tooltipPosition:"top-start",onClick:function(){function z(){return g("initialise_suit")}return z}()})})]})})},i=function(l,v){var b=(0,a.useBackend)(v),g=b.data,h=g.allActionsPreview;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u043E\u0432\u0435\u0442\u044B \u0438 \u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041C\u043E\u043B\u043E\u0434\u044B\u043C \u0443\u0431\u0438\u0439\u0446\u0430\u043C \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u043B\u0435\u0433\u043A\u043E \u043E\u0441\u0432\u043E\u0438\u0442\u0441\u044F \u0432 \u043F\u043E\u043B\u0435\u0432\u044B\u0445 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445, \u0434\u0430\u0436\u0435 \u043F\u043E\u0441\u043B\u0435 \u0438\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u044B\u0445 \u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u043E\u043A. \n\u042D\u0442\u043E\u0442 \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u0438\u0437\u0432\u0430\u043D \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0441\u043E\u0432\u0435\u0442\u0430\u043C\u0438 \u043F\u043E \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0447\u0430\u0441\u0442\u043E \u0432\u043E\u0437\u043D\u0438\u043A\u0430\u044E\u0449\u0438\u043C \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u043A\u0430\u0441\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u044B\u0445 \u043C\u0438\u0441\u0441\u0438\u0439 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u043C \u0432\u044B\u0434\u0430\u0434\u0443\u0442 \u0438\u043B\u0438 \u0440\u0430\u0441\u0441\u043A\u0430\u0437\u0430\u0442\u044C \u043E \u043C\u0430\u043B\u043E\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0431\u0435\u0440\u043D\u0443\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443.",tooltipPosition:"bottom-start"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",grow:1,alignContent:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_teleport,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0422\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044F \u0438 \u0448\u0430\u0442\u0442\u043B",content:"\u0412 \u0432\u0430\u0448\u0435\u043C \u0414\u043E\u0434\u0437\u0451 \u0435\u0441\u0442\u044C \u043B\u0438\u0447\u043D\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0438 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0422\u043E\u0447\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0430\u044F, \u043D\u043E \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0438\u0434\u0451\u0442 \u043D\u0430 \u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0442\u043E\u043D\u043D\u0435\u043B\u0438 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u043C\u0430\u043B\u043E\u043F\u043E\u0441\u0435\u0449\u0430\u0435\u043C\u044B\u0435 \u043C\u0435\u0441\u0442\u0430. \n\u042D\u0442\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u044B\u0439 \u0441\u043F\u043E\u0441\u043E\u0431 \u0431\u044B\u0441\u0442\u0440\u043E \u043F\u0440\u0438\u0441\u0442\u0443\u043F\u0438\u0442\u044C \u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \n\u041F\u043E\u043B\u044C\u0437\u0443\u044F\u0441\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u043C \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u043B\u0435\u0440\u043E\u043C \u0448\u0430\u0442\u0442\u043B\u0430, \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u0438\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E \u043A \u0441\u0435\u0431\u0435 \u0438 \u0432\u0435\u0440\u043D\u0443\u0442\u044C\u0441\u044F \u043D\u0430\u0437\u0430\u0434. \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u0435\u0441\u043B\u0438 \u0432\u044B \u0440\u0435\u0448\u0438\u0442\u0435 \u043F\u043E\u043B\u0435\u0442\u0435\u0442\u044C \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435, \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C \u0432\u0430\u043C, \u0447\u0442\u043E \u0432\u043E \u0438\u0437\u0431\u0435\u0436\u0430\u043D\u0438\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u043A\u0440\u0430\u0436\u0438 \u0448\u0430\u0442\u0442\u043B\u0430 \u0438 \u043F\u043E\u043F\u0430\u0434\u0430\u043D\u0438\u044F \u043D\u0430 \u0432\u0430\u0448\u0443 \u0431\u0430\u0437\u0443 \u043F\u043E\u0441\u0442\u043E\u0440\u043E\u043D\u043D\u0438\u0445 \u043B\u0438\u0446, \u043E\u0442\u043B\u0438\u0447\u043D\u043E\u0439 \u043F\u0440\u0430\u043A\u0442\u0438\u043A\u043E\u0439 \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043E\u0437\u0432\u0430\u0442\u044C \u0435\u0433\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.headset_green,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A",content:"\u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0438 \u043E\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0445 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u043E\u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u043D\u0441\u0442\u0432\u0430 \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0439, \u043D\u0430\u0448 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0434\u043B\u044F \u043F\u043E\u043C\u043E\u0449\u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0438. \u0412 \u043D\u0435\u0433\u043E \u0432\u0441\u0442\u0440\u043E\u0435\u043D \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043D\u0430\u043B \u0434\u043B\u044F \u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0431\u043E\u0440\u0433\u043E\u043C \u0438\u043B\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0447\u043B\u0435\u043D\u0430\u043C\u0438 \u043A\u043B\u0430\u043D\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043E\u043D \u0441\u043F\u043E\u0441\u043E\u0431\u0435\u043D \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u044E\u0431\u044B\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043D\u0430\u0443\u0448\u043D\u0438\u043A\u0438 \u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043B\u0443\u0448\u043A\u0438 \u0438/\u0438\u043B\u0438 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430 \u043A\u0430\u043D\u0430\u043B\u044B \u0438\u0445 \u043A\u043B\u044E\u0447\u0435\u0439. \u0411\u043B\u0430\u0433\u043E\u0434\u0430\u0440\u044F \u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u043D\u0430\u043A\u0430\u043F\u043B\u0438\u0432\u0430\u0442\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0435 \u0432\u0430\u043C \u043C\u0435\u0441\u0442\u043D\u044B\u0435 \u043A\u0430\u043D\u0430\u043B\u044B \u0441\u0432\u044F\u0437\u0438 \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043B\u044E\u0431\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u0430\u0448 \u043D\u0430\u0443\u0448\u043D\u0438\u043A \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438- \u0447\u0435\u0441\u043A\u0438 \u0443\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0435\u0440\u0435\u0432\u043E\u0434\u0438\u0442 \u0431\u0438\u043D\u0430\u0440\u043D\u044B\u0435 \u0441\u0438\u0433\u043D\u0430\u043B\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u0435\u043C\u044B\u0435 \u0441\u0438\u043D\u0442\u0435\u0442\u0438\u043A\u0430\u043C\u0438 \u043F\u0440\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0438 \u0434\u0440\u0443\u0433 \u0441 \u0434\u0440\u0443\u0433\u043E\u043C. \u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044F \u0432\u0430\u043C \u0441\u0430\u043C\u0438\u043C \u043E\u0431\u0449\u0430\u0442\u044C\u0441\u044F \u0441 \u043D\u0438\u043C\u0438.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_sleeper,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0445\u0438\u0449\u0435\u043D\u0438\u0435 \u044D\u043A\u0438\u043F\u0430\u0436\u0430",content:"\u041F\u043E\u0440\u043E\u0439 \u043A\u043B\u0430\u043D\u0443 \u043D\u0443\u0436\u043D\u044B \u0441\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0431\u043B\u0430\u0434\u0430\u0442\u044C \u043B\u044E\u0434\u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0449\u0438\u0435 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0412 \u0442\u0430\u043A\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u0432\u0430\u043C \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043E\u0441\u043E\u0431\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0441\u043A\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u0443\u0436\u043E\u0433\u043E \u0440\u0430\u0437\u0443\u043C\u0430. \u0414\u0430\u0436\u0435 \u0435\u0441\u043B\u0438 \u0432\u0430\u043C \u043D\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044F \u043D\u0430\u0439\u0442\u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E\u0449\u0435\u0433\u043E \u0432\u0441\u0435\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0435\u0439 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430, \u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0431\u0440\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043F\u043E \u043A\u0440\u0443\u043F\u0438\u0446\u0430\u043C \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F \u043F\u043E\u0445\u0438\u0449\u0430\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \n\u0414\u043B\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0445\u0438- \u0442\u0438\u0442\u044C \u043B\u044E\u0434\u0435\u0439. \u0423 \u0432\u0430\u0441 \u043D\u0430 \u0448\u0430\u0442\u0442\u043B\u0435 \u0435\u0441\u0442\u044C \u0441\u043A\u0430\u0444\u0430\u043D\u0434\u0440\u044B, \u0430 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0437\u0430\u043F\u0430\u0441 \u043D\u0430- \u0440\u0443\u0447\u043D\u0438\u043A\u043E\u0432, \u043A\u0438\u0441\u043B\u043E\u0440\u043E\u0434\u0430 \u0438 \u0431\u0430\u043B\u043B\u043E- \u043D\u043E\u0432. \n\u0422\u0430\u043A \u0436\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432 \u043B\u044E\u0434\u0435\u0439 \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0438\u043C\u043F\u0443\u043B\u044C\u0441, \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u0441\u0442\u0430\u043D\u044F \u0438\u0445 \u043D\u0430 \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. ",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ai_face,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0418\u0418",content:"\u0418\u043D\u043E\u0433\u0434\u0430 \u0443 \u043D\u0430\u0441 \u0437\u0430\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u0441\u0430\u0431\u043E- \u0442\u0430\u0436 \u0418\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438. \u042D\u0442\u043E \u043F\u0440\u043E- \u0446\u0435\u0441\u0441 \u0441\u043B\u043E\u0436\u043D\u044B\u0439 \u0438 \u0442\u0440\u0435\u0431\u0443\u044E\u0449\u0438\u0439 \u043E\u0442 \u043D\u0430\u0441 \u043E\u0441\u043D\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u043F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0438. \n\u041F\u0440\u0435\u0434\u043F\u043E\u0447\u0438\u0442\u0430\u0435\u043C\u044B\u0439 \u043A\u043B\u0430\u043D\u043E\u043C \u043C\u0435\u0442\u043E\u0434 \u044D\u0442\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u044F\u0437\u0432\u0438\u043C\u043E\u0441\u0442\u0438 \u043F\u0440\u044F\u043C\u043E \u0432 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439 \u0434\u043B\u044F \u0437\u0430\u043A\u043E\u043D\u043E\u0432 \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0449\u0435\u0439 \u0432\u044B\u0432\u0435\u0441\u0442\u0438 \u0418\u0418 \u0438\u0437 \u0441\u0442\u0440\u043E\u044F. \u0412 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043C\u0435\u0442\u043E\u0434\u0430 \u043C\u044B \u043C\u043E\u0436\u0435\u043C \u043B\u0435\u0433\u043A\u043E \u043F\u0435\u0440\u0435\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0418\u0418 \u0430\u0431\u0441\u0443\u0440\u0434\u043D\u044B\u043C\u0438 \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u043D\u043E \u044D\u0442\u043E \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043D\u0430\u0441 \u0432 \u0442\u043E\u043C \u043F\u043B\u0430\u043D\u0435, \u0447\u0442\u043E \u0434\u043B\u044F \u0432\u0437\u043B\u043E\u043C\u0430 \u0432 \u0438\u0442\u043E\u0433\u0435 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u043D\u0441\u043E\u043B\u0438 \u0432 \u0441\u0430\u043C\u043E\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043E\u0447\u043D\u043E\u0439. \u0422\u0430\u043A \u0436\u0435 \u0432\u0437\u043B\u043E\u043C \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435\u043B\u0451\u0433\u043A\u0430\u044F - \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u0435\u0441\u0442\u044C \u0432\u0435\u0437\u0434\u0435. \u0410 \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F. \u041D\u0435 \u0443\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435\u0441\u044C \u0435\u0441\u043B\u0438 \u0418\u0418 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442- \u0432\u043E\u0432\u0430\u0442\u044C \u0432\u0430\u0448\u0438\u043C \u043F\u043E\u043F\u044B\u0442\u043A\u0430\u043C \u0435\u0433\u043E \u0441\u043B\u043E\u043C\u0430\u0442\u044C.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.ninja_borg,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0440\u043E\u0431\u043E\u0442\u043E\u0432",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044F \u0432\u0430\u0448\u0438 \u0448\u0430\u043D\u0441\u044B \u043D\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043C\u0438\u0441\u0441\u0438\u0438 \u0434\u043B\u044F \u0438\u0445 \u0443\u0432\u0435\u043B\u0438\u0447\u0435\u043D\u0438\u044F \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445, \u0447\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442 \u0440\u043E\u0431\u043E\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u0446\u0435\u043B\u0435\u0439, \u043C\u044B \u0434\u0430\u0451\u043C \u0432\u0430\u043C \u043E\u0441\u043E\u0431\u044B\u0439 "\u0423\u043B\u0443\u0447\u0448\u0430\u044E\u0449\u0438\u0439" \u0438\u0445 \u043F\u0440\u0438\u0431\u043E\u0440, \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0439 \u0432 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438. \n\u041F\u0440\u0438 \u0432\u0437\u043B\u043E\u043C\u0435 \u043A\u0438\u0431\u043E\u0440\u0433\u0430 \u0442\u0430\u043A\u0438\u043C \u043F\u0440\u0438\u0431\u043E\u0440\u043E\u043C(\u0412\u0437\u043B\u043E\u043C \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 \u0432\u0440\u0435\u043C\u044F) \u0432\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u043B\u043E\u044F\u043B\u044C\u043D\u043E\u0433\u043E \u043A\u043B\u0430\u043D\u0443 \u0438 \u0432\u0430\u043C \u043B\u0438\u0447\u043D\u043E \u0441\u043B\u0443\u0433\u0443 \u0441\u043F\u043E\u0441\u043E\u0431- \u043D\u043E\u0433\u043E \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u043F\u043E\u043C\u043E\u0449\u0438 \u043A\u0430\u043A \u0432 \u0441\u0430\u0431\u043E\u0442\u0430\u0436\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0442\u0430\u043A \u0438 \u0432 \u0432\u0430\u0448\u0435\u043C \u043B\u0435\u0447\u0435\u043D\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0440\u043E\u0431\u043E\u0442 \u0431\u0443\u0434\u0435\u0442 \u043E\u0441\u043D\u0430\u0449\u0451\u043D \u043B\u0438\u0447\u043D\u043E\u0439 \u043A\u0430\u0442\u0430\u043D\u043E\u0439, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043A\u0438, \u043F\u0438\u043D\u043F\u043E\u0438\u043D\u0442\u0435\u0440\u043E\u043C \u0443\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u043C \u0435\u043C\u0443 \u043D\u0430 \u0432\u0430\u0441 \u0438 \u0433\u0435\u043D\u0435\u0440\u0430\u0442\u043E\u0440\u043E\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u0438\u0447\u0435\u0441\u043A\u0438\u0445 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u043E\u0432. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u043A\u0430\u0442\u0430\u043D\u0430 \u0440\u043E\u0431\u043E\u0442\u0430 \u043D\u0435 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0442\u044C \u0435\u0433\u043E \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0442\u0440\u0430\u043D\u0441\u043B\u043E\u043A\u0430\u0446\u0438\u044E!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.server,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0430\u0431\u043E\u0442\u0430\u0436 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u0439",content:"\u041D\u0430 \u043D\u0430\u0443\u0447\u043D\u044B\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u0430\u0445 \u0432\u0441\u0435\u0433\u0434\u0430 \u0435\u0441\u0442\u044C \u0441\u0432\u043E\u044F \u043A\u043E\u043C\u0430\u043D\u0434\u0430 \u0443\u0447\u0451\u043D\u044B\u0445 \u0438 \u043C\u043D\u043E- \u0436\u0435\u0441\u0442\u0432\u043E \u0434\u0430\u043D\u043D\u044B\u0445 \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u0440\u0438\u0445\u043E- \u0434\u0438\u0442\u0441\u044F \u0433\u0434\u0435 \u0442\u043E \u0445\u0440\u0430\u043D\u0438\u0442\u044C. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0442\u0430\u043A\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u043E\u0431\u044B\u0447\u043D\u043E \u0432\u044B\u0441\u0442\u0443- \u043F\u0430\u044E\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0410 \u043A\u0430\u043A \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0446\u0438\u0438 \u0432\u0435\u0447\u043D\u043E \u0433\u0440\u044B\u0437\u0443\u0442\u0441\u044F \u0437\u0430 \u0437\u043D\u0430\u043D\u0438\u044F. \u0427\u0442\u043E \u043D\u0430\u043C \u043D\u0430 \u0440\u0443\u043A\u0443. \n\u041C\u044B \u0440\u0430\u0437\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u0439 \u0432\u0438\u0440\u0443\u0441 \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043F\u0438\u0441\u0430\u043D \u043D\u0430 \u0432\u0430\u0448\u0438 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0441\u0441\u0438\u0435\u0439 \u0442\u0430\u043A\u043E\u0433\u043E \u0440\u043E\u0434\u0430. \u0412\u0430\u043C \u043D\u0443\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043B\u0438\u0448\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0435\u0433\u043E \u043D\u0430\u043F\u0440\u044F\u043C\u0443\u044E \u043D\u0430 \u0438\u0445 \u043D\u0430\u0443\u0447\u043D\u044B\u0439 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0432\u0441\u0435 \u0438\u0445 \u0438\u0441\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u043D\u0438\u044F \u0431\u0443\u0434\u0443\u0442 \u0443\u0442\u0435\u0440\u044F\u043D\u044B. \n\u041D\u043E \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0432\u0438\u0440\u0443\u0441\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u0438 \u0441\u0438\u0441\u0442\u0435\u043C\u044B \u0437\u0430\u0449\u0438\u0442\u044B \u043C\u043D\u043E\u0433\u0438\u0445 \u043E\u0431\u044C\u0435\u043A\u0442\u043E\u0432 \u043D\u0435 \u0434\u0440\u0435\u043C\u043B\u044E\u0442. \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u043E \u0432\u0430\u0448\u0435\u0439 \u043F\u043E\u043F\u044B\u0442\u043A\u0435 \u0432\u0437\u043B\u043E\u043C\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u043F\u043E\u0432\u0435\u0449\u0451\u043D \u043C\u0435\u0441\u0442\u043D\u044B\u0439 \u0418\u0418. \u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u044D\u0442\u043E\u043C\u0443.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.buckler,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0417\u0430\u0449\u0438\u0442\u0430 \u0446\u0435\u043B\u0438",content:'\u0418\u043D\u043E\u0433\u0434\u0430 \u0431\u043E\u0433\u0430\u0442\u044B\u0435 \u0448\u0438\u0448\u043A\u0438 \u043F\u043B\u0430\u0442\u044F\u0442 \u0437\u0430 \u0443\u0441\u043B\u0443\u0433\u0438 \u0437\u0430\u0449\u0438\u0442\u044B \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430. \u0415\u0441\u043B\u0438 \u0432\u0430\u043C \u0434\u043E\u0441\u0442\u0430\u043B\u0430\u0441\u044C \u0442\u0430\u043A\u0430\u044F \u0446\u0435\u043B\u044C \u043F\u043E\u043C\u043D\u0438\u0442\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435: \n * \u0417\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043E\u0431\u044F\u0437\u0430\u043D \u0434\u043E\u0436\u0438\u0442\u044C \u0434\u043E \u043A\u043E\u043D\u0446\u0430 \u0441\u043C\u0435\u043D\u044B! \n * \u0421\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u044B\u0439 \u043D\u0435 \u0437\u043D\u0430\u0435\u0442 \u043E \u0432\u0430\u0448\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0435. \u0418 \u043B\u0443\u0447\u0448\u0435 \u0432\u0441\u0435\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E\u043D \u0438 \u0434\u0430\u043B\u044C\u0448\u0435 \u043D\u0435 \u0437\u043D\u0430\u043B! \n * \u041D\u0435 \u0432\u0430\u0436\u043D\u043E \u043A\u0442\u043E \u0438\u043B\u0438 \u0447\u0442\u043E \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u043D\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043E\u0434\u0437\u0430\u0449\u0438\u0442\u043D\u043E\u0433\u043E, \u043D\u043E \u0434\u043B\u044F \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0433\u0434\u0435 \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442 \u043C\u0438\u0441\u0441\u0438\u044F \u0432\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043D\u0435\u0436\u0435\u043B\u0430\u043D\u043D\u043E\u0435 \u043B\u0438\u0446\u043E. \u041D\u0435 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435 \u0441\u0435\u0431\u044F \u0431\u0435\u0437 \u043D\u0443\u0436\u0434\u044B, \u0447\u0442\u043E\u0431\u044B \u0443\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u0441\u0435\u0431\u0435 \u0436\u0435 \u0440\u0430\u0431\u043E\u0442\u0443 \u0438 \u043D\u0430 \u0432\u0430\u0441 \u0441\u0430\u043C\u0438\u0445 \u043D\u0435 \u0432\u0435\u043B\u0438 \u043E\u0445\u043E\u0442\u0443! \n\u0422\u0430\u043A \u0436\u0435 \u043C\u044B \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u043A\u043B\u0430\u043D \u043D\u0435 \u043E\u0434\u043E\u0431\u0440\u044F\u0435\u0442 \u0432\u0430\u0440\u0432\u0430\u0440\u0441\u043A\u0438\u0435 \u043C\u0435\u0442\u043E\u0434\u044B "\u0417\u0430\u0449\u0438\u0442\u044B" \u0446\u0435\u043B\u0438. \u041D\u0435\u0442 \u0432\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0441\u0430\u0434\u0438\u0442\u044C \u0437\u0430\u0449\u0438\u0449\u0430\u0435\u043C\u043E\u0433\u043E \u0432 \u043A\u043B\u0435\u0442\u043A\u0443 \u0438 \u0441\u043B\u0435\u0434\u0438\u0442\u044C \u0437\u0430 \u043D\u0438\u043C \u0442\u0430\u043C! \u041D\u0435 \u043F\u043E\u0440\u0442\u0438\u0442\u0435 \u043D\u0430\u0448\u0443 \u0440\u0435\u043F\u0443\u0442\u0430\u0446\u0438\u044E \u0432 \u0433\u043B\u0430\u0437\u0430\u0445 \u043D\u0430\u0448\u0438\u0445 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.cash,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041A\u0440\u0430\u0436\u0430 \u0434\u0435\u043D\u0435\u0433",content:"\u041A\u0430\u043A \u0431\u044B \u044D\u0442\u043E \u043D\u0435 \u0431\u044B\u043B\u043E \u0442\u0440\u0438\u0432\u0438\u0430\u043B\u044C\u043D\u043E. \u0418\u043D\u043E\u0433\u0434\u0430 \u043A\u043B\u0430\u043D \u043D\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044F \u0432 \u0434\u0435\u043D\u044C- \u0433\u0430\u0445. \u0418\u043B\u0438 \u0434\u0430\u0436\u0435 \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0432\u044B \u0437\u0430\u0434\u043E\u043B\u0436\u0430\u043B\u0438 \u043D\u0430\u043C. \u0412 \u0442\u0430\u043A\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u043C\u044B \u0441\u043A\u043E\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043E \u0434\u0430\u0434\u0438\u043C \u0432\u0430\u043C \u0437\u0430\u0434\u0430\u0447\u0443 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0434\u043B\u044F \u043D\u0430\u0441 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \n\u0414\u043B\u044F \u0432\u0430\u0441 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043D\u0435 \u0442\u0440\u0443\u0434\u043D\u0430\u044F, \u043D\u043E \u0432\u0440\u0435\u043C\u044F\u0437\u0430\u0442\u0440\u0430\u0442\u043D\u0430\u044F. \u041F\u043E\u043C\u043D\u0438\u0442\u0435, \u0447\u0442\u043E \u0432\u044B \u043D\u0430\u0442\u0440\u0435\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u0432 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B\u0445 \u043A\u0430\u0440\u043C\u0430\u043D\u043D\u044B\u0445 \u043A\u0440\u0430\u0436. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u044D\u0442\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0440\u0430\u0436\u0438 \u0447\u0443\u0436\u0438\u0445 \u043A\u0430\u0440\u0442 \u0438 \u043E\u0431\u043D\u0430\u043B\u0438\u0447\u0438- \u0432\u0430\u043D\u0438\u044F \u0438\u0445 \u0441\u0447\u0435\u0442\u043E\u0432. \u041B\u0438\u0431\u043E \u043C\u043E\u0436\u0435\u0442\u0435 \u043C\u0435\u0442\u0438\u0442\u044C \u0432\u044B\u0448\u0435 \u0438 \u043E\u0433\u0440\u0430\u0431\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u0438\u043B\u0438 \u0441\u0447\u0435\u0442\u0430 \u0441\u0430\u043C\u043E\u0433\u043E \u043E\u0431\u044C\u0435\u043A\u0442\u0430 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435. \u0414\u043E\u0441\u0442\u0430\u043D\u044C\u0442\u0435 \u044D\u0442\u0438 \u0434\u0435\u043D\u044C\u0433\u0438!",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.handcuff,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430",content:"\u0412 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044F\u0445 \u0447\u0443\u0436\u043E\u0439 \u043F\u043E\u0437\u043E\u0440 \u0434\u043B\u044F \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u0432 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0438\u043D\u0442\u0435\u0440\u0435\u0441\u043D\u0435\u0435 \u0447\u0435\u043C \u0441\u043C\u0435\u0440\u0442\u044C. \u0412 \u0442\u0430\u043A\u0438\u0445 \u0441\u043B\u0443\u0447\u0430\u044F\u0445 \u0432\u0430\u043C \u043F\u0440\u0438\u0439\u0434\u0451\u0442\u0441\u044F \u043F\u0440\u043E\u044F\u0432\u0438\u0442\u044C \u043A\u0440\u0435\u0430\u0442\u0438\u0432\u043D\u043E\u0441\u0442\u044C \u0438 \u0434\u043E\u0431\u0438\u0442\u044C\u0441\u044F \u0442\u043E\u0433\u043E, \u0447\u0442\u043E\u0431\u044B \u0432\u0430\u0448\u0443 \u0436\u0435\u0440\u0442\u0432\u0443 \u043F\u043E \u0437\u0430\u043A\u043E\u043D\u043D\u044B\u043C \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F\u043C \u0443\u043F\u0435\u043A\u043B\u0438 \u0437\u0430 \u0440\u0435\u0448\u0451\u0442\u043A\u0443 \u0421\u0430\u043C\u043E\u0435 \u0433\u043B\u0430\u0432\u043D\u043E\u0435 \u0447\u0442\u043E\u0431\u044B \u0432 \u043A\u0440\u0438\u043C\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0446\u0435\u043B\u0438 \u043E\u0441\u0442\u0430\u043B\u0441\u044F \u0441\u043B\u0435\u0434. \u041D\u043E \u0432 \u0442\u043E \u0436\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u043F\u0440\u0438\u0439\u0442\u0438 \u0438 \u0432\u043F\u0438\u0441\u0430\u0442\u044C \u0446\u0435\u043B\u0438 \u0441\u0440\u043E\u043A \u0432 \u043A\u043E\u043D\u0441\u043E\u043B\u0438 - \u043D\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0439 \u043C\u0435\u0442\u043E\u0434. \u0426\u0435\u043B\u044C \u043B\u0435\u0433\u043A\u043E \u043E\u043F\u0440\u0430\u0432\u0434\u0430\u044E\u0442 \u0432 \u0441\u0443\u0434\u0435, \u0447\u0442\u043E \u043D\u0435 \u0443\u0441\u0442\u0440\u043E\u0438\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430. \n \u0423 \u0432\u0430\u0441 \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0434 \u043B\u0438\u0447\u0438\u043D\u043E\u0439 \u0446\u0435\u043B\u0438. \u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043F\u043E\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044C \u043E\u0431\u043E\u0439\u0442\u0438\u0441\u044C \u0431\u0435\u0437 \u0441\u043B\u0438\u0448- \u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u043F\u043E\u0441\u043B\u0435\u0434\u0441\u0442\u0432\u0438\u0439. \u041B\u0438\u0448\u043D\u044F\u044F \u0434\u044B\u0440\u0430 \u0432 \u043E\u0431\u0448\u0438\u0432\u043A\u0435 \u0441\u0442\u0430\u043D\u0446\u0438\u0438 \u0438\u043B\u0438 \u0442\u0440\u0443\u043F\u044B - \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u044E\u0442 \u0448\u0430\u043D\u0441\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0430 \u0432\u0430\u0448\u0435\u0433\u043E \u043F\u043B\u0430\u043D\u0430.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.spider_charge,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041F\u043E\u0434\u0440\u044B\u0432 \u043E\u0442\u0434\u0435\u043B\u0430",content:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0434\u043E\u0431\u0440\u044B\u0435 \u0431\u043E\u043C\u0431\u044B. \u042D\u0444\u0444\u0435\u043A- \u0442\u0438\u0432\u043D\u044B\u0435 \u043E\u0440\u0443\u0434\u0438\u044F \u0443\u043D\u0438\u0447\u0442\u043E\u0436\u0435\u043D\u0438\u044F \u0432\u0441\u0435\u0433\u043E \u0436\u0438\u0432\u043E\u0433\u043E \u0438 \u043D\u0435\u0436\u0438\u0432\u043E\u0433\u043E \u0432 \u0431\u043E\u043B\u044C\u0448\u043E\u043C \u0440\u0430\u0434\u0438\u0443\u0441\u0435. \u041A\u043E\u0433\u0434\u0430 \u043A\u043B\u0438\u0435\u043D\u0442\u044B \u043F\u0440\u043E\u0441\u044F\u0442 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u043E\u0431\u044C\u0435\u043A\u0442, \u043E\u043D\u0438 \u0447\u0430\u0441\u0442\u043E \u043D\u0435 \u0437\u043D\u0430\u044E\u0442 \u043D\u0430\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0434\u043E\u0440\u043E\u0433\u043E \u0441\u0442\u043E\u0438\u0442 \u0442\u0430\u043A\u0430\u044F \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u041D\u043E \u0440\u0435\u0434\u043A\u043E \u0433\u043E\u0442\u043E\u0432\u044B \u0441\u0434\u0430\u0442\u044C\u0441\u044F. \u041A\u0430\u043A \u0440\u0430\u0437 \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u043C\u043D\u043E\u0433\u0438\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u043D\u044B \u043D\u0430 \u043F\u043E\u0434\u0440\u044B\u0432 \u043E\u0434\u043D\u043E\u0439 \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u0438\u043B\u0438 \u043E\u0442\u0434\u0435\u043B\u0430. \n\u0411\u0443\u0434\u044C\u0442\u0435 \u0433\u043E\u0442\u043E\u0432\u044B \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u043F\u043E\u0441\u043B\u0435 \u0432\u0437\u0440\u044B\u0432\u0430 \u043D\u0430 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438\u0441\u044C \u043E\u0445\u043E\u0442\u0430. \n \u041D\u0430\u0448\u0438 \u0431\u043E\u043C\u0431\u044B \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u043E \u0438\u0437\u0433\u043E\u0442\u043E\u0432\u043B\u0435\u043D\u044B \u0441 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0438\u0442\u0435\u043B\u044F\u043C\u0438. \u041D\u0438\u043A\u0442\u043E \u043A\u0440\u043E\u043C\u0435 \u0432\u0430\u0441 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442 \u0438\u0445 \u043F\u043E\u0434\u043E\u0440\u0432\u0430\u0442\u044C \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u043B\u0438\u0448\u044C \u0432 \u0437\u043E\u043D\u0435 \u0437\u0430\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u043E\u043C. \u0421\u043E\u0432\u0435\u0442\u0443\u0435\u043C \u0441\u0440\u0430\u0437\u0443 \u0431\u0435\u0436\u0430\u0442\u044C \u043F\u043E\u0434\u0430\u043B\u044C\u0448\u0435 \u043F\u043E\u0441\u043B\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0438. \u0425\u043E\u0442\u044F \u044D\u0442\u043E \u0438 \u0442\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u0434\u043B\u044F \u0432\u0430\u0441 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E.",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.BSM,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0410\u043D\u0430\u043B\u0438\u0437 \u043A\u0440\u043E\u0432\u0438",content:'"\u0417\u043D\u0430\u0439 \u0441\u0432\u043E\u0435\u0433\u043E \u0432\u0440\u0430\u0433\u0430" - \u043F\u0440\u043E\u0441\u0442\u0430\u044F \u0438\u0441\u0442\u0438\u043D\u0430. \n\u0417\u0430 \u0433\u043E\u0434\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u043D\u0430 \u043C\u044B \u0438\u0437\u0443\u0447\u0438\u043B\u0438 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0437\u043D\u044B\u0445 \u043E\u043F\u0430\u0441\u043D\u044B\u0445 \u0442\u0432\u0430\u0440\u0435\u0439. \u0418 \u0434\u043E \u0441\u0438\u0445 \u043F\u043E\u0440 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0435\u043C \u0438\u0437\u0443\u0447\u0435\u043D\u0438\u0435 \u043D\u0435\u043A\u043E- \u0442\u043E\u0440\u044B\u0445. \u0410 \u0447\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E, \u0447\u0442\u043E \u0438\u0437\u0443\u0447\u0430\u0442\u044C, \u043D\u0443\u0436\u043D\u043E \u0434\u043E\u0431\u044B\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B. \u041A\u0440\u043E\u0432\u044C \u043E\u0434\u0438\u043D \u0438\u0437 \u0441\u0430\u043C\u044B\u0445 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u044B\u0445 \u043F\u0440\u0438\u043C\u0435\u0440\u043E\u0432 \u0442\u043E\u0433\u043E, \u0447\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u043E\u043B\u0435\u0437\u043D\u043E \u043D\u0430\u0448\u0438\u043C \u0443\u0447\u0451\u043D\u044B\u043C. \n\u0418\u043C\u0435\u044E\u0449\u0430\u044F\u0441\u044F \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0431\u0430\u0437\u0435 \u0446\u0435\u043D\u0442\u0440\u0438\u0444\u0443\u0433\u0430 \u0434\u043B\u044F \u043A\u0440\u043E\u0432\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u0430 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0440\u043E\u0430\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u043D\u0435 \u043F\u043E\u0432\u0440\u0435\u0434\u0438\u0432 \u0438\u0445 \u0438 \u043F\u0435\u0440\u0435\u0434\u0430\u0442\u044C \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E \u043D\u0430\u043C. \n\u0414\u043B\u044F \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043A\u0440\u043E\u0432\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043E\u0431\u0440\u0430\u0442\u044C 3 \u0443\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0445 \u043E\u0431\u0440\u0430\u0437\u0446\u0430. \u0418 \u043F\u043E\u043C\u0435- \u0441\u0442\u0438\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u043E\u0431\u0438\u0440\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0442\u043E\u043C \u043D\u0430\u0434\u043E \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E. \n\u041F\u0440\u0438\u043C\u0435\u0441\u0438 \u043F\u0440\u0438\u043D\u044F\u0442\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442!',position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.changeling,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0413\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u044B",content:"\u0427\u0435\u0440\u0432\u0438 \u0432\u043E\u0437\u043E\u043C\u043D\u0438\u0432\u0448\u0438\u0435 \u0441\u0435\u0431\u044F \u0432\u044B\u0448\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0438\u0434\u043E\u0432 \u043F\u043E\u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0443\u043C\u0435\u044E\u0442 \u043A\u0440\u0430\u0441\u0442\u044C \u0433\u0435\u043D\u044B \u0438 \u0438\u043C\u0438\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445. \n\u0421\u0432\u043E\u0438\u043C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u043E\u043D\u0438 \u043F\u0440\u0438\u043D\u043E\u0441\u044F\u0442 \u0433\u043E\u0440\u0430\u0437\u0434\u043E \u0431\u043E\u043B\u044C\u0448\u0435 \u043F\u0440\u043E\u0431- \u043B\u0435\u043C, \u0447\u0435\u043C \u043F\u043E\u043B\u044C\u0437\u044B. \n\u042D\u0442\u0438 \u0442\u0432\u0430\u0440\u0438 \u0441\u0442\u043E\u043B\u044C \u0436\u0435 \u0445\u0438\u0442\u0440\u044B \u0441\u043A\u043E\u043B\u044C \u0438 \u0441\u043A\u0440\u044B\u0442\u043D\u044B. \u041D\u0435 \u0434\u043E\u0433\u043E\u0432\u0430\u0440\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441 \u043D\u0438\u043C\u0438 \u043D\u0438 \u043E \u0447\u0451\u043C! \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0436\u0435 \u043D\u0430\u043C \u0441\u043B\u043E\u0436\u043D\u043E \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0433\u0435\u043D\u043E\u043A\u0440\u0430\u0434\u0430 \u043D\u0435 \u0437\u0430\u043F\u0438\u0445- \u043D\u0443\u0432 \u0435\u0433\u043E \u0432 \u043B\u0430\u0431\u043E\u0440\u0430\u0442\u043E\u0440\u0438\u044E \u0438 \u043D\u0435 \u043F\u0440\u043E\u0432\u0435\u0434\u044F \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0442\u0435\u0441\u0442\u043E\u0432. \u041D\u043E \u043E\u043D\u0438 \u0438\u043D\u043E\u0433\u0434\u0430 \u0432\u044B\u0434\u0430\u044E\u0442 \u0441\u0435\u0431\u044F \u0441\u0432\u043E\u0438\u043C\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438. \u0418 \u0442\u0430\u043A \u0436\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u0438\u0432\u043D\u043E \u043B\u043E\u0436\u0430\u0442\u0441\u044F \u043D\u0430 \u0434\u043D\u043E \u0432 \u0441\u043B\u0443\u0447\u0430\u0435 \u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438. \u0427\u0442\u043E\u0431\u044B \u0431\u044B\u043B\u043E \u043B\u0435\u0433\u0447\u0435 \u0438\u0445 \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0434\u0430\u0439\u0442\u0435 \u0438\u043C \u043F\u043E\u043F\u043B\u044F\u0441\u0430\u0442\u044C, \u043F\u0440\u0435\u0436\u0434\u0435 \u0447\u0435\u043C \u0432\u044B\u0445\u043E\u0434\u0438\u0442\u044C \u043D\u0430 \u0441\u0446\u0435\u043D\u0443. \u0418 \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u0441\u043B\u0443\u0448\u0430\u0439\u0442\u0435 \u0440\u0430\u0434\u0438\u043E \u043D\u0430 \u043E\u0431\u044C\u0435\u043A\u0442\u0435. \u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043C\u0435\u0441\u0442\u043D\u0430\u044F \u043E\u0445\u0440\u0430\u043D\u0430 \u0443\u0436\u0435 \u043E\u0445\u043E\u0442\u0438\u0442\u0441\u044F \u0437\u0430 \u043E\u0434\u043D\u0438\u043C \u0438\u0437 \u043D\u0438\u0445. \n\u041D\u0438\u043A\u0442\u043E \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0442\u0438\u0432 \u0435\u0441\u043B\u0438 \u0432\u044B \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u043E \u043F\u043E\u043C\u043E\u0436\u0435\u0442\u0435 \u0438\u043C \u0441 \u044D\u0442\u0438\u043C...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.vampire,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0430\u043C\u043F\u0438\u0440\u044B",content:"\u0414\u0435\u0448\u0451\u0432\u044B\u0435 \u0440\u043E\u043C\u0430\u043D\u044B, \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0438 \u0441\u043A\u0430\u0437\u043A\u0438 \u043F\u0440\u043E\u0448\u043B\u043E\u0433\u043E \u043E\u043F\u0438\u0441\u044B\u0432\u0430\u043B\u0438 \u0432\u0430\u043C\u043F\u0438\u0440\u043E\u0432 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A\u043E\u0432 \u043F\u044C\u044E\u0449\u0438\u0445 \u043A\u0440\u043E\u0432\u044C \u043B\u044E\u0434\u0435\u0439 \u0432 \u043D\u043E\u0447\u0438 \u0438 \u043E\u0431\u043B\u0430\u0434\u0430\u044E- \u0449\u0438\u0445 \u043C\u0430\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u043C\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E- \u0441\u0442\u044F\u043C\u0438. \u0418\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0441\u0435\u0439\u0447\u0430\u0441 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043C\u0435\u043D\u0435\u0435 \u0440\u043E\u043C\u0430\u043D\u0442\u0438\u0447\u043D\u044B... \n\u041C\u044B \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u043D\u0430\u0435\u043C, \u0447\u0442\u043E \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u0438\u0445 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435, \u043D\u043E \u043D\u0430\u0448\u0438 \u043F\u043E\u0434\u043E\u0437\u0440\u0435- \u043D\u0438\u044F \u043F\u0430\u0434\u0430\u044E\u0442 \u043D\u0430 \u0432\u043B\u0438\u044F\u043D\u0438\u0435 \u043D\u0435\u043A\u043E\u0439 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u0441\u0443\u0449\u043D\u043E\u0441\u0442\u0438. \u0422\u0430\u043A \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435, \u0434\u043E \u0442\u0435\u0445 \u043F\u043E\u0440 \u043F\u043E\u043A\u0430 \u0432\u0430\u043C\u043F\u0438\u0440 \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u0438\u043B\u0438 \u0443\u0433\u0440\u043E\u0436\u0430\u0435\u0442 \u0432\u0430\u0448\u0435\u0439 \u0436\u0438\u0437\u043D\u0438. \u0412\u044B \u0432\u043E\u043B\u044C\u043D\u044B \u0435\u0433\u043E \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C. \n\u0412\u0430\u043C\u043F\u0438\u0440\u044B \u043E\u0447\u0435\u043D\u044C \u043E\u043F\u0430\u0441\u043D\u044B \u0432 \u043F\u0440\u044F\u043C\u043E\u043C \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438, \u043E\u043D\u0438 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u044B \u043E\u0433\u043B\u0443\u0448\u0430\u0442\u044C \u0432\u0437\u0433\u043B\u044F\u0434\u043E\u043C \u0438 \u043F\u043E\u0440\u0430\u0431\u043E\u0449\u0430\u0442\u044C \u0440\u0430\u0437\u0443\u043C \u0441\u0432\u043E\u0438\u0445 \u0436\u0435\u0440\u0442\u0432. \u041D\u0435 \u0434\u043E\u0432\u0435\u0440\u044F\u0439\u0442\u0435 \u0438\u043C, \u043D\u043E \u0442\u0430\u043A \u0436\u0435 \u043F\u043E\u043C\u043D\u0438\u0442\u0435 - \u043E\u043D\u0438 \u043B\u0438\u0448\u044C \u0436\u0435\u0440\u0442\u0432\u044B \u0441\u0442\u0435\u0447\u0435\u043D\u0438\u044F \u043E\u0431\u0441\u0442\u043E\u044F\u0442\u0435\u043B\u044C\u0441\u0442\u0432. \u0418 \u044D\u0442\u043E \u043C\u043E\u0436\u043D\u043E \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0432 \u0441\u0432\u043E\u044E \u043F\u043E\u043B\u044C\u0437\u0443...",position:"bottom-start"})]}),(0,e.createComponentVNode)(2,t.Button,{className:"Button_green",height:"32px",width:"32px",children:[(0,e.createVNode)(1,"img",null,null,1,{height:"32px",width:"32px",src:"data:image/jpeg;base64,"+h.syndicate,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442",content:"\u041D\u0430\u0448\u0438 \u0445\u043E\u0440\u043E\u0448\u0438\u0435 \u0437\u043D\u0430\u043A\u043E\u043C\u044B\u0435. \u0421\u0431\u043E\u0440\u0438\u0449\u0435 \u043C\u043E\u0433\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0445 \u0444\u0438\u0433\u0443\u0440 \u0432 \u043F\u043E\u0434\u043F\u043E\u043B\u044C\u043D\u043E\u043C \u043C\u0438\u0440\u0435 \u0441 \u0437\u0430\u043A\u0440\u044B\u0442\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0430 \u043E \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043C\u0430\u043B\u043E... \n\u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442 \u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u043A\u0430\u0437\u043E\u0432. \u041D\u043E \u0441\u0430\u043C\u043E\u0439 \u043E\u0447\u0435\u0432\u0438\u0434\u043D\u043E\u0439, \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u043A\u0442\u043E \u043A\u0430\u043A \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0445 \u0438\u0437\u0443\u0447\u0438\u0442, \u0447\u0435\u0440\u0442\u043E\u0439 \u044D\u0442\u043E\u0439 \u0433\u0440\u0443\u043F\u043F\u044B - \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043E\u0433\u0440\u043E\u043C\u043D\u0430\u044F \u043D\u0435\u043D\u0430\u0432\u0438\u0441\u0442\u044C \u043A \u041D\u0422. \n\u0412 \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u0442\u043E\u043B\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u044F \u0441 \u0430\u0433\u0435\u043D\u0442\u0430\u043C\u0438 \u0421\u0438\u043D\u0434\u0438\u043A\u0430\u0442\u0430 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043D\u0430\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043F\u0440\u043E\u0441\u0442\u0430. \n\u0415\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u043C\u0435\u0448\u0430\u044E\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E \u0437\u0430\u0434\u0430\u043D\u0438\u044F. \u041C\u044B \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u043C \u0438\u043C.",position:"bottom-start"})]})]})})})},c=function(l,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data,C=h.allActionsPreview,N=h.blocked_TGUI_rows,x=[{blue:"Button_blue",green:"Button_green",red:"Button_red",disabled:"Button_disabled"}];return(0,e.createComponentVNode)(2,t.Section,{title:"\u041C\u043E\u0434\u0443\u043B\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0443\u043B\u0443\u0447\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0435\u0433\u043E \u043A\u043E\u0441\u0442\u044E\u043C\u0430! \u0414\u0435\u043B\u044F\u0442\u0441\u044F \u043D\u0430 3 \u0440\u0430\u0437\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u0430 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438. \u0418\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u0439 \u043F\u043E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044E \u0440\u0430\u0431\u043E\u0442\u043E\u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043A\u043E\u0441\u0442\u044E\u043C\u0430, \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043B\u044E\u0431\u043E\u0433\u043E \u043C\u043E\u0434\u0443\u043B\u044F, \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u0435 \u043C\u043E\u0434\u0443\u043B\u0435\u0439 \u043E\u0434\u043D\u043E\u0433\u043E \u0443\u0440\u043E\u0432\u043D\u044F \u0438\u0437 \u0441\u043E\u0441\u0435\u0434\u043D\u0438\u0445 \u0441\u0442\u043E\u043B\u0431\u0446\u043E\u0432",tooltipPosition:"bottom"}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",alignContent:"center",ml:1.5,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041F\u0440\u0438\u0437\u0440\u0430\u043A",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0421\u043A\u0440\u044B\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0441\u0440\u0435\u0434\u0438 \u0432\u0440\u0430\u0433\u043E\u0432, \u043D\u0430\u043F\u0430\u0434\u0430\u0439\u0442\u0435 \u0438\u0437 \u0442\u0435\u043D\u0438 \u0438 \u0431\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0440\u0438\u043C\u043E\u0439 \u0443\u0433\u0440\u043E\u0437\u043E\u0439, \u0432\u0441\u0451 \u0434\u043B\u044F \u0442\u043E\u0433\u043E \u0447\u0442\u043E\u0431\u044B \u043E \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0435\u0439 \u043C\u0438\u0441\u0441\u0438\u0438 \u043D\u0438\u043A\u0442\u043E \u043D\u0435 \u0443\u0437\u043D\u0430\u043B! \u0411\u0443\u0434\u044C\u0442\u0435 \u043D\u0435\u0437\u0430\u043C\u0435\u0442\u043D\u044B \u043A\u0430\u043A \u043F\u0440\u0438\u0437\u0440\u0430\u043A!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(53, 94, 163, 0.8)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_blue",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"smoke",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.smoke,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0414\u042B\u041C\u041E\u0412\u0410\u042F \u0417\u0410\u0412\u0415\u0421\u0410",content:"\u0412\u044B \u0441\u043E\u0437\u0434\u0430\u0451\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043F\u0443\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438\u0445 \u0432\u0440\u0430\u0433\u043E\u0432. \n\u042D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u0441\u043E\u0447\u0435\u0442\u0430\u0435\u0442\u0441\u044F \u0441 \u0432\u0430\u0448\u0438\u043C \u0432\u0438\u0437\u043E\u0440\u043E\u043C \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0442\u0435\u0440\u043C\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0441\u043A\u0430\u043D\u0435\u0440\u0430. \n\u0410 \u0442\u0430\u043A \u0436\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438\u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u043C\u043D\u043E\u0433\u0438\u043C\u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043C\u043E\u0434\u0443\u043B\u044F\u043C\u0438 \u0435\u0441\u043B\u0438 \u0432\u044B \u0442\u043E\u0433\u043E \u043F\u043E\u0436\u0435\u043B\u0430\u0435\u0442\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 250 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"ninja_cloak",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_cloak,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u041D\u0415\u0412\u0418\u0414\u0418\u041C\u041E\u0421\u0422\u042C",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u043C\u0430\u0441\u043A\u0438\u0440\u043E\u0432\u043E\u0447\u043D\u043E\u0435 \u043F\u043E\u043B\u0435 \u0441\u043A\u0440\u044B\u0432\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0441 \u0438\u0437 \u0432\u0438\u0434\u0443 \u0438 \u043F\u0440\u0438\u0433\u043B\u0443\u0448\u0430- \u044E\u0449\u0435\u0435 \u0432\u0430\u0448\u0438 \u0448\u0430\u0433\u0438. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \u0425\u043E\u0442\u044C \u043F\u043E\u043B\u0435 \u0438 \u0441\u043A\u0440\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0441 \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E, \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u0439 \u0443\u0431\u0438\u0439\u0446\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0445\u043B\u0430\u0434\u043D\u043E\u043A\u0440\u043E\u0432\u0435\u043D. \n\u041D\u0435 \u0441\u0442\u043E\u0438\u0442 \u043D\u0435\u0434\u043E\u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0442\u044C \u0432\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u0445 \u043B\u044E\u0434\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 15 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"ninja_clones",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_clones,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u041A\u041B\u041E\u041D\u042B",content:"\u0421\u043E\u0437\u0434\u0430\u0451\u0442 \u0434\u0432\u0443\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0433\u043E\u0442\u043E\u0432\u044B\u0445 \u043F\u043E\u043C\u043E\u0447\u044C \u0432 \u0431\u0438\u0442\u0432\u0435 \u0438 \u0434\u0435\u0437\u043E\u0440\u0438\u0435\u043D\u0442\u0438- \u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u0430 \n\u0422\u0430\u043A \u0436\u0435 \u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435 \u0441\u043C\u0435\u0449\u0430\u0435\u0442 \u0432\u0430\u0441 \u0438 \u0432\u0430\u0448\u0438\u0445 \u043A\u043B\u043E\u043D\u043E\u0432 \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u043C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043F\u0430\u0440\u044B \u043C\u0435\u0442\u0440\u043E\u0432. \n\u041F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435\u0441\u044C \u043E\u0441\u0442\u043E\u0440\u043E\u0436\u043D\u043E. \u0421\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0435 \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0435\u0440\u0435\u0442\u044C \u0432\u0430\u0441 \u0437\u0430 4-\u043C\u044F \u0441\u0442\u0435\u043D\u0430\u043C\u0438. \u0411\u0443\u0434\u044C\u0442\u0435 \u043A \u044D\u0442\u043E\u043C\u0443 \u0433\u043E\u0442\u043E\u0432\u044B. \n\u041A\u043B\u043E\u043D\u044B \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 20 \u0441\u0435\u043A\u0443\u043D\u0434. \u041A\u043B\u043E\u043D\u044B \u0438\u043C\u0435\u044E\u0442 \u0448\u0430\u043D\u0441 \u0440\u0430\u0437\u043C\u043D\u043E\u0436\u0438\u0442\u0441\u044F \u0430\u0442\u0430\u043A\u0443\u044F \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u0438\u043A\u043E\u0432. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 8 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"chameleon",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chameleon,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0425\u0410\u041C\u0415\u041B\u0415\u041E\u041D",content:"\u0412\u044B \u0444\u043E\u0440\u043C\u0438\u0440\u0443\u0435\u0442\u0435 \u0432\u043E\u043A\u0440\u0443\u0433 \u0441\u0435\u0431\u044F \u0433\u043E\u043B\u043E\u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435 \u0438\u0441\u043A\u0430\u0436\u0430\u044E\u0449\u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u0438 \u0441\u043B\u0443\u0445\u043E\u0432\u043E\u0435 \u0432\u043E\u0441\u043F\u0440\u0438\u044F\u0442\u0438\u0435 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432. \n\u0412\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u0438\u0434\u0435\u0442\u044C \u0438 \u0441\u043B\u044B\u0448\u0430\u0442\u044C \u043A\u0430\u043A \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430 \u043A\u043E\u0442\u043E\u0440\u043E\u0433\u043E \u0432\u044B \u043F\u0440\u043E\u0441\u043A\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E\u043C. \n\u042D\u0442\u043E \u0434\u0430\u0451\u0442 \u0432\u0430\u043C \u043E\u0433\u0440\u043E\u043C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u0442\u043E\u0440 \u043F\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u044E \u0438 \u0438\u043C\u0438\u0442\u0430\u0446\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0447\u043B\u0435\u043D\u0430 \u044D\u043A\u0438\u043F\u0430\u0436\u0430. \n\u041F\u043E\u043B\u0435 \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0445\u0440\u0443\u043F\u043A\u043E\u0435 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0440\u0430\u0437\u043B\u0435\u0442\u0435\u0442\u044C\u0441\u044F \u043E\u0442 \u043B\u044E\u0431\u043E\u0433\u043E \u0440\u0435\u0437\u043A\u043E\u0433\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0438\u043B\u0438 \u0443\u0434\u0430\u0440\u0430. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044F \u0437\u0430\u043D\u0438\u043C\u0430\u0435\u0442 2 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439 \u0445\u0430\u043C\u0435\u043B\u0435\u043E\u043D \u0441\u043B\u0430\u0431\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: \u041E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].blue,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"ninja_spirit_form",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.ninja_spirit_form,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0424\u041E\u0420\u041C\u0410 \u0414\u0423\u0425\u0410",content:"\u0412\u044B \u0432\u043E\u0437\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u043D\u0430 \u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u043F\u043E\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043E\u043C \u044D\u0442\u043E\u0439 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u043E\u0439 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0438. \n\u0414\u0435\u043B\u0430\u044F \u0432\u0430\u0448\u0435 \u0442\u0435\u043B\u043E \u043D\u0435\u0441\u0442\u0430\u0431\u0438\u043B\u044C\u043D\u044B\u043C \u044D\u0442\u0430 \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u0440\u0443\u0435\u0442 \u0432\u0430\u043C \u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0434\u0438\u0442\u044C \u0441\u043A\u0432\u043E\u0437\u044C \u0441\u0442\u0435\u043D\u044B. \n\u042D\u0442\u0430 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u043D\u0435 \u0441\u0434\u0435\u043B\u0430\u0435\u0442 \u0432\u0430\u0441 \u043D\u0435\u0443\u044F\u0437\u0432\u0438\u043C\u044B\u043C \u0434\u043B\u044F \u043F\u0443\u043B\u044C \u0438 \u043B\u0435\u0437\u0432\u0438\u0439! \n\u041D\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u0441\u043D\u044F\u0442\u044C \u0441 \u0441\u0435\u0431\u044F \u043D\u0430\u0440\u0443\u0447\u043D\u0438\u043A\u0438, \u0431\u043E\u043B\u044B \u0438 \u0434\u0430\u0436\u0435 \u0432\u044B\u043B\u0435\u0437\u0442\u0438 \u0438\u0437 \u0433\u0440\u043E\u0431\u0430 \u0438\u043B\u0438 \u044F\u0449\u0438\u043A\u0430, \u043E\u043A\u0430\u0436\u0438\u0441\u044C \u0432\u044B \u0442\u0430\u043C \u0437\u0430\u043F\u0435\u0440\u0442\u044B... \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0441\u0442\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u0430. \n\u0410\u043A\u0442\u0438\u0432\u043D\u0430\u044F \u0444\u043E\u0440\u043C\u0430 \u0434\u0443\u0445\u0430 \u0437\u043D\u0430\u0447\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0439 \u0440\u0430\u0441\u0445\u043E\u0434 \u044D\u043D\u0435\u0440\u0433\u0438\u0438! \u041F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u0435 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0432\u043D\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043E\u0431\u044A\u0451\u043C\u0430 \u0431\u0430\u0442\u0430\u0440\u0435\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 25 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0417\u043C\u0435\u0439",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u0423\u0434\u0438\u0432\u043B\u044F\u0439\u0442\u0435! \u0422\u0440\u044E\u043A\u0438, \u043B\u043E\u0432\u0443\u0448\u043A\u0438, \u0449\u0438\u0442\u044B. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C, \u0447\u0442\u043E \u0442\u0430\u043A\u043E\u0435 \u0431\u043E\u0439 \u0441 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0438\u043C \u0443\u0431\u0438\u0439\u0446\u0435\u0439. \u0418\u0437\u0432\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u0438 \u0438\u0437\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044C \u043D\u0430\u0445\u043E\u0434\u044F \u0432\u044B\u0445\u043E\u0434 \u0438\u0437 \u043B\u044E\u0431\u043E\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0412\u0440\u0430\u0433\u0438 \u0432\u0441\u0435\u0433\u043E \u043B\u0438\u0448\u044C \u0433\u0440\u044B\u0437\u0443\u043D\u044B, \u0447\u044C\u0451 \u043B\u043E\u0433\u043E\u0432\u043E \u043D\u0430\u0432\u0435\u0441\u0442\u0438\u043B \u0437\u043C\u0435\u0439!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(0, 174, 208, 0.15)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"kunai",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.kunai,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u0422\u0420\u041E\u0415\u041D\u041D\u041E\u0415 \u0414\u0416\u041E\u0425\u042C\u0401",content:"\u0422\u0430\u043A \u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043D\u043E \u043A\u0430\u043A \u0428\u044D\u043D\u0431\u044F\u043E \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u043E \u041A\u0438\u043D\u0436\u0430\u043B \u043D\u0430 \u0446\u0435\u043F\u0438. \n\u0418\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0438 \u043F\u0440\u0438\u0442\u044F\u043D\u0443\u0442\u044C \u043A \u0441\u0435\u0431\u0435 \u0436\u0435\u0440\u0442\u0432\u0443 \u0437\u0430 \u0434\u043E\u043B\u0438 \u0441\u0435\u043A\u0443\u043D\u0434\u044B. \n\u041E\u0440\u0443\u0436\u0438\u0435 \u043D\u0435 \u043E\u0447\u0435\u043D\u044C \u0433\u043E\u0434\u0438\u0442\u0441\u044F \u0434\u043B\u044F \u0434\u043E\u043B\u0433\u0438\u0445 \u0431\u043E\u0451\u0432, \u043D\u043E \u043E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u044B\u0442\u044F\u0433\u0438\u0432\u0430\u043D\u0438\u044F \u043E\u0434\u043D\u043E\u0439 \u0436\u0435\u0440\u0442\u0432\u044B - \u043D\u0430 \u0440\u0430\u0441\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0443\u0434\u0430\u0440\u0430! \n\u0413\u043B\u0430\u0432\u043D\u043E\u0435 \u043D\u0435 \u043F\u0440\u043E\u043C\u0430\u0445\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0441\u0442\u0440\u0435\u043B\u044C\u0431\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 5 \u0441\u0435\u043A\u0443\u043D\u0434.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"chem_injector",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.chem_injector,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0418\u0421\u0426\u0415\u041B\u042F\u042E\u0429\u0418\u0419 \u041A\u041E\u041A\u0422\u0415\u0419\u041B\u042C",content:"\u0412\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u043B\u0435\u0447\u0435\u0431\u043D\u0443\u044E \u0441\u043C\u0435\u0441\u044C. \u0421\u043F\u043E\u0441\u043E\u0431\u043D\u0443\u044E \u0437\u0430\u043B\u0435\u0447\u0438\u0442\u044C \u0434\u0430\u0436\u0435 \u0441\u043B\u043E\u043C\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u0441\u0442\u0438 \u0438 \u043E\u0442\u043E\u0440\u0432\u0430\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u041F\u0440\u0435\u043F\u0430\u0440\u0430\u0442 \u0432\u044B\u0437\u044B\u0432\u0430\u0435\u0442 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442- \n\u0432\u0435\u043D\u043D\u043E-\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u0434\u043E\u043A\u0441\u044B \u0438 \u043E\u0447\u0435\u043D\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E \u0432\u044B\u0432\u043E\u0434\u0438\u0442\u0441\u044F \u0438\u0437 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0430! \n\u041F\u0440\u0438 \u043F\u0435\u0440\u0435\u0434\u043E\u0437\u0438\u0440\u043E\u0432\u043A\u0435 \u043E\u043D\u0438 \u0441\u0442\u0430\u043D\u043E\u0432\u044F\u0442\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u043E\u043F\u0430\u0441\u043D\u044B \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041D\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u0435 \u0431\u043E\u043B\u044C\u0448\u0435 30 \u0435\u0434. \u043F\u0440\u0435\u043F\u0430\u0440\u0430\u0442\u0430 \u0432 \u0432\u0430\u0448 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C! \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u0438\u043C\u0435\u0435\u0442 3 \u0437\u0430\u0440\u044F\u0434\u0430. \u0418\u0445 \u043C\u043E\u0436\u043D\u043E \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0431\u043B\u044E\u0441\u043F\u0435\u0439\u0441 \u043A\u0440\u0438\u0441\u0442\u0430\u043B\u043B\u043E\u0432 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emergency_blink",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emergency_blink,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041A\u0421\u0422\u0420\u0415\u041D\u041D\u0410\u042F \u0422\u0415\u041B\u0415\u041F\u041E\u0420\u0422\u0410\u0426\u0418\u042F",content:"\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u0432 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u0443\u044E \u0437\u043E\u043D\u0443 \u0432 \u0440\u0430\u0434\u0438\u0443\u0441\u0435 \u043E\u043A\u043E\u043B\u043E \u0434\u0432\u0443\u0445 \u0434\u0435\u0441\u044F\u0442\u043A\u043E\u0432 \u043C\u0435\u0442\u0440\u043E\u0432. \n\u0414\u043B\u044F \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F \u043C\u043E\u0437\u0433\u043E\u0432\u044B\u0435 \u0438\u043C\u043F\u0443\u043B\u044C\u0441\u044B \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \u041F\u043E\u044D\u0442\u043E\u043C\u0443 \u043E\u043F\u044B\u0442\u043D\u044B\u0435 \u0432\u043E\u0438\u043D\u044B \u043A\u043B\u0430\u043D\u0430, \u043C\u043E\u0433\u0443\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0435\u0451 \u0434\u0430\u0436\u0435 \u0432\u043E \u0441\u043D\u0435. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 3 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"caltrop",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.caltrop,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E-\u0427\u0415\u0421\u041D\u041E\u041A",content:"\u0427\u0430\u0449\u0435 \u0438\u0445 \u043D\u0430\u0437\u044B\u0432\u0430\u044E\u0442 \u043F\u0440\u043E\u0441\u0442\u043E \u043A\u0430\u043B\u0442\u0440\u043E\u043F\u044B, \u0438\u0437-\u0437\u0430 \u0437\u0430\u043F\u0443\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0445 \u0430\u0441\u0441\u043E\u0446\u0438\u0430\u0446\u0438\u0439 \u0441 \u0431\u043E\u043B\u0435\u0435 \u0441\u044A\u0435\u0441\u0442\u043D\u044B\u043C \u0447\u0435\u0441\u043D\u043E\u043A\u043E\u043C. \n\u041F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u043F\u043E\u0437\u0430\u0434\u0438 \u0432\u0430\u0441 \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043F\u0440\u0435\u0441\u0441\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043B\u043E\u0432\u0443\u0448\u043A\u0438. \n\u041B\u043E\u0432\u0443\u0448\u043A\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442 \u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E 10 \u0441\u0435\u043A\u0443\u043D\u0434. \u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043F\u0430\u0434\u0430\u044E\u0442 - \u0435\u0441\u043B\u0438 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0443\u043F\u0438\u0442\u044C. \n\u0411\u043E\u043B\u044C \u043E\u0442 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u043E\u0433\u043E \u0448\u0430\u0433\u0430 \u043D\u0430 \u043D\u0438\u0445 \u043D\u0430\u0441\u0442\u0438\u0433\u043D\u0435\u0442 \u0434\u0430\u0436\u0435 \u0440\u043E\u0431\u043E\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D- \u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u043E\u0441\u0442\u0438. \n\u0412\u044B \u043D\u0435 \u0437\u0430\u0449\u0438\u0449\u0435\u043D\u044B \u043E\u0442 \u043D\u0438\u0445. \u041D\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u0430\u0439\u0442\u0435 \u043D\u0430 \u0441\u0432\u043E\u0438 \u0436\u0435 \u043B\u043E\u0432\u0443\u0448\u043A\u0438! \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 1500 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].green,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"cloning",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.cloning,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0422\u041E\u0420\u041E\u0419 \u0428\u0410\u041D\u0421",content:"\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u043C \u043C\u043D\u043E\u0433\u0438\u0435 \u0443\u0431\u0438\u0439\u0446\u044B \u043F\u0440\u043E\u0432\u0430\u043B\u0438\u0432\u0430\u044F \u0441\u0432\u043E\u0438 \u043C\u0438\u0441\u0441\u0438\u0438 \u0441\u043E\u0432\u0435\u0440\u0448\u0430\u043B\u0438 \u0441\u0430\u043C\u043E\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u0430 \u0438\u043B\u0438 \u043E\u043A\u0430\u0437\u044B\u0432\u0430\u043B\u0438\u0441\u044C \u0432 \u043B\u0430\u043F\u0430\u0445 \u0432\u0440\u0430\u0433\u0430. \n\u0421\u0435\u0439\u0447\u0430\u0441 \u0436\u0435 \u0435\u0441\u0442\u044C \u0434\u043E\u0432\u043E\u043B\u044C\u043D\u043E \u0434\u043E\u0440\u043E\u0433\u0430\u044F \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u0430. \u041C\u043E\u0449\u043D\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u043E\u0441\u043E\u0431\u043D\u043E\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044C \u0432\u0430\u0441 \u043F\u0440\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441 \u0442\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u0430. \n\u042D\u0442\u0430 \u043C\u0430\u0448\u0438\u043D\u0430 \u043F\u043E\u0437\u0432\u043E\u043B\u0438\u0442 \u0432\u0430\u043C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0439 \u0448\u0430\u043D\u0441, \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0432 \u0432\u0430\u0441 \u043A \u0441\u0435\u0431\u0435 \u0438 \u0438\u0437\u043B\u0435\u0447\u0438\u0432 \u043B\u044E\u0431\u044B\u0435 \u0442\u0440\u0430\u0432\u043C\u044B. \n\u041C\u044B \u0441\u043B\u044B\u0448\u0430\u043B\u0438 \u043F\u0440\u043E \u0441\u043E\u043C\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u043D\u0430 \u0438\u0434\u0435\u0435, \u0447\u0442\u043E \u044D\u0442\u043E \u043F\u0440\u043E\u0441\u0442\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u043A\u043B\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0447\u043B\u0435\u043D\u043E\u0432 \u043A\u043B\u0430\u043D\u0430. \u041D\u043E \u0443\u0432\u0435\u0440\u044F\u0435\u043C \u0432\u0430\u0441, \u044D\u0442\u043E \u043D\u0435 \u0442\u0430\u043A. \n\u041A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0438\u0437-\u0437\u0430 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043D\u0430 \u043B\u0435\u0447\u0435\u043D\u0438\u0435 \u0438 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u044E. \u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043F\u0430\u0441\u0451\u0442 \u0432\u0430\u0441 \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0430\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u0431\u0443\u0434\u0435\u0442\u0435 \u043F\u0440\u0438 \u0441\u043C\u0435\u0440\u0442\u0438.",position:"right"})]})]})]}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"33%",shrink:1,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u043B\u044C",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u042F\u0440\u043E\u0441\u0442\u044C \u043D\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C. \u0421\u0438\u043B\u0430, \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0438 \u043E\u0440\u0443\u0434\u0438\u044F \u0432\u044B\u0448\u0435 \u0438\u0445 \u043F\u043E\u043D\u0438\u043C\u0430\u043D\u0438\u044F. \u0420\u0430\u0437\u0438\u0442\u0435 \u0438\u0445 \u043A\u0430\u043A \u0445\u0438\u0449\u043D\u0438\u043A \u0447\u0442\u043E \u0440\u0430\u0437\u0438\u0442 \u0441\u0432\u043E\u044E \u0434\u043E\u0431\u044B\u0447\u0443. \u041F\u043E\u043A\u0430\u0436\u0438\u0442\u0435 \u0438\u043C \u0445\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0432\u043A\u0443\u0441 \u0441\u0442\u0430\u043B\u0438!",tooltipPosition:"bottom"}),style:{"text-align":"center",background:"rgba(80, 20, 20, 1)"}}),(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_red",success:0,danger:0,align:"center",children:[(0,e.createComponentVNode)(2,t.Button,{className:N[0]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[0],onClick:function(){function B(){return g("give_ability",{style:"shuriken",row:"1"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.shuriken,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0418\u0415 \u0421\u042E\u0420\u0418\u041A\u0415\u041D\u042B",content:"\u0410\u043A\u0442\u0438\u0432\u0438\u0440\u0443\u0435\u0442 \u043F\u0443\u0441\u043A\u043E\u0432\u043E\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0441\u043A\u0440\u044B\u0442\u043E\u0435 \u0432 \u043F\u0435\u0440\u0447\u0430\u0442\u043A\u0430\u0445 \u043A\u043E\u0441\u0442\u044E\u043C\u0430. \n\u0423\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u043E \u0432\u044B\u043F\u0443\u0441\u043A\u0430\u0435\u0442 \u043F\u043E \u0442\u0440\u0438 \u0441\u044E\u0440\u0438\u043A\u0435\u043D\u0430, \u0441\u0434\u0435\u043B\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u0436\u0430\u0442\u043E\u0439 \u044D\u043D\u0435\u0440\u0433\u0438\u0438, \u043E\u0447\u0435\u0440\u0435\u0434\u044C\u044E. \n\u0421\u044E\u0440\u0438\u043A\u0435\u043D\u044B \u043F\u043E\u0441\u0442\u0435\u043F\u0435\u043D\u043D\u043E \u0438\u0437\u043D\u0443\u0440\u044F\u044E\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0438 \u043D\u0430\u043D\u043E\u0441\u044F\u0442 \u0441\u043B\u0430\u0431\u044B\u0439 \u043E\u0436\u043E\u0433\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u043D. \n\u0422\u0430\u043A \u0436\u0435 \u043E\u043D\u0438 \u043F\u0440\u043E\u043B\u0435\u0442\u0430\u044E\u0442 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0435\u043A\u043B\u043E, \u043A\u0430\u043A \u0438 \u043E\u0431\u044B\u0447\u043D\u044B\u0435 \u043B\u0430\u0437\u0435\u0440\u043D\u044B\u0435 \u0441\u043D\u0430\u0440\u044F\u0434\u044B. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0432\u044B\u0441\u0442\u0440\u0435\u043B\u0430: 300 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[1]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[1],onClick:function(){function B(){return g("give_ability",{style:"adrenal",row:"2"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.adrenal,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0412\u0421\u041F\u041B\u0415\u0421\u041A \u0410\u0414\u0420\u0415\u041D\u0410\u041B\u0418\u041D\u0410",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u0432\u0432\u043E\u0434\u0438\u0442 \u0432 \u0432\u0430\u0441 \u043C\u043E\u0449\u043D\u0443\u044E \u044D\u043A\u0441\u043F\u0435\u0440\u0435\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0443\u044E \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0443\u0441\u043A\u043E\u0440\u044F\u044E\u0449\u0443\u044E \u0432\u0430\u0441 \u0432 \u0431\u043E\u044E \u0438 \u043F\u043E\u043C\u043E\u0433\u0430\u044E\u0449\u0443\u044E \u0431\u044B\u0441\u0442\u0440\u0435\u0435 \u043E\u043A\u043B\u0435\u043C\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u043E\u0433\u043B\u0443\u0448\u0430\u044E\u0449\u0438\u0445 \u044D\u0444\u0444\u0435\u043A\u0442\u043E\u0432. \n\u041A\u043E\u0441\u0442\u044E\u043C \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442 \u0441\u044B\u0432\u043E\u0440\u043E\u0442\u043A\u0443 \u0441 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435\u043C \u0443\u0440\u0430\u043D\u0430. \u0427\u0442\u043E \u043A \u0441\u043E\u0436\u0430\u043B\u0435\u043D\u0438\u044E \u0434\u0430\u0451\u0442 \u043D\u0435\u043F\u0440\u0438\u044F\u0442\u043D\u044B\u0439 \u043D\u0435\u0433\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u044D\u0444\u0444\u0435\u043A\u0442, \u0432 \u0432\u0438\u0434\u0435 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u044F \u0440\u0430\u0434\u0438\u044F \u0432 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u043C\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F. \n\u0412\u043C\u0435\u0441\u0442\u043E \u0442\u0440\u0430\u0442\u044B \u044D\u043D\u0435\u0440\u0433\u0438\u0438 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u043E \u043B\u0438\u0448\u044C \u043E\u0434\u0438\u043D \u0440\u0430\u0437, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0436\u0435\u043D\u043E \u0432\u0440\u0443\u0447\u043D\u0443\u044E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0446\u0435\u043B\u044C\u043D\u044B\u0445 \u043A\u0443\u0441\u043A\u043E\u0432 \u0443\u0440\u0430\u043D\u0430 \u043F\u043E\u043C\u0435\u0449\u0451\u043D\u043D\u044B\u0445 \u0432 \u043A\u043E\u0441\u0442\u044E\u043C.",position:"bottom-end"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[2]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[2],onClick:function(){function B(){return g("give_ability",{style:"emp",row:"3"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.emp,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041B\u0415\u041A\u0422\u0420\u041E\u041C\u0410\u0413\u041D\u0418\u0422\u041D\u042B\u0419 \u0412\u0417\u0420\u042B\u0412",content:"\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043C\u0430\u0433\u043D\u0438\u0442\u043D\u044B\u0435 \u0432\u043E\u043B\u043D\u044B \u0432\u044B\u043A\u043B\u044E\u0447\u0430\u044E\u0442, \u043F\u043E\u0434\u0440\u044B\u0432\u0430\u044E\u0442 \u0438\u043B\u0438 \u0438\u043D\u0430\u0447\u0435 \u043F\u043E\u0432\u0440\u0435\u0436\u0434\u0430\u044E\u0442 - \u043A\u0438\u0431\u043E\u0440\u0433\u043E\u0432, \u0434\u0440\u043E\u043D\u043E\u0432, \u041A\u041F\u0411, \u044D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043E\u0440\u0443\u0436\u0438\u0435, \u043F\u043E\u0440\u0442\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0421\u0432\u0435\u0442\u043E\u0448\u0443\u043C\u043E\u0432\u044B\u0435 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430, \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0441\u0432\u044F\u0437\u0438 \u0438 \u0442.\u0434. \n\u042D\u0442\u043E\u0442 \u0432\u0437\u0440\u044B\u0432 \u043C\u043E\u0436\u0435\u0442 \u043A\u0430\u043A \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0430\u043C \u0432 \u0431\u043E\u044E, \u0442\u0430\u043A \u0438 \u043D\u0435\u0432\u0435\u0440\u043E\u044F\u0442\u043D\u043E \u043D\u0430\u0432\u0440\u0435\u0434\u0438\u0442\u044C. \u0412\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043E\u0441\u043C\u0430\u0442\u0440\u0438\u0432\u0430\u0439\u0442\u0435 \u043C\u0435\u0441\u0442\u043D\u043E\u0441\u0442\u044C \u043F\u0435\u0440\u0435\u0434 \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435\u043C. \n\u041D\u0435 \u0437\u0430\u0431\u044B\u0432\u0430\u0439\u0442\u0435 \u043E \u0437\u0430\u0449\u0438\u0449\u0430\u044E\u0449\u0435\u043C \u043E\u0442 \u0441\u0432\u0435\u0442\u0430 \u0440\u0435\u0436\u0438\u043C\u0435 \u0432\u0430\u0448\u0435\u0433\u043E \u0432\u0438\u0437\u043E\u0440\u0430. \u041E\u043D \u043C\u043E\u0436\u0435\u0442 \u043F\u043E\u043C\u043E\u0447\u044C \u043D\u0435 \u043E\u0441\u043B\u0435\u043F\u043D\u0443\u0442\u044C, \u043F\u0440\u0438 \u043F\u043E\u0434\u0440\u044B\u0432\u0435 \u043F\u043E\u0434\u043E\u0431\u043D\u044B\u0445 \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432. \n\u0412\u0437\u0440\u044B\u0432 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 5000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u041F\u0435\u0440\u0435\u0437\u0430\u0440\u044F\u0434\u043A\u0430: 4 \u0441\u0435\u043A\u0443\u043D\u0434\u044B.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[3]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[3],onClick:function(){function B(){return g("give_ability",{style:"energynet",row:"4"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.energynet,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u042D\u041D\u0415\u0420\u0413\u0415\u0422\u0418\u0427\u0415\u0421\u041A\u0410\u042F \u0421\u0415\u0422\u042C",content:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043B\u043E\u0432\u0438\u0442 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u0443\u044E \u0432\u0430\u043C\u0438 \u0446\u0435\u043B\u044C \u0432 \u043E\u0431\u0435\u0437\u0434\u0432\u0438\u0436\u0438\u0432\u0430\u044E\u0449\u0443\u044E \u043B\u043E\u0432\u0443\u0448\u043A\u0443. \n\u0418\u0437 \u043B\u043E\u0432\u0443\u0448\u043A\u0438 \u043B\u0435\u0433\u043A\u043E \u0432\u044B\u0431\u0440\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u043E\u0441\u0442\u043E \u0441\u043B\u043E\u043C\u0430\u0432 \u0435\u0451 \u043B\u044E\u0431\u044B\u043C \u043F\u0440\u0435\u0434\u043C\u0435\u0442\u043E\u043C. \n\u041E\u0442\u043B\u0438\u0447\u043D\u043E \u043F\u043E\u0434\u0445\u043E\u0434\u0438\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043D\u0435\u0439\u0442\u0440\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043E\u0434\u043D\u043E\u0433\u043E \u0432\u0440\u0430\u0433\u0430. \n\u041A \u0442\u043E\u043C\u0443 \u0436\u0435 \u0432 \u043D\u0435\u0451 \u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0439\u043C\u0430\u0442\u044C \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0432\u043D\u044B\u0445 \u0436\u0438\u0432\u043E\u0442\u043D\u044B\u0445 \u0438\u043B\u0438 \u043D\u0430\u0434\u043E\u0435\u0434\u043B\u0438\u0432\u044B\u0445 \u043E\u0445\u0440\u0430\u043D\u043D\u044B\u0445 \u0431\u043E\u0442\u043E\u0432. \n\u0423\u0447\u0438\u0442\u044B\u0432\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u0441\u0435\u0442\u044C \u043D\u0435 \u043C\u0435\u0448\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0435 \u043E\u0442\u0441\u0442\u0440\u0435\u043B\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043E\u0442 \u0432\u0430\u0441. \n\u0422\u0430\u043A \u0436\u0435 \u0441\u0435\u0442\u044C \u043B\u0435\u0433\u043A\u043E \u043F\u043E\u043A\u0438\u043D\u0443\u0442\u044C \u0434\u0440\u0443\u0433\u0438\u043C \u043F\u0443\u0442\u0451\u043C, \u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u043F\u043E\u0440\u0442\u0430\u0446\u0438\u0435\u0439. \n\u0410\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u044F \u0441\u0435\u0442\u0438 - \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u0435\u0442 \u043F\u0430\u0441\u0441\u0438\u0432\u043D\u044B\u0435 \u044D\u0444\u0444\u0435\u043A\u0442\u044B \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430 \u0432\u0430\u0441. \u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440 \u043D\u0435\u0432\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \n\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438: 4000 \u0435\u0434. \u044D\u043D\u0435\u0440\u0433\u0438\u0438.",position:"right"})]}),(0,e.createComponentVNode)(2,t.Button,{className:N[4]?x[0].disabled:x[0].red,height:"64px",width:"100%",disabled:N[4],onClick:function(){function B(){return g("give_ability",{style:"spider_red",row:"5"})}return B}(),children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C.spider_red,style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Tooltip,{title:"\u0411\u041E\u0415\u0412\u041E\u0415 \u0418\u0421\u041A\u0423\u0421\u0421\u0422\u0412\u041E \n\u041F\u041E\u041B\u0417\u0423\u0427\u0415\u0419 \u0412\u0414\u041E\u0412\u042B",content:"\u0411\u043E\u0435\u0432\u043E\u0435 \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u043E \u043D\u0438\u043D\u0434\u0437\u044F \u0441\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0435\u043D\u043D\u043E\u0435 \u043D\u0430 \u043D\u0430\u043A\u043E\u043F\u043B\u0435\u043D\u0438\u0438 \u043A\u043E\u043D\u0446\u0435\u043D\u0442\u0440\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0440\u0438\u0451\u043C\u043E\u0432. \n\u0412 \u0443\u0447\u0435\u043D\u0438\u0435 \u0432\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u043F\u0440\u0438\u0451\u043C\u044B: \n\u0412\u044B\u0432\u043E\u0440\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u0435 \u0440\u0443\u043A\u0438 - \u0437\u0430\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u0432\u044B\u0440\u043E\u043D\u0438\u0442\u044C \u0441\u0432\u043E\u0451 \u043E\u0440\u0443\u0436\u0438\u0435. \n\u0423\u0434\u0430\u0440 \u043B\u0430\u0434\u043E\u043D\u044C\u044E - \u043E\u0442\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0436\u0435\u0440\u0442\u0432\u0443 \u043D\u0430 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043C\u0435\u0442\u0440\u043E\u0432 \u043E\u0442 \u0432\u0430\u0441, \u043B\u0438\u0448\u0430\u044F \u0440\u0430\u0432\u043D\u043E\u0432\u0435\u0441\u0438\u044F. \n\u041F\u0435\u0440\u0435\u0440\u0435\u0437\u0430\u043D\u0438\u0435 \u0448\u0435\u0438 - \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E \u043E\u0431\u0435\u0437\u0433\u043B\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442 \u043B\u0435\u0436\u0430\u0447\u0443\u044E \u0436\u0435\u0440\u0442\u0432\u0443 \u043A\u0430\u0442\u0430\u043D\u043E\u0439 \u0432\u043E \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0439 \u0440\u0443\u043A\u0435. \n\u042D\u043D\u0435\u0440\u0433\u0435\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0442\u043E\u0440\u043D\u0430\u0434\u043E - \u0440\u0430\u0441\u043A\u0438\u0434\u044B\u0432\u0430\u0435\u0442 \u0432\u0440\u0430\u0433\u043E\u0432 \u0432\u043E\u043A\u0440\u0443\u0433 \u0432\u0430\u0441 \u0438 \u0441\u043E\u0437\u0434\u0430\u0451\u0442 \u043E\u0431\u043B\u0430\u043A\u043E \u0434\u044B\u043C\u0430 \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0434\u044B\u043C\u043E\u0432\u043E\u0433\u043E \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0430 \u0438 \u044D\u043D\u0435\u0440\u0433\u0438\u0438. \n\u0422\u0430\u043A \u0436\u0435 \u0432\u044B \u043E\u0431\u0443\u0447\u0430\u0435\u0442\u0435\u0441\u044C \u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0451\u043D\u043D\u044B\u043C \u0448\u0430\u043D\u0441\u043E\u043C \u043E\u0442\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043D\u044F\u0440\u044F\u0434\u044B \u0432\u0440\u0430\u0433\u043E\u0432 \u043E\u0431\u0440\u0430\u0442\u043D\u043E.",position:"right"})]})]})]})]})})},m=r.ShuttleConsole=function(){function f(l,v){var b=(0,a.useBackend)(v),g=b.act,h=b.data;return(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0448\u0430\u0442\u0442\u043B\u043E\u043C",style:{"text-align":"center"},buttons:(0,e.createComponentVNode)(2,t.Button,{content:"?",tooltip:"\u041F\u0430\u043D\u0435\u043B\u044C \u0434\u043B\u044F \u0443\u0434\u0430\u043B\u0451\u043D\u043D\u043E\u0433\u043E \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0432\u0430\u0448\u0438\u043C \u043B\u0438\u0447\u043D\u044B\u043C \u0448\u0430\u0442\u0442\u043B\u043E\u043C. \u0422\u0430\u043A \u0436\u0435 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0448\u0443 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0438 \u043F\u043E\u0437\u0438\u0446\u0438\u044E \u0441\u0430\u043C\u043E\u0433\u043E \u0448\u0430\u0442\u0442\u043B\u0430!",tooltipPosition:"right"}),children:(0,e.createComponentVNode)(2,t.Flex,{ml:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.status?h.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u0430\u0448\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F",children:h.player_pos}),!!h.shuttle&&(!!h.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0448\u0430\u0442\u0442\u043B",children:h.docking_ports.map(function(C){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:C.name,onClick:function(){function N(){return g("move",{move:C.id})}return N}()},C.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!h.admin_controlled&&(0,e.createComponentVNode)(2,o.LabeledListItem,{label:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"\u0417\u0430\u043F\u0440\u043E\u0441\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044E",disabled:!h.status,onClick:function(){function C(){return g("request")}return C}()})})],0))]})})})}return f}(),u=function(l,v){var b=(0,a.useBackend)(v),g=b.data,h=g.randomPercent,C=g.allActionsPreview,N=g.color_choice;return(0,e.createComponentVNode)(2,t.Section,{stretchContents:!0,children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:N,value:h,minValue:0,maxValue:100,children:(0,e.createVNode)(1,"center",null,(0,e.createComponentVNode)(2,t.NoticeBox,{className:"NoticeBox_"+N,mt:1,children:[(0,e.createVNode)(1,"img",null,null,1,{height:"64px",width:"64px",src:"data:image/jpeg;base64,"+C["spider_"+N],style:{"margin-left":"-6px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Loading ",h+"%"]}),2)})})},d=function(f){function l(b){var g;return g=f.call(this,b)||this,g.timer=null,g.state={lastText:"text do be there",currentDisplay:[]},g}y(l,f);var v=l.prototype;return v.tick=function(){function b(){var g=this.props,h=this.state;if(g.allMessages!==h.lastText&&!g.end_terminal){var C=h.currentDisplay;C.push(g.allMessages),h.lastText=g.allMessages}else g.end_terminal&&(clearTimeout(this.timer),setTimeout(g.onFinished,g.finishedTimeout))}return b}(),v.componentDidMount=function(){function b(){var g=this,h=this.props.linesPerSecond,C=h===void 0?2.5:h;this.timer=setInterval(function(){return g.tick()},1e3/C)}return b}(),v.componentWillUnmount=function(){function b(){clearTimeout(this.timer)}return b}(),v.render=function(){function b(){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:this.state.currentDisplay.map(function(g){return(0,e.createFragment)([g,(0,e.createVNode)(1,"br")],0,g)})})}return b}(),l}(e.Component)},38307:function(I,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.StationAlertConsole=function(){function V(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,y)})})}return V}(),y=r.StationAlertConsoleContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.data,c=i.alarms||[];return Object.keys(c).map(function(m){var u,d;return(0,e.createComponentVNode)(2,t.Section,{title:m+" Alarms",children:(0,e.createVNode)(1,"ul",null,((u=c[m])==null?void 0:u.length)===0?(0,e.createVNode)(1,"li","color-good","Systems Nominal",16):(d=c[m])==null?void 0:d.map(function(f){return(0,e.createVNode)(1,"li","color-average",f,0,null,f)}),0)},m)})}return V}()},39409:function(I,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),s=n(36036),y=n(98595),V=5,k=9,S=function(b){return b===0?5:9},p="64px",i=function(b){return b[0]+"/"+b[1]},c=function(b){var g=b.align,h=b.children;return(0,e.createComponentVNode)(2,s.Box,{style:{position:"absolute",left:g==="left"?"6px":"48px","text-align":g,"text-shadow":"2px 2px 2px #000",top:"2px"},children:h})},m={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},u={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,4]),image:"inventory-pda.png"}},d={neck:{displayName:"neck",gridSpot:i([0,0]),image:"inventory-neck.png"},eyes:{displayName:"eyewear",gridSpot:i([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:i([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:i([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:i([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:i([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:i([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:i([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:i([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:i([1,4])},jumpsuit:{displayName:"uniform",gridSpot:i([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:i([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:i([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:i([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:i([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:i([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:i([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:i([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:i([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:i([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:i([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:i([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:i([4,8]),image:"inventory-pda.png"}},f=function(v){return v[v.Completely=1]="Completely",v[v.Hidden=2]="Hidden",v}(f||{}),l=r.StripMenu=function(){function v(b,g){var h=(0,o.useBackend)(g),C=h.act,N=h.data,x=new Map;if(N.show_mode===0)for(var B=0,L=Object.keys(N.items);B300?"bad":m>150?"average":"good"},k=function(m){return m>5e3?"bad":m>4e3?"average":"good"},S=function(m){return m>1e4?"bad":m>5e3?"average":"good"},p=function(m,u){var d=(0,a.useBackend)(u),f=d.act,l=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Detected Supermatter Shards",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Refresh",onClick:function(){function v(){return f("refresh")}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{m:1,children:l.supermatters.length===0?(0,e.createVNode)(1,"h3",null,"No shards detected",16):(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,s.TableCell,{children:"Area"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Integrity"}),(0,e.createComponentVNode)(2,s.TableCell,{children:"Details"})]}),l.supermatters.map(function(v){return(0,e.createComponentVNode)(2,s.TableRow,{children:[(0,e.createComponentVNode)(2,s.TableCell,{children:v.area_name}),(0,e.createComponentVNode)(2,s.TableCell,{children:[v.integrity,"%"]}),(0,e.createComponentVNode)(2,s.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"View",onClick:function(){function b(){return f("view",{view:v.uid})}return b}()})})]},v)})]})})})})})},i=function(m,u){var d=(0,a.useBackend)(u),f=d.act,l=d.data;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Crystal Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"caret-square-left",content:"Back",onClick:function(){function v(){return f("back")}return v}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[95,1/0],average:[80,94],bad:[-1/0,79]},minValue:"0",maxValue:"100",value:l.SM_integrity,children:[l.SM_integrity,"%"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,t.Box,{color:V(l.SM_power),children:[l.SM_power," MeV/cm3"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:k(l.SM_ambienttemp),children:[l.SM_ambienttemp," K"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:S(l.SM_ambientpressure),children:[l.SM_ambientpressure," kPa"]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Gas Composition",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:[l.SM_gas_O2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:[l.SM_gas_CO2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:[l.SM_gas_N2,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plasma",children:[l.SM_gas_PL,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[l.SM_gas_OTHER,"%"]})]})})]})})}},46029:function(I,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),s=n(98595),y=r.SyndicateComputerSimple=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data;return(0,e.createComponentVNode)(2,s.Window,{width:400,height:400,theme:"syndicate",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:c.rows.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{title:m.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m.buttontitle,disabled:m.buttondisabled,tooltip:m.buttontooltip,tooltipPosition:"left",onClick:function(){function u(){return i(m.buttonact)}return u}()}),children:[m.status,!!m.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:m.bullets.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:u},u)})})]},m.title)})})})}return V}()},99279:function(I,r,n){"use strict";r.__esModule=!0,r.SyndieCargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),s=n(36036),y=n(98595),V=n(29319),k=n(25328),S=r.SyndieCargoConsole=function(){function u(d,f){return(0,e.createComponentVNode)(2,y.Window,{width:900,height:800,theme:"syndicate",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:[(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})}return u}(),p=function(d,f){var l=(0,o.useLocalState)(f,"contentsModal",null),v=l[0],b=l[1],g=(0,o.useLocalState)(f,"contentsModalTitle",null),h=g[0],C=g[1];if(v!==null&&h!==null)return(0,e.createComponentVNode)(2,s.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,s.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[h,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,s.Box,{children:v.map(function(N){return(0,e.createComponentVNode)(2,s.Box,{children:["- ",N]},N)})}),(0,e.createComponentVNode)(2,s.Box,{m:2,children:(0,e.createComponentVNode)(2,s.Button,{content:"Close",onClick:function(){function N(){b(null),C(null)}return N}()})})]})},i=function(d,f){var l=(0,o.useBackend)(f),v=l.act,b=l.data,g=b.is_public,h=g===void 0?0:g,C=b.cash,N=b.wait_time,x=b.is_cooldown,B=b.telepads_status,L=b.adminAddCash,w=B,A="",T=0,E="";return B==="Pads not linked!"?(T=0,A="Attempts to link telepads to the console.",E="Link pads"):x?x&&(E="Cooldown...",A="Pads are cooling off...",T=1,N!==1?w=""+B+" (ETA: "+N+" seconds)":w=""+B+" (ETA: "+N+" second)"):(T=0,A="Teleports your crates to the market. A reminder, some of the crates are directly stolen from NT trading routes. That means they can be locked. We are NOT sorry for the inconvenience",E="Teleport"),(0,e.createComponentVNode)(2,s.Section,{title:"Status",children:(0,e.createComponentVNode)(2,s.LabeledList,{children:[h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Money Available",children:[C,(0,e.createComponentVNode)(2,s.Button,{tooltip:"Withdraw money from the console",content:"Withdraw",onClick:function(){function O(){return v("withdraw",C)}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:L,tooltip:"Bless the players with da money!",onClick:function(){function O(){return v("add_money",C)}return O}()})]}),(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Telepads Status",children:w}),h===0&&(0,e.createComponentVNode)(2,s.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,s.Button,{content:E,tooltip:A,disabled:T,onClick:function(){function O(){return v("teleport")}return O}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Syndicate Black Market Log",onClick:function(){function O(){return v("showMessages")}return O}()})]})]})})},c=function(d,f){var l=(0,o.useBackend)(f),v=l.act,b=l.data,g=b.categories,h=b.supply_packs,C=(0,o.useSharedState)(f,"category","Emergency"),N=C[0],x=C[1],B=(0,o.useSharedState)(f,"search_text",""),L=B[0],w=B[1],A=(0,o.useLocalState)(f,"contentsModal",null),T=A[0],E=A[1],O=(0,o.useLocalState)(f,"contentsModalTitle",null),P=O[0],R=O[1],F=(0,k.createSearch)(L,function(H){return H.name}),j=(0,a.flow)([(0,t.filter)(function(H){return H.cat===g.filter(function(z){return z.name===N})[0].category||L}),L&&(0,t.filter)(F),(0,t.sortBy)(function(H){return H.name.toLowerCase()})])(h),W="Crate Catalogue";return L?W="Results for '"+L+"':":N&&(W="Browsing "+N),(0,e.createComponentVNode)(2,s.Section,{title:W,buttons:(0,e.createComponentVNode)(2,s.Dropdown,{width:"190px",options:g.map(function(H){return H.name}),selected:N,onSelected:function(){function H(z){return x(z)}return H}()}),children:[(0,e.createComponentVNode)(2,s.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function H(z,Y){return w(Y)}return H}(),mb:1}),(0,e.createComponentVNode)(2,s.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:j.map(function(H){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{bold:!0,children:[H.name," (",H.cost," Credits)"]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Order 1",icon:"shopping-cart",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:0})}return z}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Order Multiple",icon:"cart-plus",onClick:function(){function z(){return v("order",{crate:H.ref,multiple:1})}return z}()}),(0,e.createComponentVNode)(2,s.Button,{content:"View Contents",icon:"search",onClick:function(){function z(){E(H.contents),R(H.name)}return z}()})]})]},H.name)})})})]})},m=function(d,f){var l=(0,o.useBackend)(f),v=l.act,b=l.data,g=b.requests,h=b.canapprove,C=b.orders;return(0,e.createComponentVNode)(2,s.Section,{title:"Details",children:(0,e.createComponentVNode)(2,s.Box,{maxHeight:15,overflowY:"auto",overflowX:"hidden",children:[(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:g.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:[(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]}),(0,e.createComponentVNode)(2,s.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,s.Button,{content:"Approve",color:"green",disabled:!h,onClick:function(){function x(){return v("approve",{ordernum:N.ordernum})}return x}()}),(0,e.createComponentVNode)(2,s.Button,{content:"Deny",color:"red",onClick:function(){function x(){return v("deny",{ordernum:N.ordernum})}return x}()})]})]},N.ordernum)})}),(0,e.createComponentVNode)(2,s.Box,{bold:!0,children:"Confirmed Orders"}),(0,e.createComponentVNode)(2,s.Table,{m:"0.5rem",children:C.map(function(N){return(0,e.createComponentVNode)(2,s.Table.Row,{children:(0,e.createComponentVNode)(2,s.Table.Cell,{children:[(0,e.createComponentVNode)(2,s.Box,{children:["- #",N.ordernum,": ",N.supply_type," for ",(0,e.createVNode)(1,"b",null,N.orderedby,0)]}),(0,e.createComponentVNode)(2,s.Box,{italic:!0,children:["Reason: ",N.comment]})]})},N.ordernum)})})]})})}},44852:function(I,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s={0:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u044B\u0435",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV"},y={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},V=function(i,c,m,u){return u===void 0&&(u=null),i.map(function(d){var f,l=(f=d[u])!=null?f:d;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c.includes(d),content:l,onClick:function(){function v(){c.includes(d)?m(c.filter(function(b){var g;return((g=b[u])!=null?g:b)!==d})):m([d].concat(c))}return v}()},l)})},k=r.TTSSeedsExplorer=function(){function p(i,c){return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,S)})})}return p}(),S=r.TTSSeedsExplorerContent=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.providers,l=d.seeds,v=d.selected_seed,b=d.phrases,g=d.donator_level,h=l.map(function(Z){return Z.category}).filter(function(Z,J,te){return te.indexOf(Z)===J}),C=l.map(function(Z){return Z.gender}).filter(function(Z,J,te){return te.indexOf(Z)===J}),N=l.map(function(Z){return Z.donator_level}).filter(function(Z,J,te){return te.indexOf(Z)===J}).map(function(Z){return s[Z]}),x=(0,a.useLocalState)(c,"selectedProviders",f),B=x[0],L=x[1],w=(0,a.useLocalState)(c,"selectedGenders",C),A=w[0],T=w[1],E=(0,a.useLocalState)(c,"selectedCategories",h),O=E[0],P=E[1],R=(0,a.useLocalState)(c,"selectedDonatorLevels",N),F=R[0],j=R[1],W=(0,a.useLocalState)(c,"selectedPhrase",b[0]),H=W[0],z=W[1],Y=(0,a.useLocalState)(c,"searchtext",""),G=Y[0],ne=Y[1],Q=V(f,B,L,"name"),he=V(C,A,T),Ve=V(h,O,P),Ne=V(N,F,j),Be=(0,e.createComponentVNode)(2,t.Dropdown,{options:b,selected:H.replace(/(.{25})..+/,"$1..."),width:"220px",onSelected:function(){function Z(J){return z(J)}return Z}()}),Le=(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",fluid:!0,onInput:function(){function Z(J,te){return ne(te)}return Z}()}),Ae=l.sort(function(Z,J){var te=Z.name.toLowerCase(),ee=J.name.toLowerCase();return te>ee?1:te0&&v!==Z.name?"orange":"white",children:Z.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Z.name?.5:.25,textAlign:"left",children:Z.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Z.name?"white":y[Z.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:y[Z.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Z.donator_level>0&&(0,e.createFragment)([s[Z.donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Z.name)});return(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",fill:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:Q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:he}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",children:Ve}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0423\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",children:Ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:Be}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u0438\u0441\u043A",children:Le})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{scrollable:!0,fill:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+Ae.length+"/"+l.length+")",children:(0,e.createComponentVNode)(2,t.Table,{children:fe})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}return p}()},56441:function(I,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TachyonArray=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.records,u=m===void 0?[]:m,d=c.explosion_target,f=c.toxins_tech,l=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:f}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||l,align:"center",onClick:function(){function v(){return i("print_logs")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function v(){return i("delete_logs")}return v}()})]})]})}),u.length?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return V}(),y=r.TachyonArrayContent=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.records,u=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function f(){return i("delete_record",{index:d.index})}return f}()})})]},d.index)})]})})})})}return V}()},1754:function(I,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Tank=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c;return i.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.connected?"check":"times",content:i.connected?"Internals On":"Internals Off",selected:i.connected,onClick:function(){function m(){return p("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:300,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:i.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:i.ReleasePressure===i.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return p("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(i.releasePressure),width:"65px",unit:"kPa",minValue:i.minReleasePressure,maxValue:i.maxReleasePressure,onChange:function(){function m(u,d){return p("pressure",{pressure:d})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:i.ReleasePressure===i.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return p("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:i.ReleasePressure===i.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return p("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return y}()},7579:function(I,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TankDispenser=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.o_tanks,m=i.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:275,height:100,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function u(){return p("plasma")}return u}()})})]})})}return y}()},16136:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TcommsCore=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.ion,l=(0,a.useLocalState)(c,"tabIndex",0),v=l[0],b=l[1],g=function(){function h(C){switch(C){case 0:return(0,e.createComponentVNode)(2,V);case 1:return(0,e.createComponentVNode)(2,k);case 2:return(0,e.createComponentVNode)(2,S);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[f===1&&(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===0,onClick:function(){function h(){return b(0)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"wrench"}),"Configuration"]},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===1,onClick:function(){function h(){return b(1)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"link"}),"Device Linkage"]},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,onClick:function(){function h(){return b(2)}return h}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-times"}),"User Filtering"]},"FilterPage")]}),g(v)]})})}return p}(),y=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},V=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.active,l=d.sectors_available,v=d.nttc_toggle_jobs,b=d.nttc_toggle_job_color,g=d.nttc_toggle_name_color,h=d.nttc_toggle_command_bold,C=d.nttc_job_indicator_type,N=d.nttc_setting_language,x=d.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:f?"On":"Off",selected:f,icon:"power-off",onClick:function(){function B(){return u("toggle_active")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:l})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_jobs")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:b?"On":"Off",selected:b,icon:"clipboard-list",onClick:function(){function B(){return u("nttc_toggle_job_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"On":"Off",selected:g,icon:"user-tag",onClick:function(){function B(){return u("nttc_toggle_name_color")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"volume-up",onClick:function(){function B(){return u("nttc_toggle_command_bold")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:C||"Unset",selected:C,icon:"pencil-alt",onClick:function(){function B(){return u("nttc_job_indicator_type")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:N||"Unset",selected:N,icon:"globe",onClick:function(){function B(){return u("nttc_setting_language")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:x||"Unset",selected:x,icon:"server",onClick:function(){function B(){return u("network_id")}return B}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function B(){return u("import")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function B(){return u("export")}return B}()})]})],4)},k=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.link_password,l=d.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:f||"Unset",selected:f,icon:"lock",onClick:function(){function v(){return u("change_password")}return v}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),l.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function b(){return u("unlink",{addr:v.addr})}return b}()})})]},v.addr)})]})]})},S=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=m.data,f=d.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function l(){return u("add_filter")}return l}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),f.map(function(l){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:l}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function v(){return u("remove_filter",{user:l})}return v}()})})]},l)})]})})}},88046:function(I,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.TcommsRelay=function(){function k(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.linked,d=m.active,f=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function l(){return c("toggle_active")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:f||"Unset",selected:f,icon:"server",onClick:function(){function l(){return c("network_id")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,V)]})})}return k}(),y=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.linked_core_id,d=m.linked_core_addr,f=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:f?"Yes":"No",icon:f?"eye-slash":"eye",selected:f,onClick:function(){function l(){return c("toggle_hidden_link")}return l}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function l(){return c("unlink")}return l}()})})]})})},V=function(S,p){var i=(0,a.useBackend)(p),c=i.act,m=i.data,u=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function f(){return c("link",{addr:d.addr})}return f}()})})]},d.addr)})]})})}},20802:function(I,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=n(79646),y=r.Teleporter=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.targetsTeleport?c.targetsTeleport:{},u=0,d=1,f=2,l=c.calibrated,v=c.calibrating,b=c.powerstation,g=c.regime,h=c.teleporterhub,C=c.target,N=c.locked,x=c.accuracy;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:260,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(!b||!h)&&(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[h,!b&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),b&&!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),b&&h&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Regime",children:[(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to another teleport hub. ",color:g===d?"good":null,onClick:function(){function B(){return i("setregime",{regime:d})}return B}(),children:"Gate"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"One-way teleport. ",color:g===u?"good":null,onClick:function(){function B(){return i("setregime",{regime:u})}return B}(),children:"Teleporter"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Teleport to a location stored in a GPS device. ",color:g===f?"good":null,disabled:!N,onClick:function(){function B(){return i("setregime",{regime:f})}return B}(),children:"GPS"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Teleport target",children:[g===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(m),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),g===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:"220px",selected:C,options:Object.keys(m),color:C!=="None"?"default":"bad",onSelected:function(){function B(L){return i("settarget",{x:m[L].x,y:m[L].y,z:m[L].z})}return B}()}),g===f&&(0,e.createComponentVNode)(2,t.Box,{children:C})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Calibration",children:[C!=="None"&&(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,s.GridColumn,{size:"2",children:v&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||(l||x>=3)&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,s.GridColumn,{size:"3",children:(0,e.createComponentVNode)(2,t.Box,{class:"ml-1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",disabled:!!(l||v),onClick:function(){function B(){return i("calibrate")}return B}()})})})]}),C==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})}),!!(N&&b&&h&&g===f)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",justify:"space-around",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function B(){return i("load")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function B(){return i("eject")}return B}()})]})})]})})}return V}()},24410:function(I,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),s=n(92986),y=n(36036),V=n(98595),k=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),S=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),p=r.TextInputModal=function(){function c(m,u){var d=(0,o.useBackend)(u),f=d.act,l=d.data,v=l.max_length,b=l.message,g=b===void 0?"":b,h=l.multiline,C=l.placeholder,N=l.timeout,x=l.title,B=(0,o.useLocalState)(u,"input",C||""),L=B[0],w=B[1],A=function(){function O(P){if(P!==L){var R=h?k(P):S(P);w(R)}}return O}(),T=h||L.length>=40,E=130+(g.length>40?Math.ceil(g.length/4):0)+(T?80:0);return(0,e.createComponentVNode)(2,V.Window,{title:x,width:325,height:E,children:[N&&(0,e.createComponentVNode)(2,a.Loader,{value:N}),(0,e.createComponentVNode)(2,V.Window.Content,{onKeyDown:function(){function O(P){var R=window.event?P.which:P.keyCode;R===s.KEY_ENTER&&(!T||!P.shiftKey)&&f("submit",{entry:L}),R===s.KEY_ESCAPE&&f("cancel")}return O}(),children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,i,{input:L,onType:A})}),(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+v})})]})})})]})}return c}(),i=function(m,u){var d=(0,o.useBackend)(u),f=d.act,l=d.data,v=l.max_length,b=l.multiline,g=m.input,h=m.onType,C=b||g.length>=40;return(0,e.createComponentVNode)(2,y.TextArea,{autoFocus:!0,autoSelect:!0,height:b||g.length>=40?"100%":"1.8rem",maxLength:v,onEscape:function(){function N(){return f("cancel")}return N}(),onEnter:function(){function N(x){C&&x.shiftKey||(x.preventDefault(),f("submit",{entry:g}))}return N}(),onInput:function(){function N(x,B){return h(B)}return N}(),placeholder:"Type something...",value:g})}},69566:function(I,r,n){"use strict";r.__esModule=!0,r.ThiefKit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.ThiefKit=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.uses,m=i.possible_uses,u=i.multi_uses,d=i.kits,f=i.choosen_kits;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:900,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u041D\u0430\u0431\u043E\u0440 \u0413\u0438\u043B\u044C\u0434\u0438\u0438 \u0412\u043E\u0440\u043E\u0432:",children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:[(0,e.createVNode)(1,"i",null,"\u0423\u0432\u0435\u0441\u0438\u0441\u0442\u0430\u044F \u043A\u043E\u0440\u043E\u0431\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u043B\u0435\u0436\u0438\u0442 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0433\u0438\u043B\u044C\u0434\u0438\u0438 \u0432\u043E\u0440\u043E\u0432.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"i",null,"\u041D\u0430\u0431\u043E\u0440 \u0432\u043E\u0440\u0430-\u0448\u0440\u0435\u0434\u0438\u043D\u0433\u0435\u0440\u0430. \u041D\u0435\u043B\u044C\u0437\u044F \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0447\u0442\u043E \u0432 \u043D\u0451\u043C, \u043F\u043E\u043A\u0430 \u043D\u0435 \u0437\u0430\u0433\u043B\u044F\u043D\u0435\u0448\u044C \u0432\u043D\u0443\u0442\u0440\u044C.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"p",null,(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043A\u043E\u0435 \u0441\u043D\u0430\u0440\u044F\u0436\u0435\u043D\u0438\u0435 \u0432 \u043D\u0451\u043C \u043B\u0435\u0436\u0438\u0442?:",16),2),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u043E \u043D\u0430\u0431\u043E\u0440\u043E\u0432:"),(0,e.createComponentVNode)(2,t.Box,{as:"span",color:c<=0?"good":c=m,onClick:function(){function l(){return p("randomKit")}return l}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d&&d.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,buttons:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"upload",content:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C",disabled:l.was_taken||c>=m,onClick:function(){function v(){return p("takeKit",{item:l.type})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",disabled:!l.was_taken,onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()})]}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:l.desc})},l.type)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0412\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0435 \u043D\u0430\u0431\u043E\u0440\u044B:",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:f&&f.map(function(l){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:l.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",onClick:function(){function v(){return p("undoKit",{item:l.type})}return v}()}),children:(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:" "})},l.type)})})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"\u0417\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C \u0432\u044B\u0431\u043E\u0440",color:c0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),x.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers over]",16):"",x.contractor.accepted?(0,e.createVNode)(1,"i",null,"\xA0(Accepted)",16):!x.contractor.is_admin_forced&&x.contractor.available_offers<=0?"":(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:x.contractor.time_left,format:function(){function P(R,F){return" ("+F+")"}return P}(),bold:!0})]},"BecomeContractor"),(0,e.createComponentVNode)(2,V.Tabs.Tab,{onClick:function(){function P(){return N("lock")}return P}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:p(w)})]})})]})}return b}(),c=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.crystals,L=x.cats,w=(0,y.useLocalState)(h,"uplinkItems",L[0].items),A=w[0],T=w[1],E=(0,y.useLocalState)(h,"searchText",""),O=E[0],P=E[1],R=function(Y,G){G===void 0&&(G="");var ne=(0,o.createSearch)(G,function(Q){var he=Q.hijack_only===1?"|hijack":"";return Q.name+"|"+Q.desc+"|"+Q.cost+"tc"+he});return(0,t.flow)([(0,a.filter)(function(Q){return Q==null?void 0:Q.name}),G&&(0,a.filter)(ne),(0,a.sortBy)(function(Q){return Q==null?void 0:Q.name})])(Y)},F=function(Y){if(P(Y),Y==="")return T(L[0].items);T(R(L.map(function(G){return G.items}).flat(),Y))},j=(0,y.useLocalState)(h,"showDesc",1),W=j[0],H=j[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,V.Stack.Item,{children:(0,e.createComponentVNode)(2,V.Section,{title:"Current Balance: "+B+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:W,onClick:function(){function z(){return H(!W)}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Random Item",icon:"question",onClick:function(){function z(){return N("buyRandom")}return z}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function z(){return N("refund")}return z}()})],4),children:(0,e.createComponentVNode)(2,V.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function z(Y,G){F(G)}return z}(),value:O})})})}),(0,e.createComponentVNode)(2,V.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:L.map(function(z){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:O!==""?!1:z.items===A,onClick:function(){function Y(){T(z.items),P("")}return Y}(),children:z.cat},z)})})})}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:A.map(function(z){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:z,showDecription:W},(0,o.decodeHtmlEntities)(z.name))},(0,o.decodeHtmlEntities)(z.name))})})})})]})]})},m=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cart,L=x.crystals,w=x.cart_price,A=(0,y.useLocalState)(h,"showDesc",0),T=A[0],E=A[1];return(0,e.createComponentVNode)(2,V.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+L+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button.Checkbox,{content:"Show Descriptions",checked:T,onClick:function(){function O(){return E(!T)}return O}()}),(0,e.createComponentVNode)(2,V.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function O(){return N("empty_cart")}return O}(),disabled:!B}),(0,e.createComponentVNode)(2,V.Button,{content:"Purchase Cart ("+w+"TC)",icon:"shopping-cart",onClick:function(){function O(){return N("purchase_cart")}return O}(),disabled:!B||w>L})],4),children:(0,e.createComponentVNode)(2,V.Stack,{vertical:!0,children:B?B.map(function(O){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:O,showDecription:T,buttons:(0,e.createComponentVNode)(2,l,{i:O})})},(0,o.decodeHtmlEntities)(O.name))}):(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,u)]})},u=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.cats,L=x.lucky_numbers;return(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,V.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function w(){return N("shuffle_lucky_numbers")}return w}()}),children:(0,e.createComponentVNode)(2,V.Stack,{wrap:!0,children:L.map(function(w){return B[w.cat].items[w.item]}).filter(function(w){return w!=null}).map(function(w,A){return(0,e.createComponentVNode)(2,V.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:w})},A)})})})})},d=function(g,h){var C=g.i,N=g.showDecription,x=N===void 0?1:N,B=g.buttons,L=B===void 0?(0,e.createComponentVNode)(2,f,{i:C}):B;return(0,e.createComponentVNode)(2,V.Section,{title:(0,o.decodeHtmlEntities)(C.name),showBottom:x,buttons:L,children:x?(0,e.createComponentVNode)(2,V.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(C.desc)}):null})},f=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Button,{icon:"shopping-cart",color:B.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function w(){return N("add_to_cart",{item:B.obj_path})}return w}(),disabled:B.cost>L}),(0,e.createComponentVNode)(2,V.Button,{content:"Buy ("+B.cost+"TC)"+(B.refundable?" [Refundable]":""),color:B.hijack_only===1&&"red",tooltip:B.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function w(){return N("buyItem",{item:B.obj_path})}return w}(),disabled:B.cost>L})],4)},l=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=g.i,L=x.exploitable;return(0,e.createComponentVNode)(2,V.Stack,{children:[(0,e.createComponentVNode)(2,V.Button,{icon:"times",content:"("+B.cost*B.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function w(){return N("remove_from_cart",{item:B.obj_path})}return w}()}),(0,e.createComponentVNode)(2,V.Button,{icon:"minus",tooltip:B.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:--B.amount})}return w}(),disabled:B.amount<=0}),(0,e.createComponentVNode)(2,V.Button.Input,{content:B.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:B.limit===0&&"Discount already redeemed!",onCommit:function(){function w(A,T){return N("set_cart_item_quantity",{item:B.obj_path,quantity:T})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit&&B.amount<=0}),(0,e.createComponentVNode)(2,V.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:B.limit===0&&"Discount already redeemed!",onClick:function(){function w(){return N("set_cart_item_quantity",{item:B.obj_path,quantity:++B.amount})}return w}(),disabled:B.limit!==-1&&B.amount>=B.limit})]})},v=function(g,h){var C=(0,y.useBackend)(h),N=C.act,x=C.data,B=x.exploitable,L=(0,y.useLocalState)(h,"selectedRecord",B[0]),w=L[0],A=L[1],T=(0,y.useLocalState)(h,"searchText",""),E=T[0],O=T[1],P=function(j,W){W===void 0&&(W="");var H=(0,o.createSearch)(W,function(z){return z.name});return(0,t.flow)([(0,a.filter)(function(z){return z==null?void 0:z.name}),W&&(0,a.filter)(H),(0,a.sortBy)(function(z){return z.name})])(j)},R=P(B,E);return(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:"Exploitable Records",children:(0,e.createComponentVNode)(2,V.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,V.Stack.Item,{width:"30%",fill:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,V.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function F(j,W){return O(W)}return F}()}),(0,e.createComponentVNode)(2,V.Tabs,{vertical:!0,children:R.map(function(F){return(0,e.createComponentVNode)(2,V.Tabs.Tab,{selected:F===w,onClick:function(){function j(){return A(F)}return j}(),children:F.name},F)})})]})}),(0,e.createComponentVNode)(2,V.Divider,{vertical:!0}),(0,e.createComponentVNode)(2,V.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,V.Section,{fill:!0,title:w.name,scrollable:!0,children:(0,e.createComponentVNode)(2,V.LabeledList,{children:[(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Age",children:w.age}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Fingerprint",children:w.fingerprint}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Rank",children:w.rank}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Sex",children:w.sex}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Species",children:w.species}),(0,e.createComponentVNode)(2,V.LabeledList.Item,{label:"Records",children:w.exploit_record})]})})})]})})};(0,S.modalRegisterBodyOverride)("become_contractor",function(b,g){var h,C,N,x,B=(0,y.useBackend)(g),L=B.data,w=L.contractor||{},A=w.time_left,T=!!(L!=null&&(h=L.contractor)!=null&&h.available),E=!!(L!=null&&(C=L.contractor)!=null&&C.affordable),O=!!(L!=null&&(N=L.contractor)!=null&&N.accepted),P=L.contractor||{},R=P.available_offers,F=!!(L!=null&&(x=L.contractor)!=null&&x.is_admin_forced);return(0,e.createComponentVNode)(2,V.Section,{height:"65%",level:"2",m:"-1rem",pb:"1rem",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,V.Icon,{name:"suitcase"}),(0,e.createTextVNode)("\xA0 Contracting Opportunity")],4),children:[(0,e.createComponentVNode)(2,V.Box,{mx:"0.5rem",mb:"0.5rem",children:[(0,e.createVNode)(1,"b",null,"Your achievements for the Syndicate have not gone unnoticed, agent. We have decided to give you the rare opportunity of becoming a Contractor.",16),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"For the small price of 20 telecrystals, we will upgrade your rank to that of a Contractor, allowing you to undertake kidnapping contracts for TC and credits.",(0,e.createVNode)(1,"br"),"In addition, you will be supplied with a Contractor Kit which contains a Contractor Uplink, standard issue contractor gear and three random low cost items.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),"More detailed instructions can be found within your kit, should you accept this offer.",F?"":(0,e.createComponentVNode)(2,V.Box,{children:["Hurry up. You are not the only one who received this offer. Their number is limited. If other traitors accept all offers before you, you will not be able to accept one of them.",(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"b",null,[(0,e.createTextVNode)("Available offers: "),R],0)]})]}),(0,e.createComponentVNode)(2,V.Button.Confirm,{disabled:!T||O,italic:!T,bold:T,icon:T&&!O&&"check",color:"good",content:O?"Accepted":T?["Accept Offer",(0,e.createComponentVNode)(2,s.Countdown,{timeLeft:A,format:function(){function j(W,H){return" ("+H+")"}return j}()},"countdown")]:E?L.contractor.is_admin_forced?"Offer expired":L.contractor.available_offers>0?(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("[Left:"),L.contractor.available_offers,(0,e.createTextVNode)("]")],0):(0,e.createVNode)(1,"i",null,"[Offers are over]",16):"Insufficient TC",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function j(){return(0,S.modalAnswer)(g,b.id,1)}return j}()})]})})},8946:function(I,r,n){"use strict";r.__esModule=!0,r.VampireSpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VampireSpecMenu=function(){function i(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:1500,height:820,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,t.Divider,{vertical:1}),(0,e.createComponentVNode)(2,p)]})})})}return i}(),y=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Hemomancer",children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Hemomancer",onClick:function(){function v(){return d("hemomancer")}return v}()})]})})},V=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Umbrae",children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you are forced back to the anchor. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. It will also cause nearby creatures to freeze.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permament X-ray vision.",16),(0,e.createComponentVNode)(2,t.Button,{content:"Umbrae",onClick:function(){function v(){return d("umbrae")}return v}()})]})})},k=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Gargantua",children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you dont have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": You gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Gargantua",onClick:function(){function v(){return d("gargantua")}return v}()})]})})},S=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Dantalion",children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that, blinds then make everyone nearby perceive others to looks like random animals.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Dantalion",onClick:function(){function v(){return d("dantalion")}return v}()})]})})},p=function(c,m){var u=(0,a.useBackend)(m),d=u.act,f=u.data,l=f.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"20%",children:(0,e.createComponentVNode)(2,t.Section,{title:"Bestia",children:[(0,e.createVNode)(1,"h3",null,"Focuses on transformations and trophies harvesting.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Check Trophies",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to check current trophies amount and all the passive effects they provide.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect",16),(0,e.createTextVNode)(": Unlocked at 150 blood, main source of gaining power, besides blood, allows you to harvest human organs, as a trophies, to passively increase your might.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dissect Cap",16),(0,e.createTextVNode)(": You can only harvest one organ trophie at a time. This can be increased at 600 blood and at full power to a max of 3 trophies per victim.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Infected Trophy",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to stun enemies from the safe distance and infect them with the deadly Grave Fever.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Lunge",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to rapidly close distance to a victim or escape a dangerous situation.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Mark the Prey",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to mark a victim which drastically reduces their movement speed and forces them to take spontaneous actions.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Metamorphosis - Bats",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to shapeshift into the deadly and vicious space bats swarm.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Anabiosis",16),(0,e.createTextVNode)(": Unlocked at 600 blood, ancient technique which allows you to cure almost any wounds while sleeping in a coffin.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Summon Bats",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to call extraplanar space bats to aid you in combat.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Metamorphosis - Hound",16),(0,e.createTextVNode)(": Allows you to shapeshift into the ultimate form of bluespace entity which took over your soul.")],4),(0,e.createComponentVNode)(2,t.Button,{content:"Bestia",onClick:function(){function v(){return d("bestia")}return v}()})]})})}},45770:function(I,r,n){"use strict";r.__esModule=!0,r.VampireTrophiesStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=function(b){return(Math.round(b*10)/10).toFixed(1)},y=r.VampireTrophiesStatus=function(){function v(b,g){return(0,e.createComponentVNode)(2,o.Window,{theme:"nologo",width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,V),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,S),(0,e.createComponentVNode)(2,p),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,l)]})})})}return v}(),V=function(b,g){var h=(0,a.useBackend)(g),C=h.act,N=h.data,x=N.hearts,B=N.lungs,L=N.livers,w=N.kidneys,A=N.eyes,T=N.ears,E=N.trophies_max_gen,O=N.trophies_max_crit,P=N.icon_hearts,R=N.icon_lungs,F=N.icon_livers,j=N.icon_kidneys,W=N.icon_eyes,H=N.icon_ears;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Trophies",color:"red",textAlign:"center",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,width:"16.6%",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+P,verticalAlign:"middle",style:{"margin-left":"-32px","margin-right":"-48px","margin-top":"-32px","margin-bottom":"-48px",height:"128px",width:"128px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,textColor:xb;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+f,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,o.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Box,{color:d<=0&&"bad"||d<=u.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,disabled:L,icon:B,content:x,textAlign:"left",onClick:function(){function w(){return c("vend",{inum:u.inum})}return w}()})})]})},V=r.Vending=function(){function k(S,p){var i=(0,t.useBackend)(p),c=i.act,m=i.data,u=m.user,d=m.guestNotice,f=m.userMoney,l=m.chargesMoney,v=m.product_records,b=v===void 0?[]:v,g=m.coin_records,h=g===void 0?[]:g,C=m.hidden_records,N=C===void 0?[]:C,x=m.stock,B=m.vend_ready,L=m.coin_name,w=m.inserted_item_name,A=m.panel_open,T=m.speaker,E=m.imagelist,O;return O=[].concat(b,h),m.extended_inventory&&(O=[].concat(O,N)),O=O.filter(function(P){return!!P}),(0,e.createComponentVNode)(2,s.Window,{width:470,height:100+Math.min(b.length*38,500),title:"Vending Machine",children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[!!l&&(0,e.createComponentVNode)(2,o.Section,{title:"User",children:u&&(0,e.createComponentVNode)(2,o.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,u.name,0),","," ",(0,e.createVNode)(1,"b",null,u.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[f,(0,e.createTextVNode)(" credits")],0),"."]})||(0,e.createComponentVNode)(2,o.Box,{color:"light-grey",children:d})}),!!L&&(0,e.createComponentVNode)(2,o.Section,{title:"Coin",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Remove Coin",onClick:function(){function P(){return c("remove_coin",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:L})}),!!w&&(0,e.createComponentVNode)(2,o.Section,{title:"Item",buttons:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject Item",onClick:function(){function P(){return c("eject_item",{})}return P}()}),children:(0,e.createComponentVNode)(2,o.Box,{children:w})}),!!A&&(0,e.createComponentVNode)(2,o.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,o.Button,{icon:T?"check":"volume-mute",selected:T,content:"Speaker",textAlign:"left",onClick:function(){function P(){return c("toggle_voice",{})}return P}()})})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Products",fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{children:O.map(function(P){return(0,e.createComponentVNode)(2,y,{product:P,productStock:x[P.name],productImage:E[P.path]},P.name)})})})})]})})})}return k}()},68971:function(I,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VolumeMixer=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:m.num,volume:0})}return d}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function d(f,l){return p("volume",{channel:m.num,volume:l})}return d}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return p("volume",{channel:m.num,volume:100})}return d}()})})})]})})],4,m.num)})})})})}return y}()},2510:function(I,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.VotePanel=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.remaining,m=i.question,u=i.choices,d=i.user_vote,f=i.counts,l=i.show_counts,v=i.show_cancel;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:b+(l?" ("+(f[b]||0)+")":""),onClick:function(){function g(){return p("vote",{target:b})}return g}(),selected:b===d})},b)}),!!v&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Cancel",onClick:function(){function b(){return p("cancel")}return b}()})},"Cancel")]})})})}return y}()},30138:function(I,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),s=r.Wires=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.wires||[],m=i.status||[],u=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:d.color_name,labelColor:d.seen_color,color:d.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d.cut?"Mend":"Cut",onClick:function(){function f(){return p("cut",{wire:d.color})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function f(){return p("pulse",{wire:d.color})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function f(){return p("attach",{wire:d.color})}return f}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return y}()},30995:function(I,r,n){"use strict";r.__esModule=!0,r.Workshop=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),s=n(73379),y=n(98595),V=["title","items"];function k(u,d){if(u==null)return{};var f={};for(var l in u)if({}.hasOwnProperty.call(u,l)){if(d.includes(l))continue;f[l]=u[l]}return f}var S=function(d,f,l){return d.requirements===null?!0:!(d.requirements.brass>f||d.requirements.power>l)},p=r.Workshop=function(){function u(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.brass_amount,h=b.power_amount,C=b.building,N=b.buildStart,x=b.buildEnd,B=b.worldTime,L=g.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),w=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),A={float:"left",width:"60%"},T={float:"right",width:"39%"};return(0,e.createComponentVNode)(2,y.Window,{width:400,height:500,theme:"clockwork",children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,o.Section,{title:"Materials",children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Brass",children:[L,(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-down",height:"19px",tooltip:"Dispense Brass",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function E(){return v("dispense")}return E}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:w})]}),C&&(0,e.createComponentVNode)(2,o.ProgressBar.Countdown,{mt:2,start:N,current:B,end:x,bold:!0,children:["Building ",C,"\xA0(",(0,e.createComponentVNode)(2,s.Countdown,{current:B,timeLeft:x-B,format:function(){function E(O,P){return P.substr(3)}return E}()}),")"]})]})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,c)})})]})})})}return u}(),i=function(d,f){var l=(0,t.useLocalState)(f,"search",""),v=l[0],b=l[1],g=(0,t.useLocalState)(f,"sort",""),h=g[0],C=g[1],N=(0,t.useLocalState)(f,"descending",!1),x=N[0],B=N[1];return(0,e.createComponentVNode)(2,o.Box,{mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",mr:"0.5rem",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return b(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:x?"arrow-down":"arrow-up",height:"19px",tooltip:x?"Descending order":"Ascending order",tooltipPosition:"bottom-start",ml:"0.5rem",onClick:function(){function L(){return B(!x)}return L}()})})]})})},c=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=b.items,h=(0,t.useLocalState)(f,"search",""),C=h[0],N=h[1],x=(0,t.useLocalState)(f,"sort","Alphabetical"),B=x[0],L=x[1],w=(0,t.useLocalState)(f,"descending",!1),A=w[0],T=w[1],E=(0,a.createSearch)(C,function(R){return R[0]}),O=!1,P=Object.entries(g).map(function(R,F){var j=Object.entries(R[1]).filter(E).map(function(W){return W[1].affordable=S(W[1],b.brass_amount,b.power_amount),W[1]});if(j.length!==0)return A&&(j=j.reverse()),O=!0,(0,e.createComponentVNode)(2,m,{title:R[0],items:j},R[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:"1",children:(0,e.createComponentVNode)(2,o.Section,{children:O?P:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},m=function(d,f){var l=(0,t.useBackend)(f),v=l.act,b=l.data,g=d.title,h=d.items,C=k(d,V);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:g},C,{children:h.map(function(N){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+N.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,o.Button,{icon:"hammer",disabled:!S(N,b.brass_amount,b.power_amount),onClick:function(){function x(){return v("make",{cat:g,name:N.name})}return x}(),children:(0,a.toTitleCase)((0,a.toTitleCase)(N.name))}),(0,e.createComponentVNode)(2,o.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"right"},children:N.requirements&&Object.keys(N.requirements).map(function(x){return(0,a.toTitleCase)(x)+": "+N.requirements[x]}).join(", ")||(0,e.createComponentVNode)(2,o.Box,{children:"No resources required."})}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})]},N.name)})})))}},49148:function(I,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function s(p,i){var c=typeof Symbol!="undefined"&&p[Symbol.iterator]||p["@@iterator"];if(c)return(c=c.call(p)).next.bind(c);if(Array.isArray(p)||(c=y(p))||i&&p&&typeof p.length=="number"){c&&(p=c);var m=0;return function(){return m>=p.length?{done:!0}:{done:!1,value:p[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(p,i){if(p){if(typeof p=="string")return V(p,i);var c={}.toString.call(p).slice(8,-1);return c==="Object"&&p.constructor&&(c=p.constructor.name),c==="Map"||c==="Set"?Array.from(p):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?V(p,i):void 0}}function V(p,i){(i==null||i>p.length)&&(i=p.length);for(var c=0,m=Array(i);c0&&!N.includes(j.ref)&&!h.includes(j.ref),checked:h.includes(j.ref),onClick:function(){function W(){return x(j.ref)}return W}()},j.desc)})]})]})})}return p}()},26991:function(I,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),s=function(k,S,p,i,c){return ki?"average":k>c?"bad":"good"},y=r.AtmosScan=function(){function V(k,S){var p=k.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(i){return i.val!=="0"||i.entry==="Pressure"||i.entry==="Temperature"})(p).map(function(i){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:i.entry,color:s(i.val,i.bad_low,i.poor_low,i.poor_high,i.bad_high),children:[i.val,i.units]},i.entry)})})})}return V}()},85870:function(I,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(V){return V+" unit"+(V===1?"":"s")},s=r.BeakerContents=function(){function y(V){var k=V.beakerLoaded,S=V.beakerContents,p=S===void 0?[]:S,i=V.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!k&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||p.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),p.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!i&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:i(c,m)})]},c.name)})]})}return y}();s.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},3939:function(I,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},s=r.modalOpen=function(){function p(i,c,m){var u=(0,a.useBackend)(i),d=u.act,f=u.data,l=Object.assign(f.modal?f.modal.args:{},m||{});d("modal_open",{id:c,arguments:JSON.stringify(l)})}return p}(),y=r.modalRegisterBodyOverride=function(){function p(i,c){o[i]=c}return p}(),V=r.modalAnswer=function(){function p(i,c,m,u){var d=(0,a.useBackend)(i),f=d.act,l=d.data;if(l.modal){var v=Object.assign(l.modal.args||{},u||{});f("modal_answer",{id:c,answer:m,arguments:JSON.stringify(v)})}}return p}(),k=r.modalClose=function(){function p(i,c){var m=(0,a.useBackend)(i),u=m.act;u("modal_close",{id:c})}return p}(),S=r.ComplexModal=function(){function p(i,c){var m=(0,a.useBackend)(c),u=m.data;if(u.modal){var d=u.modal,f=d.id,l=d.text,v=d.type,b,g=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return k(c)}return L}()}),h,C,N="auto";if(o[f])h=o[f](u.modal,c);else if(v==="input"){var x=u.modal.value;b=function(){function L(w){return V(c,f,x)}return L}(),h=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){x=A}return L}()}),C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return k(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,f,x)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(v==="choice"){var B=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;h=(0,e.createComponentVNode)(2,t.Dropdown,{options:B,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return V(c,f,w)}return L}()}),N="initial"}else v==="bento"?h=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return V(c,f,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):v==="boolean"&&(C=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return V(c,f,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return V(c,f,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:i.maxWidth||window.innerWidth/2+"px",maxHeight:i.maxHeight||window.innerHeight/2+"px",onEnter:b,mx:"auto",overflowY:N,"padding-bottom":"5px",children:[l&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:l}),o[f]&&g,h,C]})}}return p}()},41874:function(I,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),s=n(76910),y=s.COLORS.department,V=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],k=function(m){return V.indexOf(m)!==-1?"green":"orange"},S=function(m){if(V.indexOf(m)!==-1)return!0},p=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:k(u.real_rank),bold:S(u.real_rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},i=r.CrewManifest=function(){function c(m,u){var d=(0,a.useBackend)(u),f=d.act,l;if(m.data)l=m.data;else{var v=(0,a.useBackend)(u),b=v.data;l=b}var g=l,h=g.manifest,C=h.heads,N=h.pro,x=h.sec,B=h.eng,L=h.med,w=h.sci,A=h.ser,T=h.sup,E=h.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:p(C)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.procedure,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Procedure"})}),level:2,children:p(N)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:p(x)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:p(B)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:p(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:p(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:p(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:y.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:p(T)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:p(E)})]})}return c}()},19203:function(I,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function s(y,V){var k=(0,t.useBackend)(V),S=k.act,p=k.data,i=p.large_buttons,c=p.swapped_buttons,m=y.input,u=y.message,d=y.disabled,f=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("submit",{entry:m})}return v}(),textAlign:"center",tooltip:i&&u,disabled:d,width:!i&&6}),l=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!i,fluid:!!i,onClick:function(){function v(){return S("cancel")}return v}(),textAlign:"center",width:!i&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:l}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:l}),!i&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),i?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:f}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:f})]})}return s}()},195:function(I,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=y.siliconUser,c=i===void 0?p.siliconUser:i,m=y.locked,u=m===void 0?p.locked:m,d=y.normallyLocked,f=d===void 0?p.normallyLocked:d,l=y.onLockStatusChange,v=l===void 0?function(){return S("lock")}:l,b=y.accessText,g=b===void 0?"an ID card":b;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:f?"red":"green",icon:f?"lock":"unlock",content:f?"Locked":"Unlocked",onClick:function(){function h(){v&&v(!u)}return h}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",g," to ",u?"unlock":"lock"," this interface."]})}return s}()},51057:function(I,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function s(y){var V=y.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(V)*100+"%"}}),2)}return s}()},321:function(I,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState;if(p)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",i.name," (",i.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return S("login_logout")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!i.id,content:"Eject ID",color:"good",onClick:function(){function c(){return S("login_eject")}return c}()})]})]})})}return s}()},5485:function(I,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.loginState,c=p.isAI,m=p.isRobot,u=p.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:i.id?i.id:"----------",ml:"0.5rem",onClick:function(){function d(){return S("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!i.id,content:"Login",onClick:function(){function d(){return S("login_login",{login_type:1})}return d}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function d(){return S("login_login",{login_type:2})}return d}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function d(){return S("login_login",{login_type:3})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function d(){return S("login_login",{login_type:4})}return d}()})]})})})}return s}()},62411:function(I,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function s(y){var V=y.operating,k=y.name;if(V)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",k," is processing..."]})})})}return s}();o.propTypes={operating:t.bool,name:t.string}},13545:function(I,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=r.Signaler=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=V.data,c=i.code,m=i.frequency,u=i.minFrequency,d=i.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:d/10,value:m/10,format:function(){function f(l){return(0,a.toFixed)(l,1)}return f}(),width:"80px",onDrag:function(){function f(l,v){return p("freq",{freq:v})}return f}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function f(l,v){return p("code",{code:v})}return f}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function f(){return p("signal")}return f}()})]})}return y}()},41984:function(I,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),s=n(88510),y=n(36036),V=r.SimpleRecords=function(){function p(i,c){var m=i.data.records;return(0,e.createComponentVNode)(2,y.Box,{children:m?(0,e.createComponentVNode)(2,S,{data:i.data,recordType:i.recordType}):(0,e.createComponentVNode)(2,k,{data:i.data})})}return p}(),k=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=i.data.recordsList,f=(0,a.useLocalState)(c,"searchText",""),l=f[0],v=f[1],b=function(C,N){N===void 0&&(N="");var x=(0,t.createSearch)(N,function(B){return B.Name});return(0,o.flow)([(0,s.filter)(function(B){return B==null?void 0:B.Name}),N&&(0,s.filter)(x),(0,s.sortBy)(function(B){return B.Name})])(d)},g=b(d,l);return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function h(C,N){return v(N)}return h}()}),g.map(function(h){return(0,e.createComponentVNode)(2,y.Box,{children:(0,e.createComponentVNode)(2,y.Button,{mb:.5,content:h.Name,icon:"user",onClick:function(){function C(){return u("Records",{target:h.uid})}return C}()})},h)})]})},S=function(i,c){var m=(0,a.useBackend)(c),u=m.act,d=i.data.records,f=d.general,l=d.medical,v=d.security,b;switch(i.recordType){case"MED":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Medical Data",children:l?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Blood Type",children:l.blood_type}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Disabilities",children:l.mi_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.mi_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Disabilities",children:l.ma_dis}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.ma_dis_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Allergies",children:l.alg}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.alg_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Current Diseases",children:l.cdi}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:l.cdi_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:l.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":b=(0,e.createComponentVNode)(2,y.Section,{level:2,title:"Security Data",children:v?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Criminal Status",children:v.criminal}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Minor Crimes",children:v.mi_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.mi_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Major Crimes",children:v.ma_crim}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Details",children:v.ma_crim_d}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:v.notes})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,y.Box,{children:[(0,e.createComponentVNode)(2,y.Section,{title:"General Data",children:f?(0,e.createComponentVNode)(2,y.LabeledList,{children:[(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Name",children:f.name}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Sex",children:f.sex}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Species",children:f.species}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Age",children:f.age}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Rank",children:f.rank}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Fingerprint",children:f.fingerprint}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Physical Status",children:f.p_stat}),(0,e.createComponentVNode)(2,y.LabeledList.Item,{label:"Mental Status",children:f.m_stat})]}):(0,e.createComponentVNode)(2,y.Box,{color:"red",bold:!0,children:"General record lost!"})}),b]})}},22091:function(I,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function s(y,V){var k,S=(0,a.useBackend)(V),p=S.act,i=S.data,c=i.temp;if(c){var m=(k={},k[c.style]=!0,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,t.Box,{display:"inline-block",verticalAlign:"middle",children:c.text}),(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",float:"right",onClick:function(){function u(){return p("cleartemp")}return u}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})))}}return s}()},25443:function(I,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(20342),s=n(98595),y=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey"],V=["good","average","bad","black","white"],k=[{title:"Button",component:function(){function h(){return p}return h}()},{title:"Box",component:function(){function h(){return i}return h}()},{title:"ProgressBar",component:function(){function h(){return c}return h}()},{title:"Tabs",component:function(){function h(){return m}return h}()},{title:"Tooltip",component:function(){function h(){return u}return h}()},{title:"Input / Control",component:function(){function h(){return d}return h}()},{title:"Collapsible",component:function(){function h(){return f}return h}()},{title:"BlockQuote",component:function(){function h(){return v}return h}()},{title:"ByondUi",component:function(){function h(){return b}return h}()},{title:"Themes",component:function(){function h(){return g}return h}()}],S=r.KitchenSink=function(){function h(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=(0,a.useLocalState)(N,"pageIndex",0),w=L[0],A=L[1],T=k[w].component();return(0,e.createComponentVNode)(2,s.Window,{theme:B,resizable:!0,children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:k.map(function(E,O){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:O===w,onClick:function(){function P(){return A(O)}return P}(),children:E.title},O)})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,basis:0,children:(0,e.createComponentVNode)(2,T)})]})})})})}return h}(),p=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]}),(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[V.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Button,{color:N,content:N},N)}),(0,e.createVNode)(1,"br"),y.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:N,children:N},N)})]})]})},i=function(C){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,t.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,t.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,t.Box,{textAlign:"right",children:"right"})]})},c=function(C,N){var x=(0,a.useLocalState)(N,"progress",.5),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:B,children:["Value: ",Number(B).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function w(){return L(B-.1)}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function w(){return L(B+.1)}return w}()})]})]})},m=function(C,N){var x=(0,a.useLocalState)(N,"tabIndex",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"tabVert"),A=w[0],T=w[1],E=(0,a.useLocalState)(N,"tabAlt"),O=E[0],P=E[1],R=[1,2,3,4,5];return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:A,onClick:function(){function F(){return T(!A)}return F}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"altSelection",checked:O,onClick:function(){function F(){return P(!O)}return F}()})]}),(0,e.createComponentVNode)(2,t.Tabs,{vertical:A,children:R.map(function(F,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{altSelection:O,selected:j===B,onClick:function(){function W(){return L(j)}return W}(),children:["Tab #",F]},j)})})]})},u=function(C){var N=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",mr:1,children:["Box (hover me).",(0,e.createComponentVNode)(2,t.Tooltip,{content:"Tooltip text."})]}),(0,e.createComponentVNode)(2,t.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:N.map(function(x){return(0,e.createComponentVNode)(2,t.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:x,content:x},x)})})],4)},d=function(C,N){var x=(0,a.useLocalState)(N,"number",0),B=x[0],L=x[1],w=(0,a.useLocalState)(N,"text","Sample text"),A=w[0],T=w[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onChange:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:A,onInput:function(){function E(O,P){return T(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onChange:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:B,minValue:-100,maxValue:100,onDrag:function(){function E(O,P){return L(P)}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,o.DraggableControl,{value:B,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function E(O,P){return L(P)}return E}(),children:function(){function E(O){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:O.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:O.displayValue*4}),O.inputElement]})}return E}()})})})]})})},f=function(C){return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,l)})})},l=function(C){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({},C,{children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,t.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))},v=function(C){return(0,e.createComponentVNode)(2,t.BlockQuote,{children:(0,e.createComponentVNode)(2,l)})},b=function(C,N){var x=(0,a.useBackend)(N),B=x.config;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Button",level:2,children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",parent:B.window,text:"Button"}})})})},g=function(C,N){var x=(0,a.useLocalState)(N,"kitchenSinkTheme"),B=x[0],L=x[1];return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:B,onInput:function(){function w(A,T){return L(T)}return w}()})})})})}},96572:function(I,r,n){"use strict";r.__esModule=!0,r.pai_advsecrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_advsecrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options:",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Records",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},80818:function(I,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:p.app_data})}return s}()},23903:function(I,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.holder,m=i.dead,u=i.health,d=i.brute,f=i.oxy,l=i.tox,v=i.burn,b=i.reagents,g=i.addictions,h=i.fractures,C=i.internal_bleeding;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:f})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:v})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:d})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagents",children:b?b.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.title,children:(0,e.createComponentVNode)(2,t.Box,{color:N.overdosed?"bad":"good",children:[" ",N.volume," ",N.overdosed?"OVERDOSED":""," "]})},N.id)}):"Reagents not found."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Addictions",children:g?g.map(function(N){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:N.addiction_name,children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[" Stage: ",N.stage," "]})},N.id)}):(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Addictions not found."})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fractures",children:(0,e.createComponentVNode)(2,t.Box,{color:h?"bad":"good",children:["Fractures ",h?"":"not"," detected."]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Bleedings",children:(0,e.createComponentVNode)(2,t.Box,{color:C?"bad":"good",children:["Internal Bleedings ",C?"":"not"," detected."]})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},79592:function(I,r,n){"use strict";r.__esModule=!0,r.pai_camera_bug=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_camera_bug=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Special Syndicate options",children:(0,e.createComponentVNode)(2,t.Button,{content:"Select Monitor",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},64988:function(I,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.master,m=i.dna,u=i.prime,d=i.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function f(){return S("getdna")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:d||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return s}()},13813:function(I,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.cable,m=i.machine,u=i.inprogress,d=i.progress,f=i.aborted,l;m?l=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):l=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function b(){return S("cable")}return b}()});var v;return m&&(v=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.Box,{color:u?"green":"red",children:[" ","In progress: ",u?"Yes":"No"," "]}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function b(){return S("cancel")}return b}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function b(){return S("jack")}return b}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:l}),v]})}return s}()},43816:function(I,r,n){"use strict";r.__esModule=!0,r.pai_encoder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_encoder=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.radio_name,m=i.radio_rank;return(0,e.createComponentVNode)(2,t.Section,{title:"Your name and rank in radio channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Your current name and rank",children:[c,", ",m]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new name",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,f){return S("set_newname",{newname:f})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Set new rank",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function u(d,f){return S("set_newrank",{newrank:f})}return u}()})})]})})}return s}()},88895:function(I,r,n){"use strict";r.__esModule=!0,r.pai_gps_module=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_gps_module=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"GPS menu",children:(0,e.createComponentVNode)(2,t.Button,{content:"Open GPS",onClick:function(){function i(){return S("ui_interact")}return i}()})})})}return s}()},66025:function(I,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.available_software,m=i.installed_software,u=i.installed_toggles,d=i.available_ram,f=i.emotions,l=i.current_emotion,v=[];return m.map(function(b){return v[b.key]=b.name}),u.map(function(b){return v[b.key]=b.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(b){return!v[b.key]}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name+" ("+b.cost+")",icon:b.icon,disabled:b.cost>d,onClick:function(){function g(){return S("purchaseSoftware",{key:b.key})}return g}()},b.key)}),c.filter(function(b){return!v[b.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(b){return b.key!=="mainmenu"}).map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,onClick:function(){function g(){return S("startSoftware",{software_key:b.key})}return g}()},b.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{content:b.name,icon:b.icon,selected:b.active,onClick:function(){function g(){return S("setToggle",{toggle_key:b.key})}return g}()},b.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:f.map(function(b){return(0,e.createComponentVNode)(2,t.Button,{color:b.syndi?"red":"default",content:b.name,selected:b.id===l,onClick:function(){function g(){return S("setEmotion",{emotion:b.id})}return g}()},b.id)})})]})})}return s}()},2983:function(I,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:p.app_data})}return s}()},40758:function(I,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"MED"})}return s}()},98599:function(I,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data.active_convo;return i?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:p.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:p.app_data})}return s}()},50775:function(I,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),s=r.pai_radio=function(){function y(V,k){var S=(0,a.useBackend)(k),p=S.act,i=S.data,c=i.app_data,m=c.minFrequency,u=c.maxFrequency,d=c.frequency,f=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:u/10,value:d/10,format:function(){function l(v){return(0,t.toFixed)(v,1)}return l}(),onChange:function(){function l(v,b){return p("freq",{freq:b})}return l}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function l(){return p("freq",{freq:"145.9"})}return l}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function l(){return p("toggleBroadcast")}return l}(),selected:f,content:f?"Enabled":"Disabled"})})]})}return y}()},19873:function(I,r,n){"use strict";r.__esModule=!0,r.pai_sec_chem=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_sec_chem=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.app_data,c=i.holder,m=i.dead,u=i.health,d=i.current_chemicals,f=i.available_chemicals;return c?(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Chemicals",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Chemicals",children:[f.map(function(l){return(0,e.createComponentVNode)(2,t.Button,{content:l.name+" ("+l.cost+")",tooltip:l.desc,disabled:l.cost>d,onClick:function(){function v(){return S("secreteChemicals",{key:l.key})}return v}()},l.key)}),f.length===0&&"No chemicals available!"]})]})}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return s}()},48623:function(I,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S.app_data,recordType:"SEC"})}return s}()},47297:function(I,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p.app_data})}return s}()},78532:function(I,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:S})}return s}()},40253:function(I,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.janitor,c=i.user_loc,m=i.mops,u=i.buckets,d=i.cleanbots,f=i.carts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - ",l.status]},l)})}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:f.map(function(l){return(0,e.createComponentVNode)(2,t.Box,{children:[l.x,",",l.y," (",l.dir,") - [",l.volume,"/",l.max_volume,"]"]},l)})})]})}return s}()},58293:function(I,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),s=r.pda_main_menu=function(){function y(V,k){var S=(0,t.useBackend)(k),p=S.act,i=S.data,c=i.owner,m=i.ownjob,u=i.idInserted,d=i.categories,f=i.pai,l=i.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function v(){return p("UpdateInfo")}return v}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:d.map(function(v){var b=i.apps[v];return!b||!b.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:v,children:b.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.uid in l?g.notify_icon:g.icon,iconSpin:g.uid in l,color:g.uid in l?"red":"transparent",content:g.name,onClick:function(){function h(){return p("StartProgram",{program:g.uid})}return h}()},g.uid)})},v)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!f&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function v(){return p("pai",{option:1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function v(){return p("pai",{option:2})}return v}()})]})})]})}return y}()},58059:function(I,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return s}()},18147:function(I,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"MED"})}return s}()},77595:function(I,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),s=r.pda_messenger=function(){function S(p,i){var c=(0,t.useBackend)(i),m=c.act,u=c.data,d=u.active_convo;return d?(0,e.createComponentVNode)(2,y,{data:u}):(0,e.createComponentVNode)(2,V,{data:u})}return S}(),y=r.ActiveConversation=function(){function S(p,i){var c=(0,t.useBackend)(i),m=c.act,u=p.data,d=u.convo_device,f=u.messages,l=u.active_convo,v=(0,t.useLocalState)(i,"clipboardMode",!1),b=v[0],g=v[1],h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return m("Message",{target:l})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===l})(f).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{textAlign:C.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:C.sent?"#4d9121":"#cd7a0d",position:"absolute",left:C.sent?null:"0px",right:C.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:C.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:C.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:C.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[C.sent?"You:":"Them:"," ",C.message]})]},N)})});return b&&(h=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:b,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function C(){return g(!b)}return C}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function C(){return m("Message",{target:l})}return C}(),content:"Reply"})],4),children:(0,a.filter)(function(C){return C.target===l})(f).map(function(C,N){return(0,e.createComponentVNode)(2,o.Box,{color:C.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[C.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:C.message})]},N)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function C(){return m("Clear",{option:"Convo"})}return C}()})})})}),h]})}return S}(),V=r.MessengerList=function(){function S(p,i){var c=(0,t.useBackend)(i),m=c.act,u=p.data,d=u.convopdas,f=u.pdas,l=u.charges,v=u.silent,b=u.toff,g=(0,t.useLocalState)(i,"searchTerm",""),h=g[0],C=g[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!v,icon:v?"volume-mute":"volume-up",onClick:function(){function N(){return m("Toggle Ringer")}return N}(),children:["Ringer: ",v?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:b?"bad":"green",icon:"power-off",onClick:function(){function N(){return m("Toggle Messenger")}return N}(),children:["Messenger: ",b?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function N(){return m("Ringtone")}return N}(),children:"Set Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function N(){return m("Clear",{option:"All"})}return N}(),children:"Delete All Conversations"})]})}),!b&&(0,e.createComponentVNode)(2,o.Box,{children:[!!l&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[l," charges left."]})})}),!d.length&&!f.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:h,onInput:function(){function N(x,B){C(B)}return N}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,k,{title:"Current Conversations",data:u,pdas:d,msgAct:"Select Conversation",searchTerm:h}),(0,e.createComponentVNode)(2,k,{title:"Other PDAs",pdas:f,msgAct:"Message",data:u,searchTerm:h})]})}return S}(),k=function(p,i){var c=(0,t.useBackend)(i),m=c.act,u=p.data,d=p.pdas,f=p.title,l=p.msgAct,v=p.searchTerm,b=u.charges,g=u.plugins;return!d||!d.length?(0,e.createComponentVNode)(2,o.Section,{title:f,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:f,children:d.filter(function(h){return h.Name.toLowerCase().includes(v.toLowerCase())}).map(function(h){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:h.Name,onClick:function(){function C(){return m(l,{target:h.uid})}return C}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!b&&g.map(function(C){return(0,e.createComponentVNode)(2,o.Button,{icon:C.icon,content:C.name,onClick:function(){function N(){return m("Messenger Plugin",{plugin:C.uid,target:h.uid})}return N}()},C.uid)})})]},h.uid)})})}},24635:function(I,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.mulebot,u=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.mulebot,u=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function f(){return i("AccessBot",{uid:d.uid})}return f}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return i("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.mulebot,u=m.botstatus,d=m.active,f=u.mode,l=u.loca,v=u.load,b=u.powr,g=u.dest,h=u.home,C=u.retn,N=u.pick,x;switch(f){case 0:x="Ready";break;case 1:x="Loading/Unloading";break;case 2:case 12:x="Navigating to delivery location";break;case 3:x="Navigating to Home";break;case 4:x="Waiting for clear path";break;case 5:case 6:x="Calculating navigation path";break;case 7:x="Unable to locate destination";break;default:x=f;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[f===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:x}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[b,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:g?g+" (Set)":"None (Set)",onClick:function(){function B(){return i("SetDest")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Unload)":"None",disabled:!v,onClick:function(){function B(){return i("Unload")}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"Yes":"No",selected:N,onClick:function(){function B(){return i("SetAutoPickup",{autoPickupType:N?"pickoff":"pickon"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:C?"Yes":"No",selected:C,onClick:function(){function B(){return i("SetAutoReturn",{autoReturnType:C?"retoff":"reton"})}return B}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function B(){return i("Stop")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function B(){return i("Start")}return B}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function B(){return i("ReturnHome")}return B}()})]})]})]})}},97085:function(I,r,n){"use strict";r.__esModule=!0,r.pda_notes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_notes=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.note;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{children:i}),(0,e.createComponentVNode)(2,t.Button,{icon:"pen",onClick:function(){function c(){return S("Edit")}return c}(),content:"Edit"})]})}return s}()},57513:function(I,r,n){"use strict";r.__esModule=!0,r.pda_power=void 0;var e=n(89005),a=n(72253),t=n(61631),o=r.pda_power=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.PowerMonitorMainContent)}return s}()},99808:function(I,r,n){"use strict";r.__esModule=!0,r.pda_secbot=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_secbot=function(){function V(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.beepsky,u=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,s)})}return V}(),s=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.beepsky,u=m.bots;return(0,e.createComponentVNode)(2,t.Box,{children:[u.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function f(){return i("AccessBot",{uid:d.uid})}return f}()})},d.Name)}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"rss",content:"Re-scan for bots",onClick:function(){function d(){return i("Rescan")}return d}()})})]})},y=function(k,S){var p=(0,a.useBackend)(S),i=p.act,c=p.data,m=c.beepsky,u=m.botstatus,d=m.active,f=u.mode,l=u.loca,v;switch(f){case 0:v="Ready";break;case 1:v="Apprehending target";break;case 2:case 3:v="Arresting target";break;case 4:v="Starting patrol";break;case 5:v="On patrol";break;case 6:v="Responding to summons";break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[f===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:v}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Go",icon:"play",onClick:function(){function b(){return i("Go")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function b(){return i("Stop")}return b}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Summon",icon:"arrow-down",onClick:function(){function b(){return i("Summon")}return b}()})]})]})]})}},77168:function(I,r,n){"use strict";r.__esModule=!0,r.pda_security=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_security=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:S,recordType:"SEC"})}return s}()},21773:function(I,r,n){"use strict";r.__esModule=!0,r.pda_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pda_signaler=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:p})}return s}()},81857:function(I,r,n){"use strict";r.__esModule=!0,r.pda_status_display=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_status_display=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.records;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Code",children:[(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"trash",content:"Clear",onClick:function(){function c(){return S("Status",{statdisp:"blank"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"clock",content:"Evac ETA",onClick:function(){function c(){return S("Status",{statdisp:"shuttle"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"edit",content:"Message",onClick:function(){function c(){return S("Status",{statdisp:"message"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"exclamation-triangle",content:"Red Alert",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"redalert"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"boxes",content:"NT Logo",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"default"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lock",content:"Lockdown",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"lockdown"})}return c}()}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"biohazard",content:"Biohazard",onClick:function(){function c(){return S("Status",{statdisp:"alert",alert:"biohazard"})}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 1",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message1+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg1"})}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message line 2",children:(0,e.createComponentVNode)(2,t.Button,{content:i.message2+" (set)",icon:"pen",onClick:function(){function c(){return S("Status",{statdisp:"setmsg2"})}return c}()})})]})})}return s}()},70287:function(I,r,n){"use strict";r.__esModule=!0,r.pda_supplyrecords=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_supplyrecords=function(){function s(y,V){var k=(0,a.useBackend)(V),S=k.act,p=k.data,i=p.supply,c=i.shuttle_loc,m=i.shuttle_time,u=i.shuttle_moving,d=i.approved,f=i.approved_count,l=i.requests,v=i.requests_count;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:u?(0,e.createComponentVNode)(2,t.Box,{children:["In transit ",m]}):(0,e.createComponentVNode)(2,t.Box,{children:c})})}),(0,e.createComponentVNode)(2,t.Section,{mt:1,title:"Requested Orders",children:v>0&&l.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.OrderedBy,'"']},b)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:f>0&&d.map(function(b){return(0,e.createComponentVNode)(2,t.Box,{children:["#",b.Number,' - "',b.Name,'" for "',b.ApprovedBy,'"']},b)})})]})}return s}()},17617:function(I,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),s=["className","theme","children"],y=["className","scrollable","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function V(p,i){if(p==null)return{};var c={};for(var f in p)if({}.hasOwnProperty.call(p,f)){if(i.includes(f))continue;c[f]=p[f]}return c}var k=r.Layout=function(){function p(i){var c=i.className,f=i.theme,u=f===void 0?"nanotrasen":f,d=i.children,m=V(i,s);return document.documentElement.className="theme-"+u,(0,e.createVNode)(1,"div","theme-"+u,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(m))),d,0,Object.assign({},(0,t.computeBoxProps)(m)))),2)}return p}(),S=function(i){var c=i.className,f=i.scrollable,u=i.children,d=V(i,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",f&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(d)]),u,0,Object.assign({},(0,t.computeBoxProps)(d))))};S.defaultHooks={onComponentDidMount:function(){function p(i){return(0,o.addScrollableNode)(i)}return p}(),onComponentWillUnmount:function(){function p(i){return(0,o.removeScrollableNode)(i)}return p}()},k.Content=S},96945:function(I,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(99851),y=n(17617),V=["theme","children","className"],k=["className","fitted","children"];/** + */function V(p,i){if(p==null)return{};var c={};for(var m in p)if({}.hasOwnProperty.call(p,m)){if(i.includes(m))continue;c[m]=p[m]}return c}var k=r.Layout=function(){function p(i){var c=i.className,m=i.theme,u=m===void 0?"nanotrasen":m,d=i.children,f=V(i,s);return document.documentElement.className="theme-"+u,(0,e.createVNode)(1,"div","theme-"+u,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(f))),d,0,Object.assign({},(0,t.computeBoxProps)(f)))),2)}return p}(),S=function(i){var c=i.className,m=i.scrollable,u=i.children,d=V(i,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",m&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(d)]),u,0,Object.assign({},(0,t.computeBoxProps)(d))))};S.defaultHooks={onComponentDidMount:function(){function p(i){return(0,o.addScrollableNode)(i)}return p}(),onComponentWillUnmount:function(){function p(i){return(0,o.removeScrollableNode)(i)}return p}()},k.Content=S},96945:function(I,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),s=n(99851),y=n(17617),V=["theme","children","className"],k=["className","fitted","children"];/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */function S(c,f){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(f.includes(d))continue;u[d]=c[d]}return u}var p=r.Pane=function(){function c(f,u){var d=f.theme,m=f.children,l=f.className,v=S(f,V),b=(0,t.useBackend)(u),N=b.suspended,h=(0,s.useDebug)(u),C=h.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,y.Layout,Object.assign({className:(0,a.classes)(["Window",l]),theme:d},v,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:C&&"debug-layout",children:!N&&m})})))}return c}(),i=function(f){var u=f.className,d=f.fitted,m=f.children,l=S(f,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,y.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",u])},l,{children:d&&m||(0,e.createVNode)(1,"div","Window__contentPadding",m,0)})))};p.Content=i},34827:function(I,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),s=n(72253),y=n(36036),V=n(76910),k=n(99851),S=n(77384),p=n(35421),i=n(9394),c=n(17617),f=["className","fitted","children"];function u(g,x){if(g==null)return{};var B={};for(var L in g)if({}.hasOwnProperty.call(g,L)){if(x.includes(L))continue;B[L]=g[L]}return B}function d(g,x){g.prototype=Object.create(x.prototype),g.prototype.constructor=g,m(g,x)}function m(g,x){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,L){return B.__proto__=L,B},m(g,x)}/** + */function S(c,m){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(m.includes(d))continue;u[d]=c[d]}return u}var p=r.Pane=function(){function c(m,u){var d=m.theme,f=m.children,l=m.className,v=S(m,V),b=(0,t.useBackend)(u),g=b.suspended,h=(0,s.useDebug)(u),C=h.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,y.Layout,Object.assign({className:(0,a.classes)(["Window",l]),theme:d},v,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:C&&"debug-layout",children:!g&&f})})))}return c}(),i=function(m){var u=m.className,d=m.fitted,f=m.children,l=S(m,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,y.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",u])},l,{children:d&&f||(0,e.createVNode)(1,"div","Window__contentPadding",f,0)})))};p.Content=i},34827:function(I,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),s=n(72253),y=n(36036),V=n(76910),k=n(99851),S=n(77384),p=n(35421),i=n(9394),c=n(17617),m=["className","fitted","children"];function u(N,x){if(N==null)return{};var B={};for(var L in N)if({}.hasOwnProperty.call(N,L)){if(x.includes(L))continue;B[L]=N[L]}return B}function d(N,x){N.prototype=Object.create(x.prototype),N.prototype.constructor=N,f(N,x)}function f(N,x){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,L){return B.__proto__=L,B},f(N,x)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var l=(0,i.createLogger)("Window"),v=[400,600],b=r.Window=function(g){function x(){return g.apply(this,arguments)||this}d(x,g);var B=x.prototype;return B.componentDidMount=function(){function L(){var w=(0,s.useBackend)(this.context),A=w.suspended;A||(l.log("mounting"),this.updateGeometry())}return L}(),B.componentDidUpdate=function(){function L(w){var A=this.props.width!==w.width||this.props.height!==w.height;A&&this.updateGeometry()}return L}(),B.updateGeometry=function(){function L(){var w,A=(0,s.useBackend)(this.context),T=A.config,E=Object.assign({size:v},T.window);this.props.width&&this.props.height&&(E.size=[this.props.width,this.props.height]),(w=T.window)!=null&&w.key&&(0,p.setWindowKey)(T.window.key),(0,p.recallWindowGeometry)(E)}return L}(),B.render=function(){function L(){var w,A=this.props,T=A.theme,E=A.title,O=A.children,P=(0,s.useBackend)(this.context),R=P.config,F=P.suspended,j=(0,k.useDebug)(this.context),W=j.debugLayout,H=(0,t.useDispatch)(this.context),z=(w=R.window)==null?void 0:w.fancy,$=R.user&&(R.user.observer?R.status2?f-2:0),d=2;d=o){var m=[c].concat(u).map(function(l){return typeof l=="string"?l:l instanceof Error?l.stack||String(l):JSON.stringify(l)}).filter(function(l){return l}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:m})}},k=r.createLogger=function(){function p(i){return{debug:function(){function c(){for(var f=arguments.length,u=new Array(f),d=0;d2?m-2:0),d=2;d=o){var f=[c].concat(u).map(function(l){return typeof l=="string"?l:l instanceof Error?l.stack||String(l):JSON.stringify(l)}).filter(function(l){return l}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:f})}},k=r.createLogger=function(){function p(i){return{debug:function(){function c(){for(var m=arguments.length,u=new Array(m),d=0;d0;){var h=b.shift(),C=h(v);try{N=y(C)}catch(x){if(x.code!=="MODULE_NOT_FOUND")throw x}}if(!N)return V("notFound",v);var g=N[v];return g||V("missingExport",v)}return i}()},72178:function(I,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),s=n(72253),y=n(99851),V=n(9394);function k(d,m){d.prototype=Object.create(m.prototype),d.prototype.constructor=d,S(d,m)}function S(d,m){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,v){return l.__proto__=v,l},S(d,m)}/** + */var y=n(32054),V=function(c,m){return function(){return(0,e.createComponentVNode)(2,s.Window,{children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0,children:[c==="notFound"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,m,0),(0,e.createTextVNode)(" was not found.")],4),c==="missingExport"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,m,0),(0,e.createTextVNode)(" is missing an export.")],4)]})})}},k=function(){return(0,e.createComponentVNode)(2,s.Window,{children:(0,e.createComponentVNode)(2,s.Window.Content,{scrollable:!0})})},S=function(){return(0,e.createComponentVNode)(2,s.Window,{height:130,title:"Loading",width:150,children:(0,e.createComponentVNode)(2,s.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Icon,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"Please wait..."})]})})})},p=r.getRoutedComponent=function(){function i(c){var m=c.getState(),u=(0,a.selectBackend)(m),d=u.suspended,f=u.config;if(d)return k;if(f.refreshing)return S;if(0)var l;for(var v=f==null?void 0:f.interface,b=[function(x){return"./"+x+".tsx"},function(x){return"./"+x+".js"},function(x){return"./"+x+"/index.tsx"},function(x){return"./"+x+"/index.js"}],g;!g&&b.length>0;){var h=b.shift(),C=h(v);try{g=y(C)}catch(x){if(x.code!=="MODULE_NOT_FOUND")throw x}}if(!g)return V("notFound",v);var N=g[v];return N||V("missingExport",v)}return i}()},72178:function(I,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),s=n(72253),y=n(99851),V=n(9394);function k(d,f){d.prototype=Object.create(f.prototype),d.prototype.constructor=d,S(d,f)}function S(d,f){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,v){return l.__proto__=v,l},S(d,f)}/** * @file * @copyright 2020 Aleksej Komarov * @license MIT -*/var p=(0,V.createLogger)("store"),i=r.configureStore=function(){function d(m){var l,v;m===void 0&&(m={});var b=m,N=b.sideEffects,h=N===void 0?!0:N,C=(0,e.flow)([(0,a.combineReducers)({debug:y.debugReducer,backend:s.backendReducer}),m.reducer]),g=h?[].concat(((l=m.middleware)==null?void 0:l.pre)||[],[o.assetMiddleware,s.backendMiddleware],((v=m.middleware)==null?void 0:v.post)||[]):[],x=a.applyMiddleware.apply(void 0,g),B=(0,a.createStore)(C,x);return window.__store__=B,window.__augmentStack__=f(B),B}return d}(),c=function(m){return function(l){return function(v){var b=v.type,N=v.payload;return b==="update"||b==="backend/update"?p.debug("action",{type:b}):p.debug("action",v),l(v)}}},f=function(m){return function(l,v){var b,N;v?typeof v=="object"&&!v.stack&&(v.stack=l):(v=new Error(l.split("\n")[0]),v.stack=l),p.log("FatalError:",v);var h=m.getState(),C=h==null||(b=h.backend)==null?void 0:b.config,g=l;return g+="\nUser Agent: "+navigator.userAgent,g+="\nState: "+JSON.stringify({ckey:C==null||(N=C.client)==null?void 0:N.ckey,interface:C==null?void 0:C.interface,window:C==null?void 0:C.window}),g}},u=r.StoreProvider=function(d){function m(){return d.apply(this,arguments)||this}k(m,d);var l=m.prototype;return l.getChildContext=function(){function v(){var b=this.props.store;return{store:b}}return v}(),l.render=function(){function v(){return this.props.children}return v}(),m}(t.Component)},51364:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** +*/var p=(0,V.createLogger)("store"),i=r.configureStore=function(){function d(f){var l,v;f===void 0&&(f={});var b=f,g=b.sideEffects,h=g===void 0?!0:g,C=(0,e.flow)([(0,a.combineReducers)({debug:y.debugReducer,backend:s.backendReducer}),f.reducer]),N=h?[].concat(((l=f.middleware)==null?void 0:l.pre)||[],[o.assetMiddleware,s.backendMiddleware],((v=f.middleware)==null?void 0:v.post)||[]):[],x=a.applyMiddleware.apply(void 0,N),B=(0,a.createStore)(C,x);return window.__store__=B,window.__augmentStack__=m(B),B}return d}(),c=function(f){return function(l){return function(v){var b=v.type,g=v.payload;return b==="update"||b==="backend/update"?p.debug("action",{type:b}):p.debug("action",v),l(v)}}},m=function(f){return function(l,v){var b,g;v?typeof v=="object"&&!v.stack&&(v.stack=l):(v=new Error(l.split("\n")[0]),v.stack=l),p.log("FatalError:",v);var h=f.getState(),C=h==null||(b=h.backend)==null?void 0:b.config,N=l;return N+="\nUser Agent: "+navigator.userAgent,N+="\nState: "+JSON.stringify({ckey:C==null||(g=C.client)==null?void 0:g.ckey,interface:C==null?void 0:C.interface,window:C==null?void 0:C.window}),N}},u=r.StoreProvider=function(d){function f(){return d.apply(this,arguments)||this}k(f,d);var l=f.prototype;return l.getChildContext=function(){function v(){var b=this.props.store;return{store:b}}return v}(),l.render=function(){function v(){return this.props.children}return v}(),f}(t.Component)},51364:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -291,7 +291,7 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var s=r.meta={title:"ByondUi",render:function(){function V(){return(0,e.createComponentVNode)(2,y)}return V}()},y=function(k,S){var p=(0,a.useLocalState)(S,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),i=p[0],c=p[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function f(){return setTimeout(function(){try{var u=new Function("return ("+i+")")();u&&u.then?(o.logger.log("Promise"),u.then(o.logger.log)):o.logger.log(u)}catch(d){o.logger.log(d)}})}return f}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function f(u){return c(u.target.value)}return f}(),children:i})})],4)}},17466:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/** + */var s=r.meta={title:"ByondUi",render:function(){function V(){return(0,e.createComponentVNode)(2,y)}return V}()},y=function(k,S){var p=(0,a.useLocalState)(S,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),i=p[0],c=p[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function m(){return setTimeout(function(){try{var u=new Function("return ("+i+")")();u&&u.then?(o.logger.log("Promise"),u.then(o.logger.log)):o.logger.log(u)}catch(d){o.logger.log(d)}})}return m}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function m(u){return c(u.target.value)}return m}(),children:i})})],4)}},17466:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -299,15 +299,15 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Flex & Sections",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"fs_grow",1),p=S[0],i=S[1],c=(0,a.useLocalState)(k,"fs_direction","column"),f=c[0],u=c[1],d=(0,a.useLocalState)(k,"fs_fill",!0),m=d[0],l=d[1],v=(0,a.useLocalState)(k,"fs_title",!0),b=v[0],N=v[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return u(f==="column"?"row":"column")}return h}(),children:'Flex direction="'+f+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return i(+!p)}return h}(),children:"Flex.Item grow={"+p+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return l(!m)}return h}(),children:"Section fill={"+String(m)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:b,onClick:function(){function h(){return N(!b)}return h}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:f,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:f==="row"&&1,mb:f==="column"&&1,grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:b&&"Section 1",fill:m,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:b&&"Section 2",fill:m,children:"Content"})})]})})]})}},48779:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Flex & Sections",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"fs_grow",1),p=S[0],i=S[1],c=(0,a.useLocalState)(k,"fs_direction","column"),m=c[0],u=c[1],d=(0,a.useLocalState)(k,"fs_fill",!0),f=d[0],l=d[1],v=(0,a.useLocalState)(k,"fs_title",!0),b=v[0],g=v[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return u(m==="column"?"row":"column")}return h}(),children:'Flex direction="'+m+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return i(+!p)}return h}(),children:"Flex.Item grow={"+p+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function h(){return l(!f)}return h}(),children:"Section fill={"+String(f)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:b,onClick:function(){function h(){return g(!b)}return h}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:m,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:m==="row"&&1,mb:m==="column"&&1,grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:b&&"Section 1",fill:f,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:p,children:(0,e.createComponentVNode)(2,t.Section,{title:b&&"Section 2",fill:f,children:"Content"})})]})})]})}},48779:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2024 Aylong (https://github.com/AyIong) * @license MIT - */var o=r.meta={title:"ImageButton",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},s=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],y=["good","average","bad","black","white"],V=function(S,p){var i=(0,a.useLocalState)(p,"disabled",!1),c=i[0],f=i[1],u=(0,a.useLocalState)(p,"onClick",!0),d=u[0],m=u[1],l=(0,a.useLocalState)(p,"vertical1",!0),v=l[0],b=l[1],N=(0,a.useLocalState)(p,"vertical2",!0),h=N[0],C=N[1],g=(0,a.useLocalState)(p,"vertical3",!1),x=g[0],B=g[1],L=(0,a.useLocalState)(p,"title","Image Button"),w=L[0],A=L[1],T=(0,a.useLocalState)(p,"content","Image is a LIE!"),E=T[0],O=T[1],P=(0,a.useLocalState)(p,"itemContent","Second Button"),R=P[0],F=P[1],j=(0,a.useLocalState)(p,"itemIcon","face-smile"),W=j[0],H=j[1],z=(0,a.useLocalState)(p,"itemIconPos","default"),$=z[0],G=z[1],ne=(0,a.useLocalState)(p,"itemIconSize",2),Q=ne[0],he=ne[1],Ve=(0,a.useLocalState)(p,"imageSize",64),Ne=Ve[0],Be=Ve[1],Le=function(){b(!v)},Ae=function(){C(!h)},fe=function(){B(!x)},Z=function(){f(!c)},J=function(){m(!d)};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:w,onInput:function(){function te(ee,le){return A(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function te(ee,le){return O(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:Ne,minValue:0,maxValue:256,step:1,stepPixelSize:2,onChange:function(){function te(ee,le){return Be(le)}return te}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"onClick",checked:d,onClick:J})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Vertical",checked:x,onClick:fe})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Content",children:(0,e.createComponentVNode)(2,t.Input,{value:R,onInput:function(){function te(ee,le){return F(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Icon",children:(0,e.createComponentVNode)(2,t.Input,{value:W,onInput:function(){function te(ee,le){return H(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconPos",children:(0,e.createComponentVNode)(2,t.Input,{value:$,onInput:function(){function te(ee,le){return G(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconSize",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:Q,minValue:0,maxValue:20,step:1,stepPixelSize:10,onChange:function(){function te(ee,le){return he(le)}return te}()})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{width:x&&Ne+"px",ellipsis:x,vertical:x,disabled:c,title:w,content:E,tooltip:x?E:"Cool and simple buttons with images, FOR ALL!!!",image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGo0lEQVRYhe3Xa2xT9xnH8e+5+O4ktuM4cS5OYmhCQ1xcYMCgA9rSbKUqqqpWkzq1mgBtq/piaqna7UXXaTfWddL6opO2dlu1aSBVjJZC19FByyUadKGCJIYQAoHEODi2k/hyTnw/x3uxwZpBtq6qhib1efU/5/9/9Hz0O0c6OsLhw4e5mSXe1On/94BAIFAJBAKV/zkgEAhU7HZ7JRQKCaFQSLDb7Z8Y8l8BPjpYVVXh6n1VVT8xRAbY953HP1bTvn8u/9P56/arHNp1h9Y/9YogX73wBW0fx/CpVXIsA/wjgav1pW//mVdPRYhlp6gxWzAYTCRnM0zPKsRnpjBK4JEqqIUi/fEppKxCRReQLFbEikYmOk5ONNPc0s4v1nXgKChEJmNY7dUs+fwXqPfdSjan8Ktv3XVt5hxAR4OT5zcIjGW6ODGd57IyQ53bhVkSMcsSt1RZiOUKSAIsqjFhl+C5gYvMFnK4JXhLLbDZZaVqzyv8YOsLxFIq0XQRE7Ckw8s3n9nGfVu2zUliDmAs8i7xK6dZ0LGeZmc3JYMXs1im1iTjNErUmwVqChqiCJVKhd6pNCaTBU0QOJHJstZZg3/H9/n9r/cy8C+RHxiJMrj1aXbaq+cHvLb/PQqaCVf4PZa1DbGx+xGGkkYMlSI1okitDEZdp29qlrNJBYOgs8ZRxZkZHbmxhs6+PezfvZch0YTTAK1OG5GCQDpXRNTLxIo5vvf8D3nwi3UoKel6gLdpBeVyCNnmRbI00GwWsdQKfBDXiaST+KwO+pIlehMKwRoDzRYDI6lZbnFUcb+viZNvjnIuBat91XxlkRMLGgNJHVWuYlfoEoWixMXIJFB34wTW3ebj7VNh4mOjpBNh8q6lVBtcvHV+jCqTjM8qUchm6fFWUW8xUdBheYOZdC7PleQM0XQKswxtdol6jxMdI3fWafTFsnR4HJzQRIp6bv5HcKj/Q6TZGOpUkaFLFXaWDxGR/Wzx2agyGpnI67jlCnqpwIiS4Vw8gaiXyZQ0NFcdjloPljIksOJdvBKbyU54dATrxDBbl/uZeH8Ii2ycHzAy7SCnxrDV1+JpcuNpWsgas4vVzR58Zh2PRcZtcXEwkmbvpTAnx89RbTJTa6/CmSvjDAT5XJeNmhoTSxcvJplIcb5SxohGu9OFLTuDLxicH7CkzcWuPUkeWp6i4ISNdwRpleGiquG3//2lSWtg0FTuaXETrK1iPBbBJJcZ+OMOcm4Jz50rWBBN0N97gOFJBaxGziolTh36K952P9t/9hK9O568NnPOt+Chbo31C3P0nowwdvwgw/0HAfDbJc7PTHMiPMrgxCUS6QksWhTTxCmSR9/AW46TS01xsrefmGTn5cE4v9l/hC5/E2va/bi0PL1Xpui6/8vcvuKO+RMYn6lgb7DiEl3MTIzy/rF9JAUno+EoRitk1RSyJKMW4cLwOS5fGOHSmQEuTMVJjMVZoI3TmUtxFJ0PbF6WZ8sc372bRD7Hhs2Pg6OeJ55+hs75ABdjEsqZMJtuayXU2EnkisLgid9yZKyEu6UVJRpmamoaOREnl81QyitYLLMMj/bTLeTp8YoMpSQCDRWe3f5T3HmRwTf30PrwN7CvfQBRVaG1jcrxQ3MBqSz4gHryDF5O0DddQauWyGdFOhbXcV+TyOi0wqoHHyU1dpHca9/FbpxFafTiWfsoCw0S+tkRXt7xJ9L5cVRFJRrOcPfd62j98U8YW7eF8QujeBs9CNVOTh2fJ4FSEaYLFUq5FNNDKbJ5ndd3HCOXyZDJqjxs97F2Yw/j6RjlQhZbi58el4+Jd3tZ3l6LZ/tLbH3uR1yOnuaFF19kw4JGfh5SWbMwSldjLZl0moKS/DfvQFLjw8FJ1gbbMPi9ZIpl2gs6V2JGXFYfZyejqANnsK37Gka7DVtjIzvfeIeR3+3C9Ng99PRswuNvJXz+NAtaGhiT3Sy9Pcgip5FEtojZYMSiF+YHBILL6L73Ef4yfBa7u4ZJdRpDV5CGWyuUDBYK6SgDb/+BoqkaYzEFx04zc36UTRtWsjLYydDRAyxrdDJkNfHYVzezeGkHq5Z1ELoQRRQE2uocTMyk5wd0tjbz7JNPcKSvD7PZSCqVhoqOQRYp53PIWhmtVMIgCMiCTlnT0Y0PYLRa6E+HiR3YxypJonvb11mxeg1WTUdRs2Rm83S11FERBRRFmR/wy6dWX1t/1Dk3NMhxfc0AuK82H+Od7ffO2T9zg545gMFjszc84LDO0/kplfDZr9lngJsN+Bveb9bpS0UiAAAAAABJRU5ErkJggg==",imageSize:Ne+"px",onClick:d?function(){return"false"}:"",children:!x&&(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",selected:c,content:R,tooltip:"Click to disable main button",tooltipPosition:"bottom-end",icon:W,iconColor:"gold",iconSize:Q,iconPosition:$,onClick:Z})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:v,onClick:Le}),children:y.map(function(te){return(0,e.createComponentVNode)(2,t.ImageButton,{m:v?.5:0,vertical:v,color:te,content:te,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAOVBMVEXAwMDBr16vk0uORiz/o7HyfxiZbDXWzMzhbA3//wD////tHCQAAP/4ior/ADOAgIDAwMAAAAAzmQDdkuRxAAAAAXRSTlMAQObYZgAAAKxJREFUOI3dksESgyAMRG0FE4I22P//2IaAVdB0em3Xy477SJYZhuFfdDO1AXdD4xtwRd77o5t6wKt20wPlN2QVewUgQqAAiD0QYxQCJYc5zCAEtisUcBkgmUAZ6ErGWh9oeSwE6k+3yHNACIIPgMzQONsWYOZ90QXAiRK7g2K7gtNKayXKjdoOcv4pX+IcGoBMqIA26TswSU6HmueSpLlRcjK0AaOpL97rb+gFHckLe1QlljQAAAAASUVORK5CYII=",imageSize:v?"48px":"24px",onClick:d?function(){return"false"}:""},te)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:h,onClick:Ae}),children:s.map(function(te){return(0,e.createComponentVNode)(2,t.ImageButton,{m:h?.5:0,vertical:h,color:te,content:te,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAJ1BMVEUAAABeGFCgXZN2PnKqqqq/vr/T09PycWFIHUFeKlNLHEtVWWOOj5g02k6OAAAAAXRSTlMAQObYZgAAAFdJREFUKJFjYBhEgFEQDATgAkImLkDgrIgQME0vSy8LRhYoBwISBdLLy1HNSCsvT0MWwLDWGAwQAp0rZ+3evXLWDGSBM2dQBWYCAUkCHB1g0IAreAYCAACm2zDykxPL4AAAAABJRU5ErkJggg==",imageSize:h?"48px":"24px",onClick:d?function(){return"false"}:""},te)})})],4)}},21394:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"ImageButton",render:function(){function k(){return(0,e.createComponentVNode)(2,V)}return k}()},s=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],y=["good","average","bad","black","white"],V=function(S,p){var i=(0,a.useLocalState)(p,"disabled",!1),c=i[0],m=i[1],u=(0,a.useLocalState)(p,"onClick",!0),d=u[0],f=u[1],l=(0,a.useLocalState)(p,"vertical1",!0),v=l[0],b=l[1],g=(0,a.useLocalState)(p,"vertical2",!0),h=g[0],C=g[1],N=(0,a.useLocalState)(p,"vertical3",!1),x=N[0],B=N[1],L=(0,a.useLocalState)(p,"title","Image Button"),w=L[0],A=L[1],T=(0,a.useLocalState)(p,"content","Image is a LIE!"),E=T[0],O=T[1],P=(0,a.useLocalState)(p,"itemContent","Second Button"),R=P[0],F=P[1],j=(0,a.useLocalState)(p,"itemIcon","face-smile"),W=j[0],H=j[1],z=(0,a.useLocalState)(p,"itemIconPos","default"),Y=z[0],G=z[1],ne=(0,a.useLocalState)(p,"itemIconSize",2),Q=ne[0],he=ne[1],Ve=(0,a.useLocalState)(p,"imageSize",64),Ne=Ve[0],Be=Ve[1],Le=function(){b(!v)},Ae=function(){C(!h)},fe=function(){B(!x)},Z=function(){m(!c)},J=function(){f(!d)};return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:w,onInput:function(){function te(ee,le){return A(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function te(ee,le){return O(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:Ne,minValue:0,maxValue:256,step:1,stepPixelSize:2,onChange:function(){function te(ee,le){return Be(le)}return te}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"onClick",checked:d,onClick:J})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Vertical",checked:x,onClick:fe})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Content",children:(0,e.createComponentVNode)(2,t.Input,{value:R,onInput:function(){function te(ee,le){return F(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item Icon",children:(0,e.createComponentVNode)(2,t.Input,{value:W,onInput:function(){function te(ee,le){return H(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconPos",children:(0,e.createComponentVNode)(2,t.Input,{value:Y,onInput:function(){function te(ee,le){return G(le)}return te}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Item IconSize",children:(0,e.createComponentVNode)(2,t.Slider,{animated:!0,width:10,value:Q,minValue:0,maxValue:20,step:1,stepPixelSize:10,onChange:function(){function te(ee,le){return he(le)}return te}()})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{width:x&&Ne+"px",ellipsis:x,vertical:x,disabled:c,title:w,content:E,tooltip:x?E:"Cool and simple buttons with images, FOR ALL!!!",image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAGo0lEQVRYhe3Xa2xT9xnH8e+5+O4ktuM4cS5OYmhCQ1xcYMCgA9rSbKUqqqpWkzq1mgBtq/piaqna7UXXaTfWddL6opO2dlu1aSBVjJZC19FByyUadKGCJIYQAoHEODi2k/hyTnw/x3uxwZpBtq6qhib1efU/5/9/9Hz0O0c6OsLhw4e5mSXe1On/94BAIFAJBAKV/zkgEAhU7HZ7JRQKCaFQSLDb7Z8Y8l8BPjpYVVXh6n1VVT8xRAbY953HP1bTvn8u/9P56/arHNp1h9Y/9YogX73wBW0fx/CpVXIsA/wjgav1pW//mVdPRYhlp6gxWzAYTCRnM0zPKsRnpjBK4JEqqIUi/fEppKxCRReQLFbEikYmOk5ONNPc0s4v1nXgKChEJmNY7dUs+fwXqPfdSjan8Ktv3XVt5hxAR4OT5zcIjGW6ODGd57IyQ53bhVkSMcsSt1RZiOUKSAIsqjFhl+C5gYvMFnK4JXhLLbDZZaVqzyv8YOsLxFIq0XQRE7Ckw8s3n9nGfVu2zUliDmAs8i7xK6dZ0LGeZmc3JYMXs1im1iTjNErUmwVqChqiCJVKhd6pNCaTBU0QOJHJstZZg3/H9/n9r/cy8C+RHxiJMrj1aXbaq+cHvLb/PQqaCVf4PZa1DbGx+xGGkkYMlSI1okitDEZdp29qlrNJBYOgs8ZRxZkZHbmxhs6+PezfvZch0YTTAK1OG5GCQDpXRNTLxIo5vvf8D3nwi3UoKel6gLdpBeVyCNnmRbI00GwWsdQKfBDXiaST+KwO+pIlehMKwRoDzRYDI6lZbnFUcb+viZNvjnIuBat91XxlkRMLGgNJHVWuYlfoEoWixMXIJFB34wTW3ebj7VNh4mOjpBNh8q6lVBtcvHV+jCqTjM8qUchm6fFWUW8xUdBheYOZdC7PleQM0XQKswxtdol6jxMdI3fWafTFsnR4HJzQRIp6bv5HcKj/Q6TZGOpUkaFLFXaWDxGR/Wzx2agyGpnI67jlCnqpwIiS4Vw8gaiXyZQ0NFcdjloPljIksOJdvBKbyU54dATrxDBbl/uZeH8Ii2ycHzAy7SCnxrDV1+JpcuNpWsgas4vVzR58Zh2PRcZtcXEwkmbvpTAnx89RbTJTa6/CmSvjDAT5XJeNmhoTSxcvJplIcb5SxohGu9OFLTuDLxicH7CkzcWuPUkeWp6i4ISNdwRpleGiquG3//2lSWtg0FTuaXETrK1iPBbBJJcZ+OMOcm4Jz50rWBBN0N97gOFJBaxGziolTh36K952P9t/9hK9O568NnPOt+Chbo31C3P0nowwdvwgw/0HAfDbJc7PTHMiPMrgxCUS6QksWhTTxCmSR9/AW46TS01xsrefmGTn5cE4v9l/hC5/E2va/bi0PL1Xpui6/8vcvuKO+RMYn6lgb7DiEl3MTIzy/rF9JAUno+EoRitk1RSyJKMW4cLwOS5fGOHSmQEuTMVJjMVZoI3TmUtxFJ0PbF6WZ8sc372bRD7Hhs2Pg6OeJ55+hs75ABdjEsqZMJtuayXU2EnkisLgid9yZKyEu6UVJRpmamoaOREnl81QyitYLLMMj/bTLeTp8YoMpSQCDRWe3f5T3HmRwTf30PrwN7CvfQBRVaG1jcrxQ3MBqSz4gHryDF5O0DddQauWyGdFOhbXcV+TyOi0wqoHHyU1dpHca9/FbpxFafTiWfsoCw0S+tkRXt7xJ9L5cVRFJRrOcPfd62j98U8YW7eF8QujeBs9CNVOTh2fJ4FSEaYLFUq5FNNDKbJ5ndd3HCOXyZDJqjxs97F2Yw/j6RjlQhZbi58el4+Jd3tZ3l6LZ/tLbH3uR1yOnuaFF19kw4JGfh5SWbMwSldjLZl0moKS/DfvQFLjw8FJ1gbbMPi9ZIpl2gs6V2JGXFYfZyejqANnsK37Gka7DVtjIzvfeIeR3+3C9Ng99PRswuNvJXz+NAtaGhiT3Sy9Pcgip5FEtojZYMSiF+YHBILL6L73Ef4yfBa7u4ZJdRpDV5CGWyuUDBYK6SgDb/+BoqkaYzEFx04zc36UTRtWsjLYydDRAyxrdDJkNfHYVzezeGkHq5Z1ELoQRRQE2uocTMyk5wd0tjbz7JNPcKSvD7PZSCqVhoqOQRYp53PIWhmtVMIgCMiCTlnT0Y0PYLRa6E+HiR3YxypJonvb11mxeg1WTUdRs2Rm83S11FERBRRFmR/wy6dWX1t/1Dk3NMhxfc0AuK82H+Od7ffO2T9zg545gMFjszc84LDO0/kplfDZr9lngJsN+Bveb9bpS0UiAAAAAABJRU5ErkJggg==",imageSize:Ne+"px",onClick:d?function(){return"false"}:"",children:!x&&(0,e.createComponentVNode)(2,t.ImageButton.Item,{bold:!0,width:"64px",selected:c,content:R,tooltip:"Click to disable main button",tooltipPosition:"bottom-end",icon:W,iconColor:"gold",iconSize:Q,iconPosition:Y,onClick:Z})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:v,onClick:Le}),children:y.map(function(te){return(0,e.createComponentVNode)(2,t.ImageButton,{m:v?.5:0,vertical:v,color:te,content:te,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAOVBMVEXAwMDBr16vk0uORiz/o7HyfxiZbDXWzMzhbA3//wD////tHCQAAP/4ior/ADOAgIDAwMAAAAAzmQDdkuRxAAAAAXRSTlMAQObYZgAAAKxJREFUOI3dksESgyAMRG0FE4I22P//2IaAVdB0em3Xy477SJYZhuFfdDO1AXdD4xtwRd77o5t6wKt20wPlN2QVewUgQqAAiD0QYxQCJYc5zCAEtisUcBkgmUAZ6ErGWh9oeSwE6k+3yHNACIIPgMzQONsWYOZ90QXAiRK7g2K7gtNKayXKjdoOcv4pX+IcGoBMqIA26TswSU6HmueSpLlRcjK0AaOpL97rb+gFHckLe1QlljQAAAAASUVORK5CYII=",imageSize:v?"48px":"24px",onClick:d?function(){return"false"}:""},te)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{content:"Vertical",checked:h,onClick:Ae}),children:s.map(function(te){return(0,e.createComponentVNode)(2,t.ImageButton,{m:h?.5:0,vertical:h,color:te,content:te,image:"iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAJ1BMVEUAAABeGFCgXZN2PnKqqqq/vr/T09PycWFIHUFeKlNLHEtVWWOOj5g02k6OAAAAAXRSTlMAQObYZgAAAFdJREFUKJFjYBhEgFEQDATgAkImLkDgrIgQME0vSy8LRhYoBwISBdLLy1HNSCsvT0MWwLDWGAwQAp0rZ+3evXLWDGSBM2dQBWYCAUkCHB1g0IAreAYCAACm2zDykxPL4AAAAABJRU5ErkJggg==",imageSize:h?"48px":"24px",onClick:d?function(){return"false"}:""},te)})})],4)}},21394:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Input",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"number",0),p=S[0],i=S[1],c=(0,a.useLocalState)(k,"text","Sample text"),f=c[0],u=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onChange:function(){function d(m,l){return u(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onInput:function(){function d(m,l){return u(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onChange:function(){function d(m,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(m,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(m,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(m,l){return i(l)}return d}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(m,l){return i(l)}return d}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:p,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function d(m,l){return i(l)}return d}(),children:function(){function d(m){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:m.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:m.displayValue*4}),m.inputElement]})}return d}()})})})]})})}},43932:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function s(){return(0,e.createComponentVNode)(2,o)}return s}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},33270:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Input",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"number",0),p=S[0],i=S[1],c=(0,a.useLocalState)(k,"text","Sample text"),m=c[0],u=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onChange:function(){function d(f,l){return u(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onInput:function(){function d(f,l){return u(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onChange:function(){function d(f,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(f,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(f,l){return i(l)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(f,l){return i(l)}return d}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:p,minValue:-100,maxValue:100,onDrag:function(){function d(f,l){return i(l)}return d}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:p,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function d(f,l){return i(l)}return d}(),children:function(){function d(f){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:f.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:f.displayValue*4}),f.inputElement]})}return d}()})})})]})})}},43932:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function s(){return(0,e.createComponentVNode)(2,o)}return s}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},33270:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -323,11 +323,11 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Tabs",render:function(){function V(){return(0,e.createComponentVNode)(2,y)}return V}()},s=["Tab #1","Tab #2","Tab #3","Tab #4"],y=function(k,S){var p=(0,a.useLocalState)(S,"tabIndex",0),i=p[0],c=p[1],f=(0,a.useLocalState)(S,"tabProps",{}),u=f[0],d=f[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:u.vertical,onClick:function(){function m(){return d(Object.assign({},u,{vertical:!u.vertical}))}return m}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:u.leftSlot,onClick:function(){function m(){return d(Object.assign({},u,{leftSlot:!u.leftSlot}))}return m}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:u.rightSlot,onClick:function(){function m(){return d(Object.assign({},u,{rightSlot:!u.rightSlot}))}return m}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:u.icon,onClick:function(){function m(){return d(Object.assign({},u,{icon:!u.icon}))}return m}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:u.fluid,onClick:function(){function m(){return d(Object.assign({},u,{fluid:!u.fluid}))}return m}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:u.leftAligned,onClick:function(){function m(){return d(Object.assign({},u,{leftAligned:!u.leftAligned}))}return m}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:u.vertical,fluid:u.fluid,textAlign:u.leftAligned&&"left",children:s.map(function(m,l){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===i,icon:u.icon&&"info-circle",leftSlot:u.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:u.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function v(){return c(l)}return v}(),children:m},l)})})})],4)}},53276:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** + */var o=r.meta={title:"Tabs",render:function(){function V(){return(0,e.createComponentVNode)(2,y)}return V}()},s=["Tab #1","Tab #2","Tab #3","Tab #4"],y=function(k,S){var p=(0,a.useLocalState)(S,"tabIndex",0),i=p[0],c=p[1],m=(0,a.useLocalState)(S,"tabProps",{}),u=m[0],d=m[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:u.vertical,onClick:function(){function f(){return d(Object.assign({},u,{vertical:!u.vertical}))}return f}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:u.leftSlot,onClick:function(){function f(){return d(Object.assign({},u,{leftSlot:!u.leftSlot}))}return f}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:u.rightSlot,onClick:function(){function f(){return d(Object.assign({},u,{rightSlot:!u.rightSlot}))}return f}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:u.icon,onClick:function(){function f(){return d(Object.assign({},u,{icon:!u.icon}))}return f}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:u.fluid,onClick:function(){function f(){return d(Object.assign({},u,{fluid:!u.fluid}))}return f}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:u.leftAligned,onClick:function(){function f(){return d(Object.assign({},u,{leftAligned:!u.leftAligned}))}return f}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:u.vertical,fluid:u.fluid,textAlign:u.leftAligned&&"left",children:s.map(function(f,l){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:l===i,icon:u.icon&&"info-circle",leftSlot:u.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:u.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function v(){return c(l)}return v}(),children:f},l)})})})],4)}},53276:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var o=r.meta={title:"Themes",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"kitchenSinkTheme"),p=S[0],i=S[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:p,onInput:function(){function c(f,u){return i(u)}return c}()})})})})}},28717:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(95996),t=n(36036);/** + */var o=r.meta={title:"Themes",render:function(){function y(){return(0,e.createComponentVNode)(2,s)}return y}()},s=function(V,k){var S=(0,a.useLocalState)(k,"kitchenSinkTheme"),p=S[0],i=S[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:p,onInput:function(){function c(m,u){return i(u)}return c}()})})})})}},28717:function(I,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(95996),t=n(36036);/** * @file * @copyright 2021 Aleksej Komarov * @license MIT @@ -335,11 +335,11 @@ * @file * @copyright 2021 Aleksej Komarov * @license MIT - */var t=r.BoxWithSampleText=function(){function o(s){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},s,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},41639:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},24226:function(){},39108:function(){},21039:function(){},51862:function(){},56856:function(){},63489:function(){},1965:function(){},1272:function(){},74757:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},73358:function(){},32882:function(){},70752:function(I,r,n){var e={"./pai_advsecrecords.js":96572,"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_camera_bug.js":79592,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_encoder.js":43816,"./pai_gps_module.js":88895,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_sec_chem.js":19873,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=70752},59395:function(I,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=59395},32054:function(I,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AgentCard":79571,"./AgentCard.js":79571,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AutoDoc":76511,"./AutoDoc.js":76511,"./Autolathe":59179,"./Autolathe.js":59179,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceRiftScanner":13995,"./BluespaceRiftScanner.js":13995,"./BluespaceRiftServer":25530,"./BluespaceRiftServer.js":25530,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BorgPanel":42570,"./BorgPanel.js":42570,"./BotClean":20464,"./BotClean.js":20464,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./Changelog":12226,"./Changelog.js":12226,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./Electropack":82565,"./Electropack.js":82565,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GasAnalyzer":68703,"./GasAnalyzer.js":68703,"./GasFreezer":27546,"./GasFreezer.js":27546,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./ImplantPad":75926,"./ImplantPad.js":75926,"./Instrument":25471,"./Instrument.js":25471,"./ItemPixelShift":65021,"./ItemPixelShift.js":65021,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./LaborClaimConsole":40951,"./LaborClaimConsole.js":40951,"./LawManager":9525,"./LawManager.js":9525,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./Mimicking":52306,"./Mimicking.js":52306,"./Minesweeper":66238,"./Minesweeper.js":66238,"./MiniGamesMenu":21385,"./MiniGamesMenu.js":21385,"./MiningVendor":87684,"./MiningVendor.js":87684,"./Multitool":97955,"./Multitool.js":97955,"./Newscaster":64713,"./Newscaster.js":64713,"./NinjaBloodScan":97351,"./NinjaBloodScan.js":97351,"./NinjaMindScan":32989,"./NinjaMindScan.js":32989,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":30373,"./PAI.js":30373,"./PDA":85175,"./PDA.js":85175,"./PDAPainter":38280,"./PDAPainter.js":38280,"./Pacman":68654,"./Pacman.js":68654,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./PodTracking":94158,"./PodTracking.js":94158,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./QuestConsole":7485,"./QuestConsole.js":7485,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RequestManager":3786,"./RequestManager.js":3786,"./RndConsole":16475,"./RndConsole.js":16475,"./RndConsoleComponents":13472,"./RndConsoleComponents/":13472,"./RndConsoleComponents/CurrentLevels":93098,"./RndConsoleComponents/CurrentLevels.js":93098,"./RndConsoleComponents/DataDiskMenu":19192,"./RndConsoleComponents/DataDiskMenu.js":19192,"./RndConsoleComponents/DeconstructionMenu":20887,"./RndConsoleComponents/DeconstructionMenu.js":20887,"./RndConsoleComponents/LatheCategory":10666,"./RndConsoleComponents/LatheCategory.js":10666,"./RndConsoleComponents/LatheChemicalStorage":52285,"./RndConsoleComponents/LatheChemicalStorage.js":52285,"./RndConsoleComponents/LatheMainMenu":71964,"./RndConsoleComponents/LatheMainMenu.js":71964,"./RndConsoleComponents/LatheMaterialStorage":17906,"./RndConsoleComponents/LatheMaterialStorage.js":17906,"./RndConsoleComponents/LatheMaterials":83706,"./RndConsoleComponents/LatheMaterials.js":83706,"./RndConsoleComponents/LatheMenu":76749,"./RndConsoleComponents/LatheMenu.js":76749,"./RndConsoleComponents/LatheSearch":74698,"./RndConsoleComponents/LatheSearch.js":74698,"./RndConsoleComponents/MainMenu":17180,"./RndConsoleComponents/MainMenu.js":17180,"./RndConsoleComponents/RndNavButton":63459,"./RndConsoleComponents/RndNavButton.js":63459,"./RndConsoleComponents/RndNavbar":94942,"./RndConsoleComponents/RndNavbar.js":94942,"./RndConsoleComponents/RndRoute":12059,"./RndConsoleComponents/RndRoute.js":12059,"./RndConsoleComponents/SettingsMenu":52580,"./RndConsoleComponents/SettingsMenu.js":52580,"./RndConsoleComponents/index":13472,"./RndConsoleComponents/index.js":13472,"./RoboQuest":40026,"./RoboQuest.js":40026,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpiderOS":7957,"./SpiderOS.js":7957,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./SyndieCargoConsole":99279,"./SyndieCargoConsole.js":99279,"./TTSSeedsExplorer":44852,"./TTSSeedsExplorer.js":44852,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThiefKit":69566,"./ThiefKit.js":69566,"./TransferValve":20035,"./TransferValve.js":20035,"./Uplink":52847,"./Uplink.js":52847,"./VampireSpecMenu":8946,"./VampireSpecMenu.js":8946,"./VampireTrophiesStatus":45770,"./VampireTrophiesStatus.js":45770,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./Workshop":30995,"./Workshop.js":30995,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./manually-routed/KitchenSink":25443,"./manually-routed/KitchenSink.js":25443,"./pai/pai_advsecrecords":96572,"./pai/pai_advsecrecords.js":96572,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_camera_bug":79592,"./pai/pai_camera_bug.js":79592,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_encoder":43816,"./pai/pai_encoder.js":43816,"./pai/pai_gps_module":88895,"./pai/pai_gps_module.js":88895,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_sec_chem":19873,"./pai/pai_sec_chem.js":19873,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=32054},4085:function(I,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=4085},10320:function(I,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(I,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(I,r,n){"use strict";var e=n(45015),a=String,t=TypeError;I.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(I,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),s=Array.prototype;s[o]===void 0&&t(s,o,{configurable:!0,value:a(null)}),I.exports=function(y){s[o][y]=!0}},35483:function(I,r,n){"use strict";var e=n(50233).charAt;I.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(I,r,n){"use strict";var e=n(21287),a=TypeError;I.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(I,r,n){"use strict";var e=n(77568),a=String,t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(I){"use strict";I.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(I,r,n){"use strict";var e=n(40033);I.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(I,r,n){"use strict";var e=n(70377),a=n(58310),t=n(16210),o=n(55747),s=n(77568),y=n(45299),V=n(2281),k=n(89393),S=n(37909),p=n(55938),i=n(73936),c=n(21287),f=n(36917),u=n(76649),d=n(24697),m=n(16738),l=n(5419),v=l.enforce,b=l.get,N=t.Int8Array,h=N&&N.prototype,C=t.Uint8ClampedArray,g=C&&C.prototype,x=N&&f(N),B=h&&f(h),L=Object.prototype,w=t.TypeError,A=d("toStringTag"),T=m("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",O=e&&!!u&&V(t.opera)!=="Opera",P=!1,R,F,j,W={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},z=function(){function Ne(Be){if(!s(Be))return!1;var Le=V(Be);return Le==="DataView"||y(W,Le)||y(H,Le)}return Ne}(),$=function(Be){var Le=f(Be);if(s(Le)){var Ae=b(Le);return Ae&&y(Ae,E)?Ae[E]:$(Le)}},G=function(Be){if(!s(Be))return!1;var Le=V(Be);return y(W,Le)||y(H,Le)},ne=function(Be){if(G(Be))return Be;throw new w("Target is not a typed array")},Q=function(Be){if(o(Be)&&(!u||c(x,Be)))return Be;throw new w(k(Be)+" is not a typed array constructor")},he=function(Be,Le,Ae,fe){if(a){if(Ae)for(var Z in W){var J=t[Z];if(J&&y(J.prototype,Be))try{delete J.prototype[Be]}catch(te){try{J.prototype[Be]=Le}catch(ee){}}}(!B[Be]||Ae)&&p(B,Be,Ae?Le:O&&h[Be]||Le,fe)}},Ve=function(Be,Le,Ae){var fe,Z;if(a){if(u){if(Ae){for(fe in W)if(Z=t[fe],Z&&y(Z,Be))try{delete Z[Be]}catch(J){}}if(!x[Be]||Ae)try{return p(x,Be,Ae?Le:O&&x[Be]||Le)}catch(J){}else return}for(fe in W)Z=t[fe],Z&&(!Z[Be]||Ae)&&p(Z,Be,Le)}};for(R in W)F=t[R],j=F&&F.prototype,j?v(j)[E]=F:O=!1;for(R in H)F=t[R],j=F&&F.prototype,j&&(v(j)[E]=F);if((!O||!o(x)||x===Function.prototype)&&(x=function(){function Ne(){throw new w("Incorrect invocation")}return Ne}(),O))for(R in W)t[R]&&u(t[R],x);if((!O||!B||B===L)&&(B=x.prototype,O))for(R in W)t[R]&&u(t[R].prototype,B);if(O&&f(g)!==B&&u(g,B),a&&!y(B,A)){P=!0,i(B,A,{configurable:!0,get:function(){function Ne(){return s(this)?this[T]:void 0}return Ne}()});for(R in W)t[R]&&S(t[R],T,R)}I.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:P&&T,aTypedArray:ne,aTypedArrayConstructor:Q,exportTypedArrayMethod:he,exportTypedArrayStaticMethod:Ve,getTypedArrayConstructor:$,isView:z,isTypedArray:G,TypedArray:x,TypedArrayPrototype:B}},37336:function(I,r,n){"use strict";var e=n(16210),a=n(67250),t=n(58310),o=n(70377),s=n(70520),y=n(37909),V=n(73936),k=n(30145),S=n(40033),p=n(60077),i=n(61365),c=n(10188),f=n(43806),u=n(95867),d=n(91784),m=n(36917),l=n(76649),v=n(88471),b=n(54602),N=n(5781),h=n(5774),C=n(84925),g=n(5419),x=s.PROPER,B=s.CONFIGURABLE,L="ArrayBuffer",w="DataView",A="prototype",T="Wrong length",E="Wrong index",O=g.getterFor(L),P=g.getterFor(w),R=g.set,F=e[L],j=F,W=j&&j[A],H=e[w],z=H&&H[A],$=Object.prototype,G=e.Array,ne=e.RangeError,Q=a(v),he=a([].reverse),Ve=d.pack,Ne=d.unpack,Be=function(X){return[X&255]},Le=function(X){return[X&255,X>>8&255]},Ae=function(X){return[X&255,X>>8&255,X>>16&255,X>>24&255]},fe=function(X){return X[3]<<24|X[2]<<16|X[1]<<8|X[0]},Z=function(X){return Ve(u(X),23,4)},J=function(X){return Ve(X,52,8)},te=function(X,ae,ue){V(X[A],ae,{configurable:!0,get:function(){function ie(){return ue(this)[ae]}return ie}()})},ee=function(X,ae,ue,ie){var ge=P(X),Ce=f(ue),Me=!!ie;if(Ce+ae>ge.byteLength)throw new ne(E);var De=ge.bytes,ke=Ce+ge.byteOffset,pe=b(De,ke,ke+ae);return Me?pe:he(pe)},le=function(X,ae,ue,ie,ge,Ce){var Me=P(X),De=f(ue),ke=ie(+ge),pe=!!Ce;if(De+ae>Me.byteLength)throw new ne(E);for(var se=Me.bytes,xe=De+Me.byteOffset,_=0;_ge)throw new ne("Wrong offset");if(ue=ue===void 0?ge-Ce:c(ue),Ce+ue>ge)throw new ne(T);R(this,{type:w,buffer:X,byteLength:ue,byteOffset:Ce,bytes:ie.bytes}),t||(this.buffer=X,this.byteLength=ue,this.byteOffset=Ce)}return M}(),z=H[A],t&&(te(j,"byteLength",O),te(H,"buffer",P),te(H,"byteLength",P),te(H,"byteOffset",P)),k(z,{getInt8:function(){function M(X){return ee(this,1,X)[0]<<24>>24}return M}(),getUint8:function(){function M(X){return ee(this,1,X)[0]}return M}(),getInt16:function(){function M(X){var ae=ee(this,2,X,arguments.length>1?arguments[1]:!1);return(ae[1]<<8|ae[0])<<16>>16}return M}(),getUint16:function(){function M(X){var ae=ee(this,2,X,arguments.length>1?arguments[1]:!1);return ae[1]<<8|ae[0]}return M}(),getInt32:function(){function M(X){return fe(ee(this,4,X,arguments.length>1?arguments[1]:!1))}return M}(),getUint32:function(){function M(X){return fe(ee(this,4,X,arguments.length>1?arguments[1]:!1))>>>0}return M}(),getFloat32:function(){function M(X){return Ne(ee(this,4,X,arguments.length>1?arguments[1]:!1),23)}return M}(),getFloat64:function(){function M(X){return Ne(ee(this,8,X,arguments.length>1?arguments[1]:!1),52)}return M}(),setInt8:function(){function M(X,ae){le(this,1,X,Be,ae)}return M}(),setUint8:function(){function M(X,ae){le(this,1,X,Be,ae)}return M}(),setInt16:function(){function M(X,ae){le(this,2,X,Le,ae,arguments.length>2?arguments[2]:!1)}return M}(),setUint16:function(){function M(X,ae){le(this,2,X,Le,ae,arguments.length>2?arguments[2]:!1)}return M}(),setInt32:function(){function M(X,ae){le(this,4,X,Ae,ae,arguments.length>2?arguments[2]:!1)}return M}(),setUint32:function(){function M(X,ae){le(this,4,X,Ae,ae,arguments.length>2?arguments[2]:!1)}return M}(),setFloat32:function(){function M(X,ae){le(this,4,X,Z,ae,arguments.length>2?arguments[2]:!1)}return M}(),setFloat64:function(){function M(X,ae){le(this,8,X,J,ae,arguments.length>2?arguments[2]:!1)}return M}()});else{var ye=x&&F.name!==L;!S(function(){F(1)})||!S(function(){new F(-1)})||S(function(){return new F,new F(1.5),new F(NaN),F.length!==1||ye&&!B})?(j=function(){function M(X){return p(this,W),N(new F(f(X)),this,j)}return M}(),j[A]=W,W.constructor=j,h(j,F)):ye&&B&&y(F,"name",L),l&&m(z)!==$&&l(z,$);var me=new H(new j(2)),Te=a(z.setInt8);me.setInt8(0,2147483648),me.setInt8(1,2147483649),(me.getInt8(0)||!me.getInt8(1))&&k(z,{setInt8:function(){function M(X,ae){Te(this,X,ae<<24>>24)}return M}(),setUint8:function(){function M(X,ae){Te(this,X,ae<<24>>24)}return M}()},{unsafe:!0})}C(j,L),C(H,w),I.exports={ArrayBuffer:j,DataView:H}},71447:function(I,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),s=Math.min;I.exports=[].copyWithin||function(){function y(V,k){var S=e(this),p=t(S),i=a(V,p),c=a(k,p),f=arguments.length>2?arguments[2]:void 0,u=s((f===void 0?p:a(f,p))-c,p-i),d=1;for(c0;)c in S?S[i]=S[c]:o(S,i),i+=d,c+=d;return S}return y}()},88471:function(I,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);I.exports=function(){function o(s){for(var y=e(this),V=t(y),k=arguments.length,S=a(k>1?arguments[1]:void 0,V),p=k>2?arguments[2]:void 0,i=p===void 0?V:a(p,V);i>S;)y[S++]=s;return y}return o}()},35601:function(I,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");I.exports=t?[].forEach:function(){function o(s){return e(this,s,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(I,r,n){"use strict";var e=n(24760);I.exports=function(a,t,o){for(var s=0,y=arguments.length>2?o:e(t),V=new a(y);y>s;)V[s]=t[s++];return V}},73174:function(I,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),s=n(76571),y=n(1031),V=n(24760),k=n(60102),S=n(77455),p=n(59201),i=Array;I.exports=function(){function c(f){var u=t(f),d=y(this),m=arguments.length,l=m>1?arguments[1]:void 0,v=l!==void 0;v&&(l=e(l,m>2?arguments[2]:void 0));var b=p(u),N=0,h,C,g,x,B,L;if(b&&!(this===i&&s(b)))for(C=d?new this:[],x=S(u,b),B=x.next;!(g=a(B,x)).done;N++)L=v?o(x,l,[g.value,N],!0):g.value,k(C,N,L);else for(h=V(u),C=d?new this(h):i(h);h>N;N++)L=v?l(u[N],N):u[N],k(C,N,L);return C.length=N,C}return c}()},14211:function(I,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(y){return function(V,k,S){var p=e(V),i=t(p);if(i===0)return!y&&-1;var c=a(S,i),f;if(y&&k!==k){for(;i>c;)if(f=p[c++],f!==f)return!0}else for(;i>c;c++)if((y||c in p)&&p[c]===k)return y||c||0;return!y&&-1}};I.exports={includes:o(!0),indexOf:o(!1)}},22603:function(I,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),s=n(24760),y=n(57823),V=a([].push),k=function(p){var i=p===1,c=p===2,f=p===3,u=p===4,d=p===6,m=p===7,l=p===5||d;return function(v,b,N,h){for(var C=o(v),g=t(C),x=s(g),B=e(b,N),L=0,w=h||y,A=i?w(v,x):c||m?w(v,0):void 0,T,E;x>L;L++)if((l||L in g)&&(T=g[L],E=B(T,L,C),p))if(i)A[L]=E;else if(E)switch(p){case 3:return!0;case 5:return T;case 6:return L;case 2:V(A,T)}else switch(p){case 4:return!1;case 7:V(A,T)}return d?-1:f||u?u:A}};I.exports={forEach:k(0),map:k(1),filter:k(2),some:k(3),every:k(4),find:k(5),findIndex:k(6),filterReject:k(7)}},1325:function(I,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),s=n(55528),y=Math.min,V=[].lastIndexOf,k=!!V&&1/[1].lastIndexOf(1,-0)<0,S=s("lastIndexOf"),p=k||!S;I.exports=p?function(){function i(c){if(k)return e(V,this,arguments)||0;var f=a(this),u=o(f);if(u===0)return-1;var d=u-1;for(arguments.length>1&&(d=y(d,t(arguments[1]))),d<0&&(d=u+d);d>=0;d--)if(d in f&&f[d]===c)return d||0;return-1}return i}():V},44091:function(I,r,n){"use strict";var e=n(40033),a=n(24697),t=n(83141),o=a("species");I.exports=function(s){return t>=51||!e(function(){var y=[],V=y.constructor={};return V[o]=function(){return{foo:1}},y[s](Boolean).foo!==1})}},55528:function(I,r,n){"use strict";var e=n(40033);I.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(I,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),s=TypeError,y="Reduce of empty array with no initial value",V=function(S){return function(p,i,c,f){var u=a(p),d=t(u),m=o(u);if(e(i),m===0&&c<2)throw new s(y);var l=S?m-1:0,v=S?-1:1;if(c<2)for(;;){if(l in d){f=d[l],l+=v;break}if(l+=v,S?l<0:m<=l)throw new s(y)}for(;S?l>=0:m>l;l+=v)l in d&&(f=i(f,d[l],l,u));return f}};I.exports={left:V(!1),right:V(!0)}},13345:function(I,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,s=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(y){return y instanceof TypeError}}();I.exports=s?function(y,V){if(a(y)&&!o(y,"length").writable)throw new t("Cannot set read only .length");return y.length=V}:function(y,V){return y.length=V}},54602:function(I,r,n){"use strict";var e=n(67250);I.exports=e([].slice)},90274:function(I,r,n){"use strict";var e=n(54602),a=Math.floor,t=function(s,y){var V=s.length;if(V<8)for(var k=1,S,p;k0;)s[p]=s[--p];p!==k++&&(s[p]=S)}else for(var i=a(V/2),c=t(e(s,0,i),y),f=t(e(s,i),y),u=c.length,d=f.length,m=0,l=0;m1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(T(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(w){return!!B(this,w)}return L}()}),t(C,b?{get:function(){function L(w){var A=B(this,w);return A&&A.value}return L}(),set:function(){function L(w,A){return x(this,w===0?0:w,A)}return L}()}:{add:function(){function L(w){return x(this,w=w===0?0:w,w)}return L}()}),i&&a(C,"size",{configurable:!0,get:function(){function L(){return g(this).size}return L}()}),h}return m}(),setStrong:function(){function m(l,v,b){var N=v+" Iterator",h=d(v),C=d(N);k(l,v,function(g,x){u(this,{type:N,target:g,state:h(g),kind:x,last:null})},function(){for(var g=C(this),x=g.kind,B=g.last;B&&B.removed;)B=B.previous;return!g.target||!(g.last=B=B?B.next:g.state.first)?(g.target=null,S(void 0,!0)):S(x==="keys"?B.key:x==="values"?B.value:[B.key,B.value],!1)},b?"entries":"values",!b,!0),p(v)}return m}()}},39895:function(I,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),s=n(30365),y=n(42871),V=n(77568),k=n(49450),S=n(22603),p=n(45299),i=n(5419),c=i.set,f=i.getterFor,u=S.find,d=S.findIndex,m=e([].splice),l=0,v=function(C){return C.frozen||(C.frozen=new b)},b=function(){this.entries=[]},N=function(C,g){return u(C.entries,function(x){return x[0]===g})};b.prototype={get:function(){function h(C){var g=N(this,C);if(g)return g[1]}return h}(),has:function(){function h(C){return!!N(this,C)}return h}(),set:function(){function h(C,g){var x=N(this,C);x?x[1]=g:this.entries.push([C,g])}return h}(),delete:function(){function h(C){var g=d(this.entries,function(x){return x[0]===C});return~g&&m(this.entries,g,1),!!~g}return h}()},I.exports={getConstructor:function(){function h(C,g,x,B){var L=C(function(E,O){o(E,w),c(E,{type:g,id:l++,frozen:null}),y(O)||k(O,E[B],{that:E,AS_ENTRIES:x})}),w=L.prototype,A=f(g),T=function(){function E(O,P,R){var F=A(O),j=t(s(P),!0);return j===!0?v(F).set(P,R):j[F.id]=R,O}return E}();return a(w,{delete:function(){function E(O){var P=A(this);if(!V(O))return!1;var R=t(O);return R===!0?v(P).delete(O):R&&p(R,P.id)&&delete R[P.id]}return E}(),has:function(){function E(O){var P=A(this);if(!V(O))return!1;var R=t(O);return R===!0?v(P).has(O):R&&p(R,P.id)}return E}()}),a(w,x?{get:function(){function E(O){var P=A(this);if(V(O)){var R=t(O);if(R===!0)return v(P).get(O);if(R)return R[P.id]}}return E}(),set:function(){function E(O,P){return T(this,O,P)}return E}()}:{add:function(){function E(O){return T(this,O,!0)}return E}()}),L}return h}()}},45150:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(67250),o=n(41314),s=n(55938),y=n(81969),V=n(49450),k=n(60077),S=n(55747),p=n(42871),i=n(77568),c=n(40033),f=n(92490),u=n(84925),d=n(5781);I.exports=function(m,l,v){var b=m.indexOf("Map")!==-1,N=m.indexOf("Weak")!==-1,h=b?"set":"add",C=a[m],g=C&&C.prototype,x=C,B={},L=function(F){var j=t(g[F]);s(g,F,F==="add"?function(){function W(H){return j(this,H===0?0:H),this}return W}():F==="delete"?function(W){return N&&!i(W)?!1:j(this,W===0?0:W)}:F==="get"?function(){function W(H){return N&&!i(H)?void 0:j(this,H===0?0:H)}return W}():F==="has"?function(){function W(H){return N&&!i(H)?!1:j(this,H===0?0:H)}return W}():function(){function W(H,z){return j(this,H===0?0:H,z),this}return W}())},w=o(m,!S(C)||!(N||g.forEach&&!c(function(){new C().entries().next()})));if(w)x=v.getConstructor(l,m,b,h),y.enable();else if(o(m,!0)){var A=new x,T=A[h](N?{}:-0,1)!==A,E=c(function(){A.has(1)}),O=f(function(R){new C(R)}),P=!N&&c(function(){for(var R=new C,F=5;F--;)R[h](F,F);return!R.has(-0)});O||(x=l(function(R,F){k(R,g);var j=d(new C,R,x);return p(F)||V(F,j[h],{that:j,AS_ENTRIES:b}),j}),x.prototype=g,g.constructor=x),(E||P)&&(L("delete"),L("has"),b&&L("get")),(P||T)&&L(h),N&&g.clear&&delete g.clear}return B[m]=x,e({global:!0,constructor:!0,forced:x!==C},B),u(x,m),N||v.setStrong(x,m,b),x}},5774:function(I,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);I.exports=function(s,y,V){for(var k=a(y),S=o.f,p=t.f,i=0;i"+p+""}},5959:function(I){"use strict";I.exports=function(r,n){return{value:r,done:n}}},37909:function(I,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);I.exports=e?function(o,s,y){return a.f(o,s,t(1,y))}:function(o,s,y){return o[s]=y,o}},87458:function(I){"use strict";I.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(I,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);I.exports=function(o,s,y){e?a.f(o,s,t(0,y)):o[s]=y}},67206:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,s=isFinite,y=Math.abs,V=Date.prototype,k=V.toISOString,S=e(V.getTime),p=e(V.getUTCDate),i=e(V.getUTCFullYear),c=e(V.getUTCHours),f=e(V.getUTCMilliseconds),u=e(V.getUTCMinutes),d=e(V.getUTCMonth),m=e(V.getUTCSeconds);I.exports=a(function(){return k.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){k.call(new Date(NaN))})?function(){function l(){if(!s(S(this)))throw new o("Invalid time value");var v=this,b=i(v),N=f(v),h=b<0?"-":b>9999?"+":"";return h+t(y(b),h?6:4,0)+"-"+t(d(v)+1,2,0)+"-"+t(p(v),2,0)+"T"+t(c(v),2,0)+":"+t(u(v),2,0)+":"+t(m(v),2,0)+"."+t(N,3,0)+"Z"}return l}():k},10886:function(I,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;I.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(I,r,n){"use strict";var e=n(20001),a=n(74595);I.exports=function(t,o,s){return s.get&&e(s.get,o,{getter:!0}),s.set&&e(s.set,o,{setter:!0}),a.f(t,o,s)}},55938:function(I,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);I.exports=function(s,y,V,k){k||(k={});var S=k.enumerable,p=k.name!==void 0?k.name:y;if(e(V)&&t(V,p,k),k.global)S?s[y]=V:o(y,V);else{try{k.unsafe?s[y]&&(S=!0):delete s[y]}catch(i){}S?s[y]=V:a.f(s,y,{value:V,enumerable:!1,configurable:!k.nonConfigurable,writable:!k.nonWritable})}return s}},30145:function(I,r,n){"use strict";var e=n(55938);I.exports=function(a,t,o){for(var s in t)e(a,s,t[s],o);return a}},18231:function(I,r,n){"use strict";var e=n(16210),a=Object.defineProperty;I.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(s){e[t]=o}return o}},95108:function(I,r,n){"use strict";var e=n(89393),a=TypeError;I.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(I,r,n){"use strict";var e=n(16210),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);I.exports=function(s){return o?t.createElement(s):{}}},21291:function(I){"use strict";var r=TypeError,n=9007199254740991;I.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},89453:function(I){"use strict";I.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50503:function(I,r,n){"use strict";var e=n(83309),a=e.match(/firefox\/(\d+)/i);I.exports=!!a&&+a[1]},79725:function(I,r,n){"use strict";var e=n(83309);I.exports=/MSIE|Trident/.test(e)},16647:function(I,r,n){"use strict";var e=n(83309);I.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},27770:function(I,r,n){"use strict";var e=n(83309);I.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81663:function(I,r,n){"use strict";var e=n(10753);I.exports=e==="NODE"},52854:function(I,r,n){"use strict";var e=n(83309);I.exports=/web0s(?!.*chrome)/i.test(e)},83309:function(I,r,n){"use strict";var e=n(16210),a=e.navigator,t=a&&a.userAgent;I.exports=t?String(t):""},83141:function(I,r,n){"use strict";var e=n(16210),a=n(83309),t=e.process,o=e.Deno,s=t&&t.versions||o&&o.version,y=s&&s.v8,V,k;y&&(V=y.split("."),k=V[0]>0&&V[0]<4?1:+(V[0]+V[1])),!k&&a&&(V=a.match(/Edge\/(\d+)/),(!V||V[1]>=74)&&(V=a.match(/Chrome\/(\d+)/),V&&(k=+V[1]))),I.exports=k},44981:function(I,r,n){"use strict";var e=n(83309),a=e.match(/AppleWebKit\/(\d+)\./);I.exports=!!a&&+a[1]},10753:function(I,r,n){"use strict";var e=n(16210),a=n(83309),t=n(7462),o=function(y){return a.slice(0,y.length)===y};I.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":t(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"}()},63964:function(I,r,n){"use strict";var e=n(16210),a=n(27193).f,t=n(37909),o=n(55938),s=n(18231),y=n(5774),V=n(41314);I.exports=function(k,S){var p=k.target,i=k.global,c=k.stat,f,u,d,m,l,v;if(i?u=e:c?u=e[p]||s(p,{}):u=e[p]&&e[p].prototype,u)for(d in S){if(l=S[d],k.dontCallGetSet?(v=a(u,d),m=v&&v.value):m=u[d],f=V(i?d:p+(c?".":"#")+d,k.forced),!f&&m!==void 0){if(typeof l==typeof m)continue;y(l,m)}(k.sham||m&&m.sham)&&t(l,"sham",!0),o(u,d,l,k)}}},40033:function(I){"use strict";I.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(I,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),s=n(24697),y=n(37909),V=s("species"),k=RegExp.prototype;I.exports=function(S,p,i,c){var f=s(S),u=!o(function(){var v={};return v[f]=function(){return 7},""[S](v)!==7}),d=u&&!o(function(){var v=!1,b=/a/;return S==="split"&&(b={},b.constructor={},b.constructor[V]=function(){return b},b.flags="",b[f]=/./[f]),b.exec=function(){return v=!0,null},b[f](""),!v});if(!u||!d||i){var m=/./[f],l=p(f,""[S],function(v,b,N,h,C){var g=b.exec;return g===t||g===k.exec?u&&!C?{done:!0,value:e(m,b,N,h)}:{done:!0,value:e(v,N,b,h)}:{done:!1}});a(String.prototype,S,l[0]),a(k,f,l[1])}c&&y(k[f],"sham",!0)}},65561:function(I,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),s=function(V,k,S,p,i,c,f,u){for(var d=i,m=0,l=f?o(f,u):!1,v,b;m0&&e(v)?(b=a(v),d=s(V,k,v,b,d,c-1)-1):(t(d+1),V[d]=v),d++),m++;return d};I.exports=s},50730:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(I,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;I.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(I,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);I.exports=function(s,y){return a(s),y===void 0?s:t?o(s,y):function(){return s.apply(y,arguments)}}},55050:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(I,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),s=n(54602),y=n(55050),V=Function,k=e([].concat),S=e([].join),p={},i=function(f,u,d){if(!o(p,u)){for(var m=[],l=0;l]*>)/g,k=/\$([$&'`]|\d{1,2})/g;I.exports=function(S,p,i,c,f,u){var d=i+S.length,m=c.length,l=k;return f!==void 0&&(f=a(f),l=V),s(u,l,function(v,b){var N;switch(o(b,0)){case"$":return"$";case"&":return S;case"`":return y(p,0,i);case"'":return y(p,d);case"<":N=f[y(b,1,-1)];break;default:var h=+b;if(h===0)return v;if(h>m){var C=t(h/10);return C===0?v:C<=m?c[C-1]===void 0?o(b,1):c[C-1]+o(b,1):v}N=c[h-1]}return N===void 0?"":N})}},16210:function(I,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};I.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(I,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);I.exports=Object.hasOwn||function(){function o(s,y){return t(a(s),y)}return o}()},79195:function(I){"use strict";I.exports={}},72259:function(I){"use strict";I.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(I,r,n){"use strict";var e=n(4009);I.exports=e("document","documentElement")},36223:function(I,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);I.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(I){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,s=function(k,S,p){var i=r(p),c=p*8-S-1,f=(1<>1,d=S===23?e(2,-24)-e(2,-77):0,m=k<0||k===0&&1/k<0?1:0,l=0,v,b,N;for(k=n(k),k!==k||k===1/0?(b=k!==k?1:0,v=f):(v=a(t(k)/o),N=e(2,-v),k*N<1&&(v--,N*=2),v+u>=1?k+=d/N:k+=d*e(2,1-u),k*N>=2&&(v++,N/=2),v+u>=f?(b=0,v=f):v+u>=1?(b=(k*N-1)*e(2,S),v+=u):(b=k*e(2,u-1)*e(2,S),v=0));S>=8;)i[l++]=b&255,b/=256,S-=8;for(v=v<0;)i[l++]=v&255,v/=256,c-=8;return i[l-1]|=m*128,i},y=function(k,S){var p=k.length,i=p*8-S-1,c=(1<>1,u=i-7,d=p-1,m=k[d--],l=m&127,v;for(m>>=7;u>0;)l=l*256+k[d--],u-=8;for(v=l&(1<<-u)-1,l>>=-u,u+=S;u>0;)v=v*256+k[d--],u-=8;if(l===0)l=1-f;else{if(l===c)return v?NaN:m?-1/0:1/0;v+=e(2,S),l-=f}return(m?-1:1)*v*e(2,l-S)};I.exports={pack:s,unpack:y}},37457:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,s=e("".split);I.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(y){return t(y)==="String"?s(y,""):o(y)}:o},5781:function(I,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);I.exports=function(o,s,y){var V,k;return t&&e(V=s.constructor)&&V!==y&&a(k=V.prototype)&&k!==y.prototype&&t(o,k),o}},40492:function(I,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(s){return o(s)}),I.exports=t.inspectSource},81969:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),s=n(45299),y=n(74595).f,V=n(37310),k=n(81644),S=n(81834),p=n(16738),i=n(50730),c=!1,f=p("meta"),u=0,d=function(C){y(C,f,{value:{objectID:"O"+u++,weakData:{}}})},m=function(C,g){if(!o(C))return typeof C=="symbol"?C:(typeof C=="string"?"S":"P")+C;if(!s(C,f)){if(!S(C))return"F";if(!g)return"E";d(C)}return C[f].objectID},l=function(C,g){if(!s(C,f)){if(!S(C))return!0;if(!g)return!1;d(C)}return C[f].weakData},v=function(C){return i&&c&&S(C)&&!s(C,f)&&d(C),C},b=function(){N.enable=function(){},c=!0;var C=V.f,g=a([].splice),x={};x[f]=1,C(x).length&&(V.f=function(B){for(var L=C(B),w=0,A=L.length;wB;B++)if(w=O(u[B]),w&&V(f,w))return w;return new c(!1)}g=k(u,x)}for(A=b?u.next:g.next;!(T=a(A,g)).done;){try{w=O(T.value)}catch(P){p(g,"throw",P)}if(typeof w=="object"&&w&&V(f,w))return w}return new c(!1)}},28649:function(I,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);I.exports=function(o,s,y){var V,k;a(o);try{if(V=t(o,"return"),!V){if(s==="throw")throw y;return y}V=e(V,o)}catch(S){k=!0,V=S}if(s==="throw")throw y;if(k)throw V;return a(V),y}},5656:function(I,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),s=n(83967),y=function(){return this};I.exports=function(V,k,S,p){var i=k+" Iterator";return V.prototype=a(e,{next:t(+!p,S)}),o(V,i,!1,!0),s[i]=y,V}},65574:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),s=n(55747),y=n(5656),V=n(36917),k=n(76649),S=n(84925),p=n(37909),i=n(55938),c=n(24697),f=n(83967),u=n(67635),d=o.PROPER,m=o.CONFIGURABLE,l=u.IteratorPrototype,v=u.BUGGY_SAFARI_ITERATORS,b=c("iterator"),N="keys",h="values",C="entries",g=function(){return this};I.exports=function(x,B,L,w,A,T,E){y(L,B,w);var O=function(Q){if(Q===A&&W)return W;if(!v&&Q&&Q in F)return F[Q];switch(Q){case N:return function(){function he(){return new L(this,Q)}return he}();case h:return function(){function he(){return new L(this,Q)}return he}();case C:return function(){function he(){return new L(this,Q)}return he}()}return function(){return new L(this)}},P=B+" Iterator",R=!1,F=x.prototype,j=F[b]||F["@@iterator"]||A&&F[A],W=!v&&j||O(A),H=B==="Array"&&F.entries||j,z,$,G;if(H&&(z=V(H.call(new x)),z!==Object.prototype&&z.next&&(!t&&V(z)!==l&&(k?k(z,l):s(z[b])||i(z,b,g)),S(z,P,!0,!0),t&&(f[P]=g))),d&&A===h&&j&&j.name!==h&&(!t&&m?p(F,"name",h):(R=!0,W=function(){function ne(){return a(j,this)}return ne}())),A)if($={values:O(h),keys:T?W:O(N),entries:O(C)},E)for(G in $)(v||R||!(G in F))&&i(F,G,$[G]);else e({target:B,proto:!0,forced:v||R},$);return(!t||E)&&F[b]!==W&&i(F,b,W,{name:A}),f[B]=W,$}},67635:function(I,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),s=n(36917),y=n(55938),V=n(24697),k=n(4493),S=V("iterator"),p=!1,i,c,f;[].keys&&(f=[].keys(),"next"in f?(c=s(s(f)),c!==Object.prototype&&(i=c)):p=!0);var u=!t(i)||e(function(){var d={};return i[S].call(d)!==d});u?i={}:k&&(i=o(i)),a(i[S])||y(i,S,function(){return this}),I.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},83967:function(I){"use strict";I.exports={}},24760:function(I,r,n){"use strict";var e=n(10188);I.exports=function(a){return e(a.length)}},20001:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),s=n(58310),y=n(70520).CONFIGURABLE,V=n(40492),k=n(5419),S=k.enforce,p=k.get,i=String,c=Object.defineProperty,f=e("".slice),u=e("".replace),d=e([].join),m=s&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),l=String(String).split("String"),v=I.exports=function(b,N,h){f(i(N),0,7)==="Symbol("&&(N="["+u(i(N),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),h&&h.getter&&(N="get "+N),h&&h.setter&&(N="set "+N),(!o(b,"name")||y&&b.name!==N)&&(s?c(b,"name",{value:N,configurable:!0}):b.name=N),m&&h&&o(h,"arity")&&b.length!==h.arity&&c(b,"length",{value:h.arity});try{h&&o(h,"constructor")&&h.constructor?s&&c(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch(g){}var C=S(b);return o(C,"source")||(C.source=d(l,typeof N=="string"?N:"")),b};Function.prototype.toString=v(function(){function b(){return t(this)&&p(this).source||V(this)}return b}(),"toString")},82040:function(I){"use strict";var r=Math.expm1,n=Math.exp;I.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(I,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,s=function(V){return V+o-o};I.exports=function(y,V,k,S){var p=+y,i=a(p),c=e(p);if(ik||u!==u?c*(1/0):c*u}},95867:function(I,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;I.exports=Math.fround||function(){function s(y){return e(y,a,t,o)}return s}()},75002:function(I){"use strict";var r=Math.log,n=Math.LOG10E;I.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(I){"use strict";var r=Math.log;I.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(I){"use strict";I.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(I){"use strict";var r=Math.ceil,n=Math.floor;I.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(I,r,n){"use strict";var e=n(16210),a=n(44915),t=n(75754),o=n(60375).set,s=n(9547),y=n(27770),V=n(16647),k=n(52854),S=n(81663),p=e.MutationObserver||e.WebKitMutationObserver,i=e.document,c=e.process,f=e.Promise,u=a("queueMicrotask"),d,m,l,v,b;if(!u){var N=new s,h=function(){var g,x;for(S&&(g=c.domain)&&g.exit();x=N.get();)try{x()}catch(B){throw N.head&&d(),B}g&&g.enter()};!y&&!S&&!k&&p&&i?(m=!0,l=i.createTextNode(""),new p(h).observe(l,{characterData:!0}),d=function(){l.data=m=!m}):!V&&f&&f.resolve?(v=f.resolve(void 0),v.constructor=f,b=t(v.then,v),d=function(){b(h)}):S?d=function(){c.nextTick(h)}:(o=t(o,e),d=function(){o(h)}),u=function(g){N.head||d(),N.add(g)}}I.exports=u},81837:function(I,r,n){"use strict";var e=n(10320),a=TypeError,t=function(s){var y,V;this.promise=new s(function(k,S){if(y!==void 0||V!==void 0)throw new a("Bad Promise constructor");y=k,V=S}),this.resolve=e(y),this.reject=e(V)};I.exports.f=function(o){return new t(o)}},86213:function(I,r,n){"use strict";var e=n(72586),a=TypeError;I.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(I,r,n){"use strict";var e=n(16210),a=e.isFinite;I.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(12605),s=n(92648).trim,y=n(4198),V=t("".charAt),k=e.parseFloat,S=e.Symbol,p=S&&S.iterator,i=1/k(y+"-0")!==-1/0||p&&!a(function(){k(Object(p))});I.exports=i?function(){function c(f){var u=s(o(f)),d=k(u);return d===0&&V(u,0)==="-"?-0:d}return c}():k},13693:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(12605),s=n(92648).trim,y=n(4198),V=e.parseInt,k=e.Symbol,S=k&&k.iterator,p=/^[+-]?0x/i,i=t(p.exec),c=V(y+"08")!==8||V(y+"0x16")!==22||S&&!a(function(){V(Object(S))});I.exports=c?function(){function f(u,d){var m=s(o(u));return V(m,d>>>0||(i(p,m)?16:10))}return f}():V},41143:function(I,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),s=n(18450),y=n(89235),V=n(12867),k=n(46771),S=n(37457),p=Object.assign,i=Object.defineProperty,c=a([].concat);I.exports=!p||o(function(){if(e&&p({b:1},p(i({},"a",{enumerable:!0,get:function(){function l(){i(this,"b",{value:3,enumerable:!1})}return l}()}),{b:2})).b!==1)return!0;var f={},u={},d=Symbol("assign detection"),m="abcdefghijklmnopqrst";return f[d]=7,m.split("").forEach(function(l){u[l]=l}),p({},f)[d]!==7||s(p({},u)).join("")!==m})?function(){function f(u,d){for(var m=k(u),l=arguments.length,v=1,b=y.f,N=V.f;l>v;)for(var h=S(arguments[v++]),C=b?c(s(h),b(h)):s(h),g=C.length,x=0,B;g>x;)B=C[x++],(!e||t(N,h,B))&&(m[B]=h[B]);return m}return f}():p},80674:function(I,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),s=n(5315),y=n(12689),V=n(19417),k=">",S="<",p="prototype",i="script",c=V("IE_PROTO"),f=function(){},u=function(N){return S+i+k+N+S+"/"+i+k},d=function(N){N.write(u("")),N.close();var h=N.parentWindow.Object;return N=null,h},m=function(){var N=y("iframe"),h="java"+i+":",C;return N.style.display="none",s.appendChild(N),N.src=String(h),C=N.contentWindow.document,C.open(),C.write(u("document.F=Object")),C.close(),C.F},l,v=function(){try{l=new ActiveXObject("htmlfile")}catch(h){}v=typeof document!="undefined"?document.domain&&l?d(l):m():d(l);for(var N=t.length;N--;)delete v[p][t[N]];return v()};o[c]=!0,I.exports=Object.create||function(){function b(N,h){var C;return N!==null?(f[p]=e(N),C=new f,f[p]=null,C[c]=N):C=v(),h===void 0?C:a.f(C,h)}return b}()},24239:function(I,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),s=n(57591),y=n(18450);r.f=e&&!a?Object.defineProperties:function(){function V(k,S){o(k);for(var p=s(S),i=y(S),c=i.length,f=0,u;c>f;)t.f(k,u=i[f++],p[u]);return k}return V}()},74595:function(I,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),s=n(767),y=TypeError,V=Object.defineProperty,k=Object.getOwnPropertyDescriptor,S="enumerable",p="configurable",i="writable";r.f=e?t?function(){function c(f,u,d){if(o(f),u=s(u),o(d),typeof f=="function"&&u==="prototype"&&"value"in d&&i in d&&!d[i]){var m=k(f,u);m&&m[i]&&(f[u]=d.value,d={configurable:p in d?d[p]:m[p],enumerable:S in d?d[S]:m[S],writable:!1})}return V(f,u,d)}return c}():V:function(){function c(f,u,d){if(o(f),u=s(u),o(d),a)try{return V(f,u,d)}catch(m){}if("get"in d||"set"in d)throw new y("Accessors not supported");return"value"in d&&(f[u]=d.value),f}return c}()},27193:function(I,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),s=n(57591),y=n(767),V=n(45299),k=n(36223),S=Object.getOwnPropertyDescriptor;r.f=e?S:function(){function p(i,c){if(i=s(i),c=y(c),k)try{return S(i,c)}catch(f){}if(V(i,c))return o(!a(t.f,i,c),i[c])}return p}()},81644:function(I,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(k){try{return t(k)}catch(S){return o(s)}};I.exports.f=function(){function V(k){return s&&e(k)==="Window"?y(k):t(a(k))}return V}()},37310:function(I,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(s){return e(s,t)}return o}()},89235:function(I,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(I,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),s=n(9225),y=o("IE_PROTO"),V=Object,k=V.prototype;I.exports=s?V.getPrototypeOf:function(S){var p=t(S);if(e(p,y))return p[y];var i=p.constructor;return a(i)&&p instanceof i?i.prototype:p instanceof V?k:null}},81834:function(I,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),s=Object.isExtensible,y=e(function(){s(1)});I.exports=y||o?function(){function V(k){return!a(k)||o&&t(k)==="ArrayBuffer"?!1:s?s(k):!0}return V}():s},21287:function(I,r,n){"use strict";var e=n(67250);I.exports=e({}.isPrototypeOf)},53726:function(I,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,s=n(79195),y=e([].push);I.exports=function(V,k){var S=t(V),p=0,i=[],c;for(c in S)!a(s,c)&&a(S,c)&&y(i,c);for(;k.length>p;)a(S,c=k[p++])&&(~o(i,c)||y(i,c));return i}},18450:function(I,r,n){"use strict";var e=n(53726),a=n(89453);I.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(I,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var s=e(this,o);return!!s&&s.enumerable}return t}():n},57377:function(I,r,n){"use strict";var e=n(4493),a=n(16210),t=n(40033),o=n(44981);I.exports=e||!t(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete a[s]}})},76649:function(I,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);I.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,y={},V;try{V=e(Object.prototype,"__proto__","set"),V(y,[]),s=y instanceof Array}catch(k){}return function(){function k(S,p){return t(S),o(p),a(S)&&(s?V(S,p):S.__proto__=p),S}return k}()}():void 0)},70915:function(I,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),s=n(18450),y=n(57591),V=n(12867).f,k=t(V),S=t([].push),p=e&&a(function(){var c=Object.create(null);return c[2]=2,!k(c,2)}),i=function(f){return function(u){for(var d=y(u),m=s(d),l=p&&o(d)===null,v=m.length,b=0,N=[],h;v>b;)h=m[b++],(!e||(l?h in d:k(d,h)))&&S(N,f?[h,d[h]]:d[h]);return N}};I.exports={entries:i(!0),values:i(!1)}},2509:function(I,r,n){"use strict";var e=n(2650),a=n(2281);I.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(I,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;I.exports=function(s,y){var V,k;if(y==="string"&&a(V=s.toString)&&!t(k=e(V,s))||a(V=s.valueOf)&&!t(k=e(V,s))||y!=="string"&&a(V=s.toString)&&!t(k=e(V,s)))return k;throw new o("Can't convert object to primitive value")}},97921:function(I,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),s=n(30365),y=a([].concat);I.exports=e("Reflect","ownKeys")||function(){function V(k){var S=t.f(s(k)),p=o.f;return p?y(S,p(k)):S}return V}()},61765:function(I,r,n){"use strict";var e=n(16210);I.exports=e},10729:function(I){"use strict";I.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(I,r,n){"use strict";var e=n(16210),a=n(67512),t=n(55747),o=n(41314),s=n(40492),y=n(24697),V=n(10753),k=n(4493),S=n(83141),p=a&&a.prototype,i=y("species"),c=!1,f=t(e.PromiseRejectionEvent),u=o("Promise",function(){var d=s(a),m=d!==String(a);if(!m&&S===66||k&&!(p.catch&&p.finally))return!0;if(!S||S<51||!/native code/.test(d)){var l=new a(function(N){N(1)}),v=function(h){h(function(){},function(){})},b=l.constructor={};if(b[i]=v,c=l.then(function(){})instanceof v,!c)return!0}return!m&&(V==="BROWSER"||V==="DENO")&&!f});I.exports={CONSTRUCTOR:u,REJECTION_EVENT:f,SUBCLASSING:c}},67512:function(I,r,n){"use strict";var e=n(16210);I.exports=e.Promise},66628:function(I,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);I.exports=function(o,s){if(e(o),a(s)&&s.constructor===o)return s;var y=t.f(o),V=y.resolve;return V(s),y.promise}},48199:function(I,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;I.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(I,r,n){"use strict";var e=n(74595).f;I.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function s(){return t[o]}return s}(),set:function(){function s(y){t[o]=y}return s}()})}},9547:function(I){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},I.exports=r},28340:function(I,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),s=n(14489),y=TypeError;I.exports=function(V,k){var S=V.exec;if(t(S)){var p=e(S,V,k);return p!==null&&a(p),p}if(o(V)==="RegExp")return e(s,V,k);throw new y("RegExp#exec called on incompatible receiver")}},14489:function(I,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),s=n(62115),y=n(16639),V=n(80674),k=n(5419).get,S=n(39173),p=n(35688),i=y("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,f=c,u=a("".charAt),d=a("".indexOf),m=a("".replace),l=a("".slice),v=function(){var C=/a/,g=/b*/g;return e(c,C,"a"),e(c,g,"a"),C.lastIndex!==0||g.lastIndex!==0}(),b=s.BROKEN_CARET,N=/()??/.exec("")[1]!==void 0,h=v||N||b||S||p;h&&(f=function(){function C(g){var x=this,B=k(x),L=t(g),w=B.raw,A,T,E,O,P,R,F;if(w)return w.lastIndex=x.lastIndex,A=e(f,w,L),x.lastIndex=w.lastIndex,A;var j=B.groups,W=b&&x.sticky,H=e(o,x),z=x.source,$=0,G=L;if(W&&(H=m(H,"y",""),d(H,"g")===-1&&(H+="g"),G=l(L,x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&u(L,x.lastIndex-1)!=="\n")&&(z="(?: "+z+")",G=" "+G,$++),T=new RegExp("^(?:"+z+")",H)),N&&(T=new RegExp("^"+z+"$(?!\\s)",H)),v&&(E=x.lastIndex),O=e(c,W?T:x,G),W?O?(O.input=l(O.input,$),O[0]=l(O[0],$),O.index=x.lastIndex,x.lastIndex+=O[0].length):x.lastIndex=0:v&&O&&(x.lastIndex=x.global?O.index+O[0].length:E),N&&O&&O.length>1&&e(i,O[0],T,function(){for(P=1;Pb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(I,r,n){"use strict";var e=n(42871),a=TypeError;I.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(I,r,n){"use strict";var e=n(16210),a=n(58310),t=Object.getOwnPropertyDescriptor;I.exports=function(o){if(!a)return e[o];var s=t(e,o);return s&&s.value}},5700:function(I){"use strict";I.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(55747),o=n(10753),s=n(83309),y=n(54602),V=n(24986),k=e.Function,S=/MSIE .\./.test(s)||o==="BUN"&&function(){var p=e.Bun.version.split(".");return p.length<3||p[0]==="0"&&(p[1]<3||p[1]==="3"&&p[2]==="0")}();I.exports=function(p,i){var c=i?2:1;return S?function(f,u){var d=V(arguments.length,1)>c,m=t(f)?f:k(f),l=d?y(arguments,c):[],v=d?function(){a(m,this,l)}:m;return i?p(v,u):p(v)}:p}},58491:function(I,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),s=t("species");I.exports=function(y){var V=e(y);o&&V&&!V[s]&&a(V,s,{configurable:!0,get:function(){function k(){return this}return k}()})}},84925:function(I,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");I.exports=function(s,y,V){s&&!V&&(s=s.prototype),s&&!a(s,o)&&e(s,o,{configurable:!0,value:y})}},19417:function(I,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");I.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(I,r,n){"use strict";var e=n(4493),a=n(16210),t=n(18231),o="__core-js_shared__",s=I.exports=a[o]||t(o,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(I,r,n){"use strict";var e=n(40095);I.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(I,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),s=o("species");I.exports=function(y,V){var k=e(y).constructor,S;return k===void 0||t(S=e(k)[s])?V:a(S)}},88539:function(I,r,n){"use strict";var e=n(40033);I.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(I,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),s=e("".charAt),y=e("".charCodeAt),V=e("".slice),k=function(p){return function(i,c){var f=t(o(i)),u=a(c),d=f.length,m,l;return u<0||u>=d?p?"":void 0:(m=y(f,u),m<55296||m>56319||u+1===d||(l=y(f,u+1))<56320||l>57343?p?s(f,u):m:p?V(f,u,u+2):(m-55296<<10)+(l-56320)+65536)}};I.exports={codeAt:k(!1),charAt:k(!0)}},34125:function(I,r,n){"use strict";var e=n(83309);I.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(I,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),s=n(16952),y=e(o),V=e("".slice),k=Math.ceil,S=function(i){return function(c,f,u){var d=t(s(c)),m=a(f),l=d.length,v=u===void 0?" ":t(u),b,N;return m<=l||v===""?d:(b=m-l,N=y(v,k(b/v.length)),N.length>b&&(N=V(N,0,b)),i?d+N:N+d)}};I.exports={start:S(!1),end:S(!0)}},62443:function(I,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;I.exports=function(){function s(y){var V=a(t(this)),k="",S=e(y);if(S<0||S===1/0)throw new o("Wrong number of repetitions");for(;S>0;(S>>>=1)&&(V+=V))S&1&&(k+=V);return k}return s}()},43476:function(I,r,n){"use strict";var e=n(92648).end,a=n(90012);I.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(I,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";I.exports=function(s){return a(function(){return!!t[s]()||o[s]()!==o||e&&t[s].name!==s})}},43885:function(I,r,n){"use strict";var e=n(92648).start,a=n(90012);I.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(I,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),s=e("".replace),y=RegExp("^["+o+"]+"),V=RegExp("(^|[^"+o+"])["+o+"]+$"),k=function(p){return function(i){var c=t(a(i));return p&1&&(c=s(c,y,"")),p&2&&(c=s(c,V,"$1")),c}};I.exports={start:k(1),end:k(2),trim:k(3)}},52357:function(I,r,n){"use strict";var e=n(83141),a=n(40033),t=n(16210),o=t.String;I.exports=!!Object.getOwnPropertySymbols&&!a(function(){var s=Symbol("symbol detection");return!o(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(I,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);I.exports=function(){var s=a("Symbol"),y=s&&s.prototype,V=y&&y.valueOf,k=t("toPrimitive");y&&!y[k]&&o(y,k,function(S){return e(V,this)},{arity:1})}},66570:function(I,r,n){"use strict";var e=n(52357);I.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(75754),o=n(55747),s=n(45299),y=n(40033),V=n(5315),k=n(54602),S=n(12689),p=n(24986),i=n(27770),c=n(81663),f=e.setImmediate,u=e.clearImmediate,d=e.process,m=e.Dispatch,l=e.Function,v=e.MessageChannel,b=e.String,N=0,h={},C="onreadystatechange",g,x,B,L;y(function(){g=e.location});var w=function(P){if(s(h,P)){var R=h[P];delete h[P],R()}},A=function(P){return function(){w(P)}},T=function(P){w(P.data)},E=function(P){e.postMessage(b(P),g.protocol+"//"+g.host)};(!f||!u)&&(f=function(){function O(P){p(arguments.length,1);var R=o(P)?P:l(P),F=k(arguments,1);return h[++N]=function(){a(R,void 0,F)},x(N),N}return O}(),u=function(){function O(P){delete h[P]}return O}(),c?x=function(P){d.nextTick(A(P))}:m&&m.now?x=function(P){m.now(A(P))}:v&&!i?(B=new v,L=B.port2,B.port1.onmessage=T,x=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&g&&g.protocol!=="file:"&&!y(E)?(x=E,e.addEventListener("message",T,!1)):C in S("script")?x=function(P){V.appendChild(S("script"))[C]=function(){V.removeChild(this),w(P)}}:x=function(P){setTimeout(A(P),0)}),I.exports={set:f,clear:u}},46438:function(I,r,n){"use strict";var e=n(67250);I.exports=e(1 .valueOf)},13912:function(I,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;I.exports=function(o,s){var y=e(o);return y<0?a(y+s,0):t(y,s)}},61484:function(I,r,n){"use strict";var e=n(24843),a=TypeError;I.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(I,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;I.exports=function(o){if(o===void 0)return 0;var s=e(o),y=a(s);if(s!==y)throw new t("Wrong length or index");return y}},57591:function(I,r,n){"use strict";var e=n(37457),a=n(16952);I.exports=function(t){return e(a(t))}},61365:function(I,r,n){"use strict";var e=n(21119);I.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(I,r,n){"use strict";var e=n(61365),a=Math.min;I.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(I,r,n){"use strict";var e=n(16952),a=Object;I.exports=function(t){return a(e(t))}},56043:function(I,r,n){"use strict";var e=n(16140),a=RangeError;I.exports=function(t,o){var s=e(t);if(s%o)throw new a("Wrong offset");return s}},16140:function(I,r,n){"use strict";var e=n(61365),a=RangeError;I.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(I,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),s=n(13396),y=n(24697),V=TypeError,k=y("toPrimitive");I.exports=function(S,p){if(!a(S)||t(S))return S;var i=o(S,k),c;if(i){if(p===void 0&&(p="default"),c=e(i,S,p),!a(c)||t(c))return c;throw new V("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(S,p)}},767:function(I,r,n){"use strict";var e=n(24843),a=n(71399);I.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(I,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",I.exports=String(t)==="[object z]"},12605:function(I,r,n){"use strict";var e=n(2281),a=String;I.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(I){"use strict";var r=Math.round;I.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(I){"use strict";var r=String;I.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(91495),o=n(58310),s=n(86563),y=n(4246),V=n(37336),k=n(60077),S=n(87458),p=n(37909),i=n(5841),c=n(10188),f=n(43806),u=n(56043),d=n(15409),m=n(767),l=n(45299),v=n(2281),b=n(77568),N=n(71399),h=n(80674),C=n(21287),g=n(76649),x=n(37310).f,B=n(3805),L=n(22603).forEach,w=n(58491),A=n(73936),T=n(74595),E=n(27193),O=n(78008),P=n(5419),R=n(5781),F=P.get,j=P.set,W=P.enforce,H=T.f,z=E.f,$=a.RangeError,G=V.ArrayBuffer,ne=G.prototype,Q=V.DataView,he=y.NATIVE_ARRAY_BUFFER_VIEWS,Ve=y.TYPED_ARRAY_TAG,Ne=y.TypedArray,Be=y.TypedArrayPrototype,Le=y.isTypedArray,Ae="BYTES_PER_ELEMENT",fe="Wrong length",Z=function(me,Te){A(me,Te,{configurable:!0,get:function(){function M(){return F(this)[Te]}return M}()})},J=function(me){var Te;return C(ne,me)||(Te=v(me))==="ArrayBuffer"||Te==="SharedArrayBuffer"},te=function(me,Te){return Le(me)&&!N(Te)&&Te in me&&i(+Te)&&Te>=0},ee=function(){function ye(me,Te){return Te=m(Te),te(me,Te)?S(2,me[Te]):z(me,Te)}return ye}(),le=function(){function ye(me,Te,M){return Te=m(Te),te(me,Te)&&b(M)&&l(M,"value")&&!l(M,"get")&&!l(M,"set")&&!M.configurable&&(!l(M,"writable")||M.writable)&&(!l(M,"enumerable")||M.enumerable)?(me[Te]=M.value,me):H(me,Te,M)}return ye}();o?(he||(E.f=ee,T.f=le,Z(Be,"buffer"),Z(Be,"byteOffset"),Z(Be,"byteLength"),Z(Be,"length")),e({target:"Object",stat:!0,forced:!he},{getOwnPropertyDescriptor:ee,defineProperty:le}),I.exports=function(ye,me,Te){var M=ye.match(/\d+/)[0]/8,X=ye+(Te?"Clamped":"")+"Array",ae="get"+ye,ue="set"+ye,ie=a[X],ge=ie,Ce=ge&&ge.prototype,Me={},De=function(_,oe){var ve=F(_);return ve.view[ae](oe*M+ve.byteOffset,!0)},ke=function(_,oe,ve){var Se=F(_);Se.view[ue](oe*M+Se.byteOffset,Te?d(ve):ve,!0)},pe=function(_,oe){H(_,oe,{get:function(){function ve(){return De(this,oe)}return ve}(),set:function(){function ve(Se){return ke(this,oe,Se)}return ve}(),enumerable:!0})};he?s&&(ge=me(function(xe,_,oe,ve){return k(xe,Ce),R(function(){return b(_)?J(_)?ve!==void 0?new ie(_,u(oe,M),ve):oe!==void 0?new ie(_,u(oe,M)):new ie(_):Le(_)?O(ge,_):t(B,ge,_):new ie(f(_))}(),xe,ge)}),g&&g(ge,Ne),L(x(ie),function(xe){xe in ge||p(ge,xe,ie[xe])}),ge.prototype=Ce):(ge=me(function(xe,_,oe,ve){k(xe,Ce);var Se=0,Ie=0,Ee,Pe,Oe;if(!b(_))Oe=f(_),Pe=Oe*M,Ee=new G(Pe);else if(J(_)){Ee=_,Ie=u(oe,M);var We=_.byteLength;if(ve===void 0){if(We%M)throw new $(fe);if(Pe=We-Ie,Pe<0)throw new $(fe)}else if(Pe=c(ve)*M,Pe+Ie>We)throw new $(fe);Oe=Pe/M}else return Le(_)?O(ge,_):t(B,ge,_);for(j(xe,{buffer:Ee,byteOffset:Ie,byteLength:Pe,length:Oe,view:new Q(Ee)});Se1?arguments[1]:void 0,v=l!==void 0,b=V(d),N,h,C,g,x,B,L,w;if(b&&!k(b))for(L=y(d,b),w=L.next,d=[];!(B=a(w,L)).done;)d.push(B.value);for(v&&m>2&&(l=e(l,arguments[2])),h=s(d),C=new(p(u))(h),g=S(C),N=0;h>N;N++)x=v?l(d[N],N):d[N],C[N]=g?i(x):+x;return C}return c}()},31082:function(I,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;I.exports=function(s){return t(a(s,o(s)))}},16738:function(I,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);I.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+o(++a+t,36)}},1062:function(I,r,n){"use strict";var e=n(52357);I.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(I,r,n){"use strict";var e=n(58310),a=n(40033);I.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(I){"use strict";var r=TypeError;I.exports=function(n,e){if(n=51||!a(function(){var l=[];return l[f]=!1,l.concat()[0]!==l}),d=function(v){if(!o(v))return!1;var b=v[f];return b!==void 0?!!b:t(v)},m=!u||!p("concat");e({target:"Array",proto:!0,arity:1,forced:m},{concat:function(){function l(v){var b=s(this),N=S(b,0),h=0,C,g,x,B,L;for(C=-1,x=arguments.length;C1?arguments[1]:void 0)}return s}()})},68933:function(I,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(I,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function s(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return s}()})},64094:function(I,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{findIndex:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),t(o)},13455:function(I,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{find:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),t(o)},32384:function(I,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),s=n(24760),y=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function V(k){var S=o(this),p=s(S),i;return t(k),i=y(S,0),i.length=a(i,S,S,p,0,1,k,arguments.length>1?arguments[1]:void 0),i}return V}()})},61915:function(I,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),s=n(61365),y=n(57823);e({target:"Array",proto:!0},{flat:function(){function V(){var k=arguments.length?arguments[0]:void 0,S=t(this),p=o(S),i=y(S,0);return i.length=a(i,S,S,p,0,k===void 0?1:s(k)),i}return V}()})},25579:function(I,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(I,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(s){Array.from(s)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(I,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),s=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:s},{includes:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),o("includes")},43894:function(I,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),s=a([].indexOf),y=!!s&&1/s([1],1,-0)<0,V=y||!o("indexOf");e({target:"Array",proto:!0,forced:V},{indexOf:function(){function k(S){var p=arguments.length>1?arguments[1]:void 0;return y?s(this,S,p)||0:t(this,S,p)}return k}()})},99636:function(I,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(I,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),s=n(74595).f,y=n(65574),V=n(5959),k=n(4493),S=n(58310),p="Array Iterator",i=o.set,c=o.getterFor(p);I.exports=y(Array,"Array",function(u,d){i(this,{type:p,target:e(u),index:0,kind:d})},function(){var u=c(this),d=u.target,m=u.index++;if(!d||m>=d.length)return u.target=null,V(void 0,!0);switch(u.kind){case"keys":return V(m,!1);case"values":return V(d[m],!1)}return V([m,d[m]],!1)},"values");var f=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!k&&S&&f.name!=="values")try{s(f,"name",{value:"values"})}catch(u){}},94432:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),s=n(55528),y=a([].join),V=t!==Object,k=V||!s("join",",");e({target:"Array",proto:!0,forced:k},{join:function(){function S(p){return y(o(this),p===void 0?",":p)}return S}()})},24683:function(I,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(I,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function s(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return s}()})},32089:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),s=Array,y=a(function(){function V(){}return!(s.of.call(V)instanceof V)});e({target:"Array",stat:!0,forced:y},{of:function(){function V(){for(var k=0,S=arguments.length,p=new(t(this)?this:s)(S);S>k;)o(p,k,arguments[k++]);return p.length=S,p}return V}()})},29645:function(I,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(83141),s=n(81663),y=!s&&o>79&&o<83,V=y||!t("reduceRight");e({target:"Array",proto:!0,forced:V},{reduceRight:function(){function k(S){return a(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}return k}()})},60206:function(I,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(83141),s=n(81663),y=!s&&o>79&&o<83,V=y||!t("reduce");e({target:"Array",proto:!0,forced:V},{reduce:function(){function k(S){var p=arguments.length;return a(this,S,p,p>1?arguments[1]:void 0)}return k}()})},4788:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),s=[1,2];e({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){function y(){return t(this)&&(this.length=this.length),o(this)}return y}()})},58672:function(I,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),s=n(13912),y=n(24760),V=n(57591),k=n(60102),S=n(24697),p=n(44091),i=n(54602),c=p("slice"),f=S("species"),u=Array,d=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function m(l,v){var b=V(this),N=y(b),h=s(l,N),C=s(v===void 0?N:v,N),g,x,B;if(a(b)&&(g=b.constructor,t(g)&&(g===u||a(g.prototype))?g=void 0:o(g)&&(g=g[f],g===null&&(g=void 0)),g===u||g===void 0))return i(b,h,C);for(x=new(g===void 0?u:g)(d(C-h,0)),B=0;h1?arguments[1]:void 0)}return s}()})},48968:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),s=n(24760),y=n(95108),V=n(12605),k=n(40033),S=n(90274),p=n(55528),i=n(50503),c=n(79725),f=n(83141),u=n(44981),d=[],m=a(d.sort),l=a(d.push),v=k(function(){d.sort(void 0)}),b=k(function(){d.sort(null)}),N=p("sort"),h=!k(function(){if(f)return f<70;if(!(i&&i>3)){if(c)return!0;if(u)return u<603;var x="",B,L,w,A;for(B=65;B<76;B++){switch(L=String.fromCharCode(B),B){case 66:case 69:case 70:case 72:w=3;break;case 68:case 71:w=4;break;default:w=2}for(A=0;A<47;A++)d.push({k:L+A,v:w})}for(d.sort(function(T,E){return E.v-T.v}),A=0;AV(w)?1:-1}};e({target:"Array",proto:!0,forced:C},{sort:function(){function x(B){B!==void 0&&t(B);var L=o(this);if(h)return B===void 0?m(L):m(L,B);var w=[],A=s(L),T,E;for(E=0;Eb-g+C;B--)p(v,B-1)}else if(C>g)for(B=b-g;B>N;B--)L=B+g-1,w=B+C-1,L in v?v[w]=v[L]:p(v,w);for(B=0;B9490626562425156e-8?o(p)+y:a(p-1+s(p-1)*s(p+1))}return k}()})},59660:function(I,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function s(V){var k=+V;return!isFinite(k)||k===0?k:k<0?-s(-k):t(k+o(k*k+1))}var y=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:y},{asinh:s})},15383:function(I,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function s(y){var V=+y;return V===0?V:t((1+V)/(1-V))/2}return s}()})},92866:function(I,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function s(y){var V=+y;return a(V)*o(t(V),.3333333333333333)}return s}()})},86107:function(I,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function s(y){var V=y>>>0;return V?31-a(t(V+.5)*o):32}return s}()})},29248:function(I,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,s=Math.E,y=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:y},{cosh:function(){function V(k){var S=a(o(k)-1)+1;return(S+1/(S*s*s))*(s/2)}return V}()})},52540:function(I,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(I,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(I,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,s=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(){function y(V,k){for(var S=0,p=0,i=arguments.length,c=0,f,u;p0?(u=f/c,S+=u*u):S+=f;return c===1/0?1/0:c*o(S)}return y}()})},6522:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function s(y,V){var k=65535,S=+y,p=+V,i=k&S,c=k&p;return 0|i*c+((k&S>>>16)*c+i*(k&p>>>16)<<16>>>0)}return s}()})},95542:function(I,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(I,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(I,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(s){return a(s)/t}return o}()})},57400:function(I,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,s=Math.exp,y=Math.E,V=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:V},{sinh:function(){function k(S){var p=+S;return o(p)<1?(t(p)-t(-p))/2:(s(p-1)-s(-p-1))*(y/2)}return k}()})},54800:function(I,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(s){var y=+s,V=a(y),k=a(-y);return V===1/0?1:k===1/0?-1:(V-k)/(t(y)+t(-y))}return o}()})},15709:function(I,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(I,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(16210),s=n(61765),y=n(67250),V=n(41314),k=n(45299),S=n(5781),p=n(21287),i=n(71399),c=n(24843),f=n(40033),u=n(37310).f,d=n(27193).f,m=n(74595).f,l=n(46438),v=n(92648).trim,b="Number",N=o[b],h=s[b],C=N.prototype,g=o.TypeError,x=y("".slice),B=y("".charCodeAt),L=function(R){var F=c(R,"number");return typeof F=="bigint"?F:w(F)},w=function(R){var F=c(R,"number"),j,W,H,z,$,G,ne,Q;if(i(F))throw new g("Cannot convert a Symbol value to a number");if(typeof F=="string"&&F.length>2){if(F=v(F),j=B(F,0),j===43||j===45){if(W=B(F,2),W===88||W===120)return NaN}else if(j===48){switch(B(F,1)){case 66:case 98:H=2,z=49;break;case 79:case 111:H=8,z=55;break;default:return+F}for($=x(F,2),G=$.length,ne=0;nez)return NaN;return parseInt($,H)}}return+F},A=V(b,!N(" 0o1")||!N("0b1")||N("+0x1")),T=function(R){return p(C,R)&&f(function(){l(R)})},E=function(){function P(R){var F=arguments.length<1?0:N(L(R));return T(this)?S(Object(F),this,E):F}return P}();E.prototype=C,A&&!a&&(C.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var O=function(R,F){for(var j=t?u(F):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),W=0,H;j.length>W;W++)k(F,H=j[W])&&!k(R,H)&&m(R,H,d(F,H))};a&&h&&O(s[b],h),(A||a)&&O(s[b],N)},324:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(I,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(I,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(I,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(s){return a(s)&&t(s)<=9007199254740991}return o}()})},55323:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(I,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(I,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),s=n(62443),y=n(40033),V=RangeError,k=String,S=Math.floor,p=a(s),i=a("".slice),c=a(1 .toFixed),f=function(N,h,C){return h===0?C:h%2===1?f(N,h-1,C*N):f(N*N,h/2,C)},u=function(N){for(var h=0,C=N;C>=4096;)h+=12,C/=4096;for(;C>=2;)h+=1,C/=2;return h},d=function(N,h,C){for(var g=-1,x=C;++g<6;)x+=h*N[g],N[g]=x%1e7,x=S(x/1e7)},m=function(N,h){for(var C=6,g=0;--C>=0;)g+=N[C],N[C]=S(g/h),g=g%h*1e7},l=function(N){for(var h=6,C="";--h>=0;)if(C!==""||h===0||N[h]!==0){var g=k(N[h]);C=C===""?g:C+p("0",7-g.length)+g}return C},v=y(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!y(function(){c({})});e({target:"Number",proto:!0,forced:v},{toFixed:function(){function b(N){var h=o(this),C=t(N),g=[0,0,0,0,0,0],x="",B="0",L,w,A,T;if(C<0||C>20)throw new V("Incorrect fraction digits");if(h!==h)return"NaN";if(h<=-1e21||h>=1e21)return k(h);if(h<0&&(x="-",h=-h),h>1e-21)if(L=u(h*f(2,69,1))-69,w=L<0?h*f(2,-L,1):h/f(2,L,1),w*=4503599627370496,L=52-L,L>0){for(d(g,0,w),A=C;A>=7;)d(g,1e7,0),A-=7;for(d(g,f(10,A,1),0),A=L-1;A>=23;)m(g,8388608),A-=23;m(g,1<0?(T=B.length,B=x+(T<=C?"0."+p("0",C-T)+B:i(B,0,T-C)+"."+i(B,T-C))):B=x+B,B}return b}()})},23532:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),s=a(1 .toPrecision),y=t(function(){return s(1,void 0)!=="1"})||!t(function(){s({})});e({target:"Number",proto:!0,forced:y},{toPrecision:function(){function V(k){return k===void 0?s(o(this)):s(o(this),k)}return V}()})},87119:function(I,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),s=n(46771),y=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function V(k,S){y.f(s(this),k,{get:o(S),enumerable:!0,configurable:!0})}return V}()})},31943:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),s=n(46771),y=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function V(k,S){y.f(s(this),k,{set:o(S),enumerable:!0,configurable:!0})}return V}()})},85028:function(I,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(I,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),s=n(81969).onFreeze,y=Object.freeze,V=t(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!a},{freeze:function(){function k(S){return y&&o(S)?y(s(S)):S}return k}()})},43331:function(I,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(s){var y={};return a(s,function(V,k){t(y,V,k)},{AS_ENTRIES:!0}),y}return o}()})},62289:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,s=n(58310),y=!s||a(function(){o(1)});e({target:"Object",stat:!0,forced:y,sham:!s},{getOwnPropertyDescriptor:function(){function V(k,S){return o(t(k),S)}return V}()})},56196:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),s=n(27193),y=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function V(k){for(var S=o(k),p=s.f,i=t(S),c={},f=0,u,d;i.length>f;)d=p(S,u=i[f++]),d!==void 0&&y(c,u,d);return c}return V}()})},2950:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(I,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),s=n(46771),y=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:y},{getOwnPropertySymbols:function(){function V(k){var S=o.f;return S?S(s(k)):[]}return V}()})},44205:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),s=n(9225),y=a(function(){o(1)});e({target:"Object",stat:!0,forced:y,sham:!s},{getPrototypeOf:function(){function V(k){return o(t(k))}return V}()})},83186:function(I,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),s=n(3782),y=Object.isFrozen,V=s||a(function(){y(1)});e({target:"Object",stat:!0,forced:V},{isFrozen:function(){function k(S){return!t(S)||s&&o(S)==="ArrayBuffer"?!0:y?y(S):!1}return k}()})},13411:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),s=n(3782),y=Object.isSealed,V=s||a(function(){y(1)});e({target:"Object",stat:!0,forced:V},{isSealed:function(){function k(S){return!t(S)||s&&o(S)==="ArrayBuffer"?!0:y?y(S):!1}return k}()})},76882:function(I,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(I,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),s=o(function(){t(1)});e({target:"Object",stat:!0,forced:s},{keys:function(){function y(V){return t(a(V))}return y}()})},53118:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),s=n(767),y=n(36917),V=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function k(S){var p=o(this),i=s(S),c;do if(c=V(p,i))return c.get;while(p=y(p))}return k}()})},42514:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),s=n(767),y=n(36917),V=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function k(S){var p=o(this),i=s(S),c;do if(c=V(p,i))return c.set;while(p=y(p))}return k}()})},84353:function(I,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),s=n(40033),y=Object.preventExtensions,V=s(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!o},{preventExtensions:function(){function k(S){return y&&a(S)?y(t(S)):S}return k}()})},62987:function(I,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),s=n(40033),y=Object.seal,V=s(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!o},{seal:function(){function k(S){return y&&a(S)?y(t(S)):S}return k}()})},48993:function(I,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(I,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(I,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(I,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(I,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),s=n(10729),y=n(49450),V=n(48199);e({target:"Promise",stat:!0,forced:V},{all:function(){function k(S){var p=this,i=o.f(p),c=i.resolve,f=i.reject,u=s(function(){var d=t(p.resolve),m=[],l=0,v=1;y(S,function(b){var N=l++,h=!1;v++,a(d,p,b).then(function(C){h||(h=!0,m[N]=C,--v||c(m))},f)}),--v||c(m)});return u.error&&f(u.value),i.promise}return k}()})},70641:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),s=n(4009),y=n(55747),V=n(55938),k=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function p(i){return this.then(void 0,i)}return p}()}),!a&&y(o)){var S=s("Promise").prototype.catch;k.catch!==S&&V(k,"catch",S,{unsafe:!0})}},75946:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81663),o=n(16210),s=n(91495),y=n(55938),V=n(76649),k=n(84925),S=n(58491),p=n(10320),i=n(55747),c=n(77568),f=n(60077),u=n(28987),d=n(60375).set,m=n(37713),l=n(72259),v=n(10729),b=n(9547),N=n(5419),h=n(67512),C=n(74854),g=n(81837),x="Promise",B=C.CONSTRUCTOR,L=C.REJECTION_EVENT,w=C.SUBCLASSING,A=N.getterFor(x),T=N.set,E=h&&h.prototype,O=h,P=E,R=o.TypeError,F=o.document,j=o.process,W=g.f,H=W,z=!!(F&&F.createEvent&&o.dispatchEvent),$="unhandledrejection",G="rejectionhandled",ne=0,Q=1,he=2,Ve=1,Ne=2,Be,Le,Ae,fe,Z=function(ue){var ie;return c(ue)&&i(ie=ue.then)?ie:!1},J=function(ue,ie){var ge=ie.value,Ce=ie.state===Q,Me=Ce?ue.ok:ue.fail,De=ue.resolve,ke=ue.reject,pe=ue.domain,se,xe,_;try{Me?(Ce||(ie.rejection===Ne&&me(ie),ie.rejection=Ve),Me===!0?se=ge:(pe&&pe.enter(),se=Me(ge),pe&&(pe.exit(),_=!0)),se===ue.promise?ke(new R("Promise-chain cycle")):(xe=Z(se))?s(xe,se,De,ke):De(se)):ke(ge)}catch(oe){pe&&!_&&pe.exit(),ke(oe)}},te=function(ue,ie){ue.notified||(ue.notified=!0,m(function(){for(var ge=ue.reactions,Ce;Ce=ge.get();)J(Ce,ue);ue.notified=!1,ie&&!ue.rejection&&le(ue)}))},ee=function(ue,ie,ge){var Ce,Me;z?(Ce=F.createEvent("Event"),Ce.promise=ie,Ce.reason=ge,Ce.initEvent(ue,!1,!0),o.dispatchEvent(Ce)):Ce={promise:ie,reason:ge},!L&&(Me=o["on"+ue])?Me(Ce):ue===$&&l("Unhandled promise rejection",ge)},le=function(ue){s(d,o,function(){var ie=ue.facade,ge=ue.value,Ce=ye(ue),Me;if(Ce&&(Me=v(function(){t?j.emit("unhandledRejection",ge,ie):ee($,ie,ge)}),ue.rejection=t||ye(ue)?Ne:Ve,Me.error))throw Me.value})},ye=function(ue){return ue.rejection!==Ve&&!ue.parent},me=function(ue){s(d,o,function(){var ie=ue.facade;t?j.emit("rejectionHandled",ie):ee(G,ie,ue.value)})},Te=function(ue,ie,ge){return function(Ce){ue(ie,Ce,ge)}},M=function(ue,ie,ge){ue.done||(ue.done=!0,ge&&(ue=ge),ue.value=ie,ue.state=he,te(ue,!0))},X=function(ue,ie,ge){if(!ue.done){ue.done=!0,ge&&(ue=ge);try{if(ue.facade===ie)throw new R("Promise can't be resolved itself");var Ce=Z(ie);Ce?m(function(){var Me={done:!1};try{s(Ce,ie,Te(X,Me,ue),Te(M,Me,ue))}catch(De){M(Me,De,ue)}}):(ue.value=ie,ue.state=Q,te(ue,!1))}catch(Me){M({done:!1},Me,ue)}}};if(B&&(O=function(){function ae(ue){f(this,P),p(ue),s(Be,this);var ie=A(this);try{ue(Te(X,ie),Te(M,ie))}catch(ge){M(ie,ge)}}return ae}(),P=O.prototype,Be=function(){function ae(ue){T(this,{type:x,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ne,value:null})}return ae}(),Be.prototype=y(P,"then",function(){function ae(ue,ie){var ge=A(this),Ce=W(u(this,O));return ge.parent=!0,Ce.ok=i(ue)?ue:!0,Ce.fail=i(ie)&&ie,Ce.domain=t?j.domain:void 0,ge.state===ne?ge.reactions.add(Ce):m(function(){J(Ce,ge)}),Ce.promise}return ae}()),Le=function(){var ue=new Be,ie=A(ue);this.promise=ue,this.resolve=Te(X,ie),this.reject=Te(M,ie)},g.f=W=function(ue){return ue===O||ue===Ae?new Le(ue):H(ue)},!a&&i(h)&&E!==Object.prototype)){fe=E.then,w||y(E,"then",function(){function ae(ue,ie){var ge=this;return new O(function(Ce,Me){s(fe,ge,Ce,Me)}).then(ue,ie)}return ae}(),{unsafe:!0});try{delete E.constructor}catch(ae){}V&&V(E,P)}e({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:O}),k(O,x,!1,!0),S(x)},69861:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),s=n(4009),y=n(55747),V=n(28987),k=n(66628),S=n(55938),p=t&&t.prototype,i=!!t&&o(function(){p.finally.call({then:function(){function f(){}return f}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:i},{finally:function(){function f(u){var d=V(this,s("Promise")),m=y(u);return this.then(m?function(l){return k(d,u()).then(function(){return l})}:u,m?function(l){return k(d,u()).then(function(){throw l})}:u)}return f}()}),!a&&y(t)){var c=s("Promise").prototype.finally;p.finally!==c&&S(p,"finally",c,{unsafe:!0})}},53092:function(I,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(81702)},16937:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),s=n(10729),y=n(49450),V=n(48199);e({target:"Promise",stat:!0,forced:V},{race:function(){function k(S){var p=this,i=o.f(p),c=i.reject,f=s(function(){var u=t(p.resolve);y(S,function(d){a(u,p,d).then(i.resolve,c)})});return f.error&&c(f.value),i.promise}return k}()})},41719:function(I,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(s){var y=a.f(this),V=y.reject;return V(s),y.promise}return o}()})},81702:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),s=n(74854).CONSTRUCTOR,y=n(66628),V=a("Promise"),k=t&&!s;e({target:"Promise",stat:!0,forced:t||s},{resolve:function(){function S(p){return y(k&&this===V?o:this,p)}return S}()})},29674:function(I,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),s=n(40033),y=!s(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:y},{apply:function(){function V(k,S,p){return a(t(k),S,o(p))}return V}()})},81543:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),s=n(32606),y=n(30365),V=n(77568),k=n(80674),S=n(40033),p=a("Reflect","construct"),i=Object.prototype,c=[].push,f=S(function(){function m(){}return!(p(function(){},[],m)instanceof m)}),u=!S(function(){p(function(){})}),d=f||u;e({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(){function m(l,v){s(l),y(v);var b=arguments.length<3?l:s(arguments[2]);if(u&&!f)return p(l,v,b);if(l===b){switch(v.length){case 0:return new l;case 1:return new l(v[0]);case 2:return new l(v[0],v[1]);case 3:return new l(v[0],v[1],v[2]);case 4:return new l(v[0],v[1],v[2],v[3])}var N=[null];return t(c,N,v),new(t(o,l,N))}var h=b.prototype,C=k(V(h)?h:i),g=t(l,C,v);return V(g)?g:C}return m}()})},9373:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),s=n(74595),y=n(40033),V=y(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:V,sham:!a},{defineProperty:function(){function k(S,p,i){t(S);var c=o(p);t(i);try{return s.f(S,c,i),!0}catch(f){return!1}}return k}()})},45093:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(s,y){var V=t(a(s),y);return V&&!V.configurable?!1:delete s[y]}return o}()})},5815:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function s(y,V){return o.f(t(y),V)}return s}()})},88527:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function s(y){return t(a(y))}return s}()})},63074:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),s=n(98373),y=n(27193),V=n(36917);function k(S,p){var i=arguments.length<3?S:arguments[2],c,f;if(o(S)===i)return S[p];if(c=y.f(S,p),c)return s(c)?c.value:c.get===void 0?void 0:a(c.get,i);if(t(f=V(S)))return k(f,p,i)}e({target:"Reflect",stat:!0},{get:k})},66390:function(I,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(s){return a(s),t(s)}return o}()})},50551:function(I,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function s(y){t(y);try{var V=a("Object","preventExtensions");return V&&V(y),!0}catch(k){return!1}}return s}()})},63915:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function s(y,V){a(y),t(V);try{return o(y,V),!0}catch(k){return!1}}return s}()})},92046:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),s=n(98373),y=n(40033),V=n(74595),k=n(27193),S=n(36917),p=n(87458);function i(f,u,d){var m=arguments.length<4?f:arguments[3],l=k.f(t(f),u),v,b,N;if(!l){if(o(b=S(f)))return i(b,u,d,m);l=p(0)}if(s(l)){if(l.writable===!1||!o(m))return!1;if(v=k.f(m,u)){if(v.get||v.set||v.writable===!1)return!1;v.value=d,V.f(m,u,v)}else V.f(m,u,p(0,d))}else{if(N=l.set,N===void 0)return!1;a(N,m,d)}return!0}var c=y(function(){var f=function(){},u=V.f(new f,"a",{configurable:!0});return Reflect.set(f.prototype,"a",1,u)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:i})},51454:function(I,r,n){"use strict";var e=n(58310),a=n(16210),t=n(67250),o=n(41314),s=n(5781),y=n(37909),V=n(80674),k=n(37310).f,S=n(21287),p=n(72586),i=n(12605),c=n(73392),f=n(62115),u=n(34550),d=n(55938),m=n(40033),l=n(45299),v=n(5419).enforce,b=n(58491),N=n(24697),h=n(39173),C=n(35688),g=N("match"),x=a.RegExp,B=x.prototype,L=a.SyntaxError,w=t(B.exec),A=t("".charAt),T=t("".replace),E=t("".indexOf),O=t("".slice),P=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,F=/a/g,j=new x(R)!==R,W=f.MISSED_STICKY,H=f.UNSUPPORTED_Y,z=e&&(!j||W||h||C||m(function(){return F[g]=!1,x(R)!==R||x(F)===F||String(x(R,"i"))!=="/a/i"})),$=function(Ne){for(var Be=Ne.length,Le=0,Ae="",fe=!1,Z;Le<=Be;Le++){if(Z=A(Ne,Le),Z==="\\"){Ae+=Z+A(Ne,++Le);continue}!fe&&Z==="."?Ae+="[\\s\\S]":(Z==="["?fe=!0:Z==="]"&&(fe=!1),Ae+=Z)}return Ae},G=function(Ne){for(var Be=Ne.length,Le=0,Ae="",fe=[],Z=V(null),J=!1,te=!1,ee=0,le="",ye;Le<=Be;Le++){if(ye=A(Ne,Le),ye==="\\")ye+=A(Ne,++Le);else if(ye==="]")J=!1;else if(!J)switch(!0){case ye==="[":J=!0;break;case ye==="(":if(Ae+=ye,O(Ne,Le+1,Le+3)==="?:")continue;w(P,O(Ne,Le+1))&&(Le+=2,te=!0),ee++;continue;case(ye===">"&&te):if(le===""||l(Z,le))throw new L("Invalid capture group name");Z[le]=!0,fe[fe.length]=[le,ee],te=!1,le="";continue}te?le+=ye:Ae+=ye}return[Ae,fe]};if(o("RegExp",z)){for(var ne=function(){function Ve(Ne,Be){var Le=S(B,this),Ae=p(Ne),fe=Be===void 0,Z=[],J=Ne,te,ee,le,ye,me,Te;if(!Le&&Ae&&fe&&Ne.constructor===ne)return Ne;if((Ae||S(B,Ne))&&(Ne=Ne.source,fe&&(Be=c(J))),Ne=Ne===void 0?"":i(Ne),Be=Be===void 0?"":i(Be),J=Ne,h&&"dotAll"in R&&(ee=!!Be&&E(Be,"s")>-1,ee&&(Be=T(Be,/s/g,""))),te=Be,W&&"sticky"in R&&(le=!!Be&&E(Be,"y")>-1,le&&H&&(Be=T(Be,/y/g,""))),C&&(ye=G(Ne),Ne=ye[0],Z=ye[1]),me=s(x(Ne,Be),Le?this:B,ne),(ee||le||Z.length)&&(Te=v(me),ee&&(Te.dotAll=!0,Te.raw=ne($(Ne),te)),le&&(Te.sticky=!0),Z.length&&(Te.groups=Z)),Ne!==J)try{y(me,"source",J===""?"(?:)":J)}catch(M){}return me}return Ve}(),Q=k(x),he=0;Q.length>he;)u(ne,x,Q[he++]);B.constructor=ne,ne.prototype=B,d(a,"RegExp",ne,{constructor:!0})}b("RegExp")},79669:function(I,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(I,r,n){"use strict";var e=n(16210),a=n(58310),t=n(73936),o=n(70901),s=n(40033),y=e.RegExp,V=y.prototype,k=a&&s(function(){var S=!0;try{y(".","d")}catch(l){S=!1}var p={},i="",c=S?"dgimsy":"gimsy",f=function(v,b){Object.defineProperty(p,v,{get:function(){function N(){return i+=b,!0}return N}()})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};S&&(u.hasIndices="d");for(var d in u)f(d,u[d]);var m=Object.getOwnPropertyDescriptor(V,"flags").get.call(p);return m!==c||i!==c});k&&t(V,"flags",{configurable:!0,get:o})},57983:function(I,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),s=n(40033),y=n(73392),V="toString",k=RegExp.prototype,S=k[V],p=s(function(){return S.call({source:"a",flags:"b"})!=="/a/b"}),i=e&&S.name!==V;(p||i)&&a(k,V,function(){function c(){var f=t(this),u=o(f.source),d=o(y(f));return"/"+u+"/"+d}return c}(),{unsafe:!0})},1963:function(I,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(I,r,n){"use strict";n(1963)},95309:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(s){return a(this,"a","name",s)}return o}()})},82256:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(I,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(I,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),s=n(12605),y=n(86213),V=n(16952),k=n(45490),S=n(4493),p=a("".slice),i=Math.min,c=k("endsWith"),f=!S&&!c&&!!function(){var u=t(String.prototype,"endsWith");return u&&!u.writable}();e({target:"String",proto:!0,forced:!f&&!c},{endsWith:function(){function u(d){var m=s(V(this));y(d);var l=arguments.length>1?arguments[1]:void 0,v=m.length,b=l===void 0?v:i(o(l),v),N=s(d);return p(m,b-N.length,b)===N}return u}()})},39308:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(s){return a(this,"font","color",s)}return o}()})},75008:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(s){return a(this,"font","size",s)}return o}()})},9867:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,s=String.fromCharCode,y=String.fromCodePoint,V=a([].join),k=!!y&&y.length!==1;e({target:"String",stat:!0,arity:1,forced:k},{fromCodePoint:function(){function S(p){for(var i=[],c=arguments.length,f=0,u;c>f;){if(u=+arguments[f++],t(u,1114111)!==u)throw new o(u+" is not a valid code point");i[f]=u<65536?s(u):s(((u-=65536)>>10)+55296,u%1024+56320)}return V(i,"")}return S}()})},43673:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),s=n(12605),y=n(45490),V=a("".indexOf);e({target:"String",proto:!0,forced:!y("includes")},{includes:function(){function k(S){return!!~V(s(o(this)),s(t(S)),arguments.length>1?arguments[1]:void 0)}return k}()})},56027:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(I,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),s=n(5959),y="String Iterator",V=t.set,k=t.getterFor(y);o(String,"String",function(S){V(this,{type:y,string:a(S),index:0})},function(){function S(){var p=k(this),i=p.string,c=p.index,f;return c>=i.length?s(void 0,!0):(f=e(i,c),p.index+=f.length,s(f,!1))}return S}())},50340:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(s){return a(this,"a","href",s)}return o}()})},22515:function(I,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),s=n(10188),y=n(12605),V=n(16952),k=n(78060),S=n(35483),p=n(28340);a("match",function(i,c,f){return[function(){function u(d){var m=V(this),l=o(d)?void 0:k(d,i);return l?e(l,d,m):new RegExp(d)[i](y(m))}return u}(),function(u){var d=t(this),m=y(u),l=f(c,d,m);if(l.done)return l.value;if(!d.global)return p(d,m);var v=d.unicode;d.lastIndex=0;for(var b=[],N=0,h;(h=p(d,m))!==null;){var C=y(h[0]);b[N]=C,C===""&&(d.lastIndex=S(m,s(d.lastIndex),v)),N++}return N===0?null:b}]})},5143:function(I,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(s){return a(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(I,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(s){return a(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),s=n(12605),y=n(24760),V=a([].push),k=a([].join);e({target:"String",stat:!0},{raw:function(){function S(p){var i=t(o(p).raw),c=y(i);if(!c)return"";for(var f=arguments.length,u=[],d=0;;){if(V(u,s(i[d++])),d===c)return k(u,"");d")!=="7"});o("replace",function(T,E,O){var P=w?"$":"$0";return[function(){function R(F,j){var W=c(this),H=k(F)?void 0:u(F,v);return H?a(H,F,W,j):a(E,i(W),F,j)}return R}(),function(R,F){var j=y(this),W=i(R);if(typeof F=="string"&&g(F,P)===-1&&g(F,"$<")===-1){var H=O(E,j,W,F);if(H.done)return H.value}var z=V(F);z||(F=i(F));var $=j.global,G;$&&(G=j.unicode,j.lastIndex=0);for(var ne=[],Q;Q=m(j,W),!(Q===null||(C(ne,Q),!$));){var he=i(Q[0]);he===""&&(j.lastIndex=f(W,p(j.lastIndex),G))}for(var Ve="",Ne=0,Be=0;Be=Ne&&(Ve+=x(W,Ne,Ae)+Z,Ne=Ae+Le.length)}return Ve+x(W,Ne)}]},!A||!L||w)},63272:function(I,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),s=n(16952),y=n(5700),V=n(12605),k=n(78060),S=n(28340);a("search",function(p,i,c){return[function(){function f(u){var d=s(this),m=o(u)?void 0:k(u,p);return m?e(m,u,d):new RegExp(u)[p](V(d))}return f}(),function(f){var u=t(this),d=V(f),m=c(i,u,d);if(m.done)return m.value;var l=u.lastIndex;y(l,0)||(u.lastIndex=0);var v=S(u,d);return y(u.lastIndex,l)||(u.lastIndex=l),v===null?-1:v.index}]})},34325:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(I,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),s=n(42871),y=n(16952),V=n(28987),k=n(35483),S=n(10188),p=n(12605),i=n(78060),c=n(28340),f=n(62115),u=n(40033),d=f.UNSUPPORTED_Y,m=4294967295,l=Math.min,v=a([].push),b=a("".slice),N=!u(function(){var C=/(?:)/,g=C.exec;C.exec=function(){return g.apply(this,arguments)};var x="ab".split(C);return x.length!==2||x[0]!=="a"||x[1]!=="b"}),h="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(C,g,x){var B="0".split(void 0,0).length?function(L,w){return L===void 0&&w===0?[]:e(g,this,L,w)}:g;return[function(){function L(w,A){var T=y(this),E=s(w)?void 0:i(w,C);return E?e(E,w,T,A):e(B,p(T),w,A)}return L}(),function(L,w){var A=o(this),T=p(L);if(!h){var E=x(B,A,T,w,B!==g);if(E.done)return E.value}var O=V(A,RegExp),P=A.unicode,R=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(d?"g":"y"),F=new O(d?"^(?:"+A.source+")":A,R),j=w===void 0?m:w>>>0;if(j===0)return[];if(T.length===0)return c(F,T)===null?[T]:[];for(var W=0,H=0,z=[];H1?arguments[1]:void 0,m.length)),v=s(d);return p(m,l,l+v.length)===v}return u}()})},74498:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(I,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(I,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(I,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(I,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(I,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(I,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(91495),o=n(67250),s=n(4493),y=n(58310),V=n(52357),k=n(40033),S=n(45299),p=n(21287),i=n(30365),c=n(57591),f=n(767),u=n(12605),d=n(87458),m=n(80674),l=n(18450),v=n(37310),b=n(81644),N=n(89235),h=n(27193),C=n(74595),g=n(24239),x=n(12867),B=n(55938),L=n(73936),w=n(16639),A=n(19417),T=n(79195),E=n(16738),O=n(24697),P=n(55557),R=n(85889),F=n(52360),j=n(84925),W=n(5419),H=n(22603).forEach,z=A("hidden"),$="Symbol",G="prototype",ne=W.set,Q=W.getterFor($),he=Object[G],Ve=a.Symbol,Ne=Ve&&Ve[G],Be=a.RangeError,Le=a.TypeError,Ae=a.QObject,fe=h.f,Z=C.f,J=b.f,te=x.f,ee=o([].push),le=w("symbols"),ye=w("op-symbols"),me=w("wks"),Te=!Ae||!Ae[G]||!Ae[G].findChild,M=function(se,xe,_){var oe=fe(he,xe);oe&&delete he[xe],Z(se,xe,_),oe&&se!==he&&Z(he,xe,oe)},X=y&&k(function(){return m(Z({},"a",{get:function(){function pe(){return Z(this,"a",{value:7}).a}return pe}()})).a!==7})?M:Z,ae=function(se,xe){var _=le[se]=m(Ne);return ne(_,{type:$,tag:se,description:xe}),y||(_.description=xe),_},ue=function(){function pe(se,xe,_){se===he&&ue(ye,xe,_),i(se);var oe=f(xe);return i(_),S(le,oe)?(_.enumerable?(S(se,z)&&se[z][oe]&&(se[z][oe]=!1),_=m(_,{enumerable:d(0,!1)})):(S(se,z)||Z(se,z,d(1,m(null))),se[z][oe]=!0),X(se,oe,_)):Z(se,oe,_)}return pe}(),ie=function(){function pe(se,xe){i(se);var _=c(xe),oe=l(_).concat(ke(_));return H(oe,function(ve){(!y||t(Ce,_,ve))&&ue(se,ve,_[ve])}),se}return pe}(),ge=function(){function pe(se,xe){return xe===void 0?m(se):ie(m(se),xe)}return pe}(),Ce=function(){function pe(se){var xe=f(se),_=t(te,this,xe);return this===he&&S(le,xe)&&!S(ye,xe)?!1:_||!S(this,xe)||!S(le,xe)||S(this,z)&&this[z][xe]?_:!0}return pe}(),Me=function(){function pe(se,xe){var _=c(se),oe=f(xe);if(!(_===he&&S(le,oe)&&!S(ye,oe))){var ve=fe(_,oe);return ve&&S(le,oe)&&!(S(_,z)&&_[z][oe])&&(ve.enumerable=!0),ve}}return pe}(),De=function(){function pe(se){var xe=J(c(se)),_=[];return H(xe,function(oe){!S(le,oe)&&!S(T,oe)&&ee(_,oe)}),_}return pe}(),ke=function(se){var xe=se===he,_=J(xe?ye:c(se)),oe=[];return H(_,function(ve){S(le,ve)&&(!xe||S(he,ve))&&ee(oe,le[ve])}),oe};V||(Ve=function(){function pe(){if(p(Ne,this))throw new Le("Symbol is not a constructor");var se=!arguments.length||arguments[0]===void 0?void 0:u(arguments[0]),xe=E(se),_=function(){function oe(ve){var Se=this===void 0?a:this;Se===he&&t(_,ye,ve),S(Se,z)&&S(Se[z],xe)&&(Se[z][xe]=!1);var Ie=d(1,ve);try{X(Se,xe,Ie)}catch(Ee){if(!(Ee instanceof Be))throw Ee;M(Se,xe,Ie)}}return oe}();return y&&Te&&X(he,xe,{configurable:!0,set:_}),ae(xe,se)}return pe}(),Ne=Ve[G],B(Ne,"toString",function(){function pe(){return Q(this).tag}return pe}()),B(Ve,"withoutSetter",function(pe){return ae(E(pe),pe)}),x.f=Ce,C.f=ue,g.f=ie,h.f=Me,v.f=b.f=De,N.f=ke,P.f=function(pe){return ae(O(pe),pe)},y&&(L(Ne,"description",{configurable:!0,get:function(){function pe(){return Q(this).description}return pe}()}),s||B(he,"propertyIsEnumerable",Ce,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!V,sham:!V},{Symbol:Ve}),H(l(me),function(pe){R(pe)}),e({target:$,stat:!0,forced:!V},{useSetter:function(){function pe(){Te=!0}return pe}(),useSimple:function(){function pe(){Te=!1}return pe}()}),e({target:"Object",stat:!0,forced:!V,sham:!y},{create:ge,defineProperty:ue,defineProperties:ie,getOwnPropertyDescriptor:Me}),e({target:"Object",stat:!0,forced:!V},{getOwnPropertyNames:De}),F(),j(Ve,$),T[z]=!0},10933:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(16210),o=n(67250),s=n(45299),y=n(55747),V=n(21287),k=n(12605),S=n(73936),p=n(5774),i=t.Symbol,c=i&&i.prototype;if(a&&y(i)&&(!("description"in c)||i().description!==void 0)){var f={},u=function(){function h(){var C=arguments.length<1||arguments[0]===void 0?void 0:k(arguments[0]),g=V(c,this)?new i(C):C===void 0?i():i(C);return C===""&&(f[g]=!0),g}return h}();p(u,i),u.prototype=c,c.constructor=u;var d=String(i("description detection"))==="Symbol(description detection)",m=o(c.valueOf),l=o(c.toString),v=/^Symbol\((.*)\)[^)]+$/,b=o("".replace),N=o("".slice);S(c,"description",{configurable:!0,get:function(){function h(){var C=m(this);if(s(f,C))return"";var g=l(C),x=d?N(g,7,-1):b(g,v,"$1");return x===""?void 0:x}return h}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:u})}},30828:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),s=n(16639),y=n(66570),V=s("string-to-symbol-registry"),k=s("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!y},{for:function(){function S(p){var i=o(p);if(t(V,i))return V[i];var c=a("Symbol")(i);return V[i]=c,k[c]=i,c}return S}()})},53795:function(I,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(I,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(I,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(I,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(I,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),s=n(16639),y=n(66570),V=s("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!y},{keyFor:function(){function k(S){if(!t(S))throw new TypeError(o(S)+" is not a symbol");if(a(V,S))return V[S]}return k}()})},48058:function(I,r,n){"use strict";var e=n(85889);e("match")},51583:function(I,r,n){"use strict";var e=n(85889);e("replace")},82403:function(I,r,n){"use strict";var e=n(85889);e("search")},34265:function(I,r,n){"use strict";var e=n(85889);e("species")},3295:function(I,r,n){"use strict";var e=n(85889);e("split")},1078:function(I,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(I,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(I,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(I,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),s=a.aTypedArray,y=a.exportTypedArrayMethod;y("copyWithin",function(){function V(k,S){return o(s(this),k,S,arguments.length>2?arguments[2]:void 0)}return V}())},73364:function(I,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},58166:function(I,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),s=n(91495),y=n(67250),V=n(40033),k=e.aTypedArray,S=e.exportTypedArrayMethod,p=y("".slice),i=V(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function f(){return c++}return f}()}),c!==1});S("fill",function(){function c(f){var u=arguments.length;k(this);var d=p(o(this),0,3)==="Big"?t(f):+f;return s(a,this,d,u>1?arguments[1]:void 0,u>2?arguments[2]:void 0)}return c}(),i)},23793:function(I,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("filter",function(){function y(V){var k=a(o(this),V,arguments.length>1?arguments[1]:void 0);return t(this,k)}return y}())},13917:function(I,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},43820:function(I,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},80756:function(I,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},70567:function(I,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},19852:function(I,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function s(y){a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},40379:function(I,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(I,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},81069:function(I,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},60037:function(I,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},44195:function(I,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},66756:function(I,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},63689:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(4246),s=n(34570),y=n(24697),V=y("iterator"),k=e.Uint8Array,S=t(s.values),p=t(s.keys),i=t(s.entries),c=o.aTypedArray,f=o.exportTypedArrayMethod,u=k&&k.prototype,d=!a(function(){u[V].call([1])}),m=!!u&&u.values&&u[V]===u.values&&u.values.name==="values",l=function(){function v(){return S(c(this))}return v}();f("entries",function(){function v(){return i(c(this))}return v}(),d),f("keys",function(){function v(){return p(c(this))}return v}(),d),f("values",l,d||!m,{name:"values"}),f(V,l,d||!m,{name:"values"})},5659:function(I,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,s=a([].join);o("join",function(){function y(V){return s(t(this),V)}return y}())},25014:function(I,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("lastIndexOf",function(){function y(V){var k=arguments.length;return a(t,o(this),k>1?[V,arguments[1]]:[V])}return y}())},32189:function(I,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("map",function(){function y(V){return a(o(this),V,arguments.length>1?arguments[1]:void 0,function(k,S){return new(t(k))(S)})}return y}())},23030:function(I,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function s(){for(var y=0,V=arguments.length,k=new(t(this))(V);V>y;)k[y]=arguments[y++];return k}return s}(),a)},49110:function(I,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function s(y){var V=arguments.length;return a(t(this),y,V,V>1?arguments[1]:void 0)}return s}())},24309:function(I,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function s(y){var V=arguments.length;return a(t(this),y,V,V>1?arguments[1]:void 0)}return s}())},56445:function(I,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function s(){for(var y=this,V=a(y).length,k=o(V/2),S=0,p;S1?arguments[1]:void 0,1),b=y(l);if(u)return a(i,this,b,v);var N=this.length,h=o(b),C=0;if(h+v>N)throw new k("Wrong length");for(;Cf;)d[f]=i[f++];return d}return k}(),V)},88739:function(I,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},60415:function(I,r,n){"use strict";var e=n(16210),a=n(71138),t=n(40033),o=n(10320),s=n(90274),y=n(4246),V=n(50503),k=n(79725),S=n(83141),p=n(44981),i=y.aTypedArray,c=y.exportTypedArrayMethod,f=e.Uint16Array,u=f&&a(f.prototype.sort),d=!!u&&!(t(function(){u(new f(2),null)})&&t(function(){u(new f(2),{})})),m=!!u&&!t(function(){if(S)return S<74;if(V)return V<67;if(k)return!0;if(p)return p<602;var v=new f(516),b=Array(516),N,h;for(N=0;N<516;N++)h=N%4,v[N]=515-N,b[N]=N-2*h+3;for(u(v,function(C,g){return(C/4|0)-(g/4|0)}),N=0;N<516;N++)if(v[N]!==b[N])return!0}),l=function(b){return function(N,h){return b!==void 0?+b(N,h)||0:h!==h?-1:N!==N?1:N===0&&h===0?1/N>0&&1/h<0?1:-1:N>h}};c("sort",function(){function v(b){return b!==void 0&&o(b),m?u(this,b):s(i(this),l(b))}return v}(),!m||d)},72532:function(I,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),s=e.aTypedArray,y=e.exportTypedArrayMethod;y("subarray",function(){function V(k,S){var p=s(this),i=p.length,c=t(k,i),f=o(p);return new f(p.buffer,p.byteOffset+c*p.BYTES_PER_ELEMENT,a((S===void 0?i:t(S,i))-c))}return V}())},62207:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(4246),o=n(40033),s=n(54602),y=e.Int8Array,V=t.aTypedArray,k=t.exportTypedArrayMethod,S=[].toLocaleString,p=!!y&&o(function(){S.call(new y(1))}),i=o(function(){return[1,2].toLocaleString()!==new y([1,2]).toLocaleString()})||!o(function(){y.prototype.toLocaleString.call([1,2])});k("toLocaleString",function(){function c(){return a(S,p?s(V(this)):V(this),s(arguments))}return c}(),i)},906:function(I,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(16210),o=n(67250),s=t.Uint8Array,y=s&&s.prototype||{},V=[].toString,k=o([].join);a(function(){V.call({})})&&(V=function(){function p(){return k(this)}return p}());var S=y.toString!==V;e("toString",V,S)},78824:function(I,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},72846:function(I,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},24575:function(I,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},71968:function(I,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()},!0)},80040:function(I,r,n){"use strict";var e=n(50730),a=n(16210),t=n(67250),o=n(30145),s=n(81969),y=n(45150),V=n(39895),k=n(77568),S=n(5419).enforce,p=n(40033),i=n(21820),c=Object,f=Array.isArray,u=c.isExtensible,d=c.isFrozen,m=c.isSealed,l=c.freeze,v=c.seal,b=!a.ActiveXObject&&"ActiveXObject"in a,N,h=function(E){return function(){function O(){return E(this,arguments.length?arguments[0]:void 0)}return O}()},C=y("WeakMap",h,V),g=C.prototype,x=t(g.set),B=function(){return e&&p(function(){var E=l([]);return x(new C,E,1),!d(E)})};if(i)if(b){N=V.getConstructor(h,"WeakMap",!0),s.enable();var L=t(g.delete),w=t(g.has),A=t(g.get);o(g,{delete:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new N),L(this,E)||O.frozen.delete(E)}return L(this,E)}return T}(),has:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new N),w(this,E)||O.frozen.has(E)}return w(this,E)}return T}(),get:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new N),w(this,E)?A(this,E):O.frozen.get(E)}return A(this,E)}return T}(),set:function(){function T(E,O){if(k(E)&&!u(E)){var P=S(this);P.frozen||(P.frozen=new N),w(this,E)?x(this,E,O):P.frozen.set(E,O)}else x(this,E,O);return this}return T}()})}else B()&&o(g,{set:function(){function T(E,O){var P;return f(E)&&(d(E)?P=l:m(E)&&(P=v)),x(this,E,O),P&&P(E),this}return T}()})},90846:function(I,r,n){"use strict";n(80040)},67042:function(I,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(I,r,n){"use strict";n(67042)},5606:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(I,r,n){"use strict";n(5606),n(27807)},25764:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(37713),o=n(10320),s=n(24986),y=n(40033),V=n(58310),k=y(function(){return V&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:k},{queueMicrotask:function(){function S(p){s(arguments.length,1),t(o(p))}return S}()})},27807:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(60375).set,o=n(78362),s=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==s},{setImmediate:s})},45569:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(I,r,n){"use strict";n(45569),n(5213)},7435:function(I){"use strict";/** + */var t=r.BoxWithSampleText=function(){function o(s){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},s,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},41639:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},24226:function(){},39108:function(){},21039:function(){},51862:function(){},56856:function(){},63489:function(){},1965:function(){},1272:function(){},74757:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},73358:function(){},32882:function(){},70752:function(I,r,n){var e={"./pai_advsecrecords.js":96572,"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_camera_bug.js":79592,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_encoder.js":43816,"./pai_gps_module.js":88895,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_sec_chem.js":19873,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=70752},59395:function(I,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=59395},32054:function(I,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AgentCard":79571,"./AgentCard.js":79571,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AutoDoc":76511,"./AutoDoc.js":76511,"./Autolathe":59179,"./Autolathe.js":59179,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceRiftScanner":13995,"./BluespaceRiftScanner.js":13995,"./BluespaceRiftServer":25530,"./BluespaceRiftServer.js":25530,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BorgPanel":42570,"./BorgPanel.js":42570,"./BotClean":20464,"./BotClean.js":20464,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./Changelog":12226,"./Changelog.js":12226,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./Customat":94848,"./Customat.js":94848,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./Electropack":82565,"./Electropack.js":82565,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GasAnalyzer":68703,"./GasAnalyzer.js":68703,"./GasFreezer":27546,"./GasFreezer.js":27546,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./ImplantPad":75926,"./ImplantPad.js":75926,"./Instrument":25471,"./Instrument.js":25471,"./ItemPixelShift":65021,"./ItemPixelShift.js":65021,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./LaborClaimConsole":40951,"./LaborClaimConsole.js":40951,"./LawManager":9525,"./LawManager.js":9525,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./Mimicking":52306,"./Mimicking.js":52306,"./Minesweeper":66238,"./Minesweeper.js":66238,"./MiniGamesMenu":21385,"./MiniGamesMenu.js":21385,"./MiningVendor":87684,"./MiningVendor.js":87684,"./Multitool":97955,"./Multitool.js":97955,"./Newscaster":64713,"./Newscaster.js":64713,"./NinjaBloodScan":97351,"./NinjaBloodScan.js":97351,"./NinjaMindScan":32989,"./NinjaMindScan.js":32989,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":30373,"./PAI.js":30373,"./PDA":85175,"./PDA.js":85175,"./PDAPainter":38280,"./PDAPainter.js":38280,"./Pacman":68654,"./Pacman.js":68654,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./PodTracking":94158,"./PodTracking.js":94158,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./QuestConsole":7485,"./QuestConsole.js":7485,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RequestManager":3786,"./RequestManager.js":3786,"./RndConsole":16475,"./RndConsole.js":16475,"./RndConsoleComponents":13472,"./RndConsoleComponents/":13472,"./RndConsoleComponents/CurrentLevels":93098,"./RndConsoleComponents/CurrentLevels.js":93098,"./RndConsoleComponents/DataDiskMenu":19192,"./RndConsoleComponents/DataDiskMenu.js":19192,"./RndConsoleComponents/DeconstructionMenu":20887,"./RndConsoleComponents/DeconstructionMenu.js":20887,"./RndConsoleComponents/LatheCategory":10666,"./RndConsoleComponents/LatheCategory.js":10666,"./RndConsoleComponents/LatheChemicalStorage":52285,"./RndConsoleComponents/LatheChemicalStorage.js":52285,"./RndConsoleComponents/LatheMainMenu":71964,"./RndConsoleComponents/LatheMainMenu.js":71964,"./RndConsoleComponents/LatheMaterialStorage":17906,"./RndConsoleComponents/LatheMaterialStorage.js":17906,"./RndConsoleComponents/LatheMaterials":83706,"./RndConsoleComponents/LatheMaterials.js":83706,"./RndConsoleComponents/LatheMenu":76749,"./RndConsoleComponents/LatheMenu.js":76749,"./RndConsoleComponents/LatheSearch":74698,"./RndConsoleComponents/LatheSearch.js":74698,"./RndConsoleComponents/MainMenu":17180,"./RndConsoleComponents/MainMenu.js":17180,"./RndConsoleComponents/RndNavButton":63459,"./RndConsoleComponents/RndNavButton.js":63459,"./RndConsoleComponents/RndNavbar":94942,"./RndConsoleComponents/RndNavbar.js":94942,"./RndConsoleComponents/RndRoute":12059,"./RndConsoleComponents/RndRoute.js":12059,"./RndConsoleComponents/SettingsMenu":52580,"./RndConsoleComponents/SettingsMenu.js":52580,"./RndConsoleComponents/index":13472,"./RndConsoleComponents/index.js":13472,"./RoboQuest":40026,"./RoboQuest.js":40026,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpiderOS":7957,"./SpiderOS.js":7957,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./SyndieCargoConsole":99279,"./SyndieCargoConsole.js":99279,"./TTSSeedsExplorer":44852,"./TTSSeedsExplorer.js":44852,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThiefKit":69566,"./ThiefKit.js":69566,"./TransferValve":20035,"./TransferValve.js":20035,"./Uplink":52847,"./Uplink.js":52847,"./VampireSpecMenu":8946,"./VampireSpecMenu.js":8946,"./VampireTrophiesStatus":45770,"./VampireTrophiesStatus.js":45770,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./Workshop":30995,"./Workshop.js":30995,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./manually-routed/KitchenSink":25443,"./manually-routed/KitchenSink.js":25443,"./pai/pai_advsecrecords":96572,"./pai/pai_advsecrecords.js":96572,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_camera_bug":79592,"./pai/pai_camera_bug.js":79592,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_encoder":43816,"./pai/pai_encoder.js":43816,"./pai/pai_gps_module":88895,"./pai/pai_gps_module.js":88895,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_sec_chem":19873,"./pai/pai_sec_chem.js":19873,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=32054},4085:function(I,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var s=t(o);return n(s)}function t(o){if(!n.o(e,o)){var s=new Error("Cannot find module '"+o+"'");throw s.code="MODULE_NOT_FOUND",s}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,I.exports=a,a.id=4085},10320:function(I,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(I,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(I,r,n){"use strict";var e=n(45015),a=String,t=TypeError;I.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(I,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),s=Array.prototype;s[o]===void 0&&t(s,o,{configurable:!0,value:a(null)}),I.exports=function(y){s[o][y]=!0}},35483:function(I,r,n){"use strict";var e=n(50233).charAt;I.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(I,r,n){"use strict";var e=n(21287),a=TypeError;I.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(I,r,n){"use strict";var e=n(77568),a=String,t=TypeError;I.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(I){"use strict";I.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(I,r,n){"use strict";var e=n(40033);I.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(I,r,n){"use strict";var e=n(70377),a=n(58310),t=n(16210),o=n(55747),s=n(77568),y=n(45299),V=n(2281),k=n(89393),S=n(37909),p=n(55938),i=n(73936),c=n(21287),m=n(36917),u=n(76649),d=n(24697),f=n(16738),l=n(5419),v=l.enforce,b=l.get,g=t.Int8Array,h=g&&g.prototype,C=t.Uint8ClampedArray,N=C&&C.prototype,x=g&&m(g),B=h&&m(h),L=Object.prototype,w=t.TypeError,A=d("toStringTag"),T=f("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",O=e&&!!u&&V(t.opera)!=="Opera",P=!1,R,F,j,W={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},H={BigInt64Array:8,BigUint64Array:8},z=function(){function Ne(Be){if(!s(Be))return!1;var Le=V(Be);return Le==="DataView"||y(W,Le)||y(H,Le)}return Ne}(),Y=function(Be){var Le=m(Be);if(s(Le)){var Ae=b(Le);return Ae&&y(Ae,E)?Ae[E]:Y(Le)}},G=function(Be){if(!s(Be))return!1;var Le=V(Be);return y(W,Le)||y(H,Le)},ne=function(Be){if(G(Be))return Be;throw new w("Target is not a typed array")},Q=function(Be){if(o(Be)&&(!u||c(x,Be)))return Be;throw new w(k(Be)+" is not a typed array constructor")},he=function(Be,Le,Ae,fe){if(a){if(Ae)for(var Z in W){var J=t[Z];if(J&&y(J.prototype,Be))try{delete J.prototype[Be]}catch(te){try{J.prototype[Be]=Le}catch(ee){}}}(!B[Be]||Ae)&&p(B,Be,Ae?Le:O&&h[Be]||Le,fe)}},Ve=function(Be,Le,Ae){var fe,Z;if(a){if(u){if(Ae){for(fe in W)if(Z=t[fe],Z&&y(Z,Be))try{delete Z[Be]}catch(J){}}if(!x[Be]||Ae)try{return p(x,Be,Ae?Le:O&&x[Be]||Le)}catch(J){}else return}for(fe in W)Z=t[fe],Z&&(!Z[Be]||Ae)&&p(Z,Be,Le)}};for(R in W)F=t[R],j=F&&F.prototype,j?v(j)[E]=F:O=!1;for(R in H)F=t[R],j=F&&F.prototype,j&&(v(j)[E]=F);if((!O||!o(x)||x===Function.prototype)&&(x=function(){function Ne(){throw new w("Incorrect invocation")}return Ne}(),O))for(R in W)t[R]&&u(t[R],x);if((!O||!B||B===L)&&(B=x.prototype,O))for(R in W)t[R]&&u(t[R].prototype,B);if(O&&m(N)!==B&&u(N,B),a&&!y(B,A)){P=!0,i(B,A,{configurable:!0,get:function(){function Ne(){return s(this)?this[T]:void 0}return Ne}()});for(R in W)t[R]&&S(t[R],T,R)}I.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:P&&T,aTypedArray:ne,aTypedArrayConstructor:Q,exportTypedArrayMethod:he,exportTypedArrayStaticMethod:Ve,getTypedArrayConstructor:Y,isView:z,isTypedArray:G,TypedArray:x,TypedArrayPrototype:B}},37336:function(I,r,n){"use strict";var e=n(16210),a=n(67250),t=n(58310),o=n(70377),s=n(70520),y=n(37909),V=n(73936),k=n(30145),S=n(40033),p=n(60077),i=n(61365),c=n(10188),m=n(43806),u=n(95867),d=n(91784),f=n(36917),l=n(76649),v=n(88471),b=n(54602),g=n(5781),h=n(5774),C=n(84925),N=n(5419),x=s.PROPER,B=s.CONFIGURABLE,L="ArrayBuffer",w="DataView",A="prototype",T="Wrong length",E="Wrong index",O=N.getterFor(L),P=N.getterFor(w),R=N.set,F=e[L],j=F,W=j&&j[A],H=e[w],z=H&&H[A],Y=Object.prototype,G=e.Array,ne=e.RangeError,Q=a(v),he=a([].reverse),Ve=d.pack,Ne=d.unpack,Be=function(X){return[X&255]},Le=function(X){return[X&255,X>>8&255]},Ae=function(X){return[X&255,X>>8&255,X>>16&255,X>>24&255]},fe=function(X){return X[3]<<24|X[2]<<16|X[1]<<8|X[0]},Z=function(X){return Ve(u(X),23,4)},J=function(X){return Ve(X,52,8)},te=function(X,ae,ue){V(X[A],ae,{configurable:!0,get:function(){function ie(){return ue(this)[ae]}return ie}()})},ee=function(X,ae,ue,ie){var ge=P(X),Ce=m(ue),Me=!!ie;if(Ce+ae>ge.byteLength)throw new ne(E);var De=ge.bytes,ke=Ce+ge.byteOffset,pe=b(De,ke,ke+ae);return Me?pe:he(pe)},le=function(X,ae,ue,ie,ge,Ce){var Me=P(X),De=m(ue),ke=ie(+ge),pe=!!Ce;if(De+ae>Me.byteLength)throw new ne(E);for(var se=Me.bytes,xe=De+Me.byteOffset,_=0;_ge)throw new ne("Wrong offset");if(ue=ue===void 0?ge-Ce:c(ue),Ce+ue>ge)throw new ne(T);R(this,{type:w,buffer:X,byteLength:ue,byteOffset:Ce,bytes:ie.bytes}),t||(this.buffer=X,this.byteLength=ue,this.byteOffset=Ce)}return M}(),z=H[A],t&&(te(j,"byteLength",O),te(H,"buffer",P),te(H,"byteLength",P),te(H,"byteOffset",P)),k(z,{getInt8:function(){function M(X){return ee(this,1,X)[0]<<24>>24}return M}(),getUint8:function(){function M(X){return ee(this,1,X)[0]}return M}(),getInt16:function(){function M(X){var ae=ee(this,2,X,arguments.length>1?arguments[1]:!1);return(ae[1]<<8|ae[0])<<16>>16}return M}(),getUint16:function(){function M(X){var ae=ee(this,2,X,arguments.length>1?arguments[1]:!1);return ae[1]<<8|ae[0]}return M}(),getInt32:function(){function M(X){return fe(ee(this,4,X,arguments.length>1?arguments[1]:!1))}return M}(),getUint32:function(){function M(X){return fe(ee(this,4,X,arguments.length>1?arguments[1]:!1))>>>0}return M}(),getFloat32:function(){function M(X){return Ne(ee(this,4,X,arguments.length>1?arguments[1]:!1),23)}return M}(),getFloat64:function(){function M(X){return Ne(ee(this,8,X,arguments.length>1?arguments[1]:!1),52)}return M}(),setInt8:function(){function M(X,ae){le(this,1,X,Be,ae)}return M}(),setUint8:function(){function M(X,ae){le(this,1,X,Be,ae)}return M}(),setInt16:function(){function M(X,ae){le(this,2,X,Le,ae,arguments.length>2?arguments[2]:!1)}return M}(),setUint16:function(){function M(X,ae){le(this,2,X,Le,ae,arguments.length>2?arguments[2]:!1)}return M}(),setInt32:function(){function M(X,ae){le(this,4,X,Ae,ae,arguments.length>2?arguments[2]:!1)}return M}(),setUint32:function(){function M(X,ae){le(this,4,X,Ae,ae,arguments.length>2?arguments[2]:!1)}return M}(),setFloat32:function(){function M(X,ae){le(this,4,X,Z,ae,arguments.length>2?arguments[2]:!1)}return M}(),setFloat64:function(){function M(X,ae){le(this,8,X,J,ae,arguments.length>2?arguments[2]:!1)}return M}()});else{var ye=x&&F.name!==L;!S(function(){F(1)})||!S(function(){new F(-1)})||S(function(){return new F,new F(1.5),new F(NaN),F.length!==1||ye&&!B})?(j=function(){function M(X){return p(this,W),g(new F(m(X)),this,j)}return M}(),j[A]=W,W.constructor=j,h(j,F)):ye&&B&&y(F,"name",L),l&&f(z)!==Y&&l(z,Y);var me=new H(new j(2)),Te=a(z.setInt8);me.setInt8(0,2147483648),me.setInt8(1,2147483649),(me.getInt8(0)||!me.getInt8(1))&&k(z,{setInt8:function(){function M(X,ae){Te(this,X,ae<<24>>24)}return M}(),setUint8:function(){function M(X,ae){Te(this,X,ae<<24>>24)}return M}()},{unsafe:!0})}C(j,L),C(H,w),I.exports={ArrayBuffer:j,DataView:H}},71447:function(I,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),s=Math.min;I.exports=[].copyWithin||function(){function y(V,k){var S=e(this),p=t(S),i=a(V,p),c=a(k,p),m=arguments.length>2?arguments[2]:void 0,u=s((m===void 0?p:a(m,p))-c,p-i),d=1;for(c0;)c in S?S[i]=S[c]:o(S,i),i+=d,c+=d;return S}return y}()},88471:function(I,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);I.exports=function(){function o(s){for(var y=e(this),V=t(y),k=arguments.length,S=a(k>1?arguments[1]:void 0,V),p=k>2?arguments[2]:void 0,i=p===void 0?V:a(p,V);i>S;)y[S++]=s;return y}return o}()},35601:function(I,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");I.exports=t?[].forEach:function(){function o(s){return e(this,s,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(I,r,n){"use strict";var e=n(24760);I.exports=function(a,t,o){for(var s=0,y=arguments.length>2?o:e(t),V=new a(y);y>s;)V[s]=t[s++];return V}},73174:function(I,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),s=n(76571),y=n(1031),V=n(24760),k=n(60102),S=n(77455),p=n(59201),i=Array;I.exports=function(){function c(m){var u=t(m),d=y(this),f=arguments.length,l=f>1?arguments[1]:void 0,v=l!==void 0;v&&(l=e(l,f>2?arguments[2]:void 0));var b=p(u),g=0,h,C,N,x,B,L;if(b&&!(this===i&&s(b)))for(C=d?new this:[],x=S(u,b),B=x.next;!(N=a(B,x)).done;g++)L=v?o(x,l,[N.value,g],!0):N.value,k(C,g,L);else for(h=V(u),C=d?new this(h):i(h);h>g;g++)L=v?l(u[g],g):u[g],k(C,g,L);return C.length=g,C}return c}()},14211:function(I,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(y){return function(V,k,S){var p=e(V),i=t(p);if(i===0)return!y&&-1;var c=a(S,i),m;if(y&&k!==k){for(;i>c;)if(m=p[c++],m!==m)return!0}else for(;i>c;c++)if((y||c in p)&&p[c]===k)return y||c||0;return!y&&-1}};I.exports={includes:o(!0),indexOf:o(!1)}},22603:function(I,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),s=n(24760),y=n(57823),V=a([].push),k=function(p){var i=p===1,c=p===2,m=p===3,u=p===4,d=p===6,f=p===7,l=p===5||d;return function(v,b,g,h){for(var C=o(v),N=t(C),x=s(N),B=e(b,g),L=0,w=h||y,A=i?w(v,x):c||f?w(v,0):void 0,T,E;x>L;L++)if((l||L in N)&&(T=N[L],E=B(T,L,C),p))if(i)A[L]=E;else if(E)switch(p){case 3:return!0;case 5:return T;case 6:return L;case 2:V(A,T)}else switch(p){case 4:return!1;case 7:V(A,T)}return d?-1:m||u?u:A}};I.exports={forEach:k(0),map:k(1),filter:k(2),some:k(3),every:k(4),find:k(5),findIndex:k(6),filterReject:k(7)}},1325:function(I,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),s=n(55528),y=Math.min,V=[].lastIndexOf,k=!!V&&1/[1].lastIndexOf(1,-0)<0,S=s("lastIndexOf"),p=k||!S;I.exports=p?function(){function i(c){if(k)return e(V,this,arguments)||0;var m=a(this),u=o(m);if(u===0)return-1;var d=u-1;for(arguments.length>1&&(d=y(d,t(arguments[1]))),d<0&&(d=u+d);d>=0;d--)if(d in m&&m[d]===c)return d||0;return-1}return i}():V},44091:function(I,r,n){"use strict";var e=n(40033),a=n(24697),t=n(83141),o=a("species");I.exports=function(s){return t>=51||!e(function(){var y=[],V=y.constructor={};return V[o]=function(){return{foo:1}},y[s](Boolean).foo!==1})}},55528:function(I,r,n){"use strict";var e=n(40033);I.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(I,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),s=TypeError,y="Reduce of empty array with no initial value",V=function(S){return function(p,i,c,m){var u=a(p),d=t(u),f=o(u);if(e(i),f===0&&c<2)throw new s(y);var l=S?f-1:0,v=S?-1:1;if(c<2)for(;;){if(l in d){m=d[l],l+=v;break}if(l+=v,S?l<0:f<=l)throw new s(y)}for(;S?l>=0:f>l;l+=v)l in d&&(m=i(m,d[l],l,u));return m}};I.exports={left:V(!1),right:V(!0)}},13345:function(I,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,s=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(y){return y instanceof TypeError}}();I.exports=s?function(y,V){if(a(y)&&!o(y,"length").writable)throw new t("Cannot set read only .length");return y.length=V}:function(y,V){return y.length=V}},54602:function(I,r,n){"use strict";var e=n(67250);I.exports=e([].slice)},90274:function(I,r,n){"use strict";var e=n(54602),a=Math.floor,t=function(s,y){var V=s.length;if(V<8)for(var k=1,S,p;k0;)s[p]=s[--p];p!==k++&&(s[p]=S)}else for(var i=a(V/2),c=t(e(s,0,i),y),m=t(e(s,i),y),u=c.length,d=m.length,f=0,l=0;f1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(T(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(w){return!!B(this,w)}return L}()}),t(C,b?{get:function(){function L(w){var A=B(this,w);return A&&A.value}return L}(),set:function(){function L(w,A){return x(this,w===0?0:w,A)}return L}()}:{add:function(){function L(w){return x(this,w=w===0?0:w,w)}return L}()}),i&&a(C,"size",{configurable:!0,get:function(){function L(){return N(this).size}return L}()}),h}return f}(),setStrong:function(){function f(l,v,b){var g=v+" Iterator",h=d(v),C=d(g);k(l,v,function(N,x){u(this,{type:g,target:N,state:h(N),kind:x,last:null})},function(){for(var N=C(this),x=N.kind,B=N.last;B&&B.removed;)B=B.previous;return!N.target||!(N.last=B=B?B.next:N.state.first)?(N.target=null,S(void 0,!0)):S(x==="keys"?B.key:x==="values"?B.value:[B.key,B.value],!1)},b?"entries":"values",!b,!0),p(v)}return f}()}},39895:function(I,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),s=n(30365),y=n(42871),V=n(77568),k=n(49450),S=n(22603),p=n(45299),i=n(5419),c=i.set,m=i.getterFor,u=S.find,d=S.findIndex,f=e([].splice),l=0,v=function(C){return C.frozen||(C.frozen=new b)},b=function(){this.entries=[]},g=function(C,N){return u(C.entries,function(x){return x[0]===N})};b.prototype={get:function(){function h(C){var N=g(this,C);if(N)return N[1]}return h}(),has:function(){function h(C){return!!g(this,C)}return h}(),set:function(){function h(C,N){var x=g(this,C);x?x[1]=N:this.entries.push([C,N])}return h}(),delete:function(){function h(C){var N=d(this.entries,function(x){return x[0]===C});return~N&&f(this.entries,N,1),!!~N}return h}()},I.exports={getConstructor:function(){function h(C,N,x,B){var L=C(function(E,O){o(E,w),c(E,{type:N,id:l++,frozen:null}),y(O)||k(O,E[B],{that:E,AS_ENTRIES:x})}),w=L.prototype,A=m(N),T=function(){function E(O,P,R){var F=A(O),j=t(s(P),!0);return j===!0?v(F).set(P,R):j[F.id]=R,O}return E}();return a(w,{delete:function(){function E(O){var P=A(this);if(!V(O))return!1;var R=t(O);return R===!0?v(P).delete(O):R&&p(R,P.id)&&delete R[P.id]}return E}(),has:function(){function E(O){var P=A(this);if(!V(O))return!1;var R=t(O);return R===!0?v(P).has(O):R&&p(R,P.id)}return E}()}),a(w,x?{get:function(){function E(O){var P=A(this);if(V(O)){var R=t(O);if(R===!0)return v(P).get(O);if(R)return R[P.id]}}return E}(),set:function(){function E(O,P){return T(this,O,P)}return E}()}:{add:function(){function E(O){return T(this,O,!0)}return E}()}),L}return h}()}},45150:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(67250),o=n(41314),s=n(55938),y=n(81969),V=n(49450),k=n(60077),S=n(55747),p=n(42871),i=n(77568),c=n(40033),m=n(92490),u=n(84925),d=n(5781);I.exports=function(f,l,v){var b=f.indexOf("Map")!==-1,g=f.indexOf("Weak")!==-1,h=b?"set":"add",C=a[f],N=C&&C.prototype,x=C,B={},L=function(F){var j=t(N[F]);s(N,F,F==="add"?function(){function W(H){return j(this,H===0?0:H),this}return W}():F==="delete"?function(W){return g&&!i(W)?!1:j(this,W===0?0:W)}:F==="get"?function(){function W(H){return g&&!i(H)?void 0:j(this,H===0?0:H)}return W}():F==="has"?function(){function W(H){return g&&!i(H)?!1:j(this,H===0?0:H)}return W}():function(){function W(H,z){return j(this,H===0?0:H,z),this}return W}())},w=o(f,!S(C)||!(g||N.forEach&&!c(function(){new C().entries().next()})));if(w)x=v.getConstructor(l,f,b,h),y.enable();else if(o(f,!0)){var A=new x,T=A[h](g?{}:-0,1)!==A,E=c(function(){A.has(1)}),O=m(function(R){new C(R)}),P=!g&&c(function(){for(var R=new C,F=5;F--;)R[h](F,F);return!R.has(-0)});O||(x=l(function(R,F){k(R,N);var j=d(new C,R,x);return p(F)||V(F,j[h],{that:j,AS_ENTRIES:b}),j}),x.prototype=N,N.constructor=x),(E||P)&&(L("delete"),L("has"),b&&L("get")),(P||T)&&L(h),g&&N.clear&&delete N.clear}return B[f]=x,e({global:!0,constructor:!0,forced:x!==C},B),u(x,f),g||v.setStrong(x,f,b),x}},5774:function(I,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);I.exports=function(s,y,V){for(var k=a(y),S=o.f,p=t.f,i=0;i"+p+""}},5959:function(I){"use strict";I.exports=function(r,n){return{value:r,done:n}}},37909:function(I,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);I.exports=e?function(o,s,y){return a.f(o,s,t(1,y))}:function(o,s,y){return o[s]=y,o}},87458:function(I){"use strict";I.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(I,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);I.exports=function(o,s,y){e?a.f(o,s,t(0,y)):o[s]=y}},67206:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,s=isFinite,y=Math.abs,V=Date.prototype,k=V.toISOString,S=e(V.getTime),p=e(V.getUTCDate),i=e(V.getUTCFullYear),c=e(V.getUTCHours),m=e(V.getUTCMilliseconds),u=e(V.getUTCMinutes),d=e(V.getUTCMonth),f=e(V.getUTCSeconds);I.exports=a(function(){return k.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){k.call(new Date(NaN))})?function(){function l(){if(!s(S(this)))throw new o("Invalid time value");var v=this,b=i(v),g=m(v),h=b<0?"-":b>9999?"+":"";return h+t(y(b),h?6:4,0)+"-"+t(d(v)+1,2,0)+"-"+t(p(v),2,0)+"T"+t(c(v),2,0)+":"+t(u(v),2,0)+":"+t(f(v),2,0)+"."+t(g,3,0)+"Z"}return l}():k},10886:function(I,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;I.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(I,r,n){"use strict";var e=n(20001),a=n(74595);I.exports=function(t,o,s){return s.get&&e(s.get,o,{getter:!0}),s.set&&e(s.set,o,{setter:!0}),a.f(t,o,s)}},55938:function(I,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);I.exports=function(s,y,V,k){k||(k={});var S=k.enumerable,p=k.name!==void 0?k.name:y;if(e(V)&&t(V,p,k),k.global)S?s[y]=V:o(y,V);else{try{k.unsafe?s[y]&&(S=!0):delete s[y]}catch(i){}S?s[y]=V:a.f(s,y,{value:V,enumerable:!1,configurable:!k.nonConfigurable,writable:!k.nonWritable})}return s}},30145:function(I,r,n){"use strict";var e=n(55938);I.exports=function(a,t,o){for(var s in t)e(a,s,t[s],o);return a}},18231:function(I,r,n){"use strict";var e=n(16210),a=Object.defineProperty;I.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(s){e[t]=o}return o}},95108:function(I,r,n){"use strict";var e=n(89393),a=TypeError;I.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(I,r,n){"use strict";var e=n(16210),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);I.exports=function(s){return o?t.createElement(s):{}}},21291:function(I){"use strict";var r=TypeError,n=9007199254740991;I.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},89453:function(I){"use strict";I.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50503:function(I,r,n){"use strict";var e=n(83309),a=e.match(/firefox\/(\d+)/i);I.exports=!!a&&+a[1]},79725:function(I,r,n){"use strict";var e=n(83309);I.exports=/MSIE|Trident/.test(e)},16647:function(I,r,n){"use strict";var e=n(83309);I.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},27770:function(I,r,n){"use strict";var e=n(83309);I.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81663:function(I,r,n){"use strict";var e=n(10753);I.exports=e==="NODE"},52854:function(I,r,n){"use strict";var e=n(83309);I.exports=/web0s(?!.*chrome)/i.test(e)},83309:function(I,r,n){"use strict";var e=n(16210),a=e.navigator,t=a&&a.userAgent;I.exports=t?String(t):""},83141:function(I,r,n){"use strict";var e=n(16210),a=n(83309),t=e.process,o=e.Deno,s=t&&t.versions||o&&o.version,y=s&&s.v8,V,k;y&&(V=y.split("."),k=V[0]>0&&V[0]<4?1:+(V[0]+V[1])),!k&&a&&(V=a.match(/Edge\/(\d+)/),(!V||V[1]>=74)&&(V=a.match(/Chrome\/(\d+)/),V&&(k=+V[1]))),I.exports=k},44981:function(I,r,n){"use strict";var e=n(83309),a=e.match(/AppleWebKit\/(\d+)\./);I.exports=!!a&&+a[1]},10753:function(I,r,n){"use strict";var e=n(16210),a=n(83309),t=n(7462),o=function(y){return a.slice(0,y.length)===y};I.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":e.Bun&&typeof Bun.version=="string"?"BUN":e.Deno&&typeof Deno.version=="object"?"DENO":t(e.process)==="process"?"NODE":e.window&&e.document?"BROWSER":"REST"}()},63964:function(I,r,n){"use strict";var e=n(16210),a=n(27193).f,t=n(37909),o=n(55938),s=n(18231),y=n(5774),V=n(41314);I.exports=function(k,S){var p=k.target,i=k.global,c=k.stat,m,u,d,f,l,v;if(i?u=e:c?u=e[p]||s(p,{}):u=e[p]&&e[p].prototype,u)for(d in S){if(l=S[d],k.dontCallGetSet?(v=a(u,d),f=v&&v.value):f=u[d],m=V(i?d:p+(c?".":"#")+d,k.forced),!m&&f!==void 0){if(typeof l==typeof f)continue;y(l,f)}(k.sham||f&&f.sham)&&t(l,"sham",!0),o(u,d,l,k)}}},40033:function(I){"use strict";I.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(I,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),s=n(24697),y=n(37909),V=s("species"),k=RegExp.prototype;I.exports=function(S,p,i,c){var m=s(S),u=!o(function(){var v={};return v[m]=function(){return 7},""[S](v)!==7}),d=u&&!o(function(){var v=!1,b=/a/;return S==="split"&&(b={},b.constructor={},b.constructor[V]=function(){return b},b.flags="",b[m]=/./[m]),b.exec=function(){return v=!0,null},b[m](""),!v});if(!u||!d||i){var f=/./[m],l=p(m,""[S],function(v,b,g,h,C){var N=b.exec;return N===t||N===k.exec?u&&!C?{done:!0,value:e(f,b,g,h)}:{done:!0,value:e(v,g,b,h)}:{done:!1}});a(String.prototype,S,l[0]),a(k,m,l[1])}c&&y(k[m],"sham",!0)}},65561:function(I,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),s=function(V,k,S,p,i,c,m,u){for(var d=i,f=0,l=m?o(m,u):!1,v,b;f0&&e(v)?(b=a(v),d=s(V,k,v,b,d,c-1)-1):(t(d+1),V[d]=v),d++),f++;return d};I.exports=s},50730:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(I,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;I.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(I,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);I.exports=function(s,y){return a(s),y===void 0?s:t?o(s,y):function(){return s.apply(y,arguments)}}},55050:function(I,r,n){"use strict";var e=n(40033);I.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(I,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),s=n(54602),y=n(55050),V=Function,k=e([].concat),S=e([].join),p={},i=function(m,u,d){if(!o(p,u)){for(var f=[],l=0;l]*>)/g,k=/\$([$&'`]|\d{1,2})/g;I.exports=function(S,p,i,c,m,u){var d=i+S.length,f=c.length,l=k;return m!==void 0&&(m=a(m),l=V),s(u,l,function(v,b){var g;switch(o(b,0)){case"$":return"$";case"&":return S;case"`":return y(p,0,i);case"'":return y(p,d);case"<":g=m[y(b,1,-1)];break;default:var h=+b;if(h===0)return v;if(h>f){var C=t(h/10);return C===0?v:C<=f?c[C-1]===void 0?o(b,1):c[C-1]+o(b,1):v}g=c[h-1]}return g===void 0?"":g})}},16210:function(I,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};I.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(I,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);I.exports=Object.hasOwn||function(){function o(s,y){return t(a(s),y)}return o}()},79195:function(I){"use strict";I.exports={}},72259:function(I){"use strict";I.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(I,r,n){"use strict";var e=n(4009);I.exports=e("document","documentElement")},36223:function(I,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);I.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(I){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,s=function(k,S,p){var i=r(p),c=p*8-S-1,m=(1<>1,d=S===23?e(2,-24)-e(2,-77):0,f=k<0||k===0&&1/k<0?1:0,l=0,v,b,g;for(k=n(k),k!==k||k===1/0?(b=k!==k?1:0,v=m):(v=a(t(k)/o),g=e(2,-v),k*g<1&&(v--,g*=2),v+u>=1?k+=d/g:k+=d*e(2,1-u),k*g>=2&&(v++,g/=2),v+u>=m?(b=0,v=m):v+u>=1?(b=(k*g-1)*e(2,S),v+=u):(b=k*e(2,u-1)*e(2,S),v=0));S>=8;)i[l++]=b&255,b/=256,S-=8;for(v=v<0;)i[l++]=v&255,v/=256,c-=8;return i[l-1]|=f*128,i},y=function(k,S){var p=k.length,i=p*8-S-1,c=(1<>1,u=i-7,d=p-1,f=k[d--],l=f&127,v;for(f>>=7;u>0;)l=l*256+k[d--],u-=8;for(v=l&(1<<-u)-1,l>>=-u,u+=S;u>0;)v=v*256+k[d--],u-=8;if(l===0)l=1-m;else{if(l===c)return v?NaN:f?-1/0:1/0;v+=e(2,S),l-=m}return(f?-1:1)*v*e(2,l-S)};I.exports={pack:s,unpack:y}},37457:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,s=e("".split);I.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(y){return t(y)==="String"?s(y,""):o(y)}:o},5781:function(I,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);I.exports=function(o,s,y){var V,k;return t&&e(V=s.constructor)&&V!==y&&a(k=V.prototype)&&k!==y.prototype&&t(o,k),o}},40492:function(I,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(s){return o(s)}),I.exports=t.inspectSource},81969:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),s=n(45299),y=n(74595).f,V=n(37310),k=n(81644),S=n(81834),p=n(16738),i=n(50730),c=!1,m=p("meta"),u=0,d=function(C){y(C,m,{value:{objectID:"O"+u++,weakData:{}}})},f=function(C,N){if(!o(C))return typeof C=="symbol"?C:(typeof C=="string"?"S":"P")+C;if(!s(C,m)){if(!S(C))return"F";if(!N)return"E";d(C)}return C[m].objectID},l=function(C,N){if(!s(C,m)){if(!S(C))return!0;if(!N)return!1;d(C)}return C[m].weakData},v=function(C){return i&&c&&S(C)&&!s(C,m)&&d(C),C},b=function(){g.enable=function(){},c=!0;var C=V.f,N=a([].splice),x={};x[m]=1,C(x).length&&(V.f=function(B){for(var L=C(B),w=0,A=L.length;wB;B++)if(w=O(u[B]),w&&V(m,w))return w;return new c(!1)}N=k(u,x)}for(A=b?u.next:N.next;!(T=a(A,N)).done;){try{w=O(T.value)}catch(P){p(N,"throw",P)}if(typeof w=="object"&&w&&V(m,w))return w}return new c(!1)}},28649:function(I,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);I.exports=function(o,s,y){var V,k;a(o);try{if(V=t(o,"return"),!V){if(s==="throw")throw y;return y}V=e(V,o)}catch(S){k=!0,V=S}if(s==="throw")throw y;if(k)throw V;return a(V),y}},5656:function(I,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),s=n(83967),y=function(){return this};I.exports=function(V,k,S,p){var i=k+" Iterator";return V.prototype=a(e,{next:t(+!p,S)}),o(V,i,!1,!0),s[i]=y,V}},65574:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),s=n(55747),y=n(5656),V=n(36917),k=n(76649),S=n(84925),p=n(37909),i=n(55938),c=n(24697),m=n(83967),u=n(67635),d=o.PROPER,f=o.CONFIGURABLE,l=u.IteratorPrototype,v=u.BUGGY_SAFARI_ITERATORS,b=c("iterator"),g="keys",h="values",C="entries",N=function(){return this};I.exports=function(x,B,L,w,A,T,E){y(L,B,w);var O=function(Q){if(Q===A&&W)return W;if(!v&&Q&&Q in F)return F[Q];switch(Q){case g:return function(){function he(){return new L(this,Q)}return he}();case h:return function(){function he(){return new L(this,Q)}return he}();case C:return function(){function he(){return new L(this,Q)}return he}()}return function(){return new L(this)}},P=B+" Iterator",R=!1,F=x.prototype,j=F[b]||F["@@iterator"]||A&&F[A],W=!v&&j||O(A),H=B==="Array"&&F.entries||j,z,Y,G;if(H&&(z=V(H.call(new x)),z!==Object.prototype&&z.next&&(!t&&V(z)!==l&&(k?k(z,l):s(z[b])||i(z,b,N)),S(z,P,!0,!0),t&&(m[P]=N))),d&&A===h&&j&&j.name!==h&&(!t&&f?p(F,"name",h):(R=!0,W=function(){function ne(){return a(j,this)}return ne}())),A)if(Y={values:O(h),keys:T?W:O(g),entries:O(C)},E)for(G in Y)(v||R||!(G in F))&&i(F,G,Y[G]);else e({target:B,proto:!0,forced:v||R},Y);return(!t||E)&&F[b]!==W&&i(F,b,W,{name:A}),m[B]=W,Y}},67635:function(I,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),s=n(36917),y=n(55938),V=n(24697),k=n(4493),S=V("iterator"),p=!1,i,c,m;[].keys&&(m=[].keys(),"next"in m?(c=s(s(m)),c!==Object.prototype&&(i=c)):p=!0);var u=!t(i)||e(function(){var d={};return i[S].call(d)!==d});u?i={}:k&&(i=o(i)),a(i[S])||y(i,S,function(){return this}),I.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:p}},83967:function(I){"use strict";I.exports={}},24760:function(I,r,n){"use strict";var e=n(10188);I.exports=function(a){return e(a.length)}},20001:function(I,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),s=n(58310),y=n(70520).CONFIGURABLE,V=n(40492),k=n(5419),S=k.enforce,p=k.get,i=String,c=Object.defineProperty,m=e("".slice),u=e("".replace),d=e([].join),f=s&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),l=String(String).split("String"),v=I.exports=function(b,g,h){m(i(g),0,7)==="Symbol("&&(g="["+u(i(g),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),h&&h.getter&&(g="get "+g),h&&h.setter&&(g="set "+g),(!o(b,"name")||y&&b.name!==g)&&(s?c(b,"name",{value:g,configurable:!0}):b.name=g),f&&h&&o(h,"arity")&&b.length!==h.arity&&c(b,"length",{value:h.arity});try{h&&o(h,"constructor")&&h.constructor?s&&c(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch(N){}var C=S(b);return o(C,"source")||(C.source=d(l,typeof g=="string"?g:"")),b};Function.prototype.toString=v(function(){function b(){return t(this)&&p(this).source||V(this)}return b}(),"toString")},82040:function(I){"use strict";var r=Math.expm1,n=Math.exp;I.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(I,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,s=function(V){return V+o-o};I.exports=function(y,V,k,S){var p=+y,i=a(p),c=e(p);if(ik||u!==u?c*(1/0):c*u}},95867:function(I,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;I.exports=Math.fround||function(){function s(y){return e(y,a,t,o)}return s}()},75002:function(I){"use strict";var r=Math.log,n=Math.LOG10E;I.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(I){"use strict";var r=Math.log;I.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(I){"use strict";I.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(I){"use strict";var r=Math.ceil,n=Math.floor;I.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(I,r,n){"use strict";var e=n(16210),a=n(44915),t=n(75754),o=n(60375).set,s=n(9547),y=n(27770),V=n(16647),k=n(52854),S=n(81663),p=e.MutationObserver||e.WebKitMutationObserver,i=e.document,c=e.process,m=e.Promise,u=a("queueMicrotask"),d,f,l,v,b;if(!u){var g=new s,h=function(){var N,x;for(S&&(N=c.domain)&&N.exit();x=g.get();)try{x()}catch(B){throw g.head&&d(),B}N&&N.enter()};!y&&!S&&!k&&p&&i?(f=!0,l=i.createTextNode(""),new p(h).observe(l,{characterData:!0}),d=function(){l.data=f=!f}):!V&&m&&m.resolve?(v=m.resolve(void 0),v.constructor=m,b=t(v.then,v),d=function(){b(h)}):S?d=function(){c.nextTick(h)}:(o=t(o,e),d=function(){o(h)}),u=function(N){g.head||d(),g.add(N)}}I.exports=u},81837:function(I,r,n){"use strict";var e=n(10320),a=TypeError,t=function(s){var y,V;this.promise=new s(function(k,S){if(y!==void 0||V!==void 0)throw new a("Bad Promise constructor");y=k,V=S}),this.resolve=e(y),this.reject=e(V)};I.exports.f=function(o){return new t(o)}},86213:function(I,r,n){"use strict";var e=n(72586),a=TypeError;I.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(I,r,n){"use strict";var e=n(16210),a=e.isFinite;I.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(12605),s=n(92648).trim,y=n(4198),V=t("".charAt),k=e.parseFloat,S=e.Symbol,p=S&&S.iterator,i=1/k(y+"-0")!==-1/0||p&&!a(function(){k(Object(p))});I.exports=i?function(){function c(m){var u=s(o(m)),d=k(u);return d===0&&V(u,0)==="-"?-0:d}return c}():k},13693:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(12605),s=n(92648).trim,y=n(4198),V=e.parseInt,k=e.Symbol,S=k&&k.iterator,p=/^[+-]?0x/i,i=t(p.exec),c=V(y+"08")!==8||V(y+"0x16")!==22||S&&!a(function(){V(Object(S))});I.exports=c?function(){function m(u,d){var f=s(o(u));return V(f,d>>>0||(i(p,f)?16:10))}return m}():V},41143:function(I,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),s=n(18450),y=n(89235),V=n(12867),k=n(46771),S=n(37457),p=Object.assign,i=Object.defineProperty,c=a([].concat);I.exports=!p||o(function(){if(e&&p({b:1},p(i({},"a",{enumerable:!0,get:function(){function l(){i(this,"b",{value:3,enumerable:!1})}return l}()}),{b:2})).b!==1)return!0;var m={},u={},d=Symbol("assign detection"),f="abcdefghijklmnopqrst";return m[d]=7,f.split("").forEach(function(l){u[l]=l}),p({},m)[d]!==7||s(p({},u)).join("")!==f})?function(){function m(u,d){for(var f=k(u),l=arguments.length,v=1,b=y.f,g=V.f;l>v;)for(var h=S(arguments[v++]),C=b?c(s(h),b(h)):s(h),N=C.length,x=0,B;N>x;)B=C[x++],(!e||t(g,h,B))&&(f[B]=h[B]);return f}return m}():p},80674:function(I,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),s=n(5315),y=n(12689),V=n(19417),k=">",S="<",p="prototype",i="script",c=V("IE_PROTO"),m=function(){},u=function(g){return S+i+k+g+S+"/"+i+k},d=function(g){g.write(u("")),g.close();var h=g.parentWindow.Object;return g=null,h},f=function(){var g=y("iframe"),h="java"+i+":",C;return g.style.display="none",s.appendChild(g),g.src=String(h),C=g.contentWindow.document,C.open(),C.write(u("document.F=Object")),C.close(),C.F},l,v=function(){try{l=new ActiveXObject("htmlfile")}catch(h){}v=typeof document!="undefined"?document.domain&&l?d(l):f():d(l);for(var g=t.length;g--;)delete v[p][t[g]];return v()};o[c]=!0,I.exports=Object.create||function(){function b(g,h){var C;return g!==null?(m[p]=e(g),C=new m,m[p]=null,C[c]=g):C=v(),h===void 0?C:a.f(C,h)}return b}()},24239:function(I,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),s=n(57591),y=n(18450);r.f=e&&!a?Object.defineProperties:function(){function V(k,S){o(k);for(var p=s(S),i=y(S),c=i.length,m=0,u;c>m;)t.f(k,u=i[m++],p[u]);return k}return V}()},74595:function(I,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),s=n(767),y=TypeError,V=Object.defineProperty,k=Object.getOwnPropertyDescriptor,S="enumerable",p="configurable",i="writable";r.f=e?t?function(){function c(m,u,d){if(o(m),u=s(u),o(d),typeof m=="function"&&u==="prototype"&&"value"in d&&i in d&&!d[i]){var f=k(m,u);f&&f[i]&&(m[u]=d.value,d={configurable:p in d?d[p]:f[p],enumerable:S in d?d[S]:f[S],writable:!1})}return V(m,u,d)}return c}():V:function(){function c(m,u,d){if(o(m),u=s(u),o(d),a)try{return V(m,u,d)}catch(f){}if("get"in d||"set"in d)throw new y("Accessors not supported");return"value"in d&&(m[u]=d.value),m}return c}()},27193:function(I,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),s=n(57591),y=n(767),V=n(45299),k=n(36223),S=Object.getOwnPropertyDescriptor;r.f=e?S:function(){function p(i,c){if(i=s(i),c=y(c),k)try{return S(i,c)}catch(m){}if(V(i,c))return o(!a(t.f,i,c),i[c])}return p}()},81644:function(I,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),s=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],y=function(k){try{return t(k)}catch(S){return o(s)}};I.exports.f=function(){function V(k){return s&&e(k)==="Window"?y(k):t(a(k))}return V}()},37310:function(I,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(s){return e(s,t)}return o}()},89235:function(I,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(I,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),s=n(9225),y=o("IE_PROTO"),V=Object,k=V.prototype;I.exports=s?V.getPrototypeOf:function(S){var p=t(S);if(e(p,y))return p[y];var i=p.constructor;return a(i)&&p instanceof i?i.prototype:p instanceof V?k:null}},81834:function(I,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),s=Object.isExtensible,y=e(function(){s(1)});I.exports=y||o?function(){function V(k){return!a(k)||o&&t(k)==="ArrayBuffer"?!1:s?s(k):!0}return V}():s},21287:function(I,r,n){"use strict";var e=n(67250);I.exports=e({}.isPrototypeOf)},53726:function(I,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,s=n(79195),y=e([].push);I.exports=function(V,k){var S=t(V),p=0,i=[],c;for(c in S)!a(s,c)&&a(S,c)&&y(i,c);for(;k.length>p;)a(S,c=k[p++])&&(~o(i,c)||y(i,c));return i}},18450:function(I,r,n){"use strict";var e=n(53726),a=n(89453);I.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(I,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var s=e(this,o);return!!s&&s.enumerable}return t}():n},57377:function(I,r,n){"use strict";var e=n(4493),a=n(16210),t=n(40033),o=n(44981);I.exports=e||!t(function(){if(!(o&&o<535)){var s=Math.random();__defineSetter__.call(null,s,function(){}),delete a[s]}})},76649:function(I,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);I.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var s=!1,y={},V;try{V=e(Object.prototype,"__proto__","set"),V(y,[]),s=y instanceof Array}catch(k){}return function(){function k(S,p){return t(S),o(p),a(S)&&(s?V(S,p):S.__proto__=p),S}return k}()}():void 0)},70915:function(I,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),s=n(18450),y=n(57591),V=n(12867).f,k=t(V),S=t([].push),p=e&&a(function(){var c=Object.create(null);return c[2]=2,!k(c,2)}),i=function(m){return function(u){for(var d=y(u),f=s(d),l=p&&o(d)===null,v=f.length,b=0,g=[],h;v>b;)h=f[b++],(!e||(l?h in d:k(d,h)))&&S(g,m?[h,d[h]]:d[h]);return g}};I.exports={entries:i(!0),values:i(!1)}},2509:function(I,r,n){"use strict";var e=n(2650),a=n(2281);I.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(I,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;I.exports=function(s,y){var V,k;if(y==="string"&&a(V=s.toString)&&!t(k=e(V,s))||a(V=s.valueOf)&&!t(k=e(V,s))||y!=="string"&&a(V=s.toString)&&!t(k=e(V,s)))return k;throw new o("Can't convert object to primitive value")}},97921:function(I,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),s=n(30365),y=a([].concat);I.exports=e("Reflect","ownKeys")||function(){function V(k){var S=t.f(s(k)),p=o.f;return p?y(S,p(k)):S}return V}()},61765:function(I,r,n){"use strict";var e=n(16210);I.exports=e},10729:function(I){"use strict";I.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(I,r,n){"use strict";var e=n(16210),a=n(67512),t=n(55747),o=n(41314),s=n(40492),y=n(24697),V=n(10753),k=n(4493),S=n(83141),p=a&&a.prototype,i=y("species"),c=!1,m=t(e.PromiseRejectionEvent),u=o("Promise",function(){var d=s(a),f=d!==String(a);if(!f&&S===66||k&&!(p.catch&&p.finally))return!0;if(!S||S<51||!/native code/.test(d)){var l=new a(function(g){g(1)}),v=function(h){h(function(){},function(){})},b=l.constructor={};if(b[i]=v,c=l.then(function(){})instanceof v,!c)return!0}return!f&&(V==="BROWSER"||V==="DENO")&&!m});I.exports={CONSTRUCTOR:u,REJECTION_EVENT:m,SUBCLASSING:c}},67512:function(I,r,n){"use strict";var e=n(16210);I.exports=e.Promise},66628:function(I,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);I.exports=function(o,s){if(e(o),a(s)&&s.constructor===o)return s;var y=t.f(o),V=y.resolve;return V(s),y.promise}},48199:function(I,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;I.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(I,r,n){"use strict";var e=n(74595).f;I.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function s(){return t[o]}return s}(),set:function(){function s(y){t[o]=y}return s}()})}},9547:function(I){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},I.exports=r},28340:function(I,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),s=n(14489),y=TypeError;I.exports=function(V,k){var S=V.exec;if(t(S)){var p=e(S,V,k);return p!==null&&a(p),p}if(o(V)==="RegExp")return e(s,V,k);throw new y("RegExp#exec called on incompatible receiver")}},14489:function(I,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),s=n(62115),y=n(16639),V=n(80674),k=n(5419).get,S=n(39173),p=n(35688),i=y("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,u=a("".charAt),d=a("".indexOf),f=a("".replace),l=a("".slice),v=function(){var C=/a/,N=/b*/g;return e(c,C,"a"),e(c,N,"a"),C.lastIndex!==0||N.lastIndex!==0}(),b=s.BROKEN_CARET,g=/()??/.exec("")[1]!==void 0,h=v||g||b||S||p;h&&(m=function(){function C(N){var x=this,B=k(x),L=t(N),w=B.raw,A,T,E,O,P,R,F;if(w)return w.lastIndex=x.lastIndex,A=e(m,w,L),x.lastIndex=w.lastIndex,A;var j=B.groups,W=b&&x.sticky,H=e(o,x),z=x.source,Y=0,G=L;if(W&&(H=f(H,"y",""),d(H,"g")===-1&&(H+="g"),G=l(L,x.lastIndex),x.lastIndex>0&&(!x.multiline||x.multiline&&u(L,x.lastIndex-1)!=="\n")&&(z="(?: "+z+")",G=" "+G,Y++),T=new RegExp("^(?:"+z+")",H)),g&&(T=new RegExp("^"+z+"$(?!\\s)",H)),v&&(E=x.lastIndex),O=e(c,W?T:x,G),W?O?(O.input=l(O.input,Y),O[0]=l(O[0],Y),O.index=x.lastIndex,x.lastIndex+=O[0].length):x.lastIndex=0:v&&O&&(x.lastIndex=x.global?O.index+O[0].length:E),g&&O&&O.length>1&&e(i,O[0],T,function(){for(P=1;Pb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(I,r,n){"use strict";var e=n(42871),a=TypeError;I.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(I,r,n){"use strict";var e=n(16210),a=n(58310),t=Object.getOwnPropertyDescriptor;I.exports=function(o){if(!a)return e[o];var s=t(e,o);return s&&s.value}},5700:function(I){"use strict";I.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(55747),o=n(10753),s=n(83309),y=n(54602),V=n(24986),k=e.Function,S=/MSIE .\./.test(s)||o==="BUN"&&function(){var p=e.Bun.version.split(".");return p.length<3||p[0]==="0"&&(p[1]<3||p[1]==="3"&&p[2]==="0")}();I.exports=function(p,i){var c=i?2:1;return S?function(m,u){var d=V(arguments.length,1)>c,f=t(m)?m:k(m),l=d?y(arguments,c):[],v=d?function(){a(f,this,l)}:f;return i?p(v,u):p(v)}:p}},58491:function(I,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),s=t("species");I.exports=function(y){var V=e(y);o&&V&&!V[s]&&a(V,s,{configurable:!0,get:function(){function k(){return this}return k}()})}},84925:function(I,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");I.exports=function(s,y,V){s&&!V&&(s=s.prototype),s&&!a(s,o)&&e(s,o,{configurable:!0,value:y})}},19417:function(I,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");I.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(I,r,n){"use strict";var e=n(4493),a=n(16210),t=n(18231),o="__core-js_shared__",s=I.exports=a[o]||t(o,{});(s.versions||(s.versions=[])).push({version:"3.38.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(I,r,n){"use strict";var e=n(40095);I.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(I,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),s=o("species");I.exports=function(y,V){var k=e(y).constructor,S;return k===void 0||t(S=e(k)[s])?V:a(S)}},88539:function(I,r,n){"use strict";var e=n(40033);I.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(I,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),s=e("".charAt),y=e("".charCodeAt),V=e("".slice),k=function(p){return function(i,c){var m=t(o(i)),u=a(c),d=m.length,f,l;return u<0||u>=d?p?"":void 0:(f=y(m,u),f<55296||f>56319||u+1===d||(l=y(m,u+1))<56320||l>57343?p?s(m,u):f:p?V(m,u,u+2):(f-55296<<10)+(l-56320)+65536)}};I.exports={codeAt:k(!1),charAt:k(!0)}},34125:function(I,r,n){"use strict";var e=n(83309);I.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(I,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),s=n(16952),y=e(o),V=e("".slice),k=Math.ceil,S=function(i){return function(c,m,u){var d=t(s(c)),f=a(m),l=d.length,v=u===void 0?" ":t(u),b,g;return f<=l||v===""?d:(b=f-l,g=y(v,k(b/v.length)),g.length>b&&(g=V(g,0,b)),i?d+g:g+d)}};I.exports={start:S(!1),end:S(!0)}},62443:function(I,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;I.exports=function(){function s(y){var V=a(t(this)),k="",S=e(y);if(S<0||S===1/0)throw new o("Wrong number of repetitions");for(;S>0;(S>>>=1)&&(V+=V))S&1&&(k+=V);return k}return s}()},43476:function(I,r,n){"use strict";var e=n(92648).end,a=n(90012);I.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(I,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";I.exports=function(s){return a(function(){return!!t[s]()||o[s]()!==o||e&&t[s].name!==s})}},43885:function(I,r,n){"use strict";var e=n(92648).start,a=n(90012);I.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(I,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),s=e("".replace),y=RegExp("^["+o+"]+"),V=RegExp("(^|[^"+o+"])["+o+"]+$"),k=function(p){return function(i){var c=t(a(i));return p&1&&(c=s(c,y,"")),p&2&&(c=s(c,V,"$1")),c}};I.exports={start:k(1),end:k(2),trim:k(3)}},52357:function(I,r,n){"use strict";var e=n(83141),a=n(40033),t=n(16210),o=t.String;I.exports=!!Object.getOwnPropertySymbols&&!a(function(){var s=Symbol("symbol detection");return!o(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(I,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);I.exports=function(){var s=a("Symbol"),y=s&&s.prototype,V=y&&y.valueOf,k=t("toPrimitive");y&&!y[k]&&o(y,k,function(S){return e(V,this)},{arity:1})}},66570:function(I,r,n){"use strict";var e=n(52357);I.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(75754),o=n(55747),s=n(45299),y=n(40033),V=n(5315),k=n(54602),S=n(12689),p=n(24986),i=n(27770),c=n(81663),m=e.setImmediate,u=e.clearImmediate,d=e.process,f=e.Dispatch,l=e.Function,v=e.MessageChannel,b=e.String,g=0,h={},C="onreadystatechange",N,x,B,L;y(function(){N=e.location});var w=function(P){if(s(h,P)){var R=h[P];delete h[P],R()}},A=function(P){return function(){w(P)}},T=function(P){w(P.data)},E=function(P){e.postMessage(b(P),N.protocol+"//"+N.host)};(!m||!u)&&(m=function(){function O(P){p(arguments.length,1);var R=o(P)?P:l(P),F=k(arguments,1);return h[++g]=function(){a(R,void 0,F)},x(g),g}return O}(),u=function(){function O(P){delete h[P]}return O}(),c?x=function(P){d.nextTick(A(P))}:f&&f.now?x=function(P){f.now(A(P))}:v&&!i?(B=new v,L=B.port2,B.port1.onmessage=T,x=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&N&&N.protocol!=="file:"&&!y(E)?(x=E,e.addEventListener("message",T,!1)):C in S("script")?x=function(P){V.appendChild(S("script"))[C]=function(){V.removeChild(this),w(P)}}:x=function(P){setTimeout(A(P),0)}),I.exports={set:m,clear:u}},46438:function(I,r,n){"use strict";var e=n(67250);I.exports=e(1 .valueOf)},13912:function(I,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;I.exports=function(o,s){var y=e(o);return y<0?a(y+s,0):t(y,s)}},61484:function(I,r,n){"use strict";var e=n(24843),a=TypeError;I.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(I,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;I.exports=function(o){if(o===void 0)return 0;var s=e(o),y=a(s);if(s!==y)throw new t("Wrong length or index");return y}},57591:function(I,r,n){"use strict";var e=n(37457),a=n(16952);I.exports=function(t){return e(a(t))}},61365:function(I,r,n){"use strict";var e=n(21119);I.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(I,r,n){"use strict";var e=n(61365),a=Math.min;I.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(I,r,n){"use strict";var e=n(16952),a=Object;I.exports=function(t){return a(e(t))}},56043:function(I,r,n){"use strict";var e=n(16140),a=RangeError;I.exports=function(t,o){var s=e(t);if(s%o)throw new a("Wrong offset");return s}},16140:function(I,r,n){"use strict";var e=n(61365),a=RangeError;I.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(I,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),s=n(13396),y=n(24697),V=TypeError,k=y("toPrimitive");I.exports=function(S,p){if(!a(S)||t(S))return S;var i=o(S,k),c;if(i){if(p===void 0&&(p="default"),c=e(i,S,p),!a(c)||t(c))return c;throw new V("Can't convert object to primitive value")}return p===void 0&&(p="number"),s(S,p)}},767:function(I,r,n){"use strict";var e=n(24843),a=n(71399);I.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(I,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",I.exports=String(t)==="[object z]"},12605:function(I,r,n){"use strict";var e=n(2281),a=String;I.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(I){"use strict";var r=Math.round;I.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(I){"use strict";var r=String;I.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(91495),o=n(58310),s=n(86563),y=n(4246),V=n(37336),k=n(60077),S=n(87458),p=n(37909),i=n(5841),c=n(10188),m=n(43806),u=n(56043),d=n(15409),f=n(767),l=n(45299),v=n(2281),b=n(77568),g=n(71399),h=n(80674),C=n(21287),N=n(76649),x=n(37310).f,B=n(3805),L=n(22603).forEach,w=n(58491),A=n(73936),T=n(74595),E=n(27193),O=n(78008),P=n(5419),R=n(5781),F=P.get,j=P.set,W=P.enforce,H=T.f,z=E.f,Y=a.RangeError,G=V.ArrayBuffer,ne=G.prototype,Q=V.DataView,he=y.NATIVE_ARRAY_BUFFER_VIEWS,Ve=y.TYPED_ARRAY_TAG,Ne=y.TypedArray,Be=y.TypedArrayPrototype,Le=y.isTypedArray,Ae="BYTES_PER_ELEMENT",fe="Wrong length",Z=function(me,Te){A(me,Te,{configurable:!0,get:function(){function M(){return F(this)[Te]}return M}()})},J=function(me){var Te;return C(ne,me)||(Te=v(me))==="ArrayBuffer"||Te==="SharedArrayBuffer"},te=function(me,Te){return Le(me)&&!g(Te)&&Te in me&&i(+Te)&&Te>=0},ee=function(){function ye(me,Te){return Te=f(Te),te(me,Te)?S(2,me[Te]):z(me,Te)}return ye}(),le=function(){function ye(me,Te,M){return Te=f(Te),te(me,Te)&&b(M)&&l(M,"value")&&!l(M,"get")&&!l(M,"set")&&!M.configurable&&(!l(M,"writable")||M.writable)&&(!l(M,"enumerable")||M.enumerable)?(me[Te]=M.value,me):H(me,Te,M)}return ye}();o?(he||(E.f=ee,T.f=le,Z(Be,"buffer"),Z(Be,"byteOffset"),Z(Be,"byteLength"),Z(Be,"length")),e({target:"Object",stat:!0,forced:!he},{getOwnPropertyDescriptor:ee,defineProperty:le}),I.exports=function(ye,me,Te){var M=ye.match(/\d+/)[0]/8,X=ye+(Te?"Clamped":"")+"Array",ae="get"+ye,ue="set"+ye,ie=a[X],ge=ie,Ce=ge&&ge.prototype,Me={},De=function(_,oe){var ve=F(_);return ve.view[ae](oe*M+ve.byteOffset,!0)},ke=function(_,oe,ve){var Se=F(_);Se.view[ue](oe*M+Se.byteOffset,Te?d(ve):ve,!0)},pe=function(_,oe){H(_,oe,{get:function(){function ve(){return De(this,oe)}return ve}(),set:function(){function ve(Se){return ke(this,oe,Se)}return ve}(),enumerable:!0})};he?s&&(ge=me(function(xe,_,oe,ve){return k(xe,Ce),R(function(){return b(_)?J(_)?ve!==void 0?new ie(_,u(oe,M),ve):oe!==void 0?new ie(_,u(oe,M)):new ie(_):Le(_)?O(ge,_):t(B,ge,_):new ie(m(_))}(),xe,ge)}),N&&N(ge,Ne),L(x(ie),function(xe){xe in ge||p(ge,xe,ie[xe])}),ge.prototype=Ce):(ge=me(function(xe,_,oe,ve){k(xe,Ce);var Se=0,Ie=0,Ee,Pe,Oe;if(!b(_))Oe=m(_),Pe=Oe*M,Ee=new G(Pe);else if(J(_)){Ee=_,Ie=u(oe,M);var We=_.byteLength;if(ve===void 0){if(We%M)throw new Y(fe);if(Pe=We-Ie,Pe<0)throw new Y(fe)}else if(Pe=c(ve)*M,Pe+Ie>We)throw new Y(fe);Oe=Pe/M}else return Le(_)?O(ge,_):t(B,ge,_);for(j(xe,{buffer:Ee,byteOffset:Ie,byteLength:Pe,length:Oe,view:new Q(Ee)});Se1?arguments[1]:void 0,v=l!==void 0,b=V(d),g,h,C,N,x,B,L,w;if(b&&!k(b))for(L=y(d,b),w=L.next,d=[];!(B=a(w,L)).done;)d.push(B.value);for(v&&f>2&&(l=e(l,arguments[2])),h=s(d),C=new(p(u))(h),N=S(C),g=0;h>g;g++)x=v?l(d[g],g):d[g],C[g]=N?i(x):+x;return C}return c}()},31082:function(I,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;I.exports=function(s){return t(a(s,o(s)))}},16738:function(I,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);I.exports=function(s){return"Symbol("+(s===void 0?"":s)+")_"+o(++a+t,36)}},1062:function(I,r,n){"use strict";var e=n(52357);I.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(I,r,n){"use strict";var e=n(58310),a=n(40033);I.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(I){"use strict";var r=TypeError;I.exports=function(n,e){if(n=51||!a(function(){var l=[];return l[m]=!1,l.concat()[0]!==l}),d=function(v){if(!o(v))return!1;var b=v[m];return b!==void 0?!!b:t(v)},f=!u||!p("concat");e({target:"Array",proto:!0,arity:1,forced:f},{concat:function(){function l(v){var b=s(this),g=S(b,0),h=0,C,N,x,B,L;for(C=-1,x=arguments.length;C1?arguments[1]:void 0)}return s}()})},68933:function(I,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(I,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function s(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return s}()})},64094:function(I,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",s=!0;o in[]&&Array(1)[o](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{findIndex:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),t(o)},13455:function(I,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),e({target:"Array",proto:!0,forced:s},{find:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),t(o)},32384:function(I,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),s=n(24760),y=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function V(k){var S=o(this),p=s(S),i;return t(k),i=y(S,0),i.length=a(i,S,S,p,0,1,k,arguments.length>1?arguments[1]:void 0),i}return V}()})},61915:function(I,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),s=n(61365),y=n(57823);e({target:"Array",proto:!0},{flat:function(){function V(){var k=arguments.length?arguments[0]:void 0,S=t(this),p=o(S),i=y(S,0);return i.length=a(i,S,S,p,0,k===void 0?1:s(k)),i}return V}()})},25579:function(I,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(I,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(s){Array.from(s)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(I,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),s=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:s},{includes:function(){function y(V){return a(this,V,arguments.length>1?arguments[1]:void 0)}return y}()}),o("includes")},43894:function(I,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),s=a([].indexOf),y=!!s&&1/s([1],1,-0)<0,V=y||!o("indexOf");e({target:"Array",proto:!0,forced:V},{indexOf:function(){function k(S){var p=arguments.length>1?arguments[1]:void 0;return y?s(this,S,p)||0:t(this,S,p)}return k}()})},99636:function(I,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(I,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),s=n(74595).f,y=n(65574),V=n(5959),k=n(4493),S=n(58310),p="Array Iterator",i=o.set,c=o.getterFor(p);I.exports=y(Array,"Array",function(u,d){i(this,{type:p,target:e(u),index:0,kind:d})},function(){var u=c(this),d=u.target,f=u.index++;if(!d||f>=d.length)return u.target=null,V(void 0,!0);switch(u.kind){case"keys":return V(f,!1);case"values":return V(d[f],!1)}return V([f,d[f]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!k&&S&&m.name!=="values")try{s(m,"name",{value:"values"})}catch(u){}},94432:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),s=n(55528),y=a([].join),V=t!==Object,k=V||!s("join",",");e({target:"Array",proto:!0,forced:k},{join:function(){function S(p){return y(o(this),p===void 0?",":p)}return S}()})},24683:function(I,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(I,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function s(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return s}()})},32089:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),s=Array,y=a(function(){function V(){}return!(s.of.call(V)instanceof V)});e({target:"Array",stat:!0,forced:y},{of:function(){function V(){for(var k=0,S=arguments.length,p=new(t(this)?this:s)(S);S>k;)o(p,k,arguments[k++]);return p.length=S,p}return V}()})},29645:function(I,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(83141),s=n(81663),y=!s&&o>79&&o<83,V=y||!t("reduceRight");e({target:"Array",proto:!0,forced:V},{reduceRight:function(){function k(S){return a(this,S,arguments.length,arguments.length>1?arguments[1]:void 0)}return k}()})},60206:function(I,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(83141),s=n(81663),y=!s&&o>79&&o<83,V=y||!t("reduce");e({target:"Array",proto:!0,forced:V},{reduce:function(){function k(S){var p=arguments.length;return a(this,S,p,p>1?arguments[1]:void 0)}return k}()})},4788:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),s=[1,2];e({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){function y(){return t(this)&&(this.length=this.length),o(this)}return y}()})},58672:function(I,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),s=n(13912),y=n(24760),V=n(57591),k=n(60102),S=n(24697),p=n(44091),i=n(54602),c=p("slice"),m=S("species"),u=Array,d=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function f(l,v){var b=V(this),g=y(b),h=s(l,g),C=s(v===void 0?g:v,g),N,x,B;if(a(b)&&(N=b.constructor,t(N)&&(N===u||a(N.prototype))?N=void 0:o(N)&&(N=N[m],N===null&&(N=void 0)),N===u||N===void 0))return i(b,h,C);for(x=new(N===void 0?u:N)(d(C-h,0)),B=0;h1?arguments[1]:void 0)}return s}()})},48968:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),s=n(24760),y=n(95108),V=n(12605),k=n(40033),S=n(90274),p=n(55528),i=n(50503),c=n(79725),m=n(83141),u=n(44981),d=[],f=a(d.sort),l=a(d.push),v=k(function(){d.sort(void 0)}),b=k(function(){d.sort(null)}),g=p("sort"),h=!k(function(){if(m)return m<70;if(!(i&&i>3)){if(c)return!0;if(u)return u<603;var x="",B,L,w,A;for(B=65;B<76;B++){switch(L=String.fromCharCode(B),B){case 66:case 69:case 70:case 72:w=3;break;case 68:case 71:w=4;break;default:w=2}for(A=0;A<47;A++)d.push({k:L+A,v:w})}for(d.sort(function(T,E){return E.v-T.v}),A=0;AV(w)?1:-1}};e({target:"Array",proto:!0,forced:C},{sort:function(){function x(B){B!==void 0&&t(B);var L=o(this);if(h)return B===void 0?f(L):f(L,B);var w=[],A=s(L),T,E;for(E=0;Eb-N+C;B--)p(v,B-1)}else if(C>N)for(B=b-N;B>g;B--)L=B+N-1,w=B+C-1,L in v?v[w]=v[L]:p(v,w);for(B=0;B9490626562425156e-8?o(p)+y:a(p-1+s(p-1)*s(p+1))}return k}()})},59660:function(I,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function s(V){var k=+V;return!isFinite(k)||k===0?k:k<0?-s(-k):t(k+o(k*k+1))}var y=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:y},{asinh:s})},15383:function(I,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function s(y){var V=+y;return V===0?V:t((1+V)/(1-V))/2}return s}()})},92866:function(I,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function s(y){var V=+y;return a(V)*o(t(V),.3333333333333333)}return s}()})},86107:function(I,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function s(y){var V=y>>>0;return V?31-a(t(V+.5)*o):32}return s}()})},29248:function(I,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,s=Math.E,y=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:y},{cosh:function(){function V(k){var S=a(o(k)-1)+1;return(S+1/(S*s*s))*(s/2)}return V}()})},52540:function(I,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(I,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(I,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,s=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:s},{hypot:function(){function y(V,k){for(var S=0,p=0,i=arguments.length,c=0,m,u;p0?(u=m/c,S+=u*u):S+=m;return c===1/0?1/0:c*o(S)}return y}()})},6522:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function s(y,V){var k=65535,S=+y,p=+V,i=k&S,c=k&p;return 0|i*c+((k&S>>>16)*c+i*(k&p>>>16)<<16>>>0)}return s}()})},95542:function(I,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(I,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(I,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(s){return a(s)/t}return o}()})},57400:function(I,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,s=Math.exp,y=Math.E,V=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:V},{sinh:function(){function k(S){var p=+S;return o(p)<1?(t(p)-t(-p))/2:(s(p-1)-s(-p-1))*(y/2)}return k}()})},54800:function(I,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(s){var y=+s,V=a(y),k=a(-y);return V===1/0?1:k===1/0?-1:(V-k)/(t(y)+t(-y))}return o}()})},15709:function(I,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(I,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(16210),s=n(61765),y=n(67250),V=n(41314),k=n(45299),S=n(5781),p=n(21287),i=n(71399),c=n(24843),m=n(40033),u=n(37310).f,d=n(27193).f,f=n(74595).f,l=n(46438),v=n(92648).trim,b="Number",g=o[b],h=s[b],C=g.prototype,N=o.TypeError,x=y("".slice),B=y("".charCodeAt),L=function(R){var F=c(R,"number");return typeof F=="bigint"?F:w(F)},w=function(R){var F=c(R,"number"),j,W,H,z,Y,G,ne,Q;if(i(F))throw new N("Cannot convert a Symbol value to a number");if(typeof F=="string"&&F.length>2){if(F=v(F),j=B(F,0),j===43||j===45){if(W=B(F,2),W===88||W===120)return NaN}else if(j===48){switch(B(F,1)){case 66:case 98:H=2,z=49;break;case 79:case 111:H=8,z=55;break;default:return+F}for(Y=x(F,2),G=Y.length,ne=0;nez)return NaN;return parseInt(Y,H)}}return+F},A=V(b,!g(" 0o1")||!g("0b1")||g("+0x1")),T=function(R){return p(C,R)&&m(function(){l(R)})},E=function(){function P(R){var F=arguments.length<1?0:g(L(R));return T(this)?S(Object(F),this,E):F}return P}();E.prototype=C,A&&!a&&(C.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var O=function(R,F){for(var j=t?u(F):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),W=0,H;j.length>W;W++)k(F,H=j[W])&&!k(R,H)&&f(R,H,d(F,H))};a&&h&&O(s[b],h),(A||a)&&O(s[b],g)},324:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(I,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(I,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(I,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(s){return a(s)&&t(s)<=9007199254740991}return o}()})},55323:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(I,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(I,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(I,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),s=n(62443),y=n(40033),V=RangeError,k=String,S=Math.floor,p=a(s),i=a("".slice),c=a(1 .toFixed),m=function(g,h,C){return h===0?C:h%2===1?m(g,h-1,C*g):m(g*g,h/2,C)},u=function(g){for(var h=0,C=g;C>=4096;)h+=12,C/=4096;for(;C>=2;)h+=1,C/=2;return h},d=function(g,h,C){for(var N=-1,x=C;++N<6;)x+=h*g[N],g[N]=x%1e7,x=S(x/1e7)},f=function(g,h){for(var C=6,N=0;--C>=0;)N+=g[C],g[C]=S(N/h),N=N%h*1e7},l=function(g){for(var h=6,C="";--h>=0;)if(C!==""||h===0||g[h]!==0){var N=k(g[h]);C=C===""?N:C+p("0",7-N.length)+N}return C},v=y(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!y(function(){c({})});e({target:"Number",proto:!0,forced:v},{toFixed:function(){function b(g){var h=o(this),C=t(g),N=[0,0,0,0,0,0],x="",B="0",L,w,A,T;if(C<0||C>20)throw new V("Incorrect fraction digits");if(h!==h)return"NaN";if(h<=-1e21||h>=1e21)return k(h);if(h<0&&(x="-",h=-h),h>1e-21)if(L=u(h*m(2,69,1))-69,w=L<0?h*m(2,-L,1):h/m(2,L,1),w*=4503599627370496,L=52-L,L>0){for(d(N,0,w),A=C;A>=7;)d(N,1e7,0),A-=7;for(d(N,m(10,A,1),0),A=L-1;A>=23;)f(N,8388608),A-=23;f(N,1<0?(T=B.length,B=x+(T<=C?"0."+p("0",C-T)+B:i(B,0,T-C)+"."+i(B,T-C))):B=x+B,B}return b}()})},23532:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),s=a(1 .toPrecision),y=t(function(){return s(1,void 0)!=="1"})||!t(function(){s({})});e({target:"Number",proto:!0,forced:y},{toPrecision:function(){function V(k){return k===void 0?s(o(this)):s(o(this),k)}return V}()})},87119:function(I,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),s=n(46771),y=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function V(k,S){y.f(s(this),k,{get:o(S),enumerable:!0,configurable:!0})}return V}()})},31943:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),s=n(46771),y=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function V(k,S){y.f(s(this),k,{set:o(S),enumerable:!0,configurable:!0})}return V}()})},85028:function(I,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(I,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),s=n(81969).onFreeze,y=Object.freeze,V=t(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!a},{freeze:function(){function k(S){return y&&o(S)?y(s(S)):S}return k}()})},43331:function(I,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(s){var y={};return a(s,function(V,k){t(y,V,k)},{AS_ENTRIES:!0}),y}return o}()})},62289:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,s=n(58310),y=!s||a(function(){o(1)});e({target:"Object",stat:!0,forced:y,sham:!s},{getOwnPropertyDescriptor:function(){function V(k,S){return o(t(k),S)}return V}()})},56196:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),s=n(27193),y=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function V(k){for(var S=o(k),p=s.f,i=t(S),c={},m=0,u,d;i.length>m;)d=p(S,u=i[m++]),d!==void 0&&y(c,u,d);return c}return V}()})},2950:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(I,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),s=n(46771),y=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:y},{getOwnPropertySymbols:function(){function V(k){var S=o.f;return S?S(s(k)):[]}return V}()})},44205:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),s=n(9225),y=a(function(){o(1)});e({target:"Object",stat:!0,forced:y,sham:!s},{getPrototypeOf:function(){function V(k){return o(t(k))}return V}()})},83186:function(I,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),s=n(3782),y=Object.isFrozen,V=s||a(function(){y(1)});e({target:"Object",stat:!0,forced:V},{isFrozen:function(){function k(S){return!t(S)||s&&o(S)==="ArrayBuffer"?!0:y?y(S):!1}return k}()})},13411:function(I,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),s=n(3782),y=Object.isSealed,V=s||a(function(){y(1)});e({target:"Object",stat:!0,forced:V},{isSealed:function(){function k(S){return!t(S)||s&&o(S)==="ArrayBuffer"?!0:y?y(S):!1}return k}()})},76882:function(I,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(I,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),s=o(function(){t(1)});e({target:"Object",stat:!0,forced:s},{keys:function(){function y(V){return t(a(V))}return y}()})},53118:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),s=n(767),y=n(36917),V=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function k(S){var p=o(this),i=s(S),c;do if(c=V(p,i))return c.get;while(p=y(p))}return k}()})},42514:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),s=n(767),y=n(36917),V=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function k(S){var p=o(this),i=s(S),c;do if(c=V(p,i))return c.set;while(p=y(p))}return k}()})},84353:function(I,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),s=n(40033),y=Object.preventExtensions,V=s(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!o},{preventExtensions:function(){function k(S){return y&&a(S)?y(t(S)):S}return k}()})},62987:function(I,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),s=n(40033),y=Object.seal,V=s(function(){y(1)});e({target:"Object",stat:!0,forced:V,sham:!o},{seal:function(){function k(S){return y&&a(S)?y(t(S)):S}return k}()})},48993:function(I,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(I,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(I,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(I,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(I,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),s=n(10729),y=n(49450),V=n(48199);e({target:"Promise",stat:!0,forced:V},{all:function(){function k(S){var p=this,i=o.f(p),c=i.resolve,m=i.reject,u=s(function(){var d=t(p.resolve),f=[],l=0,v=1;y(S,function(b){var g=l++,h=!1;v++,a(d,p,b).then(function(C){h||(h=!0,f[g]=C,--v||c(f))},m)}),--v||c(f)});return u.error&&m(u.value),i.promise}return k}()})},70641:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),s=n(4009),y=n(55747),V=n(55938),k=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function p(i){return this.then(void 0,i)}return p}()}),!a&&y(o)){var S=s("Promise").prototype.catch;k.catch!==S&&V(k,"catch",S,{unsafe:!0})}},75946:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81663),o=n(16210),s=n(91495),y=n(55938),V=n(76649),k=n(84925),S=n(58491),p=n(10320),i=n(55747),c=n(77568),m=n(60077),u=n(28987),d=n(60375).set,f=n(37713),l=n(72259),v=n(10729),b=n(9547),g=n(5419),h=n(67512),C=n(74854),N=n(81837),x="Promise",B=C.CONSTRUCTOR,L=C.REJECTION_EVENT,w=C.SUBCLASSING,A=g.getterFor(x),T=g.set,E=h&&h.prototype,O=h,P=E,R=o.TypeError,F=o.document,j=o.process,W=N.f,H=W,z=!!(F&&F.createEvent&&o.dispatchEvent),Y="unhandledrejection",G="rejectionhandled",ne=0,Q=1,he=2,Ve=1,Ne=2,Be,Le,Ae,fe,Z=function(ue){var ie;return c(ue)&&i(ie=ue.then)?ie:!1},J=function(ue,ie){var ge=ie.value,Ce=ie.state===Q,Me=Ce?ue.ok:ue.fail,De=ue.resolve,ke=ue.reject,pe=ue.domain,se,xe,_;try{Me?(Ce||(ie.rejection===Ne&&me(ie),ie.rejection=Ve),Me===!0?se=ge:(pe&&pe.enter(),se=Me(ge),pe&&(pe.exit(),_=!0)),se===ue.promise?ke(new R("Promise-chain cycle")):(xe=Z(se))?s(xe,se,De,ke):De(se)):ke(ge)}catch(oe){pe&&!_&&pe.exit(),ke(oe)}},te=function(ue,ie){ue.notified||(ue.notified=!0,f(function(){for(var ge=ue.reactions,Ce;Ce=ge.get();)J(Ce,ue);ue.notified=!1,ie&&!ue.rejection&&le(ue)}))},ee=function(ue,ie,ge){var Ce,Me;z?(Ce=F.createEvent("Event"),Ce.promise=ie,Ce.reason=ge,Ce.initEvent(ue,!1,!0),o.dispatchEvent(Ce)):Ce={promise:ie,reason:ge},!L&&(Me=o["on"+ue])?Me(Ce):ue===Y&&l("Unhandled promise rejection",ge)},le=function(ue){s(d,o,function(){var ie=ue.facade,ge=ue.value,Ce=ye(ue),Me;if(Ce&&(Me=v(function(){t?j.emit("unhandledRejection",ge,ie):ee(Y,ie,ge)}),ue.rejection=t||ye(ue)?Ne:Ve,Me.error))throw Me.value})},ye=function(ue){return ue.rejection!==Ve&&!ue.parent},me=function(ue){s(d,o,function(){var ie=ue.facade;t?j.emit("rejectionHandled",ie):ee(G,ie,ue.value)})},Te=function(ue,ie,ge){return function(Ce){ue(ie,Ce,ge)}},M=function(ue,ie,ge){ue.done||(ue.done=!0,ge&&(ue=ge),ue.value=ie,ue.state=he,te(ue,!0))},X=function(ue,ie,ge){if(!ue.done){ue.done=!0,ge&&(ue=ge);try{if(ue.facade===ie)throw new R("Promise can't be resolved itself");var Ce=Z(ie);Ce?f(function(){var Me={done:!1};try{s(Ce,ie,Te(X,Me,ue),Te(M,Me,ue))}catch(De){M(Me,De,ue)}}):(ue.value=ie,ue.state=Q,te(ue,!1))}catch(Me){M({done:!1},Me,ue)}}};if(B&&(O=function(){function ae(ue){m(this,P),p(ue),s(Be,this);var ie=A(this);try{ue(Te(X,ie),Te(M,ie))}catch(ge){M(ie,ge)}}return ae}(),P=O.prototype,Be=function(){function ae(ue){T(this,{type:x,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:ne,value:null})}return ae}(),Be.prototype=y(P,"then",function(){function ae(ue,ie){var ge=A(this),Ce=W(u(this,O));return ge.parent=!0,Ce.ok=i(ue)?ue:!0,Ce.fail=i(ie)&&ie,Ce.domain=t?j.domain:void 0,ge.state===ne?ge.reactions.add(Ce):f(function(){J(Ce,ge)}),Ce.promise}return ae}()),Le=function(){var ue=new Be,ie=A(ue);this.promise=ue,this.resolve=Te(X,ie),this.reject=Te(M,ie)},N.f=W=function(ue){return ue===O||ue===Ae?new Le(ue):H(ue)},!a&&i(h)&&E!==Object.prototype)){fe=E.then,w||y(E,"then",function(){function ae(ue,ie){var ge=this;return new O(function(Ce,Me){s(fe,ge,Ce,Me)}).then(ue,ie)}return ae}(),{unsafe:!0});try{delete E.constructor}catch(ae){}V&&V(E,P)}e({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:O}),k(O,x,!1,!0),S(x)},69861:function(I,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),s=n(4009),y=n(55747),V=n(28987),k=n(66628),S=n(55938),p=t&&t.prototype,i=!!t&&o(function(){p.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:i},{finally:function(){function m(u){var d=V(this,s("Promise")),f=y(u);return this.then(f?function(l){return k(d,u()).then(function(){return l})}:u,f?function(l){return k(d,u()).then(function(){throw l})}:u)}return m}()}),!a&&y(t)){var c=s("Promise").prototype.finally;p.finally!==c&&S(p,"finally",c,{unsafe:!0})}},53092:function(I,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(81702)},16937:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),s=n(10729),y=n(49450),V=n(48199);e({target:"Promise",stat:!0,forced:V},{race:function(){function k(S){var p=this,i=o.f(p),c=i.reject,m=s(function(){var u=t(p.resolve);y(S,function(d){a(u,p,d).then(i.resolve,c)})});return m.error&&c(m.value),i.promise}return k}()})},41719:function(I,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(s){var y=a.f(this),V=y.reject;return V(s),y.promise}return o}()})},81702:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),s=n(74854).CONSTRUCTOR,y=n(66628),V=a("Promise"),k=t&&!s;e({target:"Promise",stat:!0,forced:t||s},{resolve:function(){function S(p){return y(k&&this===V?o:this,p)}return S}()})},29674:function(I,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),s=n(40033),y=!s(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:y},{apply:function(){function V(k,S,p){return a(t(k),S,o(p))}return V}()})},81543:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),s=n(32606),y=n(30365),V=n(77568),k=n(80674),S=n(40033),p=a("Reflect","construct"),i=Object.prototype,c=[].push,m=S(function(){function f(){}return!(p(function(){},[],f)instanceof f)}),u=!S(function(){p(function(){})}),d=m||u;e({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(){function f(l,v){s(l),y(v);var b=arguments.length<3?l:s(arguments[2]);if(u&&!m)return p(l,v,b);if(l===b){switch(v.length){case 0:return new l;case 1:return new l(v[0]);case 2:return new l(v[0],v[1]);case 3:return new l(v[0],v[1],v[2]);case 4:return new l(v[0],v[1],v[2],v[3])}var g=[null];return t(c,g,v),new(t(o,l,g))}var h=b.prototype,C=k(V(h)?h:i),N=t(l,C,v);return V(N)?N:C}return f}()})},9373:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),s=n(74595),y=n(40033),V=y(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:V,sham:!a},{defineProperty:function(){function k(S,p,i){t(S);var c=o(p);t(i);try{return s.f(S,c,i),!0}catch(m){return!1}}return k}()})},45093:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(s,y){var V=t(a(s),y);return V&&!V.configurable?!1:delete s[y]}return o}()})},5815:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function s(y,V){return o.f(t(y),V)}return s}()})},88527:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function s(y){return t(a(y))}return s}()})},63074:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),s=n(98373),y=n(27193),V=n(36917);function k(S,p){var i=arguments.length<3?S:arguments[2],c,m;if(o(S)===i)return S[p];if(c=y.f(S,p),c)return s(c)?c.value:c.get===void 0?void 0:a(c.get,i);if(t(m=V(S)))return k(m,p,i)}e({target:"Reflect",stat:!0},{get:k})},66390:function(I,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(s){return a(s),t(s)}return o}()})},50551:function(I,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function s(y){t(y);try{var V=a("Object","preventExtensions");return V&&V(y),!0}catch(k){return!1}}return s}()})},63915:function(I,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function s(y,V){a(y),t(V);try{return o(y,V),!0}catch(k){return!1}}return s}()})},92046:function(I,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),s=n(98373),y=n(40033),V=n(74595),k=n(27193),S=n(36917),p=n(87458);function i(m,u,d){var f=arguments.length<4?m:arguments[3],l=k.f(t(m),u),v,b,g;if(!l){if(o(b=S(m)))return i(b,u,d,f);l=p(0)}if(s(l)){if(l.writable===!1||!o(f))return!1;if(v=k.f(f,u)){if(v.get||v.set||v.writable===!1)return!1;v.value=d,V.f(f,u,v)}else V.f(f,u,p(0,d))}else{if(g=l.set,g===void 0)return!1;a(g,f,d)}return!0}var c=y(function(){var m=function(){},u=V.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,u)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:i})},51454:function(I,r,n){"use strict";var e=n(58310),a=n(16210),t=n(67250),o=n(41314),s=n(5781),y=n(37909),V=n(80674),k=n(37310).f,S=n(21287),p=n(72586),i=n(12605),c=n(73392),m=n(62115),u=n(34550),d=n(55938),f=n(40033),l=n(45299),v=n(5419).enforce,b=n(58491),g=n(24697),h=n(39173),C=n(35688),N=g("match"),x=a.RegExp,B=x.prototype,L=a.SyntaxError,w=t(B.exec),A=t("".charAt),T=t("".replace),E=t("".indexOf),O=t("".slice),P=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,F=/a/g,j=new x(R)!==R,W=m.MISSED_STICKY,H=m.UNSUPPORTED_Y,z=e&&(!j||W||h||C||f(function(){return F[N]=!1,x(R)!==R||x(F)===F||String(x(R,"i"))!=="/a/i"})),Y=function(Ne){for(var Be=Ne.length,Le=0,Ae="",fe=!1,Z;Le<=Be;Le++){if(Z=A(Ne,Le),Z==="\\"){Ae+=Z+A(Ne,++Le);continue}!fe&&Z==="."?Ae+="[\\s\\S]":(Z==="["?fe=!0:Z==="]"&&(fe=!1),Ae+=Z)}return Ae},G=function(Ne){for(var Be=Ne.length,Le=0,Ae="",fe=[],Z=V(null),J=!1,te=!1,ee=0,le="",ye;Le<=Be;Le++){if(ye=A(Ne,Le),ye==="\\")ye+=A(Ne,++Le);else if(ye==="]")J=!1;else if(!J)switch(!0){case ye==="[":J=!0;break;case ye==="(":if(Ae+=ye,O(Ne,Le+1,Le+3)==="?:")continue;w(P,O(Ne,Le+1))&&(Le+=2,te=!0),ee++;continue;case(ye===">"&&te):if(le===""||l(Z,le))throw new L("Invalid capture group name");Z[le]=!0,fe[fe.length]=[le,ee],te=!1,le="";continue}te?le+=ye:Ae+=ye}return[Ae,fe]};if(o("RegExp",z)){for(var ne=function(){function Ve(Ne,Be){var Le=S(B,this),Ae=p(Ne),fe=Be===void 0,Z=[],J=Ne,te,ee,le,ye,me,Te;if(!Le&&Ae&&fe&&Ne.constructor===ne)return Ne;if((Ae||S(B,Ne))&&(Ne=Ne.source,fe&&(Be=c(J))),Ne=Ne===void 0?"":i(Ne),Be=Be===void 0?"":i(Be),J=Ne,h&&"dotAll"in R&&(ee=!!Be&&E(Be,"s")>-1,ee&&(Be=T(Be,/s/g,""))),te=Be,W&&"sticky"in R&&(le=!!Be&&E(Be,"y")>-1,le&&H&&(Be=T(Be,/y/g,""))),C&&(ye=G(Ne),Ne=ye[0],Z=ye[1]),me=s(x(Ne,Be),Le?this:B,ne),(ee||le||Z.length)&&(Te=v(me),ee&&(Te.dotAll=!0,Te.raw=ne(Y(Ne),te)),le&&(Te.sticky=!0),Z.length&&(Te.groups=Z)),Ne!==J)try{y(me,"source",J===""?"(?:)":J)}catch(M){}return me}return Ve}(),Q=k(x),he=0;Q.length>he;)u(ne,x,Q[he++]);B.constructor=ne,ne.prototype=B,d(a,"RegExp",ne,{constructor:!0})}b("RegExp")},79669:function(I,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(I,r,n){"use strict";var e=n(16210),a=n(58310),t=n(73936),o=n(70901),s=n(40033),y=e.RegExp,V=y.prototype,k=a&&s(function(){var S=!0;try{y(".","d")}catch(l){S=!1}var p={},i="",c=S?"dgimsy":"gimsy",m=function(v,b){Object.defineProperty(p,v,{get:function(){function g(){return i+=b,!0}return g}()})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};S&&(u.hasIndices="d");for(var d in u)m(d,u[d]);var f=Object.getOwnPropertyDescriptor(V,"flags").get.call(p);return f!==c||i!==c});k&&t(V,"flags",{configurable:!0,get:o})},57983:function(I,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),s=n(40033),y=n(73392),V="toString",k=RegExp.prototype,S=k[V],p=s(function(){return S.call({source:"a",flags:"b"})!=="/a/b"}),i=e&&S.name!==V;(p||i)&&a(k,V,function(){function c(){var m=t(this),u=o(m.source),d=o(y(m));return"/"+u+"/"+d}return c}(),{unsafe:!0})},1963:function(I,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(I,r,n){"use strict";n(1963)},95309:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(s){return a(this,"a","name",s)}return o}()})},82256:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(I,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(I,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),s=n(12605),y=n(86213),V=n(16952),k=n(45490),S=n(4493),p=a("".slice),i=Math.min,c=k("endsWith"),m=!S&&!c&&!!function(){var u=t(String.prototype,"endsWith");return u&&!u.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function u(d){var f=s(V(this));y(d);var l=arguments.length>1?arguments[1]:void 0,v=f.length,b=l===void 0?v:i(o(l),v),g=s(d);return p(f,b-g.length,b)===g}return u}()})},39308:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(s){return a(this,"font","color",s)}return o}()})},75008:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(s){return a(this,"font","size",s)}return o}()})},9867:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,s=String.fromCharCode,y=String.fromCodePoint,V=a([].join),k=!!y&&y.length!==1;e({target:"String",stat:!0,arity:1,forced:k},{fromCodePoint:function(){function S(p){for(var i=[],c=arguments.length,m=0,u;c>m;){if(u=+arguments[m++],t(u,1114111)!==u)throw new o(u+" is not a valid code point");i[m]=u<65536?s(u):s(((u-=65536)>>10)+55296,u%1024+56320)}return V(i,"")}return S}()})},43673:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),s=n(12605),y=n(45490),V=a("".indexOf);e({target:"String",proto:!0,forced:!y("includes")},{includes:function(){function k(S){return!!~V(s(o(this)),s(t(S)),arguments.length>1?arguments[1]:void 0)}return k}()})},56027:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(I,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),s=n(5959),y="String Iterator",V=t.set,k=t.getterFor(y);o(String,"String",function(S){V(this,{type:y,string:a(S),index:0})},function(){function S(){var p=k(this),i=p.string,c=p.index,m;return c>=i.length?s(void 0,!0):(m=e(i,c),p.index+=m.length,s(m,!1))}return S}())},50340:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(s){return a(this,"a","href",s)}return o}()})},22515:function(I,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),s=n(10188),y=n(12605),V=n(16952),k=n(78060),S=n(35483),p=n(28340);a("match",function(i,c,m){return[function(){function u(d){var f=V(this),l=o(d)?void 0:k(d,i);return l?e(l,d,f):new RegExp(d)[i](y(f))}return u}(),function(u){var d=t(this),f=y(u),l=m(c,d,f);if(l.done)return l.value;if(!d.global)return p(d,f);var v=d.unicode;d.lastIndex=0;for(var b=[],g=0,h;(h=p(d,f))!==null;){var C=y(h[0]);b[g]=C,C===""&&(d.lastIndex=S(f,s(d.lastIndex),v)),g++}return g===0?null:b}]})},5143:function(I,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(s){return a(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(I,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(s){return a(this,s,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(I,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),s=n(12605),y=n(24760),V=a([].push),k=a([].join);e({target:"String",stat:!0},{raw:function(){function S(p){var i=t(o(p).raw),c=y(i);if(!c)return"";for(var m=arguments.length,u=[],d=0;;){if(V(u,s(i[d++])),d===c)return k(u,"");d")!=="7"});o("replace",function(T,E,O){var P=w?"$":"$0";return[function(){function R(F,j){var W=c(this),H=k(F)?void 0:u(F,v);return H?a(H,F,W,j):a(E,i(W),F,j)}return R}(),function(R,F){var j=y(this),W=i(R);if(typeof F=="string"&&N(F,P)===-1&&N(F,"$<")===-1){var H=O(E,j,W,F);if(H.done)return H.value}var z=V(F);z||(F=i(F));var Y=j.global,G;Y&&(G=j.unicode,j.lastIndex=0);for(var ne=[],Q;Q=f(j,W),!(Q===null||(C(ne,Q),!Y));){var he=i(Q[0]);he===""&&(j.lastIndex=m(W,p(j.lastIndex),G))}for(var Ve="",Ne=0,Be=0;Be=Ne&&(Ve+=x(W,Ne,Ae)+Z,Ne=Ae+Le.length)}return Ve+x(W,Ne)}]},!A||!L||w)},63272:function(I,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),s=n(16952),y=n(5700),V=n(12605),k=n(78060),S=n(28340);a("search",function(p,i,c){return[function(){function m(u){var d=s(this),f=o(u)?void 0:k(u,p);return f?e(f,u,d):new RegExp(u)[p](V(d))}return m}(),function(m){var u=t(this),d=V(m),f=c(i,u,d);if(f.done)return f.value;var l=u.lastIndex;y(l,0)||(u.lastIndex=0);var v=S(u,d);return y(u.lastIndex,l)||(u.lastIndex=l),v===null?-1:v.index}]})},34325:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(I,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),s=n(42871),y=n(16952),V=n(28987),k=n(35483),S=n(10188),p=n(12605),i=n(78060),c=n(28340),m=n(62115),u=n(40033),d=m.UNSUPPORTED_Y,f=4294967295,l=Math.min,v=a([].push),b=a("".slice),g=!u(function(){var C=/(?:)/,N=C.exec;C.exec=function(){return N.apply(this,arguments)};var x="ab".split(C);return x.length!==2||x[0]!=="a"||x[1]!=="b"}),h="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(C,N,x){var B="0".split(void 0,0).length?function(L,w){return L===void 0&&w===0?[]:e(N,this,L,w)}:N;return[function(){function L(w,A){var T=y(this),E=s(w)?void 0:i(w,C);return E?e(E,w,T,A):e(B,p(T),w,A)}return L}(),function(L,w){var A=o(this),T=p(L);if(!h){var E=x(B,A,T,w,B!==N);if(E.done)return E.value}var O=V(A,RegExp),P=A.unicode,R=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(d?"g":"y"),F=new O(d?"^(?:"+A.source+")":A,R),j=w===void 0?f:w>>>0;if(j===0)return[];if(T.length===0)return c(F,T)===null?[T]:[];for(var W=0,H=0,z=[];H1?arguments[1]:void 0,f.length)),v=s(d);return p(f,l,l+v.length)===v}return u}()})},74498:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(I,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(I,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(I,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(I,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(I,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(I,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(I,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(91495),o=n(67250),s=n(4493),y=n(58310),V=n(52357),k=n(40033),S=n(45299),p=n(21287),i=n(30365),c=n(57591),m=n(767),u=n(12605),d=n(87458),f=n(80674),l=n(18450),v=n(37310),b=n(81644),g=n(89235),h=n(27193),C=n(74595),N=n(24239),x=n(12867),B=n(55938),L=n(73936),w=n(16639),A=n(19417),T=n(79195),E=n(16738),O=n(24697),P=n(55557),R=n(85889),F=n(52360),j=n(84925),W=n(5419),H=n(22603).forEach,z=A("hidden"),Y="Symbol",G="prototype",ne=W.set,Q=W.getterFor(Y),he=Object[G],Ve=a.Symbol,Ne=Ve&&Ve[G],Be=a.RangeError,Le=a.TypeError,Ae=a.QObject,fe=h.f,Z=C.f,J=b.f,te=x.f,ee=o([].push),le=w("symbols"),ye=w("op-symbols"),me=w("wks"),Te=!Ae||!Ae[G]||!Ae[G].findChild,M=function(se,xe,_){var oe=fe(he,xe);oe&&delete he[xe],Z(se,xe,_),oe&&se!==he&&Z(he,xe,oe)},X=y&&k(function(){return f(Z({},"a",{get:function(){function pe(){return Z(this,"a",{value:7}).a}return pe}()})).a!==7})?M:Z,ae=function(se,xe){var _=le[se]=f(Ne);return ne(_,{type:Y,tag:se,description:xe}),y||(_.description=xe),_},ue=function(){function pe(se,xe,_){se===he&&ue(ye,xe,_),i(se);var oe=m(xe);return i(_),S(le,oe)?(_.enumerable?(S(se,z)&&se[z][oe]&&(se[z][oe]=!1),_=f(_,{enumerable:d(0,!1)})):(S(se,z)||Z(se,z,d(1,f(null))),se[z][oe]=!0),X(se,oe,_)):Z(se,oe,_)}return pe}(),ie=function(){function pe(se,xe){i(se);var _=c(xe),oe=l(_).concat(ke(_));return H(oe,function(ve){(!y||t(Ce,_,ve))&&ue(se,ve,_[ve])}),se}return pe}(),ge=function(){function pe(se,xe){return xe===void 0?f(se):ie(f(se),xe)}return pe}(),Ce=function(){function pe(se){var xe=m(se),_=t(te,this,xe);return this===he&&S(le,xe)&&!S(ye,xe)?!1:_||!S(this,xe)||!S(le,xe)||S(this,z)&&this[z][xe]?_:!0}return pe}(),Me=function(){function pe(se,xe){var _=c(se),oe=m(xe);if(!(_===he&&S(le,oe)&&!S(ye,oe))){var ve=fe(_,oe);return ve&&S(le,oe)&&!(S(_,z)&&_[z][oe])&&(ve.enumerable=!0),ve}}return pe}(),De=function(){function pe(se){var xe=J(c(se)),_=[];return H(xe,function(oe){!S(le,oe)&&!S(T,oe)&&ee(_,oe)}),_}return pe}(),ke=function(se){var xe=se===he,_=J(xe?ye:c(se)),oe=[];return H(_,function(ve){S(le,ve)&&(!xe||S(he,ve))&&ee(oe,le[ve])}),oe};V||(Ve=function(){function pe(){if(p(Ne,this))throw new Le("Symbol is not a constructor");var se=!arguments.length||arguments[0]===void 0?void 0:u(arguments[0]),xe=E(se),_=function(){function oe(ve){var Se=this===void 0?a:this;Se===he&&t(_,ye,ve),S(Se,z)&&S(Se[z],xe)&&(Se[z][xe]=!1);var Ie=d(1,ve);try{X(Se,xe,Ie)}catch(Ee){if(!(Ee instanceof Be))throw Ee;M(Se,xe,Ie)}}return oe}();return y&&Te&&X(he,xe,{configurable:!0,set:_}),ae(xe,se)}return pe}(),Ne=Ve[G],B(Ne,"toString",function(){function pe(){return Q(this).tag}return pe}()),B(Ve,"withoutSetter",function(pe){return ae(E(pe),pe)}),x.f=Ce,C.f=ue,N.f=ie,h.f=Me,v.f=b.f=De,g.f=ke,P.f=function(pe){return ae(O(pe),pe)},y&&(L(Ne,"description",{configurable:!0,get:function(){function pe(){return Q(this).description}return pe}()}),s||B(he,"propertyIsEnumerable",Ce,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!V,sham:!V},{Symbol:Ve}),H(l(me),function(pe){R(pe)}),e({target:Y,stat:!0,forced:!V},{useSetter:function(){function pe(){Te=!0}return pe}(),useSimple:function(){function pe(){Te=!1}return pe}()}),e({target:"Object",stat:!0,forced:!V,sham:!y},{create:ge,defineProperty:ue,defineProperties:ie,getOwnPropertyDescriptor:Me}),e({target:"Object",stat:!0,forced:!V},{getOwnPropertyNames:De}),F(),j(Ve,Y),T[z]=!0},10933:function(I,r,n){"use strict";var e=n(63964),a=n(58310),t=n(16210),o=n(67250),s=n(45299),y=n(55747),V=n(21287),k=n(12605),S=n(73936),p=n(5774),i=t.Symbol,c=i&&i.prototype;if(a&&y(i)&&(!("description"in c)||i().description!==void 0)){var m={},u=function(){function h(){var C=arguments.length<1||arguments[0]===void 0?void 0:k(arguments[0]),N=V(c,this)?new i(C):C===void 0?i():i(C);return C===""&&(m[N]=!0),N}return h}();p(u,i),u.prototype=c,c.constructor=u;var d=String(i("description detection"))==="Symbol(description detection)",f=o(c.valueOf),l=o(c.toString),v=/^Symbol\((.*)\)[^)]+$/,b=o("".replace),g=o("".slice);S(c,"description",{configurable:!0,get:function(){function h(){var C=f(this);if(s(m,C))return"";var N=l(C),x=d?g(N,7,-1):b(N,v,"$1");return x===""?void 0:x}return h}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:u})}},30828:function(I,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),s=n(16639),y=n(66570),V=s("string-to-symbol-registry"),k=s("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!y},{for:function(){function S(p){var i=o(p);if(t(V,i))return V[i];var c=a("Symbol")(i);return V[i]=c,k[c]=i,c}return S}()})},53795:function(I,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(I,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(I,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(I,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(I,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),s=n(16639),y=n(66570),V=s("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!y},{keyFor:function(){function k(S){if(!t(S))throw new TypeError(o(S)+" is not a symbol");if(a(V,S))return V[S]}return k}()})},48058:function(I,r,n){"use strict";var e=n(85889);e("match")},51583:function(I,r,n){"use strict";var e=n(85889);e("replace")},82403:function(I,r,n){"use strict";var e=n(85889);e("search")},34265:function(I,r,n){"use strict";var e=n(85889);e("species")},3295:function(I,r,n){"use strict";var e=n(85889);e("split")},1078:function(I,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(I,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(I,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(I,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),s=a.aTypedArray,y=a.exportTypedArrayMethod;y("copyWithin",function(){function V(k,S){return o(s(this),k,S,arguments.length>2?arguments[2]:void 0)}return V}())},73364:function(I,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},58166:function(I,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),s=n(91495),y=n(67250),V=n(40033),k=e.aTypedArray,S=e.exportTypedArrayMethod,p=y("".slice),i=V(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});S("fill",function(){function c(m){var u=arguments.length;k(this);var d=p(o(this),0,3)==="Big"?t(m):+m;return s(a,this,d,u>1?arguments[1]:void 0,u>2?arguments[2]:void 0)}return c}(),i)},23793:function(I,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("filter",function(){function y(V){var k=a(o(this),V,arguments.length>1?arguments[1]:void 0);return t(this,k)}return y}())},13917:function(I,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},43820:function(I,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},80756:function(I,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},70567:function(I,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},19852:function(I,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function s(y){a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},40379:function(I,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(I,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},81069:function(I,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},60037:function(I,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},44195:function(I,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},66756:function(I,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},63689:function(I,r,n){"use strict";var e=n(16210),a=n(40033),t=n(67250),o=n(4246),s=n(34570),y=n(24697),V=y("iterator"),k=e.Uint8Array,S=t(s.values),p=t(s.keys),i=t(s.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,u=k&&k.prototype,d=!a(function(){u[V].call([1])}),f=!!u&&u.values&&u[V]===u.values&&u.values.name==="values",l=function(){function v(){return S(c(this))}return v}();m("entries",function(){function v(){return i(c(this))}return v}(),d),m("keys",function(){function v(){return p(c(this))}return v}(),d),m("values",l,d||!f,{name:"values"}),m(V,l,d||!f,{name:"values"})},5659:function(I,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,s=a([].join);o("join",function(){function y(V){return s(t(this),V)}return y}())},25014:function(I,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("lastIndexOf",function(){function y(V){var k=arguments.length;return a(t,o(this),k>1?[V,arguments[1]]:[V])}return y}())},32189:function(I,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,s=e.exportTypedArrayMethod;s("map",function(){function y(V){return a(o(this),V,arguments.length>1?arguments[1]:void 0,function(k,S){return new(t(k))(S)})}return y}())},23030:function(I,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function s(){for(var y=0,V=arguments.length,k=new(t(this))(V);V>y;)k[y]=arguments[y++];return k}return s}(),a)},49110:function(I,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function s(y){var V=arguments.length;return a(t(this),y,V,V>1?arguments[1]:void 0)}return s}())},24309:function(I,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function s(y){var V=arguments.length;return a(t(this),y,V,V>1?arguments[1]:void 0)}return s}())},56445:function(I,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function s(){for(var y=this,V=a(y).length,k=o(V/2),S=0,p;S1?arguments[1]:void 0,1),b=y(l);if(u)return a(i,this,b,v);var g=this.length,h=o(b),C=0;if(h+v>g)throw new k("Wrong length");for(;Cm;)d[m]=i[m++];return d}return k}(),V)},88739:function(I,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function s(y){return a(t(this),y,arguments.length>1?arguments[1]:void 0)}return s}())},60415:function(I,r,n){"use strict";var e=n(16210),a=n(71138),t=n(40033),o=n(10320),s=n(90274),y=n(4246),V=n(50503),k=n(79725),S=n(83141),p=n(44981),i=y.aTypedArray,c=y.exportTypedArrayMethod,m=e.Uint16Array,u=m&&a(m.prototype.sort),d=!!u&&!(t(function(){u(new m(2),null)})&&t(function(){u(new m(2),{})})),f=!!u&&!t(function(){if(S)return S<74;if(V)return V<67;if(k)return!0;if(p)return p<602;var v=new m(516),b=Array(516),g,h;for(g=0;g<516;g++)h=g%4,v[g]=515-g,b[g]=g-2*h+3;for(u(v,function(C,N){return(C/4|0)-(N/4|0)}),g=0;g<516;g++)if(v[g]!==b[g])return!0}),l=function(b){return function(g,h){return b!==void 0?+b(g,h)||0:h!==h?-1:g!==g?1:g===0&&h===0?1/g>0&&1/h<0?1:-1:g>h}};c("sort",function(){function v(b){return b!==void 0&&o(b),f?u(this,b):s(i(this),l(b))}return v}(),!f||d)},72532:function(I,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),s=e.aTypedArray,y=e.exportTypedArrayMethod;y("subarray",function(){function V(k,S){var p=s(this),i=p.length,c=t(k,i),m=o(p);return new m(p.buffer,p.byteOffset+c*p.BYTES_PER_ELEMENT,a((S===void 0?i:t(S,i))-c))}return V}())},62207:function(I,r,n){"use strict";var e=n(16210),a=n(61267),t=n(4246),o=n(40033),s=n(54602),y=e.Int8Array,V=t.aTypedArray,k=t.exportTypedArrayMethod,S=[].toLocaleString,p=!!y&&o(function(){S.call(new y(1))}),i=o(function(){return[1,2].toLocaleString()!==new y([1,2]).toLocaleString()})||!o(function(){y.prototype.toLocaleString.call([1,2])});k("toLocaleString",function(){function c(){return a(S,p?s(V(this)):V(this),s(arguments))}return c}(),i)},906:function(I,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(16210),o=n(67250),s=t.Uint8Array,y=s&&s.prototype||{},V=[].toString,k=o([].join);a(function(){V.call({})})&&(V=function(){function p(){return k(this)}return p}());var S=y.toString!==V;e("toString",V,S)},78824:function(I,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},72846:function(I,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},24575:function(I,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()})},71968:function(I,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,s,y){return a(this,o,s,y)}return t}()},!0)},80040:function(I,r,n){"use strict";var e=n(50730),a=n(16210),t=n(67250),o=n(30145),s=n(81969),y=n(45150),V=n(39895),k=n(77568),S=n(5419).enforce,p=n(40033),i=n(21820),c=Object,m=Array.isArray,u=c.isExtensible,d=c.isFrozen,f=c.isSealed,l=c.freeze,v=c.seal,b=!a.ActiveXObject&&"ActiveXObject"in a,g,h=function(E){return function(){function O(){return E(this,arguments.length?arguments[0]:void 0)}return O}()},C=y("WeakMap",h,V),N=C.prototype,x=t(N.set),B=function(){return e&&p(function(){var E=l([]);return x(new C,E,1),!d(E)})};if(i)if(b){g=V.getConstructor(h,"WeakMap",!0),s.enable();var L=t(N.delete),w=t(N.has),A=t(N.get);o(N,{delete:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new g),L(this,E)||O.frozen.delete(E)}return L(this,E)}return T}(),has:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new g),w(this,E)||O.frozen.has(E)}return w(this,E)}return T}(),get:function(){function T(E){if(k(E)&&!u(E)){var O=S(this);return O.frozen||(O.frozen=new g),w(this,E)?A(this,E):O.frozen.get(E)}return A(this,E)}return T}(),set:function(){function T(E,O){if(k(E)&&!u(E)){var P=S(this);P.frozen||(P.frozen=new g),w(this,E)?x(this,E,O):P.frozen.set(E,O)}else x(this,E,O);return this}return T}()})}else B()&&o(N,{set:function(){function T(E,O){var P;return m(E)&&(d(E)?P=l:f(E)&&(P=v)),x(this,E,O),P&&P(E),this}return T}()})},90846:function(I,r,n){"use strict";n(80040)},67042:function(I,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(I,r,n){"use strict";n(67042)},5606:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(I,r,n){"use strict";n(5606),n(27807)},25764:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(37713),o=n(10320),s=n(24986),y=n(40033),V=n(58310),k=y(function(){return V&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:k},{queueMicrotask:function(){function S(p){s(arguments.length,1),t(o(p))}return S}()})},27807:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(60375).set,o=n(78362),s=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==s},{setImmediate:s})},45569:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(I,r,n){"use strict";var e=n(63964),a=n(16210),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(I,r,n){"use strict";n(45569),n(5213)},7435:function(I){"use strict";/** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var r,n=[],e=[],a=function(){if(0)var S;window.onunload=function(){return r&&r.close()}},t=function(S){return e.push(S)},o=function(S){var p=[],i=function(d){return typeof d=="number"&&!Number.isFinite(d)?{__number__:String(d)}:typeof d=="undefined"?{__undefined__:!0}:d},c=function(d,m){if(typeof m=="object"){if(m===null)return m;if(p.includes(m))return"[circular ref]";p.push(m);var l=m instanceof Error||m.code&&m.message&&m.message.includes("Error");return l?{__error__:!0,string:String(m),stack:m.stack}:Array.isArray(m)?m.map(i):m}return i(m)},f=JSON.stringify(S,c);return p=null,f},s=function(S){if(0)var p,i,c},y=function(S,p){if(0)var i,c,f},V=function(){};I.exports={subscribe:t,sendMessage:s,sendLogEntry:y,setupHotReloading:V}}},xt={};function q(I){var r=xt[I];if(r!==void 0)return r.exports;var n=xt[I]={exports:{}};return Xt[I](n,n.exports,q),n.exports}(function(){q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(I){if(typeof window=="object")return window}}()})(),function(){q.o=function(I,r){return Object.prototype.hasOwnProperty.call(I,r)}}();var Rn={};(function(){"use strict";q(33313),q(10933),q(79250),q(53795),q(87806),q(64677),q(48058),q(51583),q(82403),q(34265),q(3295),q(1078),q(63207),q(80520),q(39600),q(93237),q(32057),q(68933),q(47830),q(13455),q(64094),q(61915),q(32384),q(25579),q(63532),q(33425),q(43894),q(99636),q(34570),q(94432),q(24683),q(69984),q(32089),q(60206),q(29645),q(4788),q(58672),q(19356),q(48968),q(49852),q(2712),q(864),q(54243),q(75621),q(26267),q(50095),q(33451),q(74587),q(25082),q(47421),q(32122),q(6306),q(90216),q(84663),q(92332),q(98329),q(9631),q(47091),q(59660),q(15383),q(92866),q(86107),q(29248),q(52540),q(79007),q(77199),q(6522),q(95542),q(2966),q(20997),q(57400),q(45571),q(54800),q(15709),q(76059),q(96614),q(324),q(90426),q(95443),q(87968),q(55007),q(55323),q(13521),q(5006),q(99009),q(85770),q(23532),q(87119),q(78618),q(27129),q(31943),q(3579),q(97397),q(85028),q(8225),q(43331),q(62289),q(56196),q(2950),q(44205),q(76882),q(83186),q(76065),q(13411),q(26634),q(53118),q(42514),q(84353),q(62987),q(48993),q(52917),q(4972),q(28913),q(36382),q(53092),q(69861),q(29674),q(81543),q(9373),q(45093),q(63074),q(5815),q(88527),q(66390),q(7784),q(50551),q(76483),q(92046),q(63915),q(51454),q(79669),q(23057),q(57983),q(17953),q(30442),q(6403),q(9867),q(43673),q(12354),q(22515),q(5143),q(93514),q(5416),q(11619),q(44590),q(63272),q(39930),q(4038),q(8448),q(70604),q(34965),q(95309),q(82256),q(49484),q(38931),q(39308),q(91550),q(75008),q(56027),q(50340),q(34325),q(74498),q(15812),q(57726),q(80756),q(70567),q(66756),q(60037),q(44195),q(24575),q(71968),q(78824),q(72846),q(99872),q(73364),q(58166),q(23793),q(43820),q(13917),q(19852),q(40379),q(92770),q(81069),q(63689),q(5659),q(25014),q(32189),q(23030),q(24309),q(49110),q(56445),q(30939),q(48321),q(88739),q(60415),q(72532),q(62207),q(906),q(90846),q(40348),q(83006),q(25764),q(69401),q(95012),q(30236)})(),function(){"use strict";var I=q(89005);q(67160),q(23542),q(30386),q(98996),q(41639),q(50578),q(4444),q(77870),q(39108),q(21039),q(51862),q(56856),q(1272),q(74757),q(1965),q(63489),q(24226),q(11714),q(73492),q(49641),q(17570),q(61858),q(73358),q(32882),q(23632);var r=q(85822),n=q(7435),e=q(56518),a=q(18498),t=q(49060),o=q(72178),s=q(24826),y;/** + */var r,n=[],e=[],a=function(){if(0)var S;window.onunload=function(){return r&&r.close()}},t=function(S){return e.push(S)},o=function(S){var p=[],i=function(d){return typeof d=="number"&&!Number.isFinite(d)?{__number__:String(d)}:typeof d=="undefined"?{__undefined__:!0}:d},c=function(d,f){if(typeof f=="object"){if(f===null)return f;if(p.includes(f))return"[circular ref]";p.push(f);var l=f instanceof Error||f.code&&f.message&&f.message.includes("Error");return l?{__error__:!0,string:String(f),stack:f.stack}:Array.isArray(f)?f.map(i):f}return i(f)},m=JSON.stringify(S,c);return p=null,m},s=function(S){if(0)var p,i,c},y=function(S,p){if(0)var i,c,m},V=function(){};I.exports={subscribe:t,sendMessage:s,sendLogEntry:y,setupHotReloading:V}}},xt={};function q(I){var r=xt[I];if(r!==void 0)return r.exports;var n=xt[I]={exports:{}};return Xt[I](n,n.exports,q),n.exports}(function(){q.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(I){if(typeof window=="object")return window}}()})(),function(){q.o=function(I,r){return Object.prototype.hasOwnProperty.call(I,r)}}();var Rn={};(function(){"use strict";q(33313),q(10933),q(79250),q(53795),q(87806),q(64677),q(48058),q(51583),q(82403),q(34265),q(3295),q(1078),q(63207),q(80520),q(39600),q(93237),q(32057),q(68933),q(47830),q(13455),q(64094),q(61915),q(32384),q(25579),q(63532),q(33425),q(43894),q(99636),q(34570),q(94432),q(24683),q(69984),q(32089),q(60206),q(29645),q(4788),q(58672),q(19356),q(48968),q(49852),q(2712),q(864),q(54243),q(75621),q(26267),q(50095),q(33451),q(74587),q(25082),q(47421),q(32122),q(6306),q(90216),q(84663),q(92332),q(98329),q(9631),q(47091),q(59660),q(15383),q(92866),q(86107),q(29248),q(52540),q(79007),q(77199),q(6522),q(95542),q(2966),q(20997),q(57400),q(45571),q(54800),q(15709),q(76059),q(96614),q(324),q(90426),q(95443),q(87968),q(55007),q(55323),q(13521),q(5006),q(99009),q(85770),q(23532),q(87119),q(78618),q(27129),q(31943),q(3579),q(97397),q(85028),q(8225),q(43331),q(62289),q(56196),q(2950),q(44205),q(76882),q(83186),q(76065),q(13411),q(26634),q(53118),q(42514),q(84353),q(62987),q(48993),q(52917),q(4972),q(28913),q(36382),q(53092),q(69861),q(29674),q(81543),q(9373),q(45093),q(63074),q(5815),q(88527),q(66390),q(7784),q(50551),q(76483),q(92046),q(63915),q(51454),q(79669),q(23057),q(57983),q(17953),q(30442),q(6403),q(9867),q(43673),q(12354),q(22515),q(5143),q(93514),q(5416),q(11619),q(44590),q(63272),q(39930),q(4038),q(8448),q(70604),q(34965),q(95309),q(82256),q(49484),q(38931),q(39308),q(91550),q(75008),q(56027),q(50340),q(34325),q(74498),q(15812),q(57726),q(80756),q(70567),q(66756),q(60037),q(44195),q(24575),q(71968),q(78824),q(72846),q(99872),q(73364),q(58166),q(23793),q(43820),q(13917),q(19852),q(40379),q(92770),q(81069),q(63689),q(5659),q(25014),q(32189),q(23030),q(24309),q(49110),q(56445),q(30939),q(48321),q(88739),q(60415),q(72532),q(62207),q(906),q(90846),q(40348),q(83006),q(25764),q(69401),q(95012),q(30236)})(),function(){"use strict";var I=q(89005);q(67160),q(23542),q(30386),q(98996),q(41639),q(50578),q(4444),q(77870),q(39108),q(21039),q(51862),q(56856),q(1272),q(74757),q(1965),q(63489),q(24226),q(11714),q(73492),q(49641),q(17570),q(61858),q(73358),q(32882),q(23632);var r=q(85822),n=q(7435),e=q(56518),a=q(18498),t=q(49060),o=q(72178),s=q(24826),y;/** * @file * @copyright 2020 Aleksej Komarov * @license MIT diff --git a/tools/ci/build_tgui.sh b/tools/ci/build_tgui.sh deleted file mode 100755 index ea75c01b4c4..00000000000 --- a/tools/ci/build_tgui.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -set -euo pipefail - -source _build_dependencies.sh - -source ~/.nvm/nvm.sh -nvm use $NODE_VERSION -cd tgui -bin/tgui --ci -cd .. diff --git a/tools/ci/install_build_deps.sh b/tools/ci/install_build_deps.sh index dff6bb4a0d9..a6a9e20fa18 100755 --- a/tools/ci/install_build_deps.sh +++ b/tools/ci/install_build_deps.sh @@ -3,8 +3,4 @@ set -euo pipefail source _build_dependencies.sh -source ~/.nvm/nvm.sh -nvm install $NODE_VERSION -nvm use $NODE_VERSION -npm install --global yarn - +# nothing to do here right now diff --git a/tools/hooks/Install.bat b/tools/hooks/Install.bat index 1bfc1b50d5c..1c8324e3f1d 100644 --- a/tools/hooks/Install.bat +++ b/tools/hooks/Install.bat @@ -1,2 +1,18 @@ @call "%~dp0\..\bootstrap\python" -m hooks.install %* -@pause +@echo off +set /p choice=Do you want to install TGUI hooks (requires Node.js)? (Y/N): + +if /i "%choice%"=="Y" ( + @echo off + rem Copyright (c) 2020 Aleksej Komarov + rem SPDX-License-Identifier: MIT + call powershell.exe -NoLogo -ExecutionPolicy Bypass -File "%~dp0\..\..\tgui\bin\tgui_.ps1" --install-git-hooks %* + rem Pause if launched in a separate shell unless initiated from powershell + echo %PSModulePath% | findstr %USERPROFILE% >NUL + if %errorlevel% equ 0 ( + pause + exit 0 + ) + echo %cmdcmdline% | find /i "/c" +) +pause diff --git a/tools/hooks/Uninstall.bat b/tools/hooks/Uninstall.bat index 862cbaf8bc4..66c02d3672d 100644 --- a/tools/hooks/Uninstall.bat +++ b/tools/hooks/Uninstall.bat @@ -1,2 +1,3 @@ @call "%~dp0\..\bootstrap\python" -m hooks.install --uninstall %* +git config --unset merge.tgui-merge-bundle.driver @pause