scrabble-solver 2.16.7 → 2.18.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/.github/workflows/bunx.yml +13 -10
- package/.github/workflows/e2e.yml +7 -9
- package/.github/workflows/npx.yml +13 -10
- package/.nx/workspace-data/d/server-process.json +2 -2
- package/.nx/workspace-data/file-map.json +796 -816
- package/.nx/workspace-data/lockfile-dependencies.hash +1 -1
- package/.nx/workspace-data/lockfile-nodes.hash +1 -1
- package/.nx/workspace-data/nx_files.nxt +0 -0
- package/.nx/workspace-data/parsed-lock-file.dependencies.json +218 -1298
- package/.nx/workspace-data/parsed-lock-file.nodes.json +770 -2669
- package/.nx/workspace-data/project-graph.json +1083 -4104
- package/.nx/workspace-data/source-maps.json +128 -0
- package/.oxlintrc.json +13 -10
- package/CLAUDE.md +36 -28
- package/README.md +17 -1
- package/bun.lock +233 -528
- package/e2e/app.spec.ts +124 -0
- package/e2e/bugs/112-character-bonus.spec.ts +25 -0
- package/e2e/bugs/129-esc-sidebar.spec.ts +17 -0
- package/e2e/bugs/2-q-tile-in-english.spec.ts +19 -0
- package/e2e/bugs/3-x-tile-in-polish.spec.ts +19 -0
- package/e2e/bugs/30-click-inside-radio-icon.spec.ts +25 -0
- package/e2e/bugs/333-disabled-radio-cursor.spec.ts +18 -0
- package/e2e/bugs/342-results-sorting.spec.ts +30 -0
- package/e2e/bugs/352-dictionary-race-condition.spec.ts +27 -0
- package/e2e/bugs/363-dictionary-input-unique-words.spec.ts +27 -0
- package/e2e/bugs/380-transliteration-when-pasting.spec.ts +55 -0
- package/e2e/bugs/398-digraphs-in-created-words.spec.ts +23 -0
- package/e2e/bugs/401-board-state-on-game-change.spec.ts +24 -0
- package/e2e/features/198-highlight-unreachable-cells.spec.ts +85 -0
- package/e2e/features/91-hover-remaining-tile-highlights.spec.ts +76 -0
- package/e2e/features/hidden-coordinates-migration.spec.ts +27 -0
- package/e2e/features/solver-paths.spec.ts +45 -0
- package/e2e/lib/actions.ts +119 -0
- package/e2e/lib/selectors.ts +71 -0
- package/e2e/tsconfig.json +10 -0
- package/lerna.json +1 -1
- package/package.json +16 -18
- package/packages/configs/package.json +3 -3
- package/packages/constants/package.json +1 -1
- package/packages/dictionaries/README.md +1 -1
- package/packages/dictionaries/build/Dictionaries.d.ts +2 -2
- package/packages/dictionaries/build/Dictionaries.js +6 -6
- package/packages/dictionaries/build/lib/DiskCache.d.ts +11 -4
- package/packages/dictionaries/build/lib/DiskCache.js +27 -10
- package/packages/dictionaries/build/lib/LayeredCache.d.ts +4 -4
- package/packages/dictionaries/build/lib/LayeredCache.js +3 -3
- package/packages/dictionaries/build/lib/MemoryCache.d.ts +4 -4
- package/packages/dictionaries/build/lib/MemoryCache.js +2 -2
- package/packages/dictionaries/build/lib/createCacheTimestampComparator.d.ts +2 -2
- package/packages/dictionaries/build/lib/downloadDictionary.d.ts +2 -2
- package/packages/dictionaries/build/lib/downloadDictionary.js +4 -3
- package/packages/dictionaries/build/lib/getDictionaryFilepath.d.ts +3 -1
- package/packages/dictionaries/build/lib/getDictionaryFilepath.js +8 -3
- package/packages/dictionaries/package.json +7 -6
- package/packages/dictionaries/src/Dictionaries.ts +12 -12
- package/packages/dictionaries/src/lib/DiskCache.test.ts +85 -0
- package/packages/dictionaries/src/lib/DiskCache.ts +34 -14
- package/packages/dictionaries/src/lib/LayeredCache.ts +7 -7
- package/packages/dictionaries/src/lib/MemoryCache.ts +6 -6
- package/packages/dictionaries/src/lib/createCacheTimestampComparator.ts +2 -2
- package/packages/dictionaries/src/lib/downloadDictionary.ts +5 -4
- package/packages/dictionaries/src/lib/getDictionaryFilepath.ts +7 -2
- package/packages/gaddag/build/Gaddag.d.ts +39 -0
- package/packages/gaddag/build/Gaddag.js +128 -0
- package/packages/gaddag/build/buildGaddag.d.ts +10 -0
- package/packages/gaddag/build/buildGaddag.js +360 -0
- package/packages/gaddag/build/constants.d.ts +12 -0
- package/packages/gaddag/build/constants.js +15 -0
- package/packages/gaddag/build/index.d.ts +3 -0
- package/packages/gaddag/build/index.js +13 -0
- package/packages/logger/package.json +1 -1
- package/packages/scrabble-solver/.next/BUILD_ID +1 -1
- package/packages/scrabble-solver/.next/build-manifest.json +22 -20
- package/packages/scrabble-solver/.next/cache/.previewinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.rscinfo +1 -1
- package/packages/scrabble-solver/.next/cache/.tsbuildinfo +1 -1
- package/packages/scrabble-solver/.next/cache/webpack/client-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/edge-server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/0.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack +0 -0
- package/packages/scrabble-solver/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/packages/scrabble-solver/.next/diagnostics/framework.json +1 -1
- package/packages/scrabble-solver/.next/dynamic-css-manifest.json +8 -1
- package/packages/scrabble-solver/.next/next-minimal-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/next-server.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/prerender-manifest.json +4 -4
- package/packages/scrabble-solver/.next/react-loadable-manifest.json +176 -1
- package/packages/scrabble-solver/.next/required-server-files.js +3 -2
- package/packages/scrabble-solver/.next/required-server-files.json +3 -2
- package/packages/scrabble-solver/.next/routes-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/chunks/30.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/309.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/316.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/344.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/371.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/392.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/465.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/546.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/623.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/624.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/641.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/671.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/692.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/705.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/712.js +1 -1
- package/packages/scrabble-solver/.next/server/chunks/846.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/853.js +15 -0
- package/packages/scrabble-solver/.next/server/chunks/886.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/916.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/953.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/961.js +1 -0
- package/packages/scrabble-solver/.next/server/chunks/968.js +1 -0
- package/packages/scrabble-solver/.next/server/dynamic-css-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/middleware-build-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/404.html +28 -1
- package/packages/scrabble-solver/.next/server/pages/500.html +28 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/_app.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/_document.js +28 -1
- package/packages/scrabble-solver/.next/server/pages/_document.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/_error.js +28 -1
- package/packages/scrabble-solver/.next/server/pages/_error.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale]/[word].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/dictionary/[locale].js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/solve.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/verify.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/api/visit.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.html +28 -1
- package/packages/scrabble-solver/.next/server/pages/index.js +30 -1
- package/packages/scrabble-solver/.next/server/pages/index.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/index.json +1 -1
- package/packages/scrabble-solver/.next/server/pages/not-found.html +28 -1
- package/packages/scrabble-solver/.next/server/pages/not-found.js.nft.json +1 -1
- package/packages/scrabble-solver/.next/server/pages-manifest.json +1 -1
- package/packages/scrabble-solver/.next/server/webpack-api-runtime.js +1 -1
- package/packages/scrabble-solver/.next/server/webpack-runtime.js +1 -1
- package/packages/scrabble-solver/.next/static/FL82obwzFHRzvV6z76I-U/_buildManifest.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/101-829ab8a8d310e7a0.js +3 -0
- package/packages/scrabble-solver/.next/static/chunks/106.e414e88694add27f.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/127.125d896a19061d71.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/18.8b91e137d239e15c.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/277.6785dfaf22fdb0b7.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/307.67f52f13e3d60d4e.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/341.79535ba85bf1986f.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/363.01eed3233f92b6a4.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/422.1559ae6756912ca5.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/541.dcd9e8b804f88da5.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/583.7a46807be14c377e.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/631.98d42abad0a60af6.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/663.d2c9ca36b26695b8.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/711.ba7b8f900dfd40d0.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/744.b06c9a3de4a1d877.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/820.97b82f751ca49579.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/865.a9b563a45848a83c.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/912.ff8037ba9d4db5c8.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/939.19b33a3d3c351d73.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/990.61296e5870b91f11.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/framework-626cbd48ac5aca57.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/main-b92e08f3fc96dd8d.js +5 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-ba5d628e81a15461.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/{_error-afeda7c5231b6c3c.js → _error-f0290a98eb3ed0ec.js} +1 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/index-5f9fa6ac3cd3d97b.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/pages/not-found-23d61fd3ed791cad.js +1 -0
- package/packages/scrabble-solver/.next/static/chunks/webpack-e34c3ae12275e978.js +1 -0
- package/packages/scrabble-solver/.next/static/css/2d03f0da2c678dfc.css +1 -0
- package/packages/scrabble-solver/.next/static/css/7b6724d2df70f48f.css +1 -0
- package/packages/scrabble-solver/.next/static/css/abc2425d3ba607bc.css +1 -0
- package/packages/scrabble-solver/.next/static/css/b736be3bd02b5d99.css +1 -0
- package/packages/scrabble-solver/.next/static/css/b74cd7de82dabcdd.css +1 -0
- package/packages/scrabble-solver/.next/static/css/c403ce739a9c0d83.css +1 -0
- package/packages/scrabble-solver/.next/static/css/ca311e6c030663d4.css +1 -0
- package/packages/scrabble-solver/.next/static/css/dee878eb64099d92.css +1 -0
- package/packages/scrabble-solver/.next/static/css/fbfdce70731d0d2b.css +1 -0
- package/packages/scrabble-solver/.next/trace +21 -21
- package/packages/scrabble-solver/.next/trace-build +1 -1
- package/packages/scrabble-solver/empty-module.js +2 -0
- package/packages/scrabble-solver/next.config.js +13 -8
- package/packages/scrabble-solver/package.json +34 -15
- package/packages/scrabble-solver/public/llms.txt +11 -0
- package/packages/scrabble-solver/public/robots.txt +4 -0
- package/packages/scrabble-solver/public/service-worker.js +2 -2
- package/packages/scrabble-solver/scripts/generate-scss-types.ts +112 -0
- package/packages/scrabble-solver/src/@types/scss.d.ts +6 -9
- package/packages/scrabble-solver/src/@types/svg.d.ts +1 -1
- package/packages/scrabble-solver/src/components/Alert/Alert.module.scss.d.ts +13 -0
- package/packages/scrabble-solver/src/components/Alert/Alert.tsx +4 -1
- package/packages/scrabble-solver/src/components/Badge/Badge.module.scss.d.ts +6 -0
- package/packages/scrabble-solver/src/components/Board/Board.module.scss +10 -0
- package/packages/scrabble-solver/src/components/Board/Board.module.scss.d.ts +17 -0
- package/packages/scrabble-solver/src/components/Board/Board.tsx +14 -26
- package/packages/scrabble-solver/src/components/Board/BoardPure.tsx +54 -49
- package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.module.scss +18 -18
- package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/Board/components/Actions/Actions.tsx +6 -3
- package/packages/scrabble-solver/src/components/Board/components/Actions/lib.ts +3 -1
- package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.module.scss.d.ts +13 -0
- package/packages/scrabble-solver/src/components/Board/components/Cell/Cell.tsx +32 -34
- package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.module.scss.d.ts +10 -0
- package/packages/scrabble-solver/src/components/Board/components/InputPrompt/InputPrompt.tsx +1 -1
- package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/ToggleDirectionButton.module.scss.d.ts +8 -0
- package/packages/scrabble-solver/src/components/Board/components/ToggleDirectionButton/ToggleDirectionButton.tsx +2 -2
- package/packages/scrabble-solver/src/components/Board/getBoardBackground.ts +175 -0
- package/packages/scrabble-solver/src/components/Board/hooks/index.ts +0 -1
- package/packages/scrabble-solver/src/components/Board/hooks/useBoardStyle.ts +10 -20
- package/packages/scrabble-solver/src/components/Board/hooks/useFloatingActions.ts +3 -6
- package/packages/scrabble-solver/src/components/Board/hooks/useGrid.ts +23 -9
- package/packages/scrabble-solver/src/components/Board/selectors.ts +1 -1
- package/packages/scrabble-solver/src/components/Button/Button.module.scss.d.ts +12 -0
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss +8 -22
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.module.scss.d.ts +14 -0
- package/packages/scrabble-solver/src/components/Dictionary/Dictionary.tsx +1 -10
- package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/DictionaryInput/DictionaryInput.tsx +1 -1
- package/packages/scrabble-solver/src/components/EmptyState/EmptyState.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/EmptyState/EmptyState.tsx +1 -1
- package/packages/scrabble-solver/src/components/IconButton/IconButton.module.scss.d.ts +8 -0
- package/packages/scrabble-solver/src/components/Key/Key.module.scss.d.ts +6 -0
- package/packages/scrabble-solver/src/components/Keys/Arrows/Arrows.module.scss.d.ts +11 -0
- package/packages/scrabble-solver/src/components/Keys/Arrows/Arrows.tsx +4 -1
- package/packages/scrabble-solver/src/components/Keys/index.tsx +1 -1
- package/packages/scrabble-solver/src/components/Loading/Loading.module.scss.d.ts +9 -0
- package/packages/scrabble-solver/src/components/Loading/Loading.tsx +1 -1
- package/packages/scrabble-solver/src/components/Logo/Logo.tsx +4 -9
- package/packages/scrabble-solver/src/components/Logo/LogoBlueprint.tsx +1 -0
- package/packages/scrabble-solver/src/components/Modal/Modal.module.scss.d.ts +15 -0
- package/packages/scrabble-solver/src/components/Modal/Modal.tsx +16 -3
- package/packages/scrabble-solver/src/components/Modal/components/Section/Section.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/NavButtons/NavButtons.module.scss +20 -0
- package/packages/scrabble-solver/src/components/NavButtons/NavButtons.module.scss.d.ts +13 -0
- package/packages/scrabble-solver/src/components/NavButtons/NavButtons.tsx +29 -45
- package/packages/scrabble-solver/src/components/NotFound/NotFound.module.scss.d.ts +9 -0
- package/packages/scrabble-solver/src/components/NotFound/NotFound.tsx +1 -1
- package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.module.scss.d.ts +11 -0
- package/packages/scrabble-solver/src/components/PlainTiles/PlainTiles.tsx +0 -1
- package/packages/scrabble-solver/src/components/PlainTiles/Tile.tsx +3 -4
- package/packages/scrabble-solver/src/components/PlainTiles/lib.ts +4 -19
- package/packages/scrabble-solver/src/components/PlainTiles/types.ts +0 -1
- package/packages/scrabble-solver/src/components/Progress/Progress.module.scss +7 -0
- package/packages/scrabble-solver/src/components/Progress/Progress.module.scss.d.ts +6 -0
- package/packages/scrabble-solver/src/components/Progress/Progress.tsx +2 -11
- package/packages/scrabble-solver/src/components/Rack/Rack.module.scss +3 -0
- package/packages/scrabble-solver/src/components/Rack/Rack.module.scss.d.ts +10 -0
- package/packages/scrabble-solver/src/components/Rack/Rack.tsx +8 -11
- package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.module.scss +2 -0
- package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/InputPrompt.tsx +1 -13
- package/packages/scrabble-solver/src/components/Rack/components/InputPrompt/lib.ts +1 -1
- package/packages/scrabble-solver/src/components/Rack/components/RackTile/RackTile.module.scss.d.ts +6 -0
- package/packages/scrabble-solver/src/components/Rack/components/RackTile/RackTile.tsx +5 -4
- package/packages/scrabble-solver/src/components/Rack/selectors.ts +1 -1
- package/packages/scrabble-solver/src/components/Radio/Radio.module.scss.d.ts +12 -0
- package/packages/scrabble-solver/src/components/Results/Cell.tsx +3 -12
- package/packages/scrabble-solver/src/components/Results/Header.tsx +9 -18
- package/packages/scrabble-solver/src/components/Results/HeaderButton.tsx +4 -5
- package/packages/scrabble-solver/src/components/Results/Result.tsx +4 -15
- package/packages/scrabble-solver/src/components/Results/Results.module.scss +4 -7
- package/packages/scrabble-solver/src/components/Results/Results.module.scss.d.ts +27 -0
- package/packages/scrabble-solver/src/components/Results/Results.tsx +14 -5
- package/packages/scrabble-solver/src/components/Results/SolveButton.tsx +1 -1
- package/packages/scrabble-solver/src/components/Results/types.ts +3 -3
- package/packages/scrabble-solver/src/components/ResultsInput/ResultsInput.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/ResultsInput/ResultsInput.tsx +1 -1
- package/packages/scrabble-solver/src/components/Solver/Solver.module.scss +6 -5
- package/packages/scrabble-solver/src/components/Solver/Solver.module.scss.d.ts +20 -0
- package/packages/scrabble-solver/src/components/Solver/Solver.tsx +23 -24
- package/packages/scrabble-solver/src/components/Solver/components/InsertButton/InsertButton.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/Solver/components/InsertButton/InsertButton.tsx +1 -1
- package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.module.scss.d.ts +18 -0
- package/packages/scrabble-solver/src/components/Solver/components/ResultCandidatePicker/ResultCandidatePicker.tsx +3 -1
- package/packages/scrabble-solver/src/components/Spinner/Spinner.module.scss.d.ts +10 -0
- package/packages/scrabble-solver/src/components/Tile/Tile.module.scss +3 -0
- package/packages/scrabble-solver/src/components/Tile/Tile.module.scss.d.ts +19 -0
- package/packages/scrabble-solver/src/components/Tile/Tile.tsx +5 -14
- package/packages/scrabble-solver/src/components/Tile/TilePure.tsx +2 -12
- package/packages/scrabble-solver/src/components/Tooltip/Tooltip.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/components/Tooltip/Tooltip.tsx +14 -3
- package/packages/scrabble-solver/src/components/Tooltip/useTooltip.ts +2 -1
- package/packages/scrabble-solver/src/hooks/useColumns.ts +4 -7
- package/packages/scrabble-solver/src/hooks/useDeferredRender.ts +20 -0
- package/packages/scrabble-solver/src/hooks/useDirection.ts +4 -3
- package/packages/scrabble-solver/src/hooks/useLanguage.ts +2 -2
- package/packages/scrabble-solver/src/hooks/useLocalStorage.ts +32 -8
- package/packages/scrabble-solver/src/hooks/useMedia.ts +26 -26
- package/packages/scrabble-solver/src/i18n/constants.ts +2 -15
- package/packages/scrabble-solver/src/i18n/i18n.ts +18 -17
- package/packages/scrabble-solver/src/i18n/languages/english.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/french.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/german.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/persian.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/polish.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/romanian.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/spanish.json +0 -1
- package/packages/scrabble-solver/src/i18n/languages/turkish.json +0 -1
- package/packages/scrabble-solver/src/i18n/localeIcons.ts +24 -0
- package/packages/scrabble-solver/src/lib/localeTransliterate.test.ts +5 -0
- package/packages/scrabble-solver/src/lib/localeTransliterate.ts +26 -6
- package/packages/scrabble-solver/src/lib/waitForIdleOrFirstIntent.ts +33 -0
- package/packages/scrabble-solver/src/modals/DictionaryModal/DictionaryModal.module.scss.d.ts +8 -0
- package/packages/scrabble-solver/src/modals/DictionaryModal/DictionaryModal.tsx +3 -1
- package/packages/scrabble-solver/src/modals/KeyMapModal/KeyMapModal.tsx +3 -1
- package/packages/scrabble-solver/src/modals/KeyMapModal/components/Mapping/Mapping.module.scss.d.ts +11 -0
- package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.module.scss +5 -0
- package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.module.scss.d.ts +10 -0
- package/packages/scrabble-solver/src/modals/MenuModal/MenuModal.tsx +16 -5
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.module.scss +4 -1
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.module.scss.d.ts +9 -0
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/RemainingTilesModal.tsx +4 -6
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.module.scss +1 -0
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.module.scss.d.ts +12 -0
- package/packages/scrabble-solver/src/modals/RemainingTilesModal/components/Character/Character.tsx +5 -12
- package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.module.scss.d.ts +8 -0
- package/packages/scrabble-solver/src/modals/ResultsModal/ResultsModal.tsx +8 -4
- package/packages/scrabble-solver/src/modals/SettingsModal/SettingsModal.tsx +2 -2
- package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/AutoGroupTilesSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/AutoGroupTilesSetting/AutoGroupTilesSetting.tsx +1 -1
- package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/ConfigSetting/ConfigSetting.tsx +1 -1
- package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/HighlightUnreachableCellsSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/HighlightUnreachableCellsSetting/HighlightUnreachableCellsSetting.tsx +1 -1
- package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/InputModeSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/InputModeSetting/InputModeSetting.tsx +1 -1
- package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.module.scss.d.ts +8 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/LocaleSetting/LocaleSetting.tsx +24 -21
- package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/RemoveCellFiltersSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/RemoveCellFiltersSetting/RemoveCellFiltersSetting.tsx +1 -1
- package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/ShowCoordinatesSetting.module.scss.d.ts +7 -0
- package/packages/scrabble-solver/src/modals/SettingsModal/components/ShowCoordinatesSetting/ShowCoordinatesSetting.tsx +1 -5
- package/packages/scrabble-solver/src/modals/WordsModal/WordsModal.module.scss.d.ts +11 -0
- package/packages/scrabble-solver/src/modals/WordsModal/WordsModal.tsx +4 -2
- package/packages/scrabble-solver/src/modals/preload.ts +24 -0
- package/packages/scrabble-solver/src/pages/_app.tsx +5 -8
- package/packages/scrabble-solver/src/pages/_document.tsx +91 -5
- package/packages/scrabble-solver/src/pages/api/dictionary/[locale]/[word].ts +2 -2
- package/packages/scrabble-solver/src/pages/api/dictionary/[locale]/index.ts +80 -3
- package/packages/scrabble-solver/src/pages/api/solve.ts +3 -3
- package/packages/scrabble-solver/src/pages/api/verify.ts +12 -3
- package/packages/scrabble-solver/src/pages/index.module.scss +1 -0
- package/packages/scrabble-solver/src/pages/index.module.scss.d.ts +11 -0
- package/packages/scrabble-solver/src/pages/index.tsx +98 -38
- package/packages/scrabble-solver/src/pages/not-found.tsx +1 -1
- package/packages/scrabble-solver/src/parameters/index.ts +24 -93
- package/packages/scrabble-solver/src/sdk/solve.ts +13 -7
- package/packages/scrabble-solver/src/sdk/verify.ts +12 -6
- package/packages/scrabble-solver/src/service-worker/appShell.test.ts +86 -0
- package/packages/scrabble-solver/src/service-worker/appShell.ts +39 -0
- package/packages/scrabble-solver/src/service-worker/index.ts +4 -5
- package/packages/scrabble-solver/src/serviceWorkerManager.ts +5 -19
- package/packages/scrabble-solver/src/solver-worker/client.test.ts +151 -0
- package/packages/scrabble-solver/src/solver-worker/client.ts +106 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/constants.ts +9 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/getDictionary.ts +21 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/index.ts +2 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidateDictionary.test.ts +199 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidateDictionary.ts +86 -0
- package/packages/scrabble-solver/src/solver-worker/dictionaries/revalidatedAt.ts +43 -0
- package/packages/scrabble-solver/src/solver-worker/getGaddag.test.ts +109 -0
- package/packages/scrabble-solver/src/solver-worker/getGaddag.ts +62 -0
- package/packages/scrabble-solver/src/solver-worker/index.ts +1 -0
- package/packages/scrabble-solver/src/solver-worker/index.worker.ts +124 -0
- package/packages/scrabble-solver/src/solver-worker/messages.ts +20 -0
- package/packages/scrabble-solver/src/state/actions.ts +1 -1
- package/packages/scrabble-solver/src/state/app/index.ts +4 -0
- package/packages/scrabble-solver/src/state/app/initialState.ts +6 -0
- package/packages/scrabble-solver/src/state/app/selectors.ts +5 -0
- package/packages/scrabble-solver/src/state/app/slice.ts +20 -0
- package/packages/scrabble-solver/src/state/app/types.ts +4 -0
- package/packages/scrabble-solver/src/state/board/initialState.ts +1 -2
- package/packages/scrabble-solver/src/state/i18n/index.ts +4 -0
- package/packages/scrabble-solver/src/state/i18n/initialState.ts +5 -0
- package/packages/scrabble-solver/src/state/i18n/selectors.ts +3 -0
- package/packages/scrabble-solver/src/state/i18n/slice.ts +16 -0
- package/packages/scrabble-solver/src/state/i18n/types.ts +7 -0
- package/packages/scrabble-solver/src/state/index.ts +3 -0
- package/packages/scrabble-solver/src/state/lib.ts +1 -1
- package/packages/scrabble-solver/src/state/localStorage.ts +86 -29
- package/packages/scrabble-solver/src/state/rack/initialState.ts +1 -2
- package/packages/scrabble-solver/src/state/rack/slice.ts +4 -1
- package/packages/scrabble-solver/src/state/results/lib.ts +5 -5
- package/packages/scrabble-solver/src/state/results/selectors.ts +1 -1
- package/packages/scrabble-solver/src/state/sagas.ts +139 -13
- package/packages/scrabble-solver/src/state/selectors.ts +1 -1
- package/packages/scrabble-solver/src/state/settings/initialState.ts +7 -10
- package/packages/scrabble-solver/src/state/settings/selectors.ts +7 -2
- package/packages/scrabble-solver/src/state/settings/slice.ts +5 -2
- package/packages/scrabble-solver/src/state/store.ts +4 -0
- package/packages/scrabble-solver/src/state/types.ts +4 -0
- package/packages/scrabble-solver/src/state/useTypedStore.ts +6 -0
- package/packages/scrabble-solver/src/styles/_tokens.scss +1 -0
- package/packages/scrabble-solver/src/styles/global.scss +9 -0
- package/packages/scrabble-solver/src/styles/variables.module.scss +0 -21
- package/packages/scrabble-solver/src/styles/variables.module.scss.d.ts +27 -0
- package/packages/scrabble-solver/src/styles/variables.scss +46 -2
- package/packages/scrabble-solver/src/types/api.ts +1 -2
- package/packages/scrabble-solver/src/types/index.ts +1 -2
- package/packages/scrabble-solver/tsconfig.json +4 -0
- package/packages/scrabble-solver/tsconfig.tsbuildinfo +1 -1
- package/packages/solver/README.md +24 -0
- package/packages/solver/benchmarks/index.ts +15 -0
- package/packages/solver/benchmarks/lib.ts +31 -0
- package/packages/solver/benchmarks/renderChart.ts +165 -0
- package/packages/solver/benchmarks/results/chart.svg +65 -0
- package/packages/solver/benchmarks/runBenchmarks.ts +66 -0
- package/packages/solver/benchmarks/scenarios.ts +64 -0
- package/packages/solver/benchmarks/types.ts +16 -0
- package/packages/solver/benchmarks/updateReadme.ts +53 -0
- package/packages/solver/build/MoveGenerator.d.ts +116 -0
- package/packages/solver/build/MoveGenerator.js +686 -0
- package/packages/solver/build/index.d.ts +0 -13
- package/packages/solver/build/index.js +1 -27
- package/packages/solver/build/solve.d.ts +2 -2
- package/packages/solver/build/solve.js +3 -19
- package/packages/solver/package.json +7 -6
- package/packages/solver/src/MoveGenerator.test.ts +1009 -0
- package/packages/solver/src/MoveGenerator.ts +926 -0
- package/packages/solver/src/ReferenceSolver.ts +401 -0
- package/packages/solver/src/index.ts +0 -13
- package/packages/solver/src/solve.test.ts +21 -21
- package/packages/solver/src/solve.ts +4 -22
- package/packages/solver/tsconfig.json +1 -1
- package/packages/types/build/Cell.d.ts +1 -0
- package/packages/types/build/Cell.js +3 -0
- package/packages/types/build/Direction.d.ts +1 -0
- package/packages/types/build/Result.d.ts +3 -2
- package/packages/types/build/Result.js +11 -6
- package/packages/types/build/ResultJson.d.ts +5 -4
- package/packages/types/build/ShowCoordinates.d.ts +1 -2
- package/packages/types/build/TextDirection.d.ts +1 -0
- package/packages/types/build/index.d.ts +2 -6
- package/packages/types/build/index.js +1 -9
- package/packages/types/build/readResultCells.d.ts +5 -0
- package/packages/types/build/readResultCells.js +75 -0
- package/packages/types/package.json +4 -3
- package/packages/types/src/Cell.ts +4 -0
- package/packages/types/src/Direction.ts +1 -0
- package/packages/types/src/Result.ts +15 -6
- package/packages/types/src/ResultJson.ts +5 -5
- package/packages/types/src/ShowCoordinates.ts +1 -2
- package/packages/types/src/TextDirection.ts +1 -0
- package/packages/types/src/index.ts +2 -6
- package/packages/types/src/readResultCells.test.ts +140 -0
- package/packages/types/src/readResultCells.ts +90 -0
- package/packages/word-definitions/package.json +2 -2
- package/packages/word-lists/package.json +2 -2
- package/playwright-report/index.html +49 -0
- package/playwright.config.ts +30 -0
- package/screencast.gif +0 -0
- package/scripts/record-screencast.ts +347 -0
- package/test-results/.last-run.json +4 -0
- package/tsconfig.json +1 -1
- package/babel.config.js +0 -4
- package/cypress/e2e/app.spec.cy.ts +0 -123
- package/cypress/e2e/bugs/112-character-bonus.ts +0 -40
- package/cypress/e2e/bugs/129-esc-sidebar.ts +0 -23
- package/cypress/e2e/bugs/2-q-tile-in-english.ts +0 -33
- package/cypress/e2e/bugs/3-x-tile-in-polish.ts +0 -33
- package/cypress/e2e/bugs/30-click-inside-radio-icon.ts +0 -26
- package/cypress/e2e/bugs/333-disabled-radio-cursor.ts +0 -24
- package/cypress/e2e/bugs/342-results-sorting.ts +0 -48
- package/cypress/e2e/bugs/348-results-word-padding.ts +0 -74
- package/cypress/e2e/bugs/352-dictionary-race-condition.ts +0 -29
- package/cypress/e2e/bugs/363-dictionary-input-unique-words.ts +0 -41
- package/cypress/e2e/bugs/380-transliteration-when-pasting.ts +0 -75
- package/cypress/e2e/bugs/398-digraphs-in-created-words.ts +0 -38
- package/cypress/e2e/bugs/401-board-state-on-game-change.ts +0 -36
- package/cypress/e2e/bugs.spec.cy.ts +0 -13
- package/cypress/e2e/features/198-highlight-unreachable-cells.ts +0 -101
- package/cypress/e2e/features/91-hover-remaining-tile-highlights.ts +0 -90
- package/cypress/e2e/features.spec.cy.ts +0 -2
- package/cypress/support/commands.ts +0 -4
- package/cypress/support/e2e.ts +0 -1
- package/cypress/support/index.ts +0 -1
- package/cypress/support/lib/actions.ts +0 -85
- package/cypress/support/lib/selectors.ts +0 -70
- package/cypress/tsconfig.json +0 -10
- package/cypress.config.ts +0 -17
- package/packages/scrabble-solver/.next/server/chunks/318.js +0 -3
- package/packages/scrabble-solver/.next/server/chunks/791.js +0 -15
- package/packages/scrabble-solver/.next/static/chunks/framework-3cf15b8041c59dd3.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/main-852475ca502b4e49.js +0 -5
- package/packages/scrabble-solver/.next/static/chunks/pages/_app-a5bbe02710f13d05.js +0 -7
- package/packages/scrabble-solver/.next/static/chunks/pages/index-ec0f6aeeaf7be227.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/pages/not-found-9e076427bad69d90.js +0 -1
- package/packages/scrabble-solver/.next/static/chunks/webpack-1a7a166b34ed8d24.js +0 -1
- package/packages/scrabble-solver/.next/static/css/0af35adb4bab56f0.css +0 -2
- package/packages/scrabble-solver/.next/static/css/a78e04fe95452380.css +0 -1
- package/packages/scrabble-solver/.next/static/vYpMmuC_yEurZGcyGVnLf/_buildManifest.js +0 -1
- package/packages/scrabble-solver/src/app-layout/AppLayoutContext.tsx +0 -25
- package/packages/scrabble-solver/src/app-layout/index.ts +0 -1
- package/packages/scrabble-solver/src/app-layout/useAppLayoutValue.ts +0 -112
- package/packages/scrabble-solver/src/components/Board/hooks/useBackgroundImage.tsx +0 -279
- package/packages/scrabble-solver/src/components/index.ts +0 -26
- package/packages/scrabble-solver/src/hooks/index.ts +0 -12
- package/packages/scrabble-solver/src/hooks/useOnWindowResize.ts +0 -11
- package/packages/scrabble-solver/src/hooks/useViewportSize.ts +0 -17
- package/packages/scrabble-solver/src/i18n/index.ts +0 -2
- package/packages/scrabble-solver/src/icons/Flag.svg +0 -4
- package/packages/scrabble-solver/src/icons/Star.svg +0 -4
- package/packages/scrabble-solver/src/icons/index.ts +0 -49
- package/packages/scrabble-solver/src/lib/getTileSizes.ts +0 -13
- package/packages/scrabble-solver/src/lib/index.ts +0 -24
- package/packages/scrabble-solver/src/modals/index.ts +0 -7
- package/packages/scrabble-solver/src/sdk/getDictionary.ts +0 -9
- package/packages/scrabble-solver/src/service-worker/average.ts +0 -7
- package/packages/scrabble-solver/src/service-worker/dictionaries/constants.ts +0 -5
- package/packages/scrabble-solver/src/service-worker/dictionaries/getDictionary.ts +0 -20
- package/packages/scrabble-solver/src/service-worker/dictionaries/index.ts +0 -2
- package/packages/scrabble-solver/src/service-worker/dictionaries/revalidateDictionary.ts +0 -33
- package/packages/scrabble-solver/src/service-worker/getTrie.ts +0 -24
- package/packages/scrabble-solver/src/service-worker/routeSolveRequests.ts +0 -91
- package/packages/scrabble-solver/src/service-worker/routeVerifyRequests.ts +0 -37
- package/packages/solver/build/areDigraphsValid.d.ts +0 -2
- package/packages/solver/build/areDigraphsValid.js +0 -17
- package/packages/solver/build/fillPattern.d.ts +0 -6
- package/packages/solver/build/fillPattern.js +0 -52
- package/packages/solver/build/generateEndIndices.d.ts +0 -2
- package/packages/solver/build/generateEndIndices.js +0 -17
- package/packages/solver/build/generateHorizontalPatterns.d.ts +0 -2
- package/packages/solver/build/generateHorizontalPatterns.js +0 -16
- package/packages/solver/build/generatePattern.d.ts +0 -7
- package/packages/solver/build/generatePattern.js +0 -20
- package/packages/solver/build/generatePatterns.d.ts +0 -2
- package/packages/solver/build/generatePatterns.js +0 -11
- package/packages/solver/build/generateStartIndices.d.ts +0 -2
- package/packages/solver/build/generateStartIndices.js +0 -16
- package/packages/solver/build/generateVectors.d.ts +0 -7
- package/packages/solver/build/generateVectors.js +0 -7
- package/packages/solver/build/generateVerticalPatterns.d.ts +0 -2
- package/packages/solver/build/generateVerticalPatterns.js +0 -16
- package/packages/solver/build/getCellsScore.d.ts +0 -2
- package/packages/solver/build/getCellsScore.js +0 -18
- package/packages/solver/build/getPatternHash.d.ts +0 -2
- package/packages/solver/build/getPatternHash.js +0 -14
- package/packages/solver/build/getPatternScore.d.ts +0 -2
- package/packages/solver/build/getPatternScore.js +0 -22
- package/packages/solver/build/getUniquePatterns.d.ts +0 -2
- package/packages/solver/build/getUniquePatterns.js +0 -17
- package/packages/solver/src/areDigraphsValid.ts +0 -18
- package/packages/solver/src/fillPattern.test.ts +0 -107
- package/packages/solver/src/fillPattern.ts +0 -68
- package/packages/solver/src/generateEndIndices.test.ts +0 -23
- package/packages/solver/src/generateEndIndices.ts +0 -19
- package/packages/solver/src/generateHorizontalPatterns.test.ts +0 -31
- package/packages/solver/src/generateHorizontalPatterns.ts +0 -15
- package/packages/solver/src/generatePattern.ts +0 -33
- package/packages/solver/src/generatePatterns.test.ts +0 -13
- package/packages/solver/src/generatePatterns.ts +0 -11
- package/packages/solver/src/generateStartIndices.test.ts +0 -19
- package/packages/solver/src/generateStartIndices.ts +0 -17
- package/packages/solver/src/generateVectors.test.ts +0 -12
- package/packages/solver/src/generateVectors.ts +0 -10
- package/packages/solver/src/generateVerticalPatterns.test.ts +0 -32
- package/packages/solver/src/generateVerticalPatterns.ts +0 -15
- package/packages/solver/src/getCellsScore.ts +0 -21
- package/packages/solver/src/getPatternHash.test.ts +0 -17
- package/packages/solver/src/getPatternHash.ts +0 -12
- package/packages/solver/src/getPatternScore.test.ts +0 -204
- package/packages/solver/src/getPatternScore.ts +0 -23
- package/packages/solver/src/getUniquePatterns.ts +0 -19
- package/packages/types/build/CollisionJson.d.ts +0 -2
- package/packages/types/build/FinalPattern.d.ts +0 -6
- package/packages/types/build/FinalPattern.js +0 -14
- package/packages/types/build/HorizontalPattern.d.ts +0 -5
- package/packages/types/build/HorizontalPattern.js +0 -34
- package/packages/types/build/Pattern.d.ts +0 -20
- package/packages/types/build/Pattern.js +0 -50
- package/packages/types/build/PatternJson.d.ts +0 -6
- package/packages/types/build/VerticalPattern.d.ts +0 -5
- package/packages/types/build/VerticalPattern.js +0 -34
- package/packages/types/src/CollisionJson.ts +0 -3
- package/packages/types/src/FinalPattern.ts +0 -14
- package/packages/types/src/HorizontalPattern.ts +0 -37
- package/packages/types/src/Pattern.ts +0 -71
- package/packages/types/src/PatternJson.ts +0 -7
- package/packages/types/src/VerticalPattern.ts +0 -37
- /package/{cypress/support → e2e}/lib/index.ts +0 -0
- /package/packages/scrabble-solver/.next/static/{vYpMmuC_yEurZGcyGVnLf → FL82obwzFHRzvV6z76I-U}/_ssgManifest.js +0 -0
- /package/packages/scrabble-solver/src/{service-worker → solver-worker}/dictionaries/expirationManager.ts +0 -0
- /package/packages/scrabble-solver/src/{service-worker → solver-worker}/dictionaries/getDictionaryUrl.ts +0 -0
- /package/packages/types/build/{CollisionJson.js → Direction.js} +0 -0
- /package/packages/types/build/{PatternJson.js → TextDirection.js} +0 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildGaddag = void 0;
|
|
4
|
+
/* eslint-disable max-depth, max-lines, max-statements, no-bitwise */
|
|
5
|
+
const constants_1 = require("./constants");
|
|
6
|
+
const Gaddag_1 = require("./Gaddag");
|
|
7
|
+
/**
|
|
8
|
+
* Builds a minimal GADDAG from a word list.
|
|
9
|
+
*
|
|
10
|
+
* The construction generates every GADDAG sequence (`reverse(prefix) [+ ◇ + suffix]`)
|
|
11
|
+
* as a compact `(wordIndex << 6) | splitIndex` integer, orders them with an in-place
|
|
12
|
+
* MSD radix sort, and feeds them to an incremental minimal-automaton builder
|
|
13
|
+
* (Daciuk et al., 2000) backed by typed arrays and an open-addressing state registry.
|
|
14
|
+
*/
|
|
15
|
+
const buildGaddag = (words) => {
|
|
16
|
+
const { charCodes, letterByCharCode } = buildAlphabet(words);
|
|
17
|
+
const { itemsCount, wordBytes, wordOffsets, wordsCount } = encodeWords(words, letterByCharCode);
|
|
18
|
+
const items = generateItems(wordsCount, wordOffsets, itemsCount);
|
|
19
|
+
sortItems(items, wordBytes, wordOffsets);
|
|
20
|
+
return insertItems(items, wordBytes, wordOffsets, charCodes);
|
|
21
|
+
};
|
|
22
|
+
exports.buildGaddag = buildGaddag;
|
|
23
|
+
const buildAlphabet = (words) => {
|
|
24
|
+
const codes = new Set();
|
|
25
|
+
for (const word of words) {
|
|
26
|
+
if (word.length > constants_1.MAX_WORD_LENGTH) {
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
for (let index = 0; index < word.length; ++index) {
|
|
30
|
+
codes.add(word.charCodeAt(index));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (codes.size > constants_1.MAX_LETTERS) {
|
|
34
|
+
throw new Error(`Gaddag supports up to ${constants_1.MAX_LETTERS} distinct characters, got ${codes.size}`);
|
|
35
|
+
}
|
|
36
|
+
const charCodes = Int32Array.from([...codes].sort((a, b) => a - b));
|
|
37
|
+
const letterByCharCode = new Map();
|
|
38
|
+
for (let index = 0; index < charCodes.length; ++index) {
|
|
39
|
+
letterByCharCode.set(charCodes[index], index + 1);
|
|
40
|
+
}
|
|
41
|
+
return { charCodes, letterByCharCode };
|
|
42
|
+
};
|
|
43
|
+
const encodeWords = (words, letterByCharCode) => {
|
|
44
|
+
let totalLength = 0;
|
|
45
|
+
let wordsCount = 0;
|
|
46
|
+
for (const word of words) {
|
|
47
|
+
if (word.length === 0 || word.length > constants_1.MAX_WORD_LENGTH) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
totalLength += word.length;
|
|
51
|
+
++wordsCount;
|
|
52
|
+
}
|
|
53
|
+
if (wordsCount >= 1 << 25) {
|
|
54
|
+
throw new Error('Gaddag supports up to 33M words');
|
|
55
|
+
}
|
|
56
|
+
const wordBytes = new Uint8Array(totalLength);
|
|
57
|
+
const wordOffsets = new Int32Array(wordsCount + 1);
|
|
58
|
+
let offset = 0;
|
|
59
|
+
let wordIndex = 0;
|
|
60
|
+
for (const word of words) {
|
|
61
|
+
if (word.length === 0 || word.length > constants_1.MAX_WORD_LENGTH) {
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
wordOffsets[wordIndex] = offset;
|
|
65
|
+
for (let index = 0; index < word.length; ++index) {
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
67
|
+
wordBytes[offset] = letterByCharCode.get(word.charCodeAt(index));
|
|
68
|
+
++offset;
|
|
69
|
+
}
|
|
70
|
+
++wordIndex;
|
|
71
|
+
}
|
|
72
|
+
wordOffsets[wordsCount] = offset;
|
|
73
|
+
return { itemsCount: totalLength, wordBytes, wordOffsets, wordsCount };
|
|
74
|
+
};
|
|
75
|
+
const generateItems = (wordsCount, wordOffsets, itemsCount) => {
|
|
76
|
+
const items = new Int32Array(itemsCount);
|
|
77
|
+
let itemIndex = 0;
|
|
78
|
+
for (let wordIndex = 0; wordIndex < wordsCount; ++wordIndex) {
|
|
79
|
+
const length = wordOffsets[wordIndex + 1] - wordOffsets[wordIndex];
|
|
80
|
+
for (let split = 1; split <= length; ++split) {
|
|
81
|
+
items[itemIndex] = (wordIndex << 6) | split;
|
|
82
|
+
++itemIndex;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return items;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Radix character of sequence `item` at position `depth`:
|
|
89
|
+
* 0 = end of sequence, 1 = separator, letter + 1 otherwise.
|
|
90
|
+
*/
|
|
91
|
+
const charAt = (item, depth, wordBytes, wordOffsets) => {
|
|
92
|
+
const wordIndex = item >>> 6;
|
|
93
|
+
const split = item & 63;
|
|
94
|
+
const offset = wordOffsets[wordIndex];
|
|
95
|
+
if (depth < split) {
|
|
96
|
+
return wordBytes[offset + split - 1 - depth] + 1;
|
|
97
|
+
}
|
|
98
|
+
if (depth === split) {
|
|
99
|
+
return split < wordOffsets[wordIndex + 1] - offset ? 1 : 0;
|
|
100
|
+
}
|
|
101
|
+
return depth <= wordOffsets[wordIndex + 1] - offset ? wordBytes[offset + depth - 1] + 1 : 0;
|
|
102
|
+
};
|
|
103
|
+
const RADIX = constants_1.MAX_LETTERS + 2;
|
|
104
|
+
const sortItems = (items, wordBytes, wordOffsets) => {
|
|
105
|
+
const auxiliary = new Int32Array(items.length);
|
|
106
|
+
const counts = new Int32Array(RADIX);
|
|
107
|
+
const starts = new Int32Array(RADIX);
|
|
108
|
+
// Manual stack of (low, high, depth) ranges to avoid recursion.
|
|
109
|
+
let stack = new Int32Array(3 * 64);
|
|
110
|
+
let stackTop = 0;
|
|
111
|
+
const push = (low, high, depth) => {
|
|
112
|
+
if (stackTop + 3 > stack.length) {
|
|
113
|
+
const grown = new Int32Array(stack.length * 2);
|
|
114
|
+
grown.set(stack);
|
|
115
|
+
stack = grown;
|
|
116
|
+
}
|
|
117
|
+
stack[stackTop] = low;
|
|
118
|
+
stack[stackTop + 1] = high;
|
|
119
|
+
stack[stackTop + 2] = depth;
|
|
120
|
+
stackTop += 3;
|
|
121
|
+
};
|
|
122
|
+
push(0, items.length, 0);
|
|
123
|
+
while (stackTop > 0) {
|
|
124
|
+
stackTop -= 3;
|
|
125
|
+
const low = stack[stackTop];
|
|
126
|
+
const high = stack[stackTop + 1];
|
|
127
|
+
let depth = stack[stackTop + 2];
|
|
128
|
+
if (high - low < 2) {
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
for (;;) {
|
|
132
|
+
counts.fill(0);
|
|
133
|
+
for (let index = low; index < high; ++index) {
|
|
134
|
+
++counts[charAt(items[index], depth, wordBytes, wordOffsets)];
|
|
135
|
+
}
|
|
136
|
+
// Skip scatter when the whole range shares the character at this depth.
|
|
137
|
+
let singleBucket = -1;
|
|
138
|
+
for (let bucket = 0; bucket < RADIX; ++bucket) {
|
|
139
|
+
if (counts[bucket] === high - low) {
|
|
140
|
+
singleBucket = bucket;
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
if (counts[bucket] > 0) {
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
if (singleBucket > 0) {
|
|
148
|
+
++depth;
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
if (singleBucket === 0) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
let position = low;
|
|
155
|
+
for (let bucket = 0; bucket < RADIX; ++bucket) {
|
|
156
|
+
starts[bucket] = position;
|
|
157
|
+
position += counts[bucket];
|
|
158
|
+
}
|
|
159
|
+
for (let index = low; index < high; ++index) {
|
|
160
|
+
const item = items[index];
|
|
161
|
+
auxiliary[starts[charAt(item, depth, wordBytes, wordOffsets)]++] = item;
|
|
162
|
+
}
|
|
163
|
+
items.set(auxiliary.subarray(low, high), low);
|
|
164
|
+
// After the scatter, starts[bucket] holds the end position of each bucket.
|
|
165
|
+
for (let bucket = 1; bucket < RADIX; ++bucket) {
|
|
166
|
+
if (counts[bucket] > 1) {
|
|
167
|
+
push(starts[bucket] - counts[bucket], starts[bucket], depth + 1);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
const MAX_DEPTH = constants_1.MAX_WORD_LENGTH + 2;
|
|
175
|
+
const MAX_ARCS_PER_STATE = constants_1.MAX_LETTERS + 1;
|
|
176
|
+
class Builder {
|
|
177
|
+
constructor() {
|
|
178
|
+
// Frozen arcs (1-indexed; index 0 is a sentinel).
|
|
179
|
+
this.labels = new Uint8Array(1 << 20);
|
|
180
|
+
this.targets = new Int32Array(1 << 20);
|
|
181
|
+
this.arcTop = 1;
|
|
182
|
+
// Open-addressing registry of frozen states, storing first-arc indices (0 = empty slot).
|
|
183
|
+
this.table = new Int32Array(1 << 20);
|
|
184
|
+
this.tableCount = 0;
|
|
185
|
+
// Temporary (not yet minimized) states along the current insertion path.
|
|
186
|
+
this.pathLetters = new Uint8Array(MAX_DEPTH * MAX_ARCS_PER_STATE);
|
|
187
|
+
this.pathTargets = new Int32Array(MAX_DEPTH * MAX_ARCS_PER_STATE);
|
|
188
|
+
this.pathCounts = new Int32Array(MAX_DEPTH);
|
|
189
|
+
this.pathFinal = new Uint8Array(MAX_DEPTH);
|
|
190
|
+
this.previous = new Uint8Array(MAX_DEPTH);
|
|
191
|
+
this.previousLength = 0;
|
|
192
|
+
}
|
|
193
|
+
insert(sequence, length) {
|
|
194
|
+
const { previous, pathCounts, pathFinal } = this;
|
|
195
|
+
let commonPrefixLength = 0;
|
|
196
|
+
const maxCommon = Math.min(length, this.previousLength);
|
|
197
|
+
while (commonPrefixLength < maxCommon && sequence[commonPrefixLength] === previous[commonPrefixLength]) {
|
|
198
|
+
++commonPrefixLength;
|
|
199
|
+
}
|
|
200
|
+
if (commonPrefixLength === length && commonPrefixLength === this.previousLength) {
|
|
201
|
+
return; // Duplicate sequence.
|
|
202
|
+
}
|
|
203
|
+
for (let depth = this.previousLength; depth > commonPrefixLength; --depth) {
|
|
204
|
+
this.freeze(depth);
|
|
205
|
+
}
|
|
206
|
+
for (let depth = commonPrefixLength; depth < length; ++depth) {
|
|
207
|
+
const base = depth * MAX_ARCS_PER_STATE;
|
|
208
|
+
this.pathLetters[base + pathCounts[depth]] = sequence[depth];
|
|
209
|
+
this.pathTargets[base + pathCounts[depth]] = 0;
|
|
210
|
+
++pathCounts[depth];
|
|
211
|
+
pathCounts[depth + 1] = 0;
|
|
212
|
+
pathFinal[depth + 1] = 0;
|
|
213
|
+
}
|
|
214
|
+
pathFinal[length] = 1;
|
|
215
|
+
previous.set(sequence.subarray(0, length));
|
|
216
|
+
this.previousLength = length;
|
|
217
|
+
}
|
|
218
|
+
finish(charCodes) {
|
|
219
|
+
for (let depth = this.previousLength; depth > 0; --depth) {
|
|
220
|
+
this.freeze(depth);
|
|
221
|
+
}
|
|
222
|
+
const rootRef = this.registerState(0);
|
|
223
|
+
const labels = this.labels.slice(0, this.arcTop);
|
|
224
|
+
const targets = this.targets.slice(0, this.arcTop);
|
|
225
|
+
return new Gaddag_1.Gaddag(labels, targets, rootRef, charCodes);
|
|
226
|
+
}
|
|
227
|
+
/** Minimizes the state at `depth` and patches its parent's dangling arc. */
|
|
228
|
+
freeze(depth) {
|
|
229
|
+
const ref = this.registerState(depth);
|
|
230
|
+
const parentBase = (depth - 1) * MAX_ARCS_PER_STATE;
|
|
231
|
+
this.pathTargets[parentBase + this.pathCounts[depth - 1] - 1] = ref;
|
|
232
|
+
}
|
|
233
|
+
/** Returns the ref of a frozen state equivalent to the temporary state at `depth`. */
|
|
234
|
+
registerState(depth) {
|
|
235
|
+
const count = this.pathCounts[depth];
|
|
236
|
+
const final = this.pathFinal[depth];
|
|
237
|
+
if (count === 0) {
|
|
238
|
+
return final;
|
|
239
|
+
}
|
|
240
|
+
const base = depth * MAX_ARCS_PER_STATE;
|
|
241
|
+
const hash = this.hashPath(base, count);
|
|
242
|
+
const mask = this.table.length - 1;
|
|
243
|
+
let slot = hash & mask;
|
|
244
|
+
for (;;) {
|
|
245
|
+
const existing = this.table[slot];
|
|
246
|
+
if (existing === 0) {
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
if (this.equalsPath(existing, base, count)) {
|
|
250
|
+
return (existing << 1) | final;
|
|
251
|
+
}
|
|
252
|
+
slot = (slot + 1) & mask;
|
|
253
|
+
}
|
|
254
|
+
const firstArc = this.appendArcs(base, count);
|
|
255
|
+
this.table[slot] = firstArc;
|
|
256
|
+
++this.tableCount;
|
|
257
|
+
if (this.tableCount * 10 > this.table.length * 7) {
|
|
258
|
+
this.growTable();
|
|
259
|
+
}
|
|
260
|
+
return (firstArc << 1) | final;
|
|
261
|
+
}
|
|
262
|
+
hashPath(base, count) {
|
|
263
|
+
let hash = 0x811c9dc5 ^ count;
|
|
264
|
+
for (let index = 0; index < count; ++index) {
|
|
265
|
+
hash = Math.imul(hash ^ this.pathLetters[base + index], 16777619);
|
|
266
|
+
hash = Math.imul(hash ^ this.pathTargets[base + index], 16777619);
|
|
267
|
+
}
|
|
268
|
+
return hash >>> 0;
|
|
269
|
+
}
|
|
270
|
+
hashFrozen(firstArc) {
|
|
271
|
+
let count = 0;
|
|
272
|
+
for (let index = firstArc;; ++index) {
|
|
273
|
+
++count;
|
|
274
|
+
if (this.labels[index] >= constants_1.LAST_ARC_FLAG) {
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
let hash = 0x811c9dc5 ^ count;
|
|
279
|
+
for (let index = 0; index < count; ++index) {
|
|
280
|
+
hash = Math.imul(hash ^ (this.labels[firstArc + index] & constants_1.LETTER_MASK), 16777619);
|
|
281
|
+
hash = Math.imul(hash ^ this.targets[firstArc + index], 16777619);
|
|
282
|
+
}
|
|
283
|
+
return hash >>> 0;
|
|
284
|
+
}
|
|
285
|
+
equalsPath(firstArc, base, count) {
|
|
286
|
+
for (let index = 0; index < count; ++index) {
|
|
287
|
+
const label = this.labels[firstArc + index];
|
|
288
|
+
if ((label & constants_1.LETTER_MASK) !== this.pathLetters[base + index]) {
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
291
|
+
if (this.targets[firstArc + index] !== this.pathTargets[base + index]) {
|
|
292
|
+
return false;
|
|
293
|
+
}
|
|
294
|
+
const isLast = label >= constants_1.LAST_ARC_FLAG;
|
|
295
|
+
if (isLast !== (index === count - 1)) {
|
|
296
|
+
return false;
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
return true;
|
|
300
|
+
}
|
|
301
|
+
appendArcs(base, count) {
|
|
302
|
+
if (this.arcTop + count > this.labels.length) {
|
|
303
|
+
const capacity = Math.max(this.labels.length * 2, this.arcTop + count);
|
|
304
|
+
const labels = new Uint8Array(capacity);
|
|
305
|
+
labels.set(this.labels);
|
|
306
|
+
this.labels = labels;
|
|
307
|
+
const targets = new Int32Array(capacity);
|
|
308
|
+
targets.set(this.targets);
|
|
309
|
+
this.targets = targets;
|
|
310
|
+
}
|
|
311
|
+
const firstArc = this.arcTop;
|
|
312
|
+
for (let index = 0; index < count; ++index) {
|
|
313
|
+
this.labels[this.arcTop] = this.pathLetters[base + index] | (index === count - 1 ? constants_1.LAST_ARC_FLAG : 0);
|
|
314
|
+
this.targets[this.arcTop] = this.pathTargets[base + index];
|
|
315
|
+
++this.arcTop;
|
|
316
|
+
}
|
|
317
|
+
return firstArc;
|
|
318
|
+
}
|
|
319
|
+
growTable() {
|
|
320
|
+
const previousTable = this.table;
|
|
321
|
+
this.table = new Int32Array(previousTable.length * 2);
|
|
322
|
+
const mask = this.table.length - 1;
|
|
323
|
+
for (const firstArc of previousTable) {
|
|
324
|
+
if (firstArc === 0) {
|
|
325
|
+
continue;
|
|
326
|
+
}
|
|
327
|
+
let slot = this.hashFrozen(firstArc) & mask;
|
|
328
|
+
while (this.table[slot] !== 0) {
|
|
329
|
+
slot = (slot + 1) & mask;
|
|
330
|
+
}
|
|
331
|
+
this.table[slot] = firstArc;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
const insertItems = (items, wordBytes, wordOffsets, charCodes) => {
|
|
336
|
+
const builder = new Builder();
|
|
337
|
+
const sequence = new Uint8Array(MAX_DEPTH);
|
|
338
|
+
for (let index = 0; index < items.length; ++index) {
|
|
339
|
+
const item = items[index];
|
|
340
|
+
const wordIndex = item >>> 6;
|
|
341
|
+
const split = item & 63;
|
|
342
|
+
const offset = wordOffsets[wordIndex];
|
|
343
|
+
const length = wordOffsets[wordIndex + 1] - offset;
|
|
344
|
+
let sequenceLength = 0;
|
|
345
|
+
for (let position = split - 1; position >= 0; --position) {
|
|
346
|
+
sequence[sequenceLength] = wordBytes[offset + position];
|
|
347
|
+
++sequenceLength;
|
|
348
|
+
}
|
|
349
|
+
if (split < length) {
|
|
350
|
+
sequence[sequenceLength] = 0;
|
|
351
|
+
++sequenceLength;
|
|
352
|
+
for (let position = split; position < length; ++position) {
|
|
353
|
+
sequence[sequenceLength] = wordBytes[offset + position];
|
|
354
|
+
++sequenceLength;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
builder.insert(sequence, sequenceLength);
|
|
358
|
+
}
|
|
359
|
+
return builder.finish(charCodes);
|
|
360
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Letter index reserved for the GADDAG separator (◇). */
|
|
2
|
+
export declare const SEPARATOR = 0;
|
|
3
|
+
/** Letters are stored on 6 bits (1..63); 0 is the separator. */
|
|
4
|
+
export declare const MAX_LETTERS = 63;
|
|
5
|
+
/** Words longer than this are skipped — they cannot fit on any board. */
|
|
6
|
+
export declare const MAX_WORD_LENGTH = 63;
|
|
7
|
+
/** Arc label bit marking the last arc of a state. */
|
|
8
|
+
export declare const LAST_ARC_FLAG = 128;
|
|
9
|
+
/** Mask extracting the letter from an arc label. */
|
|
10
|
+
export declare const LETTER_MASK = 63;
|
|
11
|
+
/** "GDG1" magic number opening the binary serialization format. */
|
|
12
|
+
export declare const MAGIC = 826754119;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MAGIC = exports.LETTER_MASK = exports.LAST_ARC_FLAG = exports.MAX_WORD_LENGTH = exports.MAX_LETTERS = exports.SEPARATOR = void 0;
|
|
4
|
+
/** Letter index reserved for the GADDAG separator (◇). */
|
|
5
|
+
exports.SEPARATOR = 0;
|
|
6
|
+
/** Letters are stored on 6 bits (1..63); 0 is the separator. */
|
|
7
|
+
exports.MAX_LETTERS = 63;
|
|
8
|
+
/** Words longer than this are skipped — they cannot fit on any board. */
|
|
9
|
+
exports.MAX_WORD_LENGTH = 63;
|
|
10
|
+
/** Arc label bit marking the last arc of a state. */
|
|
11
|
+
exports.LAST_ARC_FLAG = 128;
|
|
12
|
+
/** Mask extracting the letter from an arc label. */
|
|
13
|
+
exports.LETTER_MASK = 63;
|
|
14
|
+
/** "GDG1" magic number opening the binary serialization format. */
|
|
15
|
+
exports.MAGIC = 0x31474447;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Gaddag = exports.SEPARATOR = exports.MAX_WORD_LENGTH = exports.MAX_LETTERS = exports.LETTER_MASK = exports.LAST_ARC_FLAG = exports.buildGaddag = void 0;
|
|
4
|
+
var buildGaddag_1 = require("./buildGaddag");
|
|
5
|
+
Object.defineProperty(exports, "buildGaddag", { enumerable: true, get: function () { return buildGaddag_1.buildGaddag; } });
|
|
6
|
+
var constants_1 = require("./constants");
|
|
7
|
+
Object.defineProperty(exports, "LAST_ARC_FLAG", { enumerable: true, get: function () { return constants_1.LAST_ARC_FLAG; } });
|
|
8
|
+
Object.defineProperty(exports, "LETTER_MASK", { enumerable: true, get: function () { return constants_1.LETTER_MASK; } });
|
|
9
|
+
Object.defineProperty(exports, "MAX_LETTERS", { enumerable: true, get: function () { return constants_1.MAX_LETTERS; } });
|
|
10
|
+
Object.defineProperty(exports, "MAX_WORD_LENGTH", { enumerable: true, get: function () { return constants_1.MAX_WORD_LENGTH; } });
|
|
11
|
+
Object.defineProperty(exports, "SEPARATOR", { enumerable: true, get: function () { return constants_1.SEPARATOR; } });
|
|
12
|
+
var Gaddag_1 = require("./Gaddag");
|
|
13
|
+
Object.defineProperty(exports, "Gaddag", { enumerable: true, get: function () { return Gaddag_1.Gaddag; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
FL82obwzFHRzvV6z76I-U
|
|
@@ -4,37 +4,39 @@
|
|
|
4
4
|
],
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"lowPriorityFiles": [
|
|
7
|
-
"static/
|
|
8
|
-
"static/
|
|
7
|
+
"static/FL82obwzFHRzvV6z76I-U/_buildManifest.js",
|
|
8
|
+
"static/FL82obwzFHRzvV6z76I-U/_ssgManifest.js"
|
|
9
9
|
],
|
|
10
10
|
"rootMainFiles": [],
|
|
11
11
|
"rootMainFilesTree": {},
|
|
12
12
|
"pages": {
|
|
13
13
|
"/": [
|
|
14
|
-
"static/chunks/webpack-
|
|
15
|
-
"static/chunks/framework-
|
|
16
|
-
"static/chunks/main-
|
|
17
|
-
"static/
|
|
18
|
-
"static/
|
|
14
|
+
"static/chunks/webpack-e34c3ae12275e978.js",
|
|
15
|
+
"static/chunks/framework-626cbd48ac5aca57.js",
|
|
16
|
+
"static/chunks/main-b92e08f3fc96dd8d.js",
|
|
17
|
+
"static/chunks/101-829ab8a8d310e7a0.js",
|
|
18
|
+
"static/css/c403ce739a9c0d83.css",
|
|
19
|
+
"static/chunks/pages/index-5f9fa6ac3cd3d97b.js"
|
|
19
20
|
],
|
|
20
21
|
"/_app": [
|
|
21
|
-
"static/chunks/webpack-
|
|
22
|
-
"static/chunks/framework-
|
|
23
|
-
"static/chunks/main-
|
|
24
|
-
"static/css/
|
|
25
|
-
"static/chunks/pages/_app-
|
|
22
|
+
"static/chunks/webpack-e34c3ae12275e978.js",
|
|
23
|
+
"static/chunks/framework-626cbd48ac5aca57.js",
|
|
24
|
+
"static/chunks/main-b92e08f3fc96dd8d.js",
|
|
25
|
+
"static/css/abc2425d3ba607bc.css",
|
|
26
|
+
"static/chunks/pages/_app-ba5d628e81a15461.js"
|
|
26
27
|
],
|
|
27
28
|
"/_error": [
|
|
28
|
-
"static/chunks/webpack-
|
|
29
|
-
"static/chunks/framework-
|
|
30
|
-
"static/chunks/main-
|
|
31
|
-
"static/chunks/pages/_error-
|
|
29
|
+
"static/chunks/webpack-e34c3ae12275e978.js",
|
|
30
|
+
"static/chunks/framework-626cbd48ac5aca57.js",
|
|
31
|
+
"static/chunks/main-b92e08f3fc96dd8d.js",
|
|
32
|
+
"static/chunks/pages/_error-f0290a98eb3ed0ec.js"
|
|
32
33
|
],
|
|
33
34
|
"/not-found": [
|
|
34
|
-
"static/chunks/webpack-
|
|
35
|
-
"static/chunks/framework-
|
|
36
|
-
"static/chunks/main-
|
|
37
|
-
"static/
|
|
35
|
+
"static/chunks/webpack-e34c3ae12275e978.js",
|
|
36
|
+
"static/chunks/framework-626cbd48ac5aca57.js",
|
|
37
|
+
"static/chunks/main-b92e08f3fc96dd8d.js",
|
|
38
|
+
"static/css/dee878eb64099d92.css",
|
|
39
|
+
"static/chunks/pages/not-found-23d61fd3ed791cad.js"
|
|
38
40
|
]
|
|
39
41
|
}
|
|
40
42
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"previewModeId":"
|
|
1
|
+
{"previewModeId":"2ed53eba09def2ca7c362be290389f60","previewModeSigningKey":"b9232917f8c299896855e0a45d606f6fe07ad0f8756d32749968f60ba611bfe7","previewModeEncryptionKey":"d88a7abb78c2d6ff4e10c0b65a6a97a1c8d5cda23bbf9b63aa2c551420cde905","expireAt":1788079930556}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"encryption.key":"
|
|
1
|
+
{"encryption.key":"NWqdXk/9uSzI10ITMeyH24p7vLo6OsrRgdE+BzIApxw=","encryption.expire_at":1788079930553}
|