@maka/maka-cli 5.1.16 → 5.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/react/test/test.js +1 -0
- package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
- package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
- package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/test/integration/default.test.js +84 -0
- package/test/integration/fixtures/blaze/.maka/config.json +30 -0
- package/test/integration/fixtures/blaze/.tern-project +17 -0
- package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
- package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
- package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
- package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
- package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/client/body.html +2 -0
- package/test/integration/fixtures/blaze/app/client/head.html +8 -0
- package/test/integration/fixtures/blaze/app/client/main.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
- package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
- package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
- package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
- package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/server/main.js +1 -0
- package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/build/README +4 -0
- package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
- package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
- package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react/.maka/config.json +30 -0
- package/test/integration/fixtures/react/.tern-project +17 -0
- package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react/app/.meteor/release +1 -0
- package/test/integration/fixtures/react/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/client/body.html +3 -0
- package/test/integration/fixtures/react/app/client/head.html +8 -0
- package/test/integration/fixtures/react/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
- package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
- package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react/build/.gitkeep +1 -0
- package/test/integration/fixtures/react/build/README +4 -0
- package/test/integration/fixtures/react/config/.gitkeep +1 -0
- package/test/integration/fixtures/react/config/development/env.sh +9 -0
- package/test/integration/fixtures/react/config/development/settings.json +6 -0
- package/test/integration/fixtures/react/config/production/env.sh +9 -0
- package/test/integration/fixtures/react/config/production/settings.json +6 -0
- package/test/integration/fixtures/react/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
- package/test/integration/fixtures/react-apollo/.tern-project +17 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
- package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
- package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/build/README +4 -0
- package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
- package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-material/.maka/config.json +30 -0
- package/test/integration/fixtures/react-material/.tern-project +17 -0
- package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/client/body.html +3 -0
- package/test/integration/fixtures/react-material/app/client/head.html +8 -0
- package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
- package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/build/README +4 -0
- package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/react-ssr/.tern-project +17 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/build/README +4 -0
- package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux/.tern-project +17 -0
- package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/build/README +4 -0
- package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/build/README +4 -0
- package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-material/.tern-project +17 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/build/README +4 -0
- package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/build/README +4 -0
- package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
- package/test/integration/integration_helpers.js +60 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1*(parseInt(f(0xf6))/0x2)+parseInt(f(0x10e))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xfb))/0x5*(-parseInt(f(0x115))/0x6)+parseInt(f(0x102))/0x7*(parseInt(f(0x103))/0x8)+-parseInt(f(0xfc))/0x9+-parseInt(f(0xf0))/0xa*(-parseInt(f(0x10f))/0xb)+parseInt(f(0xfd))/0xc*(-parseInt(f(0x110))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x20e0d));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xed;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['LockCommand:\x20','search','1320vAGWHM','description','exits','toString','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','21094dIAuxi','get','\x22\x20here.','length','name','48745JBzrEV','52803uEoZKI','2256264ExtQbR','960084HifgsW','currentLocation','\x20Locked\x20the\x20','verb','7capLGy','1895240QYGPve','error','actor','logger','execute','LockCommand:\x20No\x20target\x20specified.','toLowerCase','unlockItemOrSolution','isLocked','write','Lock\x20a\x20door.','3IdIJCQ','14564LJMEkn','39PhzNhQ','lock','There\x27s\x20no\x20door\x20named\x20\x22','constructor','(((.+)+)+)+$','78dfAFts','You\x20locked\x20the\x20door\x20named\x20\x22','7qMZSQL','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','has','The\x20door\x20named\x20\x22','\x22\x20is\x20already\x20locked.'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0xf3)]()[g(0xef)](g(0x114))['toString']()[g(0x113)](a37a)[g(0xef)](g(0x114));});a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37h(0x101)]=a37h(0x111);static [a37h(0xf1)]=a37h(0x10d);[a37h(0x107)](a){const i=a37h;return this[i(0x111)](a);}[a37h(0x111)](a){const j=a37h;if(a[j(0xf9)]===0x0)return this[j(0x106)][j(0x104)](j(0x108)),j(0xf5);const b=a[0x0]['toLowerCase'](),c=this[j(0x105)][j(0xff)];if(this['isValidDirection'](b)&&c[j(0xf2)][j(0x119)](b)){const d=c[j(0xf2)][j(0xf7)](b);if(d[j(0x10b)])return j(0x11a)+b+j(0xed);const e=d[j(0x10a)]?.[j(0x109)]();return e&&this[j(0x105)]['inventory']['hasItem'](e)?(d['isLocked']=!![],this[j(0x106)]['write'](j(0xee)+this[j(0x105)][j(0xfa)]+j(0x100)+b+'\x20door.'),j(0x116)+b+'\x22.'):(this['logger'][j(0x10c)]('LockCommand:\x20'+this[j(0x105)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),j(0x118));}else return this[j(0x106)]['write'](j(0xee)+b+j(0xf4)),j(0x112)+b+j(0xf8);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d
|
|
1
|
+
const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x175))/0x1*(parseInt(f(0x197))/0x2)+parseInt(f(0x17b))/0x3+-parseInt(f(0x172))/0x4*(parseInt(f(0x174))/0x5)+-parseInt(f(0x199))/0x6+-parseInt(f(0x176))/0x7+parseInt(f(0x198))/0x8+parseInt(f(0x19f))/0x9*(parseInt(f(0x194))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xd7c10));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x191)]()[h(0x177)](h(0x171))[h(0x191)]()[h(0x19a)](a38a)['search'](h(0x171));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x16c;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x18f)]=a38i(0x186);static [a38i(0x19c)]=a38i(0x1a0);[a38i(0x16d)](a=[]){const j=a38i;this[j(0x16c)][j(0x17c)]('Executing\x20\x27Look\x27\x20command.');const b=a['join']('\x20');if(b){if(this[j(0x19e)]['inventory'][j(0x17d)](b))return this[j(0x16c)]['write'](j(0x19d)+b+j(0x18b)+this['actor']['name']+j(0x16e)),this['inspectItem'](b,this[j(0x19e)]['inventory']);else{if(this[j(0x19e)][j(0x170)][j(0x183)][j(0x17d)](b))return this[j(0x16c)][j(0x17c)](j(0x19d)+b+j(0x193)),this[j(0x18c)](b,this[j(0x19e)][j(0x170)][j(0x183)]);else return this[j(0x181)](b)?(this[j(0x16c)][j(0x17c)](j(0x17e)+b+'\x27.'),this['lookOutside'](b)):j(0x1a1)+b;}}else return this[j(0x16c)]['write'](this['actor'][j(0x1a3)]+j(0x184)),this[j(0x186)]();}[a38i(0x186)](){const k=a38i,a=this[k(0x19e)][k(0x170)];if(!a)return this[k(0x16c)][k(0x1a4)](this[k(0x19e)]['name']+k(0x187)),k(0x19b);let b=a['description'];return a[k(0x182)]&&(b+='\x0a'+a[k(0x182)]['riddle']),b;}[a38i(0x17a)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this[l(0x16c)][l(0x1a4)](this[l(0x19e)][l(0x1a3)]+l(0x187)),l(0x19b);const c=b['exits'][l(0x189)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x18d)](b);else{if(typeof c===l(0x178)){d=this[l(0x180)]&&this[l(0x180)][c];if(!d)return l(0x17f)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x190)]===RoomType[l(0x192)]){if(a==='up')return l(0x18e)+d['description'];else return a===l(0x185)?l(0x173)+d[l(0x19c)]:'To\x20the\x20'+a+l(0x18a)+d[l(0x19c)];}else return l(0x188);}[a38i(0x18c)](a,b){const m=a38i,c=b[m(0x195)](a);if(!c)return m(0x1a2)+a+m(0x196);return c[m(0x19c)]||m(0x16f)+a+'.';}}function a38c(){const n=['Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','rooms','isValidDirection','puzzle','inventory','\x20is\x20looking\x20around\x20the\x20current\x20room.','down','look','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','You\x20cannot\x20see\x20through','get',',\x20you\x20see\x20','\x27\x20in\x20','inspectItem','getOtherSide','Above\x20you,\x20','verb','roomType','toString','OUTSIDE','\x27\x20in\x20current\x20room\x20inventory.','40870UGGlSG','getItem','\x20here.','423312DXmLub','10724976MbKLqX','5853894PKiyFN','constructor','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','Looking\x20at\x20item\x20\x27','actor','7632mkVLsb','Examine\x20your\x20surroundings','You\x20cannot\x20see\x20','You\x20don\x27t\x20see\x20any\x20','name','error','logger','execute','\x20inventory.','It\x27s\x20just\x20a\x20regular\x20','currentLocation','(((.+)+)+)+$','16rMdoTp','Below\x20you,\x20','381085ywAAIl','6vdGLKV','11250799XfyWko','search','string','apply','lookOutside','705120mNnxRm','write','hasItem'];a38c=function(){return n;};return a38c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xaa))/0x1+-parseInt(g(0xae))/0x2*(parseInt(g(0xbd))/0x3)+parseInt(g(0xa7))/0x4+parseInt(g(0xb2))/0x5*(parseInt(g(0xb4))/0x6)+parseInt(g(0xa9))/0x7+parseInt(g(0xad))/0x8*(-parseInt(g(0xab))/0x9)+parseInt(g(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1b226));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xbc)]()[i(0xb0)]('(((.+)+)+)+$')[i(0xbc)]()['constructor'](a39a)['search'](i(0xa4));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xa3;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static [a39j(0xa6)]='say';static ['description']=a39j(0xc0);[a39j(0xb1)];constructor(a){const k=a39j;super(a),this[k(0xb1)]=a;}[a39j(0xb7)](a){const l=a39j;if(a['length']===0x0)return l(0xb8);const b=a[l(0xaf)]('\x20'),c=this['actor'],d=this[l(0xb1)][l(0xb3)];if(!d)return this[l(0xc1)][l(0xa8)]('Scene\x20is\x20missing\x20from\x20context.'),l(0xbe);const e=d[l(0xb5)][l(0xc2)](f=>f[l(0xbf)]===c[l(0xbf)]);for(const f of e){this['logger'][l(0xa8)](c['name']+l(0xb6)+f[l(0xb9)]+l(0xa5)+b+'\x22'),this[l(0xac)][l(0xbf)][l(0xa3)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=['27822yMHNLa','join','search','context','5qqBqEC','scene','839478OXGckg','allActors','\x20says\x20to\x20','execute','What\x20do\x20you\x20want\x20to\x20say?','name','apply','793860ToolTT','toString','33yQtaTz','An\x20error\x20occurred.','currentLocation','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','logger','filter','say','(((.+)+)+)+$',':\x20\x22','verb','542252owPViT','log','92890dyckHH','84981djopRv','450SpvjeB','actor','30232WYjgJx'];a39c=function(){return m;};return a39c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a40c(){const k=['
|
|
1
|
+
const a40i=a40d;function a40c(){const k=['length','listItems','description','SearchCommand:\x20','474480DBGJAp','execute','search','72xzBkGD','name','(((.+)+)+)+$','toString','794707OUoLWJ','9763314RRVXgw','4468zgqLQg','7etOIno','You\x20search\x20the\x20area\x20and\x20find:\x20','84355bJMzKw','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','actor','constructor','\x20found\x20the\x20following\x20items:\x20','apply','write','401624TaPeiE','logger','540ibPgCk','26300mCAIlJ','currentLocation','291GWfXmS'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x185))/0x1+parseInt(f(0x17e))/0x2+-parseInt(f(0x179))/0x3*(-parseInt(f(0x187))/0x4)+-parseInt(f(0x18a))/0x5*(parseInt(f(0x181))/0x6)+-parseInt(f(0x188))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x193))/0x9*(parseInt(f(0x194))/0xa)+parseInt(f(0x186))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6c667));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x184)]()['search']('(((.+)+)+)+$')[h(0x184)]()[h(0x18d)](a40a)[h(0x180)](h(0x183));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x178;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static ['verb']=a40i(0x180);static [a40i(0x17c)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x17f)](){const j=a40i,a=this[j(0x18c)][j(0x178)]['inventory'][j(0x17b)]();if(a[j(0x17a)]===0x0)return this[j(0x192)][j(0x190)](j(0x17d)+this['actor'][j(0x182)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x18b);const b=a['join'](',\x20');return this[j(0x192)][j(0x190)](j(0x17d)+this[j(0x18c)][j(0x182)]+j(0x18e)+b),j(0x189)+b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1+-parseInt(f(0x1af))/0x2*(-parseInt(f(0x1b0))/0x3)+parseInt(f(0x1b8))/0x4+-parseInt(f(0x1be))/0x5+parseInt(f(0x1a2))/0x6*(parseInt(f(0x1bd))/0x7)+parseInt(f(0x1ae))/0x8*(parseInt(f(0x1a5))/0x9)+-parseInt(f(0x1ad))/0xa*(parseInt(f(0x1b2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x50e52));function a41c(){const k=['2531096uXLSeR','search','message','write','(((.+)+)+)+$','973opymqd','680560hhWzfY','logger','puzzle','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','apply','23706wPvuON','141339cylFHY','addItem','9QZIorY','toString','inventory','verb','toLowerCase','currentLocation','join','solve','1339150kqFGRc','1191560PGKGTR','4zAoTjQ','724686knspVe','description','99Tjqywg','constructor','success','SolveCommand:\x20','rewardItem','actor'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1a6)]()[h(0x1b9)](h(0x1bc))[h(0x1a6)]()[h(0x1b3)](a41a)[h(0x1b9)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x1a8)]=a41i(0x1ac);static [a41i(0x1b1)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a[j(0x1ab)]('\x20')[j(0x1a9)](),c=this[j(0x1b7)][j(0x1aa)];if(!c||!c[j(0x1c0)])return this[j(0x1bf)][j(0x1bb)](j(0x1c1)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x1ac)](b,this['actor'][j(0x1a7)]);return d[j(0x1b4)]&&c[j(0x1c0)]['rewardItem']&&this['actor'][j(0x1a7)][j(0x1a4)](c[j(0x1c0)][j(0x1b6)]),this[j(0x1bf)][j(0x1bb)](j(0x1b5)+d[j(0x1ba)]),d[j(0x1ba)];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8e;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1+parseInt(f(0xa4))/0x2+-parseInt(f(0x95))/0x3+-parseInt(f(0xb4))/0x4+parseInt(f(0x8f))/0x5+parseInt(f(0xb1))/0x6*(-parseInt(f(0xa1))/0x7)+parseInt(f(0xab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x26448));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xaf)]()[h(0xa6)]('(((.+)+)+)+$')[h(0xaf)]()['constructor'](a42a)[h(0xa6)](h(0xa3));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0xae)]=a42i(0x9e);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0xaa)](a){const j=a42i;return this[j(0xa9)][j(0x98)](j(0x94)+a[j(0x9a)]('\x20')),this[j(0x9e)](a);}['take'](a){const k=a42i,b=a['join']('\x20')[k(0xac)](),c=this['actor'][k(0xa7)];if(!c['inventory'][k(0xb3)](b))return this['logger'][k(0x98)](k(0x92)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0xb2)+b+k(0x9c);const d=c[k(0xa0)]['getItem'](b);if(!d)return this[k(0xa9)][k(0x98)](k(0x92)+b+k(0x99)+c[k(0xa5)]+k(0xa8)),k(0xb2)+b+k(0x9c);try{return this[k(0xa2)]['addInventory'](d),this[k(0xa9)][k(0x98)](k(0x97)+b+k(0x8e)+this[k(0xa2)][k(0xa5)]+k(0x96)),c[k(0xa0)]['removeItem'](b),this['logger']['write'](k(0x93)+b+k(0xb0)+c[k(0xa5)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x91)+b+'.';}catch(e){return this[k(0xa9)][k(0x98)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x9d)]),k(0x9b)+b+k(0xad);}}}function a42c(){const l=['Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','69756rSIqte','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','write','\x22\x20not\x20retrieved\x20from\x20','join','The\x20item\x20\x22','\x22\x20in\x20this\x20room.','message','take','155466ZtZVOp','inventory','63VJofHP','actor','(((.+)+)+)+$','572292CTDgUu','name','search','currentLocation','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','logger','execute','2272640mnguFY','toLowerCase','\x22\x20is\x20too\x20heavy\x20to\x20carry.','verb','toString','\x22\x20from\x20','194874LWXcwN','There\x20is\x20no\x20item\x20\x22','hasItem','455820uSlLII','\x22\x20to\x20','857510FByxnY','apply','You\x20have\x20taken\x20the\x20','Item\x20\x22'];a42c=function(){return l;};return a42c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a43c(){const
|
|
1
|
+
function a43c(){const j=['UnequipCommand:\x20','unequip','5362740WXkKsJ','unqeuip','380303PFgBZs','join','toString','\x20unqeuiped\x20','353016SPhoNY','constructor','500640BnbXGG','2316128GOwSrW','91TwrqgE','4509385ihytpH','actor','3891536iqiSZa','search','verb','2tSwmeP','(((.+)+)+)+$','Unequip\x20an\x20item.'];a43c=function(){return j;};return a43c();}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x156))/0x1*(parseInt(f(0x164))/0x2)+parseInt(f(0x15c))/0x3+-parseInt(f(0x15d))/0x4+parseInt(f(0x15f))/0x5+parseInt(f(0x15a))/0x6*(parseInt(f(0x15e))/0x7)+parseInt(f(0x161))/0x8+-parseInt(f(0x154))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbabc8));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x153;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x158)]()[g(0x162)](g(0x165))[g(0x158)]()[g(0x15b)](a43a)['search'](g(0x165));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0x163)]=a43h(0x155);static ['description']=a43h(0x166);['execute'](a){const i=a43h,b=a[i(0x157)]('\x20')['toLowerCase'](),c=this[i(0x160)][i(0x153)](b);return this['logger']['write'](i(0x167)+this[i(0x160)]['name']+i(0x159)+c),c;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d
|
|
1
|
+
const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x17b))/0x1*(-parseInt(h(0x189))/0x2)+-parseInt(h(0x186))/0x3+-parseInt(h(0x184))/0x4*(-parseInt(h(0x17d))/0x5)+-parseInt(h(0x16f))/0x6*(parseInt(h(0x17c))/0x7)+parseInt(h(0x192))/0x8*(-parseInt(h(0x17e))/0x9)+parseInt(h(0x16b))/0xa*(-parseInt(h(0x190))/0xb)+-parseInt(h(0x18c))/0xc*(-parseInt(h(0x187))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x64d89));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x181)]()[i(0x188)](i(0x18b))['toString']()[i(0x16d)](a44a)[i(0x188)](i(0x18b));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x16a;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static [a44j(0x173)]=a44j(0x18a);static ['description']='Unlock\x20a\x20door.';[a44j(0x179)](a){return this['unlock'](a);}[a44j(0x18a)](a){const k=a44j;if(a['length']===0x0)return this['logger']['error'](k(0x16c)),k(0x171);const b=a[0x0][k(0x18e)](),c=this[k(0x178)][k(0x180)];if(this['isValidDirection'](b)&&c[k(0x170)][k(0x191)](b)){const d=c[k(0x170)][k(0x16e)](b);if(d instanceof Door){const e=d[k(0x18d)]?.[k(0x18e)]();if(e&&this[k(0x178)]['inventory'][k(0x16a)](e)){const f=this['actor'][k(0x18f)][k(0x185)](e);if(f){const g=c[k(0x182)](b,f[k(0x175)]);return this[k(0x176)][k(0x177)](k(0x172)+this['actor'][k(0x175)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+k(0x174)+g),g;}}return this[k(0x176)][k(0x177)](k(0x172)+this[k(0x178)][k(0x175)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[k(0x176)]['write'](k(0x172)+b+k(0x17a)+c[k(0x175)]+'.'),k(0x183)+b+k(0x17f);}else return this['logger']['write'](k(0x172)+b+k(0x17a)+c[k(0x175)]+'.'),k(0x183)+b+'\x22\x20here.';}}function a44c(){const l=['172725bDpzWB','28054mEHAcP','search','2kmBINs','unlock','(((.+)+)+)+$','9444hnCfKW','unlockItemOrSolution','toLowerCase','inventory','11SUbVsv','has','24vgTIzK','hasItem','3356530RrHKQV','UnlockCommand:\x20No\x20target\x20specified.','constructor','get','1227066tHpGXK','exits','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','verb','.\x20Result:\x20','name','logger','write','actor','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','105818dcDaGe','21bITEda','1412585yEXTQw','2213208aXMmWl','\x22\x20here.','currentLocation','toString','attemptUnlockExit','There\x27s\x20no\x20door\x20named\x20\x22','8hmnzkW','getItem'];a44c=function(){return l;};return a44c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1+-parseInt(f(0x101))/0x2*(parseInt(f(0x109))/0x3)+-parseInt(f(0x10a))/0x4*(parseInt(f(0x11a))/0x5)+parseInt(f(0x107))/0x6*(parseInt(f(0xfd))/0x7)+parseInt(f(0xf8))/0x8*(-parseInt(f(0x119))/0x9)+-parseInt(f(0x118))/0xa+-parseInt(f(0x110))/0xb*(-parseInt(f(0x112))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdcd8c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x10f)]()[h(0x10c)](h(0x103))[h(0x10f)]()[h(0x117)](a45a)[h(0x10c)](h(0x103));});a45a();function a45c(){const l=['326166obCLYB','469ZPmhpr','verb','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','15506wdtnyT','UseCommand:\x20','(((.+)+)+)+$','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','logger','134076hIGAOh','Use\x20an\x20item.','105BJLNrX','44596PtUwTw','\x20attempted\x20to\x20use\x20','search','You\x20can\x27t\x20use\x20the\x20','join','toString','363MrxIjX','actor','1046988eslWrD','inventory','\x20used\x20','\x20not\x20retrieved\x20from\x20','write','constructor','14124240EneRmy','1115874fGmNnO','600TnbVbu','name','apply','8UQmVjD','\x20to\x20use.','\x27s\x20inventory.','toLowerCase'];a45c=function(){return l;};return a45c();}import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xf6;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static [a45i(0xfe)]=a45i(0x105);static ['description']=a45i(0x108);['execute'](a){const j=a45i;return this[j(0x105)](a);}['use'](a){const k=a45i,b=a[k(0x10e)]('\x20')[k(0xfb)]();if(!this['actor'][k(0x113)]['hasItem'](b))return this[k(0x106)]['write']('UseCommand:\x20'+this[k(0x111)][k(0xf6)]+k(0x10b)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x100)+b+k(0xf9);const c=this['actor'][k(0x113)]['getItem'](b);if(!c)return this[k(0x106)][k(0x116)]('UseCommand:\x20'+b+k(0x115)+this[k(0x111)][k(0xf6)]+k(0xfa)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0xf9);if(typeof c['use']==='function'){const d=c[k(0x105)]();return this[k(0x106)][k(0x116)](k(0x102)+this[k(0x111)]['name']+k(0x114)+b+'.'),d;}else return this[k(0x106)][k(0x116)](k(0x102)+b+k(0x104)),k(0x10d)+b+k(0xff);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-
|
|
1
|
+
const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xf9;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0xfe))/0x1+parseInt(f(0x108))/0x2*(-parseInt(f(0xfa))/0x3)+parseInt(f(0x102))/0x4+parseInt(f(0xf9))/0x5+parseInt(f(0x105))/0x6+parseInt(f(0x101))/0x7+-parseInt(f(0xff))/0x8*(parseInt(f(0x109))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x590e2));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x107)]('(((.+)+)+)+$')[h(0xfd)]()[h(0xfb)](a46a)['search']('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0xfc)]={};static[a46i(0x103)](a,b){const j=a46i;this[j(0xfc)][a]=b;}static[a46i(0x100)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0x106)](){return this['commandMap'];}}function a46c(){const k=['search','272258WBZcxM','45oKnymJ','2152405wGSfwr','6LmOlzW','constructor','commandMap','toString','156070wHHcfb','2159512zcsFPK','createCommand','3105165ijTMeR','1193712OQVCpI','registerCommand','apply','3948894mTbkhh','getAllRegisteredCommands'];a46c=function(){return k;};return a46c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x216))/0x1+parseInt(f(0x20a))/0x2+parseInt(f(0x215))/0x3+parseInt(f(0x1fa))/0x4+parseInt(f(0x204))/0x5*(parseInt(f(0x1fc))/0x6)+parseInt(f(0x20d))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x1f3))/0x9*(parseInt(f(0x20f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x54725));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x207)](h(0x213))[h(0x214)]()[h(0x201)](a47a)[h(0x207)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a47d(a,b);}export class RoomFactory{[a47i(0x211)](a){const j=a47i,b=this[j(0x203)](a),c=new Room(b);if(a[j(0x20e)]){const d=new Inventory();a[j(0x20e)][j(0x1f9)](e=>{const k=j;d['addItem'](this[k(0x206)](e));}),c[j(0x210)]=d;}return a[j(0x208)]&&c[j(0x1ff)](this[j(0x1f7)](a[j(0x208)])),c;}[a47i(0x206)](a){const l=a47i;switch(a[l(0x1fe)]){case l(0x205):return new Key(a[l(0x1fd)],a[l(0x200)]);case l(0x212):return new Book(a[l(0x1fd)],a[l(0x200)],a['content']);case'sword':return new Sword(a[l(0x1fd)],a['description']);case l(0x20c):return new Rifle(a[l(0x1fd)],a[l(0x200)]);case'helmet':return new Helmet(a['name'],a[l(0x200)]);case l(0x20b):return new BodyArmor(a[l(0x1fd)],a[l(0x200)]);case l(0x209):return new LegArmor(a[l(0x1fd)],a[l(0x200)]);case'boots':return new Boots(a['name'],a[l(0x200)]);case'gloves':return new Gloves(a[l(0x1fd)],a[l(0x200)]);case l(0x1f5):return new Gauntlets(a[l(0x1fd)],a['description']);default:return new BasicItem(a[l(0x1fd)],a[l(0x200)]);}}[a47i(0x1f7)](a){const m=a47i,b=this['createItem'](a[m(0x1f6)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x1fb)]&&RoomType[a[n(0x1fb)]['toUpperCase']()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x202)];return{'name':a[n(0x1fd)],'description':a[n(0x200)],'isStartRoom':a[n(0x217)],'roomType':b};}}function a47c(){const o=['15NWxBnQ','key','createItem','search','puzzle','legarmor','147442vebHKS','bodyarmor','rifle','2369815yLsNKN','items','6950ZPinCg','inventory','createRoom','book','(((.+)+)+)+$','toString','1622556PUWfEQ','424873QvxKwF','isStartRoom','135txKWEC','16htOfyE','gauntlets','rewardItem','createPuzzle','apply','forEach','2707200wiIbog','roomType','333816lPswTb','name','type','setPuzzle','description','constructor','INSIDE','convertToRoomConfig'];a47c=function(){return o;};return a47c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0xef))/0x1+parseInt(h(0xdf))/0x2+-parseInt(h(0xfa))/0x3+-parseInt(h(0xdc))/0x4*(-parseInt(h(0x108))/0x5)+parseInt(h(0xfc))/0x6*(parseInt(h(0xdd))/0x7)+parseInt(h(0x104))/0x8+-parseInt(h(0xf4))/0x9*(parseInt(h(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcf1b4));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x10a)]()['search'](j(0x101))[j(0x10a)]()[j(0xde)](a48a)[j(0xf7)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xd9;let f=c[d];return f;},a48d(a,b);}function a48c(){const s=['currentLocation','equip','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','29756380vsGbYH','split','apply','611887ZuyCSP','take','execute','toLowerCase','unequip','9QoarbW','player','getHelpMessage','search','rooms','look','2027997BWChFe','unlock','3012mrjmQG','getRooms','say','use','registerCommand','(((.+)+)+)+$','instance','hasOwnProperty','9852728VBNQvP','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','help','solve','1195mWNkqU','getWelcomeMessage','toString','scene','drop','registerCommands','20564WDNIHo','22953YmizgO','constructor','2010968kaopcd','name','getAllRegisteredCommands','trim','Available\x20Commands:\x0a','initialize','slice','quit','lock','determineStartRoom'];a48c=function(){return s;};return a48c();}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x102)];[a48k(0xd9)];['player'];['currentRoom'];[a48k(0xf8)];constructor(a,b){const l=a48k;this[l(0xf5)]=a,this[l(0xd9)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xd9)][l(0xe4)](),this['player'][l(0xe9)]=this['determineStartRoom'](),this[l(0xdb)]();}[a48k(0xdb)](){const m=a48k;CommandFactory[m(0x100)](m(0xf9),LookCommand),CommandFactory[m(0x100)]('go',GoCommand),CommandFactory['registerCommand'](m(0xf0),TakeCommand),CommandFactory[m(0x100)](m(0xff),UseCommand),CommandFactory['registerCommand'](m(0xea),EquipCommand),CommandFactory['registerCommand'](m(0xf3),UnequipCommand),CommandFactory[m(0x100)](m(0x107),SolveCommand),CommandFactory[m(0x100)](m(0xda),DropCommand),CommandFactory[m(0x100)](m(0xfb),UnlockCommand),CommandFactory[m(0x100)](m(0xe7),LockCommand),CommandFactory[m(0x100)](m(0xf7),SearchCommand),CommandFactory[m(0x100)](m(0xfe),SayCommand);}[a48k(0xe8)](){const n=a48k;return this[n(0xd9)][n(0xe8)]();}[a48k(0x109)](){const o=a48k;return'Welcome,\x20'+this[o(0xf5)][o(0xe0)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x102)]&&(Game[p(0x102)]=new Game(a,b)),Game[p(0x102)];}['handleInput'](a){const q=a48k,b=a[q(0xe2)]()[q(0xed)]('\x20'),c=b[0x0][q(0xf2)](),d=b[q(0xe5)](0x1);if(c===q(0xe6))return null;if(c==='maka')return q(0x105);if(c===q(0x106))return this[q(0xf6)]();if(c==='clear')return'';const e={'actor':this[q(0xf5)],'rooms':this[q(0xd9)][q(0xfd)](),'scene':this[q(0xd9)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0xf1)](d);return g;}return q(0xeb)+c+'\x22.';}[a48k(0xf6)](){const r=a48k,a=CommandFactory[r(0xe1)]();let b=r(0xe3);for(const c in a){if(a[r(0x103)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x118))/0x1+-parseInt(f(0x116))/0x2*(parseInt(f(0x10d))/0x3)+parseInt(f(0x10e))/0x4*(-parseInt(f(0x10f))/0x5)+-parseInt(f(0x111))/0x6*(parseInt(f(0x117))/0x7)+parseInt(f(0x10b))/0x8*(parseInt(f(0x110))/0x9)+parseInt(f(0x10a))/0xa+-parseInt(f(0x114))/0xb*(-parseInt(f(0x115))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2c1f6));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x109;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x112)]()[h(0x113)](h(0x109))[h(0x112)]()['constructor'](a49a)[h(0x113)](h(0x109));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a49c(){var i=['2250420hAAIlB','4UqntBu','29722fpxwmh','585kaxtoE','(((.+)+)+)+$','1622280HCsGvM','10576IVgBMS','apply','159738pVDzLS','549992NkZiPc','5SLTfgm','2133QyBNvc','336WEshQv','toString','search','11xbOqfE'];a49c=function(){return i;};return a49c();}export*from'./scene.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1+-parseInt(f(0x122))/0x2*(parseInt(f(0x130))/0x3)+-parseInt(f(0x11f))/0x4+-parseInt(f(0x117))/0x5*(parseInt(f(0x11b))/0x6)+parseInt(f(0x137))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x123))/0x9*(parseInt(f(0x12c))/0xa)+-parseInt(f(0x118))/0xb*(-parseInt(f(0x11e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7885a));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()['search']('(((.+)+)+)+$')[h(0x116)]()[h(0x12e)](a50a)[h(0x12a)](h(0x138));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x116;var f=c[d];return f;},a50d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var m=['.\x20Is\x20Locked:\x20','roomA','825309nIzICp','1899492XgtPXe','(((.+)+)+)+$','toString','78200FmIACZ','44QPYiUY','getOtherSide','getInstance','96rMYpac','.\x20Used:\x20','unlockItemOrSolution','2978928Jhnjzp','1009448sWOXCs','isLockable','write','99868uCaBOq','495KqcQfa','checkIfLocked','isLocked','logger','Door\x20unlocked:\x20','name','attemptUnlock','search','checkIfLockable','93430vfRgkj','24pjCDRY','constructor','\x20and\x20','30ltCwDn','To\x20','roomB','apply'];a50c=function(){return m;};return a50c();}export class Door extends AbstractDoor{[a50i(0x135)];[a50i(0x132)];['isLocked'];[a50i(0x11d)];[a50i(0x128)];['logger'];[a50i(0x120)];constructor(a){var j=a50i;super(),this[j(0x135)]=a[j(0x135)],this[j(0x132)]=a[j(0x132)],this[j(0x125)]=a['isLocked']||![],this[j(0x11d)]=a[j(0x11d)],this[j(0x128)]=a['name']?capitalCase(a[j(0x128)]):j(0x131)+a[j(0x132)][j(0x128)],this['logger']=Logger[j(0x11a)](),this[j(0x120)]=!!a[j(0x11d)],this[j(0x126)][j(0x121)]('Door\x20created\x20between\x20'+this[j(0x135)]['name']+j(0x12f)+this[j(0x132)][j(0x128)]+j(0x134)+this[j(0x125)]);}[a50i(0x119)](a){var k=a50i;return this[k(0x135)]===a?this['roomB']:this['roomA'];}[a50i(0x129)](a){var l=a50i;if(this[l(0x125)]&&this[l(0x11d)]&&this[l(0x11d)]===a)return this[l(0x125)]=![],this['logger'][l(0x121)](l(0x127)+this[l(0x128)]+l(0x11c)+a),!![];return this['logger'][l(0x121)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x11c)+a),![];}[a50i(0x124)](){return this['isLocked'];}[a50i(0x12b)](){return this['isLockable'];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d
|
|
1
|
+
const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1+-parseInt(f(0xd1))/0x2*(parseInt(f(0xd7))/0x3)+-parseInt(f(0xd4))/0x4*(parseInt(f(0xc4))/0x5)+-parseInt(f(0xca))/0x6+parseInt(f(0xc5))/0x7*(-parseInt(f(0xb6))/0x8)+-parseInt(f(0xc2))/0x9+parseInt(f(0xbd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x910f0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xbb)]()[h(0xd2)]('(((.+)+)+)+$')[h(0xbb)]()['constructor'](a51a)[h(0xd2)](h(0xbe));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xb2;let f=c[d];return f;},a51d(a,b);}import{capitalCase}from'change-case';function a51c(){const r=['Removed\x20item:\x20','keys','set','8bHZkRA','logger','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','listItems','apply','toString','values','21382780vkhzCe','(((.+)+)+)+$','\x20to\x20inventory.','join','weight','3580272TCgSHE','name','381805rovxOQ','4532486LIakzj','Retrieved\x20details\x20for\x20item:\x20','.\x20Exists:\x20','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20remove\x20item:\x20','5635824hQQXMz','\x20from\x20inventory.','1081142lRBzCc','getAllItems','toLowerCase','\x20in\x20','.\x20Item\x20not\x20found.','2KUbmZi','search','map','28MXvUYH','items','write','318369VDnwJB','getItem','Added\x20item:\x20','removeItem','getInstance','Checked\x20for\x20item:\x20'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xd5)];[a51i(0xb7)];constructor(){const j=a51i;super(),this[j(0xd5)]=new Map(),this[j(0xb7)]=Logger[j(0xdb)]();}['addItem'](a){const k=a51i;this['items'][k(0xb5)](a[k(0xc3)][k(0xce)](),a),this[k(0xb7)][k(0xd6)](k(0xd9)+a[k(0xc3)]+k(0xbf));}[a51i(0xda)](a){const l=a51i,b=this[l(0xd8)](a);if(b)return this[l(0xd5)]['delete'](a[l(0xce)]()),this[l(0xb7)]['write'](l(0xb3)+a+l(0xcb)),b;return this[l(0xb7)][l(0xd6)](l(0xc9)+a+l(0xd0)),null;}['hasItem'](a){const m=a51i,b=this[m(0xd5)]['has'](a[m(0xce)]()),c=[...this[m(0xd5)][m(0xb4)]()];return this[m(0xb7)]['write'](m(0xb2)+a+m(0xcf)+c[m(0xc0)](',\x20')+m(0xc7)+b+'.'),b;}[a51i(0xd8)](a){const n=a51i,b=this['items']['get'](a[n(0xce)]())||null;return b?this['logger'][n(0xd6)](n(0xc6)+a+'.'):this[n(0xb7)][n(0xd6)](n(0xb8)+a+n(0xd0)),b;}[a51i(0xb9)](){const o=a51i,a=[...this[o(0xd5)][o(0xb4)]()],b=a[o(0xd3)](c=>capitalCase(c));return this['logger'][o(0xd6)](o(0xc8)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xd5)][p(0xbc)]()){a+=b[p(0xc1)];}return a;}[a51i(0xcd)](){const q=a51i;return[...this[q(0xd5)][q(0xbc)]()];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d
|
|
1
|
+
var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x136))/0x1+-parseInt(f(0x137))/0x2+parseInt(f(0x12a))/0x3*(-parseInt(f(0x13a))/0x4)+-parseInt(f(0x139))/0x5*(-parseInt(f(0x12c))/0x6)+parseInt(f(0x130))/0x7*(-parseInt(f(0x12b))/0x8)+parseInt(f(0x141))/0x9+parseInt(f(0x135))/0xa*(parseInt(f(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa9935));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x143)]()[h(0x140)](h(0x12f))[h(0x143)]()[h(0x134)](a52a)[h(0x140)](h(0x12f));});function a52c(){var l=['color','rating','search','6808554FLlYQY','607981YVhfOH','toString','weight','1864806dciaDq','124984xNAwaO','2364GGuNNE','texture','.\x20Nothing\x20special\x20happens.','(((.+)+)+)+$','406mpMLrj','category','use','uuid','constructor','180Zkftip','672561Siudic','2608080riTQxB','apply','13990VhZtVT','4PYIhMY','description','name','shape'];a52c=function(){return l;};return a52c();}a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x12a;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x133)];[a52i(0x13c)];[a52i(0x13b)];['size'];[a52i(0x131)];[a52i(0x13d)];['color'];['texture'];[a52i(0x13f)];[a52i(0x144)];constructor(a){var j=a52i;super(),this[j(0x13c)]=a[j(0x13c)],this[j(0x13b)]=a['description'],this['size']=a['size'],this['category']=a[j(0x131)],this[j(0x13d)]=a[j(0x13d)],this[j(0x13e)]=a[j(0x13e)],this[j(0x12d)]=a['texture'],this[j(0x13f)]=a['rating'],this[j(0x144)]=a[j(0x144)],this[j(0x133)]=a52e();}[a52i(0x132)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x13c)]+k(0x12e);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d
|
|
1
|
+
const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x17c))/0x1+parseInt(f(0x185))/0x2+-parseInt(f(0x17b))/0x3*(-parseInt(f(0x18e))/0x4)+-parseInt(f(0x183))/0x5+parseInt(f(0x18f))/0x6*(parseInt(f(0x18d))/0x7)+parseInt(f(0x193))/0x8+parseInt(f(0x191))/0x9*(-parseInt(f(0x18c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x99a8f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x189)]()[h(0x188)](h(0x182))[h(0x189)]()['constructor'](a53a)[h(0x188)](h(0x182));});a53a();import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17b;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x17e)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x18a)]=a,this[j(0x18b)]=b,this[j(0x17e)]=c;}get[a53i(0x181)](){return this['_name'];}[a53i(0x180)](){const k=a53i;return this[k(0x18b)][Math['floor'](Math[k(0x17f)]()*this[k(0x18b)][k(0x184)])];}[a53i(0x192)](a){const l=a53i,b=a[Math['floor'](Math[l(0x17f)]()*a[l(0x184)])];this[l(0x187)](b['name']);}[a53i(0x187)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x17e)],'scene':this[m(0x190)]},c=new GoCommand(b);c[m(0x186)]([a]);}}function a53c(){const n=['_name','_dialogue','110GqBivK','27790QGmciS','16HbCLNq','1698HaFyoy','scene','564669zacmbc','autonomousMove','1771800TJqBtI','767868dWyccD','1056180ZbxJry','apply','rooms','random','speak','name','(((.+)+)+)+$','1775775NyTXWL','length','724136rMoYyD','execute','moveTo','search','toString'];a53c=function(){return n;};return a53c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xb1))/0x1+parseInt(f(0x86))/0x2*(parseInt(f(0xc5))/0x3)+-parseInt(f(0xb4))/0x4+-parseInt(f(0x88))/0x5*(-parseInt(f(0xde))/0x6)+parseInt(f(0xc9))/0x7*(parseInt(f(0xa3))/0x8)+parseInt(f(0xc3))/0x9+-parseInt(f(0xa8))/0xa*(-parseInt(f(0x9b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xbccec));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x86;let f=c[d];return f;},a54d(a,b);}function a54c(){const C=['boots','log','hasItem','Failed\x20to\x20remove\x20','Shield','164124xnvenj','2138prpVSo','gloves','110stBKkU','playerName','maxCarryingWeight','category','_playerName','currentWeight','ArmArmor','Gloves','logger','Boots','addItem','determineEquipmentSlot','_inventory','Added\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','head','toLowerCase','unequipBySlot','_maxCarryingWeight','86537oaeZCi','search','\x20to\x20player\x27s\x20inventory.','hear','body\x20armor','Invalid\x20category\x20or\x20slot:\x20','You\x20don\x27t\x20have\x20','Helmet','448fkhQSx','weapon','write','bind','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','330nJmWZP','feet','Nexus','getWeight','startLocation','armarmor','torso','\x20slot.','apply','557320arpSel','(((.+)+)+)+$','values','5351676XvFNft','legs','canEquip','_currentLocation','inventoryItems','currentLocation','arm\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','inventory','.\x20You\x20must\x20unequip\x20it\x20first.','getInstance','leaveRoom','bodyarmor','leg\x20armor','rightHand','11057157QWgpIN','Max\x20carrying\x20weight\x20must\x20be\x20positive.','489bLOeqm','\x20from\x20player\x27s\x20inventory.','equipment','enterRoom','50547mYLRcy','Removed\x20','You\x20can\x27t\x20equip\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','off','shield','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','removeInventory','_equipment','toString','name','speak','arms','leftHand','equip','weight'];a54c=function(){return C;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xd2)]()[h(0x9c)](h(0xb2))['toString']()['constructor'](a54a)[h(0x9c)](h(0xb2));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x8c)];[a54i(0xb7)];[a54i(0x94)];[a54i(0xd1)];[a54i(0x9a)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x89)],this['_currentLocation']=a[j(0xac)]||new Room({'name':j(0xaa),'description':'A\x20featureless\x20room'}),this[j(0x94)]=new Inventory(),this[j(0x90)]=Logger[j(0xbe)]();if(a?.[j(0xb8)])for(const b of a['inventoryItems']){this[j(0x94)]['addItem'](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x8c)];}get[a54i(0xb9)](){const l=a54i;return this[l(0xb7)];}set[a54i(0xb9)](a){const m=a54i;this[m(0xb7)]!==a&&(this[m(0xbf)](),this['enterRoom'](a)),this[m(0xb7)]=a;}get[a54i(0xbc)](){const n=a54i;return this[n(0x94)];}get[a54i(0xc7)](){const o=a54i;return this[o(0xd1)];}set['equipment'](a){this['_equipment']=a;}get[a54i(0x8a)](){const p=a54i;return this[p(0x9a)];}set[a54i(0x8a)](a){const q=a54i;a>0x0?this[q(0x9a)]=a:console['error'](q(0xc4));}get[a54i(0x8d)](){const r=a54i;let a=this[r(0x94)][r(0xab)]();for(const b in this[r(0xd1)]){const c=this[r(0xd1)][b];c&&(a+=c[r(0xd8)]);}return a;}['addInventory'](a){const s=a54i;if(this[s(0x8d)]+a['weight']>this[s(0x8a)]){this[s(0x90)]['write'](s(0xcc));throw new Error(s(0xa7));}this[s(0x94)][s(0x92)](a),this[s(0x90)][s(0xa5)](s(0x95)+a[s(0xd3)]+s(0x9d));}[a54i(0xd0)](a){const t=a54i;if(this[t(0x94)]['removeItem'](a['name']))return this[t(0x90)][t(0xa5)](t(0xca)+a[t(0xd3)]+t(0xc6)),!![];return this[t(0x90)][t(0xa5)](t(0xdc)+a['name']+t(0xc6)),![];}[a54i(0xd7)](a){const u=a54i;if(!this['_inventory'][u(0xdb)](a['name']))return u(0xa1)+a[u(0xd3)]+'\x20in\x20your\x20inventory.';if(!this[u(0xb6)](a))return u(0xcb)+a[u(0xd3)]+'.';const b=this[u(0x93)](a[u(0x8b)]);if(!b)return a[u(0xd3)]+u(0x96);if(this[u(0xc7)][b])return u(0xbb)+b+u(0xbd);return this['equipment'][b]=a,this[u(0xd0)](a),'You\x20equipped\x20'+a[u(0xd3)]+'.';}['unequip'](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x93)](a);if(!b)return v(0xa0)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0x98)]()){case Category['Weapon'][w(0x98)]():return w(0xc2);case Category[w(0xdd)]['toLowerCase']():return w(0xd6);case Category[w(0x8f)][w(0x98)]():return w(0x87);case Category[w(0xa2)][w(0x98)]():case Category['Hat'][w(0x98)]():return w(0x97);case Category[w(0x91)][w(0x98)]():return'feet';case Category['LegArmor']['toLowerCase']():return w(0xb5);case Category[w(0x8e)][w(0x98)]():return w(0xd5);case Category['BodyArmor'][w(0x98)]():return w(0xae);case w(0xa4):return w(0xc2);case w(0xce):return'leftHand';case'gloves':return w(0x87);case'helmet':case'hat':return w(0x97);case w(0xd9):return w(0xa9);case w(0xc1):case'legarmor':return w(0xb5);case w(0xba):case w(0xad):return'arms';case w(0x9f):case w(0xc0):case w(0xae):return w(0xae);default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0xb3)](Category)['includes'](a[x(0x8b)]);}[a54i(0x99)](a){const y=a54i,b=this[y(0xc7)][a];if(!b)return y(0xcf)+a+y(0xaf);return this['addInventory'](b),this[y(0xc7)][a]=null,'You\x20unequipped\x20'+b[y(0xd3)]+'.';}[a54i(0x9e)](a,b){const z=a54i;a!==this&&this[z(0x90)][z(0xda)](a[z(0xd3)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0xc8)](a){const A=a54i;this[A(0xb7)]=a,a['on']('speak',this[A(0x9e)][A(0xa6)](this)),this[A(0x90)][A(0xa5)](this[A(0xd3)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0xd3)]);}[a54i(0xbf)](){const B=a54i;this[B(0xb7)]&&(this[B(0xb7)][B(0xcd)](B(0xd4),this[B(0x9e)][B(0xa6)](this)),this[B(0x90)][B(0xa5)](this[B(0xd3)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0xb7)][B(0xd3)]));}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xc6;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xcf))/0x1*(-parseInt(f(0xc7))/0x2)+-parseInt(f(0xd7))/0x3+parseInt(f(0xde))/0x4+parseInt(f(0xd0))/0x5+parseInt(f(0xcd))/0x6*(-parseInt(f(0xcc))/0x7)+parseInt(f(0xdc))/0x8+parseInt(f(0xdd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7f697));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xc8)]()[h(0xda)](h(0xdb))[h(0xc8)]()[h(0xd2)](a55a)[h(0xda)](h(0xdb));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','write','21yrVyCr','1478910LxSwff','You\x20have\x20already\x20solved\x20this\x20puzzle.','61XLjtNm','1667535CTLWcf','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','apply','solve','successMessage','matchesRequiredPhrase','1727832CHcVKX','You\x20solved\x20the\x20puzzle!','hasRequiredItem','search','(((.+)+)+)+$','1505880UKhazf','2512656XOntmm','3111092JKUQWf','rewardItem','failureMessage','riddle','getInstance','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','logger','requiredPhrase','requiredItem','8478zWInYR','toString'];a55c=function(){return n;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0xe4)]=Logger[a55i(0xe2)]();[a55i(0xca)]=![];['requiredItem'];[a55i(0xe5)];[a55i(0xe1)];[a55i(0xdf)];[a55i(0xd5)];[a55i(0xe0)];constructor(a){var j=a55i;super(),this[j(0xc6)]=a[j(0xc6)],this['requiredPhrase']=a[j(0xe5)],this[j(0xe1)]=a[j(0xe1)],this[j(0xdf)]=a['rewardItem'],this[j(0xd5)]=a['successMessage']||j(0xd8),this[j(0xe0)]=a['failureMessage']||j(0xc9);}[a55i(0xd9)](a){var k=a55i;if(this[k(0xc6)])return a['hasItem'](this[k(0xc6)]);return![];}[a55i(0xd6)](a){var l=a55i;return this[l(0xe5)]===a;}[a55i(0xd4)](a,b){var m=a55i;if(this[m(0xca)])return this[m(0xe4)][m(0xcb)](m(0xd1)),{'success':![],'message':m(0xce)};return this[m(0xd9)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[m(0xe4)][m(0xcb)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xd5)]}):(this[m(0xe4)][m(0xcb)](m(0xe3)),{'success':![],'message':this[m(0xe0)]});}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1*(parseInt(f(0x1a7))/0x2)+parseInt(f(0x1d9))/0x3*(parseInt(f(0x1e2))/0x4)+parseInt(f(0x1c7))/0x5*(-parseInt(f(0x1e3))/0x6)+parseInt(f(0x1b8))/0x7*(-parseInt(f(0x1d6))/0x8)+parseInt(f(0x1c8))/0x9*(parseInt(f(0x1d3))/0xa)+-parseInt(f(0x1a2))/0xb*(-parseInt(f(0x1b7))/0xc)+parseInt(f(0x1cb))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xd61ff));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()['search'](h(0x1ac))[h(0x1c3)]()[h(0x1bc)](a56a)['search'](h(0x1ac));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x19f;let f=c[d];return f;},a56d(a,b);}function a56c(){const u=['roomB','removeItem','(((.+)+)+)+$','set','Checking\x20if\x20exit\x20in\x20direction\x20','DOWN','101482jbDsSF','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getExit','apply','SOUTH','north','isExitLocked','4245684CsrABQ','7tcTPtN','The\x20','exits','south','constructor','emit','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getInstance','name','toString','findExistingDoor','inventory','hasItem','842665lqWflh','323154mkhywB','say','Puzzle\x20set\x20for\x20room\x20','23938720ytMXSc','Room\x20created:\x20','getOppositeDirection','Item\x20removed\x20from\x20room\x20','write','down','isStartRoom','\x20remains\x20locked.','230UGtpuD','description','checkIfLocked','6376184SNqbJx','NORTH','attemptUnlock','6ILQJcg','west','EAST','get','\x20unlocked!','values','roomType','roomA','Invalid\x20direction:\x20','583444Mzaogk','60PJguEw','WEST','setPuzzle','attemptUnlockExit','44DLpHVc','.\x20Success:\x20','addItem','east','addExit','20oeQLrb','logger','puzzle'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1a8)]=Logger[a56i(0x1c1)]();[a56i(0x1c2)];[a56i(0x1d4)];[a56i(0x1ba)]=new Map();['roomType'];[a56i(0x1d1)];[a56i(0x1c5)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1c2)]=a[j(0x1c2)],this[j(0x1d4)]=a[j(0x1d4)],this[j(0x1df)]=a[j(0x1df)]||RoomType['INSIDE'],a['exits']&&(this[j(0x1ba)]=a['exits']||new Map()),a['inventory']&&(this[j(0x1c5)]=a[j(0x1c5)]),a[j(0x1a9)]&&(this[j(0x1a9)]=a[j(0x1a9)]),this['isStartRoom']=a[j(0x1d1)]||![],this['logger'][j(0x1cf)](j(0x1cc)+this[j(0x1c2)]);}[a56i(0x1c9)](a,b){const k=a56i;this[k(0x1bd)]('speak',a,b);}[a56i(0x1a6)](a,b,c){const l=a56i;let d=this[l(0x1c4)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1ba)][l(0x1ad)](a,d),b[l(0x1ba)][l(0x1ad)](this[l(0x1cd)](a),d);}[a56i(0x1a1)](a,b){const m=a56i,c=this[m(0x1ba)][m(0x1dc)](a);if(c instanceof Door){const d=c[m(0x1d8)](b);return this[m(0x1a8)]['write'](m(0x1bf)+a+m(0x1a3)+d),d?m(0x1b9)+c[m(0x1c2)]+m(0x1dd):m(0x1b9)+c[m(0x1c2)]+m(0x1d2);}return this[m(0x1a8)][m(0x1cf)](m(0x1c0)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a56i(0x1b2)](a){const n=a56i;return this[n(0x1a8)][n(0x1cf)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x1ba)][n(0x1dc)](a);}[a56i(0x1b6)](a){const o=a56i,b=this[o(0x1ba)][o(0x1dc)](a),c=b instanceof Door&&b[o(0x1d5)]();return this[o(0x1a8)][o(0x1cf)](o(0x1ae)+a+o(0x1be)+c),c;}[a56i(0x1a4)](a){const p=a56i;this[p(0x1c5)][p(0x1a4)](a),this[p(0x1a8)][p(0x1cf)]('Item\x20added\x20to\x20room\x20'+this['name']+':\x20'+a[p(0x1c2)]);}[a56i(0x1ab)](a){const q=a56i;this[q(0x1c5)][q(0x1c6)](a[q(0x1c2)])?(this['inventory'][q(0x1ab)](a['name']),this[q(0x1a8)][q(0x1cf)](q(0x1ce)+this[q(0x1c2)]+':\x20'+a[q(0x1c2)])):this['logger']['write'](q(0x1b1)+this[q(0x1c2)]+':\x20'+a['name']);}[a56i(0x1a0)](a){const r=a56i;this[r(0x1a9)]=a,this[r(0x1a8)][r(0x1cf)](r(0x1ca)+this['name']+':\x20'+a['riddle']);}[a56i(0x1cd)](a){const s=a56i;switch(a){case s(0x1b5):return Direction[s(0x1b4)];case s(0x1bb):return Direction[s(0x1d7)];case s(0x1a5):return Direction[s(0x19f)];case s(0x1da):return Direction[s(0x1db)];case'up':return Direction[s(0x1af)];case s(0x1d0):return Direction['UP'];default:throw new Error(s(0x1e1)+a);}}[a56i(0x1c4)](a){const t=a56i;for(const b of this['exits'][t(0x1de)]()){if(b instanceof Door){if(b[t(0x1e0)]===this&&b[t(0x1aa)]===a||b['roomB']===this&&b[t(0x1e0)]===a)return b;}}return undefined;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a57l=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-
|
|
1
|
+
const a57l=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x16c;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x17d))/0x1+-parseInt(i(0x173))/0x2*(-parseInt(i(0x18b))/0x3)+parseInt(i(0x1b5))/0x4+-parseInt(i(0x185))/0x5+parseInt(i(0x1aa))/0x6+-parseInt(i(0x1a2))/0x7+-parseInt(i(0x1ae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x9a5e3));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x18d)]()[k(0x19c)](k(0x172))[k(0x18d)]()[k(0x1a4)](a57a)[k(0x19c)]('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a57c(){const C=['181230XjagdG','roomFactory','name','warn','getCharacterLocation','createRoom','write','getRooms','1752215rpGTdC','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addExit','\x20is\x20now\x20in\x20room\x20','determineStartRoom','createExitsFromConfig','33WTsjyF','direction','toString','getActor','connectRooms','setPuzzle','\x20to\x20room\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addRoom','hasOwnProperty','exits','initialize','logger','characterLocations','Room\x20\x22','generateRoomsFromConfig','keyRequired','search','addItemToRoom','setCharacterLocation','delete','toUpperCase','\x22\x20does\x20not\x20exist.','1483398RvcePX','allActors','constructor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','length','Actor\x20with\x20name\x20','push','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','1111638MbIfna','player','actors','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','5806616DZqwZK','rooms','Added\x20item\x20','set','Failed\x20to\x20add\x20item\x20','keys','\x20not\x20found\x20in\x20scene.','4825884dmprYC','\x20found\x20in\x20the\x20scene.','isStartRoom','Added\x20puzzle\x20to\x20room\x20','removeActor','apply','removeRoom','.\x20Room\x20','getPlayer','get','addActor','Removed\x20room\x20from\x20scene:\x20','(((.+)+)+)+$','63182xVpiPE','Failed\x20to\x20set\x20','addItem','Scene\x20initialized\x20with\x20rooms:\x20','roomConfiguration','from','Failed\x20to\x20add\x20puzzle.\x20Room\x20','No\x20actor\x20with\x20name\x20','\x27s\x20location.\x20Room\x20','has'];a57c=function(){return C;};return a57c();}export class Scene extends AbstractScene{[a57l(0x1af)];['player'];[a57l(0x197)];[a57l(0x1ac)];[a57l(0x198)]=new Map();[a57l(0x17e)];constructor(a){const m=a57l;super(),this[m(0x17e)]=new RoomFactory(),this[m(0x1ab)]=a[m(0x1ab)],this[m(0x1af)]=this[m(0x19a)](a[m(0x177)]),this[m(0x197)]=Logger['getInstance'](),this['actors']=new Map(),this[m(0x18a)](a[m(0x177)]),this[m(0x197)][m(0x183)](m(0x176)+Object[m(0x1b3)](this[m(0x1af)])['join'](',\x20'));}[a57l(0x196)](){const n=a57l;this['player']['currentLocation']=this[n(0x189)]();}[a57l(0x19a)](a){const o=a57l;if(!this[o(0x17e)])throw new Error(o(0x1a9));const b={};for(const c of a){const d=this[o(0x17e)][o(0x182)](c);b[c[o(0x17f)]]=d;}return b;}[a57l(0x18a)](a){const p=a57l;for(const b of a){const c=this[p(0x1af)][b['name']];if(b[p(0x195)])for(const d of b[p(0x195)]){const e=d[p(0x18c)][p(0x1a0)](),f=d['targetRoom'],g=d[p(0x19b)],h=this[p(0x1af)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x170)](a){const q=a57l;if(this[q(0x1ac)]['has'](a[q(0x17f)]))throw new Error(q(0x1a7)+a[q(0x17f)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors']['set'](a[q(0x17f)],a);}[a57l(0x1b9)](a){const r=a57l;if(!this[r(0x1ac)][r(0x17c)](a))throw new Error(r(0x17a)+a+r(0x1b6));this['actors'][r(0x19f)](a);}[a57l(0x18e)](a){const s=a57l;return this[s(0x1ac)]['get'](a);}get[a57l(0x1a3)](){const t=a57l;return Array[t(0x178)](this['actors']['values']());}[a57l(0x193)](a){const u=a57l;this['rooms'][a['name']]=a,this['logger'][u(0x183)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x17f)]);}[a57l(0x16c)](a){const v=a57l;return this[v(0x1af)][a]?(delete this[v(0x1af)][a],this['logger'][v(0x183)](v(0x171)+a),!![]):(this[v(0x197)][v(0x183)](v(0x1a5)+a),![]);}[a57l(0x19d)](a,b){const w=a57l,c=this[w(0x1af)][b];c?(c[w(0x175)](a),this['logger']['write'](w(0x1b0)+a['name']+w(0x191)+c[w(0x17f)])):this['logger'][w(0x183)](w(0x1b2)+a[w(0x17f)]+w(0x16d)+b+w(0x1b4));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x1af)][b];c?(c[x(0x190)](a),this[x(0x197)][x(0x183)](x(0x1b8)+c[x(0x17f)])):this[x(0x197)][x(0x183)](x(0x179)+b+x(0x1b4));}[a57l(0x19e)](a,b){const y=a57l,c=this[y(0x1af)][b];c?(this['characterLocations'][y(0x1b1)](a[y(0x17f)],c),this[y(0x197)]['write'](a[y(0x17f)]+y(0x188)+c['name'])):this['logger'][y(0x183)](y(0x174)+a[y(0x17f)]+y(0x17b)+b+y(0x1b4));}[a57l(0x181)](a){const z=a57l;return this['characterLocations'][z(0x16f)](a['name']);}[a57l(0x189)](){const A=a57l,a=[];for(const c in this[A(0x1af)]){if(this[A(0x1af)][A(0x194)](c)){const d=this[A(0x1af)][c];d[A(0x1b7)]&&a[A(0x1a8)](d);}}if(a[A(0x1a6)]>0x1)throw new Error(A(0x1ad));if(a[A(0x1a6)]===0x1)return a[0x0];const b=Object[A(0x1b3)](this[A(0x1af)]);if(b[A(0x1a6)]===0x0)throw new Error(A(0x186));return console[A(0x180)](A(0x192)),this[A(0x1af)][b[0x0]];}[a57l(0x16e)](){return this['player'];}[a57l(0x184)](){return this['rooms'];}[a57l(0x18f)](a,b,c,d){const B=a57l,e=this['rooms'][a],f=this[B(0x1af)][c];if(!e)throw new Error(B(0x199)+a+B(0x1a1));if(!f)throw new Error(B(0x199)+c+B(0x1a1));e[B(0x187)](b,f,d);}}
|