@nayan-ui/games 1.19.0 → 1.21.0
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/README.md +53 -191
- package/lib/module/assets/fonts/Inter-SemiBold.ttf +0 -0
- package/lib/module/assets/models/explorer/explorer.glb +0 -0
- package/lib/module/assets/models/explorer/params.json +51 -0
- package/lib/module/assets/models/explorer/source.json +222 -0
- package/lib/module/assets/models/play-with-tua/play-with-tua.glb +0 -0
- package/lib/module/assets/models/play-with-tua/sources.json +141 -0
- package/lib/module/assets/sfx/balloon_pop.wav +0 -0
- package/lib/module/assets/sfx/blocked.wav +0 -0
- package/lib/module/assets/sfx/boing.wav +0 -0
- package/lib/module/assets/sfx/bonus.wav +0 -0
- package/lib/module/assets/sfx/boom.wav +0 -0
- package/lib/module/assets/sfx/bump.wav +0 -0
- package/lib/module/assets/sfx/cannon.wav +0 -0
- package/lib/module/assets/sfx/capture.wav +0 -0
- package/lib/module/assets/sfx/card_flip.wav +0 -0
- package/lib/module/assets/sfx/card_place.wav +0 -0
- package/lib/module/assets/sfx/catch.wav +0 -0
- package/lib/module/assets/sfx/chime.wav +0 -0
- package/lib/module/assets/sfx/chomp.wav +0 -0
- package/lib/module/assets/sfx/chomp_alt.wav +0 -0
- package/lib/module/assets/sfx/clack.wav +0 -0
- package/lib/module/assets/sfx/clang.wav +0 -0
- package/lib/module/assets/sfx/clash.wav +0 -0
- package/lib/module/assets/sfx/click.wav +0 -0
- package/lib/module/assets/sfx/coin.wav +0 -0
- package/lib/module/assets/sfx/combo.wav +0 -0
- package/lib/module/assets/sfx/crash.wav +0 -0
- package/lib/module/assets/sfx/crunch.wav +0 -0
- package/lib/module/assets/sfx/dance.wav +0 -0
- package/lib/module/assets/sfx/deselect.wav +0 -0
- package/lib/module/assets/sfx/dice_roll.wav +0 -0
- package/lib/module/assets/sfx/die.wav +0 -0
- package/lib/module/assets/sfx/draw.wav +0 -0
- package/lib/module/assets/sfx/drop.wav +0 -0
- package/lib/module/assets/sfx/eat.wav +0 -0
- package/lib/module/assets/sfx/engine.wav +0 -0
- package/lib/module/assets/sfx/error.wav +0 -0
- package/lib/module/assets/sfx/flag.wav +0 -0
- package/lib/module/assets/sfx/flap.wav +0 -0
- package/lib/module/assets/sfx/flip_disc.wav +0 -0
- package/lib/module/assets/sfx/footstep_run.wav +0 -0
- package/lib/module/assets/sfx/footstep_walk.wav +0 -0
- package/lib/module/assets/sfx/game_over.wav +0 -0
- package/lib/module/assets/sfx/gate.wav +0 -0
- package/lib/module/assets/sfx/hit.wav +0 -0
- package/lib/module/assets/sfx/hop.wav +0 -0
- package/lib/module/assets/sfx/hurt.wav +0 -0
- package/lib/module/assets/sfx/invalid.wav +0 -0
- package/lib/module/assets/sfx/jump.wav +0 -0
- package/lib/module/assets/sfx/ladder.wav +0 -0
- package/lib/module/assets/sfx/land.wav +0 -0
- package/lib/module/assets/sfx/laugh.wav +0 -0
- package/lib/module/assets/sfx/lose.wav +0 -0
- package/lib/module/assets/sfx/merge.wav +0 -0
- package/lib/module/assets/sfx/miss.wav +0 -0
- package/lib/module/assets/sfx/nitro.wav +0 -0
- package/lib/module/assets/sfx/pew.wav +0 -0
- package/lib/module/assets/sfx/place.wav +0 -0
- package/lib/module/assets/sfx/pling.wav +0 -0
- package/lib/module/assets/sfx/point.wav +0 -0
- package/lib/module/assets/sfx/pop.wav +0 -0
- package/lib/module/assets/sfx/pop_soft.wav +0 -0
- package/lib/module/assets/sfx/power_up.wav +0 -0
- package/lib/module/assets/sfx/reveal.wav +0 -0
- package/lib/module/assets/sfx/robot.wav +0 -0
- package/lib/module/assets/sfx/rotate.wav +0 -0
- package/lib/module/assets/sfx/run_steps.wav +0 -0
- package/lib/module/assets/sfx/select.wav +0 -0
- package/lib/module/assets/sfx/shuffle.wav +0 -0
- package/lib/module/assets/sfx/six.wav +0 -0
- package/lib/module/assets/sfx/slice.wav +0 -0
- package/lib/module/assets/sfx/slide.wav +0 -0
- package/lib/module/assets/sfx/snake.wav +0 -0
- package/lib/module/assets/sfx/snap.wav +0 -0
- package/lib/module/assets/sfx/splash.wav +0 -0
- package/lib/module/assets/sfx/star.wav +0 -0
- package/lib/module/assets/sfx/start.wav +0 -0
- package/lib/module/assets/sfx/swoosh.wav +0 -0
- package/lib/module/assets/sfx/tap.wav +0 -0
- package/lib/module/assets/sfx/thud.wav +0 -0
- package/lib/module/assets/sfx/thunk.wav +0 -0
- package/lib/module/assets/sfx/tick.wav +0 -0
- package/lib/module/assets/sfx/time_up.wav +0 -0
- package/lib/module/assets/sfx/tock.wav +0 -0
- package/lib/module/assets/sfx/walk_steps.wav +0 -0
- package/lib/module/assets/sfx/warning.wav +0 -0
- package/lib/module/assets/sfx/whack.wav +0 -0
- package/lib/module/assets/sfx/whoosh.wav +0 -0
- package/lib/module/assets/sfx/win.wav +0 -0
- package/lib/module/assets/sfx/zap.wav +0 -0
- package/lib/module/assets/textures/ad_bolt.png +0 -0
- package/lib/module/assets/textures/ad_bubbles.png +0 -0
- package/lib/module/assets/textures/ad_chevrons.png +0 -0
- package/lib/module/assets/textures/asphalt.png +0 -0
- package/lib/module/assets/textures/bark.jpg +0 -0
- package/lib/module/assets/textures/explorer-atlas.png +0 -0
- package/lib/module/assets/textures/facade.png +0 -0
- package/lib/module/assets/textures/grass.png +0 -0
- package/lib/module/assets/textures/leaves.png +0 -0
- package/lib/module/assets/textures/limestone.jpg +0 -0
- package/lib/module/assets/textures/meadow.jpg +0 -0
- package/lib/module/assets/textures/nature-sources.json +87 -0
- package/lib/module/assets/textures/pine.png +0 -0
- package/lib/module/assets/textures/river.jpg +0 -0
- package/lib/module/assets/textures/soft_glow.png +0 -0
- package/lib/module/games/arrows/Arrows.js +1 -1
- package/lib/module/games/arrows/ArrowsConstants.js +1 -1
- package/lib/module/games/arrows/ArrowsGame.js +1 -0
- package/lib/module/games/arrows/ArrowsScene.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlaster.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterConstants.js +1 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterGame.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterPhysics.js +1 -0
- package/lib/module/games/balloon-blaster/BalloonBlasterScene.js +1 -0
- package/lib/module/games/bike-racing/BikeMeshes.js +1 -0
- package/lib/module/games/bike-racing/BikeRacing.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingConstants.js +1 -1
- package/lib/module/games/bike-racing/BikeRacingGame.js +1 -0
- package/lib/module/games/bike-racing/BikeRacingScene.js +1 -0
- package/lib/module/games/block-blast/BlockBlast.js +1 -1
- package/lib/module/games/block-blast/BlockBlastConstants.js +1 -1
- package/lib/module/games/block-blast/BlockBlastGame.js +1 -0
- package/lib/module/games/block-blast/BlockBlastScene.js +1 -0
- package/lib/module/games/block-breaker/BlockBreaker.js +1 -1
- package/lib/module/games/block-breaker/BlockBreakerConstants.js +1 -1
- package/lib/module/games/block-breaker/BlockBreakerGame.js +1 -0
- package/lib/module/games/block-breaker/BlockBreakerScene.js +1 -0
- package/lib/module/games/bluk/Bluk.js +1 -1
- package/lib/module/games/bluk/BlukConstants.js +1 -1
- package/lib/module/games/bluk/BlukGame.js +1 -0
- package/lib/module/games/bluk/BlukRules.js +1 -0
- package/lib/module/games/bluk/BlukScene.js +1 -0
- package/lib/module/games/bubble-shooter/BubbleShooter.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterConstants.js +1 -1
- package/lib/module/games/bubble-shooter/BubbleShooterGame.js +1 -0
- package/lib/module/games/bubble-shooter/BubbleShooterScene.js +1 -0
- package/lib/module/games/candy-crush/CandyCrush.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushConstants.js +1 -1
- package/lib/module/games/candy-crush/CandyCrushGame.js +1 -0
- package/lib/module/games/candy-crush/CandyCrushScene.js +1 -0
- package/lib/module/games/car-racing/CarMeshes.js +1 -0
- package/lib/module/games/car-racing/CarRacing.js +1 -1
- package/lib/module/games/car-racing/CarRacingConstants.js +1 -1
- package/lib/module/games/car-racing/CarRacingFacade.js +1 -0
- package/lib/module/games/car-racing/CarRacingGame.js +1 -0
- package/lib/module/games/car-racing/CarRacingScene.js +1 -0
- package/lib/module/games/car-racing/CarRacingScenery.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRun.js +1 -1
- package/lib/module/games/chameleon-run/ChameleonRunBackdrop.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunConstants.js +1 -1
- package/lib/module/games/chameleon-run/ChameleonRunGame.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunMeshes.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunRules.js +1 -0
- package/lib/module/games/chameleon-run/ChameleonRunScene.js +1 -0
- package/lib/module/games/checkers/Checkers.js +1 -1
- package/lib/module/games/checkers/CheckersAI.js +1 -0
- package/lib/module/games/checkers/CheckersConstants.js +1 -1
- package/lib/module/games/checkers/CheckersGame.js +1 -0
- package/lib/module/games/checkers/CheckersRules.js +1 -0
- package/lib/module/games/checkers/CheckersScene.js +1 -0
- package/lib/module/games/color-switch/ColorSwitch.js +1 -1
- package/lib/module/games/color-switch/ColorSwitchConstants.js +1 -1
- package/lib/module/games/color-switch/ColorSwitchGame.js +1 -0
- package/lib/module/games/color-switch/ColorSwitchScene.js +1 -0
- package/lib/module/games/colors-sort/ColorsSort.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortConstants.js +1 -1
- package/lib/module/games/colors-sort/ColorsSortGame.js +1 -0
- package/lib/module/games/colors-sort/ColorsSortScene.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAll.js +1 -1
- package/lib/module/games/connect-em-all/ConnectEmAllConstants.js +1 -1
- package/lib/module/games/connect-em-all/ConnectEmAllGame.js +1 -0
- package/lib/module/games/connect-em-all/ConnectEmAllScene.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoad.js +1 -1
- package/lib/module/games/crossy-road/CrossyRoadCamera.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadConstants.js +1 -1
- package/lib/module/games/crossy-road/CrossyRoadGame.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadMeshes.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadPerson.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadRules.js +1 -0
- package/lib/module/games/crossy-road/CrossyRoadScene.js +1 -0
- package/lib/module/games/dino-jump/DinoJump.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpConstants.js +1 -1
- package/lib/module/games/dino-jump/DinoJumpGame.js +1 -0
- package/lib/module/games/dino-jump/DinoJumpScene.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxes.js +1 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesConstants.js +1 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesGame.js +1 -0
- package/lib/module/games/dots-and-boxes/DotsAndBoxesScene.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticks.js +1 -1
- package/lib/module/games/falling-sticks/FallingSticksConstants.js +1 -1
- package/lib/module/games/falling-sticks/FallingSticksGame.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticksRules.js +1 -0
- package/lib/module/games/falling-sticks/FallingSticksScene.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumber.js +1 -1
- package/lib/module/games/find-different-number/FindDifferentNumberConstants.js +1 -1
- package/lib/module/games/find-different-number/FindDifferentNumberGame.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumberRules.js +1 -0
- package/lib/module/games/find-different-number/FindDifferentNumberScene.js +1 -0
- package/lib/module/games/flappy-bird/FlappyBird.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdConstants.js +1 -1
- package/lib/module/games/flappy-bird/FlappyBirdGame.js +1 -0
- package/lib/module/games/flappy-bird/FlappyBirdScene.js +1 -0
- package/lib/module/games/fruit-merger/FruitMerger.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerConstants.js +1 -1
- package/lib/module/games/fruit-merger/FruitMergerGame.js +1 -0
- package/lib/module/games/fruit-merger/FruitMergerRules.js +1 -0
- package/lib/module/games/fruit-merger/FruitMergerScene.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinja.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaConstants.js +1 -1
- package/lib/module/games/fruit-ninja/FruitNinjaGame.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaScene.js +1 -0
- package/lib/module/games/fruit-ninja/FruitNinjaWorld.js +1 -0
- package/lib/module/games/game-2048/Game2048.js +1 -1
- package/lib/module/games/game-2048/Game2048Constants.js +1 -1
- package/lib/module/games/game-2048/Game2048Game.js +1 -0
- package/lib/module/games/game-2048/Game2048Rules.js +1 -0
- package/lib/module/games/game-2048/Game2048Scene.js +1 -0
- package/lib/module/games/knife-hit/KnifeHit.js +1 -1
- package/lib/module/games/knife-hit/KnifeHitConstants.js +1 -1
- package/lib/module/games/knife-hit/KnifeHitGame.js +1 -0
- package/lib/module/games/knife-hit/KnifeHitScene.js +1 -0
- package/lib/module/games/ludo-king/LudoKing.js +1 -1
- package/lib/module/games/ludo-king/LudoKingConstants.js +1 -1
- package/lib/module/games/ludo-king/LudoKingGame.js +1 -0
- package/lib/module/games/ludo-king/LudoKingRules.js +1 -0
- package/lib/module/games/ludo-king/LudoKingScene.js +1 -0
- package/lib/module/games/maze-runner/MazeRunner.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerConstants.js +1 -1
- package/lib/module/games/maze-runner/MazeRunnerGame.js +1 -0
- package/lib/module/games/maze-runner/MazeRunnerRules.js +1 -0
- package/lib/module/games/maze-runner/MazeRunnerScene.js +1 -0
- package/lib/module/games/memory-match/MemoryMatch.js +1 -1
- package/lib/module/games/memory-match/MemoryMatchConstants.js +1 -1
- package/lib/module/games/memory-match/MemoryMatchGame.js +1 -0
- package/lib/module/games/memory-match/MemoryMatchRules.js +1 -0
- package/lib/module/games/memory-match/MemoryMatchScene.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeper.js +1 -1
- package/lib/module/games/mine-sweeper/MineSweeperConstants.js +1 -1
- package/lib/module/games/mine-sweeper/MineSweeperGame.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeperRules.js +1 -0
- package/lib/module/games/mine-sweeper/MineSweeperScene.js +1 -0
- package/lib/module/games/mob-control/MobControl.js +1 -1
- package/lib/module/games/mob-control/MobControlConstants.js +1 -1
- package/lib/module/games/mob-control/MobControlGame.js +1 -0
- package/lib/module/games/mob-control/MobControlMeshes.js +1 -0
- package/lib/module/games/mob-control/MobControlRenderer.js +1 -0
- package/lib/module/games/mob-control/MobControlRules.js +1 -0
- package/lib/module/games/mob-control/MobControlScene.js +1 -0
- package/lib/module/games/number-search/NumberSearch.js +1 -1
- package/lib/module/games/number-search/NumberSearchNumbers.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBolts.js +1 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsConstants.js +1 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsGame.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsRules.js +1 -0
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsScene.js +1 -0
- package/lib/module/games/pac-man/PacMan.js +1 -1
- package/lib/module/games/pac-man/PacManConstants.js +1 -1
- package/lib/module/games/pac-man/PacManGame.js +1 -0
- package/lib/module/games/pac-man/PacManRules.js +1 -0
- package/lib/module/games/pac-man/PacManScene.js +1 -0
- package/lib/module/games/paper-io/PaperIo.js +1 -1
- package/lib/module/games/paper-io/PaperIoConstants.js +1 -1
- package/lib/module/games/paper-io/PaperIoGame.js +1 -0
- package/lib/module/games/paper-io/PaperIoMeshes.js +1 -0
- package/lib/module/games/paper-io/PaperIoRules.js +1 -0
- package/lib/module/games/paper-io/PaperIoScene.js +1 -0
- package/lib/module/games/penguin-run/PenguinMeshes.js +1 -0
- package/lib/module/games/penguin-run/PenguinModel.js +1 -0
- package/lib/module/games/penguin-run/PenguinRun.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunConstants.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunGame.js +1 -0
- package/lib/module/games/penguin-run/PenguinRunScene.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircle.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleConstants.js +1 -1
- package/lib/module/games/perfect-circle/PerfectCircleGame.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircleRules.js +1 -0
- package/lib/module/games/perfect-circle/PerfectCircleScene.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnect.js +1 -1
- package/lib/module/games/pipe-connect/PipeConnectConstants.js +1 -1
- package/lib/module/games/pipe-connect/PipeConnectGame.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnectRules.js +1 -0
- package/lib/module/games/pipe-connect/PipeConnectScene.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTua.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaConstants.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaGame.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaModel.js +1 -0
- package/lib/module/games/play-with-tua/PlayWithTuaScene.js +1 -0
- package/lib/module/games/popit-fidget/PopitFidget.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetConstants.js +1 -1
- package/lib/module/games/popit-fidget/PopitFidgetGame.js +1 -0
- package/lib/module/games/popit-fidget/PopitFidgetScene.js +1 -0
- package/lib/module/games/reversi/Reversi.js +1 -1
- package/lib/module/games/reversi/ReversiConstants.js +1 -1
- package/lib/module/games/reversi/ReversiGame.js +1 -0
- package/lib/module/games/reversi/ReversiRules.js +1 -0
- package/lib/module/games/reversi/ReversiScene.js +1 -0
- package/lib/module/games/search-grid/SearchGrid.js +1 -0
- package/lib/module/games/search-grid/SearchGridConstants.js +1 -0
- package/lib/module/games/search-grid/SearchGridGame.js +1 -0
- package/lib/module/games/search-grid/SearchGridScene.js +1 -0
- package/lib/module/games/shared/BackdropCard.js +1 -0
- package/lib/module/games/shared/EngineBackdrop.js +1 -0
- package/lib/module/games/shared/EngineBlasts.js +1 -0
- package/lib/module/games/shared/EngineBlocks.js +1 -0
- package/lib/module/games/shared/EngineControlText.js +1 -0
- package/lib/module/games/shared/EngineDice.js +1 -0
- package/lib/module/games/shared/EngineFootprint.js +1 -0
- package/lib/module/games/shared/EngineFruits.js +1 -0
- package/lib/module/games/shared/EngineGameLoader.js +1 -0
- package/lib/module/games/shared/EngineGameScreen.js +1 -0
- package/lib/module/games/shared/EngineGameWidth.js +1 -0
- package/lib/module/games/shared/EngineGameWidth.web.js +1 -0
- package/lib/module/games/shared/EngineGlyphs.js +1 -0
- package/lib/module/games/shared/EngineHud.js +1 -0
- package/lib/module/games/shared/EngineLoading.js +1 -0
- package/lib/module/games/shared/EngineMeadow.js +1 -0
- package/lib/module/games/shared/EngineMeshCache.js +1 -0
- package/lib/module/games/shared/EngineMeshes.js +1 -0
- package/lib/module/games/shared/EngineRacingChase.js +1 -0
- package/lib/module/games/shared/EngineRacingHandling.js +1 -0
- package/lib/module/games/shared/EngineReadyContext.js +1 -0
- package/lib/module/games/shared/EngineTilt.js +1 -0
- package/lib/module/games/shared/EngineTouchSurface.js +1 -0
- package/lib/module/games/shared/EngineUtils.js +1 -0
- package/lib/module/games/shared/GameActivity.js +1 -0
- package/lib/module/games/shared/GameLoading.js +1 -0
- package/lib/module/games/shared/GameLoadingTransition.js +1 -0
- package/lib/module/games/shared/ProceduralCacheVersion.js +1 -0
- package/lib/module/games/shared/useEngineGame.js +1 -0
- package/lib/module/games/shared/useGameResource.js +1 -0
- package/lib/module/games/shared/useLiveState.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbers.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersConstants.js +1 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersGame.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersRules.js +1 -0
- package/lib/module/games/sliding-numbers/SlidingNumbersScene.js +1 -0
- package/lib/module/games/snake-3d/Snake3D.js +1 -1
- package/lib/module/games/snake-3d/Snake3DConstants.js +1 -1
- package/lib/module/games/snake-3d/Snake3DGame.js +1 -0
- package/lib/module/games/snake-3d/Snake3DMotion.js +1 -0
- package/lib/module/games/snake-3d/Snake3DRules.js +1 -0
- package/lib/module/games/snake-3d/Snake3DScene.js +1 -0
- package/lib/module/games/snakes-and-ladders/SnakesAndLadders.js +1 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersConstants.js +1 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersGame.js +1 -0
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersScene.js +1 -0
- package/lib/module/games/space-fighter/SpaceFighter.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterConstants.js +1 -1
- package/lib/module/games/space-fighter/SpaceFighterGame.js +1 -0
- package/lib/module/games/space-fighter/SpaceFighterScene.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaire.js +1 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireConstants.js +1 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireGame.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireRules.js +1 -0
- package/lib/module/games/spider-solitaire/SpiderSolitaireScene.js +1 -0
- package/lib/module/games/stack-tower/StackTower.js +1 -1
- package/lib/module/games/stack-tower/StackTowerConstants.js +1 -1
- package/lib/module/games/stack-tower/StackTowerGame.js +1 -0
- package/lib/module/games/stack-tower/StackTowerScene.js +1 -0
- package/lib/module/games/sudoku/Sudoku.js +1 -1
- package/lib/module/games/sudoku/SudokuConstants.js +1 -1
- package/lib/module/games/sudoku/SudokuGame.js +1 -0
- package/lib/module/games/sudoku/SudokuRules.js +1 -0
- package/lib/module/games/sudoku/SudokuScene.js +1 -0
- package/lib/module/games/tangram/Tangram.js +1 -1
- package/lib/module/games/tangram/TangramConstants.js +1 -1
- package/lib/module/games/tangram/TangramGame.js +1 -0
- package/lib/module/games/tangram/TangramRules.js +1 -0
- package/lib/module/games/tangram/TangramScene.js +1 -0
- package/lib/module/games/tank-1990/Tank1990.js +1 -1
- package/lib/module/games/tank-1990/Tank1990Constants.js +1 -1
- package/lib/module/games/tank-1990/Tank1990Game.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Rules.js +1 -0
- package/lib/module/games/tank-1990/Tank1990Scene.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToe.js +1 -1
- package/lib/module/games/tic-tac-toe/TicTacToeConstants.js +1 -1
- package/lib/module/games/tic-tac-toe/TicTacToeGame.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeRules.js +1 -0
- package/lib/module/games/tic-tac-toe/TicTacToeScene.js +1 -0
- package/lib/module/games/tile-home/TileHome.js +1 -1
- package/lib/module/games/tile-home/TileHomeConstants.js +1 -1
- package/lib/module/games/tile-home/TileHomeGame.js +1 -0
- package/lib/module/games/tile-home/TileHomeScene.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHunt.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntConstants.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntControls.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntGame.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntMeshes.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntModel.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntRules.js +1 -0
- package/lib/module/games/treasure-hunt/TreasureHuntScene.js +1 -0
- package/lib/module/games/whack-a-mole/WhackAMole.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleConstants.js +1 -1
- package/lib/module/games/whack-a-mole/WhackAMoleGame.js +1 -0
- package/lib/module/games/whack-a-mole/WhackAMoleScene.js +1 -0
- package/lib/module/games/word-search/WordSearch.js +1 -1
- package/lib/module/games/word-search/WordSearchWords.js +1 -0
- package/lib/module/helpers/GamePatternData.js +1 -0
- package/lib/module/helpers/GameSettingsModal.js +1 -1
- package/lib/module/helpers/GameTheme.js +1 -0
- package/lib/module/helpers/IconPaths.js +1 -0
- package/lib/module/helpers/index.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/GameAssetLoader.js +1 -0
- package/lib/module/services/GameAssets.js +1 -0
- package/lib/module/services/GameLoaders.js +1 -0
- package/lib/module/services/GamesConstants.js +1 -1
- package/lib/module/services/GamesMetadata.js +1 -1
- package/lib/module/services/GamesService.js +1 -1
- package/lib/module/services/HapticsService.js +1 -1
- package/lib/module/services/ScoringService.js +1 -1
- package/lib/module/services/SfxSources.js +1 -0
- package/lib/module/services/SoundsService.js +1 -1
- package/lib/module/services/ThemeService.js +1 -0
- package/lib/module/services/UtilsService.js +1 -1
- package/lib/module/services/index.js +1 -1
- package/lib/typescript/src/games/arrows/Arrows.d.ts +1 -3
- package/lib/typescript/src/games/arrows/ArrowsConstants.d.ts +48 -32
- package/lib/typescript/src/games/arrows/ArrowsGame.d.ts +60 -0
- package/lib/typescript/src/games/arrows/ArrowsScene.d.ts +67 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlaster.d.ts +1 -3
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterConstants.d.ts +39 -131
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterGame.d.ts +57 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterPhysics.d.ts +16 -0
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterScene.d.ts +31 -0
- package/lib/typescript/src/games/bike-racing/BikeMeshes.d.ts +14 -0
- package/lib/typescript/src/games/bike-racing/BikeRacing.d.ts +2 -1
- package/lib/typescript/src/games/bike-racing/BikeRacingConstants.d.ts +38 -29
- package/lib/typescript/src/games/bike-racing/BikeRacingGame.d.ts +104 -0
- package/lib/typescript/src/games/bike-racing/BikeRacingScene.d.ts +25 -0
- package/lib/typescript/src/games/block-blast/BlockBlast.d.ts +1 -3
- package/lib/typescript/src/games/block-blast/BlockBlastConstants.d.ts +48 -30
- package/lib/typescript/src/games/block-blast/BlockBlastGame.d.ts +77 -0
- package/lib/typescript/src/games/block-blast/BlockBlastScene.d.ts +36 -0
- package/lib/typescript/src/games/block-breaker/BlockBreaker.d.ts +1 -3
- package/lib/typescript/src/games/block-breaker/BlockBreakerConstants.d.ts +88 -35
- package/lib/typescript/src/games/block-breaker/BlockBreakerGame.d.ts +82 -0
- package/lib/typescript/src/games/block-breaker/BlockBreakerScene.d.ts +48 -0
- package/lib/typescript/src/games/bluk/Bluk.d.ts +1 -3
- package/lib/typescript/src/games/bluk/BlukConstants.d.ts +65 -54
- package/lib/typescript/src/games/bluk/BlukGame.d.ts +65 -0
- package/lib/typescript/src/games/bluk/BlukRules.d.ts +51 -0
- package/lib/typescript/src/games/bluk/BlukScene.d.ts +54 -0
- package/lib/typescript/src/games/bubble-shooter/BubbleShooter.d.ts +1 -3
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterConstants.d.ts +56 -24
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterGame.d.ts +70 -0
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterScene.d.ts +26 -0
- package/lib/typescript/src/games/candy-crush/CandyCrush.d.ts +1 -3
- package/lib/typescript/src/games/candy-crush/CandyCrushConstants.d.ts +63 -32
- package/lib/typescript/src/games/candy-crush/CandyCrushGame.d.ts +65 -0
- package/lib/typescript/src/games/candy-crush/CandyCrushScene.d.ts +28 -0
- package/lib/typescript/src/games/car-racing/CarMeshes.d.ts +44 -0
- package/lib/typescript/src/games/car-racing/CarRacing.d.ts +2 -1
- package/lib/typescript/src/games/car-racing/CarRacingConstants.d.ts +60 -29
- package/lib/typescript/src/games/car-racing/CarRacingFacade.d.ts +5 -0
- package/lib/typescript/src/games/car-racing/CarRacingGame.d.ts +96 -0
- package/lib/typescript/src/games/car-racing/CarRacingScene.d.ts +97 -0
- package/lib/typescript/src/games/car-racing/CarRacingScenery.d.ts +22 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRun.d.ts +1 -3
- package/lib/typescript/src/games/chameleon-run/ChameleonRunBackdrop.d.ts +14 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunConstants.d.ts +44 -42
- package/lib/typescript/src/games/chameleon-run/ChameleonRunGame.d.ts +60 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunMeshes.d.ts +20 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunRules.d.ts +52 -0
- package/lib/typescript/src/games/chameleon-run/ChameleonRunScene.d.ts +44 -0
- package/lib/typescript/src/games/checkers/Checkers.d.ts +1 -3
- package/lib/typescript/src/games/checkers/CheckersAI.d.ts +11 -0
- package/lib/typescript/src/games/checkers/CheckersConstants.d.ts +32 -72
- package/lib/typescript/src/games/checkers/CheckersGame.d.ts +56 -0
- package/lib/typescript/src/games/checkers/CheckersRules.d.ts +48 -0
- package/lib/typescript/src/games/checkers/CheckersScene.d.ts +41 -0
- package/lib/typescript/src/games/color-switch/ColorSwitch.d.ts +1 -3
- package/lib/typescript/src/games/color-switch/ColorSwitchConstants.d.ts +27 -31
- package/lib/typescript/src/games/color-switch/ColorSwitchGame.d.ts +61 -0
- package/lib/typescript/src/games/color-switch/ColorSwitchScene.d.ts +43 -0
- package/lib/typescript/src/games/colors-sort/ColorsSort.d.ts +1 -3
- package/lib/typescript/src/games/colors-sort/ColorsSortConstants.d.ts +37 -44
- package/lib/typescript/src/games/colors-sort/ColorsSortGame.d.ts +41 -0
- package/lib/typescript/src/games/colors-sort/ColorsSortScene.d.ts +33 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAll.d.ts +1 -3
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllConstants.d.ts +43 -17
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllGame.d.ts +54 -0
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllScene.d.ts +49 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoad.d.ts +1 -3
- package/lib/typescript/src/games/crossy-road/CrossyRoadCamera.d.ts +14 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadConstants.d.ts +82 -50
- package/lib/typescript/src/games/crossy-road/CrossyRoadGame.d.ts +64 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadMeshes.d.ts +16 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadPerson.d.ts +10 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadRules.d.ts +36 -0
- package/lib/typescript/src/games/crossy-road/CrossyRoadScene.d.ts +38 -0
- package/lib/typescript/src/games/dino-jump/DinoJump.d.ts +1 -3
- package/lib/typescript/src/games/dino-jump/DinoJumpConstants.d.ts +48 -72
- package/lib/typescript/src/games/dino-jump/DinoJumpGame.d.ts +60 -0
- package/lib/typescript/src/games/dino-jump/DinoJumpScene.d.ts +35 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxes.d.ts +1 -3
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesConstants.d.ts +31 -36
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesGame.d.ts +44 -0
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesScene.d.ts +31 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticks.d.ts +1 -3
- package/lib/typescript/src/games/falling-sticks/FallingSticksConstants.d.ts +31 -43
- package/lib/typescript/src/games/falling-sticks/FallingSticksGame.d.ts +42 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticksRules.d.ts +36 -0
- package/lib/typescript/src/games/falling-sticks/FallingSticksScene.d.ts +26 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumber.d.ts +1 -3
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberConstants.d.ts +33 -29
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberGame.d.ts +43 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberRules.d.ts +8 -0
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberScene.d.ts +31 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBird.d.ts +1 -3
- package/lib/typescript/src/games/flappy-bird/FlappyBirdConstants.d.ts +39 -35
- package/lib/typescript/src/games/flappy-bird/FlappyBirdGame.d.ts +66 -0
- package/lib/typescript/src/games/flappy-bird/FlappyBirdScene.d.ts +41 -0
- package/lib/typescript/src/games/fruit-merger/FruitMerger.d.ts +1 -3
- package/lib/typescript/src/games/fruit-merger/FruitMergerConstants.d.ts +71 -44
- package/lib/typescript/src/games/fruit-merger/FruitMergerGame.d.ts +63 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerRules.d.ts +39 -0
- package/lib/typescript/src/games/fruit-merger/FruitMergerScene.d.ts +49 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinja.d.ts +1 -3
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaConstants.d.ts +51 -76
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaGame.d.ts +76 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaScene.d.ts +52 -0
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaWorld.d.ts +8 -0
- package/lib/typescript/src/games/game-2048/Game2048.d.ts +1 -3
- package/lib/typescript/src/games/game-2048/Game2048Constants.d.ts +25 -120
- package/lib/typescript/src/games/game-2048/Game2048Game.d.ts +45 -0
- package/lib/typescript/src/games/game-2048/Game2048Rules.d.ts +32 -0
- package/lib/typescript/src/games/game-2048/Game2048Scene.d.ts +34 -0
- package/lib/typescript/src/games/knife-hit/KnifeHit.d.ts +1 -3
- package/lib/typescript/src/games/knife-hit/KnifeHitConstants.d.ts +41 -49
- package/lib/typescript/src/games/knife-hit/KnifeHitGame.d.ts +49 -0
- package/lib/typescript/src/games/knife-hit/KnifeHitScene.d.ts +37 -0
- package/lib/typescript/src/games/ludo-king/LudoKing.d.ts +1 -3
- package/lib/typescript/src/games/ludo-king/LudoKingConstants.d.ts +50 -28
- package/lib/typescript/src/games/ludo-king/LudoKingGame.d.ts +40 -0
- package/lib/typescript/src/games/ludo-king/LudoKingRules.d.ts +42 -0
- package/lib/typescript/src/games/ludo-king/LudoKingScene.d.ts +53 -0
- package/lib/typescript/src/games/maze-runner/MazeRunner.d.ts +1 -3
- package/lib/typescript/src/games/maze-runner/MazeRunnerConstants.d.ts +34 -10
- package/lib/typescript/src/games/maze-runner/MazeRunnerGame.d.ts +44 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerRules.d.ts +34 -0
- package/lib/typescript/src/games/maze-runner/MazeRunnerScene.d.ts +29 -0
- package/lib/typescript/src/games/memory-match/MemoryMatch.d.ts +1 -3
- package/lib/typescript/src/games/memory-match/MemoryMatchConstants.d.ts +42 -42
- package/lib/typescript/src/games/memory-match/MemoryMatchGame.d.ts +53 -0
- package/lib/typescript/src/games/memory-match/MemoryMatchRules.d.ts +14 -0
- package/lib/typescript/src/games/memory-match/MemoryMatchScene.d.ts +35 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeper.d.ts +1 -3
- package/lib/typescript/src/games/mine-sweeper/MineSweeperConstants.d.ts +43 -82
- package/lib/typescript/src/games/mine-sweeper/MineSweeperGame.d.ts +59 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeperRules.d.ts +18 -0
- package/lib/typescript/src/games/mine-sweeper/MineSweeperScene.d.ts +23 -0
- package/lib/typescript/src/games/mob-control/MobControl.d.ts +1 -3
- package/lib/typescript/src/games/mob-control/MobControlConstants.d.ts +99 -85
- package/lib/typescript/src/games/mob-control/MobControlGame.d.ts +45 -0
- package/lib/typescript/src/games/mob-control/MobControlMeshes.d.ts +2 -0
- package/lib/typescript/src/games/mob-control/MobControlRenderer.d.ts +20 -0
- package/lib/typescript/src/games/mob-control/MobControlRules.d.ts +68 -0
- package/lib/typescript/src/games/mob-control/MobControlScene.d.ts +58 -0
- package/lib/typescript/src/games/number-search/NumberSearch.d.ts +1 -3
- package/lib/typescript/src/games/number-search/NumberSearchNumbers.d.ts +1 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBolts.d.ts +1 -3
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsConstants.d.ts +27 -79
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsGame.d.ts +56 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsRules.d.ts +65 -0
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsScene.d.ts +48 -0
- package/lib/typescript/src/games/pac-man/PacMan.d.ts +1 -3
- package/lib/typescript/src/games/pac-man/PacManConstants.d.ts +66 -106
- package/lib/typescript/src/games/pac-man/PacManGame.d.ts +48 -0
- package/lib/typescript/src/games/pac-man/PacManRules.d.ts +52 -0
- package/lib/typescript/src/games/pac-man/PacManScene.d.ts +44 -0
- package/lib/typescript/src/games/paper-io/PaperIo.d.ts +1 -3
- package/lib/typescript/src/games/paper-io/PaperIoConstants.d.ts +60 -40
- package/lib/typescript/src/games/paper-io/PaperIoGame.d.ts +49 -0
- package/lib/typescript/src/games/paper-io/PaperIoMeshes.d.ts +13 -0
- package/lib/typescript/src/games/paper-io/PaperIoRules.d.ts +71 -0
- package/lib/typescript/src/games/paper-io/PaperIoScene.d.ts +39 -0
- package/lib/typescript/src/games/penguin-run/PenguinMeshes.d.ts +9 -0
- package/lib/typescript/src/games/penguin-run/PenguinModel.d.ts +42 -0
- package/lib/typescript/src/games/penguin-run/PenguinRun.d.ts +1 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunConstants.d.ts +58 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunGame.d.ts +64 -0
- package/lib/typescript/src/games/penguin-run/PenguinRunScene.d.ts +65 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircle.d.ts +1 -3
- package/lib/typescript/src/games/perfect-circle/PerfectCircleConstants.d.ts +23 -45
- package/lib/typescript/src/games/perfect-circle/PerfectCircleGame.d.ts +40 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleRules.d.ts +55 -0
- package/lib/typescript/src/games/perfect-circle/PerfectCircleScene.d.ts +32 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnect.d.ts +1 -3
- package/lib/typescript/src/games/pipe-connect/PipeConnectConstants.d.ts +36 -32
- package/lib/typescript/src/games/pipe-connect/PipeConnectGame.d.ts +40 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnectRules.d.ts +16 -0
- package/lib/typescript/src/games/pipe-connect/PipeConnectScene.d.ts +28 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTua.d.ts +2 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaConstants.d.ts +64 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaGame.d.ts +34 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaModel.d.ts +9 -0
- package/lib/typescript/src/games/play-with-tua/PlayWithTuaScene.d.ts +13 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidget.d.ts +1 -4
- package/lib/typescript/src/games/popit-fidget/PopitFidgetConstants.d.ts +25 -36
- package/lib/typescript/src/games/popit-fidget/PopitFidgetGame.d.ts +37 -0
- package/lib/typescript/src/games/popit-fidget/PopitFidgetScene.d.ts +19 -0
- package/lib/typescript/src/games/reversi/Reversi.d.ts +1 -3
- package/lib/typescript/src/games/reversi/ReversiConstants.d.ts +31 -62
- package/lib/typescript/src/games/reversi/ReversiGame.d.ts +54 -0
- package/lib/typescript/src/games/reversi/ReversiRules.d.ts +22 -0
- package/lib/typescript/src/games/reversi/ReversiScene.d.ts +27 -0
- package/lib/typescript/src/games/search-grid/SearchGrid.d.ts +20 -0
- package/lib/typescript/src/games/search-grid/SearchGridConstants.d.ts +60 -0
- package/lib/typescript/src/games/search-grid/SearchGridGame.d.ts +52 -0
- package/lib/typescript/src/games/search-grid/SearchGridScene.d.ts +43 -0
- package/lib/typescript/src/games/shared/BackdropCard.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineBackdrop.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineBlasts.d.ts +26 -0
- package/lib/typescript/src/games/shared/EngineBlocks.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineControlText.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineDice.d.ts +24 -0
- package/lib/typescript/src/games/shared/EngineFootprint.d.ts +17 -0
- package/lib/typescript/src/games/shared/EngineFruits.d.ts +27 -0
- package/lib/typescript/src/games/shared/EngineGameLoader.d.ts +4 -0
- package/lib/typescript/src/games/shared/EngineGameScreen.d.ts +48 -0
- package/lib/typescript/src/games/shared/EngineGameWidth.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineGameWidth.web.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineGlyphs.d.ts +15 -0
- package/lib/typescript/src/games/shared/EngineHud.d.ts +138 -0
- package/lib/typescript/src/games/shared/EngineLoading.d.ts +77 -0
- package/lib/typescript/src/games/shared/EngineMeadow.d.ts +90 -0
- package/lib/typescript/src/games/shared/EngineMeshCache.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineMeshes.d.ts +3 -0
- package/lib/typescript/src/games/shared/EngineRacingChase.d.ts +11 -0
- package/lib/typescript/src/games/shared/EngineRacingHandling.d.ts +15 -0
- package/lib/typescript/src/games/shared/EngineReadyContext.d.ts +2 -0
- package/lib/typescript/src/games/shared/EngineTilt.d.ts +19 -0
- package/lib/typescript/src/games/shared/EngineTouchSurface.d.ts +20 -0
- package/lib/typescript/src/games/shared/EngineUtils.d.ts +18 -0
- package/lib/typescript/src/games/shared/GameActivity.d.ts +3 -0
- package/lib/typescript/src/games/shared/GameLoading.d.ts +14 -0
- package/lib/typescript/src/games/shared/GameLoadingTransition.d.ts +9 -0
- package/lib/typescript/src/games/shared/ProceduralCacheVersion.d.ts +1 -0
- package/lib/typescript/src/games/shared/useEngineGame.d.ts +69 -0
- package/lib/typescript/src/games/shared/useGameResource.d.ts +2 -0
- package/lib/typescript/src/games/shared/useLiveState.d.ts +4 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbers.d.ts +1 -3
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersConstants.d.ts +32 -40
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersGame.d.ts +48 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersRules.d.ts +22 -0
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersScene.d.ts +30 -0
- package/lib/typescript/src/games/snake-3d/Snake3D.d.ts +1 -3
- package/lib/typescript/src/games/snake-3d/Snake3DConstants.d.ts +31 -68
- package/lib/typescript/src/games/snake-3d/Snake3DGame.d.ts +42 -0
- package/lib/typescript/src/games/snake-3d/Snake3DMotion.d.ts +3 -0
- package/lib/typescript/src/games/snake-3d/Snake3DRules.d.ts +42 -0
- package/lib/typescript/src/games/snake-3d/Snake3DScene.d.ts +35 -0
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLadders.d.ts +1 -3
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersConstants.d.ts +58 -50
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersGame.d.ts +45 -0
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersScene.d.ts +50 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighter.d.ts +1 -3
- package/lib/typescript/src/games/space-fighter/SpaceFighterConstants.d.ts +33 -23
- package/lib/typescript/src/games/space-fighter/SpaceFighterGame.d.ts +58 -0
- package/lib/typescript/src/games/space-fighter/SpaceFighterScene.d.ts +51 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaire.d.ts +1 -3
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireConstants.d.ts +52 -35
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireGame.d.ts +67 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireRules.d.ts +39 -0
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireScene.d.ts +60 -0
- package/lib/typescript/src/games/stack-tower/StackTower.d.ts +1 -3
- package/lib/typescript/src/games/stack-tower/StackTowerConstants.d.ts +31 -23
- package/lib/typescript/src/games/stack-tower/StackTowerGame.d.ts +58 -0
- package/lib/typescript/src/games/stack-tower/StackTowerScene.d.ts +27 -0
- package/lib/typescript/src/games/sudoku/Sudoku.d.ts +1 -3
- package/lib/typescript/src/games/sudoku/SudokuConstants.d.ts +50 -55
- package/lib/typescript/src/games/sudoku/SudokuGame.d.ts +56 -0
- package/lib/typescript/src/games/sudoku/SudokuRules.d.ts +23 -0
- package/lib/typescript/src/games/sudoku/SudokuScene.d.ts +44 -0
- package/lib/typescript/src/games/tangram/Tangram.d.ts +1 -3
- package/lib/typescript/src/games/tangram/TangramConstants.d.ts +33 -52
- package/lib/typescript/src/games/tangram/TangramGame.d.ts +68 -0
- package/lib/typescript/src/games/tangram/TangramRules.d.ts +61 -0
- package/lib/typescript/src/games/tangram/TangramScene.d.ts +42 -0
- package/lib/typescript/src/games/tank-1990/Tank1990.d.ts +1 -3
- package/lib/typescript/src/games/tank-1990/Tank1990Constants.d.ts +44 -127
- package/lib/typescript/src/games/tank-1990/Tank1990Game.d.ts +50 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Rules.d.ts +67 -0
- package/lib/typescript/src/games/tank-1990/Tank1990Scene.d.ts +38 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToe.d.ts +1 -3
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeConstants.d.ts +35 -72
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeGame.d.ts +54 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeRules.d.ts +10 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeScene.d.ts +26 -0
- package/lib/typescript/src/games/tile-home/TileHome.d.ts +1 -3
- package/lib/typescript/src/games/tile-home/TileHomeConstants.d.ts +72 -70
- package/lib/typescript/src/games/tile-home/TileHomeGame.d.ts +72 -0
- package/lib/typescript/src/games/tile-home/TileHomeScene.d.ts +28 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHunt.d.ts +3 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntConstants.d.ts +144 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntControls.d.ts +75 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntGame.d.ts +41 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntMeshes.d.ts +26 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntModel.d.ts +57 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntRules.d.ts +198 -0
- package/lib/typescript/src/games/treasure-hunt/TreasureHuntScene.d.ts +40 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMole.d.ts +1 -3
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleConstants.d.ts +35 -45
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleGame.d.ts +51 -0
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleScene.d.ts +31 -0
- package/lib/typescript/src/games/word-search/WordSearch.d.ts +1 -3
- package/lib/typescript/src/games/word-search/WordSearchWords.d.ts +1 -0
- package/lib/typescript/src/helpers/GamePatternData.d.ts +46 -0
- package/lib/typescript/src/helpers/GameSettingsModal.d.ts +1 -1
- package/lib/typescript/src/helpers/GameTheme.d.ts +18 -0
- package/lib/typescript/src/helpers/IconPaths.d.ts +4 -0
- package/lib/typescript/src/helpers/index.d.ts +1 -19
- package/lib/typescript/src/index.d.ts +3 -0
- package/lib/typescript/src/services/GameAssetLoader.d.ts +32 -0
- package/lib/typescript/src/services/GameAssets.d.ts +11 -0
- package/lib/typescript/src/services/GameLoaders.d.ts +18 -0
- package/lib/typescript/src/services/GamesConstants.d.ts +11 -0
- package/lib/typescript/src/services/GamesMetadata.d.ts +2 -0
- package/lib/typescript/src/services/HapticsService.d.ts +1 -1
- package/lib/typescript/src/services/SfxSources.d.ts +79 -0
- package/lib/typescript/src/services/SoundsService.d.ts +487 -1566
- package/lib/typescript/src/services/ThemeService.d.ts +117 -0
- package/lib/typescript/src/services/UtilsService.d.ts +20 -2
- package/lib/typescript/src/services/index.d.ts +3 -0
- package/lib/web/assets/005ea2045b17-explorer.glb +0 -0
- package/lib/web/assets/01e2f0a0bbf6-hurt.wav +0 -0
- package/lib/web/assets/01fc0ecf658c-explorer-atlas.png +0 -0
- package/lib/web/assets/029329b2c7c0-asphalt.png +0 -0
- package/lib/web/assets/0376bda32be3-robot.wav +0 -0
- package/lib/web/assets/0719fb0bb38e-soft_glow.png +0 -0
- package/lib/web/assets/0b21278bffba-boing.wav +0 -0
- package/lib/web/assets/1333c9d1273c-flip_disc.wav +0 -0
- package/lib/web/assets/15785f62ee5f-time_up.wav +0 -0
- package/lib/web/assets/177f00502e08-bonus.wav +0 -0
- package/lib/web/assets/19e47dcfda1f-pling.wav +0 -0
- package/lib/web/assets/1a677e0f7f6c-laugh.wav +0 -0
- package/lib/web/assets/1ad2914478b1-eat.wav +0 -0
- package/lib/web/assets/1b0d703ddd1a-dance.wav +0 -0
- package/lib/web/assets/1e4330fddd74-chime.wav +0 -0
- package/lib/web/assets/2432a97b0af1-cannon.wav +0 -0
- package/lib/web/assets/2574370d6aa0-blocked.wav +0 -0
- package/lib/web/assets/2699065037ad-select.wav +0 -0
- package/lib/web/assets/28d30f53ad73-ladder.wav +0 -0
- package/lib/web/assets/2c1ec05270b2-point.wav +0 -0
- package/lib/web/assets/2e1dd99a0213-tick.wav +0 -0
- package/lib/web/assets/3084575cecdb-card_flip.wav +0 -0
- package/lib/web/assets/308bc31b6af5-engine.wav +0 -0
- package/lib/web/assets/336d63b739b5-combo.wav +0 -0
- package/lib/web/assets/3a369e2596e4-clash.wav +0 -0
- package/lib/web/assets/3a816e20212f-capture.wav +0 -0
- package/lib/web/assets/40240217810a-nitro.wav +0 -0
- package/lib/web/assets/46edaa54d1ea-crunch.wav +0 -0
- package/lib/web/assets/501994226995-coin.wav +0 -0
- package/lib/web/assets/5525d7f6a4b8-rotate.wav +0 -0
- package/lib/web/assets/5e816e1f0929-dice_roll.wav +0 -0
- package/lib/web/assets/60e2dec3cf41-deselect.wav +0 -0
- package/lib/web/assets/6ab86ea29e5c-six.wav +0 -0
- package/lib/web/assets/6da3b101926d-merge.wav +0 -0
- package/lib/web/assets/6e686dea513c-bark.jpg +0 -0
- package/lib/web/assets/6ff9a6a13714-limestone.jpg +0 -0
- package/lib/web/assets/735c4a1cd22e-invalid.wav +0 -0
- package/lib/web/assets/73f75c35ff5d-snake.wav +0 -0
- package/lib/web/assets/7506e3efe264-catch.wav +0 -0
- package/lib/web/assets/76493a2ada2d-ad_bolt.png +0 -0
- package/lib/web/assets/793abe620201-card_place.wav +0 -0
- package/lib/web/assets/7da09c57f52d-facade.png +0 -0
- package/lib/web/assets/7e1a902176f6-pine.png +0 -0
- package/lib/web/assets/7eb943b85c21-play-with-tua.glb +0 -0
- package/lib/web/assets/837d43c06dba-ad_bubbles.png +0 -0
- package/lib/web/assets/84f1a7dfa368-game_over.wav +0 -0
- package/lib/web/assets/850e26ce3b0a-flap.wav +0 -0
- package/lib/web/assets/854b31683cb2-draw.wav +0 -0
- package/lib/web/assets/8616150393b7-error.wav +0 -0
- package/lib/web/assets/87cc6d503ec6-river.jpg +0 -0
- package/lib/web/assets/88755845922c-hop.wav +0 -0
- package/lib/web/assets/8ec8f469492d-chomp_alt.wav +0 -0
- package/lib/web/assets/8f17f89b138c-pew.wav +0 -0
- package/lib/web/assets/9210a24472d1-place.wav +0 -0
- package/lib/web/assets/930d833ebf89-splash.wav +0 -0
- package/lib/web/assets/970f7c59265d-swoosh.wav +0 -0
- package/lib/web/assets/9900b8d1b6ad-flag.wav +0 -0
- package/lib/web/assets/9ab04403898b-clang.wav +0 -0
- package/lib/web/assets/9d8b97a10d45-drop.wav +0 -0
- package/lib/web/assets/9d9c02ddc7ed-boom.wav +0 -0
- package/lib/web/assets/9e1b5114d56d-pop_soft.wav +0 -0
- package/lib/web/assets/a01f22d6dbb3-thud.wav +0 -0
- package/lib/web/assets/a44a1cf1a1a8-bump.wav +0 -0
- package/lib/web/assets/a76940a48c68-hit.wav +0 -0
- package/lib/web/assets/a98ddb724460-leaves.png +0 -0
- package/lib/web/assets/aa0960e8bee6-footstep_run.wav +0 -0
- package/lib/web/assets/aa570c9d3e15-star.wav +0 -0
- package/lib/web/assets/aacb999f3c49-tock.wav +0 -0
- package/lib/web/assets/aae0c16c5e89-reveal.wav +0 -0
- package/lib/web/assets/ab37cd128509-click.wav +0 -0
- package/lib/web/assets/b0bc66f49005-warning.wav +0 -0
- package/lib/web/assets/b1edd756ac43-zap.wav +0 -0
- package/lib/web/assets/b3894545cf71-slice.wav +0 -0
- package/lib/web/assets/b3c6225d055a-meadow.jpg +0 -0
- package/lib/web/assets/b60ca65cdfcb-gate.wav +0 -0
- package/lib/web/assets/b8900bb2c5c7-win.wav +0 -0
- package/lib/web/assets/baff6feda846-lose.wav +0 -0
- package/lib/web/assets/bed31305d60d-ad_chevrons.png +0 -0
- package/lib/web/assets/c26f4a624e7d-shuffle.wav +0 -0
- package/lib/web/assets/c3a9edfad195-die.wav +0 -0
- package/lib/web/assets/c4aa9d773f2a-footstep_walk.wav +0 -0
- package/lib/web/assets/c5ab3ff0003f-crash.wav +0 -0
- package/lib/web/assets/c5eb07deddd4-start.wav +0 -0
- package/lib/web/assets/c6c58d9ae452-pop.wav +0 -0
- package/lib/web/assets/cea48c3cd9c7-balloon_pop.wav +0 -0
- package/lib/web/assets/d15591767778-tap.wav +0 -0
- package/lib/web/assets/d1781a52234f-slide.wav +0 -0
- package/lib/web/assets/d3bf2d9f793b-snap.wav +0 -0
- package/lib/web/assets/d8f59ebd3537-jump.wav +0 -0
- package/lib/web/assets/dafea2f28854-power_up.wav +0 -0
- package/lib/web/assets/e2e7f5ae2d1b-whoosh.wav +0 -0
- package/lib/web/assets/e2f90a23e1bd-chomp.wav +0 -0
- package/lib/web/assets/e454e56df89a-clack.wav +0 -0
- package/lib/web/assets/e8cbc2b88bc4-Inter-SemiBold.ttf +0 -0
- package/lib/web/assets/ed6496b891fc-land.wav +0 -0
- package/lib/web/assets/f21920200a81-thunk.wav +0 -0
- package/lib/web/assets/f753b43be89d-whack.wav +0 -0
- package/lib/web/assets/f798c4b5cf4d-miss.wav +0 -0
- package/lib/web/assets/fbe299716916-grass.png +0 -0
- package/lib/web/chunk-52ez2s9z.js +15 -0
- package/lib/web/chunk-8675t224.js +1 -0
- package/lib/web/index.js +2 -0
- package/lib/web/package.json +1 -0
- package/lib/web/services.js +2 -0
- package/package.json +93 -73
- package/lib/module/games/arrows/ArrowsService.js +0 -1
- package/lib/module/games/arrows/ArrowsStore.js +0 -1
- package/lib/module/games/arrows/components/ArrowsGrid.js +0 -1
- package/lib/module/games/arrows/components/ScoreBoard.js +0 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterService.js +0 -1
- package/lib/module/games/balloon-blaster/BalloonBlasterStore.js +0 -1
- package/lib/module/games/balloon-blaster/components/BalloonComponent.js +0 -1
- package/lib/module/games/balloon-blaster/components/GameArea.js +0 -1
- package/lib/module/games/balloon-blaster/components/GameBackground.js +0 -1
- package/lib/module/games/balloon-blaster/components/ScoreBoard.js +0 -1
- package/lib/module/games/bike-racing/BikeRacingService.js +0 -1
- package/lib/module/games/bike-racing/BikeRacingStore.js +0 -1
- package/lib/module/games/bike-racing/components/BikeComponent.js +0 -1
- package/lib/module/games/bike-racing/components/GameBackground.js +0 -1
- package/lib/module/games/bike-racing/components/ScoreBoard.js +0 -1
- package/lib/module/games/block-blast/BlockBlastService.js +0 -1
- package/lib/module/games/block-blast/BlockBlastStore.js +0 -1
- package/lib/module/games/block-blast/components/BlockPieceComponent.js +0 -1
- package/lib/module/games/block-blast/components/GameArea.js +0 -1
- package/lib/module/games/block-blast/components/GridComponent.js +0 -1
- package/lib/module/games/block-blast/components/ScoreBoard.js +0 -1
- package/lib/module/games/block-breaker/BlockBreakerService.js +0 -1
- package/lib/module/games/block-breaker/BlockBreakerStore.js +0 -1
- package/lib/module/games/block-breaker/components/BlastAnimation.js +0 -1
- package/lib/module/games/block-breaker/components/GameArea.js +0 -1
- package/lib/module/games/block-breaker/components/ScoreBoard.js +0 -1
- package/lib/module/games/bluk/BlukService.js +0 -1
- package/lib/module/games/bluk/BlukStore.js +0 -1
- package/lib/module/games/bluk/components/GameArea.js +0 -1
- package/lib/module/games/bluk/components/GameBackground.js +0 -1
- package/lib/module/games/bluk/components/ScoreBoard.js +0 -1
- package/lib/module/games/bubble-shooter/BubbleShooterService.js +0 -1
- package/lib/module/games/bubble-shooter/BubbleShooterStore.js +0 -1
- package/lib/module/games/bubble-shooter/components/GameArea.js +0 -1
- package/lib/module/games/bubble-shooter/components/ScoreBoard.js +0 -1
- package/lib/module/games/candy-crush/CandyCrushService.js +0 -1
- package/lib/module/games/candy-crush/CandyCrushStore.js +0 -1
- package/lib/module/games/candy-crush/components/CandyItem.js +0 -1
- package/lib/module/games/candy-crush/components/GameGrid.js +0 -1
- package/lib/module/games/candy-crush/components/ScoreBoard.js +0 -1
- package/lib/module/games/car-racing/CarRacingService.js +0 -1
- package/lib/module/games/car-racing/CarRacingStore.js +0 -1
- package/lib/module/games/car-racing/components/CarComponent.js +0 -1
- package/lib/module/games/car-racing/components/GameBackground.js +0 -1
- package/lib/module/games/car-racing/components/ScoreBoard.js +0 -1
- package/lib/module/games/chameleon-run/ChameleonRunService.js +0 -1
- package/lib/module/games/chameleon-run/ChameleonRunStore.js +0 -1
- package/lib/module/games/chameleon-run/components/GameArea.js +0 -1
- package/lib/module/games/chameleon-run/components/GameBackground.js +0 -1
- package/lib/module/games/chameleon-run/components/ScoreBoard.js +0 -1
- package/lib/module/games/checkers/CheckersService.js +0 -1
- package/lib/module/games/checkers/CheckersStore.js +0 -1
- package/lib/module/games/checkers/components/GameBoard.js +0 -1
- package/lib/module/games/checkers/components/ScoreBoard.js +0 -1
- package/lib/module/games/color-switch/ColorSwitchService.js +0 -1
- package/lib/module/games/color-switch/ColorSwitchStore.js +0 -1
- package/lib/module/games/color-switch/components/GameArea.js +0 -1
- package/lib/module/games/color-switch/components/ScoreBoard.js +0 -1
- package/lib/module/games/colors-sort/ColorsSortService.js +0 -1
- package/lib/module/games/colors-sort/ColorsSortStore.js +0 -1
- package/lib/module/games/colors-sort/components/ColorContainer.js +0 -1
- package/lib/module/games/colors-sort/components/ScoreBoard.js +0 -1
- package/lib/module/games/connect-em-all/ConnectEmAllService.js +0 -1
- package/lib/module/games/connect-em-all/ConnectEmAllStore.js +0 -1
- package/lib/module/games/connect-em-all/components/GameBoard.js +0 -1
- package/lib/module/games/connect-em-all/components/ScoreBoard.js +0 -1
- package/lib/module/games/crossy-road/CrossyRoadService.js +0 -1
- package/lib/module/games/crossy-road/CrossyRoadStore.js +0 -1
- package/lib/module/games/crossy-road/components/GameArea.js +0 -1
- package/lib/module/games/crossy-road/components/ScoreBoard.js +0 -1
- package/lib/module/games/dino-jump/DinoJumpService.js +0 -1
- package/lib/module/games/dino-jump/DinoJumpStore.js +0 -1
- package/lib/module/games/dino-jump/components/DinoSprite.js +0 -1
- package/lib/module/games/dino-jump/components/GameArea.js +0 -1
- package/lib/module/games/dino-jump/components/GameBackground.js +0 -1
- package/lib/module/games/dino-jump/components/ObstacleSprite.js +0 -1
- package/lib/module/games/dino-jump/components/ScoreBoard.js +0 -1
- package/lib/module/games/dino-jump/components/StarSprite.js +0 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesService.js +0 -1
- package/lib/module/games/dots-and-boxes/DotsAndBoxesStore.js +0 -1
- package/lib/module/games/dots-and-boxes/components/GameBoard.js +0 -1
- package/lib/module/games/dots-and-boxes/components/ScoreBoard.js +0 -1
- package/lib/module/games/falling-sticks/FallingSticksService.js +0 -1
- package/lib/module/games/falling-sticks/FallingSticksStore.js +0 -1
- package/lib/module/games/falling-sticks/components/GameArea.js +0 -1
- package/lib/module/games/falling-sticks/components/GameBackground.js +0 -1
- package/lib/module/games/falling-sticks/components/ScoreBoard.js +0 -1
- package/lib/module/games/find-different-number/FindDifferentNumberService.js +0 -1
- package/lib/module/games/find-different-number/FindDifferentNumberStore.js +0 -1
- package/lib/module/games/find-different-number/components/GameGrid.js +0 -1
- package/lib/module/games/find-different-number/components/ScoreBoard.js +0 -1
- package/lib/module/games/flappy-bird/FlappyBirdStore.js +0 -1
- package/lib/module/games/flappy-bird/components/Bird.js +0 -1
- package/lib/module/games/flappy-bird/components/GameArea.js +0 -1
- package/lib/module/games/flappy-bird/components/GameBackground.js +0 -1
- package/lib/module/games/flappy-bird/components/Pipes.js +0 -1
- package/lib/module/games/flappy-bird/components/ScoreBoard.js +0 -1
- package/lib/module/games/fruit-merger/FruitMergerService.js +0 -1
- package/lib/module/games/fruit-merger/FruitMergerStore.js +0 -1
- package/lib/module/games/fruit-merger/components/FruitItem.js +0 -1
- package/lib/module/games/fruit-merger/components/GameArea.js +0 -1
- package/lib/module/games/fruit-merger/components/ScoreBoard.js +0 -1
- package/lib/module/games/fruit-ninja/FruitNinjaService.js +0 -1
- package/lib/module/games/fruit-ninja/FruitNinjaStore.js +0 -1
- package/lib/module/games/fruit-ninja/components/FruitComponent.js +0 -1
- package/lib/module/games/fruit-ninja/components/GameArea.js +0 -1
- package/lib/module/games/fruit-ninja/components/GameBackground.js +0 -1
- package/lib/module/games/fruit-ninja/components/ScoreBoard.js +0 -1
- package/lib/module/games/game-2048/Game2048Service.js +0 -1
- package/lib/module/games/game-2048/Game2048Store.js +0 -1
- package/lib/module/games/game-2048/components/GameGrid.js +0 -1
- package/lib/module/games/game-2048/components/ScoreBoard.js +0 -1
- package/lib/module/games/knife-hit/KnifeHitService.js +0 -1
- package/lib/module/games/knife-hit/KnifeHitStore.js +0 -1
- package/lib/module/games/knife-hit/components/GameArea.js +0 -1
- package/lib/module/games/knife-hit/components/ScoreBoard.js +0 -1
- package/lib/module/games/ludo-king/LudoKingService.js +0 -1
- package/lib/module/games/ludo-king/LudoKingStore.js +0 -1
- package/lib/module/games/ludo-king/components/Dice.js +0 -1
- package/lib/module/games/ludo-king/components/GameBoard.js +0 -1
- package/lib/module/games/ludo-king/components/ScoreBoard.js +0 -1
- package/lib/module/games/maze-runner/MazeRunnerStore.js +0 -1
- package/lib/module/games/maze-runner/components/EnhancedBallComponent.js +0 -1
- package/lib/module/games/maze-runner/components/EnhancedGameArea.js +0 -1
- package/lib/module/games/maze-runner/components/ScoreBoard.js +0 -1
- package/lib/module/games/maze-runner/components/SkiaPipeComponent.js +0 -1
- package/lib/module/games/maze-runner/components/WallComponent.js +0 -1
- package/lib/module/games/memory-match/MemoryMatchService.js +0 -1
- package/lib/module/games/memory-match/MemoryMatchStore.js +0 -1
- package/lib/module/games/memory-match/components/Card.js +0 -1
- package/lib/module/games/memory-match/components/GameBoard.js +0 -1
- package/lib/module/games/memory-match/components/ScoreBoard.js +0 -1
- package/lib/module/games/mine-sweeper/MineSweeperService.js +0 -1
- package/lib/module/games/mine-sweeper/MineSweeperStore.js +0 -1
- package/lib/module/games/mine-sweeper/components/GameArea.js +0 -1
- package/lib/module/games/mine-sweeper/components/ScoreBoard.js +0 -1
- package/lib/module/games/mob-control/MobControlService.js +0 -1
- package/lib/module/games/mob-control/MobControlStore.js +0 -1
- package/lib/module/games/mob-control/components/GameArea.js +0 -1
- package/lib/module/games/mob-control/components/ScoreBoard.js +0 -1
- package/lib/module/games/number-search/NumberSearchConstants.js +0 -1
- package/lib/module/games/number-search/NumberSearchService.js +0 -1
- package/lib/module/games/number-search/NumberSearchStore.js +0 -1
- package/lib/module/games/number-search/components/GameBoard.js +0 -1
- package/lib/module/games/number-search/components/NumberList.js +0 -1
- package/lib/module/games/number-search/components/ScoreBoard.js +0 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsService.js +0 -1
- package/lib/module/games/nuts-and-bolts/NutsAndBoltsStore.js +0 -1
- package/lib/module/games/nuts-and-bolts/components/GameBoard.js +0 -1
- package/lib/module/games/nuts-and-bolts/components/ScoreBoard.js +0 -1
- package/lib/module/games/pac-man/PacManService.js +0 -1
- package/lib/module/games/pac-man/PacManStore.js +0 -1
- package/lib/module/games/pac-man/components/GameCanvas.js +0 -1
- package/lib/module/games/pac-man/components/ScoreBoard.js +0 -1
- package/lib/module/games/paper-io/PaperIoService.js +0 -1
- package/lib/module/games/paper-io/PaperIoStore.js +0 -1
- package/lib/module/games/paper-io/components/GameArea.js +0 -1
- package/lib/module/games/paper-io/components/ScoreBoard.js +0 -1
- package/lib/module/games/perfect-circle/PerfectCircleService.js +0 -1
- package/lib/module/games/perfect-circle/PerfectCircleStore.js +0 -1
- package/lib/module/games/perfect-circle/components/DrawingCanvas.js +0 -1
- package/lib/module/games/perfect-circle/components/ScoreBoard.js +0 -1
- package/lib/module/games/pipe-connect/PipeConnectService.js +0 -1
- package/lib/module/games/pipe-connect/PipeConnectStore.js +0 -1
- package/lib/module/games/pipe-connect/components/GameArea.js +0 -1
- package/lib/module/games/pipe-connect/components/ScoreBoard.js +0 -1
- package/lib/module/games/popit-fidget/PopitFidgetService.js +0 -1
- package/lib/module/games/popit-fidget/PopitFidgetStore.js +0 -1
- package/lib/module/games/popit-fidget/components/BubbleComponent.js +0 -1
- package/lib/module/games/popit-fidget/components/FidgetGrid.js +0 -1
- package/lib/module/games/popit-fidget/components/ScoreBoard.js +0 -1
- package/lib/module/games/reversi/ReversiStore.js +0 -1
- package/lib/module/games/reversi/components/GameBoard.js +0 -1
- package/lib/module/games/reversi/components/ScoreBoard.js +0 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersService.js +0 -1
- package/lib/module/games/sliding-numbers/SlidingNumbersStore.js +0 -1
- package/lib/module/games/sliding-numbers/components/NumbersGrid.js +0 -1
- package/lib/module/games/sliding-numbers/components/ScoreBoard.js +0 -1
- package/lib/module/games/snake-3d/Snake3DService.js +0 -1
- package/lib/module/games/snake-3d/Snake3DStore.js +0 -1
- package/lib/module/games/snake-3d/components/GameGrid.js +0 -1
- package/lib/module/games/snake-3d/components/ScoreBoard.js +0 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersService.js +0 -1
- package/lib/module/games/snakes-and-ladders/SnakesAndLaddersStore.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/Dice.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/GameBoard.js +0 -1
- package/lib/module/games/snakes-and-ladders/components/ScoreBoard.js +0 -1
- package/lib/module/games/space-fighter/SpaceFighterService.js +0 -1
- package/lib/module/games/space-fighter/SpaceFighterStore.js +0 -1
- package/lib/module/games/space-fighter/components/AsteroidComponent.js +0 -1
- package/lib/module/games/space-fighter/components/GameArea.js +0 -1
- package/lib/module/games/space-fighter/components/GameBackground.js +0 -1
- package/lib/module/games/space-fighter/components/ScoreBoard.js +0 -1
- package/lib/module/games/space-fighter/components/Spacecraft3D.js +0 -1
- package/lib/module/games/space-fighter/components/SpacecraftPath.js +0 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireService.js +0 -1
- package/lib/module/games/spider-solitaire/SpiderSolitaireStore.js +0 -1
- package/lib/module/games/spider-solitaire/components/Card.js +0 -1
- package/lib/module/games/spider-solitaire/components/CardPile.js +0 -1
- package/lib/module/games/spider-solitaire/components/ScoreBoard.js +0 -1
- package/lib/module/games/stack-tower/StackTowerService.js +0 -1
- package/lib/module/games/stack-tower/StackTowerStore.js +0 -1
- package/lib/module/games/stack-tower/components/GameArea.js +0 -1
- package/lib/module/games/stack-tower/components/ScoreBoard.js +0 -1
- package/lib/module/games/sudoku/SudokuService.js +0 -1
- package/lib/module/games/sudoku/SudokuStore.js +0 -1
- package/lib/module/games/sudoku/components/GameArea.js +0 -1
- package/lib/module/games/sudoku/components/ScoreBoard.js +0 -1
- package/lib/module/games/tangram/TangramService.js +0 -1
- package/lib/module/games/tangram/TangramStore.js +0 -1
- package/lib/module/games/tangram/components/GameBoard.js +0 -1
- package/lib/module/games/tangram/components/ScoreBoard.js +0 -1
- package/lib/module/games/tank-1990/Tank1990Service.js +0 -1
- package/lib/module/games/tank-1990/Tank1990Store.js +0 -1
- package/lib/module/games/tank-1990/components/Controls.js +0 -1
- package/lib/module/games/tank-1990/components/GameBoard.js +0 -1
- package/lib/module/games/tank-1990/components/ScoreBoard.js +0 -1
- package/lib/module/games/tic-tac-toe/TicTacToeService.js +0 -1
- package/lib/module/games/tic-tac-toe/TicTacToeStore.js +0 -1
- package/lib/module/games/tic-tac-toe/components/GameBoard.js +0 -1
- package/lib/module/games/tic-tac-toe/components/ScoreBoard.js +0 -1
- package/lib/module/games/tile-home/TileHomeService.js +0 -1
- package/lib/module/games/tile-home/TileHomeStore.js +0 -1
- package/lib/module/games/tile-home/components/AnimatingTile.js +0 -1
- package/lib/module/games/tile-home/components/FlyingTile.js +0 -1
- package/lib/module/games/tile-home/components/GameBoard.js +0 -1
- package/lib/module/games/tile-home/components/ScoreBoard.js +0 -1
- package/lib/module/games/tile-home/components/TileItem.js +0 -1
- package/lib/module/games/tile-home/components/TileSlot.js +0 -1
- package/lib/module/games/whack-a-mole/WhackAMoleService.js +0 -1
- package/lib/module/games/whack-a-mole/WhackAMoleStore.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameBackground.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameGrid.js +0 -1
- package/lib/module/games/whack-a-mole/components/GameHole.js +0 -1
- package/lib/module/games/whack-a-mole/components/MoleCharacter.js +0 -1
- package/lib/module/games/whack-a-mole/components/ScoreBoard.js +0 -1
- package/lib/module/games/word-search/WordSearchConstants.js +0 -1
- package/lib/module/games/word-search/WordSearchService.js +0 -1
- package/lib/module/games/word-search/WordSearchStore.js +0 -1
- package/lib/module/games/word-search/components/GameBoard.js +0 -1
- package/lib/module/games/word-search/components/ScoreBoard.js +0 -1
- package/lib/module/games/word-search/components/WordList.js +0 -1
- package/lib/module/helpers/AnimatedScore.js +0 -1
- package/lib/module/helpers/AnimationFrame.js +0 -1
- package/lib/module/helpers/AnimationTracker.js +0 -1
- package/lib/module/helpers/BlastAnimation.js +0 -1
- package/lib/module/helpers/ErrorHandler.js +0 -1
- package/lib/module/helpers/GameBackgroundPattern.js +0 -1
- package/lib/module/helpers/GameControlButton.js +0 -1
- package/lib/module/helpers/GameOverModal.js +0 -1
- package/lib/module/helpers/GameTimer.js +0 -1
- package/lib/module/helpers/Icons.js +0 -1
- package/lib/module/helpers/ParticleBlast.js +0 -1
- package/lib/module/helpers/ScoreBoardContainer.js +0 -1
- package/lib/module/helpers/assets/apple-fruit.js +0 -1
- package/lib/module/helpers/assets/avocado-item.js +0 -1
- package/lib/module/helpers/assets/banana-fruit.js +0 -1
- package/lib/module/helpers/assets/bomb-item.js +0 -1
- package/lib/module/helpers/assets/broccoli-item.js +0 -1
- package/lib/module/helpers/assets/cherries-fruit.js +0 -1
- package/lib/module/helpers/assets/donut-item.js +0 -1
- package/lib/module/helpers/assets/dragonfruit-item.js +0 -1
- package/lib/module/helpers/assets/fries-item.js +0 -1
- package/lib/module/helpers/assets/fruit-helpers.js +0 -1
- package/lib/module/helpers/assets/grapes-fruit.js +0 -1
- package/lib/module/helpers/assets/icecream-item.js +0 -1
- package/lib/module/helpers/assets/index.js +0 -1
- package/lib/module/helpers/assets/kiwi-fruit.js +0 -1
- package/lib/module/helpers/assets/mango-fruit.js +0 -1
- package/lib/module/helpers/assets/orange-fruit.js +0 -1
- package/lib/module/helpers/assets/papaya-fruit.js +0 -1
- package/lib/module/helpers/assets/papaya-full-fruit.js +0 -1
- package/lib/module/helpers/assets/peach-fruit.js +0 -1
- package/lib/module/helpers/assets/pineapple-fruit.js +0 -1
- package/lib/module/helpers/assets/pomegranate-fruit.js +0 -1
- package/lib/module/helpers/assets/pumpkin-fruit.js +0 -1
- package/lib/module/helpers/assets/raspberry-item.js +0 -1
- package/lib/module/helpers/assets/star-item.js +0 -1
- package/lib/module/helpers/assets/strawberry-fruit.js +0 -1
- package/lib/module/helpers/assets/watermelon-fruit.js +0 -1
- package/lib/module/types.d.js +0 -1
- package/lib/typescript/src/games/arrows/ArrowsService.d.ts +0 -6
- package/lib/typescript/src/games/arrows/ArrowsStore.d.ts +0 -51
- package/lib/typescript/src/games/arrows/components/ArrowsGrid.d.ts +0 -13
- package/lib/typescript/src/games/arrows/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterService.d.ts +0 -80
- package/lib/typescript/src/games/balloon-blaster/BalloonBlasterStore.d.ts +0 -30
- package/lib/typescript/src/games/balloon-blaster/components/BalloonComponent.d.ts +0 -9
- package/lib/typescript/src/games/balloon-blaster/components/GameArea.d.ts +0 -9
- package/lib/typescript/src/games/balloon-blaster/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/balloon-blaster/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bike-racing/BikeRacingService.d.ts +0 -44
- package/lib/typescript/src/games/bike-racing/BikeRacingStore.d.ts +0 -68
- package/lib/typescript/src/games/bike-racing/components/BikeComponent.d.ts +0 -12
- package/lib/typescript/src/games/bike-racing/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/bike-racing/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/block-blast/BlockBlastService.d.ts +0 -16
- package/lib/typescript/src/games/block-blast/BlockBlastStore.d.ts +0 -70
- package/lib/typescript/src/games/block-blast/components/BlockPieceComponent.d.ts +0 -11
- package/lib/typescript/src/games/block-blast/components/GameArea.d.ts +0 -11
- package/lib/typescript/src/games/block-blast/components/GridComponent.d.ts +0 -8
- package/lib/typescript/src/games/block-blast/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/block-breaker/BlockBreakerService.d.ts +0 -88
- package/lib/typescript/src/games/block-breaker/BlockBreakerStore.d.ts +0 -47
- package/lib/typescript/src/games/block-breaker/components/BlastAnimation.d.ts +0 -15
- package/lib/typescript/src/games/block-breaker/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/block-breaker/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bluk/BlukService.d.ts +0 -71
- package/lib/typescript/src/games/bluk/BlukStore.d.ts +0 -52
- package/lib/typescript/src/games/bluk/components/GameArea.d.ts +0 -17
- package/lib/typescript/src/games/bluk/components/GameBackground.d.ts +0 -9
- package/lib/typescript/src/games/bluk/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterService.d.ts +0 -35
- package/lib/typescript/src/games/bubble-shooter/BubbleShooterStore.d.ts +0 -63
- package/lib/typescript/src/games/bubble-shooter/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/bubble-shooter/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/candy-crush/CandyCrushService.d.ts +0 -37
- package/lib/typescript/src/games/candy-crush/CandyCrushStore.d.ts +0 -53
- package/lib/typescript/src/games/candy-crush/components/CandyItem.d.ts +0 -11
- package/lib/typescript/src/games/candy-crush/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/candy-crush/components/ScoreBoard.d.ts +0 -5
- package/lib/typescript/src/games/car-racing/CarRacingService.d.ts +0 -44
- package/lib/typescript/src/games/car-racing/CarRacingStore.d.ts +0 -68
- package/lib/typescript/src/games/car-racing/components/CarComponent.d.ts +0 -12
- package/lib/typescript/src/games/car-racing/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/car-racing/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/chameleon-run/ChameleonRunService.d.ts +0 -76
- package/lib/typescript/src/games/chameleon-run/ChameleonRunStore.d.ts +0 -48
- package/lib/typescript/src/games/chameleon-run/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/chameleon-run/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/chameleon-run/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/checkers/CheckersService.d.ts +0 -6
- package/lib/typescript/src/games/checkers/CheckersStore.d.ts +0 -48
- package/lib/typescript/src/games/checkers/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/checkers/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/color-switch/ColorSwitchService.d.ts +0 -63
- package/lib/typescript/src/games/color-switch/ColorSwitchStore.d.ts +0 -43
- package/lib/typescript/src/games/color-switch/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/color-switch/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/colors-sort/ColorsSortService.d.ts +0 -61
- package/lib/typescript/src/games/colors-sort/ColorsSortStore.d.ts +0 -56
- package/lib/typescript/src/games/colors-sort/components/ColorContainer.d.ts +0 -7
- package/lib/typescript/src/games/colors-sort/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllService.d.ts +0 -20
- package/lib/typescript/src/games/connect-em-all/ConnectEmAllStore.d.ts +0 -48
- package/lib/typescript/src/games/connect-em-all/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/connect-em-all/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/crossy-road/CrossyRoadService.d.ts +0 -89
- package/lib/typescript/src/games/crossy-road/CrossyRoadStore.d.ts +0 -39
- package/lib/typescript/src/games/crossy-road/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/crossy-road/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/dino-jump/DinoJumpService.d.ts +0 -39
- package/lib/typescript/src/games/dino-jump/DinoJumpStore.d.ts +0 -97
- package/lib/typescript/src/games/dino-jump/components/DinoSprite.d.ts +0 -2
- package/lib/typescript/src/games/dino-jump/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/dino-jump/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/dino-jump/components/ObstacleSprite.d.ts +0 -8
- package/lib/typescript/src/games/dino-jump/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/dino-jump/components/StarSprite.d.ts +0 -2
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesService.d.ts +0 -45
- package/lib/typescript/src/games/dots-and-boxes/DotsAndBoxesStore.d.ts +0 -37
- package/lib/typescript/src/games/dots-and-boxes/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/dots-and-boxes/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/falling-sticks/FallingSticksService.d.ts +0 -40
- package/lib/typescript/src/games/falling-sticks/FallingSticksStore.d.ts +0 -31
- package/lib/typescript/src/games/falling-sticks/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/falling-sticks/components/GameBackground.d.ts +0 -6
- package/lib/typescript/src/games/falling-sticks/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberService.d.ts +0 -6
- package/lib/typescript/src/games/find-different-number/FindDifferentNumberStore.d.ts +0 -36
- package/lib/typescript/src/games/find-different-number/components/GameGrid.d.ts +0 -7
- package/lib/typescript/src/games/find-different-number/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/flappy-bird/FlappyBirdStore.d.ts +0 -68
- package/lib/typescript/src/games/flappy-bird/components/Bird.d.ts +0 -2
- package/lib/typescript/src/games/flappy-bird/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/flappy-bird/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/flappy-bird/components/Pipes.d.ts +0 -8
- package/lib/typescript/src/games/flappy-bird/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/fruit-merger/FruitMergerService.d.ts +0 -3
- package/lib/typescript/src/games/fruit-merger/FruitMergerStore.d.ts +0 -66
- package/lib/typescript/src/games/fruit-merger/components/FruitItem.d.ts +0 -8
- package/lib/typescript/src/games/fruit-merger/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/fruit-merger/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaService.d.ts +0 -73
- package/lib/typescript/src/games/fruit-ninja/FruitNinjaStore.d.ts +0 -38
- package/lib/typescript/src/games/fruit-ninja/components/FruitComponent.d.ts +0 -8
- package/lib/typescript/src/games/fruit-ninja/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/fruit-ninja/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/fruit-ninja/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/game-2048/Game2048Service.d.ts +0 -102
- package/lib/typescript/src/games/game-2048/Game2048Store.d.ts +0 -44
- package/lib/typescript/src/games/game-2048/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/game-2048/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/knife-hit/KnifeHitService.d.ts +0 -48
- package/lib/typescript/src/games/knife-hit/KnifeHitStore.d.ts +0 -41
- package/lib/typescript/src/games/knife-hit/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/knife-hit/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/ludo-king/LudoKingService.d.ts +0 -33
- package/lib/typescript/src/games/ludo-king/LudoKingStore.d.ts +0 -34
- package/lib/typescript/src/games/ludo-king/components/Dice.d.ts +0 -7
- package/lib/typescript/src/games/ludo-king/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/ludo-king/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/maze-runner/MazeRunnerStore.d.ts +0 -62
- package/lib/typescript/src/games/maze-runner/components/EnhancedBallComponent.d.ts +0 -10
- package/lib/typescript/src/games/maze-runner/components/EnhancedGameArea.d.ts +0 -33
- package/lib/typescript/src/games/maze-runner/components/ScoreBoard.d.ts +0 -24
- package/lib/typescript/src/games/maze-runner/components/SkiaPipeComponent.d.ts +0 -24
- package/lib/typescript/src/games/maze-runner/components/WallComponent.d.ts +0 -9
- package/lib/typescript/src/games/memory-match/MemoryMatchService.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/MemoryMatchStore.d.ts +0 -42
- package/lib/typescript/src/games/memory-match/components/Card.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/memory-match/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/mine-sweeper/MineSweeperService.d.ts +0 -22
- package/lib/typescript/src/games/mine-sweeper/MineSweeperStore.d.ts +0 -73
- package/lib/typescript/src/games/mine-sweeper/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/mine-sweeper/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/mob-control/MobControlService.d.ts +0 -74
- package/lib/typescript/src/games/mob-control/MobControlStore.d.ts +0 -66
- package/lib/typescript/src/games/mob-control/components/GameArea.d.ts +0 -11
- package/lib/typescript/src/games/mob-control/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/number-search/NumberSearchConstants.d.ts +0 -63
- package/lib/typescript/src/games/number-search/NumberSearchService.d.ts +0 -34
- package/lib/typescript/src/games/number-search/NumberSearchStore.d.ts +0 -70
- package/lib/typescript/src/games/number-search/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/number-search/components/NumberList.d.ts +0 -2
- package/lib/typescript/src/games/number-search/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsService.d.ts +0 -67
- package/lib/typescript/src/games/nuts-and-bolts/NutsAndBoltsStore.d.ts +0 -45
- package/lib/typescript/src/games/nuts-and-bolts/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/nuts-and-bolts/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/pac-man/PacManService.d.ts +0 -73
- package/lib/typescript/src/games/pac-man/PacManStore.d.ts +0 -89
- package/lib/typescript/src/games/pac-man/components/GameCanvas.d.ts +0 -2
- package/lib/typescript/src/games/pac-man/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/paper-io/PaperIoService.d.ts +0 -70
- package/lib/typescript/src/games/paper-io/PaperIoStore.d.ts +0 -51
- package/lib/typescript/src/games/paper-io/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/paper-io/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/perfect-circle/PerfectCircleService.d.ts +0 -15
- package/lib/typescript/src/games/perfect-circle/PerfectCircleStore.d.ts +0 -55
- package/lib/typescript/src/games/perfect-circle/components/DrawingCanvas.d.ts +0 -8
- package/lib/typescript/src/games/perfect-circle/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/pipe-connect/PipeConnectService.d.ts +0 -17
- package/lib/typescript/src/games/pipe-connect/PipeConnectStore.d.ts +0 -31
- package/lib/typescript/src/games/pipe-connect/components/GameArea.d.ts +0 -7
- package/lib/typescript/src/games/pipe-connect/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/popit-fidget/PopitFidgetService.d.ts +0 -30
- package/lib/typescript/src/games/popit-fidget/PopitFidgetStore.d.ts +0 -33
- package/lib/typescript/src/games/popit-fidget/components/BubbleComponent.d.ts +0 -10
- package/lib/typescript/src/games/popit-fidget/components/FidgetGrid.d.ts +0 -10
- package/lib/typescript/src/games/popit-fidget/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/reversi/ReversiStore.d.ts +0 -46
- package/lib/typescript/src/games/reversi/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/reversi/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersService.d.ts +0 -6
- package/lib/typescript/src/games/sliding-numbers/SlidingNumbersStore.d.ts +0 -38
- package/lib/typescript/src/games/sliding-numbers/components/NumbersGrid.d.ts +0 -7
- package/lib/typescript/src/games/sliding-numbers/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/snake-3d/Snake3DService.d.ts +0 -29
- package/lib/typescript/src/games/snake-3d/Snake3DStore.d.ts +0 -49
- package/lib/typescript/src/games/snake-3d/components/GameGrid.d.ts +0 -2
- package/lib/typescript/src/games/snake-3d/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersService.d.ts +0 -22
- package/lib/typescript/src/games/snakes-and-ladders/SnakesAndLaddersStore.d.ts +0 -40
- package/lib/typescript/src/games/snakes-and-ladders/components/Dice.d.ts +0 -7
- package/lib/typescript/src/games/snakes-and-ladders/components/GameBoard.d.ts +0 -2
- package/lib/typescript/src/games/snakes-and-ladders/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/SpaceFighterService.d.ts +0 -117
- package/lib/typescript/src/games/space-fighter/SpaceFighterStore.d.ts +0 -54
- package/lib/typescript/src/games/space-fighter/components/AsteroidComponent.d.ts +0 -9
- package/lib/typescript/src/games/space-fighter/components/GameArea.d.ts +0 -9
- package/lib/typescript/src/games/space-fighter/components/GameBackground.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/space-fighter/components/Spacecraft3D.d.ts +0 -11
- package/lib/typescript/src/games/space-fighter/components/SpacecraftPath.d.ts +0 -9
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireService.d.ts +0 -23
- package/lib/typescript/src/games/spider-solitaire/SpiderSolitaireStore.d.ts +0 -71
- package/lib/typescript/src/games/spider-solitaire/components/Card.d.ts +0 -10
- package/lib/typescript/src/games/spider-solitaire/components/CardPile.d.ts +0 -12
- package/lib/typescript/src/games/spider-solitaire/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/stack-tower/StackTowerService.d.ts +0 -51
- package/lib/typescript/src/games/stack-tower/StackTowerStore.d.ts +0 -52
- package/lib/typescript/src/games/stack-tower/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/stack-tower/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/sudoku/SudokuService.d.ts +0 -24
- package/lib/typescript/src/games/sudoku/SudokuStore.d.ts +0 -65
- package/lib/typescript/src/games/sudoku/components/GameArea.d.ts +0 -8
- package/lib/typescript/src/games/sudoku/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tangram/TangramService.d.ts +0 -6
- package/lib/typescript/src/games/tangram/TangramStore.d.ts +0 -34
- package/lib/typescript/src/games/tangram/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/tangram/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tank-1990/Tank1990Service.d.ts +0 -80
- package/lib/typescript/src/games/tank-1990/Tank1990Store.d.ts +0 -48
- package/lib/typescript/src/games/tank-1990/components/Controls.d.ts +0 -2
- package/lib/typescript/src/games/tank-1990/components/GameBoard.d.ts +0 -2
- package/lib/typescript/src/games/tank-1990/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeService.d.ts +0 -0
- package/lib/typescript/src/games/tic-tac-toe/TicTacToeStore.d.ts +0 -51
- package/lib/typescript/src/games/tic-tac-toe/components/GameBoard.d.ts +0 -6
- package/lib/typescript/src/games/tic-tac-toe/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tile-home/TileHomeService.d.ts +0 -1
- package/lib/typescript/src/games/tile-home/TileHomeStore.d.ts +0 -57
- package/lib/typescript/src/games/tile-home/components/AnimatingTile.d.ts +0 -9
- package/lib/typescript/src/games/tile-home/components/FlyingTile.d.ts +0 -16
- package/lib/typescript/src/games/tile-home/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/tile-home/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/tile-home/components/TileItem.d.ts +0 -11
- package/lib/typescript/src/games/tile-home/components/TileSlot.d.ts +0 -7
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleService.d.ts +0 -32
- package/lib/typescript/src/games/whack-a-mole/WhackAMoleStore.d.ts +0 -39
- package/lib/typescript/src/games/whack-a-mole/components/GameBackground.d.ts +0 -7
- package/lib/typescript/src/games/whack-a-mole/components/GameGrid.d.ts +0 -10
- package/lib/typescript/src/games/whack-a-mole/components/GameHole.d.ts +0 -11
- package/lib/typescript/src/games/whack-a-mole/components/MoleCharacter.d.ts +0 -6
- package/lib/typescript/src/games/whack-a-mole/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/word-search/WordSearchConstants.d.ts +0 -63
- package/lib/typescript/src/games/word-search/WordSearchService.d.ts +0 -34
- package/lib/typescript/src/games/word-search/WordSearchStore.d.ts +0 -70
- package/lib/typescript/src/games/word-search/components/GameBoard.d.ts +0 -7
- package/lib/typescript/src/games/word-search/components/ScoreBoard.d.ts +0 -6
- package/lib/typescript/src/games/word-search/components/WordList.d.ts +0 -2
- package/lib/typescript/src/helpers/AnimatedScore.d.ts +0 -36
- package/lib/typescript/src/helpers/AnimationFrame.d.ts +0 -40
- package/lib/typescript/src/helpers/AnimationTracker.d.ts +0 -44
- package/lib/typescript/src/helpers/BlastAnimation.d.ts +0 -16
- package/lib/typescript/src/helpers/ErrorHandler.d.ts +0 -123
- package/lib/typescript/src/helpers/GameBackgroundPattern.d.ts +0 -7
- package/lib/typescript/src/helpers/GameControlButton.d.ts +0 -11
- package/lib/typescript/src/helpers/GameOverModal.d.ts +0 -15
- package/lib/typescript/src/helpers/GameTimer.d.ts +0 -26
- package/lib/typescript/src/helpers/Icons.d.ts +0 -12
- package/lib/typescript/src/helpers/ParticleBlast.d.ts +0 -11
- package/lib/typescript/src/helpers/ScoreBoardContainer.d.ts +0 -85
- package/lib/typescript/src/helpers/assets/apple-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/avocado-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/banana-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/bomb-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/broccoli-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/cherries-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/donut-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/dragonfruit-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/fries-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/fruit-helpers.d.ts +0 -154
- package/lib/typescript/src/helpers/assets/grapes-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/icecream-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/index.d.ts +0 -31
- package/lib/typescript/src/helpers/assets/kiwi-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/mango-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/orange-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/papaya-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/papaya-full-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/peach-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pineapple-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pomegranate-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/pumpkin-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/raspberry-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/star-item.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/strawberry-fruit.d.ts +0 -4
- package/lib/typescript/src/helpers/assets/watermelon-fruit.d.ts +0 -4
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x34fb2a=_0x2c87;!function(){const o=_0x2c87,e=_0x22fb();for(;;)try{if(450136==parseInt(o(501,"l]bt"))/1+-parseInt(o(532,"M)uQ"))/2+parseInt(o(564,"dV5q"))/3*(-parseInt(o(547,"TXPz"))/4)+parseInt(o(601,"!YeE"))/5*(-parseInt(o(537,"Zs%J"))/6)+-parseInt(o(597,"dV5q"))/7*(parseInt(o(590,"J8rL"))/8)+-parseInt(o(573,"Zx*R"))/9*(-parseInt(o(491,"qo(W"))/10)+parseInt(o(483,"TXPz"))/11)break;e.push(e.shift())}catch(o){e.push(e.shift())}}();import _0x447799,{useRef,useState,useEffect,useMemo}from"react";import{StyleSheet}from"react-native";import _0x5dd152,{useAnimatedStyle,useSharedValue}from"react-native-reanimated";import{Canvas,Group,RoundedRect,Circle,LinearGradient,vec}from"@shopify/react-native-skia";import{useDinoJumpStore,useOffset,registerDinoSharedValues,unregisterDinoSharedValues}from"../DinoJumpStore.js";import{DINO_JUMP_GAME_CONFIG,getGroundY}from"../DinoJumpConstants.js";import{jsx as _0x3092d9,jsxs as _0x1f454f}from"react/jsx-runtime";const _0x3fe911={};_0x3fe911[_0x34fb2a(522,"TWyg")]=DINO_JUMP_GAME_CONFIG.DINOSAUR_WIDTH+20,_0x3fe911[_0x34fb2a(476,"l]bt")]=DINO_JUMP_GAME_CONFIG[_0x34fb2a(518,"p3Uu")]+20;const CANVAS_STYLE=_0x3fe911,BODY_DARK=_0x34fb2a(486,"MU!4"),BODY_MID=_0x34fb2a(526,"]w8H"),BODY_HIGHLIGHT=_0x34fb2a(523,"RMdJ"),BELLY_TOP=_0x34fb2a(502,"9HBM"),BELLY_BOT=_0x34fb2a(585,"71te"),SHADOW_COLOR=_0x34fb2a(563,"Zy8V"),SCALE_COLOR=_0x34fb2a(477,"LY&s"),CLAW_COLOR=_0x34fb2a(513,"oJMy"),SPIKE_BASE=_0x34fb2a(506,"qo(W"),SPIKE_TIP=_0x34fb2a(543,"oJMy"),bodyGradColors=[_0x34fb2a(527,"J8rL"),_0x34fb2a(496,"N]CW"),"#5D4E37"],headGradColors=["#9A8A70",_0x34fb2a(606,"RMdJ"),"#5D4E37"],bellyGradColors=[BELLY_TOP,BELLY_BOT],jawGradColors=[_0x34fb2a(574,"4wUi"),_0x34fb2a(464,"TWyg")],eyeIrisColors=[_0x34fb2a(602,"l]bt"),_0x34fb2a(494,"LY&s"),_0x34fb2a(499,"DBxb")],eyeWhite=_0x34fb2a(569,"p3Uu"),eyeRing=_0x34fb2a(515,"u4Tz"),eyeSpecular=_0x34fb2a(475,"u2fR"),toothColor="#FFFFF0";export const DinoSprite=_0x447799[_0x34fb2a(586,"n8Ek")](()=>{const o="71te",e="jE5h",t=_0x34fb2a,r={fFjaD:function(o){return o()},YSICI:function(o,e){return o(e)},AxigR:function(o,e){return o/e},aYoCK:function(o,e){return o*e},OzRSh:function(o,e,t){return o(e,t)},oKJWm:function(o,e,t){return o(e,t)},UAHGC:function(o,e,t){return o(e,t)},XAuCp:function(o,e,t){return o(e,t)},TazSA:function(o,e,t){return o(e,t)},conlT:function(o,e){return o-e},ZOZqz:function(o,e){return o+e},MThQw:function(o,e){return o*e},yYIbW:function(o,e,t){return o(e,t)},aGSlq:function(o,e){return o+e},AVICV:function(o,e,t){return o(e,t)},GQqgQ:function(o,e,t){return o(e,t)},uDJJH:function(o,e,t){return o(e,t)},uWTOL:function(o,e){return o*e},oisRP:function(o,e,t){return o(e,t)},LiEkZ:function(o,e,t){return o(e,t)},xkVlY:function(o,e,t){return o(e,t)},yPFaP:function(o,e,t){return o(e,t)},TStQX:function(o,e,t){return o(e,t)},miWMn:function(o,e,t){return o(e,t)},OfBlb:function(o,e,t){return o(e,t)},UzoGo:t(488,"qo(W"),qkQoU:function(o,e,t){return o(e,t)},mIRAI:function(o,e,t){return o(e,t)},mLIgj:function(o,e,t){return o(e,t)}},d=r[t(542,"#QlK")](useSharedValue,0),n=useRef(0),[,W]=useState(0),x=useRef(!1);useEffect(()=>{const o=t,e={};return e.y=d,r[o(472,"iOwu")](registerDinoSharedValues,e),()=>{r[o(548,"yyf^")](unregisterDinoSharedValues)}},[d]),r[t(588,"7)TC")](useEffect,()=>{const o=t;return x[o(482,"LY&s")]=useDinoJumpStore[o(521,"dV5q")]()[o(541,"Zs%J")],useDinoJumpStore[o(582,"u4Tz")](e=>e[o(504,"!YeE")],e=>{const t=o;x[t(489,"k[TU")]=e,e||(n[t(587,"iXUD")]=0)})},[]),r[t(581,"J8rL")](useEffect,()=>{let o=!0;const e=()=>{o&&(x[_0x2c87(549,"J8rL")]&&(n.current=(n.current+1)%8,W(o=>o+1)),t=setTimeout(e,100))};let t=setTimeout(e,100);return()=>{o=!1,clearTimeout(t)}},[]);const i={};i.translateY=d[t(545,"43DJ")];const _=useAnimatedStyle(()=>({transform:[i]})),a=n[t(546,"4wUi")],u=useMemo(()=>{const d=t,n=r.AxigR(a,8)*Math.PI*2,W=Math[d(484,"TXPz")](n),x=Math[d(552,"CvOz")](n+Math.PI),i=r.aYoCK(W,4),_=4*x,u=W>0?3*-W:0,s=x>0?r[d(604,"&YP!")](-x,3):0,h={};h.x=.5*i,h.y=.3*u;const f=h,l={x:r[d(507,"RMdJ")](_,.5),y:.3*s},C={};C.x=i,C.y=u;const R=C,O={};O.x=_,O.y=s;const y=O,S=r[d(498,"LY&s")](Math[d(512,"MU!4")](Math[d(584,"J8rL")](2*n)),-1.2),k=1.5*Math[d(565,"u4Tz")](n),L={};L[d(503,o)]=1.6;const m={};m.translateY=S;const G={};G[d(558,"TXPz")]=k;const I={x:0,y:16,width:16};I[d(544,"RMdJ")]=12,I.r=4,I[d(495,"oJMy")]=BODY_MID;const D={x:1,y:17,width:8};D[d(555,"DBxb")]=4,D.r=2,D[d(480,"^HvQ")]=BODY_HIGHLIGHT;const P={x:-6,y:18};P[d(551,"MU!4")]=12,P[d(568,"9HBM")]=9,P.r=3,P.color=BODY_DARK;const p={};p[d(600,"k[TU")]=S;const b={x:12,y:11};b[d(508,"q%fe")]=12,b[d(538,"MU!4")]=6,b.r=3,b[d(556,"!YeE")]=BODY_HIGHLIGHT,b[d(493,"oJMy")]=.5;const g={};g[d(579,"M)uQ")]=f.x;const T={};T.translateY=f.y;const A={};A[d(490,"LY&s")]=l.x;const M={};M.translateY=l.y;const B={};B.translateY=S;const K={cx:47,cy:9,r:4};K[d(557,e)]=SHADOW_COLOR;const Y={cx:47,cy:8,r:3.5};Y.color=eyeWhite;const H={cx:47,cy:8,r:3.5};H[d(517,"LY&s")]=eyeRing,H[d(571,"sPi2")]=d(540,"Zx*R"),H[d(487,"#QlK")]=.7;const J={cx:48.2,cy:7.2,r:.9};J[d(577,"Zy8V")]=eyeSpecular;const q={cx:50,cy:14,r:1.2};q[d(478,"FpZQ")]="#FFFFF0";const w={cx:53,cy:14.5,r:1.2};w[d(470,"qt*p")]="#FFFFF0";const F={cx:56,cy:14,r:1.2};F[d(466,"TXPz")]="#FFFFF0";const V={x:18,y:8};V[d(481,"J8rL")]=4,V[d(596,"Zs%J")]=6,V.r=2,V[d(589,o)]=SPIKE_BASE;const E={x:18.5,y:7};E[d(531,"qo(W")]=3,E[d(536,"LY&s")]=3,E.r=1.5,E.color=SPIKE_TIP;const v={x:23,y:5};v[d(594,"Zy8V")]=5,v[d(603,"sPi2")]=8,v.r=2.5,v.color=SPIKE_BASE;const Q={x:23.5,y:4};Q[d(591,"jwFx")]=4,Q.height=4,Q.r=2,Q[d(525,"]w8H")]=SPIKE_TIP;const U={x:29,y:4,width:4};U[d(595,"^HvQ")]=7,U.r=2,U[d(468,"qo(W")]=SPIKE_BASE;const N={x:29.5,y:3,width:3};return N[d(474,"2v%P")]=3,N.r=1.5,N[d(497,"sPi2")]=SPIKE_TIP,_0x3092d9(Canvas,{style:CANVAS_STYLE,children:_0x1f454f(Group,{transform:[L],children:[r.OzRSh(_0x1f454f,Group,{transform:[m,G],children:[r[d(583,"CvOz")](_0x3092d9,RoundedRect,I),_0x3092d9(RoundedRect,D),r[d(570,e)](_0x3092d9,RoundedRect,P),r[d(539,"TXPz")](_0x3092d9,RoundedRect,{x:-12+r.aYoCK(k,.5),y:20,width:10,height:7,r:3,color:BODY_DARK}),_0x3092d9(RoundedRect,{x:-18+k,y:22,width:8,height:5,r:2.5,color:SCALE_COLOR})]}),_0x1f454f(Group,{transform:[p],children:[_0x3092d9(RoundedRect,{x:10,y:10,width:28,height:28,r:10,children:r[d(485,"l]bt")](_0x3092d9,LinearGradient,{start:vec(10,8),end:vec(10,38),colors:bodyGradColors})}),_0x3092d9(RoundedRect,b),r.oKJWm(_0x3092d9,RoundedRect,{x:16,y:24,width:18,height:12,r:6,children:_0x3092d9(LinearGradient,{start:r[d(593,"^j*A")](vec,16,24),end:vec(16,36),colors:bellyGradColors})}),_0x3092d9(Circle,{cx:20,cy:18,r:1.5,color:SCALE_COLOR,opacity:.3}),_0x3092d9(Circle,{cx:26,cy:16,r:1.5,color:SCALE_COLOR,opacity:.3}),_0x3092d9(Circle,{cx:32,cy:18,r:1.5,color:SCALE_COLOR,opacity:.3}),_0x3092d9(Circle,{cx:23,cy:22,r:1.2,color:SCALE_COLOR,opacity:.2}),_0x3092d9(Circle,{cx:29,cy:20,r:1.2,color:SCALE_COLOR,opacity:.2})]}),_0x1f454f(Group,{transform:[g,T],children:[_0x3092d9(RoundedRect,{x:14,y:r.conlT(47,14),width:8,height:14,r:4,color:BODY_DARK}),_0x3092d9(RoundedRect,{x:r.ZOZqz(15,r[d(519,"^j*A")](R.x,.3)),y:43+.5*R.y,width:5,height:8,r:2.5,color:BODY_DARK}),_0x3092d9(RoundedRect,{x:12+R.x,y:r[d(530,"#QlK")](r[d(514,"Zy8V")](47,3),R.y),width:10,height:5,r:2,color:BODY_MID}),r[d(462,"sPi2")](_0x3092d9,RoundedRect,{x:r[d(467,"k[TU")](11,R.x),y:52+R.y,width:3,height:3,r:1,color:CLAW_COLOR}),_0x3092d9(RoundedRect,{x:15+R.x,y:53+R.y,width:3,height:3,r:1,color:CLAW_COLOR}),_0x3092d9(RoundedRect,{x:19+R.x,y:52+R.y,width:3,height:3,r:1,color:CLAW_COLOR})]}),r[d(529,"DBxb")](_0x1f454f,Group,{transform:[A,M],children:[r[d(520,"[clK")](_0x3092d9,RoundedRect,{x:24,y:33,width:8,height:14,r:4,color:BODY_MID}),_0x3092d9(RoundedRect,{x:25,y:34,width:4,height:5,r:2,color:BODY_HIGHLIGHT,opacity:.4}),r[d(560,"^HvQ")](_0x3092d9,RoundedRect,{x:25+r[d(550,"iOwu")](y.x,.3),y:43+.5*y.y,width:5,height:8,r:2.5,color:BODY_MID}),_0x3092d9(RoundedRect,{x:r.aGSlq(22,y.x),y:r[d(479,"sPi2")](47,3)+y.y,width:10,height:5,r:2,color:BODY_MID}),_0x3092d9(RoundedRect,{x:21+y.x,y:52+y.y,width:3,height:3,r:1,color:CLAW_COLOR}),_0x3092d9(RoundedRect,{x:25+y.x,y:r[d(473,e)](47,6)+y.y,width:3,height:3,r:1,color:CLAW_COLOR}),_0x3092d9(RoundedRect,{x:r[d(524,"p3Uu")](29,y.x),y:r.ZOZqz(52,y.y),width:3,height:3,r:1,color:CLAW_COLOR})]}),r[d(465,"M)uQ")](_0x1f454f,Group,{transform:[B],children:[_0x3092d9(RoundedRect,{x:32,y:6,width:10,height:16,r:5,children:_0x3092d9(LinearGradient,{start:r.LiEkZ(vec,32,6),end:r[d(509,"qt*p")](vec,42,22),colors:bodyGradColors})}),r[d(562,"sPi2")](_0x3092d9,RoundedRect,{x:36,y:0,width:22,height:18,r:6,children:_0x3092d9(LinearGradient,{start:r.TStQX(vec,36,-2),end:r.UAHGC(vec,36,18),colors:headGradColors})}),_0x3092d9(RoundedRect,{x:38,y:1,width:10,height:5,r:3,color:BODY_HIGHLIGHT,opacity:.45}),_0x3092d9(RoundedRect,{x:42,y:12,width:16,height:6,r:3,children:r[d(572,"RMdJ")](_0x3092d9,LinearGradient,{start:vec(42,12),end:vec(42,18),colors:jawGradColors})}),_0x3092d9(RoundedRect,{x:54,y:4,width:8,height:10,r:4,color:BODY_DARK}),_0x3092d9(RoundedRect,{x:55,y:5,width:4,height:3,r:2,color:BODY_MID,opacity:.5}),_0x3092d9(Circle,{cx:58,cy:7,r:1.5,color:SCALE_COLOR,opacity:.8}),_0x3092d9(Circle,K),_0x3092d9(Circle,Y),_0x3092d9(Circle,H),_0x3092d9(Circle,{cx:47.5,cy:8,r:2.2,children:_0x3092d9(LinearGradient,{start:r[d(580,"Ui6)")](vec,47.5,6),end:vec(47.5,10),colors:eyeIrisColors})}),_0x3092d9(RoundedRect,{x:46.8,y:6.5,width:1.5,height:3.5,r:.5,color:r[d(567,"Q0*2")]}),_0x3092d9(Circle,J),_0x3092d9(Circle,q),_0x3092d9(Circle,w),_0x3092d9(Circle,F),r[d(500,"k0G1")](_0x3092d9,RoundedRect,{x:30,y:18,width:4,height:7,r:2,color:BODY_MID}),_0x3092d9(RoundedRect,{x:31,y:19,width:2,height:3,r:1,color:BODY_HIGHLIGHT,opacity:.3}),_0x3092d9(RoundedRect,{x:29,y:24,width:3,height:5,r:1.5,color:BODY_DARK}),_0x3092d9(Circle,{cx:29,cy:29,r:1,color:CLAW_COLOR}),r.TazSA(_0x3092d9,Circle,{cx:31,cy:29.5,r:1,color:CLAW_COLOR}),r[d(492,"43DJ")](_0x3092d9,RoundedRect,V),_0x3092d9(RoundedRect,E),r[d(528,"43DJ")](_0x3092d9,RoundedRect,v),_0x3092d9(RoundedRect,Q),_0x3092d9(RoundedRect,U),_0x3092d9(RoundedRect,N)]})]})})},[a]),s=useOffset(),h=getGroundY(s)-r[t(469,"#QlK")](DINO_JUMP_GAME_CONFIG[t(511,"TXPz")],20)-5,f={};f[t(566,"N]CW")]=h;const l={};return l[t(561,"k[TU")]=[styles.container,_,f],l[t(592,"sPi2")]=u,_0x3092d9(_0x5dd152.View,l)});function _0x2c87(o,e){o-=462;const t=_0x22fb();let r=t[o];if(void 0===_0x2c87.uoszLV){const o=function(o,e){let t,r,d=[],n=0,W="";for(o=function(o){let e="",t="";for(let t,r,d=0,n=0;r=o.charAt(n++);~r&&(t=d%4?64*t+r:r,d++%4)?e+=String.fromCharCode(255&t>>(-2*d&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let o=0,r=e.length;o<r;o++)t+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(t)}(o),r=0;r<256;r++)d[r]=r;for(r=0;r<256;r++)n=(n+d[r]+e.charCodeAt(r%e.length))%256,t=d[r],d[r]=d[n],d[n]=t;r=0,n=0;for(let e=0;e<o.length;e++)r=(r+1)%256,n=(n+d[r])%256,t=d[r],d[r]=d[n],d[n]=t,W+=String.fromCharCode(o.charCodeAt(e)^d[(d[r]+d[n])%256]);return W};_0x2c87.PyKdrt=o,_0x2c87.eDOjOx={},_0x2c87.uoszLV=!0}const d=t[0];_0x2c87.FkzePS!==d&&(_0x2c87.eDOjOx={},_0x2c87.FkzePS=d);const n=_0x2c87.eDOjOx[o];return void 0===n?(void 0===_0x2c87.UagIDW&&(_0x2c87.UagIDW=!0),r=_0x2c87.PyKdrt(r,e),_0x2c87.eDOjOx[o]=r):r=n,r}function _0x22fb(){const o=["W4ldUNNdL0fvAW","W4ighhFcGq","cmksWRpcTCon","c8oxgH91","WOhcHmo3p8kygmoR","h8kVfI7dQ8kfwG","WOL/pmksDNDPFW","tc/dQCoyFXHlnmkLW53dItTf","ExesW7BdKq","WOddLCktAmoBzSk0sSoTu8kydu8","mqmsW7OFW6X4W5dcSSoT","x1BcTc57","W6FdGKTwW7m","l1ZcV8oWl0ZdGSo8W64","eLBcK8k6iG","W7VdOg8","W7adpWhdNCk6W5C","mKfNW48","W5eAhru2x8kh","WPWGW7HepW","WRaUyY/cMW","WRVcUZK5WQTmW4FcNKK1dwpdJG","W65PjSoIeG","gmkoWQpcTComDmoVW64","be/dMmoWva","BxCAW63dIW","W4NcSmkUW5KVW4C","WPf8W6lcJSoBgG","WPBcGSoQuCoOW4mNdW","leBcRSoQofFdHmoW","qSkhWPZcVmoss8oL","WPDLCrRcPtSTW6bPha","wH0pCIK8lmkpq8ktC2FdTa","W4ukkJm6W73dGq","e8kdWQpcVSoaCG","WPaVjmoHdG","WPBcOMa4W6qStCoxh8kr","rCkjdgrztCkT","aSk/WOpcU8o/","p8kpWQtcTSo7DSo4W6KrWOG","W7hdMg9fW7jCxq","kHGaW4y8","W6D6BmoiWRu","WOjqqXJcPW","xsK/C8kv","gCkhamkMla","BrXjW5mv","vmkYW7VcICoeFCkVqCojWPmKWRpcUt8","W7GtxGpdLG","W7yab1ZcSW","WPddV8kHWQKrcW","WRZdV8kWWQpdJsuzoCkym03dSW4SW5LlWOSCpvZcLKm","WO4UC2XIWRK","W5isWPRdGCkBCSoJ","eCk8W7XXWPm","iCkPWPdcQmos","W4lcUSkRW5e1","W7/dOgv1W7y","WPjuWQNcGCk7lCos","WRyMnSkuW7DHoSkoWPfPWQTLW79p","W7D8BG","WR4kB0H6","fZbFit1nza","c8k0iCkLnSopW6OpWPfQEW","hxyslmkMWPv+","WObIyGBcSZK4","WOvtWRRcNCkTl8ohWOuOgW","bNzHlSoEWPz+qfXrW60Mfq","emoOBSk8W54","emoTW5qOrtqo","W5ixWPNdHSoRC8kw","hmoYW5KKxG","W7inW7y3EwRcMa","gmkjWQBcTSoA","WPb4WRtcSmkv","W6RdLu/cPCk1tGi","jMpdTSo+W6G","W5j+lJW5W7JcH13dK8ojW61M","W7VdSsxdRSoetmkT","WQaIBIZcJa","aLXVk3H2DCkouW","vCkmDwOUt8kVW4rZsr7cGCkw","hx4rk8kJWPn4","b8oNiHfq","z8ksW5hcSSo/","DHHZW5a+","WPuFomoskCo9BLO+CSox","W4bCtSoOWPqxwSoSWQvVWOXUW6X9kG","vwzT","xmkSW7b6fhfh","qfeKW6JdMq","FXRcNmkWFaZcMW","W5iJjexdP2f+W7fCn8oGAWu","WPjoWRFcNmkS","WQxdTqldNIbrbLTwW4OXxmoXWQddOq","hxRdISoYyG","W7FcSSkgW6dcOa","W4ddK8ovz8oYW7mhla","WQxcGKOdW58","rCo/DwSJt8kH","WOddUX/dVqi","W67dS8oMexO","WQ7cQSois0XVWRS","WQVdIde4WQ5mW4K","mSohFSkrW7u","WOJcSeFdLmkI","iSkpcCk7jW","ss83Amkp","DevhWQvDWRyRW4hcH8ohgYi8","WPVdTCkMWROyfSk7WR7dOW","nhRdGSoWW4Lj","W4FcISktW7pcMq","WPLeWRlcLmk2nW","W4GHW57cO8oyf8oyAW","xgf3Dral","W5XuDCoKWRC","W4VcKCotnCkjma","WPbQW5VcHCosf8oMuCod","iCktgSkjfa","xmoFWOukhhLh","dSoBjdvZda","kCoVqmkLW5K","x8oVigJdI8oygq","WRbbvCoLWOiNsa","l8kTd2xcSq","W6VdVhnZW7SvWOu","W5qxqW/dKW","q216zHa","dNtcTW","W6fYoxpdMCk0W5i1WOpcSSo/rgql","dCkIk0VcPGJdHWhcQqBdLWilWRZdLG","WQhcG2FdSmkCcG","cebtkgS","W7qOof/cSa","W7bNyCojWRq6BSokWP9/","W4VdK8ohqa","W5tcKCknW7qp","WPbJArJcSW","aSk2WOZcUmo4","AhKCW7JcI2PehmkcW5ZdUN7cIw7cLSo6","WPxcHSkxdmk3WQTemmknW7/dVcf/","l0dcSW","WQvvW4C","W7tdUtJcHgS","WRddKhtdISoVEG"];return(_0x22fb=function(){return o})()}const _0x386bee={};_0x386bee[_0x34fb2a(598,"u4Tz")]="absolute",_0x386bee[_0x34fb2a(535,"[clK")]=DINO_JUMP_GAME_CONFIG[_0x34fb2a(471,"q%fe")]+20,_0x386bee.height=DINO_JUMP_GAME_CONFIG[_0x34fb2a(554,"yyf^")]+20,_0x386bee[_0x34fb2a(559,"dV5q")]=DINO_JUMP_GAME_CONFIG[_0x34fb2a(605,"TWyg")]-10;const _0x595e13={};_0x595e13[_0x34fb2a(533,"2v%P")]=_0x386bee;const styles=StyleSheet[_0x34fb2a(534,"k0G1")](_0x595e13);DinoSprite[_0x34fb2a(510,"&YP!")]=_0x34fb2a(463,"sPi2");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x2a539c=_0x3cce;!function(){const e=_0x3cce,t=_0x38d0();for(;;)try{if(551870==-parseInt(e(347,"dPWr"))/1+parseInt(e(338,"Np^!"))/2+parseInt(e(356,"&bk*"))/3+-parseInt(e(343,"Xqy1"))/4+-parseInt(e(342,"S^3G"))/5+-parseInt(e(340,"z0oj"))/6*(parseInt(e(331,"j2&&"))/7)+parseInt(e(332,"Y]AD"))/8)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import _0x4e1601,{useRef,useCallback,useMemo,useState,useEffect}from"react";import{View,StyleSheet}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import{runOnJS}from"react-native-reanimated";import{useDinoJumpStore,useOffset}from"../DinoJumpStore.js";import{DinoSprite}from"./DinoSprite.js";import{ObstacleSprite}from"./ObstacleSprite.js";import{playSound,GAME_SOUNDS}from"../../../services/SoundsService.js";function _0x38d0(){const e=["WOHHjK3dI2FdUSk7jG","WQeEkmkyECkAW4G","drL/WRVdQq","nCojuCkYAfJdSdvRW7nLg2C","W7/cTvWwWPO","sKK5w8krW6hdKSkBW5ddQG","WO3dMfFdLmk8WPxcP8k7","BCkEW6/cJ8kiBqFcT8oEomoIimkE","hCoglmkcrHFdNW","WR3dTdCKWOa","BSk7rZ/dHG","W4NcG8o1pG","Cv3dGWtdVfzggmoDw8oKsmoz","tSo1BvDIW6/dQCovxvH+DCkk","WPBdSX/dTgX/Bx3cJq","EN7cVmoQW4fhWR3cMuq4ih8","W7lcQgiEWPpcNf7dVCk2","WQ3dGmoRWRKaWQZdMfhdI3tcOG","y8krdSoKeGFcRHHyW5zSmxa","BmoqW6z7y8k9WONcN2RdKmohWRVdGa","maVcGL7cSq8zlW","rCkGBrZdPmkKbW","uXWuW5ToWPhdPwdcJSkDWPFcQW","ubpdU8kTefOhWOlcQq","WPBdRSoNfuTWWR0kBSkmphu","W4xcTCk2rXqHWOCIACkqlNi","WRpcM3BdGYfmhSkrWO8","WQpcM2BdGIDqaW","WOz3aNldNN/dP8kW","vXWdgmozg3i","vSkICSkcWPHbW57dJqPoxmkPW6S","WRy6W5RcS2pcJuxcKSoCaHRcRq","csJdQmk+WRCnWRFcLa","jHpdN8oKWRJdVrZdJGmwpSoXsCkVCX8","WPZdVW3dOMf5sxNcJSkXW45qWQy","BmoCW6r+z8k9WOxcIu3dRCo0WQpdTa","aSo3uCk5W5bGiszI","hCoCmmkeqHddHv8S","uSk2BCkvWR5aW4q","w8k0pINcICkJ","DCkjBSkj","tmkGCH4","bmoBWQLcWRtdQGvwW6NcH0RcIG","lrJdN8oGWRxdVWNdPreTpG","W7jUB8oemCkwl8kG","W5tcUuegWPpcHLVdTSkIlhzlACok","W7pcOeNdN8kS","WOXKW4/dUCkOW6C","WOlcGCo6W5e","t2j0WQ/dGmoCu8oD","oSkmWQuEj8oSW4NcQW","itBdR8oNWPq","dX1XW6ifWPxcVSozWRG","mmkmWRWI"];return(_0x38d0=function(){return e})()}import{playHaptic,HapticType}from"../../../services/HapticsService.js";import{jsx as _0x41ecde,jsxs as _0x3558d1}from"react/jsx-runtime";const ObstaclesLayerComponent=({offset:e})=>{const t=_0x3cce,o={dnndh:function(e,t){return e(t)},PRSzx:function(e,t,o){return e(t,o)}},[r,n]=o[t(329,"(FYv")](useState,0);useEffect(()=>{const e=t;return useDinoJumpStore.subscribe(t=>t[e(358,"4SsU")],e=>n(e))},[]);const s=useMemo(()=>{const e=t;return useDinoJumpStore[e(353,"InK*")]()[e(323,"llSe")]},[r]);if(0===s[t(310,"Kmwn")])return null;const a={};return a[t(339,"ExA3")]=s,a.offset=e,o[t(334,"!F]e")](_0x41ecde,ObstacleSprite,a)},ObstaclesLayer=_0x4e1601[_0x2a539c(324,"]Z%^")](ObstaclesLayerComponent);ObstaclesLayer[_0x2a539c(314,"4SsU")]=_0x2a539c(316,"(FYv");const GameAreaComponent=({settings:e})=>{const t=_0x2a539c,o={WAXIs:t(322,"4SsU"),pJRWm:function(e){return e()},HnXQG:function(e,t){return e(t)}},r=useRef(e);r[t(354,"8)oE")]=e;const n=useRef(!1),s=o[t(335,"Oxoo")](useRef,!1);useEffect(()=>{const e=t,r=useDinoJumpStore.getState();n[e(352,"4iq*")]=r[e(341,"(FYv")],s[e(363,"4R#o")]=r.isGameOver;const a=useDinoJumpStore[e(361,"ky^b")](t=>t[e(325,"InK*")],t=>{const r=e;"hGCwM"!==o.WAXIs?_0x23976a[r(346,"Oxoo")]=_0x1a2d47:n[r(363,"4R#o")]=t}),i=useDinoJumpStore[e(351,"4iq*")](t=>t[e(330,"BwPw")],t=>{s[e(333,"RT9R")]=t});return()=>{const t=e;a(),o[t(327,"G^8u")](i)}},[]);const a=useOffset(),i=useCallback(()=>{const e=t;n.current&&!s[e(352,"4iq*")]&&(useDinoJumpStore[e(321,"]Z%^")]()[e(312,"Oxoo")](),playSound(GAME_SOUNDS[e(348,"GThj")][e(336,"000p")],r[e(326,"bL&l")][e(350,"s]Ab")]),playHaptic(HapticType[e(317,"j2&&")],r.current[e(359,"ExA3")]))},[]),W=useMemo(()=>Gesture.Tap().onEnd(()=>{runOnJS(i)()}),[i]),d={};return d[t(318,"d@id")]=a,_0x41ecde(GestureDetector,{gesture:W,children:_0x41ecde(View,{style:styles.container,children:_0x3558d1(View,{style:styles[t(355,"4R#o")],children:[_0x41ecde(DinoSprite,{}),_0x41ecde(ObstaclesLayer,d)]})})})};export const GameArea=_0x4e1601[_0x2a539c(311,"5ie@")](GameAreaComponent);const _0x351735={flex:1},_0x2953b3={};function _0x3cce(e,t){e-=310;const o=_0x38d0();let r=o[e];if(void 0===_0x3cce.ZMNTEn){const e=function(e,t){let o,r,n=[],s=0,a="";for(e=function(e){let t="",o="";for(let o,r,n=0,s=0;r=e.charAt(s++);~r&&(o=n%4?64*o+r:r,n++%4)?t+=String.fromCharCode(255&o>>(-2*n&6)):0)r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(r);for(let e=0,r=t.length;e<r;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),r=0;r<256;r++)n[r]=r;for(r=0;r<256;r++)s=(s+n[r]+t.charCodeAt(r%t.length))%256,o=n[r],n[r]=n[s],n[s]=o;r=0,s=0;for(let t=0;t<e.length;t++)r=(r+1)%256,s=(s+n[r])%256,o=n[r],n[r]=n[s],n[s]=o,a+=String.fromCharCode(e.charCodeAt(t)^n[(n[r]+n[s])%256]);return a};_0x3cce.EHGjJi=e,_0x3cce.fiFuKa={},_0x3cce.ZMNTEn=!0}const n=o[0];_0x3cce.ZJlWef!==n&&(_0x3cce.fiFuKa={},_0x3cce.ZJlWef=n);const s=_0x3cce.fiFuKa[e];return void 0===s?(void 0===_0x3cce.bVOiVS&&(_0x3cce.bVOiVS=!0),r=_0x3cce.EHGjJi(r,t),_0x3cce.fiFuKa[e]=r):r=s,r}_0x2953b3[_0x2a539c(319,")LU(")]=1,_0x2953b3[_0x2a539c(345,"tc^i")]=_0x2a539c(315,")Vfv");const _0x211052={};_0x211052[_0x2a539c(362,"RT9R")]=_0x351735,_0x211052[_0x2a539c(328,"Xqy1")]=_0x2953b3;const styles=StyleSheet.create(_0x211052);GameArea.displayName=_0x2a539c(357,"z0oj");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x115271=_0x13dc;function _0x13dc(t,e){t-=111;const o=_0x78ae();let n=o[t];if(void 0===_0x13dc.TPxclL){const t=function(t,e){let o,n,W=[],r=0,i="";for(t=function(t){let e="",o="";for(let o,n,W=0,r=0;n=t.charAt(r++);~n&&(o=W%4?64*o+n:n,W++%4)?e+=String.fromCharCode(255&o>>(-2*W&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let t=0,n=e.length;t<n;t++)o+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(o)}(t),n=0;n<256;n++)W[n]=n;for(n=0;n<256;n++)r=(r+W[n]+e.charCodeAt(n%e.length))%256,o=W[n],W[n]=W[r],W[r]=o;n=0,r=0;for(let e=0;e<t.length;e++)n=(n+1)%256,r=(r+W[n])%256,o=W[n],W[n]=W[r],W[r]=o,i+=String.fromCharCode(t.charCodeAt(e)^W[(W[n]+W[r])%256]);return i};_0x13dc.GMLvif=t,_0x13dc.sLMiyl={},_0x13dc.TPxclL=!0}const W=o[0];_0x13dc.DkwbKv!==W&&(_0x13dc.sLMiyl={},_0x13dc.DkwbKv=W);const r=_0x13dc.sLMiyl[t];return void 0===r?(void 0===_0x13dc.xHlsGv&&(_0x13dc.xHlsGv=!0),n=_0x13dc.GMLvif(n,e),_0x13dc.sLMiyl[t]=n):n=r,n}!function(){const t=_0x13dc,e=_0x78ae();for(;;)try{if(136963==parseInt(t(205,"xYvy"))/1*(parseInt(t(313,"wmaT"))/2)+-parseInt(t(257,"TGBn"))/3*(-parseInt(t(175,"PVDR"))/4)+-parseInt(t(293,"ZmOc"))/5+parseInt(t(309,"s#Sd"))/6+-parseInt(t(240,"xYvy"))/7*(-parseInt(t(181,"6H0R"))/8)+-parseInt(t(197,"bxL["))/9+parseInt(t(255,"PVDR"))/10*(-parseInt(t(132,"PjoH"))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{c as _0x1a2304}from"react/compiler-runtime";import _0x2986d5,{useEffect,useMemo,useRef,useState}from"react";import{View,StyleSheet,Dimensions}from"react-native";import{Canvas,LinearGradient,Rect,vec,Circle,Group,Path,Skia}from"@shopify/react-native-skia";import{registerGroundSharedValues,unregisterGroundSharedValues}from"../DinoJumpStore.js";import{useSharedValue,useAnimatedReaction,runOnJS}from"react-native-reanimated";import{jsx as _0x5ad306,jsxs as _0x41a3f7}from"react/jsx-runtime";const{width:width,height:height}=Dimensions[_0x115271(233,"!yXk")]("window"),SKY_GRADIENT_COLORS=[_0x115271(294,"PjoH"),_0x115271(148,"])Da"),_0x115271(347,"N6KU"),_0x115271(220,"&i$2"),_0x115271(349,"&vNI"),_0x115271(127,"])Da")],HAZE_COLOR=_0x115271(337,"qfPD"),HILL_FAR_COLOR="rgba(120,160,120,0.2)",HILL_MID_COLOR="rgba(90,140,90,0.28)",HILL_NEAR_COLOR=_0x115271(273,"WK]Q"),sunCoreColors=[_0x115271(212,"979K"),_0x115271(277,"])Da"),"#FFD700",_0x115271(285,"C8qE"),_0x115271(358,"TGBn")],outerGlowColors=[_0x115271(130,"LL^("),_0x115271(174,"bxL["),"transparent"],CLOUD_SHADOW=_0x115271(262,"rAPB"),CLOUD_BODY=_0x115271(308,"m!u)"),CLOUD_HIGHLIGHT=_0x115271(131,"&vNI"),TOPSOIL_COLORS=[_0x115271(270,"MlpB"),_0x115271(322,"&vNI"),_0x115271(383,"MlpB")],SUBSOIL_COLOR="#5C3814",GRASS_COLORS=["#4CB848",_0x115271(215,"1yRH"),_0x115271(188,"979K")],GRASS_EDGE_COLOR="#0D4D0D",buildHillPath=(t,e,o,n)=>{const W=_0x115271,r={};r[W(386,"(6eA")]=function(t,e){return t*e},r.BdQyb=function(t,e){return t/e},r[W(335,"ti27")]=function(t,e){return t-e};const i=r;let a="M 0 "+height;for(let r=0;r<=30;r++){const d=i[W(353,"VzK[")](i.BdQyb(width,30),r),x=i[W(185,"VzK[")](t,i.pmDMR(e,Math.sin(o*d/width*Math.PI*2+n)));a+=W(390,"U](m")+d+" "+x}return a+=W(388,"Tw^0")+width+" "+height+" Z",a},_0x12310c={length:12},SUN_RAYS_DATA=Array[_0x115271(327,"lWmG")](_0x12310c,(t,e)=>{const o=_0x115271,n=30*e*Math.PI/180,W=e%3,r={};return r[o(163,"6H0R")]=e,r[o(365,"d$f5")]=n,r[o(202,"Rd8$")]=0===W?30:1===W?20:12,r[o(203,"hcH7")]=0===W?4:1===W?3:2,r.startDistance=48,r[o(287,"VqWC")]=0===W?.7:1===W?.55:.4,r}),_0x4e0fa2={};_0x4e0fa2.x=.15*width,_0x4e0fa2.y=0,_0x4e0fa2.scale=1;const _0x116a8d={};_0x116a8d.x=.5*width,_0x116a8d.y=0,_0x116a8d[_0x115271(387,"1yRH")]=.85;const _0x26d4b2={};_0x26d4b2.x=.8*width,_0x26d4b2.y=0,_0x26d4b2[_0x115271(118,"TGBn")]=1.15;const cloudData=[_0x4e0fa2,_0x116a8d,_0x26d4b2][_0x115271(114,"6H0R")]((t,e)=>({id:e,baseX:t.x,scale:t[_0x115271(182,"YQ%F")],shadowOffX:3,shadowOffY:4*t[_0x115271(367,"PVDR")],leftR:15*t[_0x115271(373,"m!u)")],centerR:20*t[_0x115271(286,"6H0R")],rightR:15*t[_0x115271(161,"ti27")],hlLeftR:12*t[_0x115271(286,"6H0R")],hlCenterR:16*t.scale,hlRightR:12*t[_0x115271(311,"d$f5")],dxL:-20*t[_0x115271(137,"AFav")],dxR:20*t[_0x115271(265,"81hl")],dyTop:-5*t[_0x115271(155,"!yXk")],dyHL:-7*t[_0x115271(263,"rAPB")],dyHLCenter:-3*t[_0x115271(286,"6H0R")]})),StaticBackgroundComponent=t=>{const e="VzK[",o="WK]Q",n="[GwD",W="fV9Y",r="(6eA",i="VqWC",a="LL^(",d=_0x115271,x={RaEhn:function(t,e){return t*e},vhbpa:function(t,e){return t+e},MBlww:"stroke",UaddR:function(t,e){return t*e},LoOgr:function(t,e,o){return t(e,o)},BfvzF:function(t,e,o,n,W){return t(e,o,n,W)},RgOAt:function(t,e,o,n,W){return t(e,o,n,W)},ZciwX:function(t,e){return t-e},xWOiy:function(t,e){return t===e},SglZU:function(t,e){return t!==e},LJoXi:d(200,e),uhIak:function(t,e,o){return t(e,o)},dCqbb:d(239,"rAPB"),QGNjN:function(t,e){return t!==e},ADuMA:function(t,e,o){return t(e,o)},IwojV:d(341,o),KpVzL:function(t,e,o){return t(e,o)},NcsmS:d(378,"PjoH"),SzFSH:function(t,e){return t+e},AOLad:d(122,"gw**"),RBVXa:d(292,"6H0R"),jrmjI:function(t,e,o){return t(e,o)},Rurlz:function(t,e){return t!==e},UwszO:function(t,e){return t+e},jQoqs:function(t,e){return t!==e},burgt:function(t,e){return t!==e},DktUx:function(t,e){return t!==e},cjadB:function(t,e){return t!==e},vPXmh:function(t,e){return t+e},tNMhd:function(t,e){return t!==e},hrHVX:function(t,e){return t!==e},FTtuY:function(t,e,o){return t(e,o)},USsac:function(t,e){return t-e},xmGsE:function(t,e){return t!==e}},s=_0x1a2304(96),{groundY:u,sunY:_,cloudBaseY:l}=t,f=u-60;let S;s[0]!==f?(S=x.BfvzF(buildHillPath,f,28,1.5,0),s[0]=f,s[1]=S):S=s[1];const h=u-35;let C;s[2]!==h?(C=x[d(129,"C8qE")](buildHillPath,h,20,2.2,1.2),s[2]=h,s[3]=C):C=s[3];const R=x[d(375,"&vNI")](u,12);let k,m;if(s[4]!==R?(k=buildHillPath(R,14,3,2.5),s[4]=R,s[5]=k):k=s[5],s[6]!==S||s[7]!==C||s[8]!==k){const t={};t[d(379,"hcH7")]=S,t.hillMid=C,t[d(300,"&vNI")]=k,m=t,s[6]=S,s[7]=C,s[8]=k,s[9]=m}else m=s[9];const{hillFar:O,hillMid:P,hillNear:G}=m;let L;s[10]!==_?(L=SUN_RAYS_DATA.map(t=>{const e=d,{index:o,radian:n,rayLength:W,rayWidth:r,startDistance:i,opacity:a}=t,s=.8*width,u=s+x[e(195,"YQ%F")](Math.cos(n),i),l=_+Math[e(242,"6H0R")](n)*i,f=x[e(187,"&vNI")](s,Math.cos(n)*(i+W)),S=x[e(125,"AFav")](_,Math[e(249,"s#Sd")](n)*(i+W)),h=Skia[e(297,"bxL[")].Make();h.moveTo(u,l),h[e(289,"sR@x")](f,S);const C={};return C[e(302,"ZmOc")]=h,C[e(210,"Wwj2")]=x[e(361,"LL^(")],C[e(330,"[GwD")]=r,C.color=e(280,"d$f5"),C[e(315,"!yXk")]=a,_0x5ad306(Path,C,o)}),s[10]=_,s[11]=L):L=s[11];const D=L;let w;s[12]!==l?(w=cloudData[d(219,"])Da")](t=>{const e=l+x[d(342,"RXMo")](t.id*height,.06),o={...t};return o.cy=e,o}),s[12]=l,s[13]=w):w=s[13];const y=w;let H,B,v,b;if(x[d(246,"Rd8$")](s[14],Symbol[d(251,"ZmOc")](d(227,"PGBD")))?(H=vec(0,0),s[14]=H):H=s[14],s[15]!==u?(B=vec(0,u),s[15]=u,s[16]=B):B=s[16],s[17]!==B)if(x.SglZU("EsyaB",x.LJoXi)){const t={};t[d(336,"YQ%F")]=_0x129c4e,t.sunY=_0x3b7868,t[d(259,"MlpB")]=_0x2aeca5,_0x4ac607=t,_0x4c74d2[0]=_0x496bb8,_0x46ec5d[1]=_0x8c0963,_0x52bb9d[2]=_0x514ce3,_0x376448[3]=_0x4edc1d}else{const t={};t[d(171,"AFav")]=H,t[d(156,"bxL[")]=B,t[d(209,"wmaT")]=SKY_GRADIENT_COLORS,v=x[d(169,"lWmG")](_0x5ad306,LinearGradient,t),s[17]=B,s[18]=v}else x[d(157,"rAPB")]===d(371,"B2(E")?_0x193757=_0x1ca5fc[51]:v=s[18];if(x[d(176,"&i$2")](s[19],u)||s[20]!==v)if(x[d(236,n)](d(135,"&vNI"),"LVcao")){const t={x:0,y:0};t[d(237,"PGBD")]=width,t[d(298,W)]=u,t[d(119,"&i$2")]=v,b=_0x5ad306(Rect,t),s[19]=u,s[20]=v,s[21]=b}else _0x4eb54f=_0x3b5197[7],_0x5ee057=_0xa810a7[8],_0x5628f8=_0x48d851[9];else b=s[21];const Q=u-80;let g,q,I,p;if(s[22]!==Q){const t={x:0};t.y=Q,t[d(158,"bxL[")]=width,t[d(267,"s#Sd")]=80,t.color=HAZE_COLOR,g=x[d(258,"C8qE")](_0x5ad306,Rect,t),s[22]=Q,s[23]=g}else g=s[23];if(s[24]!==O){const t={};t.path=O,t.color=HILL_FAR_COLOR,q=x[d(321,"[GwD")](_0x5ad306,Path,t),s[24]=O,s[25]=q}else q=s[25];if(s[26]!==P){const t={};t.path=P,t.color=HILL_MID_COLOR,I=x[d(290,"Rd8$")](_0x5ad306,Path,t),s[26]=P,s[27]=I}else"gIXbU"!==x[d(229,"lxkN")]?(_0x564675=_0x13c955(0,_0x4df27b),_0x2a8762[15]=_0x1f8035,_0x3949b4[16]=_0x3bc06e):I=s[27];if(s[28]!==G){const t={};t[d(384,"!zKW")]=G,t[d(320,"qfPD")]=HILL_NEAR_COLOR,p=x[d(334,"])Da")](_0x5ad306,Path,t),s[28]=G,s[29]=p}else p=s[29];const K=_-70;let A;if(s[30]!==K)A=vec(.8*width-70,K),s[30]=K,s[31]=A;else if(d(269,"979K")!==x[d(222,"1yRH")])A=s[31];else{const t=d(235,r)[d(359,"d$f5")]("|");let e=0;for(;;){switch(t[e++]){case"0":_0x23c874[9]=_0x10dbb4;continue;case"1":_0x3938a6[6]=_0xee462e;continue;case"2":_0x94013a[7]=_0x4eeb7f;continue;case"3":const t={};t[d(266,"Wwj2")]=_0x4e270d,t[d(323,"N6KU")]=_0xedcc53,t[d(134,"gw**")]=_0x768947,_0x48e65a=t;continue;case"4":_0x32a053[8]=_0x266ed3;continue}break}}const V=x[d(338,"lWmG")](_,70);let M,N,j,E;if(s[32]!==V?(M=vec(x[d(295,"(6eA")](.8*width,70),V),s[32]=V,s[33]=M):M=s[33],s[34]!==A||s[35]!==M){const t={};t[d(121,"qfPD")]=A,t[d(328,"RXMo")]=M,t[d(370,"fV9Y")]=outerGlowColors,N=_0x5ad306(LinearGradient,t),s[34]=A,s[35]=M,s[36]=N}else N=s[36];if(s[37]!==_||s[38]!==N){const t={};t.cx=.8*width,t.cy=_,t.r=70,t.children=N,j=_0x5ad306(Circle,t),s[37]=_,s[38]=N,s[39]=j}else if(x[d(366,o)]===x[d(281,"MlpB")]){const t={};t[d(183,"81hl")]=_0x531f6a,t[d(316,"979K")]=_0x2671f2,_0x2c3755=x.LoOgr(_0x1e8183,_0x12ea5d,t),_0x43c149[24]=_0x3d9d1a,_0x2afbad[25]=_0x3b5537}else j=s[39];if(s[40]!==_){const t={};t.cx=.8*width,t.cy=_,t.r=52,t[d(120,"fV9Y")]="rgba(255,215,0,0.10)",E=x[d(191,i)](_0x5ad306,Circle,t),s[40]=_,s[41]=E}else E=s[41];const T=_-40;let F;x[d(224,"[GwD")](s[42],T)?(F=vec(.8*width-40,T),s[42]=T,s[43]=F):F=s[43];const U=x.UwszO(_,40);let Y,z,X,J,Z,cc;if(x[d(389,n)](s[44],U)?(Y=vec(.8*width+40,U),s[44]=U,s[45]=Y):Y=s[45],s[46]!==F||s[47]!==Y){const t={};t[d(252,"m!u)")]=F,t[d(123,"d$f5")]=Y,t[d(112,"WK]Q")]=sunCoreColors,z=x[d(355,"VzK[")](_0x5ad306,LinearGradient,t),s[46]=F,s[47]=Y,s[48]=z}else z=s[48];if(s[49]!==_||x[d(350,e)](s[50],z)){const t={};t.cx=.8*width,t.cy=_,t.r=40,t[d(149,"Rd8$")]=z,X=_0x5ad306(Circle,t),s[49]=_,s[50]=z,s[51]=X}else X=s[51];if(s[52]!==D||s[53]!==j||x[d(318,"!yXk")](s[54],E)||s[55]!==X){const t={};t.children=[j,E,X,D],J=_0x41a3f7(Group,t),s[52]=D,s[53]=j,s[54]=E,s[55]=X,s[56]=J}else J=s[56];x.DktUx(s[57],y)?(Z=y[d(198,"(6eA")](_temp),s[57]=y,s[58]=Z):Z=s[58],x[d(307,"U](m")](s[59],u)?(cc=vec(0,u),s[59]=u,s[60]=cc):cc=s[60];const tc=u+20;let ec,oc,nc;if(s[61]!==tc?(ec=vec(0,tc),s[61]=tc,s[62]=ec):ec=s[62],s[63]!==cc||s[64]!==ec){const t={};t[d(193,"DS@Y")]=cc,t[d(247,"LL^(")]=ec,t[d(153,"[GwD")]=TOPSOIL_COLORS,oc=_0x5ad306(LinearGradient,t),s[63]=cc,s[64]=ec,s[65]=oc}else oc=s[65];if(x[d(133,"VqWC")](s[66],u)||s[67]!==oc){const t={x:0};t.y=u,t.width=width,t[d(213,"qfPD")]=20,t.children=oc,nc=x[d(326,"B2(E")](_0x5ad306,Rect,t),s[66]=u,s[67]=oc,s[68]=nc}else nc=s[68];const Wc=x[d(111,"&vNI")](u,20),rc=x[d(150,"ZmOc")](height,u)-20;let ic;if(s[69]!==Wc||s[70]!==rc){const t={x:0};t.y=Wc,t.width=width,t.height=rc,t[d(396,"Tw^0")]="#5C3814",ic=_0x5ad306(Rect,t),s[69]=Wc,s[70]=rc,s[71]=ic}else ic=s[71];const ac=u-15,dc=u-15;let xc,sc,uc,lc;if(s[72]!==dc?(xc=vec(0,dc),s[72]=dc,s[73]=xc):xc=s[73],s[74]!==u?(sc=vec(0,u),s[74]=u,s[75]=sc):sc=s[75],s[76]!==xc||x[d(226,i)](s[77],sc)){const t={};t[d(376,"PjoH")]=xc,t.end=sc,t[d(304,"979K")]=GRASS_COLORS,uc=_0x5ad306(LinearGradient,t),s[76]=xc,s[77]=sc,s[78]=uc}else"HvZFe"===d(159,"YQ%F")?_0x4b598e=_0xcdd8a6[36]:uc=s[78];if(x[d(142,"!zKW")](s[79],ac)||s[80]!==uc){const t={x:0};t.y=ac,t[d(254,r)]=width,t.height=15,t[d(119,"&i$2")]=uc,lc=x[d(231,"xYvy")](_0x5ad306,Rect,t),s[79]=ac,s[80]=uc,s[81]=lc}else lc=s[81];const fc=x[d(303,W)](u,15);let Sc,hc;if(s[82]!==fc){const t={x:0};t.y=fc,t.width=width,t[d(234,"[GwD")]=2,t.color="#0D4D0D",Sc=_0x5ad306(Rect,t),s[82]=fc,s[83]=Sc}else Sc=s[83];if(x[d(241,"Wwj2")](s[84],b)||x[d(204,a)](s[85],g)||x[d(228,"TGBn")](s[86],q)||s[87]!==I||s[88]!==p||s[89]!==J||s[90]!==Z||s[91]!==nc||s[92]!==ic||x[d(291,a)](s[93],lc)||s[94]!==Sc){const t=d(279,"PGBD")[d(196,"])Da")]("|");let e=0;for(;;){switch(t[e++]){case"0":s[95]=hc;continue;case"1":s[90]=Z;continue;case"2":s[86]=q;continue;case"3":s[91]=nc;continue;case"4":s[84]=b;continue;case"5":s[88]=p;continue;case"6":s[92]=ic;continue;case"7":s[93]=lc;continue;case"8":s[87]=I;continue;case"9":s[85]=g;continue;case"10":const t={};t.style=styles[d(232,"xYvy")],t[d(144,"1yRH")]=[b,g,q,I,p,J,Z,nc,ic,lc,Sc],hc=_0x41a3f7(Canvas,t);continue;case"11":s[94]=Sc;continue;case"12":s[89]=J;continue}break}}else hc=s[95];return hc},StaticBackground=_0x2986d5[_0x115271(167,"6H0R")](StaticBackgroundComponent);StaticBackground[_0x115271(145,"U](m")]=_0x115271(360,"rAPB");const ScrollingGroundComponent=t=>{const e="Tw^0",o="979K",n=_0x115271,W={UJcmy:function(t,e){return t>e},Ngchy:function(t,e){return t*e},xOMlO:function(t,e){return t%e},jTrLm:function(t,e){return t+e},mFavp:function(t,e,o){return t(e,o)},sPAMa:function(t,e){return t+e},JQnEH:function(t,e){return t%e},icqlk:function(t,e){return t/e},Serng:function(t,e){return t%e},cssIy:function(t,e){return t%e},PafcE:function(t,e,o,n){return t(e,o,n)},OOLLP:function(t,e){return t(e)},NHAJP:function(t,e){return t!==e},jvmxW:function(t,e,o){return t(e,o)},jNqtl:n(178,"LL^(")},r=_0x1a2304(15),{groundY:i}=t,a=W[n(317,"bxL[")](useSharedValue,0),[d,x]=useState(0),s=W[n(238,"lxkN")](useRef,0);let u,_;W[n(351,e)](r[0],a)?(u=()=>{const t={};return t.offset=a,registerGroundSharedValues(t),_temp2},_=[a],r[0]=a,r[1]=u,r[2]=_):(u=r[1],_=r[2]),W[n(260,"ZmOc")](useEffect,u,_);const l=t=>{const e=n,o=Date[e(124,"ti27")]();W[e(283,"YQ%F")](o-s[e(312,"&vNI")],80)&&(s[e(299,"TGBn")]=o,x(t))};useAnimatedReaction(()=>a.value,t=>{runOnJS(l)(t)});const f=height-i;let S,h,C,R,k;if(r[3]!==i||r[4]!==f){const t={};t.top=i,t.height=f,S=[styles[n(250,e)],t],r[3]=i,r[4]=f,r[5]=S}else S=r[5];if(r[6]!==d){const t={};t[n(190,"MlpB")]=12,h=Array[n(372,"N6KU")](t,(t,e)=>{const o=n,r=W[o(314,"U](m")](width/6,e)-d,i=W[o(146,"TGBn")](W[o(180,"s#Sd")](r%width,width),width),a={};return a.x=i,a.y=5,a[o(364,"m!u)")]=3,a[o(115,"PGBD")]=8,a.color=o(214,"&i$2"),a[o(244,"Wwj2")]=.7,_0x41a3f7(Group,{children:[W.mFavp(_0x5ad306,Rect,a),_0x5ad306(Rect,{x:W.sPAMa(i,15),y:15,width:2,height:5,color:o(192,"U](m"),opacity:.5})]},o(186,"RXMo")+e)});const e={};e[n(395,"[GwD")]=10,C=Array[n(268,"DS@Y")](e,(t,e)=>{const r=n,i=((W[r(288,"LL^(")](width/10,e)+e%3*20-d)%width+width)%width,a=30+20*W[r(329,o)](e,4),x=2+e%3,s={};return s.cx=i,s.cy=a,s.r=x,s[r(316,o)]=r(194,"m!u)"),s[r(206,"])Da")]=.5,_0x5ad306(Circle,s,r(253,"Tw^0")+e)});const i={};i[n(177,"TGBn")]=5,R=Array[n(319,"YQ%F")](i,(t,e)=>{const o=n,r=W[o(397,"PVDR")](width,5)*e+10-d,i=W[o(348,"[GwD")](W[o(284,"d$f5")](W[o(162,"&i$2")](r,width),width),width),a=22+e%3*25,x={};return x.cx=i,x.cy=a,x.r=1.5,x[o(168,"(6eA")]=o(189,"YQ%F"),W.PafcE(_0x5ad306,Circle,x,o(344,"qfPD")+e)}),r[6]=d,r[7]=h,r[8]=C,r[9]=R}else h=r[7],C=r[8],R=r[9];if(r[10]!==S||r[11]!==h||r[12]!==C||r[13]!==R){const t=n(261,"sDSG")[n(211,"[GwD")]("|");let e=0;for(;;){switch(t[e++]){case"0":r[13]=R;continue;case"1":r[10]=S;continue;case"2":r[14]=k;continue;case"3":const t={};t[n(165,"rAPB")]=S,t[n(248,"&i$2")]=W[n(173,"&i$2")],t[n(391,"rAPB")]=[h,C,R],k=_0x41a3f7(Canvas,t);continue;case"4":r[11]=h;continue;case"5":r[12]=C;continue}break}}else k=r[14];return k},ScrollingGround=_0x2986d5[_0x115271(345,"&i$2")](ScrollingGroundComponent);ScrollingGround[_0x115271(352,"sDSG")]="ScrollingGround";export const GameBackground=_0x2986d5.memo(t=>{const e=_0x115271,o={aaiDF:function(t,e){return t(e)},ZYuSg:function(t,e){return t>e},rWNxq:function(t,e){return t-e},pfuRV:function(t,e){return t*e},KuQXj:function(t,e){return t*e},kPUKR:function(t,e){return t===e},dXgFg:function(t,e){return t!==e},nfNze:function(t,e,o){return t(e,o)},MdFZb:function(t,e){return t!==e},DcGXc:function(t,e,o){return t(e,o)}},n=o[e(147,"ti27")](_0x1a2304,14),{children:W,offset:r}=t,i=void 0===r?0:r,a=o.ZYuSg(i,0)?150:250,d=o[e(243,"d$f5")](height,a),x=o[e(264,"VqWC")](height,.2)+.9*i,s=.25*height+o[e(381,"sDSG")](i,.9);let u;if(n[0]!==d||n[1]!==x||n[2]!==s){const t=e(139,"6H0R")[e(216,"m!u)")]("|");let o=0;for(;;){switch(t[o++]){case"0":n[0]=d;continue;case"1":n[2]=s;continue;case"2":const t={};t.groundY=d,t[e(138,"gw**")]=x,t[e(152,"wmaT")]=s,u=t;continue;case"3":n[1]=x;continue;case"4":n[3]=u;continue}break}}else o.kPUKR(e(272,"Rd8$"),e(305,"sDSG"))?u=n[3]:_0x467d55(_0x5c9ad5)(_0x35cd50);const{groundY:_,sunY:l,cloudBaseY:f}=u;let S,h,C;if(n[4]!==f||n[5]!==_||o[e(208,"!zKW")](n[6],l)){const t={};t[e(141,"AFav")]=_,t[e(332,"sDSG")]=l,t.cloudBaseY=f,S=_0x5ad306(StaticBackground,t),n[4]=f,n[5]=_,n[6]=l,n[7]=S}else S=n[7];if(n[8]!==_){const t={};t[e(374,"DS@Y")]=_,h=o[e(170,"DS@Y")](_0x5ad306,ScrollingGround,t),n[8]=_,n[9]=h}else h=n[9];if(o[e(368,"B2(E")](n[10],W)||o[e(343,"m!u)")](n[11],S)||n[12]!==h){const t={};t[e(271,"wmaT")]=styles.container,t[e(144,"1yRH")]=[S,h,W],C=o[e(382,"0E%6")](_0x41a3f7,View,t),n[10]=W,n[11]=S,n[12]=h,n[13]=C}else C=n[13];return C});const _0x41f547={flex:1},_0x427092={};_0x427092[_0x115271(160,"N6KU")]=_0x115271(296,"6H0R"),_0x427092.top=0,_0x427092[_0x115271(357,"[GwD")]=0,_0x427092[_0x115271(377,"sR@x")]=0,_0x427092[_0x115271(128,"xYvy")]=0,_0x427092[_0x115271(230,"sDSG")]=width,_0x427092[_0x115271(354,"RXMo")]=height;const _0x51c8c6={};_0x51c8c6.position=_0x115271(392,"sDSG"),_0x51c8c6[_0x115271(325,"hcH7")]=0,_0x51c8c6.right=0,_0x51c8c6[_0x115271(221,"!yXk")]=width;const _0x521d94={};_0x521d94[_0x115271(393,"PVDR")]=_0x41f547,_0x521d94[_0x115271(207,"])Da")]=_0x427092,_0x521d94[_0x115271(126,"&vNI")]=_0x51c8c6;const styles=StyleSheet[_0x115271(301,"PVDR")](_0x521d94);function _0x78ae(){const t=["WPxdPuv3gCo9Eq","WRTsncy+ba","FbewW7a","WRrVW40UWOy","ESkNW73dQKlcK1S","WOLoW48rFW","WOJcShuqEa","fCktWPBcVCkoW6VcMePxwMyJc8o+WRFcT8kaiM8L","W6NdP2JcGhO","W7RdLhlcKNC","A8ooW4LbW6a","WORcMLKrWOb0rW","CrKSW6GR","W5qeiCocWR/dPtnbW6uYhCkRdHztWOiTWQJcVM3cPmkDWRtdIcVdHZxcUa","g3aSlSkPp2W","c8kKWPVcHrm","W6hcKvvCWRmYsCo2","fCothSkiCW","uMiyjSoZ","C8kfxaifWQ95","WQTwCL5h","mmk+WR3cMCoRjSoE","bwXHmSk/","aI0iW6/cPu4","WQBcL1elCq","d2b2d8k+","WP5YDefk","s3rSWOaImaqjatXADq","nJxdKmoYW73dImkL","WRSFWOHAW4m","WRLxyf1oWQBdUIK","W7pdPSoXmW","W6hcMg5sWRWU","WO7dOq03zSo8W7O","W6eRW5Toj8kjWR9N","W53dSmkZz8odcq","dcmVW5e","W5ZcRNruWRC","WPniW5G3WRbE","ySoHWO4uWQK","WQPCDfPwWOe","WPa1WRpcOJ4","asmynqvoiXFcGrzzeCkgWOaLW44VWQL2xhzu","W6OfzxHVqSoHW4nNeSkBcG","nCoTW5ZcQxlcG8oqWQG","s1ulbSo7","W6O3W4vqdmkcWQO","W44cWO9nsuuwW4qOBq","WR04WRhcRGu","k8kBmSk1BSoGcG","WPniW5G3WRa","W6ZdImojf34","jSkEiCkXCW","jSoReSki","j8oycLHE","A8onW7hcTmoD","WQP6W7uxlmoEWP8","vaDlWP7cISkXWOi","W7ZdJvm","o2FcLCoR","smoRW49PW7K","EW4LW7e","W78FW6u","WRP2W5ODWOO","BCorW4RcUSoDjGDKyaZdQG","W5ldQSobEmkP","FSo3WReB","n8oFb1ndWPddQXtdHmoV","W6lcReKTWOO","F8ozWOSdWQu","j8oReSkqzehcOa","nSoqbfyeW5xcKuFcJSkehCkOW4JdGdrIimkYWOtcUuW","tGymW48X","W5uGnmomWQVcISoQEGRcQq","xG9uWPFcNW","amk9WQZcVSoZ","W48qW6xcVM8","pIa8dK8","nmosbfvaWOlcIq","v8o5av4","i8kREYDFW6GgWRi6mG","h1zKWRhdS8kCWQi","tCoaW4RcU8or","WQOhWO9MuCkVW64","xSknz8kNwG","WQ8LW7beW7C","ACoRWQWYWO1uW697W4HxuW","rmkXtmkBEW","W7iuW6JcVvxcPq","DCkyFCkBAa","W6GEaq","CSoaW57cOq","W47dKJL9qmkIWR4","s0yga8oQ","iePsWPXSW4CbW7XxWPv1uSktbJHW","bKLUlCkX","W6GIn8o0WOW","xSoLof5A","bc0Eieu","sLCoa8o/yq","jSk7WRJcVCoc","W43dOCk3ASos","BCo3W51IW58","pmkMFdDI","W6RcKMTAWQyP","ySobW4nwW5i","wHXiWP8","acCBoeG","FrewW6JcPNBdSG","W5mHW55vmq","zNxdSmk5WRK","hc0bW6lcHq","qw/dH8kGWOK","p2VcN8oZWOejWRS","umonWPxcQmo3WP/dGda","rSo3WO4AWOS","WP97W7FcMmkV","ESorWOZdQtBcKv0","W6JdLhxcNW","WPhdRsPHW7mJfW58CSoJ","WR0AWQ5NW7a","omooW5jsW54","W4eHWPe","tCocW5tcJ8oJ","W5mtW7i","efzAWOrHW5yMW7m","BmoGWQWTWO1aW6jq","W53dRCk4CSowbxDcqq","W4BdKSk9vCot","CSoaW5BcSSockW","WOicW51HW5u","W5FdOCkNASoC","W78sW69paq","bmkBWPJcS8ouWQ4","WRD2W4i8BW","WRvuyW","WO1rnmkrWQVcQa","le17WQLkW6fNrCobW7yzW68","umkKwG","WP7dTX4PzG","wCo0bv1oaSkdgq","W6RcKMTAWQy","n8odb0vy","c8o7lCkxdW","xvGo","vSozWPC","W4FdRCopz8k6","W64WW5Hxb8kiWP10WQzXeHq","WORcMLKrW7mitG","j8kSW5pdHfHM","aSkKvqje","owXGo8oUW7NdVhjJWQLwdcesW5xdIHvECSks","W7SLW5vdqCoEW6SGW6q1rLjrWPits8oSf8oon31n","ltdcPmo9W7JdPmo0W4ZdQeGP","dmkPWRdcOmox","dmoXj8kRdrDzlG","W6OoW51apW","xCkQC8o+EKb1nCo9WPxdUbq","W4ldPSomE8k+","f8oTjCkE","W6Pji04rWQ/cVZbt","fY0jjeeDB2ZdJeKj","W5BdT8ocySk1WRxdTW","W7ddH0NcOxC","W6GEhW","kmofW5PsW5/cMIhdRq","WPC2WQhcTHasmbf0W7BdOq","WPxdMZiPta","wCoxWOK0WRu","WORdQL4wWOuooa","WOtcU00Qvmk6W5Hb","jIeYW45l","WOn5FSkzWQa","WPLwW5KiFMq9W4CEEW","FCokW5tcUSoema","acWBmeilwutdI30","n8kimSk6yG","W4BdQCoH","f31cWOPN","W5tdRSoHl0y","cmoncSkdBW","tafuWPVcS8kXWONcHG","s8ovWOeCWPy","wCoVh3Ht","WRfBD1DA","kmo1pSkazfhcNmkYvW","aePkWOrG","WRfwlIqo","WRvqFL0","WQ4yWOzfW5a","AbqdW70s","Dau3W6FcRq","W4ldSComzCkV","CsjtWRpcSG","umoshuvg","W5hdOmoNoGzQWRlcS8oiuCkkEqHfWPhdQNFcVCodEw3cNG","WOVcTmkur8oYogXO","ACo7agT/","WOhdSreID8o6","jwrSpW","imoolNTVWOldIGBdH8oe","WRLJlW07","W6bGD2j7WPldOG","m8o6hmkjBW","WPf5ECku","WQH4kCk3WRy","C8kZy8kLFW","W70dW67cR1pcTwKUtSo3W5CQ","W78QW5vsca","W5mwW7vUWOaCW68","mSo+h8keiHtdGCoWkCkzWODkW7hdNgxdIJXdB8kysq","nCkdWQpcUGBdIa","nCk8WRhcKmol","W5bQWPBdTt1cca","ArCyW6/cVa","uhjpyb5ojW","eSo4omknza","W5RcRhm+WRi","WPlcTSk0BH1VW4ldLmkugSo7oq","WQawWPO","k8kpWQRcTqBdSG","CCkVCCk3AW","hsWhW67cNLz8WPNcG2W","WPxcSL0kvCkMW5PBW5e","jwpcISoiWQ4mWR3cHa","m2zfkCkd","CSo6W4BdHgzjW419","W4BcRh40WQ85bW","W4RcVxeHWQC+","W7ZdRwBcSuG","WPLvW5OsAfu","WO7dUfb3oG","BCovW5tcVmoc","W5nHW7iEWOrRWP4","lmosd1beWPm","gCkQlGjVqSoq","AmkFW7ygW7NdMGe","adqwpvK","xWTjWOBcOSkQWRq","zmkIW5BcPhtcSSolWPpdTZO","W4tcVw8","gCoEvhvPnCoE","m8kcn8kIBW","bCooW4btW6G","kmo1mCkaBfhcQW","tmoqW4RcUCom","i8o5jSkIarnBn8osWOhdPrlcHg4","k8kaWPhcKSoM","WPDrpmkvWRFdSIiwW7rLpSo9e0qjWPTdWQFdQh/dPSkiW63dKxy","WQNdVWSqEW","sCkSW7hcGMe","ESoRWRS2WOK","a8kxW5pdHw4","jSkIW4NdHLz4","i8kojW","DSoaW5hcSSoEnW","W74lW5TwWPdcJWRdUJm","t8oIW7BcV8o4","WPjDoCkcWQS","t8kuW5lcPgC","jfnuWO9G","DSo1WPxcIay8W41Ga8kMq8oI","WP7dPKH/hq","WQTCFq","sMeKeSoV","WPldVeH4nSoOCG","o8khWR7cUcO","WP/cHgSVsq","lMvM","sSoZbv9EfCkumM3dR3e4kq","WQbEmW","WOyFW557W4NdN1/cS8oMc8kuW4u","gI0P","adaBjLK","WOueW4n6WOO","WROEWO5EW4O","WO/cTCoMFSoYhLnIrq","BCoxW7y","W5VcPKP3tSogW40FW4r4","jCkRuYjB","oSkkWQlcQbBdONNdL2NcGW","fJq2W4fe","pSo+W64+W5vjWQnjWPLgba","avLrWOKTWPv1WQ0yW48QemoqqwyKqSkRWRJcIKa","af1sWOrG","l8kOWQNcQmou","WPj7BmkqWP0"];return(_0x78ae=function(){return t})()}function _temp(t){const e="$YC4",o=_0x115271,n={dDdUa:function(t,e,o){return t(e,o)},MLtAu:function(t,e){return t+e},xPkSd:function(t,e){return t-e},qRiwU:function(t,e){return t+e}},W={};return W.cx=t[o(166,"s#Sd")]+t[o(143,"$YC4")]+t[o(346,"C8qE")],W.cy=t.cy+t[o(154,"m!u)")],W.r=t[o(278,"lWmG")],W[o(331,"AFav")]=CLOUD_SHADOW,_0x41a3f7(Group,{children:[n[o(362,e)](_0x5ad306,Circle,W),_0x5ad306(Circle,{cx:t[o(276,"B2(E")]+t[o(201,"sR@x")],cy:n[o(172,"N6KU")](t.cy+t[o(363,"&i$2")],t[o(333,"qfPD")]),r:t[o(217,"N6KU")],color:CLOUD_SHADOW}),_0x5ad306(Circle,{cx:n[o(113,"wmaT")](t.baseX+t[o(356,e)],t.shadowOffX),cy:t.cy+t[o(154,"m!u)")],r:t[o(199,"MlpB")],color:CLOUD_SHADOW}),_0x5ad306(Circle,{cx:n.MLtAu(t[o(275,"!zKW")],t[o(256,"B2(E")]),cy:t.cy,r:t[o(369,"C8qE")],color:CLOUD_BODY}),_0x5ad306(Circle,{cx:t[o(245,"MlpB")],cy:t.cy+t.dyTop,r:t.centerR,color:CLOUD_BODY}),_0x5ad306(Circle,{cx:t[o(340,"N6KU")]+t[o(324,"!zKW")],cy:t.cy,r:t[o(306,"6H0R")],color:CLOUD_BODY}),_0x5ad306(Circle,{cx:n[o(394,"PVDR")](n[o(184,"PGBD")](t[o(151,"81hl")],t.dxL),2),cy:t.cy+t[o(179,"qfPD")],r:t[o(223,"YQ%F")],color:CLOUD_HIGHLIGHT}),_0x5ad306(Circle,{cx:n.xPkSd(t.baseX,2),cy:t.cy+t.dyHL,r:t[o(164,"YQ%F")],color:CLOUD_HIGHLIGHT}),_0x5ad306(Circle,{cx:n[o(274,"!zKW")](t.baseX,t[o(117,"VzK[")])-2,cy:t.cy+t[o(218,"lxkN")],r:t[o(282,"fV9Y")],color:CLOUD_HIGHLIGHT})]},t.id)}function _temp2(){unregisterGroundSharedValues()}GameBackground[_0x115271(140,"m!u)")]=_0x115271(225,"gw**");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x116673=_0x37c4;!function(){const e=_0x37c4,r=_0x2d6e();for(;;)try{if(867337==parseInt(e(474,"giIk"))/1+parseInt(e(441,"Kemb"))/2*(-parseInt(e(343,"#P^r"))/3)+-parseInt(e(421,"$NUA"))/4*(parseInt(e(485,"sOF%"))/5)+parseInt(e(387,"NUt^"))/6+-parseInt(e(296,"nsfU"))/7*(-parseInt(e(264,"H&nY"))/8)+parseInt(e(236,"12A1"))/9*(parseInt(e(464,"J4BT"))/10)+-parseInt(e(273,"Z74y"))/11*(parseInt(e(316,"g8Wg"))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}();import{c as _0x466aba}from"react/compiler-runtime";import _0x21c98f,{useEffect,useMemo}from"react";import{StyleSheet}from"react-native";import _0x2e6be1,{useAnimatedStyle,useSharedValue}from"react-native-reanimated";import{Canvas,Group,Rect,RoundedRect,Circle,LinearGradient,vec}from"@shopify/react-native-skia";import{registerObstacleSharedValues,unregisterObstacleSharedValues}from"../DinoJumpStore.js";import{getGroundY}from"../DinoJumpConstants.js";import{jsx as _0x4feaa2,jsxs as _0x3b0f96,Fragment as _0x271837}from"react/jsx-runtime";const CACTUS_SHADOW=_0x116673(422,"@93v"),CACTUS_AO="rgba(10,40,10,0.2)",cactusBodyGrad=["#4CAF50",_0x116673(342,"ECx7"),_0x116673(410,"*t(@")],cactusArmGrad=[_0x116673(338,"NUt^"),_0x116673(432,"giIk"),_0x116673(300,"bF0Y")],CACTUS_HL=_0x116673(280,"sOF%"),CACTUS_DARK="#1B5E20",CACTUS_SPINE="#F5F5DC",CACTUS_SPINE_SHADOW=_0x116673(466,"J4BT"),cactusCapGrad=[_0x116673(298,"Xi&#"),"#43A047"],birdBodyGrad=[_0x116673(215,"Pg0("),_0x116673(366,"$NUA"),"#4A3728"],birdWingGrad=["#C0A080",_0x116673(238,"dmj0"),_0x116673(330,"NUt^")],BIRD_DARK=_0x116673(279,"j1BY"),BIRD_HL=_0x116673(400,"&kVT"),beakGrad=["#E8A030",_0x116673(477,"J(P(")],BIRD_EYE_WHITE=_0x116673(429,"c!cV"),BIRD_EYE_RING=_0x116673(270,"Uvk4"),birdIrisGrad=[_0x116673(284,"Z74y"),_0x116673(407,"NUt^")],BIRD_SPECULAR="rgba(255,255,255,0.85)",BIRD_SHADOW=_0x116673(431,"J(P("),BIRD_TAIL=_0x116673(349,"h1%n"),mushroomCapGrad=[_0x116673(314,"j1BY"),_0x116673(373,"a2OI"),_0x116673(269,"5uz9"),"#8E1414"],mushroomCapUndersideGrad=["#8E1414",_0x116673(428,"nsfU")],mushroomStemGrad=[_0x116673(223,"dmj0"),_0x116673(442,"chyd"),_0x116673(260,"Z74y"),_0x116673(436,"[W$$")],MUSHROOM_SHADOW=_0x116673(275,"c!cV"),MUSHROOM_AO=_0x116673(390,"*t(@"),MUSHROOM_CAP_HL=_0x116673(299,"Gv[&"),MUSHROOM_CAP_SPEC=_0x116673(221,"[W$$"),MUSHROOM_STEM_DARK=_0x116673(305,"bF0Y"),MUSHROOM_STEM_HL=_0x116673(326,"a2OI"),mushroomGillGrad=[_0x116673(362,"[W$$"),"#A88868"],MUSHROOM_SPOT_BODY="#FFFDE8",MUSHROOM_SPOT_SHADOW=_0x116673(302,"j1BY"),MUSHROOM_SPOT_HL=_0x116673(317,"!Jp("),_0x2a4bf8={};_0x2a4bf8[_0x116673(368,"Uvk4")]=45,_0x2a4bf8[_0x116673(306,"i#y&")]=75;const SMALL_CANVAS_STYLE=_0x2a4bf8,_0x337abd={};_0x337abd[_0x116673(334,"*t(@")]=75,_0x337abd[_0x116673(472,"@93v")]=100;const LARGE_CANVAS_STYLE=_0x337abd,_0x206b7a={};_0x206b7a[_0x116673(307,"5uz9")]=45,_0x206b7a[_0x116673(386,"J(P(")]=75;const MUSHROOM_CANVAS_STYLE=_0x206b7a,_0x213a0a={};_0x213a0a[_0x116673(384,"NUt^")]=55,_0x213a0a[_0x116673(391,"J4BT")]=40;const BIRD_CANVAS_STYLE=_0x213a0a,_0x477a58={};function _0x37c4(e,r){e-=212;const a=_0x2d6e();let o=a[e];if(void 0===_0x37c4.bQSBAB){const e=function(e,r){let a,o,t=[],n=0,W="";for(e=function(e){let r="",a="";for(let a,o,t=0,n=0;o=e.charAt(n++);~o&&(a=t%4?64*a+o:o,t++%4)?r+=String.fromCharCode(255&a>>(-2*t&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=r.length;e<o;e++)a+="%"+("00"+r.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(a)}(e),o=0;o<256;o++)t[o]=o;for(o=0;o<256;o++)n=(n+t[o]+r.charCodeAt(o%r.length))%256,a=t[o],t[o]=t[n],t[n]=a;o=0,n=0;for(let r=0;r<e.length;r++)o=(o+1)%256,n=(n+t[o])%256,a=t[o],t[o]=t[n],t[n]=a,W+=String.fromCharCode(e.charCodeAt(r)^t[(t[o]+t[n])%256]);return W};_0x37c4.uMzsik=e,_0x37c4.dssxll={},_0x37c4.bQSBAB=!0}const t=a[0];_0x37c4.zPjFMa!==t&&(_0x37c4.dssxll={},_0x37c4.zPjFMa=t);const n=_0x37c4.dssxll[e];return void 0===n?(void 0===_0x37c4.RffzEx&&(_0x37c4.RffzEx=!0),o=_0x37c4.uMzsik(o,r),_0x37c4.dssxll[e]=o):o=n,o}_0x477a58.width=50,_0x477a58[_0x116673(391,"J4BT")]=80;const SMALL_CONTAINER=_0x477a58,_0x13ed83={};_0x13ed83[_0x116673(319,"Kemb")]=80,_0x13ed83[_0x116673(434,"5uz9")]=105;const LARGE_CONTAINER=_0x13ed83,_0x42886f={};_0x42886f[_0x116673(285,"Xi&#")]=50,_0x42886f[_0x116673(306,"i#y&")]=80;const MUSHROOM_CONTAINER=_0x42886f,_0x1fe327={};_0x1fe327[_0x116673(321,"g8Wg")]=55,_0x1fe327.height=40;const BIRD_CONTAINER=_0x1fe327,CactusSmallGraphics=_0x21c98f[_0x116673(469,"#P^r")](()=>{const e="*t(@",r=_0x116673,a={dViAj:function(e,r){return e(r)},GLLXy:function(e,r,a){return e(r,a)},sIxJK:function(e,r,a){return e(r,a)},Wemxq:function(e,r){return e===r},cybZs:function(e,r,a){return e(r,a)},mtryR:function(e,r,a){return e(r,a)},glQuE:r(350,"Xi&#"),gJBCC:function(e,r,a){return e(r,a)},QSTJy:function(e,r,a){return e(r,a)}},o=a[r(312,"h1%n")](_0x466aba,6);let t,n,W,d,x,_;if(o[0]===Symbol[r(266,"UeJW")](r(452,"#P^r"))){const e={x:8,y:66};e[r(307,"5uz9")]=29,e[r(214,"z5N&")]=7,e.r=3,e[r(363,"i#y&")]=CACTUS_SHADOW,t=a[r(476,"c!cV")](_0x4feaa2,RoundedRect,e);const d={x:6,y:6,width:33};d[r(288,"VsKo")]=65,d.r=8,d[r(308,"ECx7")]=CACTUS_AO,n=a[r(459,"Kemb")](_0x4feaa2,RoundedRect,d);const x={x:27,y:5};x[r(307,"5uz9")]=13,x.height=65,x.r=5,x[r(470,"dmj0")]="#1B5E20",W=a.sIxJK(_0x4feaa2,RoundedRect,x),o[0]=t,o[1]=n,o[2]=W}else t=o[0],n=o[1],W=o[2];if(a[r(487,"giIk")](o[3],Symbol[r(427,"j1BY")](r(339,e)))){d=a.cybZs(_0x4feaa2,RoundedRect,{x:7,y:5,width:25,height:65,r:7,children:_0x4feaa2(LinearGradient,{start:vec(7,5),end:a[r(233,"(BgT")](vec,30,5),colors:cactusBodyGrad})});const e={x:10,y:8,width:5};e[r(385,"c!cV")]=59,e.color=CACTUS_HL,e[r(246,"J(P(")]=.4,x=_0x4feaa2(Rect,e),o[3]=d,o[4]=x}else d=o[3],x=o[4];if(o[5]===Symbol.for(a[r(325,"Uvk4")])){const i={cx:7,cy:15,r:1.2};i.color=CACTUS_SPINE_SHADOW;const s={cx:8,cy:15,r:1.8};s[r(354,"5uz9")]="#F5F5DC";const f={cx:36,cy:19,r:1.2};f.color=CACTUS_SPINE_SHADOW;const l={cx:37,cy:19,r:1.8,color:"#F5F5DC"},S={cx:6,cy:37.5,r:1.2};S.color=CACTUS_SPINE_SHADOW;const C={cx:7,cy:37.5,r:1.8};C[r(478,"g8Wg")]="#F5F5DC";const u={cx:37,cy:33.5,r:1.8};u[r(265,e)]="#F5F5DC";const m={cx:10,cy:58,r:1.8};m[r(425,"Xi&#")]="#F5F5DC",_=a[r(356,"A3i2")](_0x3b0f96,Group,{children:[t,n,W,d,x,a[r(352,"q)WL")](_0x4feaa2,RoundedRect,{x:8,y:5,width:29,height:7,r:3,children:_0x4feaa2(LinearGradient,{start:a[r(411,"rBpF")](vec,5,5),end:vec(5,12),colors:cactusCapGrad})}),_0x4feaa2(Circle,i),_0x4feaa2(Circle,s),_0x4feaa2(Circle,f),_0x4feaa2(Circle,l),_0x4feaa2(Circle,S),_0x4feaa2(Circle,C),a[r(218,"z5N&")](_0x4feaa2,Circle,u),_0x4feaa2(Circle,m)]}),o[5]=_}else _=o[5];return _});function _0x2d6e(){const e=["iZ3dIComWPq","W4u/ofRcKG","bLZdOCo+WPKEfHRcLCoLe8kNWO41WRpdH8oYeSkufmot","B2HBWRna","kmoCW4pdImomWPLQiG","wCkLpmk+WPqW","W67dRmofpGKenG","v8kEW6/dJCoq","W6FcKv/dLsC","bb/dMMNcKmkO","eYSjW5be","bSksWP9phW","yxHVWRfsWOuLAWNdK3FcI0TXiNn2W6VdHNrCo0bUWRS","iSkqWPnAea","W67dOmogsqKemq","fICmW4DyW7W0rCoJFNX6W4u8WOq+W5JdMSkCsaHjhc9e","x8knW7alnSoKgSoRW791d8kLWPhdP8kvfCocomknW4JdVdbpn8oI","vXW6m8oOWO0rycNcUtC","fSoyWRxcI3mNFa","Dg/cUXRcLM7dIKO7WQviaa","WOhdPHKVnmkzWOFdOcxdPmkhWPxcVaFdSSo8W4XWW49QW6CZumkiW6K","mmomp1NcSwxdNW","ktpcGuHgW4i","WQKpWQ7cJKS+WQu","cmovW4NdKmoDWPHdlCoesumkW7KqWRqNWRBdOCk4","D2hdRmkmW4ZdN0y","oCorW4VdH8oCW4vIkCoBqxKUW6OsWQWQWOddSCkUWQOtxCo2CSo2","WQ3cPblcPhO","quPSWPpcOG","q8k5W4ddTSo7","ubOLlmo2","aYtcGvLN","W7/cLe4VW40","WQBdLCkkWPO","FmoJW7zNFq","eHJdUKZcIG","wgL3WPHF","WRlcQb/cT3Od","yhyTF8kNWQW/","W4mqWPf0bq","WQuqWQpcGLa","aYddLeRdHq","aJLSW48rmSoX","qmkDW6iammkLgmoJ","W5u6dvVcVW","rCknW7hdNgq","WQVcU8kh","wSoCW5Xe","zwtdVmorWQZcNJtcKW","v37cTSkSWOGFfG","F8kVmmkiWQK","WPGLq3jR","lWZdSKxdTq","xCoVW7D9Fq","WRZdGSk/jb0OBCoX","bCklWOeFi2tcQmoPf1hcICohyW","j37dJmoRW4q","WOKTW6RcKv0","WOFdLCkSW5zc","CCk/WOpdUvy","WRRcVCkrFfe","kWOmlfjU","smkZW4xdVSoHWOa","W7/dPCoapGahmbdcN8k6D8keW4m","qCk0W7i","WPpdK8kKW41y","fIupW4ueW6PPdmk8iq8OWPrZW5X1WRxcNmoq","WRxdHCkLlbKP","vvPQWR3cUq","meeCuCknW7a","WPGuAujMExSjWPeFBCo8W5yFW7q4bbW5gSocECoBWOmY","qgv/WQpcGG","W7ezWRr6aq","r8kRW70Gcq","rmobwsG","W63dPYy4W5y","WOxcPSoRx8oQWOri","WQRdLCkLW6HL","W5tcH8k6FSkMWPmDWPJdGbVcMXL1BmoFWPFdKmoRzweyywy4Dq","uSkVoCk2WO4","dvOlB8kZ","wL5CWQ7cMW","WRNcOHRcV2a","W67dPmk0ohGarW","WP3cOSk7CxO","f8kXkalcSSoT","r3mVWPfPW6bP","WO07sMjr","WQNcUq/cVhC","W5lcPKyt","W6VcJLldMtWXWOa","W4mxWPr3eXWYla","wmkvjmokwW","W6FcOe8lW7y","zmk6W6pdGKlcO8kvhsbMrc8lWOmlwhj7ja","W4xcJCk3CSkG","qCoGFbm7","eZ0EW44tnmo9htGmk8o+la","WQRdRW/dJNmWWQpdS8oxcCo4W6WXq8o7FW","WPKfCu13","i8orW4pdG8oaWP8","kmoBW4BdI8oA","s8oGCqlcQSo/W7L9hW","gCk7mW","bmoUW4pcHNBdOmkh","ycLqdqPFW7K","W5FcL13dNtKGWRyJlSkzWQL2nSoJ","uSkXW47dUmkHW4qsW4j6kXajWQdcI8okgW","dSoAW5rFbSo5rq","exmCWOytESoXchGrrmouDSkSqmonWQDxCq","wXaGjmoSWPG","xcqAdCoq","yhrwb8oEWQ0/","nxddHSozW7a","bKhdTmkvWP/cKYVdHe3dIGv6WRa0DSkwaq","dHxdHG","A8owxteE","xHNdUhJcSCkYW5u","W6JcSmoPW7BcVhpdGW","cZimW4DfWQyG","mYqoeK0","j8ogW6xdISoI","WOiuyuz6iW","xbC6n8oLWO8esWVcUZXMBrdcRs7cTG","xSkCW6mhkCkVimoNW7zUoa","WQPMiZ3dLq","jx5cWQrZW5KJ","BvFcKCk7WPO","pZ/dOKZdKNNdK0uFWRnYl8kkdaGAFmoEWPjJWP/dIZRdVZq","W4e8budcPq","WOFdRaG","lJxdR0ddLa","tCkZW4hdTG","hbxdHa","WRJdHmkEWPKY","lZBdUfBcNq","jmkaWOvdia","uLX9WQdcPqSZW54","cXVdL3RcKCkZW6fgW4ryWPPA","WQ3dIrVdVre","W6NcLmo8lae7qmoqiW","W7ZdRsS0W5dcV8o4nSoXrgpcHSo2WPHsW5KqqCkFWPayWRyFxfC","WQ/dH8kUkLLTnCkKxCohrmkju8oVzx8","WQhdQSkjWQyg","W6JdGJ80W4O","id/dRKa","WOpdSSkSW71B","W6BcMvioW5C","WRddRqtdIdn0","WP3cN8k8W7xcQq","hmoCWQLrCSo5rmoVW5HQnmk0WOe","WOKEze5G","bcmPe0m","a8kvWPZcRSkXW4yo","WQJdN8klWPOL","WOFdM8kJW41fsMRdGCkmW5tdPCoM","WPFdLqKnEG","WPxdRaO","WQfnbWBdIW","W6tcGvaJW7O","WPSjzxHt","amoWbmkWWQW2dSos","BmkRW7SAfq","ESknW7WqmW","f1tdR8oWW4m","a1ldP8oRW5K","x8oCW5HmEIi","WQ3cSaHGWPBcP8kL","W4O2aeJcVYC","p8onW5RdGq","zSoQW6vHAW","W5CwWPLVhW","WQpcNrpcKvC","mvimx8ooWQC6WOBcPSkkW74eEK5VWOq7W5OegcldRq","FSkopSomFSoTW5zbANyp","W4pdM8kgW5qrWOdcQW","W6dcHv01W6TlmSogEIiapmocW63cTSkKgx7cTCoEemk6WPn+WP4","ESk0lmktWOu","WQJdKSkwWRec","WR7dPX8","WPhdQGOO","jSorW4FdIW","xCoVWQjKWOi","vrO7","W5a2ceZcO33dNG5/z1dcOwKfgSk8WONdRuNdUSoJWQJcQSkklG","rMtcJSkfWOW","WOyuBLu","d0ZdTq","W7DiW7/dNXD5WQK2WQBdHCooW4m","nJ/cJfTg","W4pdNmoWWQOzW7dcQW","jmk4WQ18","A8oVWOnLWRmCxSka","oJpdP1VdJG","sSolwcGL","WP0ItvDq","jt/cM19cW5FcSCktW7HJsq","W6mqa13cGa","t8kMW43dUSoGWObh","z8odqq41","DCk2hSoYrG","EmkhdCksWOy","fGO9W73dO1OXW6FcP8k2DaS","nfWksSko","f1pdQSoZW5vErKe","lCozp1NcRd/dI2zgW6D2W6xdGmobW4qdWOddM8kUqc/cItpdVqW","WPyFWRBdOCo6","WR7cPaxcOh4wW4yGWRpdGCk3","W5xcG8oYW7bEBLpdQmko","WOWTW7q","W6hcSmkuDmkZ","naybp1i","W4KbWR7cVbC8nq","bmoEW4JcHqCNFwJcOJZcQ8oEFW","hdVdRftcKa","WRCqWRBdS8oG","W5xcTNywFCode8o0EG","bY0bW4TE","W6lcOfe","WPVdPHeRkmod","k8k/ecZcNq","edz/CCk8W55q","WOfGkb3dR2lcIW","WRKNWRddHCoE","W7FcJL/dKYe","W5T6WRhcKN8jvMZdGq","WQ3dN8kv","mqGhkHiQW6u4l8kfWQ/cGCkaWRjm","WOZdN8kPW55ytq","jg7dRCk1WRi","W7dcKum","xmoNafFdOSkOWPG","eSo2y8kBWR5Ydq","mISiW5m","uNTxWPzh","W6JdPZG","W4LWW4FdJg5pra","pmoDW47dKmoa","leupxCkpW6f2","mvapxCksWRTIW5BdP8oxWPrsnX8YW5riWPLpq2pcRCoDW7/dQa","WQCyWO3dS8ocWRO","W4VcGM4JW48","W7pcL1FdJJ0","ChjIWR1u","rfX8","xxjRWOnZ","W7hcIfu6W7SxoSon","ECkiiCotya","fCoSWRxcJWtdO8kJnrfOqcS","mZpcIuXAWPJcPCk4W7rHCWxdMK43Emodv8orW4tdIha/W6BdOG","AmkcWPZdPSoQW51o","w8odvIz/WPpcOL3dUSkCWQX1sCkCrXpdVu3cNZP7","mcXmW6DJWPL4","WQlcHSkqW4ddTLhcJG","dCkZiWtdSSkOWPqjyuqQhCkhe37cRmkNeSoD","WQ7dQqhdMJ4","W6VcRvaqW6ujW4tcMMtdKSohimo5WObNtmoU","mcq2W6OEWPX4","W4GAWPr8hXO","rbWTn8oS","vSkfWPZdK0u","nLldSCo7W7zEqL/dKCk+rCoH","WOFcM8kRW4tdTa","WQ/dSCkccdu","maldHmo5WPy","BSkXW5NdKmoR","xmksb1ddQmkSWPi","sLzNWQ7cUry","W7/cICouW4fLWRLYDCoYW591Ca","DSoQWPjWW7Pnb8oqWPn0WQWwCYxcGSkmuHzIWO7dGW","nSkUWQ8","hXpdKhRcJa","kZxdSq","WRZdMCkdWOe/","W77cUmkktCkO","a8oXymoVW4vZESo9WO/cU8oyWONcGG"];return(_0x2d6e=function(){return e})()}CactusSmallGraphics.displayName=_0x116673(418,"nsfU");const CactusLargeGraphics=_0x21c98f[_0x116673(398,"Gv[&")](()=>{const e="yTax",r="UeJW",a="rBpF",o="bF0Y",t=_0x116673,n={NzWec:t(253,"C[My"),bVqjS:function(e,r,a){return e(r,a)},KZGLo:t(433,"$NUA"),rQNCD:function(e,r,a){return e(r,a)},NguIb:function(e,r,a){return e(r,a)},XpUii:function(e,r,a){return e(r,a)}},W=_0x466aba(12);let d,x,_,i,s,f,l,S,C,u,m,R;if(W[0]===Symbol[t(283,"Pg0(")](n[t(365,"#P^r")])){const r={x:15,y:87,width:45,height:7,r:3};r.color=CACTUS_SHADOW,d=n.bVqjS(_0x4feaa2,RoundedRect,r);const a={x:16,y:11,width:43,height:80,r:8};a[t(449,"s0C8")]=CACTUS_AO,x=_0x4feaa2(RoundedRect,a);const o={x:47,y:10};o[t(259,"c!cV")]=13,o.height=80,o.r=5,o[t(332,e)]="#1B5E20",_=_0x4feaa2(RoundedRect,o),W[0]=d,W[1]=x,W[2]=_}else d=W[0],x=W[1],_=W[2];if(W[3]===Symbol[t(388,"nsfU")](t(224,"A3i2"))){i=_0x4feaa2(RoundedRect,{x:17,y:10,width:32,height:80,r:7,children:n[t(376,"#P^r")](_0x4feaa2,LinearGradient,{start:n[t(471,r)](vec,17,5),end:vec(47,5),colors:cactusBodyGrad})});const e={x:20,y:13,width:5};e[t(306,"i#y&")]=69,e.color=CACTUS_HL,e[t(347,"12A1")]=.35,s=n[t(376,"#P^r")](_0x4feaa2,Rect,e),W[3]=i,W[4]=s}else i=W[3],s=W[4];if(W[5]===Symbol[t(257,"Z74y")](t(394,a))?(f=n[t(369,"nsfU")](_0x4feaa2,RoundedRect,{x:18,y:8,width:39,height:7,r:3,children:_0x4feaa2(LinearGradient,{start:vec(15,8),end:vec(15,15),colors:cactusCapGrad})}),W[5]=f):f=W[5],W[6]===Symbol[t(292,"q)WL")](t(336,o))){const r=n[t(358,"z5N&")][t(272,e)]("|");let a=0;for(;;){switch(r[a++]){case"0":S=_0x4feaa2(RoundedRect,{x:3,y:23,width:12,height:30,r:6,children:_0x4feaa2(LinearGradient,{start:vec(3,23),end:vec(15,23),colors:cactusArmGrad})});continue;case"1":const e={x:5,y:21};e[t(307,"5uz9")]=6,e[t(288,"VsKo")]=6,e.r=3,e[t(291,o)]=CACTUS_HL,e.opacity=.4,u=n[t(311,"J4BT")](_0x4feaa2,RoundedRect,e);continue;case"2":const r={x:10,y:35};r[t(237,"fC&j")]=9,r[t(346,"fC&j")]=9,r.r=4,r.color="#1B5E20",C=_0x4feaa2(RoundedRect,r);continue;case"3":W[10]=m;continue;case"4":const a={cx:2,cy:30,r:1.5,color:"#F5F5DC"};m=n[t(395,"q)WL")](_0x4feaa2,Circle,a);continue;case"5":W[7]=S;continue;case"6":const d={cx:2,cy:43,r:1.5,color:"#F5F5DC"};l=n[t(327,"$NUA")](_0x4feaa2,Circle,d);continue;case"7":W[8]=C;continue;case"8":W[6]=l;continue;case"9":W[9]=u;continue}break}}else l=W[6],S=W[7],C=W[8],u=W[9],m=W[10];if(W[11]===Symbol.for(t(340,"giIk"))){const e={x:55,y:29};e[t(219,"i#y&")]=9,e[t(446,a)]=9,e.r=4,e.color="#1B5E20";const o={x:63,y:15};o[t(351,"InsQ")]=6,o.height=6,o.r=3,o[t(295,"RsgA")]=CACTUS_HL,o[t(286,"[W$$")]=.4;const O={cx:73,cy:27,r:1.5,color:"#F5F5DC"},h={cx:73,cy:40,r:1.5,color:"#F5F5DC"},y={cx:17,cy:23,r:1.8};y[t(265,"*t(@")]="#F5F5DC";const k={cx:58,cy:27,r:1.8,color:"#F5F5DC"},b={cx:18,cy:47.5,r:1.8};b[t(417,r)]="#F5F5DC";const P={cx:57,cy:53.5,r:1.8,color:"#F5F5DC"};R=_0x3b0f96(Group,{children:[d,x,_,i,s,f,S,C,u,m,l,_0x4feaa2(RoundedRect,{x:60,y:17,width:12,height:35,r:6,children:_0x4feaa2(LinearGradient,{start:vec(60,17),end:vec(72,17),colors:cactusArmGrad})}),_0x4feaa2(RoundedRect,e),_0x4feaa2(RoundedRect,o),n[t(337,"@PEH")](_0x4feaa2,Circle,O),_0x4feaa2(Circle,h),n[t(247,"Gv[&")](_0x4feaa2,Circle,y),n.XpUii(_0x4feaa2,Circle,k),_0x4feaa2(Circle,b),n[t(313,"J(P(")](_0x4feaa2,Circle,P)]}),W[11]=R}else R=W[11];return R});CactusLargeGraphics[_0x116673(244,"fC&j")]=_0x116673(348,"Xi&#");const MushroomGraphics=_0x21c98f[_0x116673(357,"g8Wg")](()=>{const e="A3i2",r="#P^r",a="RsgA",o=_0x116673,t={wSEvB:function(e,r){return e===r},PvNyC:"react.memo_cache_sentinel",NoeQU:function(e,r,a){return e(r,a)},yPeAE:function(e,r,a){return e(r,a)},YbRuP:function(e,r,a){return e(r,a)},oQSNT:function(e,r,a){return e(r,a)},QfIav:function(e,r,a){return e(r,a)}},n=_0x466aba(9);let W,d,x,_,i,s,f,l,S;if(t[o(243,"rBpF")](n[0],Symbol.for(t[o(408,"NUt^")]))){const e={x:7,y:68,width:31};e[o(346,"fC&j")]=6,e.r=3,e[o(353,"J(P(")]=MUSHROOM_SHADOW,W=_0x4feaa2(RoundedRect,e);const r={x:26.5,y:29};r[o(389,"b)P)")]=7,r[o(267,"@aqk")]=35,r.r=3,r[o(381,"Z74y")]=MUSHROOM_STEM_DARK,d=_0x4feaa2(RoundedRect,r),n[0]=W,n[1]=d}else W=n[0],d=n[1];if(n[2]===Symbol[o(227,"@93v")]("react.memo_cache_sentinel")){x=t[o(401,"b)P)")](_0x4feaa2,RoundedRect,{x:12.5,y:29,width:16,height:35,r:6,children:_0x4feaa2(LinearGradient,{start:vec(12.5,29),end:t[o(374,"sOF%")](vec,32.5,29),colors:mushroomStemGrad})});const e={x:15.5,y:32};e[o(290,"yTax")]=4,e[o(409,"j1BY")]=29,e.color=MUSHROOM_STEM_HL,_=_0x4feaa2(Rect,e),n[2]=x,n[3]=_}else x=n[2],_=n[3];if(n[4]===Symbol[o(427,"j1BY")](o(224,e))?(i=_0x4feaa2(RoundedRect,{x:9.5,y:57,width:26,height:8,r:4,children:t[o(220,"InsQ")](_0x4feaa2,LinearGradient,{start:vec(9.5,57),end:vec(35.5,57),colors:mushroomStemGrad})}),n[4]=i):i=n[4],n[5]===Symbol.for(o(297,"fC&j"))){s=_0x4feaa2(RoundedRect,{x:8,y:43,width:29,height:6,r:3,children:t[o(404,"[W$$")](_0x4feaa2,LinearGradient,{start:t.NoeQU(vec,8,43),end:vec(8,49),colors:mushroomGillGrad})});const e={x:7,y:40,width:31};e[o(329,"sOF%")]=5,e.r=2,e[o(382,"b)P)")]=MUSHROOM_AO,f=t[o(254,"VsKo")](_0x4feaa2,RoundedRect,e),n[5]=s,n[6]=f}else s=n[5],f=n[6];if(n[7]===Symbol.for("react.memo_cache_sentinel")?(l=_0x4feaa2(Circle,{cx:22.5,cy:30,r:22,children:_0x4feaa2(LinearGradient,{start:t[o(230,"!Jp(")](vec,22.5,39),end:vec(22.5,52),colors:mushroomCapUndersideGrad})}),n[7]=l):l=n[7],n[8]===Symbol[o(320,r)]("react.memo_cache_sentinel")){const C={cx:19.5,cy:20,r:13};C[o(364,"12A1")]=MUSHROOM_CAP_HL;const u={cx:15.5,cy:15,r:5};u.color=MUSHROOM_CAP_SPEC;const m={cx:15,cy:23,r:5};m[o(353,"J(P(")]=MUSHROOM_SPOT_SHADOW;const R={cx:15,cy:22,r:4.8,color:"#FFFDE8"},O={cx:14,cy:20,r:2};O[o(265,"*t(@")]=MUSHROOM_SPOT_HL;const h={cx:30,cy:25,r:4.5};h[o(478,"g8Wg")]=MUSHROOM_SPOT_SHADOW;const y={cx:30,cy:24,r:4.3};y[o(295,a)]="#FFFDE8";const k={cx:29,cy:22,r:1.8};k[o(403,"sOF%")]=MUSHROOM_SPOT_HL;const b={cx:24.5,cy:11,r:4};b[o(406,"InsQ")]=MUSHROOM_SPOT_SHADOW;const P={cx:24.5,cy:10,r:3.8};P[o(455,r)]="#FFFDE8";const G={cx:23.5,cy:8,r:1.6};G[o(354,"5uz9")]=MUSHROOM_SPOT_HL;const A={cx:12,cy:37,r:3};A.color=MUSHROOM_SPOT_SHADOW;const L={cx:12,cy:36,r:2.8};L[o(419,"&kVT")]="#FFFDE8";const p={cx:11,cy:34.5,r:1.2};p.color=MUSHROOM_SPOT_HL;const H={cx:33,cy:38,r:2.8};H[o(406,"InsQ")]=MUSHROOM_SPOT_SHADOW;const I={cx:33,cy:37,r:2.5};I[o(242,"Gv[&")]="#FFFDE8";const F={cx:32,cy:35.5,r:1};F[o(363,"i#y&")]=MUSHROOM_SPOT_HL,S=t.YbRuP(_0x3b0f96,Group,{children:[W,d,x,_,i,s,f,l,_0x4feaa2(Circle,{cx:22.5,cy:27,r:22,children:_0x4feaa2(LinearGradient,{start:t[o(248,a)](vec,22.5,5),end:vec(22.5,49),colors:mushroomCapGrad})}),t[o(289,e)](_0x4feaa2,Circle,C),_0x4feaa2(Circle,u),_0x4feaa2(Circle,m),_0x4feaa2(Circle,R),_0x4feaa2(Circle,O),t[o(396,"i#y&")](_0x4feaa2,Circle,h),_0x4feaa2(Circle,y),_0x4feaa2(Circle,k),t[o(435,"5uz9")](_0x4feaa2,Circle,b),_0x4feaa2(Circle,P),_0x4feaa2(Circle,G),_0x4feaa2(Circle,A),_0x4feaa2(Circle,L),_0x4feaa2(Circle,p),t[o(473,"td7n")](_0x4feaa2,Circle,H),_0x4feaa2(Circle,I),t[o(293,"bF0Y")](_0x4feaa2,Circle,F)]}),n[8]=S}else S=n[8];return S});MushroomGraphics[_0x116673(341,"5uz9")]="MushroomGraphics";const BirdGraphics=_0x21c98f[_0x116673(456,"J(P(")](()=>{const e="Uvk4",r="Kemb",a="@aqk",o="g8Wg",t="&kVT",n=_0x116673,W={zbNBn:function(e,r){return e===r},BrivI:function(e,r,a){return e(r,a)},AKEFA:"react.memo_cache_sentinel",hDHTl:function(e,r,a){return e(r,a)},pKkYw:function(e,r,a){return e(r,a)},DPoya:function(e,r,a){return e(r,a)},omArf:function(e,r,a){return e(r,a)},TdPqc:function(e,r,a){return e(r,a)},cbqDU:n(393,"[W$$"),wHCTY:function(e,r,a){return e(r,a)}},d=_0x466aba(14);let x,_,i,s,f,l,S,C,u,m,R,O,h,y;if(d[0]===Symbol[n(370,"NUt^")]("react.memo_cache_sentinel")){const r={x:21,y:33};r[n(368,e)]=16,r[n(276,"b)P)")]=4,r.r=2,r[n(475,"rBpF")]=BIRD_SHADOW,x=_0x4feaa2(RoundedRect,r),d[0]=x}else x=d[0];if(W[n(359,r)](d[1],Symbol.for(n(232,"Uvk4"))))if(n(262,r)===n(460,"@PEH")){_=_0x4feaa2(RoundedRect,{x:5,y:17,width:20,height:8,r:4,children:_0x4feaa2(LinearGradient,{start:vec(5,17),end:vec(5,25),colors:birdWingGrad})});const e={x:7,y:18,width:8};e[n(361,"InsQ")]=2,e[n(291,"bF0Y")]=BIRD_HL,e[n(414,"yTax")]=.3,i=W[n(416,"RsgA")](_0x4feaa2,Rect,e),d[1]=_,d[2]=i}else _0x408579=_0x385778[32];else _=d[1],i=d[2];if(d[3]===Symbol[n(318,"@PEH")](n(344,a))){s=_0x4feaa2(RoundedRect,{x:33,y:15,width:18,height:8,r:4,children:_0x4feaa2(LinearGradient,{start:vec(33,15),end:vec(33,23),colors:birdWingGrad})});const e={x:35,y:16,width:8,height:2};e[n(406,"InsQ")]=BIRD_HL,e.opacity=.3,f=_0x4feaa2(Rect,e),d[3]=s,d[4]=f}else s=d[3],f=d[4];if(d[5]===Symbol[n(231,"5uz9")](W[n(437,"a2OI")]))if(n(467,o)===n(377,"z5N&")){const e={};e.children=_0x38fdf4,_0x1cdad7=_0x38aa6b(_0x4279bd,e),_0x4d7ddb[7]=_0x3db60e,_0x4e11a2[8]=_0x5e0d63}else{l=_0x4feaa2(RoundedRect,{x:20,y:20,width:18,height:12,r:6,children:W[n(420,"Gv[&")](_0x4feaa2,LinearGradient,{start:vec(20,18),end:vec(20,32),colors:birdBodyGrad})});const e={x:22,y:21};e[n(392,"q)WL")]=8,e.height=4,e.r=2,e[n(308,"ECx7")]=BIRD_HL,e[n(345,"C[My")]=.3,S=W[n(444,"c!cV")](_0x4feaa2,RoundedRect,e),d[5]=l,d[6]=S}else l=d[5],S=d[6];if(d[7]===Symbol[n(481,a)]("react.memo_cache_sentinel")){C=_0x4feaa2(RoundedRect,{x:35,y:17,width:12,height:10,r:5,children:_0x4feaa2(LinearGradient,{start:vec(35,15),end:vec(35,27),colors:birdBodyGrad})});const e={x:37,y:18};e[n(213,"a2OI")]=5,e[n(214,"z5N&")]=3,e.r=1.5,e.color=BIRD_HL,e[n(443,"*t(@")]=.3,u=W.DPoya(_0x4feaa2,RoundedRect,e),d[7]=C,d[8]=u}else C=d[7],u=d[8];if(d[9]===Symbol.for(W.AKEFA)){h=W.omArf(_0x4feaa2,RoundedRect,{x:45,y:20,width:10,height:5,r:2,children:_0x4feaa2(LinearGradient,{start:W[n(355,"fC&j")](vec,45,20),end:W.TdPqc(vec,45,25),colors:beakGrad})});const e={cx:41,cy:22,r:2.5};e[n(417,"UeJW")]=BIRD_SHADOW,m=W[n(440,"Gv[&")](_0x4feaa2,Circle,e);const r={cx:41,cy:21,r:2.2};r.color=BIRD_EYE_WHITE,R=_0x4feaa2(Circle,r);const a={cx:41,cy:21,r:2.2};a[n(212,"a2OI")]=BIRD_EYE_RING,a[n(423,"rBpF")]=W[n(226,o)],a[n(448,"giIk")]=.5,O=_0x4feaa2(Circle,a),d[9]=m,d[10]=R,d[11]=O,d[12]=h}else m=d[9],R=d[10],O=d[11],h=d[12];if(d[13]===Symbol[n(235,"LqrS")](n(402,t))){const r={cx:42,cy:20.3,r:.7};r[n(332,"yTax")]=BIRD_SPECULAR;const a={x:10,y:22,width:12};a[n(346,"fC&j")]=5,a.r=2.5,a[n(242,"Gv[&")]=BIRD_TAIL;const o={x:8,y:24};o[n(251,"[W$$")]=8,o[n(315,"q)WL")]=4,o.r=2,o[n(419,t)]=BIRD_DARK;const k={x:25,y:30};k[n(241,"#P^r")]=2,k[n(216,e)]=6,k.r=1,k[n(453,"Uvk4")]=BIRD_DARK;const b={x:31,y:30};b[n(324,"h1%n")]=2,b[n(385,"c!cV")]=6,b.r=1,b[n(363,"i#y&")]=BIRD_DARK,y=_0x3b0f96(Group,{children:[x,_,i,s,f,l,S,C,u,h,m,R,O,_0x4feaa2(Circle,{cx:41.3,cy:21,r:1.3,children:W[n(482,"s0C8")](_0x4feaa2,LinearGradient,{start:vec(41,19.5),end:vec(41,22.5),colors:birdIrisGrad})}),W.hDHTl(_0x4feaa2,Circle,r),W.DPoya(_0x4feaa2,RoundedRect,a),W[n(331,"J(P(")](_0x4feaa2,RoundedRect,o),_0x4feaa2(RoundedRect,k),_0x4feaa2(RoundedRect,b)]}),d[13]=y}else y=d[13];return y});BirdGraphics[_0x116673(222,"RsgA")]=_0x116673(309,"a2OI");const SingleObstacleComponent=e=>{const r="Kemb",a=_0x116673,o={KtyJy:function(e,r){return e-r},xmRgJ:function(e,r,a){return e(r,a)},MMjTL:function(e,r){return e(r)},SEOtu:function(e,r){return e(r)},ACjrW:function(e,r){return e!==r},KOTPD:a(287,"[W$$"),XZQPz:a(310,"chyd"),lrOnJ:function(e,r){return e===r},GROia:a(367,"giIk"),qxmYA:a(335,"@PEH"),jClHK:"oGyIO",uAvRJ:function(e,r,a){return e(r,a)},OaWDS:function(e,r){return e!==r},TkQIG:function(e,r,a){return e(r,a)},rTKSy:function(e,r){return e===r},DUsEa:function(e,r,a){return e(r,a)},aSxMp:function(e,r,a){return e(r,a)}},t=o[a(277,"LqrS")](_0x466aba,36),{obstacle:n,groundY:W}=e,d=o[a(380,"a2OI")](useSharedValue,n.x);let x,_;t[0]!==n.id||t[1]!==d?(x=()=>{const e={};return e.x=d,registerObstacleSharedValues(n.id,e),()=>{unregisterObstacleSharedValues(n.id)}},_=[n.id,d],t[0]=n.id,t[1]=d,t[2]=x,t[3]=_):(x=t[2],_=t[3]),o.xmRgJ(useEffect,x,_);const i=W-n[a(424,"Xi&#")]-18,s=useAnimatedStyle(()=>{const e=a;if(n.type===e(479,"b)P)"))return{left:o[e(225,"sOF%")](d[e(483,"A3i2")],15)};const r={};return r[e(234,"rBpF")]=d[e(303,"@93v")]-5,r});if(n[a(239,"@PEH")]===a(462,r)){let e,r,n,W;if(t[4]!==i){const r={};r[a(454,"@aqk")]=i,e=r,t[4]=i,t[5]=e}else e=t[5];if(o[a(245,"Uvk4")](t[6],s)||o[a(486,"giIk")](t[7],e)?(r=[styles[a(304,"UeJW")],SMALL_CONTAINER,e,s],t[6]=s,t[7]=e,t[8]=r):r=t[8],t[9]===Symbol[a(274,"g8Wg")](o.KOTPD)?(n=o[a(405,"q)WL")](_0x4feaa2,Canvas,{style:SMALL_CANVAS_STYLE,children:_0x4feaa2(CactusSmallGraphics,{})}),t[9]=n):n=t[9],t[10]!==r){const e={};e[a(412,"InsQ")]=r,e[a(294,"A3i2")]=n,W=_0x4feaa2(_0x2e6be1[a(413,"UeJW")],e),t[10]=r,t[11]=W}else W=t[11];return W}if("cactus_large"===n.type){let e,n,W,d;if(t[12]!==i){const o={};o[a(457,r)]=i,e=o,t[12]=i,t[13]=e}else"EbCfY"===o[a(322,"&kVT")]?(_0x3deb71=_0x5b1074(_0x16b6a5,{x:18,y:8,width:39,height:7,r:3,children:TCuZcs[a(263,"VsKo")](_0x157dda,_0x369cb4,{start:_0x2ee174(15,8),end:TCuZcs.xmRgJ(_0x201991,15,15),colors:_0x1db109})}),_0x147088[5]=_0x394a14):e=t[13];if(t[14]!==s||t[15]!==e?(n=[styles[a(447,"5uz9")],LARGE_CONTAINER,e,s],t[14]=s,t[15]=e,t[16]=n):n=t[16],o[a(445,"Xi&#")](t[17],Symbol[a(292,"q)WL")](a(465,"Pg0(")))?(W=o.xmRgJ(_0x4feaa2,Canvas,{style:LARGE_CANVAS_STYLE,children:_0x4feaa2(CactusLargeGraphics,{})}),t[17]=W):W=t[17],t[18]!==n){const e={};e[a(282,"$NUA")]=n,e[a(252,"a2OI")]=W,d=_0x4feaa2(_0x2e6be1.View,e),t[18]=n,t[19]=d}else d=t[19];return d}if(n.type===o[a(258,"&kVT")]){if(o[a(484,"rBpF")]!==o[a(397,"giIk")]){let e,n,W,d;if(t[20]!==i){const r={};r[a(278,"yTax")]=i,e=r,t[20]=i,t[21]=e}else e=t[21];if(t[22]!==s||t[23]!==e?(n=[styles.obstacleContainer,MUSHROOM_CONTAINER,e,s],t[22]=s,t[23]=e,t[24]=n):n=t[24],t[25]===Symbol[a(439,r)](a(224,"A3i2"))?(W=_0x4feaa2(Canvas,{style:MUSHROOM_CANVAS_STYLE,children:o[a(463,"@93v")](_0x4feaa2,MushroomGraphics,{})}),t[25]=W):W=t[25],o.OaWDS(t[26],n)){const e={};e[a(458,"g8Wg")]=n,e.children=W,d=o[a(268,"j1BY")](_0x4feaa2,_0x2e6be1[a(281,"*t(@")],e),t[26]=n,t[27]=d}else d=t[27];return d}_0x42e706=e=>_0x27f5bc(_0x48fce8,{obstacle:e,groundY:_0x427213},e.id),_0x3e8f16[5]=_0x111684,_0x120631[6]=_0x2c6221}if(n[a(217,"Xi&#")]===a(228,"@aqk")){const e=o[a(360,"bF0Y")](i,5);let r,n,W,d;if(t[28]!==e){const a={};a.top=e,r=a,t[28]=e,t[29]=r}else r=t[29];if(t[30]!==s||t[31]!==r?(n=[styles[a(438,"LqrS")],BIRD_CONTAINER,r,s],t[30]=s,t[31]=r,t[32]=n):n=t[32],o[a(375,"rBpF")](t[33],Symbol.for(a(297,"fC&j")))?(W=o[a(383,"ECx7")](_0x4feaa2,Canvas,{style:BIRD_CANVAS_STYLE,children:o.aSxMp(_0x4feaa2,BirdGraphics,{})}),t[33]=W):W=t[33],t[34]!==n){const e={};e.style=n,e[a(415,"i#y&")]=W,d=_0x4feaa2(_0x2e6be1.View,e),t[34]=n,t[35]=d}else d=t[35];return d}return null},SingleObstacle=_0x21c98f[_0x116673(229,"Xi&#")](SingleObstacleComponent,(e,r)=>{const a=_0x116673;return e.obstacle.id===r[a(240,"!Jp(")].id});SingleObstacle.displayName=_0x116673(430,"yTax");export const ObstacleSprite=_0x21c98f[_0x116673(371,"z5N&")](e=>{const r="Pg0(",a=_0x116673,o={FGmGD:function(e,r,a){return e(r,a)},dkkZH:function(e,r){return e(r)},fJucn:function(e,r){return e===r},IGXKz:function(e,r){return e!==r},vZTQt:function(e,r,a){return e(r,a)}},t=_0x466aba(9),{obstacles:n,offset:W}=e;let d;t[0]!==W?(d=o.dkkZH(getGroundY,W),t[0]=W,t[1]=d):d=t[1];const x=d;if(!Array[a(301,"chyd")](n)||o[a(468,r)](n[a(333,"Kemb")],0))return null;let _,i;if(t[2]!==x||t[3]!==n)if("lsYsg"===a(480,"H&nY")){_0x20c7d0=ZgJSXJ[a(451,"(BgT")](_0x2cb033,_0xdac6bd,{x:17,y:10,width:32,height:80,r:7,children:_0x31f3cf(_0x2f070e,{start:_0x81b54b(17,5),end:_0x339e58(47,5),colors:_0x3fd045})});const e={x:20,y:13};e[a(319,"Kemb")]=5,e[a(446,"rBpF")]=69,e[a(399,r)]=_0x303ae7,e.opacity=.35,_0x198088=_0x28c920(_0x4ba7a9,e),_0x50f221[3]=_0x3e03e0,_0x2133c9[4]=_0x2ec150}else{let e;t[5]!==x?(e=e=>_0x4feaa2(SingleObstacle,{obstacle:e,groundY:x},e.id),t[5]=x,t[6]=e):e=t[6],_=n.map(e),t[2]=x,t[3]=n,t[4]=_}else _=t[4];if(o[a(249,"sOF%")](t[7],_)){const e={};e[a(328,"Xi&#")]=_,i=o[a(271,"VsKo")](_0x4feaa2,_0x271837,e),t[7]=_,t[8]=i}else i=t[8];return i});const _0x34c293={};_0x34c293[_0x116673(461,"q)WL")]=_0x116673(378,"J4BT");const _0x1e1cd8={};_0x1e1cd8.obstacleContainer=_0x34c293;const styles=StyleSheet.create(_0x1e1cd8);ObstacleSprite[_0x116673(255,"InsQ")]="ObstacleSprite";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0xb13228=_0x3185;function _0xebf1(){const o=["C8koumo6W6hcPgBcTSk1fa","p8kXot4GW4yIWQG","AHJcH8oAumo7W4RdGMC6CG","h8oUpCoIW6O","imoBWOddThddVZLNzwZdQ8oy","nmk2AMScW5COWRxdRum","WPq0W6aDWPy","WOVdTelcRSou","a8kLvSo3hY3cRCkCDYFdHa","W47cTqVdS8khWRTjgmoQWQ7dT0NdRG","Cmklumk0W6FcJvZcJCku","uN/cR8oLWOKtncvl","a0WIm3dcMf4lW4m","WOddImoaxCknpe7dNgddVHJdSCkB","u8k5kLvbWP1Qig46n8kY","DfO3q8k9WQVcVW","jbJdOmoxWPS","WRiocCo0W6/cNXjj","DCkpvSo/WPNcJ2tcVSkAcNW","FCo4FmoKW5BcRmkojxyYWOC","WP5rn3LmD8o9W68","rmkNWP9TW4P2WPJdNW","i3i0mfG","W6ldGmk8lmoLW41uW6foWPVdJSkv","WOddP8kGj8ko","WRjBg1XS","pCkLoa","t8kPWPvmW4j0WONdIuu","WRLnWOFcQYG+WRdcMq","WOxdQCkHu0m","Bb3cH8oyxCkgWP7dTKu1uCkQnq","W5BdSSktW4FdPW8","v0aamfBcPN0","iCoizeRdNCoqWPvq","m3NcKZy","W6tdGSk1i8oJW4mSW4XGWQJdHmkeW60","W6H6W6ZdSCoywGrUpmoxh8oWiW","W49AdNTVt8op","D8kovCo9WPRdTd7cISkybMeMDq"];return(_0xebf1=function(){return o})()}!function(){const o=_0x3185,e=_0xebf1();for(;;)try{if(362676==-parseInt(o(501,"4Scg"))/1+parseInt(o(471,"3[Gs"))/2*(parseInt(o(475,"cxAO"))/3)+parseInt(o(479,"L9T8"))/4*(parseInt(o(480,"0%DC"))/5)+parseInt(o(491,"o#)y"))/6+-parseInt(o(488,"xp[m"))/7*(parseInt(o(492,"YNEA"))/8)+-parseInt(o(483,"L9T8"))/9*(-parseInt(o(497,"jD$f"))/10)+-parseInt(o(477,"xp[m"))/11)break;e.push(e.shift())}catch(o){e.push(e.shift())}}();import{c as _0x134da3}from"react/compiler-runtime";import _0x39ea4c from"react";import{View}from"react-native";import{useScore,useLives,useTimeLeft}from"../DinoJumpStore.js";import{DINO_JUMP_CONSTANTS}from"../DinoJumpConstants.js";import{ScoreBoardContainer,ScoreValue,ScoreLives,ScoreTimer,scoreBoardStyles as _0x30b076}from"../../../helpers/index.js";import{jsx as _0x2d3225,jsxs as _0xb4e3f8}from"react/jsx-runtime";const formatScoreValue=o=>o.toLocaleString();function _0x3185(o,e){o-=468;const r=_0xebf1();let t=r[o];if(void 0===_0x3185.SkVEso){const o=function(o,e){let r,t,n=[],d=0,s="";for(o=function(o){let e="",r="";for(let r,t,n=0,d=0;t=o.charAt(d++);~t&&(r=n%4?64*r+t:t,n++%4)?e+=String.fromCharCode(255&r>>(-2*n&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let o=0,t=e.length;o<t;o++)r+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(r)}(o),t=0;t<256;t++)n[t]=t;for(t=0;t<256;t++)d=(d+n[t]+e.charCodeAt(t%e.length))%256,r=n[t],n[t]=n[d],n[d]=r;t=0,d=0;for(let e=0;e<o.length;e++)t=(t+1)%256,d=(d+n[t])%256,r=n[t],n[t]=n[d],n[d]=r,s+=String.fromCharCode(o.charCodeAt(e)^n[(n[t]+n[d])%256]);return s};_0x3185.hQfTkF=o,_0x3185.UdgzOU={},_0x3185.SkVEso=!0}const n=r[0];_0x3185.YdjWOL!==n&&(_0x3185.UdgzOU={},_0x3185.YdjWOL=n);const d=_0x3185.UdgzOU[o];return void 0===d?(void 0===_0x3185.ikwAEr&&(_0x3185.ikwAEr=!0),t=_0x3185.hQfTkF(t,e),_0x3185.UdgzOU[o]=t):t=d,t}export const ScoreBoard=_0x39ea4c[_0xb13228(473,"ao)2")](o=>{const e=_0xb13228,r={YVeyZ:function(o){return o()},rWWQd:e(503,"t!p1"),GWzJY:function(o,e){return o!==e}},t=_0x134da3(13),{offset:n}=o,d=void 0===n?0:n,s=useScore(),W=useLives(),i=r[e(481,"q*&u")](useTimeLeft);let a,x,f,m,u;if(t[0]!==s){const o={};o[e(502,"xH*[")]=s,o[e(490,"3[Gs")]=formatScoreValue,a=_0x2d3225(ScoreValue,o),t[0]=s,t[1]=a}else a=t[1];if(t[2]!==W){const o={};o[e(500,"fa&o")]=W,o[e(499,"#(XF")]=DINO_JUMP_CONSTANTS[e(506,"jgCY")],x=_0x2d3225(ScoreLives,o),t[2]=W,t[3]=x}else x=t[3];if(t[4]!==i){const o={};o[e(493,"LAJ$")]=i,f=_0x2d3225(ScoreTimer,o),t[4]=i,t[5]=f}else f=t[5];if(t[6]!==a||t[7]!==x||t[8]!==f){const o={};o[e(485,"*iz@")]=_0x30b076[e(504,"jD$f")],o[e(498,"t!p1")]=[a,x,f],m=_0xb4e3f8(View,o),t[6]=a,t[7]=x,t[8]=f,t[9]=m}else if("nsmkk"!==r[e(484,"eY87")])m=t[9];else{const o={};o[e(468,"Hn$w")]=_0x100c8f,o[e(505,"#(XF")]=_0x31c310,_0x39009e=_0x4a03b3(_0x5b36fb,o),_0x5f23ba[0]=_0x3fc717,_0x367b2e[1]=_0xb762c}if(t[10]!==d||r[e(494,"@&8W")](t[11],m)){const o={};o[e(470,"2QaY")]=d,o[e(472,"Kjk0")]=m,u=_0x2d3225(ScoreBoardContainer,o),t[10]=d,t[11]=m,t[12]=u}else u=t[12];return u});ScoreBoard[_0xb13228(486,"D$d7")]="ScoreBoard";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x16268f=_0x52bd;function _0x52bd(t,o){t-=177;const r=_0x11f4();let n=r[t];if(void 0===_0x52bd.yfnKNv){const t=function(t,o){let r,n,e=[],d=0,W="";for(t=function(t){let o="",r="";for(let r,n,e=0,d=0;n=t.charAt(d++);~n&&(r=e%4?64*r+n:n,e++%4)?o+=String.fromCharCode(255&r>>(-2*e&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let t=0,n=o.length;t<n;t++)r+="%"+("00"+o.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(r)}(t),n=0;n<256;n++)e[n]=n;for(n=0;n<256;n++)d=(d+e[n]+o.charCodeAt(n%o.length))%256,r=e[n],e[n]=e[d],e[d]=r;n=0,d=0;for(let o=0;o<t.length;o++)n=(n+1)%256,d=(d+e[n])%256,r=e[n],e[n]=e[d],e[d]=r,W+=String.fromCharCode(t.charCodeAt(o)^e[(e[n]+e[d])%256]);return W};_0x52bd.vhNVOF=t,_0x52bd.BEgBPG={},_0x52bd.yfnKNv=!0}const e=r[0];_0x52bd.wiHLAD!==e&&(_0x52bd.BEgBPG={},_0x52bd.wiHLAD=e);const d=_0x52bd.BEgBPG[t];return void 0===d?(void 0===_0x52bd.gSVyPQ&&(_0x52bd.gSVyPQ=!0),n=_0x52bd.vhNVOF(n,o),_0x52bd.BEgBPG[t]=n):n=d,n}function _0x11f4(){const t=["pmoswSoxW4vXBbBcMt/cQq","WQP1eCk1WRW+xmoJW4qmW4lcIq","W7uthJrHWPiEWOFdQCo8Ehu","W7X9gmkDW4e2WP0","EvueoCogWPtdUaWenSkZW4NcOW","kciqW6hdKwO/B8kAW6GP","qSkFB8o6W7znW6/dKhRcPG","W7u7W63dOXzYtSkDWOhcJmk7W67dQG","daFcMM50WPpcImohWRf0W4xdGG","WPTalKuvnmoFW67dT3O","aHOpreJdQ8kiihPqW70yja","jsldUYyUE27cQcRcHa","uSoodmoLW71zW4tcK8kHlmokEmkq","cqpcN2H2WPBdQSoGWQryW6RdMLi","kYexW6FdL1yXqCkKW4aR","WPaAW7FdQwZcKmkkamo8WRX6W7i","W4ZcH8okvSoAfCoAjsDHW5i"];return(_0x11f4=function(){return t})()}!function(){const t=_0x52bd,o=_0x11f4();for(;;)try{if(235414==parseInt(t(188,"iQN]"))/1*(parseInt(t(182,"rGdJ"))/2)+-parseInt(t(187,"@NpI"))/3+-parseInt(t(192,"MI9)"))/4+-parseInt(t(183,"V*z]"))/5+-parseInt(t(189,"RKwo"))/6+parseInt(t(178,"FkaP"))/7+-parseInt(t(190,"rGdJ"))/8*(-parseInt(t(191,"HLxr"))/9))break;o.push(o.shift())}catch(t){o.push(o.shift())}}();import _0x3a56cc from"react";export const StarSprite=_0x3a56cc.memo(()=>null);StarSprite[_0x16268f(184,"K*68")]=_0x16268f(179,"ho5w");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _0x294c(o,n){o-=190;const t=_0x239c();let W=t[o];if(void 0===_0x294c.nBLCGM){const o=function(o,n){let t,W,e=[],r=0,i="";for(o=function(o){let n="",t="";for(let t,W,e=0,r=0;W=o.charAt(r++);~W&&(t=e%4?64*t+W:W,e++%4)?n+=String.fromCharCode(255&t>>(-2*e&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let o=0,W=n.length;o<W;o++)t+="%"+("00"+n.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(t)}(o),W=0;W<256;W++)e[W]=W;for(W=0;W<256;W++)r=(r+e[W]+n.charCodeAt(W%n.length))%256,t=e[W],e[W]=e[r],e[r]=t;W=0,r=0;for(let n=0;n<o.length;n++)W=(W+1)%256,r=(r+e[W])%256,t=e[W],e[W]=e[r],e[r]=t,i+=String.fromCharCode(o.charCodeAt(n)^e[(e[W]+e[r])%256]);return i};_0x294c.JsFnxv=o,_0x294c.fQLsxQ={},_0x294c.nBLCGM=!0}const e=t[0];_0x294c.kiczhA!==e&&(_0x294c.fQLsxQ={},_0x294c.kiczhA=e);const r=_0x294c.fQLsxQ[o];return void 0===r?(void 0===_0x294c.KLTPnj&&(_0x294c.KLTPnj=!0),W=_0x294c.JsFnxv(W,n),_0x294c.fQLsxQ[o]=W):W=r,W}!function(){const o=_0x294c,n=_0x239c();for(;;)try{if(904812==parseInt(o(375,"bL(l"))/1*(-parseInt(o(239,"S9Un"))/2)+-parseInt(o(332,"*%RM"))/3*(parseInt(o(242,"3l0J"))/4)+parseInt(o(253,"OU^a"))/5*(-parseInt(o(371,"VJMI"))/6)+-parseInt(o(299,"gRN9"))/7*(parseInt(o(214,"lfMG"))/8)+-parseInt(o(333,"G)(%"))/9*(parseInt(o(324,"KcDT"))/10)+parseInt(o(194,"D1Oi"))/11+-parseInt(o(309,"nM3k"))/12*(-parseInt(o(279,"NDH["))/13))break;n.push(n.shift())}catch(o){n.push(n.shift())}}();import{DOTS_AND_BOXES_COLORS}from"./DotsAndBoxesConstants.js";export const formatScore=o=>o.toLocaleString();export const createEmptyBoard=o=>{const n="3l0J",t="%Hk%",W=_0x294c,e={};e[W(248,n)]=function(o,n){return o<n},e[W(295,"P3)b")]=function(o,n){return o<=n},e.YVjIM=function(o,n){return o<n};const r=e,i=[],s=[],O=[];for(let n=0;r[W(220,"7hwP")](n,o);n++){const t=[];for(let e=0;r[W(233,"VJMI")](e,o);e++){const o={};o.id="h-"+n+"-"+e,o[W(273,"*%RM")]=n,o[W(238,"VJMI")]=e,o.orientation=W(269,"i2#u"),o[W(368,"kT0q")]=null,t[W(291,"uMgH")](o)}i[W(294,"0AjB")](t)}for(let e=0;e<o;e++)if("HaipH"===W(338,n)){const n=[];for(let t=0;t<=o;t++){const o={};o.id="v-"+e+"-"+t,o[W(255,"nM3k")]=e,o[W(238,"VJMI")]=t,o[W(315,"T8pQ")]=W(372,"idwP"),o[W(209,"W6HI")]=null,n[W(226,"EMo6")](o)}s[W(287,"nM3k")](n)}else{const o=[];for(let n=0;r.RhAFJ(n,_0x18550a);n++){const e={};e.id="h-"+_0x3e922c+"-"+n,e[W(361,"zg!A")]=_0x6c4e41,e[W(387,"fzu7")]=n,e[W(326,"bL(l")]=W(207,"&zsi"),e.owner=null,o[W(322,t)](e)}_0xbc097[W(328,"p[jL")](o)}for(let n=0;n<o;n++){const e=[];for(let i=0;r.YVjIM(i,o);i++){const o={};o.id=W(364,"7hwP")+n+"-"+i,o[W(271,"D1Oi")]=n,o.col=i,o[W(195,"G)(%")]=null,e[W(322,t)](o)}O[W(227,"M*mx")](e)}const d={};return d.horizontalLines=i,d.verticalLines=s,d[W(307,"0AjB")]=O,d};export const isBoxComplete=(o,n,t)=>{const W="0AjB",e=_0x294c,r={};r[e(254,"EMo6")]=function(o,n){return o+n};const i=r,s=o[e(210,W)][n]?.[t],O=o[e(234,"T8pQ")][n+1]?.[t],d=o[e(204,"$OSR")][n]?.[t],S=o[e(240,W)][n]?.[i[e(325,"0AjB")](t,1)];return!!(s?.[e(196,"q%xH")]&&O?.[e(203,"KcDT")]&&d?.owner&&S?.[e(310,"3xo^")])};export const claimBoxesInPlace=(o,n,t,W,e)=>{const r=_0x294c,i={CzSiY:function(o,n){return o>n},WEFAz:function(o,n){return o-n},NxBTq:function(o,n){return o<n},VqBqN:function(o,n,t,W){return o(n,t,W)}};let s=0;if(e===r(265,"OU^a")){if(i[r(249,"Q0El")](t,0)){const e=o[r(343,"%Hk%")][t-1]?.[W];e&&!e[r(195,"G)(%")]&&isBoxComplete(o,i.WEFAz(t,1),W)&&(e[r(331,"*%RM")]=n,s++)}if(i[r(270,"D1Oi")](t,o[r(357,"OU^a")].length)){const e=o.boxes[t]?.[W];e&&!e[r(190,"EMo6")]&&i[r(213,"q%xH")](isBoxComplete,o,t,W)&&(e[r(268,")q%h")]=n,s++)}}else{if(W>0){const e=o.boxes[t]?.[W-1];e&&!e[r(360,"$OSR")]&&isBoxComplete(o,t,W-1)&&(e.owner=n,s++)}if(W<o.boxes[0][r(283,"gRN9")]){const e=o[r(378,"1z]@")][t]?.[W];e&&!e[r(281,"7hwP")]&&i[r(245,"gy#B")](isBoxComplete,o,t,W)&&(e.owner=n,s++)}}return s};export const checkAndClaimBoxes=(o,n,t,W,e)=>{const r=_0x294c,i={horizontalLines:o.horizontalLines[r(336,"gy#B")](o=>o[r(216,"%Hk%")](o=>({...o}))),verticalLines:o[r(317,"Gh]x")][r(381,"S9Un")](o=>o.map(o=>({...o}))),boxes:o.boxes[r(323,"idwP")](o=>o[r(381,"S9Un")](o=>({...o})))},s=claimBoxesInPlace(i,n,t,W,e),O={};return O[r(244,"W6HI")]=i,O.boxesClaimed=s,O};export const makeMove=(o,n,t)=>{const W=_0x294c,e={EEiZI:function(o,n,t){return o(n,t)},BZRur:function(o,n){return o===n}},[r,i,s]=t.split("-"),O=parseInt(i,10),d=e[W(355,"zg!A")](parseInt,s,10);let S;if("h"===r?S=o[W(370,"$OSR")][O]?.[d]:"v"===r&&(S=o.verticalLines[O]?.[d]),!S||null!==S.owner)return null;const x={horizontalLines:o[W(225,"L4pB")][W(231,"*^lA")](o=>o[W(349,"3l0J")](o=>({...o}))),verticalLines:o[W(337,"1z]@")][W(262,"p[jL")](o=>o.map(o=>({...o}))),boxes:o[W(384,"idwP")][W(363,"#cTy")](o=>o.map(o=>({...o})))};e.BZRur(r,"h")?x.horizontalLines[O][d][W(278,"[[oQ")]=n:x.verticalLines[O][d][W(201,"idwP")]=n;const l=claimBoxesInPlace(x,n,O,d,"h"===r?W(288,"1z]@"):W(330,"$OSR")),f={};return f.newBoard=x,f[W(327,"3xo^")]=l,f};export const getAvailableLines=o=>{const n=_0x294c,t={};t.ZVIfg=n(289,"8L!I");const W=t,e=[];for(const t of o.horizontalLines)for(const o of t)if(W[n(304,"nM3k")]!==n(212,"UthI")){const o=_0x4c9f55[n(339,"q%xH")][_0x45bb1f]?.[_0xc5f05e]?.owner,t=_0x29bcf9[n(373,"D1Oi")][_0x3d770c+1]?.[_0x5371e9]?.[n(359,"#cTy")],W=_0x17ccb6[n(317,"Gh]x")][_0x422b8d]?.[_0x75417d+1]?.owner;if(o&&t&&W)return!0}else!o[n(205,"T8pQ")]&&e[n(291,"uMgH")](o);for(const t of o.verticalLines)for(const o of t)!o[n(192,"tiDY")]&&e[n(199,"idwP")](o);return e};export const isGameOver=o=>{const n=_0x294c;return 0===(t=getAvailableLines,W=o,t(W))[n(243,"Pc9S")];var t,W};export const countBoxes=o=>{const n=_0x294c,t={};t[n(250,"P3)b")]="FGhbE",t.bGFTd=n(241,"Pc9S"),t.rMHsM=function(o,n){return o===n};const W=t;let e=0,r=0;for(const t of o[n(258,"L4pB")])if(W[n(191,"OU^a")]!==n(377,"OU^a"))for(const o of t)o[n(232,"gy#B")]===W[n(297,"7hwP")]?e++:W.rMHsM(o.owner,n(222,"*^lA"))&&r++;else _0x5ec2db++;const i={};return i[n(202,"T8pQ")]=e,i[n(347,"Q0El")]=r,i};const wouldCompleteBox=(o,n)=>{const t=_0x294c,W={};W.eGCLT=t(260,"gRN9"),W[t(354,"q%xH")]=function(o,n){return o-n},W[t(320,"1z]@")]=function(o,n){return o-n},W.nCKjh=function(o,n){return o+n},W[t(380,"*^lA")]=function(o,n){return o-n},W.ndxsf=function(o,n){return o-n},W[t(382,"OU^a")]=function(o,n){return o<n};const e=W,{row:r,col:i,orientation:s}=n;if(s===e.eGCLT){if(r>0){const n=o[t(303,"fzu7")][e[t(313,"i2#u")](r,1)]?.[i]?.[t(230,"uMgH")],W=o[t(235,"%Hk%")][r-1]?.[i]?.[t(284,"p[jL")],s=o.verticalLines[e[t(215,"UthI")](r,1)]?.[e[t(237,"P3)b")](i,1)]?.[t(359,"#cTy")];if(n&&W&&s)return!0}if(r<o.boxes[t(346,"OU^a")]){const n=o[t(376,"*^lA")][r+1]?.[i]?.[t(345,"OU^a")],W=o[t(261,"*%RM")][r]?.[i]?.owner,e=o[t(208,"NDH[")][r]?.[i+1]?.[t(276,"Pc9S")];if(n&&W&&e)return!0}}else{if(i>0){const n=o.horizontalLines[r]?.[e[t(198,"rLRh")](i,1)]?.[t(350,"i2#u")],W=o.horizontalLines[r+1]?.[e[t(200,"D1Oi")](i,1)]?.[t(321,"lfMG")],s=o[t(366,"lfMG")][r]?.[e.ndxsf(i,1)]?.owner;if(n&&W&&s)return!0}if(e.gfbqG(i,o[t(305,"bjVS")][0][t(236,"3xo^")])){const n=o.horizontalLines[r]?.[i]?.owner,W=o.horizontalLines[r+1]?.[i]?.owner,e=o[t(348,"W6HI")][r]?.[i+1]?.[t(331,"*%RM")];if(n&&W&&e)return!0}}return!1},wouldGiveOpponentBox=(o,n)=>{const t=_0x294c,W={nGwFe:function(o,n){return o>n},aoNjR:function(o,n,t,W){return o(n,t,W)},FJFFC:function(o,n){return o<n}},{row:e,col:r,orientation:i}=n,s=(n,t,W)=>{const e=_0x294c;let r=0;const i=o[e(300,"*%RM")][n]?.[t],s=o.horizontalLines[n+1]?.[t],O=o[e(366,"lfMG")][n]?.[t],d=o[e(319,"VJMI")][n]?.[t+1];return(i?.[e(211,"&zsi")]||i?.id===W.id)&&r++,(s?.[e(196,"q%xH")]||s?.id===W.id)&&r++,(O?.[e(246,"3l0J")]||O?.id===W.id)&&r++,(d?.[e(342,"L4pB")]||d?.id===W.id)&&r++,3===r};if(i===t(257,"zC$k")){if(W[t(290,"NDH[")](e,0)&&W.aoNjR(s,e-1,r,n))return!0;if(W[t(292,"lfMG")](e,o[t(298,"2iK0")][t(272,"EMo6")])&&s(e,r,n))return!0}else{if(r>0&&s(e,r-1,n))return!0;if(r<o.boxes[0][t(217,"&zsi")]&&W[t(386,"$OSR")](s,e,r,n))return!0}return!1};function _0x239c(){const o=["vWldUqXNWRJdV8kw","DvldIwhdRa","W5jRnq","W5miyaTIWPS","fhpdH1xdGL0abhVcSW","WQqiwZBcTG","WRqzW4bmWQJcIG","fLpcTqeVW7VcJmkXW58z","iwzMFSkij0dcLmkIW611W6ud","f8k6nG","W5yscJv7","x3ldTSohoq","dLJdRb1CWQhdUSkfW540","uSkMct/dTa","WOpdGwyNWPikeJfvyq","W4/cMCorWRqS","W41oWQeSstv/hSk/dW","ymkdWR80gG","xmkuWOO","weldPK7dSt8","jwXJ","W7KiWPRdJs9pFCkgW6OzW7DvC8k0kCk5ECk6W7NcNmoA","W5xcQZWiWQC2DCoGW53cLdRdPt4lb05D","W7JcKWOYWOu","zfdcPH8m","W4WtBXD1","xt4foKBcVvxdI8o0W5tcNs0","W53cIWGZWQi","khOpWPDq","W6u4WRjBoSoe","eLNcQq8HW7W","fCkSkmohW4q","g8kSf8ogW6a","WRlcGmk9kuNcTmoXDCkEWPvEyCkLimkeg8kkEmoYn8oOW4TRWRa","W5bXmse","WQWAW5nCWRFcLX9XW4nG","WRfWBmolea","auLgtrO","W40aWQ7cLG","cXqMW5RdQa","WQxdLLiwWQ8ZECodW6e","WOdcUSkwhG","W7GAsCocW7u","sGpdHCoGda","juONWQzg","dKGzWQRdPa","ta3cVr07W47cOCkn","p2XMy8kBk0/cJmkpW6HxW6KECSk8","qCotpmkVEcqhW7lcQCojWQjoW7K","W4PHnH3cTG","WO7cNSomhmounSo9FxzMg33dPNaJ","W7PscY/cHG","nCk3v8kXgG","W6eRws1xWQxcSCkNFCkOrgipjmkeW4OMW7DalZTW","WPlcOmkDe3u","W6ZcP8oXWPqbW54XzSk8W4pdR1ZcUG","WPq3D3/cM28dW78eWOC","WRDFaSo4vW","W7SQpa9zWQypW5SsWOdcUffXks0GWQ9kAa","z1VdGCofW6bxW5RdPIBcTCoYaSorW7ZdVCo9fW","W7faWRO1wG","WRRcPCkrf2O","W5SqDmoWr8knWRe/ALPh","WP/cUmkle3q","W7vLW7NcMmkLASooq8kvW4PwWQVdPW","hSktFSoRja","W6v8WOCryJxdJuW8E8oYWP/cMG","WQamW7TFWQG","iIKoW7NdMq","W4KqfZG","xSkOnW","cbxdLSoFamk8qmoH","WRhcUSkKpM8","h8ktz8o5iMrsW5dcImoPWOO","WRPhfmo4vKpdIZ5VW5K4W4m","cSkUnCok","W6DUWOSAFaPbjCkqjSk5WRGByhiOW7mmvq","W784WQ5ij8oplxq","ohr6B8kt","zJzbsCkifflcIa","hL7cNmk9tWddLSkxESkjW4VdOCkW","W6xdUe7cVGpdNmkKWPLKWQZcL2ZcRSkTx8o/fmoYWOS","k2GpWPvwrq","WOHgjq","WRiqW5nbWQtcMXbPW65LwmoxWOa","W7mMWQVdOIG","W4hdNNlcKIBdUSkeWQXgWPtcKLpcHCkxza","W5efBXzOWOq","ySkYWRmLngD8W57cPmkIyq","WQKqttBcTW","W5Skhdv6","dmk0e8ouW5m","cuddSbfu","cLldSbnsWQy","WP7cSt99bxXoW6S","xulcSayjW4JcVCodz8ona8oGEG","W5yMWRi","W4PwWR0Gqq","WOvxESoTAmkpWRSS","W5xcQZWiWQC2DCoGW53cLdRdOcmyb1rntW3cTSkUcG","tI3cGW7cIqvwbelcMSo1W6e1","W73dKgNcIZu","C24vcmoX","xri0WOZdVKfQWQ8","bfJdPHfv","wCkSmXVdLW","tWrZWOZcIq","W6yQWRjzpa","reql","hfisWQC","trjT","jwizW58","DgpcR8kAWQLrWPT5W7mHW57cUa","oZSsW6JdGSo4hCoehCkBW7hdLW8","vxRdIhxdSmkJ","kstdTCooW6i","WPPNnmocALddTXbiW7etW7m","W6eYWQ5vnmodiMZdONBdKCk/dmoAW6m","WQeTW4fxpgBcNKiby8osWRpcNq","rCkSntVdQCobmHW","rSkuWO8jevHEW6VcNmklFXRcQCowza","WOOUBrBcMSkmWRfJW4tdG8oynSkeWQ3cGmoEW63dLW","qSownSkPl2D8W4JcMmov","WO81eSoUb8opW7tcS0DVdSk3fWldNa","fw7dTWfF","WQyAW5LqWR4","wvWsn8ok","WRadgmoqhG","sNRdLG","avhdVavH","WPf8FCoDiCkXWPFcVMrQsvOYWPOrbcJdT8kA","uCkMpYRdSW","jMiVWOjw","W6GYWPjwha","WOxcNSos","w1ddPKZdTW","le3dJXXp","rgxdOCoLW40","W50RWQ3dVri","h8ooW4vvxamjW7lcU8kGvH7cIW","qXJdHmoQda","W4BdHM7cNI4","WQaPW4jCpgxcMLuiqSoEWPBcJG","WRnXWPpcTwC","q8k8ncC","ECkIWOu3ca","xmk+ksRdSG","W4qoFmoStmkl","vfldSCoxjW","W784WQ5ij8oplxtdJ3pdS8kZeq","W5SvC8oWwW","W7y1WPxdQaK","W5/cNsf4WPiGgZ9EAq","gwTdFXBdR1RdJ8oUW7hcSGLZ","rfdcRbCs","WPJcOmkxh3ZcI8optSkXWRXCxmkuaSkL","W5JcHt10WPO","kSkvW7v7CG","W7/dGelcIHi","FM5xWQxcNmkOsSoDkCkIW53dNHS","lmkVW6zyDG","W5qefa","W5VcLZ12WPWN","fLVdVW1dWRW","WOmncCoYeq","nKuZWPLV","CCkAWQdcImooWQRdG8oUWPNdKW","WOGQemoOe8ofW7tcSW","F8kacqRdN8oYhZhdHcNcMrxcVaP+gq","rMCkoCoW","WQ4iutRcV8kSWO9hW6RdOCoreCk+WPFcTW","rfldU0e","nK3dV20","W5dcOSojWROw","dvaWWQVdGq","W5icWRpcMXm","WOO7ea","WOPqo8kxW7G","W4fXWRqJqq","W5WnB8o8u8kwWR4/yLLLWPDaWQDm","W48afIrGWOKVW64BWRVcIxnq","WRrnaSo6uwG","W6CrumodW5a","W7b2WPK","fsNcKfddH8khE2GS","WOBcQSkxaM/cH8oavSkCWRL+umkj","W6FcIauUWPii","WOP1W7dcOvqRgCkFW6WtW792yq","W7VcGqOWWOms","rulcTtapW4RcRSol","WRnwf8kdW4q","W5qWWQZdTXi","tI3dJ0NdLMGToa","W6KVWOpdLcO","WRlcUXX7mG","W4mOsSobW5e","s0NdVSolmmk5","kJBdTComW6qi"];return(_0x239c=function(){return o})()}export const selectAIMove=o=>{const n=_0x294c,t={MSfMj:function(o,n){return o===n},nrpwh:function(o,n){return o!==n},Owdml:n(280,"Pc9S"),Jjtal:function(o,n,t){return o(n,t)},hGQRQ:function(o,n){return o*n}},W=getAvailableLines(o);if(t.MSfMj(W[n(335,"7hwP")],0))return null;for(const e of W)if(wouldCompleteBox(o,e))return t[n(318,"bL(l")]("UpgCP",t[n(277,"W6HI")])?e:_0x2e4048[n(379,"zg!A")]?"player"===_0x4fb7b0.owner?[_0x4675cc[n(383,"8L!I")],_0x107c55[n(306,"[[oQ")]]:[_0x1a6f12[n(274,"3l0J")],_0x4ae97f.BOX_OPPONENT_GRAD_BOTTOM]:null;const e=[];for(const r of W)!t[n(314,"0AjB")](wouldGiveOpponentBox,o,r)&&e[n(362,"2iK0")](r);return e[n(282,"$OSR")]>0?e[Math[n(193,"3l0J")](t.hGQRQ(Math[n(367,"S9Un")](),e[n(272,"EMo6")]))]:W[Math[n(296,"G)(%")](Math[n(340,"[[oQ")]()*W[n(252,"kT0q")])]};export const getLineColor=o=>{const n=_0x294c,t={};t[n(266,"idwP")]=n(251,"KcDT");const W=t;return o[n(203,"KcDT")]?o[n(268,")q%h")]===W[n(385,"7hwP")]?DOTS_AND_BOXES_COLORS[n(341,"D1Oi")]:DOTS_AND_BOXES_COLORS[n(308,")q%h")]:DOTS_AND_BOXES_COLORS.LINE_INACTIVE};export const getLineLightColor=o=>{const n=_0x294c,t={};t[n(229,"2iK0")]=function(o,n){return o===n},t.MrWzi=n(259,"1z]@");const W=t;return o[n(263,"%Hk%")]?W[n(285,"p[jL")](o[n(379,"zg!A")],W[n(206,"3l0J")])?DOTS_AND_BOXES_COLORS[n(312,"tiDY")]:DOTS_AND_BOXES_COLORS.LINE_OPPONENT_LIGHT:DOTS_AND_BOXES_COLORS[n(334,"q%xH")]};export const getLineDarkColor=o=>{const n=_0x294c,t={voUve:function(o,n){return o===n}};return o.owner?t[n(344,"p[jL")](o[n(209,"W6HI")],"player")?DOTS_AND_BOXES_COLORS.LINE_PLAYER_DARK:DOTS_AND_BOXES_COLORS[n(374,"L4pB")]:DOTS_AND_BOXES_COLORS.LINE_INACTIVE};export const getLineGlowColor=o=>{const n=_0x294c;return o[n(316,"0AjB")]?"player"===o[n(331,"*%RM")]?DOTS_AND_BOXES_COLORS[n(223,"idwP")]:DOTS_AND_BOXES_COLORS.LINE_OPPONENT_GLOW:"transparent"};export const getBoxColor=o=>{const n=_0x294c,t={};t[n(302,"nM3k")]=function(o,n){return o===n};const W=t;return o[n(316,"0AjB")]?W[n(358,"idwP")](o[n(360,"$OSR")],"player")?DOTS_AND_BOXES_COLORS.BOX_PLAYER:DOTS_AND_BOXES_COLORS[n(369,"3xo^")]:null};export const getBoxGradientColors=o=>{const n=_0x294c,t={};t[n(219,"*^lA")]=function(o,n){return o===n};const W=t;return o[n(350,"i2#u")]?W[n(264,"KcDT")](o[n(246,"3l0J")],n(256,"[[oQ"))?[DOTS_AND_BOXES_COLORS[n(311,"%Hk%")],DOTS_AND_BOXES_COLORS[n(352,"Pc9S")]]:[DOTS_AND_BOXES_COLORS.BOX_OPPONENT_GRAD_TOP,DOTS_AND_BOXES_COLORS[n(286,"0AjB")]]:null};export const getBoxBorderColor=o=>{const n=_0x294c,t={};t[n(224,"zg!A")]=function(o,n){return o===n};const W=t;return o[n(196,"q%xH")]?W[n(228,")q%h")](o[n(195,"G)(%")],n(218,"OU^a"))?DOTS_AND_BOXES_COLORS[n(275,"Pc9S")]:DOTS_AND_BOXES_COLORS[n(329,"i2#u")]:null};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x5c03bb=_0x5167;function _0x5167(o,e){o-=263;const t=_0x2610();let W=t[o];if(void 0===_0x5167.kWOsaQ){const o=function(o,e){let t,W,n=[],r=0,d="";for(o=function(o){let e="",t="";for(let t,W,n=0,r=0;W=o.charAt(r++);~W&&(t=n%4?64*t+W:W,n++%4)?e+=String.fromCharCode(255&t>>(-2*n&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(let o=0,W=e.length;o<W;o++)t+="%"+("00"+e.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(t)}(o),W=0;W<256;W++)n[W]=W;for(W=0;W<256;W++)r=(r+n[W]+e.charCodeAt(W%e.length))%256,t=n[W],n[W]=n[r],n[r]=t;W=0,r=0;for(let e=0;e<o.length;e++)W=(W+1)%256,r=(r+n[W])%256,t=n[W],n[W]=n[r],n[r]=t,d+=String.fromCharCode(o.charCodeAt(e)^n[(n[W]+n[r])%256]);return d};_0x5167.RiGiPo=o,_0x5167.CFLcxG={},_0x5167.kWOsaQ=!0}const n=t[0];_0x5167.VqUBXe!==n&&(_0x5167.CFLcxG={},_0x5167.VqUBXe=n);const r=_0x5167.CFLcxG[o];return void 0===r?(void 0===_0x5167.TTutAZ&&(_0x5167.TTutAZ=!0),W=_0x5167.RiGiPo(W,e),_0x5167.CFLcxG[o]=W):W=r,W}!function(){const o=_0x5167,e=_0x2610();for(;;)try{if(606187==parseInt(o(406,"6EQ@"))/1*(-parseInt(o(304,"8n@K"))/2)+parseInt(o(368,"kD1P"))/3*(parseInt(o(313,"LS(E"))/4)+-parseInt(o(330,"h6r0"))/5*(-parseInt(o(270,"((4U"))/6)+parseInt(o(370,"V*XJ"))/7*(-parseInt(o(327,"VV(M"))/8)+-parseInt(o(289,"&urs"))/9*(parseInt(o(346,"V*XJ"))/10)+parseInt(o(364,"6EQ@"))/11*(-parseInt(o(266,"7qGg"))/12)+-parseInt(o(274,"wvgm"))/13*(-parseInt(o(357,"iJJF"))/14))break;e.push(e.shift())}catch(o){e.push(e.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{immerMiddleware}from"../../services/UtilsService.js";import{DOTS_AND_BOXES_GAME_CONFIG}from"./DotsAndBoxesConstants.js";import{createEmptyBoard,makeMove,isGameOver,countBoxes,selectAIMove}from"./DotsAndBoxesService.js";import{playSound,GAME_SOUNDS}from"../../services/SoundsService.js";import{playHaptic,HapticType}from"../../services/HapticsService.js";export const useDotsAndBoxesStore=create()(subscribeWithSelector(immerMiddleware((o,e)=>({isPlaying:!1,isGameOver:!1,isWin:!1,board:null,gridSize:DOTS_AND_BOXES_GAME_CONFIG[_0x5c03bb(296,"Dp2w")],currentPlayer:_0x5c03bb(307,"5TbB"),playerScore:0,opponentScore:0,isAIThinking:!1,initializeGame:()=>{const e=_0x5c03bb,t={};t.WurHy=e(390,"FkTo");const W=t,n=DOTS_AND_BOXES_GAME_CONFIG.GRID_SIZE,r=createEmptyBoard(n);o(o=>{const t=e;o[t(311,"8n@K")]=r,o[t(347,"(D%N")]=n,o[t(292,"dwz4")]=W[t(384,"du00")],o[t(305,"@9cQ")]=0,o[t(279,"xvln")]=0,o[t(290,"4wTX")]=!1,o[t(371,"du00")]=!1,o[t(332,"zOM2")]=!1,o[t(336,"@9cQ")]=!1})},startGame:()=>{o(o=>{const e=_0x5167;o[e(373,"0!E!")]=!0,o[e(322,"h6r0")]=!1,o[e(385,"du00")]=!1})},stopGame:()=>{o(o=>{o[_0x5167(397,"(D%N")]=!1})},resetGame:()=>{const e=_0x5c03bb;({bZJGF:function(o,e){return o(e)}})[e(389,"o&y)")](o,o=>{const t=e;o[t(340,"gl3*")]=!1,o[t(271,"Uk3x")]=!1,o[t(298,"VV(M")]=!1,o[t(326,"JZeQ")]=null,o[t(376,"o!gB")]=t(280,"wvgm"),o[t(320,"!$ej")]=0,o[t(297,"V*XJ")]=0,o[t(403,"wvgm")]=!1})},makePlayerMove:(t,W)=>{const n="$Soj",r="bwg8",d=_0x5c03bb,s={GTBCs:function(o,e){return o*e},rbxGx:function(o,e,t){return o(e,t)},bZszX:function(o,e,t){return o(e,t)},ReBMZ:function(o){return o()},dHlQz:function(o){return o()},PEDtk:function(o,e){return o>e},XiiiS:function(o,e,t){return o(e,t)},PhrQb:function(o,e,t){return o(e,t)},IWQfj:d(388,"(D%N"),EVBNG:function(o,e){return o(e)}},i=s.dHlQz(e);if(!i[d(362,n)]||!i[d(335,"Uk3x")]||i[d(321,"UoCp")]!==d(307,"5TbB")||i[d(380,"du00")])return;const u=makeMove(i.board,d(365,"kD1P"),t);if(!u)return;const{newBoard:S,boxesClaimed:p}=u;if(o(o=>{const e=d;o[e(323,"m!%k")]=S,o[e(402,"wvgm")]+=s[e(293,"XX]D")](p,2e3)}),s[d(356,"iJJF")](p,0)?(playSound(GAME_SOUNDS[d(349,"XX]D")][d(372,"UoCp")],W[d(363,"xs4X")]),s.XiiiS(playHaptic,HapticType[d(264,"@9cQ")],W[d(398,"ygpx")])):(s[d(312,n)](playSound,GAME_SOUNDS[d(272,r)][d(394,"Dp2w")],W[d(405,"wvgm")]),s[d(352,"FkTo")](playHaptic,HapticType[d(338,"Y9bb")],W[d(393,"du00")])),isGameOver(S)){if(s[d(378,"VfAv")]!==d(348,"iJJF")){const e=countBoxes(S);return o(o=>{const t=d;o[t(265,"(D%N")]=!0,o[t(291,"((4U")]=e[t(369,"Jw9u")]>e[t(404,"bwg8")],o[t(290,"4wTX")]=!1}),void(e[d(325,"m!%k")]>e[d(303,"7qGg")]?(playSound(GAME_SOUNDS[d(295,"Y9bb")][d(318,"gl3*")],W[d(263,"F!7E")]),playHaptic(HapticType[d(386,"V*XJ")],W.enableHaptics)):(playSound(GAME_SOUNDS.DOTS_AND_BOXES[d(387,"o&y)")],W.enableSounds),playHaptic(HapticType.HEAVY,W.enableHaptics)))}s[d(355,"bwg8")](_0x3a3783,_0x2b424d[d(285,"$Soj")][d(408,"kqY]")],_0x125b4f[d(308,"V*XJ")]),s[d(273,"Uk3x")](_0x3ddc39,_0x256acb[d(400,r)],_0x2469e8.enableHaptics)}0===p&&(s[d(383,"VfAv")](o,o=>{const e=d;o.currentPlayer=e(276,"oZXZ"),o.isAIThinking=!0}),setTimeout(()=>{const o=d;s.ReBMZ(e)[o(350,"Dp2w")](W)},1e3))},makeAIMove:t=>{const W=_0x5c03bb,n={OgNDi:"player",tYrpr:function(o){return o()},GnGAr:function(o,e){return o(e)},WdHIt:function(o,e,t){return o(e,t)},deEzu:function(o,e,t){return o(e,t)},iImIg:function(o,e,t){return o(e,t)},YDXsL:function(o,e){return o>e},uBRAy:function(o,e){return o(e)}},r=n[W(342,"0!E!")](e);if(!r[W(269,"$Soj")]||r.currentPlayer!==W(360,"0!E!"))return;const d=n[W(267,"du00")](selectAIMove,r[W(315,"UoCp")]);if(!d)return void o(o=>{const e=W;o[e(287,"LS(E")]=!1,o[e(302,"VV(M")]=n[e(268,"zOM2")]});const s=makeMove(r[W(324,"hOO&")],W(303,"7qGg"),d.id);if(!s)return void o(o=>{const e=W;o[e(354,"m!%k")]=!1,o[e(382,"g^Dd")]=e(399,"&urs")});const{newBoard:i,boxesClaimed:u}=s;if(o(o=>{const e=W;o.board=i,o[e(353,"h6r0")]+=2e3*u}),u>0?(playSound(GAME_SOUNDS.DOTS_AND_BOXES[W(351,"LS(E")],t[W(294,"7qGg")]),n[W(333,"zOM2")](playHaptic,HapticType[W(401,"du00")],t[W(299,"wvgm")])):(playSound(GAME_SOUNDS[W(328,"4wTX")][W(301,"wvgm")],t.enableSounds),n[W(275,"dwz4")](playHaptic,HapticType[W(329,"7qGg")],t[W(281,"gl3*")])),n[W(374,"bwg8")](isGameOver,i)){const e=countBoxes(i);return o(o=>{const t=W;o[t(341,"Y9bb")]=!0,o.isWin=e.player>e.opponent,o[t(358,"8n@K")]=!1,o[t(375,"iJJF")]=!1}),void(e[W(399,"&urs")]>e[W(277,"(D%N")]?(n[W(344,"Jw9u")](playSound,GAME_SOUNDS[W(377,"6EQ@")][W(283,"h6r0")],t.enableSounds),playHaptic(HapticType[W(317,"gl3*")],t[W(310,"iPtU")])):(playSound(GAME_SOUNDS[W(288,"iPtU")][W(345,"6EQ@")],t[W(367,"$Soj")]),n[W(282,"xs4X")](playHaptic,HapticType[W(278,"((4U")],t[W(398,"ygpx")])))}n[W(319,"JZeQ")](u,0)?setTimeout(()=>{e().makeAIMove(t)},800):n[W(286,"5TbB")](o,o=>{const e=W;o[e(300,"qbMc")]=e(396,"hOO&"),o[e(309,"8n@K")]=!1})}}))));export const useIsPlaying=()=>({ImntB:function(o,e){return o(e)}}[_0x5c03bb(284,"0!E!")](useDotsAndBoxesStore,_temp));export const useIsGameOver=()=>useDotsAndBoxesStore(_temp2);export const useIsWin=()=>useDotsAndBoxesStore(_temp3);export const useBoard=()=>useDotsAndBoxesStore(_temp4);export const useGridSize=()=>useDotsAndBoxesStore(_temp5);export const useCurrentPlayer=()=>useDotsAndBoxesStore(_temp6);export const usePlayerScore=()=>useDotsAndBoxesStore(_temp7);export const useOpponentScore=()=>useDotsAndBoxesStore(_temp8);export const useIsAIThinking=()=>({kqBLr:function(o,e){return o(e)}}[_0x5c03bb(359,"7qGg")](useDotsAndBoxesStore,_temp9));function _temp(o){return o[_0x5c03bb(395,"LS(E")]}function _temp2(o){return o[_0x5c03bb(337,"VfAv")]}function _temp3(o){return o[_0x5c03bb(314,"8n@K")]}function _temp4(o){return o.board}function _temp5(o){return o.gridSize}function _temp6(o){return o[_0x5c03bb(331,"FkTo")]}function _temp7(o){return o[_0x5c03bb(391,"o!gB")]}function _temp8(o){return o[_0x5c03bb(306,"@9cQ")]}function _temp9(o){return o[_0x5c03bb(381,"7qGg")]}function _0x2610(){const o=["h8k8W5elW6qhFHJcUSkCuXW0WPS","frvjg8kKw8k0y8ojW5q","mcRcHr0KWPzfWPpcRSkvtSkN","cZFdNSkNWPe","bx9uus7dOmkYWPVcSmk4WQWYuq","W6/cPKH/W7VcHSoMcSoFW7KTWP0","e8o9fXVcNq","CMxdOvNcNq","eXtdL0ZcVMJcKmoS","WPVcRCoXWR7dN8kCW4ydW6K","WRhcRmkNWQfr","WODqn8oMDvxdLmkU","WQhcQCktWRDeybi3W5O","xmoDWOvjW5lcL3NcHmkI","vYpcQSoIo1iEBSoIhmkBjq","WROMWP/cQSk3WPT9hKJcU0i","obXYt8kOW4e","WQFdImoYWRL0qr8","umoaWRrhW5/cI0pcHCkWWQC+yq","EKeLd8o5WOtcIY0LW7rkzmk1","ehpdImoonu4","iYS9vL5mW4NdPttcRa","emkrFCoyq8oAW53dJq8D","W6HRxunmW5v2luJdLCk0","WOftf8oLEKNdK8k0W7i","jSoXkb3cLW","s1pdPgtcOLxcM8oVv8oEz8os","gHhdOmkwWQCBW4JdT8o6W4yXW5b9","W49DW77dISozWPfIfxtcT3SDW7i1","WRKwA8o8kG","wZTwxWJdKmk+WOi","emkrE8oWESoxW7VdLqegsHG","WRpcRSkKWQr3AIOjWQ9qWQ9A","n8ooWQxcImovW6ldS1pcGspdHwuv","WRuxEmoubW","lSkxsmoXvW","emkrBCoqqa","quXgjgHsW6i","gSkjEL4","W6FcHCo3bh4","nmkCy1ZdLq","kZpdJCkpWPy4","cqJdS8kDWQChW6/dHmo5W5uT","WRFdOtWfWP7cPCoEk8oxW541","hmkmw8oBqSoAW5RdMHOBtrXJ","kdHJj8kGqmkMqmo2W79+","fGNcHt4lWQPIWQNcLG","jSo2zG52oq","W4BcV8oXo0uUEYFdKG","aSooW5hcKelcP1dcMCkDWPBdJqWN","WPH6W5XxpSk4","kCoAlGRcVa","lSkJAmo3z8oXW5u","WR5bWRfRiSo9W5Hqtx3dVW","WQDEWPfBe8oNW6jDswBdTmop","dSoVhZpcI8ksW5VdRq","WQTdWRfWk8oQW5HCv2hdVSoB","WRGMWPpcQmk+W6zRfgBcM3Wb","WRFdRdehWPJdM8k4u8onW5KjWPm4WQa","W5/dKCo2WOy","qmkevColW5hcO8oRdtldOMnP","WRpdV8opnSoqWRq","W4BcV8oMnKKYxt/dKmou","W6JdQSotWPLRAcOiWOe","pSkmFCo4xa","Ft7dT8oAsa","v8obWRrxW5C","DhGUWRbCWP5LEYNcHu8nFW","t8kyrCkGtXSoW5VdHCkk","jCoqoW/cUSk2W7VdNrpdGdldJXldTW","rmkXCCk7EG","W78uW6GJCmk6WRWew0BdKmobr8op","W5HbpSojW6K","nSkWW53dTmkJlXPr","W4dcVmoroeOYFd0","cavzW5q8","fCo9a8kXWRq1W7xcUMb6WRTQvG","WR5bWRfRiSo9","hqVcNSoiaZ5sW7BdNmk3WPelWOS","zsNcG8ojiW","puzQ","WQfnkCo9wq","CCoHWOf2W6ZcR17cRSkAWOSvsSkXW7u","WQBdVfzamq","fGNcLbS+WRTIWQNcMSk+B8ky","v8kju8o4ufBcSg8aWPRcLM0Oka","W5f5W5jVemkHEG","srpdImkRWQHUWRziWQq","ktnpW6Sl","W59rcCobW7LaW6/dKX4VW50Guq","hmkNW4CBW4G","WR/cS8keWO9pzXaiWRfxWQvo","fmoZWR/dUCkwW5hcLmkigt90e0T1","pYzRoSk6qCkWvSo6","FwL1cenKW5/dUXlcQ2Dflq","nLy2ihu","WQTdWRfWk8oQW4nsuNVdS8olxG","W5qQW6ddJXVcKCkuW5JcRMxdTfpcPq","WOf9WObDcCokW4vNFupdK8oMAa","pfato37dQbhcPmkppcVcJCov","WRxcRCkvWOjnzY0t","W4BcNCoJWR/dNCkQW4u","WO7dLSoQbSoGWOVcHSoaW4XAW5C","WPhdISo7emoRWPZcU8oxW7blW53cKmk4","WQpdKMv4ls4","D3DKbufKW6ldOdtcPMXe","WPVcRCoGWPVdQSknW4ydW6u1fSkc","DSkOzSojy3lcTKOVWQZcSfyE","WPdcSCoaWQddMG","zCogWQD0W5e","sYZcGIGsWPHV","WPVcRCo2WRVdKa","W4Hlzg5R","W6JdRSoDW5OrwGq1WPfXWOW","kZdcVmoPkGHj","lYZcSq","vwBdG18n","dSomWONcMmodkSoQCrS+dW","W4LrD25QW7DdngNdSCkjWR9Q","a3XJxY3dOmktWPNcHSkP","W6tcUMHeW4S","nmo1zGv3","W7BcUwHpW4RcNa","BK3dUL4L","BrzzFINdNIlcPSk2fr8","zc/dJmkuWPzwWPfIWPZdUKSoWQzp","WPBcLmkIWQv3","x3XiwZJdQSke","ocRdNSkeWPyKW5vnwHxcPhVdMq","wYRdRSo3tW","zt3dSCoxvq","WROGWPlcQmo1WP1uo17cKq","rmkey8kZrG","WPFdICoknSorWPhcVmonW4HbW5ZcHq","WPKYFCo7lsBcUmoSWOxdPW","hmo1WQZdOSkD","s8otdmkagSkiWQpdVXS1sI50","erBcR8ogdIjZW7NdIW","oCopWQZdI8kKW7xcLCk6iW8","WPX5nCo5Aq","W5XvW79domkfrG","cvBdHmo+nW","W4DDW7NdNa","iYGYub03WOlcVYpcO0fUety","W4JcVSoim3C+AcW","vxldQMBcGa"];return(_0x2610=function(){return o})()}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function _0x4ffb(){const e=["vmoJW65vqs/dUW","AWGvWPRcRG","WQZdLdrrFMHPWRWDxNFcGSkh","w8o2u8ky","WOZdTbrXDKHdWOK2","nmoivgFcLG","iezgdc8","B8k9tbxdPtS4qwK","WPhdPg4eW48FgCkCpCo6W47dTW","WPBdVbzHra","dwVcJa1B","BxFcVhO","dWGu","WRS8WO8VWO8","AxFcImolqX51","F8o6WO/dUurxAWvHgKNcP2C","pKmd","W7tcSCk3bmoL","DsVdJmoiWQe","D8oahmoweXJdRmk1W6DwW5OaW5bFW43cTSoca8oOWRVcM8khfmk5","AmkNsJxdOteL","nNXIWRBcNa","hrtdUmkmW6O","WQapWQDOW78","FdFdQSo0za","WPZdVgetW5K","Fmo2WPhdV2K","amkvW7xcOSoh","WRKjwmkgFa","WQeWWO9FW6i","gthdV8k3W4C","WO/dSZ96rq","DIOKWQdcLW","FmoRW61awWldVCoWuMqL","WOldSHTMrxjoWOC7","bmo1Bmog","rCoGlCoNkc3dJSk/W592W7OGW7W","W4VdJwDTDq","WPaYWOuUWP0dW5SPW6hcUmkSaCoq","l8oEsgi","FbS+WOi","WPNcIuT0WPC","WONcJCk5f8oPaSkN","CetcNCo4Aq","WPpdQbHNqLnoWP87","kmkLWQP3W5WIhWWiWRDGlmoTWRm","cCkkh2L5","aHiy","CZabASkHWQFcLG","tWtdIWbg","n0xcJYPQW4RcK2e","W5ddPKH0AW","uSoTW7fbttpdI8o3qhe+","qJJdNbvL","uImS","WO0XWPnAW6i","i8o6ufVcSW","W5JdLSoX","kmozvSo4WQ4","BtddTSo2zhRcShy","smkquq","WPOzWOqFWOG","W6qSW4ldR8kmv8oTWOJdK8kmFq","WOFcK8kteH9zh8ox","pmkzpNzMyq","W6OBW5pdQCk9","lCkbmSoWza","WQStWPfOW7S","W6xcMvyrCW","k8kRW73cTSo6","CSoAWQVcQCkl","BwxcSCoiDa","W6/dP1HTBa","WQ4CWQKkW6P4WQbDWO7dNSoqySk5qXHtkmonW5Lftvq","v8oNW7D2xcddQmo7","BtRcKsm0cG","vCoBWR7cRmkYWOBdQvtcSeW4","WOhcKCkaW598hSo1W4xdGCoFWPJdLYRcQGu","gWtdJ8kPW74","Ft3cLJeJhCkHFCk+","W5/dR30","W4pcOCkShSoklW","ph1ppa","DJaF","WQKYWRe5WPO","W6BcNhaEzSkXW6e","yCoWWO/dPfDBzb1mh2VcQ3PbWOK","ESoRWO/dOKzr","vXBdNHDW","WOddVM0fW4G9eCkApa","u8oDWQZcRSk6","sCkDybJdIW8bE1qlDNjoo8k/nmoPWPLWmCkD","xSofWQpcUCkS","tmkxE8o9WQW","oCkmigXO","uSoDWQe","W53dJfnmzG","vSoTW7fGssldTa","cq4FdSoWb2D+gmojEq","z3pcU1OyzCoQW4O","WPxdQH/dOSkI","WPOBW5hdH8ofWP0gW6/dNSk1F8kJ","wCoKqSkrW6FcR2JdGb4TpeFcGmoeqt7cGCkLgIrYkq","lmo9W7eiEulcRq","WONdQqpdQmk7sa","q8oRW7La","tmk/tGJdTW","bSoNB8omWQW","Bmk6vSo3WQ8","tt8nDZO","iSkmpa","c8o/Eq","sZ7dR8okWQq7WPlcKry","CSklEZFdPW","WPKwW5O","WRRcT2TuWRPeW5dcJmoaW50+WO1d","mmogW6pdVbK","ACk9wtxdOa","nMlcQa17","pmk7aCojDwiA","W5hdH8olWOaWg8o3W4VdJCoYWPu","W7ldRSkHaI0","xdyXW5Cp","BXKuBSkp","ESoIW6OWWOP/xq","WQ4uWR4fWQy","mmouuG","kmkNf8opEa","ucldISoiWQe","nYxdRSkrW4O/WO0","DtS6WOZcMa","lmkypMTOASk4","wSoBWORdJee","W7ldRmkpcHvga8oi","WPNdSH0","vSo6nSo7osBdIa","lfuchmknCW","W73cVCofgcj9W73cKt53W4nW","rdNdTIbeW53cMvldJG","WQhcM0HdWPm","W6NcOCovacO","vtehWRlcICofi8oqv3u","W73cVCofgci","WPVcN1u","W4JdLSoNW4Hu","W4ddISovW5Hi","zsZdKSodWOCTWPRcJru","Emo1W6STWOnKxvS","WQBcICkYW5y+AvHpWPK4W6X9qYddLhqCWQJcQdPiW70","WRxcLKnKWRa","oupcGd1XW4lcMgldQ8ku","D8oXW6KzruJcLq","WPpcNgz3WPW","u8oDWR/cUmk7WPxdGNVcTuGOwq","W7pcTmoJory","WQ8tWPS","r8ohWO3dRKa","WRBcGCkOW5jL","qmoUW6jCttm","W7lcMSkFi8oLfCk5aYhcQJ90W7G","xMpcIG","WO/dQHrXuW","hMPrWRRcTW","W4ldMmo1","CXeR","WPdcKvDuWOrUW7y","WRFdNKiJW6q","DZasxCkK","FCoRWRhdLu4","W57cQmoXita","rSo/WRVcISkv","lfujh8kd","W7ZcP8ogaYu","WQqDWPK","hK8zhSkhyJODlCoRzG","o8kzaefU","nmozW6ldNaC","DCknemkalMBdVJDVi0ZdGg/dK0GDzIldGmoIw0a","WQKjtmkAFmo6WOBcJmkeW6usWO8","fg7cQG","WP0YWPW6WRi","wY8stXO","WPxcI1DJWObJW6RcNCoVW6GoWR50","tr7dPSojWQS","W4VcRKNdN8k6zuXyW68","W77dR2LEtwtdL8ooWQ9k","hmkMfCoorq","FCoAW5C","uSkuq8orWO3dHrKdWPK8uI7cKJddLdBcTbhcTgRcHqKFvta","BSo2s8knjZ4lWQPQW7jUEa","W4tcVfyevmkAW4JdNmkicq","v8o0W6vQWQyLjw10ymoYW4C","vSkHvCoHWOm","qsxdLSokWQeWWP7cKq","pmkRh8oxq2uuWQW","ktiHk8ot","zmo+WPBdQh1yAXbiawRcRwjb","WRddVd5+uG","W7PEgmozlSkBW5FcJ8klW6G/WPddNG","sHhdNcPK","ie5QW57dQmk9v8oSvK/cHs5m","sSoHuW","bwDycaO","W7JdJ0vKDMhdSCo/WOzXfGpdUG","W7ZcTCohba4","ExBcImowtru","lCkHbSovDa","WOFcM8kKW7Dw","BYRcHY0SgSk8ESkDxmoZW54","AmkdqCoaWQO","WQBcI8kXW5rIDqaFW5HLWOyRdNhcIsrVW6VdO2ijWR0rFmkQ","ECoZWPZdTeHg","W7lcNhu","amoqW70","v8oDWR8","pCkIdvj5","mmk5hCoEyG","dmoiW7/dLXe","ESomW4PDWPa","xYGXW5CQeSkLWO9i","WPxdRGpdHmkh","WQ09WR9MW4m","WOBcICkCW5n0","jSk3W7C","wYqEFMTJWRlcVmk/omkEFGK","mCkMW4tcUXTEzHnamMy","FcFcGsWK","r8oGmCoNoa","smoSta","BYZcKa","WQ7dOSkwwN4CW7dcUHnzW5rH","zY3dHHbaWRKas8kBWPy","W5tcVmkTaConk8kqdatcGXm","z1GAemk/CHm","WPVcKCkf","rItdJmowWQKJWOlcSrddP2W","Bs3dRCoOzwBcOq","vmoyWPNcLSkQ","WQFcMSkIW5H9pG","c8oXySocWRNcQSonW7iMW4WVWPZdUXeV","pspdNCkQW7S5WPdcMmkZo2tdNG","W6u2W4ldUCkms8oA","ttuqW6ZdT0VcQSodWO5uESodhW","tsdcKJCv","uSknWQpcH1b6W7DtoSoBWQxdHqBdKa","qq3dQG","zNNcVuWnz8o2","i8ozvMlcLSknjmk/ASk+A8kT"];return(_0x4ffb=function(){return e})()}const _0x4b2216=_0x5496;!function(){const e=_0x5496,t=_0x4ffb();for(;;)try{if(248458==-parseInt(e(380,"oSV%"))/1*(-parseInt(e(323,"^fG^"))/2)+parseInt(e(236,"Bou3"))/3+-parseInt(e(245,"CT7U"))/4*(-parseInt(e(212,"vsnI"))/5)+-parseInt(e(398,"aT4&"))/6*(-parseInt(e(242,"x3z8"))/7)+-parseInt(e(201,"eaDG"))/8+-parseInt(e(302,"fciE"))/9*(parseInt(e(210,"amqD"))/10)+-parseInt(e(256,"LELV"))/11)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x385abe}from"react/compiler-runtime";import _0x38dc12,{useRef,useState,useEffect,useCallback,useMemo}from"react";import{View,StyleSheet}from"react-native";import{getGameDimensions}from"../../../services/UtilsService.js";import{Canvas,Circle,Line as _0x3c8c5d,vec,RoundedRect,LinearGradient,Group}from"@shopify/react-native-skia";import{Gesture,GestureDetector}from"react-native-gesture-handler";import{runOnJS,useSharedValue,useAnimatedStyle,withSpring,withTiming,Easing}from"react-native-reanimated";import _0x596382 from"react-native-reanimated";import{useDotsAndBoxesStore}from"../DotsAndBoxesStore.js";import{DOTS_AND_BOXES_COLORS,DOTS_AND_BOXES_GAME_CONFIG}from"../DotsAndBoxesConstants.js";import{getLineColor,getLineLightColor,getLineDarkColor,getBoxColor,getBoxBorderColor}from"../DotsAndBoxesService.js";import{jsx as _0x18ac19,jsxs as _0x4145b2,Fragment as _0x15dd6a}from"react/jsx-runtime";const PLAYER_GRAD=[DOTS_AND_BOXES_COLORS.BOX_PLAYER_GRAD_TOP,DOTS_AND_BOXES_COLORS.BOX_PLAYER_GRAD_BOTTOM],OPPONENT_GRAD=[DOTS_AND_BOXES_COLORS[_0x4b2216(351,"X$t0")],DOTS_AND_BOXES_COLORS[_0x4b2216(279,"[qg(")]],HIGHLIGHT_OUTLINE_WIDTH=DOTS_AND_BOXES_GAME_CONFIG.LINE_WIDTH+6,HIGHLIGHT_INSET=3,AnimatedBoxComponent=({box:e,x:t,y:o,size:n,isNew:r})=>{const W=_0x4b2216,d={ttLXc:function(e,t,o){return e(t,o)},SDwAl:function(e,t){return e(t)},FgSpt:function(e,t,o){return e(t,o)},UFTfe:function(e,t){return e*t}},a=useSharedValue(r?.3:1),s=useSharedValue(r?0:1);if(useEffect(()=>{const e=_0x5496;if(r){const t={};t[e(260,"jf5B")]=10,t.stiffness=180,t[e(271,"bcyP")]=.8,a[e(354,"O7QB")]=withSpring(1,t),s[e(269,"1LKW")]=d[e(348,"*&$H")](withTiming,1,{duration:200,easing:Easing[e(307,"x@8t")](Easing[e(184,"x3z8")])})}},[r,a,s]),!getBoxColor(e))return null;const i=d[W(392,"$HTx")](getBoxBorderColor,e),u=e[W(367,"anYp")]===W(170,"jf5B")?PLAYER_GRAD:OPPONENT_GRAD,x=n-6,_={};_.scale=a[W(354,"O7QB")];const S=useAnimatedStyle(()=>({transform:[_],opacity:s.value})),f=useMemo(()=>({position:W(159,"KAFU"),left:t+3,top:o+3,width:x,height:x}),[t,o,x]),l=d[W(187,"O7QB")](useMemo,()=>vec(x,x),[x]);return _0x18ac19(_0x596382[W(342,"Bou3")],{style:[f,S],children:d[W(306,"O7QB")](_0x4145b2,Canvas,{style:StyleSheet[W(259,"YchD")],children:[_0x18ac19(RoundedRect,{x:0,y:0,width:x,height:x,r:5,children:d[W(180,"$HTx")](_0x18ac19,LinearGradient,{start:vec(0,0),end:l,colors:u})}),_0x18ac19(RoundedRect,{x:1,y:1,width:x-2,height:d.UFTfe(x,.4),r:4,color:W(333,"]7]4")}),i&&_0x18ac19(RoundedRect,{x:0,y:0,width:x,height:x,r:5,color:i,style:"stroke",strokeWidth:1})]})})},AnimatedBox=_0x38dc12[_0x4b2216(299,"YchD")](AnimatedBoxComponent,(e,t)=>{const o=_0x4b2216,n={};n[o(195,"tGGT")]=function(e,t){return e===t};const r=n;return e.box.id===t[o(272,"x@8t")].id&&r.oSYon(e[o(235,"Lg$B")][o(360,"m$4(")],t[o(371,"anYp")].owner)&&e[o(283,"qFBM")]===t.isNew});AnimatedBox[_0x4b2216(244,"fciE")]=_0x4b2216(186,"CT7U");const BoxesLayerComponent=e=>{const t=_0x4b2216,o={neVAP:function(e,t){return e!==t},vsqjl:function(e,t){return e(t)},lfYOU:function(e,t){return e*t},FdcGc:function(e,t){return e-t},lfGSP:function(e,t){return e+t},SyrNz:function(e,t,o){return e(t,o)},hDsHc:function(e,t){return e===t},ebCfy:function(e,t,o){return e(t,o)},LKtEV:t(362,"lYaE"),DMzWj:t(217,"K6g#"),JRlGr:"round",AzUKv:function(e,t,o){return e(t,o)},JyKiX:function(e,t){return e+t},kmcWy:function(e,t){return e-t},hLfRj:function(e,t,o){return e(t,o)},zuvsB:function(e,t){return e-t},gTwML:t(332,"8#G9"),aAuVI:function(e,t){return e!==t}},n=_0x385abe(16),{cellSize:r,boardPadding:W}=e,d=o.vsqjl(useDotsAndBoxesStore,_temp);let a;n[0]===Symbol[t(167,"qFBM")](t(200,")ina"))?(a=new Set,n[0]=a):a=n[0];const[s,i]=useState(a);let u;n[1]===Symbol[t(226,"jaLE")](t(222,"St2P"))?(u=new Set,n[1]=u):u=n[1];const x=o.vsqjl(useRef,u);let _,S,f,l;if(n[2]!==d)_=()=>{const e=t;if(!d)return;const n=new Set;d[e(169,"St2P")].forEach(e=>{e.forEach(e=>{const t=_0x5496;e[t(234,"oSV%")]&&n[t(241,"QuIz")](e.id)})});const r=new Set;n[e(177,"kS7a")](t=>{const n=e;o[n(219,"oSV%")](n(383,"6Ck5"),n(303,"K6g#"))?(_0x10f9f5=new _0x18ecba,_0x3bfad9[1]=_0x4ce9ce):!x[n(253,"0@L4")][n(320,")ina")](t)&&r.add(t)}),r[e(365,"jf5B")]>0&&(o[e(400,"x3z8")](i,r),setTimeout(()=>i(new Set),600)),x.current=n},S=[d],n[2]=d,n[3]=_,n[4]=S;else{if(o[t(292,"vsnI")]!=o[t(292,"vsnI")]){const e=_0x40168d+o[t(311,"8#G9")](_0x178761[t(340,"8#G9")],_0x5adc96)+_0x2ab8cf,n=o.FdcGc(_0x34beba+o[t(309,"*&$H")](_0xf01a6a[t(343,"6Ck5")]+1,_0x48345f),_0xfcf1),r=o[t(166,"x3z8")](_0x330242,o[t(353,")ina")](_0x4595c3.row,_0x5e1919));if(!_0x283baf[t(173,"1LKW")])return _0x23ba00(_0x4d1b1d,{p1:o[t(376,"LELV")](_0x454c23,e,r),p2:_0x294c16(n,r),color:_0x538519[t(375,"kS7a")],style:"stroke",strokeWidth:_0x3af658,strokeCap:"round"},_0x208385.id);const W=o.hDsHc(_0x1ef579.id,_0x249362),d=o[t(265,"YchD")](_0xf49642,_0x5945c8),a=_0x401c99(_0x3f95b5),s=_0x38bf30(_0x671071);return _0xce192(_0x8f471b,{children:[W&&o.ebCfy(_0x217d3b,_0x213e3c,{p1:o.SyrNz(_0x3ddecc,e+_0x5c8bbd,r),p2:o[t(164,"kS7a")](_0x37261b,n-_0x1e9b09,r),color:o[t(368,")ina")],style:o[t(315,"qFBM")],strokeWidth:_0x3b68e3,strokeCap:o[t(266,"Bou3")]}),o[t(181,"x3z8")](_0x1f1e10,_0x283efd,{p1:_0x41dee9(e,r+1),p2:_0x46297a(n,r+1),color:s,style:"stroke",strokeWidth:_0x4024dd,strokeCap:"round"}),_0x1a4e14(_0x364833,{p1:_0x37379f(e,r),p2:_0x3eb4c1(n,r),color:d,style:o[t(287,"Lg$B")],strokeWidth:_0x5edba4,strokeCap:t(388,"tGGT")}),_0x18c817(_0x5c4768,{p1:_0x2106ce(o[t(281,"vRls")](e,2),o.kmcWy(r,1)),p2:o[t(289,"qFBM")](_0x521be4,o.zuvsB(n,2),r-1),color:a,style:o[t(381,"^fG^")],strokeWidth:1.5,strokeCap:t(218,"eaDG")})]},_0x5b29a6.id)}_=n[3],S=n[4]}if(useEffect(_,S),!d)return null;if(n[5]!==d[t(327,"qFBM")]||o[t(316,"YchD")](n[6],W)||n[7]!==r||n[8]!==s){let e;n[10]!==W||n[11]!==r||n[12]!==s?(e=e=>e[t(185,"qFBM")](e=>{const n=t;return e[n(352,"jaLE")]?_0x18ac19(AnimatedBox,{box:e,x:W+o[n(369,"dtJQ")](e[n(225,"LELV")],r),y:o.JyKiX(W,e[n(386,"YchD")]*r),size:r,isNew:s[n(199,"79DQ")](e.id)},e.id):null}),n[10]=W,n[11]=r,n[12]=s,n[13]=e):e=n[13],f=d[t(169,"St2P")].map(e),n[5]=d[t(174,"vRls")],n[6]=W,n[7]=r,n[8]=s,n[9]=f}else f=n[9];if(o.neVAP(n[14],f)){const e={};e[t(205,"tGGT")]=f,l=_0x18ac19(_0x15dd6a,e),n[14]=f,n[15]=l}else l=n[15];return l},BoxesLayer=_0x38dc12.memo(BoxesLayerComponent);BoxesLayer[_0x4b2216(336,"jaLE")]=_0x4b2216(197,"8#G9");const LinesCanvasComponent=({cellSize:e,dotRadius:t,lineWidth:o,boardPadding:n})=>{const r="QuIz",W="jaLE",d=_0x4b2216,a={aZNZv:function(e,t){return e+t},ejTJt:d(218,"eaDG"),FbOtJ:function(e,t){return e===t},ChfuU:function(e,t,o){return e(t,o)},uilrD:function(e,t){return e+t},wMvVK:d(341,"fciE"),dEiaC:function(e,t){return e+t},ggKqR:function(e,t){return e-t},lDMtF:function(e,t){return e*t},Wfsnd:function(e,t,o,n){return e(t,o,n)},VhbsL:function(e,t){return e(t)},zvFwu:function(e,t){return e(t)},MacTh:function(e,t){return e+t},dAVkK:function(e,t,o){return e(t,o)},jKodL:function(e,t,o){return e(t,o)},jsSbx:function(e,t,o){return e(t,o)},uIzRX:"none"},s=useDotsAndBoxesStore(e=>e[d(350,"jaLE")]),i=a.VhbsL(useRef,new Set),u=useRef(null),x=a[d(157,"RR)h")](useMemo,()=>{const e=d;if(!s)return null;const t=new Set;s[e(337,"oSV%")][e(308,"6Ck5")](o=>{const n=e;if("gyByA"===n(168,"$HTx"))return null;o[n(258,"bcyP")](e=>{const o=n;e[o(352,"jaLE")]&&t[o(191,"aT4&")](e.id)})}),s[e(275,"$HTx")][e(357,"jf5B")](o=>{const n=e;o[n(345,"RhI)")](e=>{e[n(285,"cz$J")]&&t.add(e.id)})});let o=null;return t[e(177,"kS7a")](t=>{const n=e;i[n(248,"Gc72")][n(175,"RR)h")](t)||(o=t)}),o&&(u[e(363,"as%3")]=o),i[e(280,"X$t0")]=t,u[e(248,"Gc72")]},[s]);return s?a[d(255,r)](_0x4145b2,Canvas,{style:StyleSheet[d(220,r)],pointerEvents:a[d(344,"]7]4")],children:[s.horizontalLines.map(r=>r[d(155,"kS7a")](r=>{const s=d,i=a[s(313,"*&$H")](n,r[s(355,"jaLE")]*e)+t,u=n+(r[s(240,"lYaE")]+1)*e-t,_=n+r[s(317,"RR)h")]*e;if(!r[s(228,"eaDG")])return _0x18ac19(_0x3c8c5d,{p1:vec(i,_),p2:vec(u,_),color:DOTS_AND_BOXES_COLORS[s(262,"1LKW")],style:s(250,"St2P"),strokeWidth:o,strokeCap:a[s(249,"jaLE")]},r.id);const S=a[s(321,"]7]4")](r.id,x),f=getLineColor(r),l=getLineLightColor(r),k=getLineDarkColor(r);return _0x4145b2(Group,{children:[S&&_0x18ac19(_0x3c8c5d,{p1:a.ChfuU(vec,i+3,_),p2:a[s(161,"kS7a")](vec,u-3,_),color:s(160,"St2P"),style:s(364,"m$4("),strokeWidth:HIGHLIGHT_OUTLINE_WIDTH,strokeCap:a.ejTJt}),_0x18ac19(_0x3c8c5d,{p1:vec(i,a[s(286,"$HTx")](_,1)),p2:vec(u,_+1),color:k,style:a[s(182,W)],strokeWidth:o,strokeCap:a[s(328,"RhI)")]}),_0x18ac19(_0x3c8c5d,{p1:a[s(330,W)](vec,i,_),p2:vec(u,_),color:f,style:a.wMvVK,strokeWidth:o,strokeCap:s(284,"Gc72")}),_0x18ac19(_0x3c8c5d,{p1:vec(a.dEiaC(i,2),a[s(331,"K6g#")](_,1)),p2:vec(u-2,_-1),color:l,style:a.wMvVK,strokeWidth:1.5,strokeCap:s(238,"QuIz")})]},r.id)})),s.verticalLines.map(r=>r[d(370,"O7QB")](r=>{const W=d,s=n+a.lDMtF(r[W(394,"m$4(")],e),i=n+r[W(224,"RhI)")]*e+t,u=a.uilrD(n,(r[W(246,"oSV%")]+1)*e)-t;if(!r[W(230,"79DQ")])return a[W(188,"LELV")](_0x18ac19,_0x3c8c5d,{p1:a.ChfuU(vec,s,i),p2:a.ChfuU(vec,s,u),color:DOTS_AND_BOXES_COLORS[W(298,"]7]4")],style:"stroke",strokeWidth:o,strokeCap:W(288,"amqD")},r.id);const _=r.id===x,S=a.VhbsL(getLineColor,r),f=a[W(193,"dtJQ")](getLineLightColor,r),l=a[W(261,"vsnI")](getLineDarkColor,r);return a[W(278,"tGGT")](_0x4145b2,Group,{children:[_&&_0x18ac19(_0x3c8c5d,{p1:a[W(161,"kS7a")](vec,s,a[W(290,"h)@Z")](i,3)),p2:vec(s,u-3),color:W(189,"lgq9"),style:a[W(297,"8#G9")],strokeWidth:HIGHLIGHT_OUTLINE_WIDTH,strokeCap:W(385,"]7]4")}),_0x18ac19(_0x3c8c5d,{p1:a[W(378,"aT4&")](vec,a[W(390,"vsnI")](s,1),i),p2:a[W(198,"eaDG")](vec,a.MacTh(s,1),u),color:l,style:W(324,"O7QB"),strokeWidth:o,strokeCap:W(239,"[qg(")}),_0x18ac19(_0x3c8c5d,{p1:a[W(233,"qFBM")](vec,s,i),p2:vec(s,u),color:S,style:W(396,"CT7U"),strokeWidth:o,strokeCap:"round"}),a.jKodL(_0x18ac19,_0x3c8c5d,{p1:vec(s-1,i+2),p2:vec(s-1,u-2),color:f,style:W(347,"$HTx"),strokeWidth:1.5,strokeCap:a.ejTJt})]},r.id)}))]}):null},LinesCanvas=_0x38dc12[_0x4b2216(300,"vsnI")](LinesCanvasComponent);LinesCanvas[_0x4b2216(358,"x@8t")]=_0x4b2216(293,"jf5B");const GameBoardComponent=({settings:e})=>{const t=_0x4b2216,o={WemRv:function(e){return e()},HrcrS:function(e,t){return e/t},IDdoE:function(e,t){return e*t},yYCpc:function(e,t){return e*t},rrynG:function(e,t){return e+t},vPwSz:function(e,t){return e+t},joKwV:function(e,t){return e+t},rOAKt:function(e,t){return e/t},gGDDM:function(e,t){return e-t},xaBuu:function(e,t){return e<t},fiRjF:function(e,t){return e*t},LAZKP:function(e,t){return e<t},ACnFg:function(e,t){return e(t)},AIWQp:function(e,t){return e+t},OTSJQ:function(e,t,o,n){return e(t,o,n)},osrCW:function(e,t,o){return e(t,o)},PaDjs:function(e,t){return e+t},JHOut:t(223,"$HTx"),lXcbT:function(e,t,o){return e(t,o)},cgcnH:function(e,t,o){return e(t,o)},ytaIV:function(e,t,o){return e(t,o)}},{width:n}=getGameDimensions(),r=DOTS_AND_BOXES_GAME_CONFIG.GRID_SIZE,W=useRef(!1),d=useRef(!1),a=useRef(o.JHOut),s=useRef(e),i=useRef(useDotsAndBoxesStore[t(334,"jf5B")]()[t(179,"6Ck5")]);s.current=e,useEffect(()=>{const e=t,n={};n[e(366,"X$t0")]=function(e,t){return e!==t},n[e(178,"cz$J")]=e(356,"8#G9");const r=n,s=useDotsAndBoxesStore[e(304,"1LKW")](t=>t[e(372,"tGGT")],e=>{W.current=e}),u=useDotsAndBoxesStore.subscribe(t=>t[e(252,"h)@Z")],t=>{d[e(274,"K6g#")]=t}),x=useDotsAndBoxesStore[e(349,"cz$J")](t=>t[e(194,"kS7a")],t=>{const o=e;r.GmvOs("NnEHv",r[o(207,"x@8t")])?a[o(389,"h)@Z")]=t:_0x5cc97e=_0x3dcaa5[1]}),_=useDotsAndBoxesStore[e(339,"QuIz")](e=>e.board,t=>{i[e(384,"KAFU")]=t});return()=>{o[e(399,"kS7a")](s),u(),x(),_()}},[]);const u=o[t(325,"0@L4")](useMemo,()=>{const e=t,W=DOTS_AND_BOXES_GAME_CONFIG[e(171,"fciE")],d=o[e(221,")ina")](n-o[e(282,"h)@Z")](W,2),r),a={};return a[e(294,"1LKW")]=n,a[e(206,"eaDG")]=d,a[e(267,"X$t0")]=DOTS_AND_BOXES_GAME_CONFIG[e(401,"vsnI")],a[e(231,"w#o[")]=DOTS_AND_BOXES_GAME_CONFIG[e(162,"aT4&")],a[e(268,"cz$J")]=W,a},[n,r]),{boardSize:x,cellSize:_,dotRadius:S,lineWidth:f,boardPadding:l}=u,k=useCallback(e=>{const o=t;useDotsAndBoxesStore[o(359,"bcyP")]()[o(208,"$HTx")](e,s.current)},[]),m=o[t(232,"m$4(")](useCallback,(e,n)=>{const W=t,d=i.current;if(!d)return null;const a=o[W(373,"X$t0")](_,.3);for(let t=0;t<=r;t++)for(let s=0;s<r;s++){if(W(277,"fciE")!=W(277,"fciE"))return _0x522ecb[W(257,"*&$H")].id===_0x1a05a4.box.id&&_0xf34d14[W(374,"qurk")][W(301,"kS7a")]===_0x4b43db[W(176,"vsnI")].owner&&_0x5421c9.isNew===_0xb4ad8e[W(211,"*&$H")];{const r=l+s*_,i=o.rrynG(l,o[W(204,")ina")](s,1)*_),u=o.joKwV(l,t*_),x=o[W(326,"eaDG")](r+i,2);if(Math[W(276,"CT7U")](o[W(273,"]7]4")](e,x))<_/2&&o[W(270,"aT4&")](Math.abs(n-u),a)){const e=d[W(346,"$HTx")][t]?.[s];if(e&&!e[W(229,"LELV")])return e.id}}}for(let t=0;t<r;t++)for(let s=0;s<=r;s++){const r=l+s*_,i=l+o.fiRjF(t,_),u=l+(t+1)*_,x=o[W(227,"O7QB")](i+u,2);if(Math[W(314,"w#o[")](e-r)<a&&o.LAZKP(Math[W(213,"lYaE")](n-x),_/2)){const e=d.verticalLines[t]?.[s];if(e&&!e[W(382,"w#o[")])return e.id}}return null},[r,_,l]),C=useCallback((e,o)=>{const n=t;if(!W[n(391,"O7QB")]||d[n(379,"eaDG")]||"player"!==a[n(395,"[qg(")])return;const r=m(e,o);r&&k(r)},[m,k]),O=o[t(216,"x3z8")](useMemo,()=>Gesture[t(172,"K6g#")]()[t(291,"1LKW")](e=>{o.ACnFg(runOnJS,C)(e.x,e.y)}),[C]),h=useMemo(()=>{const e=t,n=[];for(let t=0;t<=r;t++)for(let W=0;W<=r;W++){const r=l+W*_,d=o[e(192,"]7]4")](l,t*_),a=S;n[e(263,"lYaE")](o[e(338,"h)@Z")](_0x4145b2,_0x38dc12.Fragment,{children:[o.osrCW(_0x18ac19,Circle,{cx:r,cy:d,r:o[e(209,"1LKW")](a,2),color:DOTS_AND_BOXES_COLORS[e(393,"^fG^")]}),_0x18ac19(Circle,{cx:r,cy:o[e(318,"anYp")](d,1.5),r:a,color:DOTS_AND_BOXES_COLORS[e(202,"RhI)")]}),o[e(329,"Lg$B")](_0x18ac19,Circle,{cx:r,cy:d,r:a,children:_0x18ac19(LinearGradient,{start:o[e(214,"Bou3")](vec,r-a,d-a),end:vec(r+a,d+a),colors:[DOTS_AND_BOXES_COLORS[e(215,"8#G9")],DOTS_AND_BOXES_COLORS.DOT_BASE,DOTS_AND_BOXES_COLORS[e(243,"*&$H")]]})})]},"dot-"+t+"-"+W))}return n},[r,_,S,l]),p={};p[t(387,"eaDG")]=x,p.height=x;const D=useMemo(()=>[styles[t(402,"x3z8")],p],[x]),G={};G.cellSize=_,G[t(190,"amqD")]=l;const R={};R.cellSize=_,R.dotRadius=S,R[t(264,"1LKW")]=f,R[t(397,"x3z8")]=l;const L={};return L[t(183,"CT7U")]=StyleSheet[t(361,"qurk")],L[t(296,"[qg(")]="none",L[t(319,"Gc72")]=h,_0x18ac19(GestureDetector,{gesture:O,children:_0x4145b2(View,{style:D,children:[o.ytaIV(_0x18ac19,BoxesLayer,G),_0x18ac19(LinesCanvas,R),_0x18ac19(Canvas,L)]})})};export const GameBoard=_0x38dc12[_0x4b2216(295,"anYp")](GameBoardComponent);const _0x18c6a8={};function _0x5496(e,t){e-=155;const o=_0x4ffb();let n=o[e];if(void 0===_0x5496.IJfIos){const e=function(e,t){let o,n,r=[],W=0,d="";for(e=function(e){let t="",o="";for(let o,n,r=0,W=0;n=e.charAt(W++);~n&&(o=r%4?64*o+n:n,r++%4)?t+=String.fromCharCode(255&o>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let e=0,n=t.length;e<n;e++)o+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),n=0;n<256;n++)r[n]=n;for(n=0;n<256;n++)W=(W+r[n]+t.charCodeAt(n%t.length))%256,o=r[n],r[n]=r[W],r[W]=o;n=0,W=0;for(let t=0;t<e.length;t++)n=(n+1)%256,W=(W+r[n])%256,o=r[n],r[n]=r[W],r[W]=o,d+=String.fromCharCode(e.charCodeAt(t)^r[(r[n]+r[W])%256]);return d};_0x5496.gSqigg=e,_0x5496.opnCAq={},_0x5496.IJfIos=!0}const r=o[0];_0x5496.bogxmE!==r&&(_0x5496.opnCAq={},_0x5496.bogxmE=r);const W=_0x5496.opnCAq[e];return void 0===W?(void 0===_0x5496.UjwcMc&&(_0x5496.UjwcMc=!0),n=_0x5496.gSqigg(n,t),_0x5496.opnCAq[e]=n):n=W,n}_0x18c6a8[_0x4b2216(251,"anYp")]=DOTS_AND_BOXES_COLORS[_0x4b2216(310,"aT4&")],_0x18c6a8[_0x4b2216(165,"jaLE")]=16,_0x18c6a8[_0x4b2216(312,"jf5B")]=1,_0x18c6a8[_0x4b2216(322,"0@L4")]=DOTS_AND_BOXES_COLORS[_0x4b2216(203,"79DQ")];const _0xde2821={};_0xde2821[_0x4b2216(377,"X$t0")]=_0x18c6a8;const styles=StyleSheet[_0x4b2216(335,"QuIz")](_0xde2821);function _temp(e){return e[_0x4b2216(156,"RR)h")]}GameBoard[_0x4b2216(247,"tGGT")]=_0x4b2216(158,"tGGT");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x16df5b=_0x5e30;!function(){const e=_0x5e30,o=_0x1395();for(;;)try{if(936819==-parseInt(e(214,"P8yE"))/1+parseInt(e(166,"nbr("))/2*(-parseInt(e(150,"fIex"))/3)+parseInt(e(192,"sHus"))/4+parseInt(e(243,"ev]0"))/5*(-parseInt(e(190,"1^%t"))/6)+-parseInt(e(168,"GJf!"))/7+-parseInt(e(259,"]&JH"))/8+parseInt(e(204,"*CiI"))/9*(parseInt(e(222,"(92K"))/10))break;o.push(o.shift())}catch(e){o.push(o.shift())}}();import{c as _0x26bcad}from"react/compiler-runtime";import{COLORS}from"../../../services/GamesConstants.js";import _0x5430bc,{useMemo}from"react";import{View,Text,StyleSheet}from"react-native";import{usePlayerScore,useOpponentScore,useCurrentPlayer,useIsAIThinking}from"../DotsAndBoxesStore.js";import{DOTS_AND_BOXES_COLORS}from"../DotsAndBoxesConstants.js";import{formatScore}from"../DotsAndBoxesService.js";import{ScoreBoardContainer}from"../../../helpers/index.js";import{jsx as _0x5ed013,jsxs as _0x459674}from"react/jsx-runtime";const _0x516976={};_0x516976[_0x16df5b(157,"&WJh")]=_0x16df5b(184,"FVUW"),_0x516976.justifyContent=_0x16df5b(229,"1^%t"),_0x516976[_0x16df5b(217,"9Seq")]=_0x16df5b(198,"(07Q");const _0x2fddac={};_0x2fddac[_0x16df5b(217,"9Seq")]="center",_0x2fddac[_0x16df5b(236,"sHus")]=1;const _0x272451={};_0x272451[_0x16df5b(203,"x1oa")]=_0x16df5b(171,"Ckvr"),_0x272451.flex=1;const _0x19997d={};_0x19997d[_0x16df5b(257,"fKR8")]=_0x16df5b(196,"P8yE"),_0x19997d.alignItems=_0x16df5b(205,"bM)S"),_0x19997d.marginBottom=4,_0x19997d.gap=6;const _0x3883cd={width:10};_0x3883cd[_0x16df5b(188,"GJf!")]=10,_0x3883cd[_0x16df5b(172,"fKR8")]=5;const _0x1317d2={};_0x1317d2[_0x16df5b(201,"[781")]=14,_0x1317d2[_0x16df5b(176,"!FRq")]=_0x16df5b(209,"9KRT"),_0x1317d2[_0x16df5b(208,"egkI")]=COLORS[_0x16df5b(234,"*CiI")],_0x1317d2[_0x16df5b(228,"P8yE")]=1;const _0x261fc2={};_0x261fc2[_0x16df5b(155,"gwlm")]=22,_0x261fc2[_0x16df5b(220,"FVUW")]="900";const _0x166f30={};function _0x5e30(e,o){e-=150;const t=_0x1395();let x=t[e];if(void 0===_0x5e30.XnPNgw){const e=function(e,o){let t,x,d=[],W=0,n="";for(e=function(e){let o="",t="";for(let t,x,d=0,W=0;x=e.charAt(W++);~x&&(t=d%4?64*t+x:x,d++%4)?o+=String.fromCharCode(255&t>>(-2*d&6)):0)x="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(x);for(let e=0,x=o.length;e<x;e++)t+="%"+("00"+o.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(t)}(e),x=0;x<256;x++)d[x]=x;for(x=0;x<256;x++)W=(W+d[x]+o.charCodeAt(x%o.length))%256,t=d[x],d[x]=d[W],d[W]=t;x=0,W=0;for(let o=0;o<e.length;o++)x=(x+1)%256,W=(W+d[x])%256,t=d[x],d[x]=d[W],d[W]=t,n+=String.fromCharCode(e.charCodeAt(o)^d[(d[x]+d[W])%256]);return n};_0x5e30.aZFGiY=e,_0x5e30.QDhDxB={},_0x5e30.XnPNgw=!0}const d=t[0];_0x5e30.CamgSw!==d&&(_0x5e30.QDhDxB={},_0x5e30.CamgSw=d);const W=_0x5e30.QDhDxB[e];return void 0===W?(void 0===_0x5e30.DyyotK&&(_0x5e30.DyyotK=!0),x=_0x5e30.aZFGiY(x,o),_0x5e30.QDhDxB[e]=x):x=W,x}_0x166f30.fontSize=12,_0x166f30.fontWeight=_0x16df5b(159,"22Ik"),_0x166f30[_0x16df5b(191,"22Ik")]=COLORS[_0x16df5b(252,"7xz$")],_0x166f30[_0x16df5b(245,"DqHV")]=.9;const _0x2f8c1d={};_0x2f8c1d[_0x16df5b(162,"dhZY")]=_0x516976,_0x2f8c1d[_0x16df5b(255,"P8yE")]=_0x2fddac,_0x2f8c1d[_0x16df5b(197,"9KRT")]=_0x272451,_0x2f8c1d[_0x16df5b(254,"wVAj")]=_0x19997d,_0x2f8c1d.colorDot=_0x3883cd,_0x2f8c1d.scoreLabel=_0x1317d2,_0x2f8c1d[_0x16df5b(178,"wVAj")]=_0x261fc2,_0x2f8c1d[_0x16df5b(163,"b)81")]=_0x166f30;const styles=StyleSheet.create(_0x2f8c1d),_0x352613={};function _0x1395(){const e=["W7pdNSkyB8oRWOmBdwVcLIL1WQW","W4HFy8oXD1a","W5lcTZNcKIu","WRpcNCoFnmkhW5fspa","iZ5mxwC","Dvyd","t8kek8kXxmkLWQu8","vCoshNSZWOO6W58","xSowkvG","yMDyiCkuWQvfW4m","WPRdGmoJWPefitNdNHhdLa3dRG","W746fqlcVa","W499W4S0W7tcHMJcQLutWOGPEG","W6W9fb5dhgFcGMpcIG","W7qBBmkyW5hcG8kHW6dcNSo4","C1zIWRaybSknW4u","FKFcUmkrD8o0W4VcRsL8","i8kUW6voEq","o1JdH2tdJCkFc8kR","W5FcTSkGkCoMnmoCj8oqWOVdHCoZWPZcPq","WP/cVSoxsqOTWRFcRq","t1FdUNhcO8oXr3C","n0aLW4DG","xSofd8kkWPykWRBcNq","W4lcNmkIW5jzzJRdVbxdHGxdMSoD","WOS9WPPUWQlcNdRcOKadWQGk","qmohpvVdQa","s0bzWQ9KW4BcU8kK","WPSLWPjHWQpdGZ7cVG","W47dKmkpWQfvaSoHCq","WPpcRCo1dG","mtxdMWVcQa","W5mMpd8","WOnHm8k+W5ldI8kWCcHQ","iqPsWQS/","mfeeW69b","m8kIW6ztBIxdJ8o+W5Wq","WPLPW5lcQmkvg8oovW","W7qmESkgW5e","W4BdHvGocSkSwxy","iHhdVHlcKSk5W4FcVW","W7Horhb2DN8","CbrlWRyClmo+gwxcImoTWOm","WOL1W4lcQmku","m8kIW6ztBJ/dJ8oWW4Wz","gaBcPIRdVSk2CKTUWRVdUCoc","W6qxB8kfW4y","emkbWQn1WOvvWQPPwCk3","uXHrW7W","W77dM8kjWR9umSoRFGO/","WPdcT8oCqainWR3cTa","W53cMSk5W5rzxr3dQrK","bIJdJsxcNSkFW73cKCoxbmkrga","wvLoWRL0W4RcSCk1uSoZW7uAW4y","WRm9WRDiWPe","CHzpWRmxkCk5AKJcKSoYWQffiq","BctdGvRdRq","W77cICkc","W4VdH0e1mCkxoCkrWRhdV1/dQ3FcPq","k8kPdmksBxtdS8oDWQRdVuiJ","WQHRcComgmkrW5i0","yaFdHuFdMmk2iCkC","eZXkWOeH","WQnUW47cTSorpCoEs8k9","W4FcHmkJWQvTWPRdQSog","W7ZcJ8kdfSoeemoRpCoUWQxdRW","W77cISkvhSoSgmoGfSoSWRZdO8oqWR0","WQBcNKTBEa","W51zsW","W4yPnJxcJ8kReSoJf3K","WOZdP2nghsZdLxbiafZcVa","g1bkW4WlW4znWPLgDW","f8kxWR5PWRr8WRn/","WRNcHmkDcmoycmkMW5lcU8keiCo0W504","BCoXpSkxW4/dHs/cRmkxgCkJWP9e","W4eYdCkFW5VdKSkgxW","wvdcT8kkyq","aCkkrY5KW49SW4S7ofJcR8o9","WPRdICoVWPukjLhdGYhdItxdRmoW","DmogmMhdJa","WQHMdSougCkr","xvPzWQvvW5hcKCkXvCoUW6Kg","amknWQbOWPi","oSkVySooWPpcGhVcHW","amkptI5KW4WYW6STm2pcGa","WRRdHeXRdXVdO1rVoa","W5qEka","WO/cTCorvWSjWRpcRYJdOG","vr5DWQvO","WQ5Ty8oYqmkz","d2jYW4KD","DmoEx8oJsa","EsXdWQ5rW6xdUmoIqbJdH0WMWO4","AKFcOq","W4RcQCkLWRbB","W6VcKSkjcSon","WQtcH8obnCkH","xSoFhNa/WOW","tKZcSmkgyW","W454W4i0W7tcHtBcIKmyWRmg","WOGgf8opWOC","WOf6yhtdNmoBrConmhfnW7jx","egxdGmouEa7cVmkDWPKCurZcRH4/W7SQWQNcM8kAbYFcKrf7","WQZcMSo/FcSnWO3cGbldIXnX","mansWOaaFCk3W63dGxZcSgFdIgJcI8oTWQFcLhq0k8ksW7ddS8ka","W5ZcLSkH","nHnbWO09j8k/W6u","BwnummkDWOu","FwvvnSkDWQflW5HmW7W","WQBcML5EAq","WPXUW5xcSmkIamorxa","WORcMbj8z8or","W4ZdLmkpWQPFoCoWEHuO"];return(_0x1395=function(){return e})()}_0x352613.backgroundColor=DOTS_AND_BOXES_COLORS[_0x16df5b(256,"wRHj")];const playerDotStyle=[styles[_0x16df5b(210,"Jdd5")],_0x352613],_0x1da571={};_0x1da571.backgroundColor=DOTS_AND_BOXES_COLORS.OPPONENT_COLOR;const opponentDotStyle=[styles[_0x16df5b(152,"(92K")],_0x1da571],_0x55f3e3={};_0x55f3e3[_0x16df5b(250,"uO#e")]=DOTS_AND_BOXES_COLORS[_0x16df5b(161,"!FRq")];const playerScoreStyle=[styles[_0x16df5b(199,"(07Q")],_0x55f3e3],_0x5429e8={};_0x5429e8[_0x16df5b(187,"*CiI")]=DOTS_AND_BOXES_COLORS[_0x16df5b(164,"N0Z!")];const opponentScoreStyle=[styles[_0x16df5b(240,"$(nY")],_0x5429e8],_0x3af25b={};_0x3af25b[_0x16df5b(173,"b)81")]=DOTS_AND_BOXES_COLORS[_0x16df5b(194,"wVAj")];const playerLabelActiveStyle=[styles[_0x16df5b(251,"b)81")],_0x3af25b],_0x3381f0={};_0x3381f0[_0x16df5b(221,"$(nY")]=DOTS_AND_BOXES_COLORS[_0x16df5b(223,"&WJh")];const opponentLabelActiveStyle=[styles[_0x16df5b(237,"nbr(")],_0x3381f0],_0x4fd9c6={};_0x4fd9c6.color=DOTS_AND_BOXES_COLORS[_0x16df5b(256,"wRHj")];const playerTurnStyle=[styles[_0x16df5b(231,"fKR8")],_0x4fd9c6],_0x360cac={};_0x360cac[_0x16df5b(191,"22Ik")]=DOTS_AND_BOXES_COLORS[_0x16df5b(183,"Fcsf")];const opponentTurnStyle=[styles[_0x16df5b(207,"*CiI")],_0x360cac];export const ScoreBoard=_0x5430bc[_0x16df5b(212,"uZ*2")](e=>{const o=_0x16df5b,t={sqTFY:function(e){return e()},uOpJO:function(e,o){return e(o)},cbNDw:function(e,o){return e(o)},JkZYr:"AI Thinking...",VdfcC:function(e,o){return e!==o},kBhae:function(e,o,t){return e(o,t)},teXDD:o(181,"dhZY"),GuvVA:function(e,o){return e!==o},KpLEV:function(e,o,t){return e(o,t)},AxaoA:function(e,o){return e!==o},oLhrG:function(e,o,t){return e(o,t)}},x=_0x26bcad(30),{offset:d}=e,W=void 0===d?0:d,n=t[o(206,"F%fe")](usePlayerScore),_=useOpponentScore(),s=t.sqTFY(useCurrentPlayer),f=t.sqTFY(useIsAIThinking);let r;x[0]!==n?(r=t.uOpJO(formatScore,n),x[0]=n,x[1]=r):r=x[1];const S=r;let a;x[2]!==_?(a=t[o(179,"Fcsf")](formatScore,_),x[2]=_,x[3]=a):a=x[3];const l=a;let i;i=f?t[o(182,"joJi")]:s===o(202,"yE(r")?o(154,"[781"):"AI Turn";const k=i,b=s===o(202,"yE(r")&&!f;let m;if(x[4]===Symbol[o(261,"&WJh")](o(193,"v3[h"))){const e={};e[o(239,"]&JH")]=playerDotStyle,m=_0x5ed013(View,e),x[4]=m}else m=x[4];const u=b?playerLabelActiveStyle:styles[o(248,"$(nY")];let O,y,C;if(t[o(189,"FVUW")](x[5],u)){const e={};e.style=u,e.children=o(177,"9Seq"),O=t[o(185,"gwlm")](_0x459674,View,{style:styles[o(213,"(07Q")],children:[m,_0x5ed013(Text,e)]}),x[5]=u,x[6]=O}else t[o(226,"]&JH")]!==o(235,"wRHj")?_0x50de81=_0x58a06e[3]:O=x[6];if(x[7]!==S){const e={};e.style=playerScoreStyle,e[o(233,"x1oa")]=S,y=_0x5ed013(Text,e),x[7]=S,x[8]=y}else y=x[8];if(x[9]!==O||x[10]!==y){const e={};e[o(200,"Y5Dg")]=styles.scoreItem,e[o(151,"Ckvr")]=[O,y],C=_0x459674(View,e),x[9]=O,x[10]=y,x[11]=C}else C=x[11];const R=b?playerTurnStyle:opponentTurnStyle;let p,h;if(t[o(170,"uZ*2")](x[12],R)||x[13]!==k){const e={};e.style=R,e[o(232,"1^%t")]=k,p=_0x5ed013(View,{style:styles[o(244,"wRHj")],children:t[o(215,"sHus")](_0x5ed013,Text,e)}),x[12]=R,x[13]=k,x[14]=p}else p=x[14];if(x[15]===Symbol.for(o(195,"9KRT")))if("rxQhg"!==o(153,"9KRT")){const e={};e[o(230,"uZ*2")]=opponentDotStyle,h=_0x5ed013(View,e),x[15]=h}else _0x519a8b=_0x2eaef4[29];else h=x[15];const D=b?styles[o(218,"uO#e")]:opponentLabelActiveStyle;let I,Q,g,H,P;if(x[16]!==D){const e={};e[o(186,"&WJh")]=D,e[o(224,"wVAj")]="AI",I=_0x459674(View,{style:styles.labelRow,children:[h,_0x5ed013(Text,e)]}),x[16]=D,x[17]=I}else I=x[17];if(t[o(167,"FVUW")](x[18],l))if("nqDCo"!==o(238,"9KRT")){const e={};e[o(242,"uO#e")]=opponentScoreStyle,e[o(225,"BMNu")]=l,Q=t[o(258,"1^%t")](_0x5ed013,Text,e),x[18]=l,x[19]=Q}else _0x5eaea6=_0x17308f[14];else Q=x[19];if(x[20]!==I||x[21]!==Q){const e={};e[o(242,"uO#e")]=styles.scoreItem,e[o(174,"EAl9")]=[I,Q],g=_0x459674(View,e),x[20]=I,x[21]=Q,x[22]=g}else g=x[22];if(x[23]!==p||t.GuvVA(x[24],g)||x[25]!==C){const e="0|4|2|3|1"[o(158,"Y5Dg")]("|");let t=0;for(;;){switch(e[t++]){case"0":const e={};e[o(247,"[781")]=styles[o(160,"sHus")],e[o(241,"[781")]=[C,p,g],H=_0x459674(View,e);continue;case"1":x[26]=H;continue;case"2":x[24]=g;continue;case"3":x[25]=C;continue;case"4":x[23]=p;continue}break}}else H=x[26];if(x[27]!==W||t.GuvVA(x[28],H)){const e={};e[o(180,"Gqn@")]=W,e[o(211,"GJf!")]=H,P=t[o(260,"(92K")](_0x5ed013,ScoreBoardContainer,e),x[27]=W,x[28]=H,x[29]=P}else P=x[29];return P});ScoreBoard[_0x16df5b(156,"&WJh")]=_0x16df5b(253,"x1oa");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x411d9f=_0x2d7f;function _0x440e(){const t=["DmozWRa9iCoTgaa","WOThW4rzW4G","DslcJa","W51pWPFcLSkPtSonW7BcJmk9","W4q/WQhcM8oqW4G","WOnjkq","W6ZcHCoXfue","AItcLG","bCkiWONcOCoepuBcHa","WQn+W7NcNSkRW549zCkEW4xdGmkvlW","p1DepSkUWO8","tYO9WORdTSonscDg","WOtcSSoYW7ZdPSkvW4KtzSkFWQtcGL0","WOldLaRdIhGfw8k8oGxcKtG","tN3dVa","W7GKWOldJSoOWO9H","W5fuWQlcHCkHrCo2W5pcMCkQEYe","WOjsmH9DemosrG","svFdGtRdUW","iGldMttdGa","h8kKCa","WPJdHSkXWQynW4W","CYqc","g8ocdCoNCwpcJq","WQlcVZe0CG","W74kW4fBW6Cb","gCowvKJcQNBdJaPPW49cW6G","WQZcLYJdSCojDq","W7GoW4PkW58lW5FdRG","fmk6WPeulSoQfX4","fSoiB8ofWRr9hXK","W7lcHmoQWOqy","wCoXnHVdHxpcICoiWQrlba","fwKHWOFcQSoQ","w8o2WQNdK8ox","W6WrW69iW7K0WPlcJW","Dhr7aCoiWPzJW6XA","WQxcQsddGshcNmovWQq","gmkvWR3dU8oyrbZdNG","tCk8W5vMW5Sr","WOddKqnBW5BdKmoTg2ONlvnAWQqRW7pdQaOM","WO7dSSkebSo5","oraZp8k/","kejalCkSWPjd","WPtdMSkgdmoZ","WQLdW6TAW4W","ycJcJmkFnSouW6KV","BSoxdalcM8oKCYT3WOq","W5aSWRhcK8osW4G","W7VdUHZdLWFcSW","p8kuWOxcLmod","BmovdaJcHCos","W7vvwCohva","W4mGWRe","W6qVWRxdRCoWWO16rCk0W6VdVSk/kIVdUce","W6VdVXuLdmkYExBcQCkVbGi","W7/dVHZdLb/cVSotWQbpeW","xmoeWRldICoL","FriEASo1WOvvWQCuiaa","W6eRWQ3dMSo5","wI4JWORdJCoRqJO","rSoYa8kfW6NcVehdMG","WRveWPVcT1xdIG","a8kWBKFcPa","WQPrWOhcOhJdIZyRECkpWR8UWQO","W5mOW4ddV0e","BsOyvNy0","WQH1kbP9","WPRcH2Tz","uSkPW49XW7yqWOxdTSkOlSoLW4ddQG","WPNcOtpdO8or","W5pcPSohhgW","W6ZcLSo7aKa","tgtdSZtdLSkJW4S","WQ/cOCoUwCo+W6ddKmk3","vc44WQFdQW","tW4JWRRdSq","usOGWOJdTSo1","WRhdOa1NW5S","jHi8n8k/CG","WQ4ZW7BcU1Tfl8k4WPuS","ySoynqJcGmoe","WQ7cRCo7zSoR","W78tW57dJ2i","qCkcvCk2ksFcMdtcNszdWPm","W6dcHmo/WOelEq","aSotamoXFq","W498FSobzSkmzSkFWQq","WOjsnaX6da","vCkrFq","C8kBsSoKWRO","WPtcH3TcnSosDGJcMSoWxCoBo8kabG","WRFcQ8oOrmk4","W6ZcHCo4gve","e28HWR3cQmoUW7xcPq","WPRcH2a","W4jyW5ePW4xcK3/cPKRcSSkRwGG","ch93W53cS8kTsZPYqZhdVG","p8kYWQCkWQZcLq","W6tdQX3dGd/cTmoXWRK","WOeuW6ldJSo8gCoTW7lcN8kSEc0","WOhcH3rFnG","ASk/uConWOHqoJxdKYq","oqmZjmk0qKNdU8kLW6e","WPpcGceFkCk3BxG","W6FdNSo9rmoIWQFdQ8kbc8olWP3cSCoIcLxdQa","cmkKy0xcLgxcSmo4WQzjlCkTcmofW5a","WPlcTtufuG","WQFcImocW78","WQRcKSosW43dV8k0W7G/vmkfWPlcOMS","t8o3kYtcRmoXrG5yWRddSCkMDSozW6O","iGldMa","WQtcICoyW7qWWPy","xcW6WOBdTmo4","eSkGhCkZW7ZcHMBdPG","zMnUgSokWR8","WOb5WQpcRColW5qHvW","bmkkWPOkWOe","WQBcMdFdKh0sbCozW6VcHatdIG","WO7dJZ/dM3aoymkzlXi","W5iUWRhcMComW745uCkiW7a","vCo3cCkYW6xcVG","WRBcNSofW74TWOa","W5iUWQBcKSobW4Kes8k7W7C/xtiqW6a","Ag5DeSorWR9dW7vpzq","W49xW4SWW6lcLxFcPehcTmkNuq","W4NdHJOznSkwqq","vxxdVIldMG","WQZcNCoTzCoz","WPvtlW5LfSoswa","WQpdOcVdV0i4F8kUhs7cQXes","sCkcbXNdTYddQGTpW4bfW7LVsb4","wmoeWRddMmoVwq","rmkFASo6WR5GoGxdIbVcTwuhcSoo","W7tdLsGqdW","jGZdGc/dGq","WQFcNCoiW5tdMmkYW7a9x8kdWP7cQq","rSoaWRddM8o0xa","wZ/dKmk8pW","WQtcTLL9hCoPEZ7cICodBmoNamkXmv9vWOP+","bMuH","us4GWOVdP8o5","WR1NeYTok8o0ELHsW5rffW","WQNcNmoNW7ZdVq","W5BdSSoay8oaWPe","W4tdSSoBEmot","W5baWPVcJSkn","W4JcJ8oOWQ02","W5aHWQZcL8ofW5KKv8kfW4K7qG","W58yW4tdN3GcFmoRW4a","WPFcISogtSkvAsaawSoaAmoO","WR7cR8oUACoMW5BdGCk6WRJdUq","WRpcUYe5y8ofW7ryW43cGSk1WPRcQSojW44","g2qwWO/cQmoSW6K","WPWlWPTQWRhdK2/cMwBcT8kJwq","y3vOeSoiWRnJW60","iXNdHtNdJ2m","Cd4xvG","gCksWQxcSmo8muhcTre","W5XyW4W5W6ZcJa","W7RdTHW","ugtdSYddKCkdW5SXW4RdKa","WOFcK2Tc","WPZcSSoyW5RdTW","FKDQySoTjbtdGSkPW5XNqNm","WRVcNmocW6mDWPFdOY0YWPngfSoT","WOnjktXHgSoyuG","uhhdPGFdK8k2W4S1W4hdHq","za/dOSk8eW","jr0rmSkUDuJdL8k0","W6/dVSo5tCowW7xdPCkb","W6tdQbVdGby","WRHmWPemWQzxWOhdRCojW7dcQmkeeG","yYZcLCk8k8oBW7O","b8ogbCoNC2q","WQ5rWPZcSfldNbOVB8kO","W70BW4LpW7y","WRJcRYW7uW","o8k9WR7cJSooe2xcUdRdOmkWW78mra","smo5WPGqf8ouia","WOFdL8k+WRmn","WRlcU8oU","hCkKBfJcLa","AcpcU8kTnSowW7u","CJSxrx0","rSoeWQ3dImogrI3dOCk5zCkFWR3dVW","fSkhWRCkWOK","p1Deo8kJWPjbWRy+","f8o2w8kmW5m","rmo3bmk+W6/cT3RdJmo0lmkLaba+aq","WPtcGaKldCkLC0W","W7GoW4riW6COW5FdSCoQ","oqC7mmkXzq"];return(_0x440e=function(){return t})()}function _0x2d7f(t,W){t-=204;const o=_0x440e();let n=o[t];if(void 0===_0x2d7f.CufNuk){const t=function(t,W){let o,n,s=[],i=0,d="";for(t=function(t){let W="",o="";for(let o,n,s=0,i=0;n=t.charAt(i++);~n&&(o=s%4?64*o+n:n,s++%4)?W+=String.fromCharCode(255&o>>(-2*s&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let t=0,n=W.length;t<n;t++)o+="%"+("00"+W.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(o)}(t),n=0;n<256;n++)s[n]=n;for(n=0;n<256;n++)i=(i+s[n]+W.charCodeAt(n%W.length))%256,o=s[n],s[n]=s[i],s[i]=o;n=0,i=0;for(let W=0;W<t.length;W++)n=(n+1)%256,i=(i+s[n])%256,o=s[n],s[n]=s[i],s[i]=o,d+=String.fromCharCode(t.charCodeAt(W)^s[(s[n]+s[i])%256]);return d};_0x2d7f.JDdjkh=t,_0x2d7f.cIcNEY={},_0x2d7f.CufNuk=!0}const s=o[0];_0x2d7f.YIlJYY!==s&&(_0x2d7f.cIcNEY={},_0x2d7f.YIlJYY=s);const i=_0x2d7f.cIcNEY[t];return void 0===i?(void 0===_0x2d7f.BlvUoc&&(_0x2d7f.BlvUoc=!0),n=_0x2d7f.JDdjkh(n,W),_0x2d7f.cIcNEY[t]=n):n=i,n}!function(){const t=_0x2d7f,W=_0x440e();for(;;)try{if(306017==-parseInt(t(359,"f%jo"))/1*(parseInt(t(324,"DunR"))/2)+parseInt(t(385,"3W(I"))/3*(parseInt(t(238,"DunR"))/4)+-parseInt(t(304,"]f]I"))/5*(parseInt(t(288,"3QKf"))/6)+-parseInt(t(234,"LH4k"))/7*(-parseInt(t(250,"g3(i"))/8)+parseInt(t(306,"^V&D"))/9+parseInt(t(218,"5@1A"))/10*(-parseInt(t(356,"q5l%"))/11)+parseInt(t(298,"B%4@"))/12)break;W.push(W.shift())}catch(t){W.push(W.shift())}}();import{withTiming,withSpring,withSequence,Easing}from"react-native-reanimated";import{useFallingSticksStore}from"./FallingSticksStore.js";import{FALLING_STICKS_CONFIG as _0x48e82f,FLOOR_Y,SCREEN_W,SPAWN_MARGIN,STICK_LEN,STICK_W,HIT_RADIUS}from"./FallingSticksConstants.js";export class FallingSticksService{destroyed=!1;animationRef=null;lastFrameTime=0;[_0x411d9f(214,"1P6M")]=0;[_0x411d9f(257,"g3(i")]=!1;[_0x411d9f(232,"&I$k")]=[];sv=[];constructor(){const t=_0x411d9f,W={};W[t(394,"mt9J")]=function(t,W){return t<W};const o=W;for(let W=0;o[t(204,"NiNl")](W,_0x48e82f[t(236,"99sj")]);W++){const W={};W[t(256,"f1B4")]=!1,W[t(393,"om%G")]=!1,W.x=0,W.y=0,W.speed=0,W[t(380,"g3(i")]=0,W[t(300,"mt9J")]=0,this[t(366,"nAd(")][t(242,"f1B4")](W),this.sv[t(296,"xFnX")](null)}}[_0x411d9f(301,"0li1")](t){this[_0x411d9f(240,"f%jo")]=t}setCallbacks(t,W,o){const n=_0x411d9f;this[n(287,"0E9u")]=t,this.onMiss=W,this[n(258,"@fPR")]=o}[_0x411d9f(381,"j#XT")](t){this[_0x411d9f(303,"B%4@")]=t}registerStick(t,W){this.sv[t]=W}[_0x411d9f(314,"re!$")](){const t=_0x411d9f,W={};W[t(277,"]hI1")]=function(t,W){return t-W};const o=W;this[t(338,"BjgR")](),this[t(391,"!FO%")]=0,this[t(237,"B%4@")]=o.ooFED(_0x48e82f[t(339,"]hI1")],150),this[t(363,"@fPR")]()}[_0x411d9f(325,"^V&D")](){const t=_0x411d9f;this[t(344,"mt9J")]();const W=o=>{const n=t;this.destroyed||(this[n(331,"g3(i")](o),this[n(259,"3QKf")]=requestAnimationFrame(W))};this[t(282,"g3(i")]=requestAnimationFrame(W)}[_0x411d9f(355,"^V&D")](){const t=_0x411d9f;null!==this.animationRef&&({Dnidh:function(t,W){return t(W)}}[t(217,")m&N")](cancelAnimationFrame,this[t(270,"]hI1")]),this[t(284,"pz]H")]=null)}resetPool(){const t=_0x411d9f;for(let W=0;W<this.sticks[t(348,"re!$")];W++){const o=this.sticks[W];o[t(249,"@fPR")]=!1,o[t(213,"B%4@")]=!1;const n=this.sv[W];n&&(n[t(350,"5@1A")][t(235,"xFnX")]=0,n[t(216,"]f]I")][t(220,"5@1A")]=1,n.y[t(269,"IY&W")]=-STICK_LEN)}}[_0x411d9f(340,"%Bpx")](t){const W=_0x411d9f,o={};o[W(345,"0li1")]=function(t,W){return t+W},o[W(272,"@78A")]=function(t,W){return t*W};const n=o;return Math[W(341,"0li1")](n.jCSmD(_0x48e82f[W(244,"DKab")],n[W(205,"$zOq")](t,_0x48e82f[W(367,"[ObS")])),_0x48e82f[W(312,"cPYK")])}currentSpawnMs(t){const W=_0x411d9f,o={};o[W(268,"DunR")]=function(t,W){return t*W};const n=o;return Math[W(229,"xFnX")](_0x48e82f[W(264,"%Bpx")]-n.RcsjP(t,_0x48e82f[W(273,"xFnX")]),_0x48e82f[W(382,"DunR")])}[_0x411d9f(318,"om%G")](){const t=_0x411d9f,W={};W[t(297,"]hI1")]=function(t,W){return t*W},W.rAmUs=function(t,W){return t-W};const o=W,n=this[t(337,"3W(I")].findIndex(W=>!W[t(375,"g3(i")]&&!W[t(275,"BjgR")]);if(-1===n)return;const s=useFallingSticksStore.getState()[t(206,"$zOq")],i=SPAWN_MARGIN+Math.random()*(SCREEN_W-2*SPAWN_MARGIN),d=this[t(343,"LH4k")](s)*(.85+.3*Math[t(266,"M@M!")]()),e=o[t(320,"&I$k")](Math[t(293,"3QKf")](),360),r=o[t(210,"BjgR")](2*Math.random(),1)*_0x48e82f[t(327,"q5l%")],f=this[t(222,"mt9J")][n];f[t(278,"Y]1o")]=!0,f.x=i,f.y=-STICK_LEN,f[t(333,"$zOq")]=d,f[t(274,"0E9u")]=e,f.rotSpeed=r;const a=this.sv[n];a&&(a.x.value=i,a.y[t(316,"f%jo")]=-STICK_LEN,a[t(245,"IY&W")].value=e,a[t(302,"@78A")][t(372,"r$yJ")]=1,a[t(313,"q5l%")][t(316,"f%jo")]=1)}[_0x411d9f(352,"^V&D")](t){const W="xFnX",o="0li1",n="om%G",s="3W(I",i=_0x411d9f,d={JrFaA:function(t,W){return t===W},AOGgL:function(t,W){return t/W},BowTT:function(t,W){return t*W},qSwoW:function(t,W){return t*W},iXgon:function(t,W){return t/W},hunjU:function(t,W,o){return t(W,o)}};if(!this[i(225,W)])return;d.JrFaA(this[i(299,"f1B4")],0)&&(this[i(396,"nAd(")]=t);const e=t-this[i(230,"3QKf")];this[i(243,"]hI1")]=t;const r=d[i(226,"pz]H")](Math[i(334,"$*&5")](e,33.33),16.67);if(r<=0)return;this.spawnTimer+=e;const f=useFallingSticksStore[i(373,"$*&5")]()[i(279,"Y]1o")],a=this.currentSpawnMs(f);this[i(295,o)]>=a&&(this.spawnTimer-=a,this.spawn());let S=!1;for(let t=0;t<this[i(389,"!FO%")][i(271,"M@M!")];t++){const e=this.sticks[t];if(!e[i(378,"DKab")])continue;e.y+=d[i(241,"ITlp")](e[i(371,"zEQ(")],r),e[i(329,"$*&5")]+=e[i(208,"]f]I")]*r;const f=this.sv[t];if(f&&(i(328,"r$yJ")===i(224,"99sj")?(f.y[i(322,"ru@K")]=e.y,f[i(223,"99sj")][i(261,o)]=e[i(349,n)]):(_0x25f247.x[i(310,"^V&D")]=_0x1c80a9,_0x308254.y[i(386,"j#XT")]=-_0x3e16ce,_0x592faf[i(349,n)][i(220,"5@1A")]=_0x4484c5,_0xdda36e[i(369,"B%4@")].value=1,_0x1599e7[i(260,"DunR")][i(220,"5@1A")]=1)),e.y>FLOOR_Y){e[i(247,"BjgR")]=!1,e.landed=!0;const t=FLOOR_Y-.2*STICK_W-d[i(262,"]f]I")](d[i(361,"M@M!")](Math.random(),STICK_W),.35),o=180*Math[i(346,"IY&W")](d[i(368,"zEQ(")](e[i(332,"mt9J")],180))+(2*Math[i(255,")nv$")]()-1)*_0x48e82f[i(276,"mt9J")],n=Math[i(294,"oopW")](6*e.speed,24);if(e.y=t,e.rot=o,f){const r={};r[i(370,s)]=11,r.stiffness=220,r.mass=1,f.y.value=withSequence(withTiming(t-n,{duration:130,easing:Easing[i(315,"]f]I")](Easing[i(291,"om%G")])}),d[i(390,"f%jo")](withSpring,t,r));const a={};a.velocity=60*e.rotSpeed,a[i(307,"$*&5")]=9,a[i(321,s)]=80,a[i(395,W)]=1,f[i(332,"mt9J")][i(384,"M@M!")]=d[i(311,"ITlp")](withSpring,o,a)}S=!0}}S&&this[i(383,"oopW")]()}[_0x411d9f(309,"!FO%")](){const t=_0x411d9f;this.onMiss?.(),useFallingSticksStore.getState().loseLife(),useFallingSticksStore[t(228,"0E9u")]()[t(387,"BjgR")]&&(this[t(323,")nv$")]=!1,this[t(335,"cPYK")](),this[t(253,"%Bpx")]?.())}[_0x411d9f(254,"g3(i")](t){const W=_0x411d9f,o={iavHi:function(t,W,o){return t(W,o)}},n=this[W(246,"f1B4")][t],s=n.x,i=n.y;n[W(360,"0E9u")]=!1;const d=this.sv[t];if(d){const t={};t[W(289,"@fPR")]=130,d[W(358,"Plx)")][W(235,"xFnX")]=o[W(209,"BjgR")](withTiming,1.4,t);const n={};n[W(263,"mt9J")]=130,d[W(207,"0li1")][W(269,"IY&W")]=withTiming(0,n)}useFallingSticksStore.getState()[W(388,")nv$")](_0x48e82f[W(239,"Y]1o")]),this[W(342,"j#XT")]?.(),this.onCatchAt?.(s,i)}[_0x411d9f(347,"f%jo")](t,W){const o=_0x411d9f,n={};n[o(212,"[ObS")]=function(t,W){return t*W},n[o(281,"Plx)")]=function(t,W){return t<W};const s=n;if(!this[o(286,"ITlp")])return;let i=-1,d=s[o(280,"LH4k")](HIT_RADIUS,HIT_RADIUS);for(let n=0;s[o(377,"cPYK")](n,this[o(290,"IY&W")][o(354,"NiNl")]);n++){const s=this[o(308,"5@1A")][n];if(!s.active)continue;const e=t-s.x,r=W-s.y,f=e*e+r*r;f<=d&&(d=f,i=n)}-1!==i&&this[o(374,"DKab")](i)}[_0x411d9f(305,"oopW")](t,W){const o=_0x411d9f,n={};n[o(251,"&I$k")]=function(t,W){return t<=W};const s=n;if(!this[o(265,"g]8l")])return;const i=HIT_RADIUS*HIT_RADIUS;for(let n=0;n<this.sticks[o(376,"oopW")];n++){const d=this[o(326,"B%4@")][n];if(!d[o(219,"Plx)")])continue;const e=t-d.x,r=W-d.y;s[o(379,"TDNV")](e*e+r*r,i)&&this[o(285,"]f]I")](n)}}[_0x411d9f(351,"ITlp")](){const t=_0x411d9f,W={};W[t(392,")m&N")]="1|4|2|3|0";const o=W.hUwTK[t(227,"$zOq")]("|");let n=0;for(;;){switch(o[n++]){case"0":this[t(221,"TDNV")]();continue;case"1":this.stopLoop();continue;case"2":this[t(319,"M@M!")]=0;continue;case"3":this[t(237,"B%4@")]=0;continue;case"4":this[t(267,"99sj")]=!1;continue}break}}cleanup(){const t=_0x411d9f;this[t(283,")m&N")]=!0,this[t(257,"g3(i")]=!1,this[t(233,"oopW")](),this[t(317,"$*&5")]=void 0,this[t(292,"cPYK")]=void 0,this[t(215,"DKab")]=void 0,this[t(330,"LH4k")]=void 0;for(let W=0;W<this.sv[t(211,"BjgR")];W++)this.sv[W]=null}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x448789=_0x363e;!function(){const t=_0x363e,e=_0x2e83();for(;;)try{if(146623==-parseInt(t(290,"nEMa"))/1*(parseInt(t(291,"hZxq"))/2)+-parseInt(t(316,"rQU1"))/3*(-parseInt(t(285,"z%No"))/4)+-parseInt(t(293,"ve*S"))/5+parseInt(t(282,"8(Oa"))/6+parseInt(t(283,"@Qw]"))/7*(-parseInt(t(319,"(Pfi"))/8)+parseInt(t(309,"@Qw]"))/9+parseInt(t(276,"8(Oa"))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();import{create}from"zustand";import{subscribeWithSelector}from"zustand/middleware";import{FALLING_STICKS_CONFIG,FALLING_STICKS_TIME_LIMIT}from"./FallingSticksConstants.js";const _0x433534={};function _0x2e83(){const t=["tCoEmNHtWR9IW6dcVW","aCoYWQahkIfG","WQZcVSkmW4VdVwpdPSk6WRe","Dmo+WOHsW5G","kSoopSkPW4u","W73dQSokmNu","tCoDmGOmWQXEW4VcOMpcNq","W5TCgxCLW77cI8k8WPKcW5tdOmkn","e8kfDf9n","W6fPWRTRxXBdJ3KzAZDlWQC","WRKIW5SWdL3cN3en","WPJcT8oQpmoBWRnJna","smo3W7HCW559WRtdLCkm","WPOGW5SRiW","gCkjnxVcKc7cJwldRGi9","dSobWQWUW7zDAvNcOq","W4RdH8ocigVcNmo3EmoGtbSocq","dYSjW7DLmSodW6hdVW","oSk/WRxcLf8","qG8QW7JcRq","oKCd","ASkCy8oRWPLLW5hdS8kkW6SyWRNcJq","WQtdGJBcNSoRhrFdSmkQvuVcUdm","WQpcTCkzW6hdLq","Cmo2W6bVWOrCg8oz","psBdTIfiWONcQSo4F3rnASoK","W67dJSkQW6hdMq","kCkRW59tWQnbWOZdRa","WQ7dHdxcLSoHgNddOmkgwKdcOG","W5TCg3qNWQVdUSkTWQi/W74","W47dO8kYymkLWQTjdfZdIga","WPddJSojsmkuW5mJW59d","xquZW6/cUW","C8oVsW","oCoiW7NcMd3cQcVcGa","qCopWRnyW5W","WPbfW43dHI/cKSoowG","dupdP8k/ECoZW6KvyL7dMq","W7xcQw/cTSo0","AmkzzCoQWPjMW5hdNCkmW6qvWPFcLa","cCotWQOPW5W","WONcMCkznwZcVCoTASod","W6fLWR9TxrldHLqHErfFWOC","W5FdNCo/kvJcGmoZD8oU","E8oQWPZcIe4rtba","DvVcM082CmkpWPS7WOfPW7i1","WPS5W5qJrGev","cSo6WRShdG"];return(_0x2e83=function(){return t})()}_0x433534[_0x448789(286,"GXBN")]=0,_0x433534[_0x448789(310,"9ppt")]=FALLING_STICKS_CONFIG.LIVES,_0x433534[_0x448789(318,"4sd(")]=FALLING_STICKS_TIME_LIMIT,_0x433534[_0x448789(314,"1J#l")]=!1,_0x433534.gameOver=!1,_0x433534.gameWon=!1;const INITIAL=_0x433534;function _0x363e(t,e){t-=275;const o=_0x2e83();let n=o[t];if(void 0===_0x363e.wueZLz){const t=function(t,e){let o,n,r=[],W=0,s="";for(t=function(t){let e="",o="";for(let o,n,r=0,W=0;n=t.charAt(W++);~n&&(o=r%4?64*o+n:n,r++%4)?e+=String.fromCharCode(255&o>>(-2*r&6)):0)n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(n);for(let t=0,n=e.length;t<n;t++)o+="%"+("00"+e.charCodeAt(t).toString(16)).slice(-2);return decodeURIComponent(o)}(t),n=0;n<256;n++)r[n]=n;for(n=0;n<256;n++)W=(W+r[n]+e.charCodeAt(n%e.length))%256,o=r[n],r[n]=r[W],r[W]=o;n=0,W=0;for(let e=0;e<t.length;e++)n=(n+1)%256,W=(W+r[n])%256,o=r[n],r[n]=r[W],r[W]=o,s+=String.fromCharCode(t.charCodeAt(e)^r[(r[n]+r[W])%256]);return s};_0x363e.tDYVNc=t,_0x363e.kGrkHy={},_0x363e.wueZLz=!0}const r=o[0];_0x363e.QmSBGi!==r&&(_0x363e.kGrkHy={},_0x363e.QmSBGi=r);const W=_0x363e.kGrkHy[t];return void 0===W?(void 0===_0x363e.aDYHaZ&&(_0x363e.aDYHaZ=!0),n=_0x363e.tDYVNc(n,e),_0x363e.kGrkHy[t]=n):n=W,n}export const useFallingSticksStore=create()(subscribeWithSelector(t=>({...INITIAL,startGame:()=>{const e=_0x448789,o={};o[e(306,"ve*S")]=0,o[e(321,"GXBN")]=FALLING_STICKS_CONFIG[e(292,"b4@*")],o[e(279,"K[T5")]=FALLING_STICKS_TIME_LIMIT,o.isPlaying=!0,o[e(278,"fGAq")]=!1,o[e(303,"uQwB")]=!1,{YXMow:function(t,e){return t(e)}}[e(289,"n8Ba")](t,o)},stopGame:()=>{const e={};e[_0x448789(312,"#5l^")]=!1,t(e)},resetGame:()=>{const e={...INITIAL};t(e)},addScore:e=>{t(t=>({score:t.score+e}))},loseLife:()=>{const e=_0x448789;({JqPwL:function(t,e){return t(e)}})[e(315,"#5l^")](t,t=>{const o=e,n=Math[o(322,"8HV^")](0,t[o(301,"uQwB")]-1);if(n<=0){const t={};return t.lives=n,t[o(314,"1J#l")]=!1,t[o(288,"6mFE")]=!0,t}const r={};return r[o(305,"n8Ba")]=n,r})},updateTimeRemaining:e=>{const o=_0x448789;({fxEFI:function(t,e){return t(e)}})[o(277,"1LYC")](t,t=>({timeRemaining:Math[o(287,"ILny")](0,t[o(299,"hAcc")]+e)}))},setGameWon:()=>{const e=_0x448789,o={};o[e(317,"tlf6")]=!1,o[e(281,"aBR3")]=!0,o[e(300,"SjTz")]=!0,t(o)},setGameOver:()=>{const e=_0x448789,o={};o[e(297,"4sd(")]=!1,o.gameOver=!0,{CDewL:function(t,e){return t(e)}}[e(307,"4sd(")](t,o)}})));export const useScore=()=>useFallingSticksStore(_temp);export const useLives=()=>useFallingSticksStore(_temp2);export const useTimeRemaining=()=>({naVkK:function(t,e){return t(e)}}[_0x448789(294,"tlf6")](useFallingSticksStore,_temp3));export const useIsPlaying=()=>useFallingSticksStore(_temp4);export const useGameOver=()=>useFallingSticksStore(_temp5);export const useGameWon=()=>useFallingSticksStore(_temp6);function _temp(t){return t[_0x448789(320,"(m&q")]}function _temp2(t){return t[_0x448789(280,"(5VI")]}function _temp3(t){return t.timeRemaining}function _temp4(t){return t[_0x448789(304,"1LYC")]}function _temp5(t){return t[_0x448789(313,"HHCS")]}function _temp6(t){return t.gameWon}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x36ab71=_0x6a52;!function(){const e="u8Q1",t=_0x6a52,W=_0x294b();for(;;)try{if(356616==-parseInt(t(451,"SglD"))/1*(parseInt(t(382,e))/2)+-parseInt(t(454,"^]g0"))/3*(-parseInt(t(466,"O2I("))/4)+-parseInt(t(367,"[I*b"))/5+parseInt(t(354,e))/6+parseInt(t(353,"Tzn7"))/7+parseInt(t(455,"O2I("))/8*(-parseInt(t(477,"GeAK"))/9)+-parseInt(t(373,"hX5C"))/10*(-parseInt(t(358,"Tzn7"))/11))break;W.push(W.shift())}catch(e){W.push(W.shift())}}();import{c as _0x1a1b6d}from"react/compiler-runtime";import _0x5ae802,{useMemo,useRef,useEffect,useCallback,useState}from"react";import{StyleSheet}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import _0x3305e6,{useSharedValue,useAnimatedStyle,runOnJS}from"react-native-reanimated";import{Canvas,RoundedRect,Rect,Path,Skia,LinearGradient,vec}from"@shopify/react-native-skia";import{ParticleBlast}from"../../../helpers/index.js";import{useFallingSticksStore}from"../FallingSticksStore.js";import{STICK_CANVAS,STICK_HALF,STICK_LEN,STICK_W,STICK_COLORS,STICK_SHADOW,SCREEN_W,SCREEN_H,FLOOR_Y,GROUND,GRASS_BLADE_H,FALLING_STICKS_CONFIG}from"../FallingSticksConstants.js";import{jsx as _0x473b1b,jsxs as _0xc2149a}from"react/jsx-runtime";const BLAST_PARTICLE_COUNT=8,BLAST_DURATION=650,MAX_CONCURRENT_BLASTS=10,BLAST_COLORS=STICK_COLORS[_0x36ab71(379,"Ds09")](e=>e[_0x36ab71(362,"O2I(")]),X0=(STICK_CANVAS-STICK_LEN)/2,Y0=(STICK_CANVAS-STICK_W)/2,RAD=Math[_0x36ab71(422,"jAyh")](.3*STICK_W,3),HI_H=Math[_0x36ab71(456,"mMqC")](1.5,.22*STICK_W),HI_Y=Y0+.12*STICK_W,HI_X=X0+4,HI_W=STICK_LEN-8,FLOOR_H=Math[_0x36ab71(499,"Ds09")](0,SCREEN_H-FLOOR_Y),_0x3f3850={};function _0x6a52(e,t){e-=351;const W=_0x294b();let o=W[e];if(void 0===_0x6a52.VJDlhu){const e=function(e,t){let W,o,a=[],n=0,r="";for(e=function(e){let t="",W="";for(let W,o,a=0,n=0;o=e.charAt(n++);~o&&(W=a%4?64*W+o:o,a++%4)?t+=String.fromCharCode(255&W>>(-2*a&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=t.length;e<o;e++)W+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(W)}(e),o=0;o<256;o++)a[o]=o;for(o=0;o<256;o++)n=(n+a[o]+t.charCodeAt(o%t.length))%256,W=a[o],a[o]=a[n],a[n]=W;o=0,n=0;for(let t=0;t<e.length;t++)o=(o+1)%256,n=(n+a[o])%256,W=a[o],a[o]=a[n],a[n]=W,r+=String.fromCharCode(e.charCodeAt(t)^a[(a[o]+a[n])%256]);return r};_0x6a52.XPkFdD=e,_0x6a52.DEkAiO={},_0x6a52.VJDlhu=!0}const a=W[0];_0x6a52.CRvijK!==a&&(_0x6a52.DEkAiO={},_0x6a52.CRvijK=a);const n=_0x6a52.DEkAiO[e];return void 0===n?(void 0===_0x6a52.louXdW&&(_0x6a52.louXdW=!0),o=_0x6a52.XPkFdD(o,t),_0x6a52.DEkAiO[e]=o):o=n,o}_0x3f3850.x=X0,_0x3f3850.y=Y0+2,_0x3f3850[_0x36ab71(501,"W@0x")]=STICK_LEN,_0x3f3850[_0x36ab71(411,"tR$6")]=STICK_W,_0x3f3850.r=RAD,_0x3f3850.color=STICK_SHADOW,_0x3f3850[_0x36ab71(361,"olu2")]=.35;const STICK_SKIA_ELEMENTS=STICK_COLORS.map((e,t)=>[_0x473b1b(RoundedRect,_0x3f3850,t+"s"),_0x473b1b(RoundedRect,{x:X0,y:Y0,width:STICK_LEN,height:STICK_W,r:RAD,children:_0x473b1b(LinearGradient,{start:vec(X0,Y0),end:vec(X0,Y0+STICK_W),colors:[e[_0x36ab71(364,"W@0x")],e.bottom]})},t+"b"),_0x473b1b(RoundedRect,{x:HI_X,y:HI_Y,width:HI_W,height:HI_H,r:HI_H/2,color:e[_0x36ab71(413,"BtKt")],opacity:.45},t+"h"),_0x473b1b(RoundedRect,{x:X0,y:Y0,width:STICK_LEN,height:STICK_W,r:RAD,style:_0x36ab71(478,"uO%u"),strokeWidth:1,color:e[_0x36ab71(420,"GeAK")]},t+"r")]),StickView=_0x5ae802[_0x36ab71(366,"6YUE")](e=>{const t="MySc",W=_0x36ab71,o={EccjH:function(e,t){return e(t)},VThKv:function(e,t){return e!==t},WmcSA:W(385,"m52&"),sZwfZ:W(390,"W@0x")},a=_0x1a1b6d(16),{index:n,service:r}=e,_=useSharedValue(-999),d=useSharedValue(-999),S=useSharedValue(0),s=useSharedValue(0),x=o.EccjH(useSharedValue,1);let i,u;a[0]!==n||a[1]!==s||a[2]!==S||a[3]!==x||o.VThKv(a[4],r)||a[5]!==_||a[6]!==d?(i=()=>{const e=W,t={};t.x=_,t.y=d,t.rot=S,t.opacity=s,t[e(460,"(udd")]=x,r[e(436,"ALv&")](n,t)},u=[r,n,_,d,S,s,x],a[0]=n,a[1]=s,a[2]=S,a[3]=x,a[4]=r,a[5]=_,a[6]=d,a[7]=i,a[8]=u):o.WmcSA===W(483,"jAyh")?(_0x36683e=()=>{const e=W;_0x4bf745[e(453,"pG!v")]=_0x5603a2[e(438,"*Bp1")].filter(e=>e.id!==_0x5393b5),_0x326a13[e(504,"^]g0")].delete(_0x3314a0),_0x1c7e32(e=>e+1)},_0x542dc8[W(381,t)][W(493,"fIuY")](_0x567557,_0x2d393d)):(i=a[7],u=a[8]),useEffect(i,u);const C={};C[W(418,"uO%u")]=_[W(356,"MySc")]-STICK_HALF;const R={};R[W(433,"GkOs")]=d[W(503,"kHQq")]-STICK_HALF;const l={};l[W(461,"W@0x")]=S[W(423,"6YUE")]+"deg";const m={};m[W(458,"CE4#")]=x[W(442,"zgwd")];const b=useAnimatedStyle(()=>({opacity:s[W(389,"pG!v")],transform:[C,R,l,m]})),O=STICK_SKIA_ELEMENTS[n%STICK_COLORS[W(404,"fPwv")]];let f,k,A;if(a[9]!==b?(f=[styles[W(452,t)],b],a[9]=b,a[10]=f):f=a[10],a[11]!==O){const e={};e[W(500,"@7gq")]=styles.stickCanvas,e[W(496,"CE4#")]=O,k=_0x473b1b(Canvas,e),a[11]=O,a[12]=k}else k=a[12];if(a[13]!==f||a[14]!==k){const e={};e[W(409,"p8wu")]=f,e.pointerEvents=o[W(426,"Bkr4")],e[W(472,"IKs#")]=k,A=_0x473b1b(_0x3305e6[W(439,"SmYN")],e),a[13]=f,a[14]=k,a[15]=A}else A=a[15];return A});StickView[_0x36ab71(408,"RglN")]=_0x36ab71(476,"olu2");const SURFACE=GRASS_BLADE_H,FLOOR_CANVAS_H=FLOOR_H+GRASS_BLADE_H,makeBladePath=(e,t,W,o)=>{const a=_0x36ab71,n={};n[a(435,"pG!v")]=function(e,t){return e+t},n.dXcLZ=function(e,t){return e+t},n[a(457,"MySc")]=function(e,t){return e-t},n[a(375,"iQ]F")]=function(e,t){return e+t};const r=n,_=Skia[a(485,"OJoP")][a(402,"O2I(")]();_[a(494,"SglD")](0,SURFACE+4),_.lineTo(0,SURFACE);let d=0;for(;d<SCREEN_W;){const n=W*(.7+.8*Math[a(449,"01Fb")]()),S=r[a(441,"yVaW")](e,Math[a(406,"yVaW")]()*(t-e)),s=r[a(360,"MySc")](r[a(459,"@7gq")](d,n/2),r.tBjwY(Math[a(464,"kHQq")](),.5)*o);_.lineTo(s,SURFACE-S),_[a(396,"ALv&")](r.KEDiP(d,n),SURFACE),d+=n}return _[a(481,"SmYN")](SCREEN_W,r.ltUty(SURFACE,4)),_.close(),_},backBlades=makeBladePath(.55*GRASS_BLADE_H,GRASS_BLADE_H,12,5),frontBlades=makeBladePath(.3*GRASS_BLADE_H,.7*GRASS_BLADE_H,8,6),FloorBand=_0x5ae802.memo(()=>{const e="W@0x",t=_0x36ab71,W={QuQAr:function(e,t){return e<=t},oGUSa:function(e,t){return e===t},VnaCD:"react.memo_cache_sentinel",aGiUq:function(e,t){return e+t},SVvoi:function(e,t,W){return e(t,W)},PESAB:function(e,t,W){return e(t,W)},txZXN:function(e,t){return e+t}},o=_0x1a1b6d(3);if(W[t(443,"uEEp")](FLOOR_H,0))return null;let a,n,r;return W[t(372,"@7gq")](o[0],Symbol[t(417,"eqf2")](W[t(480,"MySc")]))?(a=_0x473b1b(Rect,{x:0,y:SURFACE,width:SCREEN_W,height:FLOOR_H,children:_0x473b1b(LinearGradient,{start:vec(0,SURFACE),end:vec(0,W.aGiUq(SURFACE,FLOOR_H)),colors:[GROUND[t(486,e)],GROUND[t(380,"fPwv")]]})}),o[0]=a):a=o[0],o[1]===Symbol.for(t(470,"RglN"))?(n=W[t(507,"Ds09")](_0x473b1b,Path,{path:backBlades,children:W[t(403,"iQ]F")](_0x473b1b,LinearGradient,{start:vec(0,0),end:W[t(471,"uO%u")](vec,0,W.txZXN(SURFACE,4)),colors:[GROUND[t(479,"O2I(")],GROUND.bladeBackBottom]})}),o[1]=n):n=o[1],o[2]===Symbol[t(463,"jAyh")](t(427,"CE4#"))?(r=W[t(421,"m52&")](_0x473b1b,_0x3305e6[t(407,"SglD")],{style:styles[t(432,"ALv&")],pointerEvents:"none",children:W[t(437,"Tzn7")](_0xc2149a,Canvas,{style:styles[t(384,"Tzn7")],children:[a,n,_0x473b1b(Path,{path:frontBlades,children:_0x473b1b(LinearGradient,{start:vec(0,0),end:vec(0,SURFACE+2),colors:[GROUND[t(469,"tR$6")],GROUND[t(393,e)]]})}),W[t(392,"BtKt")](_0x473b1b,Rect,{x:0,y:SURFACE,width:SCREEN_W,height:2,color:GROUND.surfaceHighlight})]})}),o[2]=r):r=o[2],r});FloorBand[_0x36ab71(399,"fIuY")]=_0x36ab71(405,"m52&");const GameAreaComponent=({gameService:e})=>{const t=_0x36ab71,W={aqCqz:function(e,t){return e(t)},ycJmH:function(e,t){return e<t},WKBWP:function(e,t,W,o){return e(t,W,o)},yKPPY:function(e,t){return e!==t},JFriF:"CSrfo",IjujU:function(e,t,W){return e(t,W)},mTCmz:function(e,t){return e(t)}},o=useRef(e);o[t(365,"[I*b")]=e,W[t(395,"RglN")](useEffect,()=>{const W=t,o=t=>{const W=_0x6a52;e[W(447,"it54")](t),t?e[W(383,"MySc")]():e[W(446,"iQ]F")]()};return o(useFallingSticksStore[W(419,"O2I(")]()[W(387,"Ds09")]),useFallingSticksStore[W(414,"mMqC")](e=>e[W(430,"kHQq")],o)},[e]);const a=W.mTCmz(useRef,[]),[,n]=useState(0);useEffect(()=>{const W=t;return e[W(487,"(udd")]((e,t)=>{const o=W;if(a[o(391,"RglN")][o(378,"eqf2")]>=10)return;const r=o(352,"(udd")+Date[o(428,"m52&")]()+"_"+Math[o(497,"mMqC")](),_={};_.id=r,_.x=e,_.y=t,a.current=[...a.current,_],n(e=>e+1)}),()=>e[W(450,"GeAK")](void 0)},[e]);const r=useRef(new Map),_=useCallback(e=>{const o=t;if(W[o(377,"6YUE")](W[o(351,"olu2")],o(475,"fPwv"))){let t=r[o(371,"ALv&")][o(412,"mMqC")](e);return!t&&(t=()=>{const t=o;a[t(394,"esN8")]=a[t(416,"iQ]F")][t(462,"uO%u")](t=>t.id!==e),r[t(438,"*Bp1")].delete(e),W[t(448,"eqf2")](n,e=>e+1)},r[o(489,"fIuY")][o(491,"IKs#")](e,t)),t}{const e=[],t=_0x46f8f9[o(467,"IKs#")];for(let a=0;W.ycJmH(a,t);a++)e[o(474,"fPwv")](W.WKBWP(_0x196b0f,_0x3cdd25,{index:a,service:_0x528e3c},a));return e}},[]),d=W[t(398,"O2I(")](useCallback,(e,W)=>{const a=t;o[a(397,"fPwv")][a(490,"^]g0")](e,W)},[]),S=useMemo(()=>Gesture[t(424,"@MG%")]()[t(434,"uEEp")](0)[t(401,"01Fb")](e=>{runOnJS(d)(e.x,e.y)}).onUpdate(e=>{runOnJS(d)(e.x,e.y)}),[]),s=useMemo(()=>{const W=t,o=[],a=FALLING_STICKS_CONFIG.MAX_STICKS;for(let t=0;t<a;t++)o[W(502,"8*4w")](_0x473b1b(StickView,{index:t,service:e},t));return o},[e]);return _0x473b1b(GestureDetector,{gesture:S,children:_0xc2149a(_0x3305e6.View,{style:styles[t(425,"iQ]F")],children:[W[t(415,"^]g0")](_0x473b1b,FloorBand,{}),s,a[t(444,"s9w)")][t(368,"vi9^")](e=>_0x473b1b(ParticleBlast,{x:e.x,y:e.y,particleCount:8,duration:650,colors:BLAST_COLORS,onComplete:_(e.id)},e.id))]})})},_0x2292c8={};_0x2292c8[_0x36ab71(495,"bK5r")]=1,_0x2292c8.width=SCREEN_W;const _0xcdda36={};function _0x294b(){const e=["FLDyWQtdLZ0","W7jjv8kcEHZcJ8olW6JcMmodWOCn","WOu6mq","E8kPrX7dOW","gCouW45CDW","hCocWQDk","WQJdOSkgWQ7cOW","zW7cUmkZASoFWQS","WRJcISonWPLpWPa5W4BcV1/cJG","W7pdImoj","WRSnp8oJWQa","W5rgWR3dRqO","e23dG8oKW60/","jCo8lKRcVhpcS8oRWOvaFt52","WP9yW4icgX4VAgXaj8ksWOO","F0jFWQpdKW","iCoizIbk","W7X4jY0yW4D5W7C","jCo2BHZdNapdTCoQ","j30Vlq","hmoStJX/","W7fWWQ7dPYxcJ8kV","cSoUWO4","bg3cQePmWQy","gSosW5O","WQhcVSkGuSoXEaK","WRXqW5/cUW","W7ddUmoMeCkJiuJdKCobW4ddLxlcTW","DN3dRq","DbtcUCkOE8oyWRddGW","EfLg","W6tdKSolW6JdLSkGW48","z8kAAYhdPW","hcBdL8k9fIJcNCkAWRP+tHa","FmoExc3cJ8k6WOhdRCkiWRaxWOhcIG","W6bJatav","pheTlt0","WQH+W6lcHmk4","cCocWQGyWPeb","WOu6oq","dMFcPvrMWR01WOyOrG","nmoCEcDkW4hcNG","WPTEW4ynhrTuwMXij8kb","jmoDAYDB","CCkODrtdUqtdO8obWOflFG","lSkQuSoEsa","dhKKpbrlWOrb","WOeOgCoGWQHCsX1T","W6qmWOddPCovk8kuW7lcPv1VW54","W7RcI8kLWPHj","amosW4rn","WPZdV3xcNmkHW4Lu","cJhcLSkLW7G","dmorW4TmEINcR2LmtmoCWP3dIIC7W6S","WQmpeCobkexdJG","WRBdOhlcHmkr","W6VdJSoxW7/dP8kH","d33cS19bWRW1","n8oRWOTujG","W6Tsnmk1W47cS1q/W5/cGcu","bSoyW4npDXS","vqddGeH9WOldIW","m8oGWPvB","W5XsbWuU","ag3cR0PqWRO","hmkwvCoRymoqW6THWPm","WP08W7ZcG8o9W6u","W43cP8k5W6S","WPVdO3tcNSkOW4zzW5NcV8o/WQe","WRrSWQm6lG","WQz6WQK5jWrdWRa","W43dSSo7A8oEW5u","A1nc","mH3cOSkmW5zQwueD","F0nuWRpdMYldLvLo","trhcV8kRwG","W69IjJyjW4bI","a8oiWRq","oKddKXddGKSXoCohsq","gCoKWOPTbW3cI1q","WQ1FWPO","cCkStmoREW","i8kpbG","WQDuW57cOCke","W7eSW7S","W694oJanW4D4W7ZdKq","W6/cQZzsW7q","gNJcJdJcR8oso0mwWRizwv7dJSo5WONdRmkBfSo/WRFdT8kiB3G","nmkvtq","tqFdPLLY","WRFdSmk6WRFcP8oHWOHeka","cmocWQSq","W6hdI8owW7xdGq","W6RcV8kNW7r+WOtcNCoYW6eN","WQzDfmkpu8kHoYZcQ3xcMq","W4FcR8knWOr8","W7xdGSoEW7pdGmk6W55yW4fDjtZdIG","r8kbstRdIq","i8kiW5ldNSkBWQJcPW","WOJcJ8ohWOe","W4uKW6ytwJGsW5mTieC","WQqyW5BcJSoc","WPTaW5uxlW","WPPbk8kksa","W41WW5GMWPXsWOS","WPz5WQruag8MW7uAlfFdVW","W75YjYey","vGpdRmo6dJ7dL8o8WOvv","bmowWOuoWP8","sa/dReL1WOy","WQXtWOnBWRP+W5fkWOHvkmkwhJ1AW5m","WQRcRCkmW6VcOgvf","jmoDyZze","W6/cN8k7WP9jWPJcJW","mKldS8o3pmo9WPldJfpdLNK","tCkZWRv6hIdcKxq","yvDo","i8oRycj2","g37cJdFcVG","Bmkfxt7dNa","aMldG8o7W7W","hmosW55jAWO","kfVdNGRdLfu","kmkjgG","WQZdOSkeWR/cQCo1","mSkFu8oJESoM","t8kWW4HoiZ/cQ2xdRq","vSkNW4tcTSo+W5r4W5FdSCo8","W4KOW7WexI0","W4FdU8oZAmotW6FcSMn9W5RcUbz6","WO3dR2BcJCkWWOLnW7lcS8o9WPT5eYfmFvZcMKBdMNtcR8oQeMy","hwtdHbhdMa","EmkoW7xcHCojW7juW7O","W60eWOn+WOfBW5v7","hh3cSKu","gLhcHMHm","W410WQBdPYFcRCk/Cvy","W64eW4qRW6aPWPvKWRLDn8kzjq","puBdGbhdMKi","hmoTWP9AfI7cNLldIYJdSmkj","aCohAXzR","WRlcJ8omWPnPWRW","W6XjiSkKW5BcTW","hSk2jM3dLa","WR/dOCkzWRtcQSoTWPvp","zCotWQpdHW","dmosW45rsWdcRq","aMtdLSovW7ubW7u1cmoIdsLmW47cSqm","WROUBxjFW6jBW7JdJmoHzW","W6XonCk3W4FcVfK","DWZcO8kXAG","AmkdW6G","FqddUtRdNgS+ca","W7XEmW","W7BcOCkQW7NcRL4","xSkidCkv","c3xcHdFcV8kom0G"];return(_0x294b=function(){return e})()}_0xcdda36[_0x36ab71(357,"iQ]F")]=_0x36ab71(410,"p8wu"),_0xcdda36[_0x36ab71(506,"ALv&")]=0,_0xcdda36[_0x36ab71(359,"(hsF")]=0,_0xcdda36[_0x36ab71(376,"(hsF")]=STICK_CANVAS,_0xcdda36[_0x36ab71(468,"@MG%")]=STICK_CANVAS;const _0x2c8eb1={};_0x2c8eb1[_0x36ab71(429,"01Fb")]=STICK_CANVAS,_0x2c8eb1[_0x36ab71(400,"W@0x")]=STICK_CANVAS;const _0x338a53={};_0x338a53[_0x36ab71(369,"^]g0")]=_0x36ab71(484,"kHQq"),_0x338a53.left=0,_0x338a53.right=0,_0x338a53[_0x36ab71(370,"mMqC")]=FLOOR_Y-GRASS_BLADE_H,_0x338a53[_0x36ab71(465,"m52&")]=FLOOR_CANVAS_H;const _0x5a950a={};_0x5a950a.width=SCREEN_W,_0x5a950a[_0x36ab71(363,"fPwv")]=FLOOR_CANVAS_H;const _0x2083c0={};_0x2083c0.container=_0x2292c8,_0x2083c0[_0x36ab71(355,"mMqC")]=_0xcdda36,_0x2083c0.stickCanvas=_0x2c8eb1,_0x2083c0.floor=_0x338a53,_0x2083c0[_0x36ab71(505,"SmYN")]=_0x5a950a;const styles=StyleSheet[_0x36ab71(482,"fIuY")](_0x2083c0);export const GameArea=_0x5ae802[_0x36ab71(431,"eqf2")](GameAreaComponent);GameArea[_0x36ab71(440,"@MG%")]=_0x36ab71(386,"(hsF");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x484a00=_0xbdfc;!function(){const e=_0xbdfc,t=_0x32d9();for(;;)try{if(180886==-parseInt(e(408,"bJMe"))/1+-parseInt(e(444,"K$gZ"))/2+-parseInt(e(522,"rBQE"))/3+parseInt(e(468,"$]@h"))/4+parseInt(e(450,"2aJ!"))/5+parseInt(e(459,"9qXj"))/6+parseInt(e(466,"3hiF"))/7)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();import{c as _0x1cbc68}from"react/compiler-runtime";import _0x165bef,{useMemo}from"react";import{View,Dimensions,StyleSheet}from"react-native";import{Canvas,LinearGradient,Rect,Circle,Path,Skia,vec,Group,Shadow}from"@shopify/react-native-skia";import{BACKGROUND_COLOR}from"../../../services/GamesConstants.js";import{jsx as _0x4ee37a,jsxs as _0x2c0778}from"react/jsx-runtime";const{width:width,height:height}=Dimensions[_0x484a00(516,"8!Vf")](_0x484a00(401,"9n8]")),SKY_COLORS=[_0x484a00(423,"rBQE"),_0x484a00(385,"9qXj"),_0x484a00(377,"y^lK"),"#E1F5FE",_0x484a00(433,"4*!x")],SUN_CORE_COLORS=[_0x484a00(451,"rBQE"),_0x484a00(477,"eh)^"),"#FFE082",_0x484a00(446,"8!Vf"),"#FF9800"],SUN_OUTER_GLOW=[_0x484a00(496,"4*!x"),_0x484a00(471,"O5lQ"),_0x484a00(406,"VBsd")],CLOUD_SHADOW=_0x484a00(478,"nwbQ"),CLOUD_BODY="rgba(255,255,255,0.92)",CLOUD_HIGHLIGHT=_0x484a00(409,"xIn1"),_0x4ade25={};_0x4ade25[_0x484a00(457,"M]sK")]=16;const SUN_RAY_DATA=Array.from(_0x4ade25,(e,t)=>{const W=_0x484a00,o={};o[W(424,"6[2@")]=function(e,t){return e===t},o[W(394,"FGEa")]=function(e,t){return e===t};const x=o,a=t%3;return{radian:22.5*t*Math.PI/180,rayLength:0===a?36:1===a?24:16,rayWidth:x[W(467,"FGEa")](a,0)?4.5:x.ySBzY(a,1)?3:2,startDistance:48,opacity:x[W(417,"HAhA")](a,0)?.5:1===a?.35:.22}}),_0x39010d={};_0x39010d.x=.15*width,_0x39010d.y=.28*height,_0x39010d[_0x484a00(458,"tuAL")]=1.3;const _0x539542={};_0x539542.x=.55*width,_0x539542.y=.24*height,_0x539542[_0x484a00(509,"aa1&")]=1;const _0x4f4e9e={};_0x4f4e9e.x=.85*width,_0x4f4e9e.y=.34*height,_0x4f4e9e[_0x484a00(497,"Rxor")]=.75;const _0x4be898={};function _0xbdfc(e,t){e-=371;const W=_0x32d9();let o=W[e];if(void 0===_0xbdfc.pFEbrH){const e=function(e,t){let W,o,x=[],a=0,r="";for(e=function(e){let t="",W="";for(let W,o,x=0,a=0;o=e.charAt(a++);~o&&(W=x%4?64*W+o:o,x++%4)?t+=String.fromCharCode(255&W>>(-2*x&6)):0)o="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(o);for(let e=0,o=t.length;e<o;e++)W+="%"+("00"+t.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(W)}(e),o=0;o<256;o++)x[o]=o;for(o=0;o<256;o++)a=(a+x[o]+t.charCodeAt(o%t.length))%256,W=x[o],x[o]=x[a],x[a]=W;o=0,a=0;for(let t=0;t<e.length;t++)o=(o+1)%256,a=(a+x[o])%256,W=x[o],x[o]=x[a],x[a]=W,r+=String.fromCharCode(e.charCodeAt(t)^x[(x[o]+x[a])%256]);return r};_0xbdfc.EPLXvz=e,_0xbdfc.aTuQUl={},_0xbdfc.pFEbrH=!0}const x=W[0];_0xbdfc.IzxqVG!==x&&(_0xbdfc.aTuQUl={},_0xbdfc.IzxqVG=x);const a=_0xbdfc.aTuQUl[e];return void 0===a?(void 0===_0xbdfc.NyZxNX&&(_0xbdfc.NyZxNX=!0),o=_0xbdfc.EPLXvz(o,t),_0xbdfc.aTuQUl[e]=o):o=a,o}_0x4be898.x=.35*width,_0x4be898.y=.38*height,_0x4be898[_0x484a00(435,"FGEa")]=.55;const _0xac0cfe={};_0xac0cfe.x=.7*width,_0xac0cfe.y=.44*height,_0xac0cfe.scale=.6;const CLOUD_DATA=[_0x39010d,_0x539542,_0x4f4e9e,_0x4be898,_0xac0cfe].map((e,t)=>({id:t,shadowLeftX:e.x-20*e[_0x484a00(499,"O5lQ")]+3,shadowCenterX:e.x+3,shadowRightX:e.x+20*e[_0x484a00(497,"Rxor")]+3,shadowY:e.y+4*e[_0x484a00(410,"inW)")],shadowTopY:e.y-5*e.scale+4*e.scale,leftX:e.x-20*e[_0x484a00(520,"4ayp")],centerX:e.x,rightX:e.x+20*e.scale,topY:e.y-5*e[_0x484a00(422,"$]@h")],centerY:e.y,hlLeftX:e.x-18*e.scale-2,hlCenterX:e.x-2,hlRightX:e.x+18*e[_0x484a00(410,"inW)")]-2,hlTopY:e.y-7*e[_0x484a00(376,"bJMe")],hlCenterY:e.y-3*e[_0x484a00(398,"1HC@")],leftRadius:15*e.scale,centerRadius:20*e[_0x484a00(379,"4*!x")],rightRadius:15*e.scale,hlLeftR:12*e.scale,hlCenterR:16*e.scale,hlRightR:12*e[_0x484a00(458,"tuAL")]})),_0x538b7b={};_0x538b7b.x=.25*width,_0x538b7b.y=.31*height,_0x538b7b.s=8;const _0xf6a50f={};_0xf6a50f.x=.4*width,_0xf6a50f.y=.26*height,_0xf6a50f.s=6;const _0x4335f8={};_0x4335f8.x=.6*width,_0x4335f8.y=.29*height,_0x4335f8.s=7;const _0x166499={};_0x166499.x=.78*width,_0x166499.y=.25*height,_0x166499.s=5;const BIRD_DATA=[_0x538b7b,_0xf6a50f,_0x4335f8,_0x166499],BIRD_PATHS=BIRD_DATA.map(e=>{const t=_0x484a00,W={HWhZM:function(e,t){return e*t}};W[t(524,"HAhA")]=function(e,t){return e-t},W[t(412,"W[w4")]=function(e,t){return e+t},W[t(518,"xt1Y")]=function(e,t){return e-t};const o=W,x=Skia.Path[t(483,"HAhA")]();return x[t(383,"X*1x")](e.x-e.s,e.y+.4*e.s),x.quadTo(e.x-o[t(390,"N!JZ")](e.s,.3),o[t(464,"M]sK")](e.y,.5*e.s),e.x,e.y),x[t(443,"@3j[")](o[t(501,"VBsd")](e.x,.3*e.s),o[t(380,"7$R]")](e.y,o[t(399,"[!HK")](e.s,.5)),e.x+e.s,e.y+.4*e.s),x}),GameBackgroundComponent=e=>{const t="M]sK",W=_0x484a00,o={GYBJT:function(e,t){return e*t},uUfYl:function(e,t){return e+t},aZKdL:W(439,"inW)"),Jlepy:function(e,t){return e===t},pMxcE:function(e,t,W){return e(t,W)},baxCF:function(e,t){return e-t},chtaf:function(e,t){return e-t},lNzLp:function(e,t,W){return e(t,W)},MaypU:function(e,t){return e!==t}},x=_0x1cbc68(6),{children:a}=e,r=.78*width,n=.3*height;let d;x[0]===Symbol[W(445,"M62l")](o[W(525,"3hiF")])?(d=SUN_RAY_DATA[W(495,"W[w4")](e=>{const t=W,x=r+o.GYBJT(Math[t(519,"iKT6")](e[t(371,"M62l")]),e[t(428,"W[w4")]),a=n+o[t(463,"rBQE")](Math[t(500,"rBQE")](e[t(472,"VBsd")]),e[t(432,"nwbQ")]),d=r+o.GYBJT(Math[t(502,"3qF$")](e[t(388,"yMr*")]),e[t(498,"eh)^")]+e.rayLength),_=n+Math[t(372,"upif")](e[t(486,"X*1x")])*o[t(442,"inW)")](e[t(386,"9n8]")],e[t(475,"4*!x")]),i=Skia.Path[t(488,"inW)")]();i[t(512,"7$R]")](x,a),i.lineTo(d,_);const h={};return h[t(396,"nwbQ")]=i,h[t(453,"IrFv")]=e.rayWidth,h.opacity=e[t(482,"@3j[")],h}),x[0]=d):d=x[0];const _=d;let i,h,s,f;if(o[W(503,"9n8]")](x[1],Symbol[W(397,"tinr")](o[W(470,"HyhY")]))?(i=_0x4ee37a(Rect,{x:0,y:0,width:width,height:height,children:_0x4ee37a(LinearGradient,{start:o[W(416,"N!JZ")](vec,0,0),end:vec(0,height),colors:SKY_COLORS})}),x[1]=i):i=x[1],x[2]===Symbol[W(382,"iKT6")](W(413,"rBQE"))?(h=o[W(425,t)](_0x4ee37a,Circle,{cx:r,cy:n,r:80,children:_0x4ee37a(LinearGradient,{start:o.pMxcE(vec,o[W(381,"7$R]")](r,80),o.chtaf(n,80)),end:vec(o[W(448,"W[w4")](r,80),n+80),colors:SUN_OUTER_GLOW})}),x[2]=h):h=x[2],o[W(513,"eh)^")](x[3],Symbol.for(o[W(431,"[!HK")]))){const e={dx:0,dy:0,blur:28};e[W(389,t)]=W(494,"rBQE"),s=_0x2c0778(Canvas,{style:styles.canvas,children:[i,o[W(521,"W[w4")](_0x2c0778,Group,{children:[h,_0x2c0778(Circle,{cx:r,cy:n,r:40,children:[o[W(454,"VBsd")](_0x4ee37a,LinearGradient,{start:o[W(378,"O5lQ")](vec,r-40,n-40),end:o[W(456,"B*yr")](vec,r+40,n+40),colors:SUN_CORE_COLORS}),_0x4ee37a(Shadow,e)]}),_.map(_temp)]}),BIRD_PATHS[W(429,"aa1&")](_temp2),CLOUD_DATA[W(455,"nwbQ")](_temp3)]}),x[3]=s}else s=x[3];if(o.MaypU(x[4],a)){const e={};e[W(400,"IrFv")]=styles.container,e.children=[s,a],f=_0x2c0778(View,e),x[4]=a,x[5]=f}else f=x[5];return f};export const GameBackground=_0x165bef[_0x484a00(405,"4ayp")](GameBackgroundComponent);function _0x32d9(){const e=["mCkwBviUDfKXW7pdPwe1","EmkMbmo/WOW","W7SLW4BdHCkJ","WRFcOCoIWPXtWPaIWPvQW4VcQKq","eg92WQJdVa","fu8zcs4HeW","W7pdGmoAWPeQ","ihWdW63dPCko","W47dHCoBWPu7","W65PASkbWQTiWOC","a8ogAw4","qZldRW","WOH3w3BdSW","WO9ibmo5W4a","WOLXwG","W7/dIshcPu0","W5NdO8oFEeG","xSo/zsmSbCkOWQ3dKGtdOCk9","WOrdmxVcRCo1WR4","xmk7nbVdGa","FCkWjaTw","W71QCdRcNZ8","ywG4","W6OJW43dGSkL","lSkUW6ldG8oPW7WqWOnCmW","W6ixxSoWBmoYgmox","W5znW7f9Aq","xMhdKCkWBSoAaG","lCklW7VdHmod","hmoaBNzy","iLC/W4ddPG","l3inW4VdTW","WOXXwW","FSovW5NdOeDg","hh/dLCkrWOv8WOC","EmokW5tcR8kSBeu","WOuWtH9EWOldOfZdM08Rq3O","cfyFaJmn","W7rKqSknWQXs","gCkLWQRdRMS","WPRdVMldNuO","W6vQsSklWR8","WOjJoSofW7Hn","jZjKAHtdNCk8WO/dIIbyq0e","jxRcKGvK","Fxe3ouNcNSoZ","WOy5W6eJ","z8kdW4S","WRKptbVcMW","FSk0gSo8WQa","W6S+W5pdHSk0","WOeTqqLfWRe","WOHGdCouW7LuWPtdMcW","W7XJDtFcKsBcRCkdW5SBWRe","W5ZcUmk/qCoMla","W6hdJY3cPG","WPnupMhcU8o3WOFcSmkDWRjf","WRHlomkOomkOiSojWPZcJCoPW6C","WPyEWQiOoSkJvCkgxh/dIWS","hxddLSkuW4i5W6VdJZ7cG8kUW6H2WQyiWQvQWPjOWR8Nba","W7SSCmofiG","g8kOWRxdRNuiW7RdIa","W4pdM8oKy2W","fCkJm3vVe8kgWPldUt7dNmk4W5ZdHh/dO8kyWO5mW4xdKeFcLfddTW","t8kwhtRdMCke","g8omF0m","WQldPhldPei","vCkKmtBdOq","W5FcSCkfwSoZb8k9W4DOWOxdSSo9","W7u9hYFdRW","CSkyW4b6tG","yxuVnKu","WPldKCkHWRlcHa","rmoYffuOE8oC","WRS+W43dI8ks","cSkhWR7dOLW","WOBcVJzWz8k3WP8","vmooBMJcHae","W5RdMSogAxKqWPpdLSk4WQrAW4NdKa","dM1N","kmkgWPFcHmoZtW","v8k5oCocWQe","WOuSW7q5WOVcJLddPqlcN0tcLCk7","tmoLpLWfW5vW","W6DNvZBcKcxcHmkuW6u","l0RcSrny","hmoxFxvwW7uEWP9BWO0Y","qmovrwpcOG","DCkpW6pcNq","W7OQCmokm8k1W5DSxSkdt8kPF8krWPHDW6PDW7hdRu87W7FdQmk0","aZFcO8o7WONcOhHKhNromW","WRRdHuBdOMf4EW","W70AD8oWkW","WPtcRJLGvSkQ","sa9mw3rNjmodFCoVWQRdIW","W6LKzG","bXhdNCk2EGddJa","WQKdqrJcJa","W5ZdU8obqMe","fCkLnmoIW5HHEG","bddcO8oYWOFcPvj/eeHbmq","rmkaffbDE8oB","CGG7W4hcIq","W6S+W5JdHCk6W4H3cHLwW4q","WOTOjupcUa","WPS5W6u","W6ldQmobW7hcJW","fSkVWQJdPM0v","WRrRi8opcq","ACoaW53dN8kGBKxcGmo1pry","xxVcLxGoW5zbACoXltTjpNVdSa","D8otW5ZdTx9ix0GBbCkI","kxzwWRxdKa","imkFefXp","cSkgWOhdLMe","p0BcVbbp","kCozxv8UbeNdVCkgFs9HW50","g1JcHXDP","W5pcHSoWW6VdMrpcIH7dN8ogua4","BmkfhazUwHddPq","zmk0W5ZcKCkL","l8kHW6hdHSkUWRLXW5Kaw1FcPwTAW4RdQ0tdMNxdVCkV","WPvho2BcQCoP","E8owW6ZdOh1Dq3qJ","rCkle8ocWOiIzq","hCocDLzyW74UWOjx","W7rSqCkmWRLUWRrkreaz","WQFdR8o4WQn7cxq","WOq/W7CQW5FdUWZcPLRdJXldHSoYjSkKh8oiW7XKhuiC","WO3dL8kMWQRcUq","kCkBWOlcG8oSEgxcNSo9cIi","WPu3W7KKWO0","WORcQZLNA8kXWR8","yCkwgcK","dLFcKmkAmmo5","CGi5W5RcNSoAESo0WO3cGwDN","yCoBW4VdRhjh","pmoxWQddGmoEv0KoeCoPvvW","W4uUESom","B8oYWRpcKSk+WRSfWRr0oH7dMq","WO8NW7VdH8kPW74uW6ZcVqhcVCkgW48","y8onoHO","zSkbW7NcGCkibMqXjq","WQhdNxJdQgXPDfxcNCoNsa","rmkaffmRbCoz","W4tdJ8ox","hCoeBxSvWQj8W4mtW4TOW5OFWPKUWR/cT8oZAXhdRaW","yGq2W4lcNG","W7FdNCoFWPC2dINdKmoNW6tcNSo6jG","lSkLW6ldI8oJ","fmkVpa","WO1thhFcQq","zSoola","WRWOsH1t","idnUBHJcRSolWOpdVJvR"];return(_0x32d9=function(){return e})()}GameBackground[_0x484a00(461,"X*1x")]="FallingSticksGameBackground";const _0x3b7d28={};_0x3b7d28[_0x484a00(491,"3qF$")]=1,_0x3b7d28[_0x484a00(460,"nNm7")]=BACKGROUND_COLOR;const _0x4d2b1c={};_0x4d2b1c[_0x484a00(469,"3hiF")]=_0x484a00(411,"M]sK"),_0x4d2b1c.top=0,_0x4d2b1c[_0x484a00(515,"4*!x")]=0,_0x4d2b1c[_0x484a00(373,"IrFv")]=0,_0x4d2b1c[_0x484a00(392,"xt1Y")]=0,_0x4d2b1c[_0x484a00(511,"eh)^")]=width,_0x4d2b1c.height=height;const _0x808328={};_0x808328[_0x484a00(492,"HyhY")]=_0x3b7d28,_0x808328[_0x484a00(414,"HAhA")]=_0x4d2b1c;const styles=StyleSheet[_0x484a00(427,"FwL9")](_0x808328);function _temp(e,t){const W=_0x484a00,o={};return o.path=e.path,o[W(421,"upif")]=W(484,"y^lK"),o[W(436,"4*!x")]=e[W(493,"N!JZ")],o[W(481,"nwbQ")]=W(449,"[!HK"),o[W(395,"upif")]=e[W(510,"K$gZ")],{JzAqI:function(e,t,W,o){return e(t,W,o)}}[W(462,"aa1&")](_0x4ee37a,Path,o,"ray-"+t)}function _temp2(e,t){const W=_0x484a00,o={};return o[W(438,"HyhY")]=e,o[W(420,"tinr")]=W(430,"9qXj"),o.strokeWidth=1.8,o.color="rgba(60,60,80,0.35)",_0x4ee37a(Path,o,W(517,"iKT6")+t)}function _temp3(e){const t=_0x484a00,W={qQPnM:function(e,t,W){return e(t,W)},NEvYa:function(e,t,W){return e(t,W)},wiNjR:function(e,t,W){return e(t,W)}},o={};o.cx=e[t(403,"M62l")],o.cy=e[t(384,"xIn1")],o.r=e.leftRadius,o[t(452,"Rxor")]=CLOUD_SHADOW;const x={};x.cx=e[t(490,"6[2@")],x.cy=e[t(374,"O5lQ")],x.r=e[t(485,"Rxor")],x.color=CLOUD_SHADOW;const a={};a.cx=e[t(508,"f)eM")],a.cy=e[t(474,"[!HK")],a.r=e[t(480,"9qXj")],a.color=CLOUD_SHADOW;const r={};r.cx=e[t(479,"$]@h")],r.cy=e[t(426,"@3j[")],r.r=e.leftRadius,r[t(507,"IrFv")]=CLOUD_BODY;const n={};n.cx=e[t(523,"VBsd")],n.cy=e[t(415,"4*!x")],n.r=e[t(418,"J]@Q")],n[t(447,"1HC@")]=CLOUD_BODY;const d={};d.cx=e[t(387,"K$gZ")],d.cy=e.centerY,d.r=e[t(476,"yMr*")],d[t(465,"FGEa")]=CLOUD_BODY;const _={};_.cx=e[t(441,"N!JZ")],_.cy=e[t(402,"xt1Y")],_.r=e[t(514,"yMr*")],_[t(391,"yMr*")]=CLOUD_HIGHLIGHT;const i={};i.cx=e[t(434,"M62l")],i.cy=e[t(404,"J]@Q")],i.r=e.hlCenterR,i.color=CLOUD_HIGHLIGHT;const h={};return h.cx=e.hlRightX,h.cy=e[t(473,"X*1x")],h.r=e[t(375,"min4")],h.color=CLOUD_HIGHLIGHT,_0x2c0778(Group,{children:[_0x4ee37a(Circle,o),_0x4ee37a(Circle,x),_0x4ee37a(Circle,a),W[t(419,"%9cN")](_0x4ee37a,Circle,r),_0x4ee37a(Circle,n),_0x4ee37a(Circle,d),W[t(506,"[!HK")](_0x4ee37a,Circle,_),_0x4ee37a(Circle,i),W[t(437,"FwL9")](_0x4ee37a,Circle,h)]},"cloud-"+e.id)}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const _0x44cafc=_0x23e2;!function(){const e=_0x23e2,r=_0x5b92();for(;;)try{if(752050==parseInt(e(268,"5$K*"))/1*(parseInt(e(254,"wg(v"))/2)+parseInt(e(257,"*[l9"))/3*(-parseInt(e(282,"ejMp"))/4)+parseInt(e(271,"KKs("))/5*(parseInt(e(279,"Hl#f"))/6)+-parseInt(e(276,"LInB"))/7+-parseInt(e(259,"Lpt8"))/8+parseInt(e(278,"yXnT"))/9*(-parseInt(e(258,"^sKa"))/10)+-parseInt(e(255,"$Y0["))/11*(-parseInt(e(253,"5BxL"))/12))break;r.push(r.shift())}catch(e){r.push(r.shift())}}();import{c as _0xa710e8}from"react/compiler-runtime";import _0x31d8fa from"react";import{View}from"react-native";import{ScoreBoardContainer,ScoreValue,ScoreLives,ScoreTimer,scoreBoardStyles as _0x2579ed}from"../../../helpers/index.js";function _0x23e2(e,r){e-=248;const o=_0x5b92();let t=o[e];if(void 0===_0x23e2.gCqyCk){const e=function(e,r){let o,t,n=[],s=0,a="";for(e=function(e){let r="",o="";for(let o,t,n=0,s=0;t=e.charAt(s++);~t&&(o=n%4?64*o+t:t,n++%4)?r+=String.fromCharCode(255&o>>(-2*n&6)):0)t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(t);for(let e=0,t=r.length;e<t;e++)o+="%"+("00"+r.charCodeAt(e).toString(16)).slice(-2);return decodeURIComponent(o)}(e),t=0;t<256;t++)n[t]=t;for(t=0;t<256;t++)s=(s+n[t]+r.charCodeAt(t%r.length))%256,o=n[t],n[t]=n[s],n[s]=o;t=0,s=0;for(let r=0;r<e.length;r++)t=(t+1)%256,s=(s+n[t])%256,o=n[t],n[t]=n[s],n[s]=o,a+=String.fromCharCode(e.charCodeAt(r)^n[(n[t]+n[s])%256]);return a};_0x23e2.GInNHI=e,_0x23e2.rHaykS={},_0x23e2.gCqyCk=!0}const n=o[0];_0x23e2.azdIws!==n&&(_0x23e2.rHaykS={},_0x23e2.azdIws=n);const s=_0x23e2.rHaykS[e];return void 0===s?(void 0===_0x23e2.lFPvOI&&(_0x23e2.lFPvOI=!0),t=_0x23e2.GInNHI(t,r),_0x23e2.rHaykS[e]=t):t=s,t}import{useScore,useLives,useTimeRemaining}from"../FallingSticksStore.js";import{FALLING_STICKS_CONFIG}from"../FallingSticksConstants.js";import{jsx as _0x451c4b,jsxs as _0x40b79e}from"react/jsx-runtime";export const ScoreBoard=_0x31d8fa[_0x44cafc(248,"U*PW")](e=>{const r="yH3o",o=_0x44cafc,t={JbruD:function(e){return e()},NiXQb:function(e,r){return e!==r},dYMjC:o(264,"YNPt"),bNFJV:function(e,r){return e!==r}},n=_0xa710e8(13),{offset:s}=e,a=void 0===s?0:s,W=t[o(280,"iyuo")](useScore),i=useLives(),d=useTimeRemaining();let x,f,m,S,l;if(t[o(265,"wg(v")](n[0],W))if(t[o(273,"8S7$")]!==o(270,r)){const e={};e[o(249,r)]=W,x=_0x451c4b(ScoreValue,e),n[0]=W,n[1]=x}else _0x290a57=_0x293641[3];else x=n[1];if(t[o(281,"(wv$")](n[2],i)){const e={};e[o(256,"l(4!")]=i,e.maxLives=FALLING_STICKS_CONFIG[o(275,"^h58")],f=_0x451c4b(ScoreLives,e),n[2]=i,n[3]=f}else f=n[3];if(t[o(274,"54&p")](n[4],d)){const e={};e[o(250,"Lpt8")]=d,e.lowThreshold=15,m=_0x451c4b(ScoreTimer,e),n[4]=d,n[5]=m}else m=n[5];if(t[o(269,"i45%")](n[6],x)||n[7]!==f||n[8]!==m){const e={};e[o(283,"l(4!")]=_0x2579ed[o(277,"5$K*")],e.children=[x,f,m],S=_0x40b79e(View,e),n[6]=x,n[7]=f,n[8]=m,n[9]=S}else S=n[9];if(n[10]!==a||n[11]!==S){const e={};e[o(267,"5$K*")]=a,e[o(284,"^sKa")]=S,l=_0x451c4b(ScoreBoardContainer,e),n[10]=a,n[11]=S,n[12]=l}else l=n[12];return l});function _0x5b92(){const e=["WQDBW6bKW4q","WQBdIHxdQSoFihmX","WR3cNuG6WPlcGfBcJJvkzsldQa","W6vYmLyGWRNcHSkaW6hcNc/cL1i","tWtdIbxcReRcSSoMW4NdObBdIcf1","xmkpWOCfA8o7tvtdPCost8knW5C","W7e/W5RcTmkgWQvxjLhcHW","sSkIdYLLgKpcPq","W6jGWQ9aDa","p8ossSkBnq","W5JdKmohpHHLW77cMG","yCo6W6lcRCkkea","p8kQWRddQmoAfblcSay+W4m","W6VdPfBcHCoS","bmkaW4pdLSkw","pCopx8oLW5pdMuKLcZu","tWxdIbRcQq3dK8k/W5ddHIm","u8kOWRmYW4a","W74frSkiFW","AcLEWQf1","W7nDaSk2AudcLSkVW6tdMGPVsq","FmoZW7m","W7qAWP3cScdcO8kajq","W6tdSmkCWQLOhSouW73cVKm","v8k/tSkSsa","WRybWPW0W54","WRmSfmo3eSkhWOBdPM7cJN0e","WRHgW69TW5i","W6ZdHrrVW4tdHGpcMq","W57dKCoojIrSW6RcHa","W6/dMIC+W7RcRmoadaBdUhKvW5C","W4bwWR/cKq","o8kNW6JdPCkE","WQeIyGH9W6RdGW","W4q/WR7cLCowWROsfLatDtm","amojW4HUWRDTWO7dIGxcN8kXE3O","W5Kmr8onW5/dT8kPjq","rmkdvmkbgSkVvXO","W5ldQ8kguWbXr8kRWOnPWOddTbBcGG"];return(_0x5b92=function(){return e})()}ScoreBoard.displayName=_0x44cafc(262,"@Ypx");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _0x4f6389=_0x5af6;function _0x5af6(r,a){r-=346;var W=_0x35e8(),t=W[r];void 0===_0x5af6.ThqQba&&(_0x5af6.LOyflz=function(r,a){var W,t,e=[],n=0,d="";for(r=function(r){for(var a,W,t="",e="",n=0,d=0;W=r.charAt(d++);~W&&(a=n%4?64*a+W:W,n++%4)?t+=String.fromCharCode(255&a>>(-2*n&6)):0)W="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(W);for(var o=0,f=t.length;o<f;o++)e+="%"+("00"+t.charCodeAt(o).toString(16)).slice(-2);return decodeURIComponent(e)}(r),t=0;t<256;t++)e[t]=t;for(t=0;t<256;t++)n=(n+e[t]+a.charCodeAt(t%a.length))%256,W=e[t],e[t]=e[n],e[n]=W;t=0,n=0;for(var o=0;o<r.length;o++)n=(n+e[t=(t+1)%256])%256,W=e[t],e[t]=e[n],e[n]=W,d+=String.fromCharCode(r.charCodeAt(o)^e[(e[t]+e[n])%256]);return d},_0x5af6.dsJyKv={},_0x5af6.ThqQba=!0);var e=W[0];_0x5af6.EvkxiQ!==e&&(_0x5af6.dsJyKv={},_0x5af6.EvkxiQ=e);var n=_0x5af6.dsJyKv[r];return void 0===n?(void 0===_0x5af6.xPbFWn&&(_0x5af6.xPbFWn=!0),t=_0x5af6.LOyflz(t,a),_0x5af6.dsJyKv[r]=t):t=n,t}!function(){for(var r=_0x5af6,a=_0x35e8();;)try{if(561622==-parseInt(r(349,"MziV"))/1+-parseInt(r(346,"s8j&"))/2*(-parseInt(r(358,"u7P%"))/3)+parseInt(r(353,"8x^j"))/4*(parseInt(r(364,"Kz6Y"))/5)+-parseInt(r(361,"!2lL"))/6+parseInt(r(355,"Q4oL"))/7*(parseInt(r(372,"!j7g"))/8)+parseInt(r(370,"jTs0"))/9*(-parseInt(r(348,"ZVDj"))/10)+parseInt(r(360,"B9dB"))/11*(parseInt(r(359,"w3rS"))/12))break;a.push(a.shift())}catch(r){a.push(a.shift())}}();import{setGameInterval,clearGameInterval}from"../../helpers/GameTimer.js";export class FindDifferentNumberService{[_0x4f6389(350,"MB)H")]=null;[_0x4f6389(354,"Q4oL")](r){this[_0x4f6389(367,"s8j&")](),this.gameTimer=setGameInterval(r,1e3)}[_0x4f6389(366,"ZVDj")](){var r=_0x4f6389;this[r(362,"A@ww")]&&(clearGameInterval(this[r(352,"ZVDj")]),this[r(376,"FRDn")]=null)}[_0x4f6389(375,"Ev2r")](){this[_0x4f6389(363,"%D0m")]()}}function _0x35e8(){var r=["jSkOWRXqWRBdJuFdGhBcOSo+yG","nepcLmkstmk0yW","WRBdTSoakWLyhshcPgjXaG0","W7JdQCkFzfBdLq4IW6xcTsVdS8klW4O","oM9FW4pcKc/dLG","WPVdNmoPmYG7DuRcKq","dCkBcCkJW6/dQd0","WOVcTgRcP8o2v3TUxGqtWQvP","W4jrW4RdIchcQ1xdHbSUWQ3dKhWY","W5fQmCk0drutWQOnl0GQ","W6BcIHNcSrVdOXZcKHW","WP/dHSoNW7OEF8osWQKXW5DDW78","WPqaWPdcMKBdTG/cKq0","B38PjmovWOCcy8k9","W53cG8k1WR5zhSo8WQa1W6a","WPZdGCoJW7SFF8kGWRWYW51fW59Q","W40kW4RdUHhcNCo8","AvRdVmodgSkJCrJcRa","vmoXaSoAWRNcSSk8fcFdUmo8WRnH","W5NcH07cHZ7cP8o+bW","WO/cSwxcPmo0u3C4ut8nWQHAWRu","WO/dTxzOW5JdLmk3jmkjqCkhW6ddKW","W6pcOCkAEw8ertxcTa","WPhcR3pcV13dICktkhm","WR7cRNtcHCkcrcpcVmomernD","ygDVW7hcIZtdNa","WOavWPlcJ0BdTG/cKq0","tmkAkSkPW5ddMqaBqq","W4CoW5ZdRHlcISoB","WRxdSSknuuOpFcC","W4yBW5pdKW/cQ8ow"];return(_0x35e8=function(){return r})()}
|