cubing 0.22.0 → 0.24.0-pre2
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 +5 -8
- package/alg/package.json +1 -3
- package/bluetooth/package.json +1 -3
- package/dist/esm/{2x2x2.kpuzzle.json-JOGUSQ4N.js → 2x2x2.kpuzzle.json-U5KOZCMU.js} +11 -11
- package/dist/esm/2x2x2.kpuzzle.json-U5KOZCMU.js.map +7 -0
- package/{src/cubing/search/inside/solve/puzzles/2x2x2.sgs.json.ts → dist/esm/2x2x2.sgs.json-UAYPCQVL.js} +21 -13
- package/dist/esm/2x2x2.sgs.json-UAYPCQVL.js.map +7 -0
- package/dist/esm/{3d-3WQVOHX5.js → 3d-NFF7OGTI.js} +4 -4
- package/dist/esm/{3d-3WQVOHX5.js.map → 3d-NFF7OGTI.js.map} +0 -0
- package/dist/esm/bluetooth/index.d.ts +1 -1
- package/dist/esm/bluetooth/index.js +46 -38
- package/dist/esm/bluetooth/index.js.map +3 -3
- package/dist/esm/chunk-27KJGD3S.js +84 -0
- package/dist/esm/chunk-27KJGD3S.js.map +7 -0
- package/dist/esm/chunk-37EHU3GZ.js +66 -0
- package/dist/esm/chunk-37EHU3GZ.js.map +7 -0
- package/dist/esm/chunk-7OPCF2OL.js +274 -0
- package/dist/esm/chunk-7OPCF2OL.js.map +7 -0
- package/dist/esm/chunk-BJIOROQC.js +18 -0
- package/dist/esm/chunk-BJIOROQC.js.map +7 -0
- package/dist/{bin/puzzle-geometry-bin.js → esm/chunk-J2U2GRS4.js} +104 -1488
- package/dist/esm/chunk-J2U2GRS4.js.map +7 -0
- package/dist/esm/chunk-KCRFOAR4.js +122 -0
- package/dist/esm/chunk-KCRFOAR4.js.map +7 -0
- package/{src/cubing/search/inside/solve/puzzles/pyraminx.sgs.json.ts → dist/esm/chunk-NPK6Z4AU.js} +22 -17
- package/dist/esm/chunk-NPK6Z4AU.js.map +7 -0
- package/dist/esm/chunk-NV5ESXTN.js +505 -0
- package/dist/esm/chunk-NV5ESXTN.js.map +7 -0
- package/dist/esm/{chunk-DLN5QS4V.js → chunk-REMJV2GO.js} +38 -51
- package/dist/esm/chunk-REMJV2GO.js.map +7 -0
- package/dist/esm/chunk-TB4D4E2W.js +226 -0
- package/dist/esm/chunk-TB4D4E2W.js.map +7 -0
- package/dist/esm/chunk-TNRZDNGH.js +822 -0
- package/dist/esm/chunk-TNRZDNGH.js.map +7 -0
- package/{src/cubing/search/inside/solve/puzzles/megaminx.sgs.json.ts → dist/esm/chunk-YN7E5RGM.js} +36 -24
- package/dist/esm/chunk-YN7E5RGM.js.map +7 -0
- package/dist/esm/{chunk-HXKINJ7U.js → chunk-ZLIK3DZT.js} +79 -57
- package/dist/esm/chunk-ZLIK3DZT.js.map +7 -0
- package/dist/esm/{clock.kpuzzle.json-EKWRMHJM.js → clock.kpuzzle.json-J3YBOI3G.js} +7 -45
- package/dist/esm/clock.kpuzzle.json-J3YBOI3G.js.map +7 -0
- package/dist/esm/entry-PHAJAE4E.js +536 -0
- package/dist/esm/entry-PHAJAE4E.js.map +7 -0
- package/dist/esm/esm-test-worker.js +3 -14
- package/dist/esm/esm-test-worker.js.map +3 -3
- package/dist/esm/fto.sgs.json-VO6HST2V.js +641 -0
- package/dist/esm/fto.sgs.json-VO6HST2V.js.map +7 -0
- package/{src/cubing/search/inside/solve/vendor/min2phase/gwt.js → dist/esm/gwt-B7CBESZR.js} +350 -1380
- package/dist/esm/gwt-B7CBESZR.js.map +7 -0
- package/dist/esm/kpuzzle/index.js +5 -35
- package/dist/esm/megaminx.sgs.json-R3MK4HXM.js +16 -0
- package/dist/esm/megaminx.sgs.json-R3MK4HXM.js.map +7 -0
- package/dist/esm/module-entry-UYTOFYBC.js +18 -0
- package/dist/esm/module-entry-UYTOFYBC.js.map +7 -0
- package/dist/esm/{node-BSAQKO3G.js → node-SP4L2AKI.js} +2 -2
- package/dist/esm/{node-BSAQKO3G.js.map → node-SP4L2AKI.js.map} +1 -1
- package/dist/esm/{node-WEHVBEKP.js → node-W3AD4HBK.js} +3 -2
- package/dist/esm/node-W3AD4HBK.js.map +7 -0
- package/dist/esm/protocol/index.js +2 -1
- package/dist/esm/puzzle-geometry/index.js +15 -4053
- package/dist/esm/puzzle-geometry/index.js.map +3 -3
- package/dist/esm/puzzles/index.js +4 -4
- package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js +14 -0
- package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js.map +7 -0
- package/dist/esm/scramble/index.js +5 -3
- package/{src/cubing/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.ts → dist/esm/scramble_444-F3YANDPO.js} +367 -586
- package/dist/esm/scramble_444-F3YANDPO.js.map +7 -0
- package/{src/cubing/search/inside/solve/vendor/sq12phase/scramble_sq1.js → dist/esm/scramble_sq1-PQ2AYBFW.js} +143 -290
- package/dist/esm/scramble_sq1-PQ2AYBFW.js.map +7 -0
- package/dist/esm/search/index.js +7 -4
- package/dist/esm/skewb.sgs.json-T6CO36WU.js +16 -0
- package/dist/esm/skewb.sgs.json-T6CO36WU.js.map +7 -0
- package/dist/esm/{sq1-hyperorbit.kpuzzle.json-N3FGCPML.js → sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js} +6 -6
- package/dist/esm/sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js.map +7 -0
- package/dist/esm/twisty/index.js +342 -231
- package/dist/esm/twisty/index.js.map +3 -3
- package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js +3447 -0
- package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js.map +7 -0
- package/dist/{esm → types}/.DS_Store +0 -0
- package/dist/types/alg/Alg.d.ts +0 -1
- package/dist/types/alg/Alg.spec.d.ts +0 -1
- package/dist/types/alg/AlgBuilder.d.ts +0 -1
- package/dist/types/alg/Serializable.d.ts +0 -1
- package/dist/types/alg/common.d.ts +0 -1
- package/dist/types/alg/debug.d.ts +0 -1
- package/dist/types/alg/example.d.ts +0 -1
- package/dist/types/alg/index.d.ts +0 -1
- package/dist/types/alg/is.d.ts +0 -1
- package/dist/types/alg/iteration.d.ts +0 -1
- package/dist/types/alg/keyboard.d.ts +0 -1
- package/dist/types/alg/limits.d.ts +0 -1
- package/dist/types/alg/operation.d.ts +0 -1
- package/dist/types/alg/operation.spec.d.ts +0 -1
- package/dist/types/alg/parse.d.ts +0 -1
- package/dist/types/alg/parse.spec.d.ts +0 -1
- package/dist/types/alg/test/alg-comparison.d.ts +0 -1
- package/dist/types/alg/test/alg.spec.d.ts +0 -1
- package/dist/types/alg/traversal.d.ts +0 -1
- package/dist/types/alg/units/QuantumWithAmount.d.ts +0 -1
- package/dist/types/alg/units/Unit.d.ts +0 -1
- package/dist/types/alg/units/containers/Commutator.d.ts +0 -1
- package/dist/types/alg/units/containers/Conjugate.d.ts +0 -1
- package/dist/types/alg/units/containers/Grouping.d.ts +0 -1
- package/dist/types/alg/units/index.d.ts +0 -1
- package/dist/types/alg/units/leaves/LineComment.d.ts +0 -1
- package/dist/types/alg/units/leaves/LineComment.spec.d.ts +0 -1
- package/dist/types/alg/units/leaves/Move.d.ts +0 -1
- package/dist/types/alg/units/leaves/Move.spec.d.ts +0 -1
- package/dist/types/alg/units/leaves/Newline.d.ts +0 -1
- package/dist/types/alg/units/leaves/Pause.d.ts +0 -1
- package/dist/types/alg/url.d.ts +0 -1
- package/dist/types/alg/url.spec.d.ts +0 -1
- package/dist/types/alg/validation.d.ts +0 -1
- package/dist/types/alg/warnOnce.d.ts +0 -1
- package/dist/types/bluetooth/connect/index.d.ts +0 -1
- package/dist/types/bluetooth/debug.d.ts +0 -1
- package/dist/types/bluetooth/index.d.ts +0 -1
- package/dist/types/bluetooth/keyboard.d.ts +5 -5
- package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts +3 -3
- package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts +3 -5
- package/dist/types/bluetooth/smart-puzzle/connect.d.ts +0 -1
- package/dist/types/bluetooth/smart-puzzle/endianness.d.ts +0 -1
- package/dist/types/bluetooth/smart-puzzle/gan.d.ts +5 -4
- package/dist/types/bluetooth/smart-puzzle/giiker.d.ts +3 -3
- package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts +0 -1
- package/dist/types/bluetooth/smart-puzzle/gocube.d.ts +0 -1
- package/dist/types/bluetooth/smart-robot/GanRobot.d.ts +0 -1
- package/dist/types/bluetooth/smart-robot/index.d.ts +0 -1
- package/dist/types/bluetooth/smart-timer/GanTimer.d.ts +0 -1
- package/dist/types/bluetooth/smart-timer/index.d.ts +0 -1
- package/dist/types/bluetooth/transformer.d.ts +0 -1
- package/dist/types/cubing.bundle-global.d.ts +0 -1
- package/{src/cubing/cubing.bundle-global.ts → dist/types/cubing.bundle-global.exports.d.ts} +12 -19
- package/dist/types/esm-test-worker.d.ts +0 -1
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts +2 -3
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts +0 -1
- package/dist/types/kpuzzle/3x3x3/puzzle-orientation.d.ts +4 -0
- package/dist/types/kpuzzle/KPuzzle.d.ts +25 -0
- package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +20 -0
- package/dist/types/kpuzzle/KState.d.ts +16 -0
- package/dist/types/kpuzzle/KTransformation.d.ts +20 -0
- package/dist/types/kpuzzle/calculate.d.ts +16 -0
- package/dist/types/kpuzzle/combine.d.ts +3 -0
- package/dist/types/kpuzzle/construct.d.ts +5 -0
- package/dist/types/kpuzzle/index.d.ts +6 -10
- package/dist/types/notation/CountAnimatedLeaves.d.ts +0 -1
- package/dist/types/notation/CountMoves.d.ts +0 -1
- package/dist/types/notation/index.d.ts +0 -1
- package/dist/types/protocol/binary/binary3x3x3.d.ts +5 -6
- package/dist/types/protocol/binary/binary3x3x3.spec.d.ts +0 -1
- package/dist/types/protocol/binary/hex.d.ts +0 -1
- package/dist/types/protocol/binary/hex.spec.d.ts +0 -1
- package/dist/types/protocol/binary/orbit-indexing.d.ts +0 -1
- package/dist/types/protocol/binary/orbit-indexing.spec.d.ts +0 -1
- package/dist/types/protocol/binary/puzzle-orientation.d.ts +4 -5
- package/dist/types/protocol/index.d.ts +0 -1
- package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +0 -1
- package/dist/types/puzzle-geometry/Options.d.ts +0 -1
- package/dist/types/puzzle-geometry/PGPuzzles.d.ts +0 -1
- package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts +0 -1
- package/dist/types/puzzle-geometry/Perm.d.ts +0 -1
- package/dist/types/puzzle-geometry/PermOriSet.d.ts +4 -5
- package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts +0 -1
- package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +11 -5
- package/dist/types/puzzle-geometry/Quat.d.ts +0 -1
- package/dist/types/puzzle-geometry/Quat.spec.d.ts +0 -1
- package/dist/types/puzzle-geometry/SchreierSims.d.ts +0 -1
- package/dist/types/puzzle-geometry/index.d.ts +2 -2
- package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts +3 -2
- package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/index.d.ts +0 -1
- package/dist/types/puzzle-geometry/orientcenters.spec.d.ts +0 -1
- package/dist/types/puzzles/PuzzleLoader.d.ts +3 -3
- package/dist/types/puzzles/async/async-pg3d.d.ts +3 -3
- package/dist/types/puzzles/async/lazy-cached-kpuzzle.d.ts +2 -0
- package/dist/types/puzzles/customPGPuzzleLoader.d.ts +2 -3
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts +1 -2
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/2x2x2/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/3x3x3/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts +1 -2
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/clock/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/fto/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/megaminx/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/pyraminx/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts +0 -1
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/implementations/square1/index.d.ts +0 -1
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts +1 -2
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts +0 -1
- package/dist/types/puzzles/index.d.ts +1 -2
- package/dist/types/puzzles/stickerings/appearance.d.ts +6 -7
- package/dist/types/puzzles/stickerings/cube-stickerings.d.ts +0 -1
- package/dist/types/puzzles/stickerings/fto-stickerings.d.ts +0 -1
- package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts +0 -1
- package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts +0 -1
- package/dist/types/scramble/index.d.ts +0 -1
- package/dist/types/search/esm-test-worker.d.ts +0 -1
- package/dist/types/search/index.d.ts +0 -1
- package/dist/types/search/inside/api.d.ts +6 -7
- package/dist/types/search/inside/api.spec.d.ts +0 -1
- package/dist/types/search/inside/entry.d.ts +0 -1
- package/dist/types/search/inside/inside-worker.d.ts +0 -1
- package/dist/types/search/inside/module-entry-path-getter.d.ts +1 -0
- package/dist/types/search/inside/module-entry.d.ts +1 -0
- package/dist/types/search/inside/solve/addOrientationSuffix.d.ts +0 -1
- package/dist/types/search/inside/solve/parseSGS.d.ts +3 -4
- package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts +3 -4
- package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts +2 -3
- package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts +4 -4
- package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts +3 -4
- package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts +2 -2
- package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/clock.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/fto.d.ts +5 -0
- package/dist/types/search/inside/solve/puzzles/fto.sgs.json.d.ts +2 -0
- package/dist/types/search/inside/solve/puzzles/megaminx.d.ts +2 -3
- package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts +2 -3
- package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts +3 -4
- package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/skewb.d.ts +3 -4
- package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts +2 -3
- package/dist/types/search/inside/solve/puzzles/sq1.d.ts +0 -1
- package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts +0 -1
- package/dist/types/search/inside/solve/tremble.d.ts +6 -6
- package/dist/types/search/instantiator.d.ts +1 -3
- package/dist/types/search/outside.d.ts +6 -7
- package/dist/types/search/worker-inside-generated-string.d.ts +1 -2
- package/dist/types/stream/index.d.ts +0 -1
- package/dist/types/stream/process/ReorientedStream.d.ts +1 -3
- package/dist/types/stream/proxy-event.d.ts +0 -1
- package/dist/types/stream/twizzle/TwizzleStream.d.ts +0 -1
- package/dist/types/stream/twizzle/stream-types.d.ts +0 -1
- package/dist/types/stream/websocket-proxy.d.ts +0 -1
- package/dist/types/twisty/controllers/AnimationTypes.d.ts +2 -3
- package/dist/types/twisty/controllers/RenderScheduler.d.ts +0 -1
- package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +0 -1
- package/dist/types/twisty/controllers/TwistyPlayerController.d.ts +0 -1
- package/dist/types/twisty/controllers/easing.d.ts +0 -1
- package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts +0 -1
- package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts +6 -6
- package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts +7 -7
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +8 -8
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts +9 -9
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts +0 -1
- package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts +36 -37
- package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts +7 -7
- package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts +0 -1
- package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts +0 -1
- package/dist/types/twisty/heavy-code-imports/3d.d.ts +0 -1
- package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts +0 -1
- package/dist/types/twisty/index.d.ts +1 -2
- package/dist/types/twisty/model/PromiseFreshener.d.ts +0 -1
- package/dist/types/twisty/model/TwistyPlayerModel.d.ts +6 -7
- package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +0 -1
- package/dist/types/twisty/model/helpers.d.ts +0 -1
- package/dist/types/twisty/model/props/TwistyProp.d.ts +0 -1
- package/dist/types/twisty/model/props/TwistyProp.spec.d.ts +0 -1
- package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +0 -1
- package/dist/types/twisty/model/props/general/URLProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +2 -1
- package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +5 -8
- package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts +5 -7
- package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/state/{CurrentLeavesProp.d.ts → CurrentMoveInfoProp.d.ts} +2 -3
- package/dist/types/twisty/model/props/puzzle/state/CurrentStateProp.d.ts +14 -0
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +7 -8
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +5 -6
- package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +2 -3
- package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts +6 -2
- package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts +4 -5
- package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts +10 -0
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +0 -1
- package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +0 -1
- package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts +0 -1
- package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts +0 -1
- package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts +0 -1
- package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts +2 -3
- package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts +0 -1
- package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts +0 -1
- package/dist/types/twisty/views/2D/KPuzzleSVGWrapper.d.ts +17 -0
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts +0 -1
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts +4 -4
- package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts +0 -1
- package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts +0 -1
- package/dist/types/twisty/views/3D/DragTracker.d.ts +0 -1
- package/dist/types/twisty/views/3D/RendererPool.d.ts +0 -1
- package/dist/types/twisty/views/3D/TAU.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DScene.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts +0 -1
- package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +0 -1
- package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts +0 -1
- package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts +0 -1
- package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts +4 -5
- package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts +5 -6
- package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts +0 -1
- package/dist/types/twisty/views/ClassListManager.d.ts +0 -1
- package/dist/types/twisty/views/ManagedCustomElement.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts +0 -1
- package/dist/types/twisty/views/TwistyAlgViewer.d.ts +0 -1
- package/dist/types/twisty/views/TwistyPlayer.css.d.ts +0 -1
- package/dist/types/twisty/views/TwistyPlayer.d.ts +0 -1
- package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +0 -1
- package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts +0 -1
- package/dist/types/twisty/views/canvas.d.ts +0 -1
- package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts +0 -1
- package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts +0 -1
- package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts +0 -1
- package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts +0 -1
- package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts +0 -1
- package/dist/types/twisty/views/document.d.ts +0 -1
- package/dist/types/twisty/views/node-custom-element-shims.d.ts +0 -1
- package/dist/types/twisty/views/screenshot.d.ts +0 -1
- package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts +0 -1
- package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts +0 -1
- package/{src/cubing/search → dist/types}/vendor/comlink-everywhere/inside/index.d.ts +0 -0
- package/dist/types/{search/vendor → vendor}/comlink-everywhere/inside/node.d.ts +0 -1
- package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/index.d.ts +0 -1
- package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/node.d.ts +0 -1
- package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/lib/mathlib.d.ts +0 -1
- package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/scramble/scramble_444.d.ts +1 -2
- package/dist/types/{search/inside/solve/vendor → vendor}/min2phase/gwt.d.ts +0 -1
- package/dist/types/vendor/p-lazy/p-lazy.d.ts +0 -1
- package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/get-random-values.d.ts +0 -1
- package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/index.d.ts +1 -2
- package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/random-choice.d.ts +0 -1
- package/dist/types/{search/inside/solve/vendor/random-uint-below/random-int.d.ts → vendor/random-uint-below/random53BitValue.d.ts} +0 -1
- package/dist/types/{search/inside/solve/vendor → vendor}/sq12phase/scramble_sq1.d.ts +0 -1
- package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +0 -1
- package/dist/types/{bluetooth/smart-puzzle → vendor/unsafe-raw-aes}/unsafe-raw-aes.d.ts +0 -1
- package/kpuzzle/package.json +1 -3
- package/notation/package.json +1 -3
- package/package.json +11 -17
- package/protocol/package.json +1 -3
- package/puzzle-geometry/package.json +1 -3
- package/puzzles/package.json +1 -3
- package/scramble/package.json +1 -3
- package/search/package.json +1 -3
- package/stream/package.json +1 -3
- package/twisty/package.json +1 -3
- package/alg/index.d.ts +0 -1
- package/bluetooth/index.d.ts +0 -1
- package/dist/.DS_Store +0 -0
- package/dist/bin/puzzle-geometry-bin.js.map +0 -7
- package/dist/bundle-global/cubing.bundle-global.js +0 -7419
- package/dist/esm/2x2x2.kpuzzle.json-JOGUSQ4N.js.map +0 -7
- package/dist/esm/chunk-7KI3I3Y7.js +0 -1379
- package/dist/esm/chunk-7KI3I3Y7.js.map +0 -7
- package/dist/esm/chunk-DLN5QS4V.js.map +0 -7
- package/dist/esm/chunk-HXKINJ7U.js.map +0 -7
- package/dist/esm/chunk-X6JHXPDX.js +0 -2359
- package/dist/esm/chunk-X6JHXPDX.js.map +0 -7
- package/dist/esm/clock.kpuzzle.json-EKWRMHJM.js.map +0 -7
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/node-WEHVBEKP.js.map +0 -7
- package/dist/esm/sq1-hyperorbit.kpuzzle.json-N3FGCPML.js.map +0 -7
- package/dist/esm/worker-inside-generated-string-ZA6E6672.js +0 -2831
- package/dist/esm/worker-inside-generated-string-ZA6E6672.js.map +0 -7
- package/dist/types/alg/Alg.d.ts.map +0 -1
- package/dist/types/alg/Alg.spec.d.ts.map +0 -1
- package/dist/types/alg/AlgBuilder.d.ts.map +0 -1
- package/dist/types/alg/Serializable.d.ts.map +0 -1
- package/dist/types/alg/common.d.ts.map +0 -1
- package/dist/types/alg/debug.d.ts.map +0 -1
- package/dist/types/alg/example.d.ts.map +0 -1
- package/dist/types/alg/index.d.ts.map +0 -1
- package/dist/types/alg/is.d.ts.map +0 -1
- package/dist/types/alg/iteration.d.ts.map +0 -1
- package/dist/types/alg/keyboard.d.ts.map +0 -1
- package/dist/types/alg/limits.d.ts.map +0 -1
- package/dist/types/alg/operation.d.ts.map +0 -1
- package/dist/types/alg/operation.spec.d.ts.map +0 -1
- package/dist/types/alg/parse.d.ts.map +0 -1
- package/dist/types/alg/parse.spec.d.ts.map +0 -1
- package/dist/types/alg/test/alg-comparison.d.ts.map +0 -1
- package/dist/types/alg/test/alg.spec.d.ts.map +0 -1
- package/dist/types/alg/traversal.d.ts.map +0 -1
- package/dist/types/alg/units/QuantumWithAmount.d.ts.map +0 -1
- package/dist/types/alg/units/Unit.d.ts.map +0 -1
- package/dist/types/alg/units/containers/Commutator.d.ts.map +0 -1
- package/dist/types/alg/units/containers/Conjugate.d.ts.map +0 -1
- package/dist/types/alg/units/containers/Grouping.d.ts.map +0 -1
- package/dist/types/alg/units/index.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/LineComment.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/LineComment.spec.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/Move.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/Move.spec.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/Newline.d.ts.map +0 -1
- package/dist/types/alg/units/leaves/Pause.d.ts.map +0 -1
- package/dist/types/alg/url.d.ts.map +0 -1
- package/dist/types/alg/url.spec.d.ts.map +0 -1
- package/dist/types/alg/validation.d.ts.map +0 -1
- package/dist/types/alg/warnOnce.d.ts.map +0 -1
- package/dist/types/bluetooth/connect/index.d.ts.map +0 -1
- package/dist/types/bluetooth/debug.d.ts.map +0 -1
- package/dist/types/bluetooth/index.d.ts.map +0 -1
- package/dist/types/bluetooth/keyboard.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/connect.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/endianness.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/gan.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/giiker.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/gocube.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-puzzle/unsafe-raw-aes.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-robot/GanRobot.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-robot/index.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-timer/GanTimer.d.ts.map +0 -1
- package/dist/types/bluetooth/smart-timer/index.d.ts.map +0 -1
- package/dist/types/bluetooth/transformer.d.ts.map +0 -1
- package/dist/types/cubing.bundle-global.d.ts.map +0 -1
- package/dist/types/esm-test-worker.d.ts.map +0 -1
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts.map +0 -1
- package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts.map +0 -1
- package/dist/types/kpuzzle/canon.spec.d.ts +0 -2
- package/dist/types/kpuzzle/canon.spec.d.ts.map +0 -1
- package/dist/types/kpuzzle/canonicalize.d.ts +0 -55
- package/dist/types/kpuzzle/canonicalize.d.ts.map +0 -1
- package/dist/types/kpuzzle/definition_types.d.ts +0 -19
- package/dist/types/kpuzzle/definition_types.d.ts.map +0 -1
- package/dist/types/kpuzzle/index.d.ts.map +0 -1
- package/dist/types/kpuzzle/kpuzzle.d.ts +0 -17
- package/dist/types/kpuzzle/kpuzzle.d.ts.map +0 -1
- package/dist/types/kpuzzle/kpuzzle.spec.d.ts +0 -2
- package/dist/types/kpuzzle/kpuzzle.spec.d.ts.map +0 -1
- package/dist/types/kpuzzle/move_notation.d.ts +0 -6
- package/dist/types/kpuzzle/move_notation.d.ts.map +0 -1
- package/dist/types/kpuzzle/parser/index.d.ts +0 -2
- package/dist/types/kpuzzle/parser/index.d.ts.map +0 -1
- package/dist/types/kpuzzle/parser/parser-peggy.d.ts +0 -15
- package/dist/types/kpuzzle/parser/parser-peggy.d.ts.map +0 -1
- package/dist/types/kpuzzle/parser/parser-shim.d.ts +0 -4
- package/dist/types/kpuzzle/parser/parser-shim.d.ts.map +0 -1
- package/dist/types/kpuzzle/parser/parser.d.ts +0 -1
- package/dist/types/kpuzzle/parser/parser.d.ts.map +0 -1
- package/dist/types/kpuzzle/prunetable.spec.d.ts +0 -2
- package/dist/types/kpuzzle/prunetable.spec.d.ts.map +0 -1
- package/dist/types/kpuzzle/pruningtable.d.ts +0 -16
- package/dist/types/kpuzzle/pruningtable.d.ts.map +0 -1
- package/dist/types/kpuzzle/puzzle-orientation.d.ts +0 -5
- package/dist/types/kpuzzle/puzzle-orientation.d.ts.map +0 -1
- package/dist/types/kpuzzle/svg.d.ts +0 -18
- package/dist/types/kpuzzle/svg.d.ts.map +0 -1
- package/dist/types/kpuzzle/transformations.d.ts +0 -13
- package/dist/types/kpuzzle/transformations.d.ts.map +0 -1
- package/dist/types/kpuzzle/transformations.spec.d.ts +0 -2
- package/dist/types/kpuzzle/transformations.spec.d.ts.map +0 -1
- package/dist/types/notation/CountAnimatedLeaves.d.ts.map +0 -1
- package/dist/types/notation/CountMoves.d.ts.map +0 -1
- package/dist/types/notation/index.d.ts.map +0 -1
- package/dist/types/protocol/binary/binary3x3x3.d.ts.map +0 -1
- package/dist/types/protocol/binary/binary3x3x3.spec.d.ts.map +0 -1
- package/dist/types/protocol/binary/hex.d.ts.map +0 -1
- package/dist/types/protocol/binary/hex.spec.d.ts.map +0 -1
- package/dist/types/protocol/binary/orbit-indexing.d.ts.map +0 -1
- package/dist/types/protocol/binary/orbit-indexing.spec.d.ts.map +0 -1
- package/dist/types/protocol/binary/puzzle-orientation.d.ts.map +0 -1
- package/dist/types/protocol/index.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/Options.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/PGPuzzles.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/Perm.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/PermOriSet.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/Quat.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/Quat.spec.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/SchreierSims.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/index.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/interfaces.d.ts +0 -6
- package/dist/types/puzzle-geometry/interfaces.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/notation-mapping/index.d.ts.map +0 -1
- package/dist/types/puzzle-geometry/orientcenters.spec.d.ts.map +0 -1
- package/dist/types/puzzles/PuzzleLoader.d.ts.map +0 -1
- package/dist/types/puzzles/async/async-pg3d.d.ts.map +0 -1
- package/dist/types/puzzles/customPGPuzzleLoader.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/2x2x2/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/3x3x3/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/clock/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/fto/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/megaminx/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/pyraminx/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/square1/index.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts.map +0 -1
- package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts.map +0 -1
- package/dist/types/puzzles/index.d.ts.map +0 -1
- package/dist/types/puzzles/stickerings/appearance.d.ts.map +0 -1
- package/dist/types/puzzles/stickerings/cube-stickerings.d.ts.map +0 -1
- package/dist/types/puzzles/stickerings/fto-stickerings.d.ts.map +0 -1
- package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts.map +0 -1
- package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts.map +0 -1
- package/dist/types/scramble/index.d.ts.map +0 -1
- package/dist/types/search/esm-test-worker.d.ts.map +0 -1
- package/dist/types/search/index.d.ts.map +0 -1
- package/dist/types/search/inside/api.d.ts.map +0 -1
- package/dist/types/search/inside/api.spec.d.ts.map +0 -1
- package/dist/types/search/inside/entry.d.ts.map +0 -1
- package/dist/types/search/inside/inside-worker.d.ts.map +0 -1
- package/dist/types/search/inside/solve/addOrientationSuffix.d.ts.map +0 -1
- package/dist/types/search/inside/solve/parseSGS.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/clock.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/megaminx.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/skewb.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/sq1.d.ts.map +0 -1
- package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts.map +0 -1
- package/dist/types/search/inside/solve/tremble.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/min2phase/gwt.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/random-uint-below/get-random-values.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/random-uint-below/index.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/random-uint-below/random-choice.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/random-uint-below/random-int.d.ts.map +0 -1
- package/dist/types/search/inside/solve/vendor/sq12phase/scramble_sq1.d.ts.map +0 -1
- package/dist/types/search/instantiator.d.ts.map +0 -1
- package/dist/types/search/outside.d.ts.map +0 -1
- package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts +0 -2
- package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts.map +0 -1
- package/dist/types/search/vendor/comlink-everywhere/inside/node.d.ts.map +0 -1
- package/dist/types/search/vendor/comlink-everywhere/outside/index.d.ts.map +0 -1
- package/dist/types/search/vendor/comlink-everywhere/outside/node.d.ts.map +0 -1
- package/dist/types/search/worker-inside-generated-string.d.ts.map +0 -1
- package/dist/types/stream/index.d.ts.map +0 -1
- package/dist/types/stream/process/ReorientedStream.d.ts.map +0 -1
- package/dist/types/stream/proxy-event.d.ts.map +0 -1
- package/dist/types/stream/twizzle/TwizzleStream.d.ts.map +0 -1
- package/dist/types/stream/twizzle/stream-types.d.ts.map +0 -1
- package/dist/types/stream/websocket-proxy.d.ts.map +0 -1
- package/dist/types/twisty/controllers/AnimationTypes.d.ts.map +0 -1
- package/dist/types/twisty/controllers/RenderScheduler.d.ts.map +0 -1
- package/dist/types/twisty/controllers/TwistyAnimationController.d.ts.map +0 -1
- package/dist/types/twisty/controllers/TwistyPlayerController.d.ts.map +0 -1
- package/dist/types/twisty/controllers/easing.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts.map +0 -1
- package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts.map +0 -1
- package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts.map +0 -1
- package/dist/types/twisty/heavy-code-imports/3d.d.ts.map +0 -1
- package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts.map +0 -1
- package/dist/types/twisty/index.d.ts.map +0 -1
- package/dist/types/twisty/model/PromiseFreshener.d.ts.map +0 -1
- package/dist/types/twisty/model/TwistyPlayerModel.d.ts.map +0 -1
- package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts.map +0 -1
- package/dist/types/twisty/model/helpers.d.ts.map +0 -1
- package/dist/types/twisty/model/props/TwistyProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/TwistyProp.spec.d.ts.map +0 -1
- package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts.map +0 -1
- package/dist/types/twisty/model/props/general/URLProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts +0 -15
- package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts +0 -11
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts.map +0 -1
- package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts.map +0 -1
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts.map +0 -1
- package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts.map +0 -1
- package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts.map +0 -1
- package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/DragTracker.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/RendererPool.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/TAU.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DScene.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts +0 -48
- package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts.map +0 -1
- package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts.map +0 -1
- package/dist/types/twisty/views/ClassListManager.d.ts.map +0 -1
- package/dist/types/twisty/views/ManagedCustomElement.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyAlgViewer.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyPlayer.css.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyPlayer.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyPlayerSettable.d.ts.map +0 -1
- package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts.map +0 -1
- package/dist/types/twisty/views/canvas.d.ts.map +0 -1
- package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts.map +0 -1
- package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts.map +0 -1
- package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts.map +0 -1
- package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts.map +0 -1
- package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts.map +0 -1
- package/dist/types/twisty/views/document.d.ts.map +0 -1
- package/dist/types/twisty/views/node-custom-element-shims.d.ts.map +0 -1
- package/dist/types/twisty/views/screenshot.d.ts.map +0 -1
- package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts.map +0 -1
- package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts.map +0 -1
- package/dist/types/vendor/p-lazy/p-lazy.d.ts.map +0 -1
- package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts.map +0 -1
- package/docs/.DS_Store +0 -0
- package/docs/CNAME +0 -1
- package/docs/cubing/.DS_Store +0 -0
- package/docs/cubing/alg/index.html +0 -174
- package/docs/cubing/api/index.html +0 -158
- package/docs/cubing/index.html +0 -151
- package/docs/cubing/scramble/index.html +0 -138
- package/docs/cubing/twisty/index.html +0 -329
- package/docs/favicon.ico +0 -0
- package/docs/index.html +0 -20
- package/docs/main.css +0 -192
- package/kpuzzle/index.d.ts +0 -1
- package/notation/index.d.ts +0 -1
- package/protocol/index.d.ts +0 -1
- package/puzzle-geometry/index.d.ts +0 -1
- package/puzzles/index.d.ts +0 -1
- package/scramble/index.d.ts +0 -1
- package/search/index.d.ts +0 -1
- package/src/cubing/.DS_Store +0 -0
- package/src/cubing/alg/Alg.spec.ts +0 -10
- package/src/cubing/alg/Alg.ts +0 -290
- package/src/cubing/alg/AlgBuilder.ts +0 -33
- package/src/cubing/alg/Serializable.ts +0 -29
- package/src/cubing/alg/common.ts +0 -59
- package/src/cubing/alg/debug.ts +0 -27
- package/src/cubing/alg/example.ts +0 -152
- package/src/cubing/alg/index.ts +0 -21
- package/src/cubing/alg/is.ts +0 -38
- package/src/cubing/alg/iteration.ts +0 -45
- package/src/cubing/alg/keyboard.ts +0 -48
- package/src/cubing/alg/limits.ts +0 -4
- package/src/cubing/alg/operation.spec.ts +0 -48
- package/src/cubing/alg/operation.ts +0 -36
- package/src/cubing/alg/parse.spec.ts +0 -75
- package/src/cubing/alg/parse.ts +0 -408
- package/src/cubing/alg/test/alg-comparison.ts +0 -23
- package/src/cubing/alg/test/alg.spec.ts +0 -348
- package/src/cubing/alg/traversal.ts +0 -284
- package/src/cubing/alg/units/QuantumWithAmount.ts +0 -55
- package/src/cubing/alg/units/Unit.ts +0 -11
- package/src/cubing/alg/units/containers/Commutator.ts +0 -85
- package/src/cubing/alg/units/containers/Conjugate.ts +0 -53
- package/src/cubing/alg/units/containers/Grouping.ts +0 -116
- package/src/cubing/alg/units/index.ts +0 -8
- package/src/cubing/alg/units/leaves/LineComment.spec.ts +0 -35
- package/src/cubing/alg/units/leaves/LineComment.ts +0 -48
- package/src/cubing/alg/units/leaves/Move.spec.ts +0 -15
- package/src/cubing/alg/units/leaves/Move.ts +0 -265
- package/src/cubing/alg/units/leaves/Newline.ts +0 -24
- package/src/cubing/alg/units/leaves/Pause.ts +0 -24
- package/src/cubing/alg/url.spec.ts +0 -10
- package/src/cubing/alg/url.ts +0 -133
- package/src/cubing/alg/validation.ts +0 -62
- package/src/cubing/alg/warnOnce.ts +0 -7
- package/src/cubing/bluetooth/connect/index.ts +0 -93
- package/src/cubing/bluetooth/debug.ts +0 -18
- package/src/cubing/bluetooth/docs/gan-robot.md +0 -60
- package/src/cubing/bluetooth/docs/gan356i.md +0 -309
- package/src/cubing/bluetooth/index.ts +0 -19
- package/src/cubing/bluetooth/keyboard.ts +0 -55
- package/src/cubing/bluetooth/smart-puzzle/Heykube.ts +0 -165
- package/src/cubing/bluetooth/smart-puzzle/bluetooth-puzzle.ts +0 -95
- package/src/cubing/bluetooth/smart-puzzle/connect.ts +0 -19
- package/src/cubing/bluetooth/smart-puzzle/endianness.ts +0 -15
- package/src/cubing/bluetooth/smart-puzzle/gan.ts +0 -481
- package/src/cubing/bluetooth/smart-puzzle/giiker.spec.ts +0 -28
- package/src/cubing/bluetooth/smart-puzzle/giiker.ts +0 -277
- package/src/cubing/bluetooth/smart-puzzle/gocube.ts +0 -167
- package/src/cubing/bluetooth/smart-puzzle/unsafe-raw-aes.ts +0 -66
- package/src/cubing/bluetooth/smart-robot/GanRobot.ts +0 -311
- package/src/cubing/bluetooth/smart-robot/index.ts +0 -13
- package/src/cubing/bluetooth/smart-timer/GanTimer.ts +0 -141
- package/src/cubing/bluetooth/smart-timer/index.ts +0 -13
- package/src/cubing/bluetooth/transformer.ts +0 -74
- package/src/cubing/esm-test-worker.js +0 -5
- package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.ts +0 -40
- package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.ts +0 -339
- package/src/cubing/kpuzzle/canon.spec.ts +0 -48
- package/src/cubing/kpuzzle/canonicalize.ts +0 -325
- package/src/cubing/kpuzzle/definition_types.ts +0 -23
- package/src/cubing/kpuzzle/index.ts +0 -33
- package/src/cubing/kpuzzle/kpuzzle.spec.ts +0 -12
- package/src/cubing/kpuzzle/kpuzzle.ts +0 -124
- package/src/cubing/kpuzzle/move_notation.ts +0 -9
- package/src/cubing/kpuzzle/parser/index.ts +0 -1
- package/src/cubing/kpuzzle/parser/parser-peggy.js +0 -1221
- package/src/cubing/kpuzzle/parser/parser-peggy.peggy +0 -72
- package/src/cubing/kpuzzle/parser/parser-shim.ts +0 -11
- package/src/cubing/kpuzzle/parser/parser.js +0 -0
- package/src/cubing/kpuzzle/prunetable.spec.ts +0 -19
- package/src/cubing/kpuzzle/pruningtable.ts +0 -99
- package/src/cubing/kpuzzle/puzzle-orientation.ts +0 -34
- package/src/cubing/kpuzzle/svg.ts +0 -290
- package/src/cubing/kpuzzle/transformations.spec.ts +0 -75
- package/src/cubing/kpuzzle/transformations.ts +0 -258
- package/src/cubing/notation/CountAnimatedLeaves.ts +0 -56
- package/src/cubing/notation/CountMoves.ts +0 -89
- package/src/cubing/notation/index.ts +0 -4
- package/src/cubing/protocol/binary/binary3x3x3.spec.ts +0 -143
- package/src/cubing/protocol/binary/binary3x3x3.ts +0 -226
- package/src/cubing/protocol/binary/hex.spec.ts +0 -17
- package/src/cubing/protocol/binary/hex.ts +0 -12
- package/src/cubing/protocol/binary/orbit-indexing.spec.ts +0 -49
- package/src/cubing/protocol/binary/orbit-indexing.ts +0 -68
- package/src/cubing/protocol/binary/puzzle-orientation.ts +0 -69
- package/src/cubing/protocol/index.ts +0 -12
- package/src/cubing/puzzle-geometry/FaceNameSwizzler.ts +0 -148
- package/src/cubing/puzzle-geometry/Options.ts +0 -179
- package/src/cubing/puzzle-geometry/PGPuzzles.spec.ts +0 -127
- package/src/cubing/puzzle-geometry/PGPuzzles.ts +0 -80
- package/src/cubing/puzzle-geometry/Perm.ts +0 -154
- package/src/cubing/puzzle-geometry/PermOriSet.ts +0 -765
- package/src/cubing/puzzle-geometry/PlatonicGenerator.ts +0 -146
- package/src/cubing/puzzle-geometry/PuzzleGeometry.ts +0 -3009
- package/src/cubing/puzzle-geometry/Quat.spec.ts +0 -10
- package/src/cubing/puzzle-geometry/Quat.ts +0 -325
- package/src/cubing/puzzle-geometry/SchreierSims.ts +0 -144
- package/src/cubing/puzzle-geometry/index.ts +0 -17
- package/src/cubing/puzzle-geometry/interfaces.ts +0 -6
- package/src/cubing/puzzle-geometry/notation-mapping/FTONotationMapper.ts +0 -38
- package/src/cubing/puzzle-geometry/notation-mapping/FaceRenamingMapper.ts +0 -59
- package/src/cubing/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.ts +0 -50
- package/src/cubing/puzzle-geometry/notation-mapping/NotationMapper.ts +0 -6
- package/src/cubing/puzzle-geometry/notation-mapping/NullMapper.ts +0 -12
- package/src/cubing/puzzle-geometry/notation-mapping/NxNxNCubeMapper.ts +0 -77
- package/src/cubing/puzzle-geometry/notation-mapping/PyraminxNotationMapper.ts +0 -121
- package/src/cubing/puzzle-geometry/notation-mapping/SkewbNotationMapper.ts +0 -103
- package/src/cubing/puzzle-geometry/notation-mapping/index.ts +0 -13
- package/src/cubing/puzzle-geometry/orientcenters.spec.ts +0 -55
- package/src/cubing/puzzles/PuzzleLoader.ts +0 -20
- package/src/cubing/puzzles/async/async-pg3d.ts +0 -73
- package/src/cubing/puzzles/customPGPuzzleLoader.ts +0 -60
- package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.ts +0 -92
- package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.ts +0 -45
- package/src/cubing/puzzles/implementations/2x2x2/index.ts +0 -25
- package/src/cubing/puzzles/implementations/2x2x2/svg/2x2x2.kpuzzle.svg +0 -45
- package/src/cubing/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.ts +0 -108
- package/src/cubing/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.ts +0 -128
- package/src/cubing/puzzles/implementations/3x3x3/index.ts +0 -33
- package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3-ll.kpuzzle.svg +0 -108
- package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3.kpuzzle.svg +0 -128
- package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.original.svg +0 -128
- package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.outlined.svg +0 -486
- package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.spaced.svg +0 -128
- package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.json.ts +0 -241
- package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.svg.ts +0 -369
- package/src/cubing/puzzles/implementations/clock/index.ts +0 -14
- package/src/cubing/puzzles/implementations/clock/src/clock.kpuzzle.svg +0 -369
- package/src/cubing/puzzles/implementations/fto/index.ts +0 -28
- package/src/cubing/puzzles/implementations/megaminx/index.ts +0 -20
- package/src/cubing/puzzles/implementations/pyraminx/index.ts +0 -18
- package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.ts +0 -84
- package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.ts +0 -88
- package/src/cubing/puzzles/implementations/pyraminx/src/pyraminx.kpuzzle.svg +0 -87
- package/src/cubing/puzzles/implementations/square1/index.ts +0 -14
- package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.ts +0 -62
- package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.ts +0 -295
- package/src/cubing/puzzles/implementations/square1/src/sq1-hyperorbit.kpuzzle.svg +0 -295
- package/src/cubing/puzzles/implementations/square1/src/sq1-simple.svg +0 -60
- package/src/cubing/puzzles/index.ts +0 -92
- package/src/cubing/puzzles/stickerings/appearance.ts +0 -292
- package/src/cubing/puzzles/stickerings/cube-stickerings.ts +0 -286
- package/src/cubing/puzzles/stickerings/fto-stickerings.ts +0 -105
- package/src/cubing/puzzles/stickerings/global-custom-stickering-hack.ts +0 -61
- package/src/cubing/puzzles/stickerings/megaminx-stickerings.ts +0 -26
- package/src/cubing/scramble/index.ts +0 -1
- package/src/cubing/search/.gitignore +0 -1
- package/src/cubing/search/esm-test-worker.js +0 -14
- package/src/cubing/search/index.ts +0 -12
- package/src/cubing/search/inside/api.spec.ts +0 -37
- package/src/cubing/search/inside/api.ts +0 -171
- package/src/cubing/search/inside/entry.js +0 -4
- package/src/cubing/search/inside/inside-worker.ts +0 -13
- package/src/cubing/search/inside/solve/addOrientationSuffix.ts +0 -17
- package/src/cubing/search/inside/solve/parseSGS.ts +0 -119
- package/src/cubing/search/inside/solve/puzzles/2x2x2.ts +0 -92
- package/src/cubing/search/inside/solve/puzzles/3x3x3/convert.ts +0 -137
- package/src/cubing/search/inside/solve/puzzles/3x3x3/filter.ts +0 -60
- package/src/cubing/search/inside/solve/puzzles/3x3x3/index.ts +0 -57
- package/src/cubing/search/inside/solve/puzzles/3x3x3/legacy-sgs.ts +0 -291
- package/src/cubing/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.ts +0 -272
- package/src/cubing/search/inside/solve/puzzles/4x4x4.ts +0 -16
- package/src/cubing/search/inside/solve/puzzles/5x5x5.ts +0 -12
- package/src/cubing/search/inside/solve/puzzles/FTO.sgs +0 -264
- package/src/cubing/search/inside/solve/puzzles/big-cubes.ts +0 -78
- package/src/cubing/search/inside/solve/puzzles/clock.ts +0 -48
- package/src/cubing/search/inside/solve/puzzles/megaminx.ts +0 -51
- package/src/cubing/search/inside/solve/puzzles/pyraminx.ts +0 -48
- package/src/cubing/search/inside/solve/puzzles/sgs-defs.spec.ts +0 -27
- package/src/cubing/search/inside/solve/puzzles/skewb.sgs.json.ts +0 -113
- package/src/cubing/search/inside/solve/puzzles/skewb.ts +0 -65
- package/src/cubing/search/inside/solve/puzzles/sq1.ts +0 -6
- package/src/cubing/search/inside/solve/puzzles/wca-minx.ts +0 -32
- package/src/cubing/search/inside/solve/tremble.ts +0 -212
- package/src/cubing/search/inside/solve/vendor/cstimer/LICENSE +0 -674
- package/src/cubing/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.ts +0 -54
- package/src/cubing/search/inside/solve/vendor/min2phase/gwt.d.ts +0 -2
- package/src/cubing/search/inside/solve/vendor/random-uint-below/get-random-values.ts +0 -38
- package/src/cubing/search/inside/solve/vendor/random-uint-below/index.ts +0 -12
- package/src/cubing/search/inside/solve/vendor/random-uint-below/random-choice.ts +0 -9
- package/src/cubing/search/inside/solve/vendor/random-uint-below/random-int.ts +0 -64
- package/src/cubing/search/instantiator.ts +0 -60
- package/src/cubing/search/outside.ts +0 -110
- package/src/cubing/search/vendor/comlink-everywhere/comlink-everywhere.webloc +0 -8
- package/src/cubing/search/vendor/comlink-everywhere/inside/index.js +0 -16
- package/src/cubing/search/vendor/comlink-everywhere/inside/node.js +0 -6
- package/src/cubing/search/vendor/comlink-everywhere/outside/index.d.ts +0 -6
- package/src/cubing/search/vendor/comlink-everywhere/outside/index.js +0 -31
- package/src/cubing/search/vendor/comlink-everywhere/outside/node.js +0 -41
- package/src/cubing/search/worker-inside-generated-string.js +0 -1
- package/src/cubing/stream/index.ts +0 -12
- package/src/cubing/stream/process/ReorientedStream.ts +0 -93
- package/src/cubing/stream/proxy-event.ts +0 -16
- package/src/cubing/stream/twizzle/TwizzleStream.ts +0 -53
- package/src/cubing/stream/twizzle/stream-types.ts +0 -45
- package/src/cubing/stream/websocket-proxy.ts +0 -73
- package/src/cubing/twisty/.DS_Store +0 -0
- package/src/cubing/twisty/controllers/.DS_Store +0 -0
- package/src/cubing/twisty/controllers/AnimationTypes.ts +0 -50
- package/src/cubing/twisty/controllers/RenderScheduler.ts +0 -28
- package/src/cubing/twisty/controllers/TwistyAnimationController.ts +0 -325
- package/src/cubing/twisty/controllers/TwistyPlayerController.ts +0 -38
- package/src/cubing/twisty/controllers/animation/.DS_Store +0 -0
- package/src/cubing/twisty/controllers/easing.ts +0 -3
- package/src/cubing/twisty/controllers/indexer/.DS_Store +0 -0
- package/src/cubing/twisty/controllers/indexer/AlgDuration.ts +0 -94
- package/src/cubing/twisty/controllers/indexer/AlgIndexer.ts +0 -87
- package/src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.ts +0 -76
- package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.ts +0 -181
- package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.ts +0 -243
- package/src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.ts +0 -193
- package/src/cubing/twisty/controllers/indexer/tree/AlgWalker.ts +0 -439
- package/src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.ts +0 -97
- package/src/cubing/twisty/controllers/indexer/tree/chunkAlgs.ts +0 -81
- package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.spec.ts.TODO +0 -59
- package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.ts +0 -162
- package/src/cubing/twisty/heavy-code-imports/.DS_Store +0 -0
- package/src/cubing/twisty/heavy-code-imports/3d.ts +0 -18
- package/src/cubing/twisty/heavy-code-imports/dynamic-entries/3d.ts +0 -31
- package/src/cubing/twisty/index.ts +0 -24
- package/src/cubing/twisty/model/.DS_Store +0 -0
- package/src/cubing/twisty/model/PromiseFreshener.ts +0 -49
- package/src/cubing/twisty/model/TwistyPlayerModel.ts +0 -254
- package/src/cubing/twisty/model/UserVisibleErrorTracker.ts +0 -22
- package/src/cubing/twisty/model/helpers.ts +0 -47
- package/src/cubing/twisty/model/props/.DS_Store +0 -0
- package/src/cubing/twisty/model/props/TwistyProp.spec.ts +0 -38
- package/src/cubing/twisty/model/props/TwistyProp.ts +0 -366
- package/src/cubing/twisty/model/props/TwistyPropDebugger.ts +0 -370
- package/src/cubing/twisty/model/props/general/URLProp.ts +0 -14
- package/src/cubing/twisty/model/props/puzzle/.DS_Store +0 -0
- package/src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.ts +0 -9
- package/src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.ts +0 -15
- package/src/cubing/twisty/model/props/puzzle/display/SpriteProp.ts +0 -43
- package/src/cubing/twisty/model/props/puzzle/display/StickeringProp.ts +0 -54
- package/src/cubing/twisty/model/props/puzzle/state/AlgProp.ts +0 -91
- package/src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.ts +0 -28
- package/src/cubing/twisty/model/props/puzzle/state/AnchoredStartProp.ts +0 -44
- package/src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.ts +0 -17
- package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesProp.ts +0 -109
- package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.ts +0 -48
- package/src/cubing/twisty/model/props/puzzle/state/CurrentTransformationProp.ts +0 -46
- package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.ts +0 -53
- package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.ts +0 -15
- package/src/cubing/twisty/model/props/puzzle/state/IndexerProp.ts +0 -24
- package/src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.ts +0 -22
- package/src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.ts +0 -9
- package/src/cubing/twisty/model/props/puzzle/state/NaiveMoveCountProp.ts +0 -20
- package/src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.ts +0 -28
- package/src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.ts +0 -14
- package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDefProp.ts +0 -14
- package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.ts +0 -14
- package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.ts +0 -12
- package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.ts +0 -36
- package/src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.ts +0 -38
- package/src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.ts +0 -45
- package/src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.ts +0 -78
- package/src/cubing/twisty/model/props/timeline/PlayingInfoProp.ts +0 -48
- package/src/cubing/twisty/model/props/timeline/TempoScaleProp.ts +0 -13
- package/src/cubing/twisty/model/props/timeline/TimestampRequestProp.ts +0 -38
- package/src/cubing/twisty/model/props/viewer/BackViewProp.ts +0 -16
- package/src/cubing/twisty/model/props/viewer/BackgroundProp.ts +0 -15
- package/src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.ts +0 -86
- package/src/cubing/twisty/model/props/viewer/ControlPanelProp.ts +0 -14
- package/src/cubing/twisty/model/props/viewer/LatitudeLimit.ts +0 -11
- package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.ts +0 -127
- package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.ts +0 -69
- package/src/cubing/twisty/model/props/viewer/TimeRangeProp.ts +0 -15
- package/src/cubing/twisty/model/props/viewer/ViewerLinkProp.ts +0 -14
- package/src/cubing/twisty/model/props/viewer/VisualizationProp.ts +0 -17
- package/src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.ts +0 -45
- package/src/cubing/twisty/old/.DS_Store +0 -0
- package/src/cubing/twisty/old/animation/.DS_Store +0 -0
- package/src/cubing/twisty/old/dom/.DS_Store +0 -0
- package/src/cubing/twisty/views/.DS_Store +0 -0
- package/src/cubing/twisty/views/2D/Twisty2DPuzzle.css.ts +0 -26
- package/src/cubing/twisty/views/2D/Twisty2DPuzzle.ts +0 -146
- package/src/cubing/twisty/views/2D/Twisty2DPuzzleWrapper.ts +0 -52
- package/src/cubing/twisty/views/2D/Twisty2DSceneWrapper.ts +0 -77
- package/src/cubing/twisty/views/3D/.DS_Store +0 -0
- package/src/cubing/twisty/views/3D/DragTracker.ts +0 -184
- package/src/cubing/twisty/views/3D/RendererPool.ts +0 -54
- package/src/cubing/twisty/views/3D/TAU.ts +0 -2
- package/src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.ts +0 -214
- package/src/cubing/twisty/views/3D/Twisty3DRenderTarget.ts +0 -5
- package/src/cubing/twisty/views/3D/Twisty3DScene.ts +0 -42
- package/src/cubing/twisty/views/3D/Twisty3DSceneWrapper.ts +0 -189
- package/src/cubing/twisty/views/3D/Twisty3DVantage.css.ts +0 -32
- package/src/cubing/twisty/views/3D/Twisty3DVantage.ts +0 -312
- package/src/cubing/twisty/views/3D/TwistyOrbitControls.spec.ts +0 -213
- package/src/cubing/twisty/views/3D/TwistyOrbitControls.ts +0 -176
- package/src/cubing/twisty/views/3D/puzzles/Cube3D.ts +0 -966
- package/src/cubing/twisty/views/3D/puzzles/KPuzzleWrapper.ts +0 -142
- package/src/cubing/twisty/views/3D/puzzles/PG3D.ts +0 -1078
- package/src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.ts +0 -6
- package/src/cubing/twisty/views/ClassListManager.ts +0 -34
- package/src/cubing/twisty/views/ManagedCustomElement.ts +0 -76
- package/src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.ts +0 -116
- package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.ts +0 -72
- package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.ts +0 -57
- package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.ts +0 -368
- package/src/cubing/twisty/views/TwistyAlgEditor/model.ts +0 -179
- package/src/cubing/twisty/views/TwistyAlgViewer.css.ts +0 -25
- package/src/cubing/twisty/views/TwistyAlgViewer.ts +0 -502
- package/src/cubing/twisty/views/TwistyPlayer.css.ts +0 -73
- package/src/cubing/twisty/views/TwistyPlayer.ts +0 -362
- package/src/cubing/twisty/views/TwistyPlayerSettable.ts +0 -115
- package/src/cubing/twisty/views/TwistyViewerWrapper.css.ts +0 -41
- package/src/cubing/twisty/views/canvas.ts +0 -9
- package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.css.ts +0 -127
- package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.ts +0 -156
- package/src/cubing/twisty/views/control-panel/TwistyScrubber.css.ts +0 -48
- package/src/cubing/twisty/views/control-panel/TwistyScrubberV2.ts +0 -145
- package/src/cubing/twisty/views/control-panel/webkit-fullscreen.ts +0 -44
- package/src/cubing/twisty/views/document.ts +0 -4
- package/src/cubing/twisty/views/node-custom-element-shims.ts +0 -30
- package/src/cubing/twisty/views/screenshot.ts +0 -90
- package/src/cubing/twisty/views/stream/TwistyStreamSource.css.ts +0 -17
- package/src/cubing/twisty/views/stream/TwistyStreamSource.ts +0 -155
- package/src/cubing/vendor/p-lazy/license +0 -9
- package/src/cubing/vendor/p-lazy/p-lazy.ts +0 -52
- package/src/cubing/vendor/p-lazy/readme.md +0 -54
- package/src/cubing/vendor/three/examples/jsm/libs/stats.modified.module.ts +0 -179
- package/stream/index.d.ts +0 -1
- package/twisty/index.d.ts +0 -1
|
@@ -1,53 +1,101 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
mustBeInsideWorker,
|
|
3
|
+
random333Scramble
|
|
4
|
+
} from "./chunk-NV5ESXTN.js";
|
|
5
|
+
import {
|
|
6
|
+
randomUIntBelowFactory
|
|
7
|
+
} from "./chunk-37EHU3GZ.js";
|
|
8
|
+
import "./chunk-ZLIK3DZT.js";
|
|
9
|
+
import "./chunk-TNRZDNGH.js";
|
|
10
|
+
import {
|
|
11
|
+
Alg
|
|
12
|
+
} from "./chunk-EWRBHQFX.js";
|
|
13
|
+
import "./chunk-WO2AXYFE.js";
|
|
14
|
+
|
|
15
|
+
// src/cubing/vendor/cstimer/src/js/lib/mathlib.ts
|
|
16
|
+
var Cnk = [];
|
|
17
|
+
var fact = [1];
|
|
18
|
+
for (let i = 0; i < 32; ++i) {
|
|
19
|
+
Cnk[i] = [];
|
|
20
|
+
for (let j = 0; j < 32; ++j) {
|
|
21
|
+
Cnk[i][j] = 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
for (let i = 0; i < 32; ++i) {
|
|
25
|
+
Cnk[i][0] = Cnk[i][i] = 1;
|
|
26
|
+
fact[i + 1] = fact[i] * (i + 1);
|
|
27
|
+
for (let j = 1; j < i; ++j) {
|
|
28
|
+
Cnk[i][j] = Cnk[i - 1][j - 1] + Cnk[i - 1][j];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function circle(arr, ...moreArgs) {
|
|
32
|
+
const length = moreArgs.length, temp = arr[moreArgs[length - 1]];
|
|
33
|
+
for (let i = length; i > 0; i--) {
|
|
34
|
+
arr[moreArgs[i]] = arr[moreArgs[i - 1]];
|
|
35
|
+
}
|
|
36
|
+
arr[moreArgs[0]] = temp;
|
|
37
|
+
return circle;
|
|
38
|
+
}
|
|
39
|
+
function set8Perm(arr, idx, n, even) {
|
|
40
|
+
n = (n || 8) - 1;
|
|
41
|
+
let val = 1985229328;
|
|
42
|
+
let prt = 0;
|
|
43
|
+
even ?? (even = 0);
|
|
44
|
+
if (even < 0) {
|
|
45
|
+
idx <<= 1;
|
|
46
|
+
}
|
|
47
|
+
for (let i = 0; i < n; ++i) {
|
|
48
|
+
const p = fact[n - i];
|
|
49
|
+
let v = ~~(idx / p);
|
|
50
|
+
prt ^= v;
|
|
51
|
+
idx %= p;
|
|
52
|
+
v <<= 2;
|
|
53
|
+
arr[i] = val >> v & 7;
|
|
54
|
+
const m = (1 << v) - 1;
|
|
55
|
+
val = (val & m) + (val >> 4 & ~m);
|
|
56
|
+
}
|
|
57
|
+
if (even < 0 && (prt & 1) !== 0) {
|
|
58
|
+
arr[n] = arr[n - 1];
|
|
59
|
+
arr[n - 1] = val & 7;
|
|
60
|
+
} else {
|
|
61
|
+
arr[n] = val & 7;
|
|
62
|
+
}
|
|
63
|
+
return arr;
|
|
64
|
+
}
|
|
11
65
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
66
|
+
// src/cubing/vendor/cstimer/src/js/scramble/scramble_444.ts
|
|
67
|
+
function createArray(length1, length2) {
|
|
68
|
+
const result = new Array(length1);
|
|
69
|
+
if (length2 !== void 0) {
|
|
15
70
|
for (let i = 0; i < length1; i++) {
|
|
16
71
|
result[i] = new Array(length2);
|
|
17
72
|
}
|
|
18
73
|
}
|
|
19
74
|
return result;
|
|
20
75
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
function newSeed(id: number) {
|
|
76
|
+
var _;
|
|
77
|
+
var seedTable = {};
|
|
78
|
+
var CM$ = {};
|
|
79
|
+
var Q$Object = 0;
|
|
80
|
+
var Q$Serializable = 30;
|
|
81
|
+
var Q$Center1 = 21;
|
|
82
|
+
var Q$CornerCube = 22;
|
|
83
|
+
var Q$Edge3 = 23;
|
|
84
|
+
var Q$FullCube_0 = 24;
|
|
85
|
+
var Q$FullCube_$1 = 25;
|
|
86
|
+
var Q$Comparable = 34;
|
|
87
|
+
var Q$Search_0 = 26;
|
|
88
|
+
var Q$Object_$1 = 40;
|
|
89
|
+
function newSeed(id) {
|
|
37
90
|
return new seedTable[id]();
|
|
38
91
|
}
|
|
39
|
-
|
|
40
|
-
function defineSeed(
|
|
41
|
-
id: number,
|
|
42
|
-
superSeed: number,
|
|
43
|
-
castableTypeMap: any, // TODO
|
|
44
|
-
...moreArgs: any[]
|
|
45
|
-
) {
|
|
92
|
+
function defineSeed(id, superSeed, castableTypeMap, ...moreArgs) {
|
|
46
93
|
let seed = seedTable[id];
|
|
47
94
|
if (seed && !seed.___clazz$) {
|
|
48
95
|
_ = seed.prototype;
|
|
49
96
|
} else {
|
|
50
|
-
!seed && (seed = seedTable[id] = function
|
|
97
|
+
!seed && (seed = seedTable[id] = function() {
|
|
98
|
+
});
|
|
51
99
|
_ = seed.prototype = superSeed < 0 ? {} : newSeed(superSeed);
|
|
52
100
|
_.castableTypeMap$ = castableTypeMap;
|
|
53
101
|
}
|
|
@@ -59,35 +107,30 @@ function defineSeed(
|
|
|
59
107
|
seed.___clazz$ = null;
|
|
60
108
|
}
|
|
61
109
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
const result: Record<number, number> = {};
|
|
110
|
+
function makeCastMap(a) {
|
|
111
|
+
const result = {};
|
|
65
112
|
for (let i_0 = 0, c = a.length; i_0 < c; ++i_0) {
|
|
66
113
|
result[a[i_0]] = 1;
|
|
67
114
|
}
|
|
68
115
|
return result;
|
|
69
116
|
}
|
|
70
|
-
|
|
71
117
|
defineSeed(1, -1, CM$);
|
|
72
|
-
|
|
73
118
|
_.value = null;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
function createFrom(a: any, length_0: number) {
|
|
119
|
+
function Array_0() {
|
|
120
|
+
}
|
|
121
|
+
function createFrom(a, length_0) {
|
|
78
122
|
const result = createFromSeed(0, length_0);
|
|
79
123
|
initValues(a.___clazz$, a.castableTypeMap$, a.queryId$, result);
|
|
80
124
|
return result;
|
|
81
125
|
}
|
|
82
|
-
|
|
83
|
-
function createFromSeed(seedType: number, length_0: number) {
|
|
126
|
+
function createFromSeed(seedType, length_0) {
|
|
84
127
|
const array = new Array(length_0);
|
|
85
128
|
if (seedType === 3) {
|
|
86
129
|
for (let i_0 = 0; i_0 < length_0; ++i_0) {
|
|
87
130
|
const value = {
|
|
88
131
|
m: 0,
|
|
89
132
|
l: 0,
|
|
90
|
-
h: 0
|
|
133
|
+
h: 0
|
|
91
134
|
};
|
|
92
135
|
value.l = value.m = value.h = 0;
|
|
93
136
|
array[i_0] = value;
|
|
@@ -100,13 +143,11 @@ function createFromSeed(seedType: number, length_0: number) {
|
|
|
100
143
|
}
|
|
101
144
|
return array;
|
|
102
145
|
}
|
|
103
|
-
|
|
104
146
|
function initDim(arrayClass, castableTypeMap, queryId, length_0, seedType) {
|
|
105
147
|
const result = createFromSeed(seedType, length_0);
|
|
106
148
|
initValues(arrayClass, castableTypeMap, queryId, result);
|
|
107
149
|
return result;
|
|
108
150
|
}
|
|
109
|
-
|
|
110
151
|
function initValues(arrayClass, castableTypeMap, queryId, array) {
|
|
111
152
|
$clinit_Array$ExpandoWrapper();
|
|
112
153
|
wrapArray(array, expandoNames_0, expandoValues_0);
|
|
@@ -115,15 +156,12 @@ function initValues(arrayClass, castableTypeMap, queryId, array) {
|
|
|
115
156
|
array.queryId$ = queryId;
|
|
116
157
|
return array;
|
|
117
158
|
}
|
|
118
|
-
|
|
119
159
|
function setCheck(array, index, value) {
|
|
120
|
-
return
|
|
160
|
+
return array[index] = value;
|
|
121
161
|
}
|
|
122
|
-
|
|
123
162
|
defineSeed(73, 1, {}, Array_0);
|
|
124
163
|
_.queryId$ = 0;
|
|
125
|
-
|
|
126
|
-
let ran$clinit_Array$ExpandoWrapper = false;
|
|
164
|
+
var ran$clinit_Array$ExpandoWrapper = false;
|
|
127
165
|
function $clinit_Array$ExpandoWrapper() {
|
|
128
166
|
if (ran$clinit_Array$ExpandoWrapper) {
|
|
129
167
|
return;
|
|
@@ -133,37 +171,31 @@ function $clinit_Array$ExpandoWrapper() {
|
|
|
133
171
|
expandoValues_0 = [];
|
|
134
172
|
initExpandos(new Array_0(), expandoNames_0, expandoValues_0);
|
|
135
173
|
}
|
|
136
|
-
|
|
137
174
|
function initExpandos(protoType, expandoNames, expandoValues) {
|
|
138
|
-
let i_0 = 0,
|
|
139
|
-
value;
|
|
175
|
+
let i_0 = 0, value;
|
|
140
176
|
for (const name_0 in protoType) {
|
|
141
|
-
if (
|
|
177
|
+
if (value = protoType[name_0]) {
|
|
142
178
|
expandoNames[i_0] = name_0;
|
|
143
179
|
expandoValues[i_0] = value;
|
|
144
180
|
++i_0;
|
|
145
181
|
}
|
|
146
182
|
}
|
|
147
183
|
}
|
|
148
|
-
|
|
149
184
|
function wrapArray(array, expandoNames, expandoValues) {
|
|
150
185
|
$clinit_Array$ExpandoWrapper();
|
|
151
186
|
for (let i_0 = 0, c = expandoNames.length; i_0 < c; ++i_0) {
|
|
152
187
|
array[expandoNames[i_0]] = expandoValues[i_0];
|
|
153
188
|
}
|
|
154
189
|
}
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
190
|
+
var expandoNames_0;
|
|
191
|
+
var expandoValues_0;
|
|
158
192
|
function canCast(src, dstId) {
|
|
159
193
|
return src.castableTypeMap$ && !!src.castableTypeMap$[dstId];
|
|
160
194
|
}
|
|
161
|
-
|
|
162
195
|
function instanceOf(src, dstId) {
|
|
163
196
|
return src !== null && canCast(src, dstId);
|
|
164
197
|
}
|
|
165
|
-
|
|
166
|
-
let ran$clinit_Center1 = false;
|
|
198
|
+
var ran$clinit_Center1 = false;
|
|
167
199
|
function $clinit_Center1() {
|
|
168
200
|
if (ran$clinit_Center1) {
|
|
169
201
|
return false;
|
|
@@ -177,11 +209,9 @@ function $clinit_Center1() {
|
|
|
177
209
|
syminv = createArray(48);
|
|
178
210
|
finish_0 = createArray(48);
|
|
179
211
|
}
|
|
180
|
-
|
|
181
212
|
function $$init_1(this$static) {
|
|
182
213
|
this$static.ct = createArray(24);
|
|
183
214
|
}
|
|
184
|
-
|
|
185
215
|
function $equals(this$static, obj) {
|
|
186
216
|
let c, i_0;
|
|
187
217
|
if (instanceOf(obj, Q$Center1)) {
|
|
@@ -195,7 +225,6 @@ function $equals(this$static, obj) {
|
|
|
195
225
|
}
|
|
196
226
|
return false;
|
|
197
227
|
}
|
|
198
|
-
|
|
199
228
|
function $get_1(this$static) {
|
|
200
229
|
let i_0, idx, r;
|
|
201
230
|
idx = 0;
|
|
@@ -205,7 +234,6 @@ function $get_1(this$static) {
|
|
|
205
234
|
}
|
|
206
235
|
return idx;
|
|
207
236
|
}
|
|
208
|
-
|
|
209
237
|
function $getsym(this$static) {
|
|
210
238
|
let cord, j;
|
|
211
239
|
if (raw2sym !== null) {
|
|
@@ -213,14 +241,14 @@ function $getsym(this$static) {
|
|
|
213
241
|
}
|
|
214
242
|
for (j = 0; j < 48; ++j) {
|
|
215
243
|
cord = raw2sym_0($get_1(this$static));
|
|
216
|
-
if (cord !== -1)
|
|
244
|
+
if (cord !== -1)
|
|
245
|
+
return cord * 64 + j;
|
|
217
246
|
$rot(this$static, 0);
|
|
218
247
|
j % 2 === 1 && $rot(this$static, 1);
|
|
219
248
|
j % 8 === 7 && $rot(this$static, 2);
|
|
220
249
|
j % 16 === 15 && $rot(this$static, 3);
|
|
221
250
|
}
|
|
222
251
|
}
|
|
223
|
-
|
|
224
252
|
function $move(this$static, m_0) {
|
|
225
253
|
const key = m_0 % 3;
|
|
226
254
|
m_0 = ~~(m_0 / 3);
|
|
@@ -274,7 +302,6 @@ function $move(this$static, m_0) {
|
|
|
274
302
|
swap(this$static.ct, 0, 23, 6, 17, key);
|
|
275
303
|
}
|
|
276
304
|
}
|
|
277
|
-
|
|
278
305
|
function $rot(this$static, r) {
|
|
279
306
|
switch (r) {
|
|
280
307
|
case 0:
|
|
@@ -300,7 +327,6 @@ function $rot(this$static, r) {
|
|
|
300
327
|
$move(this$static, 35);
|
|
301
328
|
}
|
|
302
329
|
}
|
|
303
|
-
|
|
304
330
|
function $rotate(this$static, r) {
|
|
305
331
|
let j;
|
|
306
332
|
for (j = 0; j < r; ++j) {
|
|
@@ -310,7 +336,6 @@ function $rotate(this$static, r) {
|
|
|
310
336
|
j % 16 === 15 && $rot(this$static, 3);
|
|
311
337
|
}
|
|
312
338
|
}
|
|
313
|
-
|
|
314
339
|
function $set_0(this$static, idx) {
|
|
315
340
|
let i_0, r;
|
|
316
341
|
r = 8;
|
|
@@ -322,14 +347,12 @@ function $set_0(this$static, idx) {
|
|
|
322
347
|
}
|
|
323
348
|
}
|
|
324
349
|
}
|
|
325
|
-
|
|
326
350
|
function $set_1(this$static, c) {
|
|
327
351
|
let i_0;
|
|
328
352
|
for (i_0 = 0; i_0 < 24; ++i_0) {
|
|
329
353
|
this$static.ct[i_0] = c.ct[i_0];
|
|
330
354
|
}
|
|
331
355
|
}
|
|
332
|
-
|
|
333
356
|
function Center1_0() {
|
|
334
357
|
let i_0;
|
|
335
358
|
$$init_1(this);
|
|
@@ -340,7 +363,6 @@ function Center1_0() {
|
|
|
340
363
|
this.ct[i_0] = 0;
|
|
341
364
|
}
|
|
342
365
|
}
|
|
343
|
-
|
|
344
366
|
function Center1_1(c, urf) {
|
|
345
367
|
let i_0;
|
|
346
368
|
$$init_1(this);
|
|
@@ -348,7 +370,6 @@ function Center1_1(c, urf) {
|
|
|
348
370
|
this.ct[i_0] = ~~(c.ct[i_0] / 2) === urf ? 1 : 0;
|
|
349
371
|
}
|
|
350
372
|
}
|
|
351
|
-
|
|
352
373
|
function Center1_2(ct) {
|
|
353
374
|
let i_0;
|
|
354
375
|
$$init_1(this);
|
|
@@ -356,7 +377,6 @@ function Center1_2(ct) {
|
|
|
356
377
|
this.ct[i_0] = ct[i_0];
|
|
357
378
|
}
|
|
358
379
|
}
|
|
359
|
-
|
|
360
380
|
function createMoveTable() {
|
|
361
381
|
let i_0, m_0;
|
|
362
382
|
const c = new Center1_0();
|
|
@@ -370,7 +390,6 @@ function createMoveTable() {
|
|
|
370
390
|
}
|
|
371
391
|
}
|
|
372
392
|
}
|
|
373
|
-
|
|
374
393
|
function createPrun() {
|
|
375
394
|
let check, depth, done, i_0, idx, inv, m_0, select;
|
|
376
395
|
fill_0(csprun);
|
|
@@ -402,7 +421,6 @@ function createPrun() {
|
|
|
402
421
|
}
|
|
403
422
|
}
|
|
404
423
|
}
|
|
405
|
-
|
|
406
424
|
function getSolvedSym(cube) {
|
|
407
425
|
let check, i_0, j;
|
|
408
426
|
const c = new Center1_2(cube.ct);
|
|
@@ -424,7 +442,6 @@ function getSolvedSym(cube) {
|
|
|
424
442
|
}
|
|
425
443
|
return -1;
|
|
426
444
|
}
|
|
427
|
-
|
|
428
445
|
function initSym_0() {
|
|
429
446
|
let i_0, j, k_0;
|
|
430
447
|
const c = new Center1_0();
|
|
@@ -482,7 +499,6 @@ function initSym_0() {
|
|
|
482
499
|
i_0 % 16 === 15 && $rot(c, 3);
|
|
483
500
|
}
|
|
484
501
|
}
|
|
485
|
-
|
|
486
502
|
function initSym2Raw() {
|
|
487
503
|
let count, i_0, idx, j;
|
|
488
504
|
const c = new Center1_0();
|
|
@@ -492,12 +508,12 @@ function initSym2Raw() {
|
|
|
492
508
|
}
|
|
493
509
|
count = 0;
|
|
494
510
|
for (i_0 = 0; i_0 < 735471; ++i_0) {
|
|
495
|
-
if ((occ[~~i_0 >>> 5] &
|
|
511
|
+
if ((occ[~~i_0 >>> 5] & 1 << (i_0 & 31)) === 0) {
|
|
496
512
|
$set_0(c, i_0);
|
|
497
513
|
for (j = 0; j < 48; ++j) {
|
|
498
514
|
idx = $get_1(c);
|
|
499
515
|
occ[~~idx >>> 5] |= 1 << (idx & 31);
|
|
500
|
-
raw2sym !== null && (raw2sym[idx] =
|
|
516
|
+
raw2sym !== null && (raw2sym[idx] = count << 6 | syminv[j]);
|
|
501
517
|
$rot(c, 0);
|
|
502
518
|
j % 2 === 1 && $rot(c, 1);
|
|
503
519
|
j % 8 === 7 && $rot(c, 2);
|
|
@@ -507,24 +523,20 @@ function initSym2Raw() {
|
|
|
507
523
|
}
|
|
508
524
|
}
|
|
509
525
|
}
|
|
510
|
-
|
|
511
526
|
function raw2sym_0(n) {
|
|
512
527
|
const m_0 = binarySearch_0(sym2raw, n);
|
|
513
528
|
return m_0 >= 0 ? m_0 : -1;
|
|
514
529
|
}
|
|
515
|
-
|
|
516
530
|
defineSeed(153, 1, makeCastMap([Q$Center1]), Center1_0, Center1_1, Center1_2);
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
let ran$clinit_Center2 = false;
|
|
531
|
+
var csprun;
|
|
532
|
+
var ctsmv;
|
|
533
|
+
var finish_0;
|
|
534
|
+
var raw2sym = null;
|
|
535
|
+
var sym2raw;
|
|
536
|
+
var syminv;
|
|
537
|
+
var symmove;
|
|
538
|
+
var symmult;
|
|
539
|
+
var ran$clinit_Center2 = false;
|
|
528
540
|
function $clinit_Center2() {
|
|
529
541
|
if (ran$clinit_Center2) {
|
|
530
542
|
return;
|
|
@@ -536,11 +548,44 @@ function $clinit_Center2() {
|
|
|
536
548
|
ctrot = createArray(6435, 16);
|
|
537
549
|
ctprun = createArray(450450);
|
|
538
550
|
pmv = [
|
|
539
|
-
0,
|
|
540
|
-
0,
|
|
551
|
+
0,
|
|
552
|
+
0,
|
|
553
|
+
0,
|
|
554
|
+
0,
|
|
555
|
+
0,
|
|
556
|
+
0,
|
|
557
|
+
0,
|
|
558
|
+
0,
|
|
559
|
+
0,
|
|
560
|
+
0,
|
|
561
|
+
0,
|
|
562
|
+
0,
|
|
563
|
+
0,
|
|
564
|
+
0,
|
|
565
|
+
0,
|
|
566
|
+
0,
|
|
567
|
+
0,
|
|
568
|
+
0,
|
|
569
|
+
0,
|
|
570
|
+
0,
|
|
571
|
+
0,
|
|
572
|
+
1,
|
|
573
|
+
0,
|
|
574
|
+
1,
|
|
575
|
+
0,
|
|
576
|
+
0,
|
|
577
|
+
0,
|
|
578
|
+
0,
|
|
579
|
+
0,
|
|
580
|
+
0,
|
|
581
|
+
1,
|
|
582
|
+
0,
|
|
583
|
+
1,
|
|
584
|
+
0,
|
|
585
|
+
0,
|
|
586
|
+
0
|
|
541
587
|
];
|
|
542
588
|
}
|
|
543
|
-
|
|
544
589
|
function $getct(this$static) {
|
|
545
590
|
let i_0, idx, r;
|
|
546
591
|
idx = 0;
|
|
@@ -550,7 +595,6 @@ function $getct(this$static) {
|
|
|
550
595
|
}
|
|
551
596
|
return idx;
|
|
552
597
|
}
|
|
553
|
-
|
|
554
598
|
function $getrl(this$static) {
|
|
555
599
|
let i_0, idx, r;
|
|
556
600
|
idx = 0;
|
|
@@ -560,7 +604,6 @@ function $getrl(this$static) {
|
|
|
560
604
|
}
|
|
561
605
|
return idx * 2 + this$static.parity;
|
|
562
606
|
}
|
|
563
|
-
|
|
564
607
|
function $move_0(this$static, m_0) {
|
|
565
608
|
this$static.parity ^= pmv[m_0];
|
|
566
609
|
const key = m_0 % 3;
|
|
@@ -615,7 +658,6 @@ function $move_0(this$static, m_0) {
|
|
|
615
658
|
swap(this$static.ct, 1, 0, 7, 6, key);
|
|
616
659
|
}
|
|
617
660
|
}
|
|
618
|
-
|
|
619
661
|
function $rot_0(this$static, r) {
|
|
620
662
|
switch (r) {
|
|
621
663
|
case 0:
|
|
@@ -635,7 +677,6 @@ function $rot_0(this$static, r) {
|
|
|
635
677
|
swap(this$static.rl, 1, 2, 4, 7, 1);
|
|
636
678
|
}
|
|
637
679
|
}
|
|
638
|
-
|
|
639
680
|
function $set_2(this$static, c, edgeParity) {
|
|
640
681
|
let i_0;
|
|
641
682
|
for (i_0 = 0; i_0 < 16; ++i_0) {
|
|
@@ -646,7 +687,6 @@ function $set_2(this$static, c, edgeParity) {
|
|
|
646
687
|
}
|
|
647
688
|
this$static.parity = edgeParity;
|
|
648
689
|
}
|
|
649
|
-
|
|
650
690
|
function $setct(this$static, idx) {
|
|
651
691
|
let i_0, r;
|
|
652
692
|
r = 8;
|
|
@@ -660,7 +700,6 @@ function $setct(this$static, idx) {
|
|
|
660
700
|
}
|
|
661
701
|
}
|
|
662
702
|
}
|
|
663
|
-
|
|
664
703
|
function $setrl(this$static, idx) {
|
|
665
704
|
let i_0, r;
|
|
666
705
|
this$static.parity = idx & 1;
|
|
@@ -676,12 +715,10 @@ function $setrl(this$static, idx) {
|
|
|
676
715
|
}
|
|
677
716
|
}
|
|
678
717
|
}
|
|
679
|
-
|
|
680
718
|
function Center2_0() {
|
|
681
719
|
this.rl = createArray(8);
|
|
682
720
|
this.ct = createArray(16);
|
|
683
721
|
}
|
|
684
|
-
|
|
685
722
|
function init_3() {
|
|
686
723
|
let ct, ctx, depth, done, i_0, idx, j, m_0, rl, rlx;
|
|
687
724
|
const c = new Center2_0();
|
|
@@ -718,16 +755,9 @@ function init_3() {
|
|
|
718
755
|
}
|
|
719
756
|
}
|
|
720
757
|
fill_0(ctprun);
|
|
721
|
-
ctprun[0] =
|
|
722
|
-
ctprun[18] =
|
|
723
|
-
ctprun[28] =
|
|
724
|
-
ctprun[46] =
|
|
725
|
-
ctprun[54] =
|
|
726
|
-
ctprun[56] =
|
|
727
|
-
0;
|
|
758
|
+
ctprun[0] = ctprun[18] = ctprun[28] = ctprun[46] = ctprun[54] = ctprun[56] = 0;
|
|
728
759
|
depth = 0;
|
|
729
760
|
done = 6;
|
|
730
|
-
|
|
731
761
|
while (done !== 450450) {
|
|
732
762
|
const inv = depth > 6;
|
|
733
763
|
const select = inv ? -1 : depth;
|
|
@@ -757,12 +787,15 @@ function init_3() {
|
|
|
757
787
|
}
|
|
758
788
|
}
|
|
759
789
|
}
|
|
760
|
-
|
|
761
790
|
defineSeed(154, 1, {}, Center2_0);
|
|
762
791
|
_.parity = 0;
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
792
|
+
var ctmv;
|
|
793
|
+
var ctprun;
|
|
794
|
+
var ctrot;
|
|
795
|
+
var pmv;
|
|
796
|
+
var rlmv;
|
|
797
|
+
var rlrot;
|
|
798
|
+
var ran$clinit_Center3 = false;
|
|
766
799
|
function $clinit_Center3() {
|
|
767
800
|
if (ran$clinit_Center3) {
|
|
768
801
|
return;
|
|
@@ -774,7 +807,6 @@ function $clinit_Center3() {
|
|
|
774
807
|
rl2std = [0, 9, 14, 23, 27, 28, 41, 42, 46, 55, 60, 69];
|
|
775
808
|
std2rl = createArray(70);
|
|
776
809
|
}
|
|
777
|
-
|
|
778
810
|
function $getct_0(this$static) {
|
|
779
811
|
let i_0, idx, idxrl, r;
|
|
780
812
|
idx = 0;
|
|
@@ -796,7 +828,6 @@ function $getct_0(this$static) {
|
|
|
796
828
|
}
|
|
797
829
|
return this$static.parity + 2 * (idx + std2rl[idxrl]);
|
|
798
830
|
}
|
|
799
|
-
|
|
800
831
|
function $move_1(this$static, i_0) {
|
|
801
832
|
this$static.parity ^= pmove[i_0];
|
|
802
833
|
switch (i_0) {
|
|
@@ -857,23 +888,16 @@ function $move_1(this$static, i_0) {
|
|
|
857
888
|
swap(this$static.rl, 1, 4, 7, 2, 1);
|
|
858
889
|
}
|
|
859
890
|
}
|
|
860
|
-
|
|
861
891
|
function $set_3(this$static, c, eXc_parity) {
|
|
862
892
|
let i_0;
|
|
863
|
-
const parity =
|
|
864
|
-
(c.ct[0] > c.ct[8] ? 1 : 0) ^
|
|
865
|
-
(c.ct[8] > c.ct[16] ? 1 : 0) ^
|
|
866
|
-
(c.ct[0] > c.ct[16] ? 1 : 0)
|
|
867
|
-
? 1
|
|
868
|
-
: 0;
|
|
893
|
+
const parity = (c.ct[0] > c.ct[8] ? 1 : 0) ^ (c.ct[8] > c.ct[16] ? 1 : 0) ^ (c.ct[0] > c.ct[16] ? 1 : 0) ? 1 : 0;
|
|
869
894
|
for (i_0 = 0; i_0 < 8; ++i_0) {
|
|
870
|
-
this$static.ud[i_0] =
|
|
871
|
-
this$static.fb[i_0] =
|
|
872
|
-
this$static.rl[i_0] =
|
|
895
|
+
this$static.ud[i_0] = c.ct[i_0] & 1 ^ 1;
|
|
896
|
+
this$static.fb[i_0] = c.ct[i_0 + 8] & 1 ^ 1;
|
|
897
|
+
this$static.rl[i_0] = c.ct[i_0 + 16] & 1 ^ 1 ^ parity;
|
|
873
898
|
}
|
|
874
899
|
this$static.parity = parity ^ eXc_parity;
|
|
875
900
|
}
|
|
876
|
-
|
|
877
901
|
function $setct_0(this$static, idx) {
|
|
878
902
|
let i_0, idxfb, idxrl, r;
|
|
879
903
|
this$static.parity = idx & 1;
|
|
@@ -911,13 +935,11 @@ function $setct_0(this$static, idx) {
|
|
|
911
935
|
}
|
|
912
936
|
}
|
|
913
937
|
}
|
|
914
|
-
|
|
915
938
|
function Center3_0() {
|
|
916
939
|
this.ud = createArray(8);
|
|
917
940
|
this.rl = createArray(8);
|
|
918
941
|
this.fb = createArray(8);
|
|
919
942
|
}
|
|
920
|
-
|
|
921
943
|
function init_4() {
|
|
922
944
|
let depth, done, i_0, m_0;
|
|
923
945
|
for (i_0 = 0; i_0 < 12; ++i_0) {
|
|
@@ -950,18 +972,19 @@ function init_4() {
|
|
|
950
972
|
++depth;
|
|
951
973
|
}
|
|
952
974
|
}
|
|
953
|
-
|
|
954
975
|
defineSeed(155, 1, {}, Center3_0);
|
|
955
976
|
_.parity = 0;
|
|
956
|
-
|
|
957
|
-
|
|
977
|
+
var ctmove;
|
|
978
|
+
var pmove;
|
|
979
|
+
var prun_0;
|
|
980
|
+
var rl2std;
|
|
981
|
+
var std2rl;
|
|
958
982
|
function $copy_1(this$static, c) {
|
|
959
983
|
let i_0;
|
|
960
984
|
for (i_0 = 0; i_0 < 24; ++i_0) {
|
|
961
985
|
this$static.ct[i_0] = c.ct[i_0];
|
|
962
986
|
}
|
|
963
987
|
}
|
|
964
|
-
|
|
965
988
|
function $move_2(this$static, m_0) {
|
|
966
989
|
const key = m_0 % 3;
|
|
967
990
|
m_0 = ~~(m_0 / 3);
|
|
@@ -1015,7 +1038,6 @@ function $move_2(this$static, m_0) {
|
|
|
1015
1038
|
swap(this$static.ct, 0, 23, 6, 17, key);
|
|
1016
1039
|
}
|
|
1017
1040
|
}
|
|
1018
|
-
|
|
1019
1041
|
function CenterCube_0() {
|
|
1020
1042
|
let i_0;
|
|
1021
1043
|
this.ct = createArray(24);
|
|
@@ -1023,7 +1045,6 @@ function CenterCube_0() {
|
|
|
1023
1045
|
this.ct[i_0] = ~~(i_0 / 4);
|
|
1024
1046
|
}
|
|
1025
1047
|
}
|
|
1026
|
-
|
|
1027
1048
|
function CenterCube_1(randomUIntBelow) {
|
|
1028
1049
|
let i_0, m_0, t;
|
|
1029
1050
|
CenterCube_0.call(this);
|
|
@@ -1036,10 +1057,8 @@ function CenterCube_1(randomUIntBelow) {
|
|
|
1036
1057
|
}
|
|
1037
1058
|
}
|
|
1038
1059
|
}
|
|
1039
|
-
|
|
1040
1060
|
defineSeed(156, 1, {}, CenterCube_0, CenterCube_1);
|
|
1041
|
-
|
|
1042
|
-
let ran$clinit_CornerCube = false;
|
|
1061
|
+
var ran$clinit_CornerCube = false;
|
|
1043
1062
|
function $clinit_CornerCube() {
|
|
1044
1063
|
if (ran$clinit_CornerCube) {
|
|
1045
1064
|
return;
|
|
@@ -1048,12 +1067,10 @@ function $clinit_CornerCube() {
|
|
|
1048
1067
|
moveCube_0 = createArray(18);
|
|
1049
1068
|
initMove_0();
|
|
1050
1069
|
}
|
|
1051
|
-
|
|
1052
1070
|
function $$init_2(this$static) {
|
|
1053
1071
|
this$static.cp = [0, 1, 2, 3, 4, 5, 6, 7];
|
|
1054
1072
|
this$static.co = [0, 0, 0, 0, 0, 0, 0, 0];
|
|
1055
1073
|
}
|
|
1056
|
-
|
|
1057
1074
|
function $copy_2(this$static, c) {
|
|
1058
1075
|
let i_0;
|
|
1059
1076
|
for (i_0 = 0; i_0 < 8; ++i_0) {
|
|
@@ -1061,13 +1078,11 @@ function $copy_2(this$static, c) {
|
|
|
1061
1078
|
this$static.co[i_0] = c.co[i_0];
|
|
1062
1079
|
}
|
|
1063
1080
|
}
|
|
1064
|
-
|
|
1065
1081
|
function $move_3(this$static, idx) {
|
|
1066
1082
|
!this$static.temps && (this$static.temps = new CornerCube_0());
|
|
1067
1083
|
CornMult_0(this$static, moveCube_0[idx], this$static.temps);
|
|
1068
1084
|
$copy_2(this$static, this$static.temps);
|
|
1069
1085
|
}
|
|
1070
|
-
|
|
1071
1086
|
function $setTwist_0(this$static, idx) {
|
|
1072
1087
|
let i_0, twst;
|
|
1073
1088
|
twst = 0;
|
|
@@ -1077,7 +1092,6 @@ function $setTwist_0(this$static, idx) {
|
|
|
1077
1092
|
}
|
|
1078
1093
|
this$static.co[7] = (15 - twst) % 3;
|
|
1079
1094
|
}
|
|
1080
|
-
|
|
1081
1095
|
function CornMult_0(a, b, prod) {
|
|
1082
1096
|
let corn, ori, oriA, oriB;
|
|
1083
1097
|
for (corn = 0; corn < 8; ++corn) {
|
|
@@ -1091,21 +1105,17 @@ function CornMult_0(a, b, prod) {
|
|
|
1091
1105
|
prod.co[corn] = ori;
|
|
1092
1106
|
}
|
|
1093
1107
|
}
|
|
1094
|
-
|
|
1095
1108
|
function CornerCube_0() {
|
|
1096
1109
|
$$init_2(this);
|
|
1097
1110
|
}
|
|
1098
|
-
|
|
1099
1111
|
function CornerCube_1(cperm, twist) {
|
|
1100
1112
|
$$init_2(this);
|
|
1101
1113
|
set8Perm(this.cp, cperm);
|
|
1102
1114
|
$setTwist_0(this, twist);
|
|
1103
1115
|
}
|
|
1104
|
-
|
|
1105
1116
|
function CornerCube_2(randomUIntBelow) {
|
|
1106
1117
|
CornerCube_1.call(this, randomUIntBelow(40320), randomUIntBelow(2187));
|
|
1107
1118
|
}
|
|
1108
|
-
|
|
1109
1119
|
function initMove_0() {
|
|
1110
1120
|
let a, p_0;
|
|
1111
1121
|
moveCube_0[0] = new CornerCube_1(15120, 0);
|
|
@@ -1121,19 +1131,10 @@ function initMove_0() {
|
|
|
1121
1131
|
}
|
|
1122
1132
|
}
|
|
1123
1133
|
}
|
|
1124
|
-
|
|
1125
|
-
defineSeed(
|
|
1126
|
-
157,
|
|
1127
|
-
1,
|
|
1128
|
-
makeCastMap([Q$CornerCube]),
|
|
1129
|
-
CornerCube_0,
|
|
1130
|
-
CornerCube_1,
|
|
1131
|
-
CornerCube_2,
|
|
1132
|
-
);
|
|
1134
|
+
defineSeed(157, 1, makeCastMap([Q$CornerCube]), CornerCube_0, CornerCube_1, CornerCube_2);
|
|
1133
1135
|
_.temps = null;
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
let ran$clinit_Edge3 = false;
|
|
1136
|
+
var moveCube_0;
|
|
1137
|
+
var ran$clinit_Edge3 = false;
|
|
1137
1138
|
function $clinit_Edge3() {
|
|
1138
1139
|
if (ran$clinit_Edge3) {
|
|
1139
1140
|
return;
|
|
@@ -1147,11 +1148,22 @@ function $clinit_Edge3() {
|
|
|
1147
1148
|
mvrot = createArray(160, 12);
|
|
1148
1149
|
mvroto = createArray(160, 12);
|
|
1149
1150
|
factX = [
|
|
1150
|
-
1,
|
|
1151
|
+
1,
|
|
1152
|
+
1,
|
|
1153
|
+
1,
|
|
1154
|
+
3,
|
|
1155
|
+
12,
|
|
1156
|
+
60,
|
|
1157
|
+
360,
|
|
1158
|
+
2520,
|
|
1159
|
+
20160,
|
|
1160
|
+
181440,
|
|
1161
|
+
1814400,
|
|
1162
|
+
19958400,
|
|
1163
|
+
239500800
|
|
1151
1164
|
];
|
|
1152
1165
|
FullEdgeMap = [0, 2, 4, 6, 1, 3, 7, 5, 8, 9, 10, 11];
|
|
1153
1166
|
}
|
|
1154
|
-
|
|
1155
1167
|
function $circlex(this$static, a, b, c, d) {
|
|
1156
1168
|
const temp = this$static.edgeo[d];
|
|
1157
1169
|
this$static.edgeo[d] = this$static.edge[c];
|
|
@@ -1159,7 +1171,6 @@ function $circlex(this$static, a, b, c, d) {
|
|
|
1159
1171
|
this$static.edgeo[b] = this$static.edge[a];
|
|
1160
1172
|
this$static.edge[a] = temp;
|
|
1161
1173
|
}
|
|
1162
|
-
|
|
1163
1174
|
function $get_2(this$static, end) {
|
|
1164
1175
|
let i_0, idx, v, valh, vall;
|
|
1165
1176
|
this$static.isStd || $std(this$static);
|
|
@@ -1170,17 +1181,16 @@ function $get_2(this$static, end) {
|
|
|
1170
1181
|
v = this$static.edge[i_0] << 2;
|
|
1171
1182
|
idx *= 12 - i_0;
|
|
1172
1183
|
if (v >= 32) {
|
|
1173
|
-
idx +=
|
|
1174
|
-
valh -= 4368 <<
|
|
1184
|
+
idx += valh >> v - 32 & 15;
|
|
1185
|
+
valh -= 4368 << v - 32;
|
|
1175
1186
|
} else {
|
|
1176
|
-
idx +=
|
|
1187
|
+
idx += vall >> v & 15;
|
|
1177
1188
|
valh -= 4369;
|
|
1178
1189
|
vall -= 286331152 << v;
|
|
1179
1190
|
}
|
|
1180
1191
|
}
|
|
1181
1192
|
return idx;
|
|
1182
1193
|
}
|
|
1183
|
-
|
|
1184
1194
|
function $getsym_0(this$static) {
|
|
1185
1195
|
let symcord1x;
|
|
1186
1196
|
const cord1x = $get_2(this$static, 4);
|
|
@@ -1191,7 +1201,6 @@ function $getsym_0(this$static) {
|
|
|
1191
1201
|
const cord2x = $get_2(this$static, 10) % 20160;
|
|
1192
1202
|
return symcord1x * 20160 + cord2x;
|
|
1193
1203
|
}
|
|
1194
|
-
|
|
1195
1204
|
function $move_4(this$static, i_0) {
|
|
1196
1205
|
this$static.isStd = false;
|
|
1197
1206
|
switch (i_0) {
|
|
@@ -1288,7 +1297,6 @@ function $move_4(this$static, i_0) {
|
|
|
1288
1297
|
circle(this$static.edgeo, 5, 7);
|
|
1289
1298
|
}
|
|
1290
1299
|
}
|
|
1291
|
-
|
|
1292
1300
|
function $rot_1(this$static, r) {
|
|
1293
1301
|
this$static.isStd = false;
|
|
1294
1302
|
switch (r) {
|
|
@@ -1319,7 +1327,6 @@ function $rot_1(this$static, r) {
|
|
|
1319
1327
|
$swapx(this$static, 2, 2);
|
|
1320
1328
|
}
|
|
1321
1329
|
}
|
|
1322
|
-
|
|
1323
1330
|
function $rotate_0(this$static, r) {
|
|
1324
1331
|
while (r >= 2) {
|
|
1325
1332
|
r -= 2;
|
|
@@ -1328,11 +1335,10 @@ function $rotate_0(this$static, r) {
|
|
|
1328
1335
|
}
|
|
1329
1336
|
r !== 0 && $rot_1(this$static, 0);
|
|
1330
1337
|
}
|
|
1331
|
-
|
|
1332
1338
|
function $set_4(this$static, idx) {
|
|
1333
1339
|
let i_0, p_0, parity, v, vall, valh;
|
|
1334
|
-
vall =
|
|
1335
|
-
valh =
|
|
1340
|
+
vall = 1985229328;
|
|
1341
|
+
valh = 47768;
|
|
1336
1342
|
parity = 0;
|
|
1337
1343
|
for (i_0 = 0; i_0 < 11; ++i_0) {
|
|
1338
1344
|
p_0 = factX[11 - i_0];
|
|
@@ -1342,13 +1348,13 @@ function $set_4(this$static, idx) {
|
|
|
1342
1348
|
v <<= 2;
|
|
1343
1349
|
if (v >= 32) {
|
|
1344
1350
|
v = v - 32;
|
|
1345
|
-
this$static.edge[i_0] =
|
|
1351
|
+
this$static.edge[i_0] = valh >> v & 15;
|
|
1346
1352
|
const m = (1 << v) - 1;
|
|
1347
|
-
valh = (valh & m) + (
|
|
1353
|
+
valh = (valh & m) + (valh >> 4 & ~m);
|
|
1348
1354
|
} else {
|
|
1349
|
-
this$static.edge[i_0] =
|
|
1355
|
+
this$static.edge[i_0] = vall >> v & 15;
|
|
1350
1356
|
const m = (1 << v) - 1;
|
|
1351
|
-
vall = (vall & m) + (
|
|
1357
|
+
vall = (vall & m) + (vall >>> 4 & ~m) + (valh << 28);
|
|
1352
1358
|
valh = valh >> 4;
|
|
1353
1359
|
}
|
|
1354
1360
|
}
|
|
@@ -1363,7 +1369,6 @@ function $set_4(this$static, idx) {
|
|
|
1363
1369
|
}
|
|
1364
1370
|
this$static.isStd = true;
|
|
1365
1371
|
}
|
|
1366
|
-
|
|
1367
1372
|
function $set_5(this$static, e) {
|
|
1368
1373
|
let i_0;
|
|
1369
1374
|
for (i_0 = 0; i_0 < 12; ++i_0) {
|
|
@@ -1372,7 +1377,6 @@ function $set_5(this$static, e) {
|
|
|
1372
1377
|
}
|
|
1373
1378
|
this$static.isStd = e.isStd;
|
|
1374
1379
|
}
|
|
1375
|
-
|
|
1376
1380
|
function $set_6(this$static, c) {
|
|
1377
1381
|
let i_0, parity, s, t;
|
|
1378
1382
|
this$static.temp === null && (this$static.temp = createArray(12));
|
|
@@ -1397,7 +1401,6 @@ function $set_6(this$static, c) {
|
|
|
1397
1401
|
}
|
|
1398
1402
|
return parity;
|
|
1399
1403
|
}
|
|
1400
|
-
|
|
1401
1404
|
function $std(this$static) {
|
|
1402
1405
|
let i_0;
|
|
1403
1406
|
this$static.temp === null && (this$static.temp = createArray(12));
|
|
@@ -1410,7 +1413,6 @@ function $std(this$static) {
|
|
|
1410
1413
|
}
|
|
1411
1414
|
this$static.isStd = true;
|
|
1412
1415
|
}
|
|
1413
|
-
|
|
1414
1416
|
function $swap_0(arr, a, b, c, d) {
|
|
1415
1417
|
let temp;
|
|
1416
1418
|
temp = arr[a];
|
|
@@ -1420,41 +1422,17 @@ function $swap_0(arr, a, b, c, d) {
|
|
|
1420
1422
|
arr[b] = arr[d];
|
|
1421
1423
|
arr[d] = temp;
|
|
1422
1424
|
}
|
|
1423
|
-
|
|
1424
1425
|
function $swapx(this$static, x, y) {
|
|
1425
1426
|
const temp = this$static.edge[x];
|
|
1426
1427
|
this$static.edge[x] = this$static.edgeo[y];
|
|
1427
1428
|
this$static.edgeo[y] = temp;
|
|
1428
1429
|
}
|
|
1429
|
-
|
|
1430
1430
|
function Edge3_0() {
|
|
1431
1431
|
this.edge = createArray(12);
|
|
1432
1432
|
this.edgeo = createArray(12);
|
|
1433
1433
|
}
|
|
1434
|
-
|
|
1435
1434
|
function createPrun_0() {
|
|
1436
|
-
let chk,
|
|
1437
|
-
cord1,
|
|
1438
|
-
cord1x,
|
|
1439
|
-
cord2,
|
|
1440
|
-
cord2x,
|
|
1441
|
-
dep1m3,
|
|
1442
|
-
depm3,
|
|
1443
|
-
depth,
|
|
1444
|
-
end,
|
|
1445
|
-
find_0,
|
|
1446
|
-
i_0,
|
|
1447
|
-
i_,
|
|
1448
|
-
idx,
|
|
1449
|
-
idxx,
|
|
1450
|
-
inv,
|
|
1451
|
-
j,
|
|
1452
|
-
m_0,
|
|
1453
|
-
symState,
|
|
1454
|
-
symcord1,
|
|
1455
|
-
symcord1x,
|
|
1456
|
-
symx,
|
|
1457
|
-
val;
|
|
1435
|
+
let chk, cord1, cord1x, cord2, cord2x, dep1m3, depm3, depth, end, find_0, i_0, i_, idx, idxx, inv, j, m_0, symState, symcord1, symcord1x, symx, val;
|
|
1458
1436
|
const e = new Edge3_0();
|
|
1459
1437
|
const f = new Edge3_0();
|
|
1460
1438
|
const g = new Edge3_0();
|
|
@@ -1462,7 +1440,6 @@ function createPrun_0() {
|
|
|
1462
1440
|
depth = 0;
|
|
1463
1441
|
done_0 = 1;
|
|
1464
1442
|
setPruning_0(eprun, 0, 0);
|
|
1465
|
-
// var start = +new Date;
|
|
1466
1443
|
while (done_0 !== 31006080) {
|
|
1467
1444
|
inv = depth > 9;
|
|
1468
1445
|
depm3 = depth % 3;
|
|
@@ -1490,7 +1467,7 @@ function createPrun_0() {
|
|
|
1490
1467
|
symcord1x = raw2sym_1[cord1x];
|
|
1491
1468
|
symx = symcord1x & 7;
|
|
1492
1469
|
symcord1x >>= 3;
|
|
1493
|
-
cord2x = getmvrot(e.edge,
|
|
1470
|
+
cord2x = getmvrot(e.edge, m_0 << 3 | symx, 10) % 20160;
|
|
1494
1471
|
idx = symcord1x * 20160 + cord2x;
|
|
1495
1472
|
if (getPruning_0(eprun, idx) !== chk) {
|
|
1496
1473
|
continue;
|
|
@@ -1507,13 +1484,13 @@ function createPrun_0() {
|
|
|
1507
1484
|
$set_5(f, e);
|
|
1508
1485
|
$move_4(f, m_0);
|
|
1509
1486
|
$rotate_0(f, symx);
|
|
1510
|
-
for (j = 1; (symState =
|
|
1487
|
+
for (j = 1; (symState = ~~symState >> 1 & 65535) !== 0; ++j) {
|
|
1511
1488
|
if ((symState & 1) !== 1) {
|
|
1512
1489
|
continue;
|
|
1513
1490
|
}
|
|
1514
1491
|
$set_5(g, f);
|
|
1515
1492
|
$rotate_0(g, j);
|
|
1516
|
-
idxx = symcord1x * 20160 +
|
|
1493
|
+
idxx = symcord1x * 20160 + $get_2(g, 10) % 20160;
|
|
1517
1494
|
if (getPruning_0(eprun, idxx) === chk) {
|
|
1518
1495
|
setPruning_0(eprun, idxx, dep1m3);
|
|
1519
1496
|
++done_0;
|
|
@@ -1523,14 +1500,11 @@ function createPrun_0() {
|
|
|
1523
1500
|
}
|
|
1524
1501
|
}
|
|
1525
1502
|
++depth;
|
|
1526
|
-
// console.log(depth + '\t' + done_0 + '\t' + (+new Date - start));
|
|
1527
1503
|
}
|
|
1528
1504
|
}
|
|
1529
|
-
|
|
1530
1505
|
function getPruning_0(table, index) {
|
|
1531
|
-
return
|
|
1506
|
+
return table[index >> 4] >> ((index & 15) << 1) & 3;
|
|
1532
1507
|
}
|
|
1533
|
-
|
|
1534
1508
|
function getmvrot(ep, mrIdx, end) {
|
|
1535
1509
|
let i_0, idx, v, valh, vall;
|
|
1536
1510
|
const movo = mvroto[mrIdx];
|
|
@@ -1542,29 +1516,18 @@ function getmvrot(ep, mrIdx, end) {
|
|
|
1542
1516
|
v = movo[ep[mov[i_0]]] << 2;
|
|
1543
1517
|
idx *= 12 - i_0;
|
|
1544
1518
|
if (v >= 32) {
|
|
1545
|
-
idx +=
|
|
1546
|
-
valh -= 4368 <<
|
|
1519
|
+
idx += valh >> v - 32 & 15;
|
|
1520
|
+
valh -= 4368 << v - 32;
|
|
1547
1521
|
} else {
|
|
1548
|
-
idx +=
|
|
1522
|
+
idx += vall >> v & 15;
|
|
1549
1523
|
valh -= 4369;
|
|
1550
1524
|
vall -= 286331152 << v;
|
|
1551
1525
|
}
|
|
1552
1526
|
}
|
|
1553
1527
|
return idx;
|
|
1554
1528
|
}
|
|
1555
|
-
|
|
1556
1529
|
function getprun(edge) {
|
|
1557
|
-
let cord1,
|
|
1558
|
-
cord1x,
|
|
1559
|
-
cord2,
|
|
1560
|
-
cord2x,
|
|
1561
|
-
depm3,
|
|
1562
|
-
depth,
|
|
1563
|
-
idx,
|
|
1564
|
-
m_0,
|
|
1565
|
-
symcord1,
|
|
1566
|
-
symcord1x,
|
|
1567
|
-
symx;
|
|
1530
|
+
let cord1, cord1x, cord2, cord2x, depm3, depth, idx, m_0, symcord1, symcord1x, symx;
|
|
1568
1531
|
const e = new Edge3_0();
|
|
1569
1532
|
depth = 0;
|
|
1570
1533
|
depm3 = getPruning_0(eprun, edge);
|
|
@@ -1572,7 +1535,7 @@ function getprun(edge) {
|
|
|
1572
1535
|
return 10;
|
|
1573
1536
|
}
|
|
1574
1537
|
while (edge !== 0) {
|
|
1575
|
-
depm3 === 0 ?
|
|
1538
|
+
depm3 === 0 ? depm3 = 2 : --depm3;
|
|
1576
1539
|
symcord1 = ~~(edge / 20160);
|
|
1577
1540
|
cord1 = sym2raw_0[symcord1];
|
|
1578
1541
|
cord2 = edge % 20160;
|
|
@@ -1582,7 +1545,7 @@ function getprun(edge) {
|
|
|
1582
1545
|
symcord1x = raw2sym_1[cord1x];
|
|
1583
1546
|
symx = symcord1x & 7;
|
|
1584
1547
|
symcord1x >>= 3;
|
|
1585
|
-
cord2x = getmvrot(e.edge,
|
|
1548
|
+
cord2x = getmvrot(e.edge, m_0 << 3 | symx, 10) % 20160;
|
|
1586
1549
|
idx = symcord1x * 20160 + cord2x;
|
|
1587
1550
|
if (getPruning_0(eprun, idx) === depm3) {
|
|
1588
1551
|
++depth;
|
|
@@ -1593,16 +1556,13 @@ function getprun(edge) {
|
|
|
1593
1556
|
}
|
|
1594
1557
|
return depth;
|
|
1595
1558
|
}
|
|
1596
|
-
|
|
1597
1559
|
function getprun_0(edge, prun) {
|
|
1598
1560
|
const depm3 = getPruning_0(eprun, edge);
|
|
1599
1561
|
if (depm3 === 3) {
|
|
1600
1562
|
return 10;
|
|
1601
1563
|
}
|
|
1602
|
-
return (
|
|
1603
|
-
// (depm3 - prun + 16) % 3 + prun - 1;
|
|
1564
|
+
return (1227133513 << depm3 >> prun & 3) + prun - 1;
|
|
1604
1565
|
}
|
|
1605
|
-
|
|
1606
1566
|
function initMvrot() {
|
|
1607
1567
|
let i_0, m_0, r;
|
|
1608
1568
|
const e = new Edge3_0();
|
|
@@ -1612,16 +1572,15 @@ function initMvrot() {
|
|
|
1612
1572
|
$move_4(e, m_0);
|
|
1613
1573
|
$rotate_0(e, r);
|
|
1614
1574
|
for (i_0 = 0; i_0 < 12; ++i_0) {
|
|
1615
|
-
mvrot[
|
|
1575
|
+
mvrot[m_0 << 3 | r][i_0] = e.edge[i_0];
|
|
1616
1576
|
}
|
|
1617
1577
|
$std(e);
|
|
1618
1578
|
for (i_0 = 0; i_0 < 12; ++i_0) {
|
|
1619
|
-
mvroto[
|
|
1579
|
+
mvroto[m_0 << 3 | r][i_0] = e.temp[i_0];
|
|
1620
1580
|
}
|
|
1621
1581
|
}
|
|
1622
1582
|
}
|
|
1623
1583
|
}
|
|
1624
|
-
|
|
1625
1584
|
function initRaw2Sym() {
|
|
1626
1585
|
let count, i_0, idx, j;
|
|
1627
1586
|
const e = new Edge3_0();
|
|
@@ -1631,13 +1590,13 @@ function initRaw2Sym() {
|
|
|
1631
1590
|
}
|
|
1632
1591
|
count = 0;
|
|
1633
1592
|
for (i_0 = 0; i_0 < 11880; ++i_0) {
|
|
1634
|
-
if ((occ[~~i_0 >>> 3] &
|
|
1593
|
+
if ((occ[~~i_0 >>> 3] & 1 << (i_0 & 7)) === 0) {
|
|
1635
1594
|
$set_4(e, i_0 * factX[8]);
|
|
1636
1595
|
for (j = 0; j < 8; ++j) {
|
|
1637
1596
|
idx = $get_2(e, 4);
|
|
1638
|
-
idx === i_0 && (symstate[count] = (symstate[count] |
|
|
1639
|
-
occ[~~idx >> 3] = occ[~~idx >> 3] |
|
|
1640
|
-
raw2sym_1[idx] =
|
|
1597
|
+
idx === i_0 && (symstate[count] = (symstate[count] | 1 << j) & 65535);
|
|
1598
|
+
occ[~~idx >> 3] = occ[~~idx >> 3] | 1 << (idx & 7);
|
|
1599
|
+
raw2sym_1[idx] = count << 3 | syminv_0[j];
|
|
1641
1600
|
$rot_1(e, 0);
|
|
1642
1601
|
if (j % 2 === 1) {
|
|
1643
1602
|
$rot_1(e, 1);
|
|
@@ -1648,33 +1607,29 @@ function initRaw2Sym() {
|
|
|
1648
1607
|
}
|
|
1649
1608
|
}
|
|
1650
1609
|
}
|
|
1651
|
-
|
|
1652
1610
|
function setPruning_0(table, index, value) {
|
|
1653
1611
|
table[index >> 4] ^= (3 ^ value) << ((index & 15) << 1);
|
|
1654
1612
|
}
|
|
1655
|
-
|
|
1656
1613
|
defineSeed(158, 1, makeCastMap([Q$Edge3]), Edge3_0);
|
|
1657
1614
|
_.isStd = true;
|
|
1658
1615
|
_.temp = null;
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
let ran$clinit_EdgeCube = false;
|
|
1616
|
+
var FullEdgeMap;
|
|
1617
|
+
var done_0 = 0;
|
|
1618
|
+
var eprun;
|
|
1619
|
+
var factX;
|
|
1620
|
+
var mvrot;
|
|
1621
|
+
var mvroto;
|
|
1622
|
+
var raw2sym_1;
|
|
1623
|
+
var sym2raw_0;
|
|
1624
|
+
var syminv_0;
|
|
1625
|
+
var symstate;
|
|
1626
|
+
var ran$clinit_EdgeCube = false;
|
|
1671
1627
|
function $clinit_EdgeCube() {
|
|
1672
1628
|
if (ran$clinit_EdgeCube) {
|
|
1673
1629
|
return;
|
|
1674
1630
|
}
|
|
1675
1631
|
ran$clinit_EdgeCube = true;
|
|
1676
1632
|
}
|
|
1677
|
-
|
|
1678
1633
|
function $checkEdge(this$static) {
|
|
1679
1634
|
let ck, i_0, parity;
|
|
1680
1635
|
ck = 0;
|
|
@@ -1686,14 +1641,12 @@ function $checkEdge(this$static) {
|
|
|
1686
1641
|
ck &= ~~ck >> 12;
|
|
1687
1642
|
return ck === 0 && !parity;
|
|
1688
1643
|
}
|
|
1689
|
-
|
|
1690
1644
|
function $copy_3(this$static, c) {
|
|
1691
1645
|
let i_0;
|
|
1692
1646
|
for (i_0 = 0; i_0 < 24; ++i_0) {
|
|
1693
1647
|
this$static.ep[i_0] = c.ep[i_0];
|
|
1694
1648
|
}
|
|
1695
1649
|
}
|
|
1696
|
-
|
|
1697
1650
|
function $move_5(this$static, m_0) {
|
|
1698
1651
|
const key = m_0 % 3;
|
|
1699
1652
|
m_0 = ~~(m_0 / 3);
|
|
@@ -1753,7 +1706,6 @@ function $move_5(this$static, m_0) {
|
|
|
1753
1706
|
swap(this$static.ep, 7, 15, 1, 17, key);
|
|
1754
1707
|
}
|
|
1755
1708
|
}
|
|
1756
|
-
|
|
1757
1709
|
function EdgeCube_0() {
|
|
1758
1710
|
let i_0;
|
|
1759
1711
|
this.ep = createArray(24);
|
|
@@ -1761,7 +1713,6 @@ function EdgeCube_0() {
|
|
|
1761
1713
|
this.ep[i_0] = i_0;
|
|
1762
1714
|
}
|
|
1763
1715
|
}
|
|
1764
|
-
|
|
1765
1716
|
function EdgeCube_1(randomUIntBelow) {
|
|
1766
1717
|
let i_0, m_0, t;
|
|
1767
1718
|
EdgeCube_0.call(this);
|
|
@@ -1774,10 +1725,8 @@ function EdgeCube_1(randomUIntBelow) {
|
|
|
1774
1725
|
}
|
|
1775
1726
|
}
|
|
1776
1727
|
}
|
|
1777
|
-
|
|
1778
1728
|
defineSeed(159, 1, {}, EdgeCube_0, EdgeCube_1);
|
|
1779
|
-
|
|
1780
|
-
let ran$clinit_FullCube_0 = false;
|
|
1729
|
+
var ran$clinit_FullCube_0 = false;
|
|
1781
1730
|
function $clinit_FullCube_0() {
|
|
1782
1731
|
if (ran$clinit_FullCube_0) {
|
|
1783
1732
|
return;
|
|
@@ -1785,15 +1734,12 @@ function $clinit_FullCube_0() {
|
|
|
1785
1734
|
ran$clinit_FullCube_0 = true;
|
|
1786
1735
|
move2rot = [35, 1, 34, 2, 4, 6, 22, 5, 19];
|
|
1787
1736
|
}
|
|
1788
|
-
|
|
1789
1737
|
function $$init_3(this$static) {
|
|
1790
1738
|
this$static.moveBuffer = createArray(60);
|
|
1791
1739
|
}
|
|
1792
|
-
|
|
1793
1740
|
function $compareTo_1(this$static, c) {
|
|
1794
1741
|
return this$static.value - c.value;
|
|
1795
1742
|
}
|
|
1796
|
-
|
|
1797
1743
|
function $copy_4(this$static, c) {
|
|
1798
1744
|
let i_0;
|
|
1799
1745
|
$copy_3(this$static.edge, c.edge);
|
|
@@ -1813,49 +1759,33 @@ function $copy_4(this$static, c) {
|
|
|
1813
1759
|
this$static.centerAvail = c.centerAvail;
|
|
1814
1760
|
this$static.cornerAvail = c.cornerAvail;
|
|
1815
1761
|
}
|
|
1816
|
-
|
|
1817
1762
|
function $getCenter(this$static) {
|
|
1818
1763
|
while (this$static.centerAvail < this$static.moveLength) {
|
|
1819
|
-
$move_2(
|
|
1820
|
-
this$static.center,
|
|
1821
|
-
this$static.moveBuffer[this$static.centerAvail++],
|
|
1822
|
-
);
|
|
1764
|
+
$move_2(this$static.center, this$static.moveBuffer[this$static.centerAvail++]);
|
|
1823
1765
|
}
|
|
1824
1766
|
return this$static.center;
|
|
1825
1767
|
}
|
|
1826
|
-
|
|
1827
1768
|
function $getCorner(this$static) {
|
|
1828
1769
|
while (this$static.cornerAvail < this$static.moveLength) {
|
|
1829
|
-
$move_3(
|
|
1830
|
-
this$static.corner,
|
|
1831
|
-
this$static.moveBuffer[this$static.cornerAvail++] % 18,
|
|
1832
|
-
);
|
|
1770
|
+
$move_3(this$static.corner, this$static.moveBuffer[this$static.cornerAvail++] % 18);
|
|
1833
1771
|
}
|
|
1834
1772
|
return this$static.corner;
|
|
1835
1773
|
}
|
|
1836
|
-
|
|
1837
1774
|
function $getEdge(this$static) {
|
|
1838
1775
|
while (this$static.edgeAvail < this$static.moveLength) {
|
|
1839
1776
|
$move_5(this$static.edge, this$static.moveBuffer[this$static.edgeAvail++]);
|
|
1840
1777
|
}
|
|
1841
1778
|
return this$static.edge;
|
|
1842
1779
|
}
|
|
1843
|
-
|
|
1844
1780
|
function $getMoveString(this$static) {
|
|
1845
1781
|
let i_0, idx, move, rot, sb, sym;
|
|
1846
|
-
const fixedMoves = new Array(
|
|
1847
|
-
this$static.moveLength - (this$static.add1 ? 2 : 0),
|
|
1848
|
-
);
|
|
1782
|
+
const fixedMoves = new Array(this$static.moveLength - (this$static.add1 ? 2 : 0));
|
|
1849
1783
|
idx = 0;
|
|
1850
1784
|
for (i_0 = 0; i_0 < this$static.length1; ++i_0) {
|
|
1851
1785
|
fixedMoves[idx++] = this$static.moveBuffer[i_0];
|
|
1852
1786
|
}
|
|
1853
1787
|
sym = this$static.sym;
|
|
1854
|
-
for (
|
|
1855
|
-
i_0 = this$static.length1 + (this$static.add1 ? 2 : 0);
|
|
1856
|
-
i_0 < this$static.moveLength;
|
|
1857
|
-
++i_0
|
|
1858
|
-
) {
|
|
1788
|
+
for (i_0 = this$static.length1 + (this$static.add1 ? 2 : 0); i_0 < this$static.moveLength; ++i_0) {
|
|
1859
1789
|
if (symmove[sym][this$static.moveBuffer[i_0]] >= 27) {
|
|
1860
1790
|
fixedMoves[idx++] = symmove[sym][this$static.moveBuffer[i_0]] - 9;
|
|
1861
1791
|
rot = move2rot[symmove[sym][this$static.moveBuffer[i_0]] - 27];
|
|
@@ -1869,7 +1799,7 @@ function $getMoveString(this$static) {
|
|
|
1869
1799
|
sym = finishSym;
|
|
1870
1800
|
for (i_0 = idx - 1; i_0 >= 0; --i_0) {
|
|
1871
1801
|
move = fixedMoves[i_0];
|
|
1872
|
-
move = ~~(move / 3) * 3 + (2 -
|
|
1802
|
+
move = ~~(move / 3) * 3 + (2 - move % 3);
|
|
1873
1803
|
if (symmove[sym][move] >= 27) {
|
|
1874
1804
|
sb = sb + move2str_1[symmove[sym][move] - 9] + " ";
|
|
1875
1805
|
rot = move2rot[symmove[sym][move] - 27];
|
|
@@ -1880,39 +1810,27 @@ function $getMoveString(this$static) {
|
|
|
1880
1810
|
}
|
|
1881
1811
|
return sb;
|
|
1882
1812
|
}
|
|
1883
|
-
|
|
1884
1813
|
function $move_6(this$static, m_0) {
|
|
1885
1814
|
this$static.moveBuffer[this$static.moveLength++] = m_0;
|
|
1886
1815
|
return;
|
|
1887
1816
|
}
|
|
1888
|
-
|
|
1889
1817
|
function FullCube_3() {
|
|
1890
1818
|
$$init_3(this);
|
|
1891
1819
|
this.edge = new EdgeCube_0();
|
|
1892
1820
|
this.center = new CenterCube_0();
|
|
1893
1821
|
this.corner = new CornerCube_0();
|
|
1894
1822
|
}
|
|
1895
|
-
|
|
1896
1823
|
function FullCube_4(c) {
|
|
1897
1824
|
FullCube_3.call(this);
|
|
1898
1825
|
$copy_4(this, c);
|
|
1899
1826
|
}
|
|
1900
|
-
|
|
1901
1827
|
function FullCube_5(randomUIntBelow) {
|
|
1902
1828
|
$$init_3(this);
|
|
1903
1829
|
this.edge = new EdgeCube_1(randomUIntBelow);
|
|
1904
1830
|
this.center = new CenterCube_1(randomUIntBelow);
|
|
1905
1831
|
this.corner = new CornerCube_2(randomUIntBelow);
|
|
1906
1832
|
}
|
|
1907
|
-
|
|
1908
|
-
defineSeed(
|
|
1909
|
-
160,
|
|
1910
|
-
1,
|
|
1911
|
-
makeCastMap([Q$FullCube_0, Q$Comparable]),
|
|
1912
|
-
FullCube_3,
|
|
1913
|
-
FullCube_4,
|
|
1914
|
-
FullCube_5,
|
|
1915
|
-
);
|
|
1833
|
+
defineSeed(160, 1, makeCastMap([Q$FullCube_0, Q$Comparable]), FullCube_3, FullCube_4, FullCube_5);
|
|
1916
1834
|
_.compareTo$ = function compareTo_1(c) {
|
|
1917
1835
|
return $compareTo_1(this, c);
|
|
1918
1836
|
};
|
|
@@ -1929,24 +1847,20 @@ _.length3 = 0;
|
|
|
1929
1847
|
_.moveLength = 0;
|
|
1930
1848
|
_.sym = 0;
|
|
1931
1849
|
_.value = 0;
|
|
1932
|
-
|
|
1933
|
-
|
|
1850
|
+
var move2rot;
|
|
1934
1851
|
function $compare(c1, c2) {
|
|
1935
1852
|
return c2.value - c1.value;
|
|
1936
1853
|
}
|
|
1937
|
-
|
|
1938
1854
|
function $compare_0(c1, c2) {
|
|
1939
1855
|
return $compare(c1, c2);
|
|
1940
1856
|
}
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1857
|
+
function FullCube$ValueComparator_0() {
|
|
1858
|
+
}
|
|
1944
1859
|
defineSeed(161, 1, {}, FullCube$ValueComparator_0);
|
|
1945
1860
|
_.compare = function compare(c1, c2) {
|
|
1946
1861
|
return $compare_0(c1, c2);
|
|
1947
1862
|
};
|
|
1948
|
-
|
|
1949
|
-
let ran$clinit_Moves = false;
|
|
1863
|
+
var ran$clinit_Moves = false;
|
|
1950
1864
|
function $clinit_Moves() {
|
|
1951
1865
|
if (ran$clinit_Moves) {
|
|
1952
1866
|
return;
|
|
@@ -1989,14 +1903,61 @@ function $clinit_Moves() {
|
|
|
1989
1903
|
"Lw'",
|
|
1990
1904
|
"Bw ",
|
|
1991
1905
|
"Bw2",
|
|
1992
|
-
"Bw'"
|
|
1906
|
+
"Bw'"
|
|
1993
1907
|
];
|
|
1994
1908
|
move2std = [
|
|
1995
|
-
0,
|
|
1996
|
-
|
|
1909
|
+
0,
|
|
1910
|
+
1,
|
|
1911
|
+
2,
|
|
1912
|
+
3,
|
|
1913
|
+
4,
|
|
1914
|
+
5,
|
|
1915
|
+
6,
|
|
1916
|
+
7,
|
|
1917
|
+
8,
|
|
1918
|
+
9,
|
|
1919
|
+
10,
|
|
1920
|
+
11,
|
|
1921
|
+
12,
|
|
1922
|
+
13,
|
|
1923
|
+
14,
|
|
1924
|
+
15,
|
|
1925
|
+
16,
|
|
1926
|
+
17,
|
|
1927
|
+
19,
|
|
1928
|
+
21,
|
|
1929
|
+
22,
|
|
1930
|
+
23,
|
|
1931
|
+
25,
|
|
1932
|
+
28,
|
|
1933
|
+
30,
|
|
1934
|
+
31,
|
|
1935
|
+
32,
|
|
1936
|
+
34,
|
|
1937
|
+
36
|
|
1997
1938
|
];
|
|
1998
1939
|
move3std = [
|
|
1999
|
-
0,
|
|
1940
|
+
0,
|
|
1941
|
+
1,
|
|
1942
|
+
2,
|
|
1943
|
+
4,
|
|
1944
|
+
6,
|
|
1945
|
+
7,
|
|
1946
|
+
8,
|
|
1947
|
+
9,
|
|
1948
|
+
10,
|
|
1949
|
+
11,
|
|
1950
|
+
13,
|
|
1951
|
+
15,
|
|
1952
|
+
16,
|
|
1953
|
+
17,
|
|
1954
|
+
19,
|
|
1955
|
+
22,
|
|
1956
|
+
25,
|
|
1957
|
+
28,
|
|
1958
|
+
31,
|
|
1959
|
+
34,
|
|
1960
|
+
36
|
|
2000
1961
|
];
|
|
2001
1962
|
std2move = createArray(37);
|
|
2002
1963
|
std3move = createArray(37);
|
|
@@ -2014,9 +1975,7 @@ function $clinit_Moves() {
|
|
|
2014
1975
|
}
|
|
2015
1976
|
for (i_0 = 0; i_0 < 36; ++i_0) {
|
|
2016
1977
|
for (j = 0; j < 36; ++j) {
|
|
2017
|
-
ckmv[i_0][j] =
|
|
2018
|
-
~~(i_0 / 3) === ~~(j / 3) ||
|
|
2019
|
-
(~~(i_0 / 3) % 3 === ~~(j / 3) % 3 && i_0 > j);
|
|
1978
|
+
ckmv[i_0][j] = ~~(i_0 / 3) === ~~(j / 3) || ~~(i_0 / 3) % 3 === ~~(j / 3) % 3 && i_0 > j;
|
|
2020
1979
|
}
|
|
2021
1980
|
ckmv[36][i_0] = false;
|
|
2022
1981
|
}
|
|
@@ -2058,32 +2017,19 @@ function $clinit_Moves() {
|
|
|
2058
2017
|
}
|
|
2059
2018
|
}
|
|
2060
2019
|
}
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
std3move;
|
|
2073
|
-
|
|
2020
|
+
var ckmv;
|
|
2021
|
+
var ckmv2_0;
|
|
2022
|
+
var ckmv3;
|
|
2023
|
+
var move2std;
|
|
2024
|
+
var move2str_1;
|
|
2025
|
+
var move3std;
|
|
2026
|
+
var skipAxis;
|
|
2027
|
+
var skipAxis2;
|
|
2028
|
+
var skipAxis3;
|
|
2029
|
+
var std2move;
|
|
2030
|
+
var std3move;
|
|
2074
2031
|
function $doSearch(this$static) {
|
|
2075
|
-
let MAX_LENGTH2,
|
|
2076
|
-
MAX_LENGTH3,
|
|
2077
|
-
ct,
|
|
2078
|
-
edge,
|
|
2079
|
-
eparity,
|
|
2080
|
-
i_0,
|
|
2081
|
-
index,
|
|
2082
|
-
length12,
|
|
2083
|
-
length123,
|
|
2084
|
-
prun,
|
|
2085
|
-
s2ct,
|
|
2086
|
-
s2rl;
|
|
2032
|
+
let MAX_LENGTH2, MAX_LENGTH3, ct, edge, eparity, i_0, index, length12, length123, prun, s2ct, s2rl;
|
|
2087
2033
|
this$static.solution = "";
|
|
2088
2034
|
const ud = $getsym(new Center1_1($getCenter(this$static.c), 0));
|
|
2089
2035
|
const fb = $getsym(new Center1_1($getCenter(this$static.c), 1));
|
|
@@ -2094,136 +2040,65 @@ function $doSearch(this$static) {
|
|
|
2094
2040
|
this$static.p1SolsCnt = 0;
|
|
2095
2041
|
this$static.arr2idx = 0;
|
|
2096
2042
|
$clear(this$static.p1sols.heap);
|
|
2097
|
-
for (
|
|
2098
|
-
this$static.length1
|
|
2099
|
-
(udprun < fbprun ? udprun : fbprun) < rlprun
|
|
2100
|
-
? udprun < fbprun
|
|
2101
|
-
? udprun
|
|
2102
|
-
: fbprun
|
|
2103
|
-
: rlprun;
|
|
2104
|
-
this$static.length1 < 100;
|
|
2105
|
-
++this$static.length1
|
|
2106
|
-
) {
|
|
2107
|
-
if (
|
|
2108
|
-
(rlprun <= this$static.length1 &&
|
|
2109
|
-
$search1(
|
|
2110
|
-
this$static,
|
|
2111
|
-
~~rl >>> 6,
|
|
2112
|
-
rl & 63,
|
|
2113
|
-
this$static.length1,
|
|
2114
|
-
-1,
|
|
2115
|
-
0,
|
|
2116
|
-
)) ||
|
|
2117
|
-
(udprun <= this$static.length1 &&
|
|
2118
|
-
$search1(
|
|
2119
|
-
this$static,
|
|
2120
|
-
~~ud >>> 6,
|
|
2121
|
-
ud & 63,
|
|
2122
|
-
this$static.length1,
|
|
2123
|
-
-1,
|
|
2124
|
-
0,
|
|
2125
|
-
)) ||
|
|
2126
|
-
(fbprun <= this$static.length1 &&
|
|
2127
|
-
$search1(this$static, ~~fb >>> 6, fb & 63, this$static.length1, -1, 0))
|
|
2128
|
-
) {
|
|
2043
|
+
for (this$static.length1 = (udprun < fbprun ? udprun : fbprun) < rlprun ? udprun < fbprun ? udprun : fbprun : rlprun; this$static.length1 < 100; ++this$static.length1) {
|
|
2044
|
+
if (rlprun <= this$static.length1 && $search1(this$static, ~~rl >>> 6, rl & 63, this$static.length1, -1, 0) || udprun <= this$static.length1 && $search1(this$static, ~~ud >>> 6, ud & 63, this$static.length1, -1, 0) || fbprun <= this$static.length1 && $search1(this$static, ~~fb >>> 6, fb & 63, this$static.length1, -1, 0)) {
|
|
2129
2045
|
break;
|
|
2130
2046
|
}
|
|
2131
2047
|
}
|
|
2132
|
-
const p1SolsArr = $toArray_1(
|
|
2133
|
-
|
|
2134
|
-
initDim(
|
|
2135
|
-
_3Lcs_threephase_FullCube_2_classLit,
|
|
2136
|
-
makeCastMap([Q$FullCube_$1, Q$Serializable, Q$Object_$1]),
|
|
2137
|
-
Q$FullCube_0,
|
|
2138
|
-
0,
|
|
2139
|
-
0,
|
|
2140
|
-
),
|
|
2141
|
-
);
|
|
2142
|
-
|
|
2143
|
-
p1SolsArr.sort(function (a, b) {
|
|
2048
|
+
const p1SolsArr = $toArray_1(this$static.p1sols, initDim(_3Lcs_threephase_FullCube_2_classLit, makeCastMap([Q$FullCube_$1, Q$Serializable, Q$Object_$1]), Q$FullCube_0, 0, 0));
|
|
2049
|
+
p1SolsArr.sort(function(a, b) {
|
|
2144
2050
|
return a.value - b.value;
|
|
2145
2051
|
});
|
|
2146
2052
|
MAX_LENGTH2 = 9;
|
|
2147
2053
|
do {
|
|
2148
|
-
OUT:
|
|
2149
|
-
for (
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
this$static.ct2,
|
|
2159
|
-
$
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
if ($search2(this$static, s2ct, s2rl, this$static.length2, 28, 0)) {
|
|
2167
|
-
break OUT;
|
|
2054
|
+
OUT:
|
|
2055
|
+
for (length12 = p1SolsArr[0].value; length12 < 100; ++length12) {
|
|
2056
|
+
for (i_0 = 0; i_0 < p1SolsArr.length; ++i_0) {
|
|
2057
|
+
if (p1SolsArr[i_0].value > length12) {
|
|
2058
|
+
break;
|
|
2059
|
+
}
|
|
2060
|
+
if (length12 - p1SolsArr[i_0].length1 > MAX_LENGTH2) {
|
|
2061
|
+
continue;
|
|
2062
|
+
}
|
|
2063
|
+
$copy_4(this$static.c1, p1SolsArr[i_0]);
|
|
2064
|
+
$set_2(this$static.ct2, $getCenter(this$static.c1), parity_0($getEdge(this$static.c1).ep));
|
|
2065
|
+
s2ct = $getct(this$static.ct2);
|
|
2066
|
+
s2rl = $getrl(this$static.ct2);
|
|
2067
|
+
this$static.length1 = p1SolsArr[i_0].length1;
|
|
2068
|
+
this$static.length2 = length12 - p1SolsArr[i_0].length1;
|
|
2069
|
+
if ($search2(this$static, s2ct, s2rl, this$static.length2, 28, 0)) {
|
|
2070
|
+
break OUT;
|
|
2071
|
+
}
|
|
2168
2072
|
}
|
|
2169
2073
|
}
|
|
2170
|
-
}
|
|
2171
2074
|
++MAX_LENGTH2;
|
|
2172
2075
|
} while (length12 === 100);
|
|
2173
|
-
this$static.arr2.sort(function
|
|
2076
|
+
this$static.arr2.sort(function(a, b) {
|
|
2174
2077
|
return a.value - b.value;
|
|
2175
2078
|
});
|
|
2176
2079
|
index = 0;
|
|
2177
2080
|
MAX_LENGTH3 = 13;
|
|
2178
2081
|
do {
|
|
2179
|
-
OUT2:
|
|
2180
|
-
length123 = this$static.arr2[0].value;
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
$set_3(
|
|
2198
|
-
this$static.ct3,
|
|
2199
|
-
$getCenter(this$static.arr2[i_0]),
|
|
2200
|
-
eparity ^ parity_0($getCorner(this$static.arr2[i_0]).cp),
|
|
2201
|
-
);
|
|
2202
|
-
ct = $getct_0(this$static.ct3);
|
|
2203
|
-
edge = $get_2(this$static.e12, 10);
|
|
2204
|
-
prun = getprun($getsym_0(this$static.e12));
|
|
2205
|
-
if (
|
|
2206
|
-
prun <=
|
|
2207
|
-
length123 -
|
|
2208
|
-
this$static.arr2[i_0].length1 -
|
|
2209
|
-
this$static.arr2[i_0].length2 &&
|
|
2210
|
-
$search3(
|
|
2211
|
-
this$static,
|
|
2212
|
-
edge,
|
|
2213
|
-
ct,
|
|
2214
|
-
prun,
|
|
2215
|
-
length123 -
|
|
2216
|
-
this$static.arr2[i_0].length1 -
|
|
2217
|
-
this$static.arr2[i_0].length2,
|
|
2218
|
-
20,
|
|
2219
|
-
0,
|
|
2220
|
-
)
|
|
2221
|
-
) {
|
|
2222
|
-
index = i_0;
|
|
2223
|
-
break OUT2;
|
|
2082
|
+
OUT2:
|
|
2083
|
+
for (length123 = this$static.arr2[0].value; length123 < 100; ++length123) {
|
|
2084
|
+
for (i_0 = 0; i_0 < Math.min(this$static.arr2idx, 100); ++i_0) {
|
|
2085
|
+
if (this$static.arr2[i_0].value > length123) {
|
|
2086
|
+
break;
|
|
2087
|
+
}
|
|
2088
|
+
if (length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2 > MAX_LENGTH3) {
|
|
2089
|
+
continue;
|
|
2090
|
+
}
|
|
2091
|
+
eparity = $set_6(this$static.e12, $getEdge(this$static.arr2[i_0]));
|
|
2092
|
+
$set_3(this$static.ct3, $getCenter(this$static.arr2[i_0]), eparity ^ parity_0($getCorner(this$static.arr2[i_0]).cp));
|
|
2093
|
+
ct = $getct_0(this$static.ct3);
|
|
2094
|
+
edge = $get_2(this$static.e12, 10);
|
|
2095
|
+
prun = getprun($getsym_0(this$static.e12));
|
|
2096
|
+
if (prun <= length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2 && $search3(this$static, edge, ct, prun, length123 - this$static.arr2[i_0].length1 - this$static.arr2[i_0].length2, 20, 0)) {
|
|
2097
|
+
index = i_0;
|
|
2098
|
+
break OUT2;
|
|
2099
|
+
}
|
|
2224
2100
|
}
|
|
2225
2101
|
}
|
|
2226
|
-
}
|
|
2227
2102
|
++MAX_LENGTH3;
|
|
2228
2103
|
} while (length123 === 100);
|
|
2229
2104
|
const solcube = new FullCube_4(this$static.arr2[index]);
|
|
@@ -2235,7 +2110,6 @@ function $doSearch(this$static) {
|
|
|
2235
2110
|
}
|
|
2236
2111
|
this$static.solution = $getMoveString(solcube);
|
|
2237
2112
|
}
|
|
2238
|
-
|
|
2239
2113
|
function $init2_0(this$static, sym) {
|
|
2240
2114
|
let i_0, next;
|
|
2241
2115
|
$copy_4(this$static.c1, this$static.c);
|
|
@@ -2263,11 +2137,7 @@ function $init2_0(this$static, sym) {
|
|
|
2263
2137
|
this$static.add1 = false;
|
|
2264
2138
|
sym = 0;
|
|
2265
2139
|
}
|
|
2266
|
-
$set_2(
|
|
2267
|
-
this$static.ct2,
|
|
2268
|
-
$getCenter(this$static.c1),
|
|
2269
|
-
parity_0($getEdge(this$static.c1).ep),
|
|
2270
|
-
);
|
|
2140
|
+
$set_2(this$static.ct2, $getCenter(this$static.c1), parity_0($getEdge(this$static.c1).ep));
|
|
2271
2141
|
const s2ct = $getct(this$static.ct2);
|
|
2272
2142
|
const s2rl = $getrl(this$static.ct2);
|
|
2273
2143
|
const ctp = ctprun[s2ct * 70 + s2rl];
|
|
@@ -2283,9 +2153,8 @@ function $init2_0(this$static, sym) {
|
|
|
2283
2153
|
next.value > this$static.c1.value && $copy_4(next, this$static.c1);
|
|
2284
2154
|
}
|
|
2285
2155
|
$add(this$static.p1sols, next);
|
|
2286
|
-
return this$static.p1SolsCnt ===
|
|
2156
|
+
return this$static.p1SolsCnt === 1e4;
|
|
2287
2157
|
}
|
|
2288
|
-
|
|
2289
2158
|
function $init3(this$static) {
|
|
2290
2159
|
let i_0;
|
|
2291
2160
|
$copy_4(this$static.c2, this$static.c1);
|
|
@@ -2296,31 +2165,22 @@ function $init3(this$static) {
|
|
|
2296
2165
|
return false;
|
|
2297
2166
|
}
|
|
2298
2167
|
const eparity = $set_6(this$static.e12, $getEdge(this$static.c2));
|
|
2299
|
-
$set_3(
|
|
2300
|
-
this$static.ct3,
|
|
2301
|
-
$getCenter(this$static.c2),
|
|
2302
|
-
eparity ^ parity_0($getCorner(this$static.c2).cp),
|
|
2303
|
-
);
|
|
2168
|
+
$set_3(this$static.ct3, $getCenter(this$static.c2), eparity ^ parity_0($getCorner(this$static.c2).cp));
|
|
2304
2169
|
const ct = $getct_0(this$static.ct3);
|
|
2305
2170
|
$get_2(this$static.e12, 10);
|
|
2306
2171
|
const prun = getprun($getsym_0(this$static.e12));
|
|
2307
|
-
!this$static.arr2[this$static.arr2idx]
|
|
2308
|
-
|
|
2309
|
-
: $copy_4(this$static.arr2[this$static.arr2idx], this$static.c2);
|
|
2310
|
-
this$static.arr2[this$static.arr2idx].value =
|
|
2311
|
-
this$static.length1 + this$static.length2 + Math.max(prun, prun_0[ct]);
|
|
2172
|
+
!this$static.arr2[this$static.arr2idx] ? this$static.arr2[this$static.arr2idx] = new FullCube_4(this$static.c2) : $copy_4(this$static.arr2[this$static.arr2idx], this$static.c2);
|
|
2173
|
+
this$static.arr2[this$static.arr2idx].value = this$static.length1 + this$static.length2 + Math.max(prun, prun_0[ct]);
|
|
2312
2174
|
this$static.arr2[this$static.arr2idx].length2 = this$static.length2;
|
|
2313
2175
|
++this$static.arr2idx;
|
|
2314
2176
|
return this$static.arr2idx === this$static.arr2.length;
|
|
2315
2177
|
}
|
|
2316
|
-
|
|
2317
2178
|
function $randomState(this$static, randomUIntBelow) {
|
|
2318
2179
|
init_5();
|
|
2319
2180
|
this$static.c = new FullCube_5(randomUIntBelow);
|
|
2320
2181
|
$doSearch(this$static);
|
|
2321
2182
|
return this$static.solution;
|
|
2322
2183
|
}
|
|
2323
|
-
|
|
2324
2184
|
function $search1(this$static, ct, sym, maxl, lm, depth) {
|
|
2325
2185
|
let axis, ctx, m_0, power, prun, symx;
|
|
2326
2186
|
if (ct === 0) {
|
|
@@ -2350,7 +2210,6 @@ function $search1(this$static, ct, sym, maxl, lm, depth) {
|
|
|
2350
2210
|
}
|
|
2351
2211
|
return false;
|
|
2352
2212
|
}
|
|
2353
|
-
|
|
2354
2213
|
function $search2(this$static, ct, rl, maxl, lm, depth) {
|
|
2355
2214
|
let ctx, m_0, prun, rlx;
|
|
2356
2215
|
if (ct === 0 && ctprun[rl] === 0) {
|
|
@@ -2375,7 +2234,6 @@ function $search2(this$static, ct, rl, maxl, lm, depth) {
|
|
|
2375
2234
|
}
|
|
2376
2235
|
return false;
|
|
2377
2236
|
}
|
|
2378
|
-
|
|
2379
2237
|
function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
|
|
2380
2238
|
let cord1x, cord2x, ctx, edgex, m_0, prun1, prunx, symcord1x, symx;
|
|
2381
2239
|
if (maxl === 0) {
|
|
@@ -2398,8 +2256,7 @@ function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
|
|
|
2398
2256
|
symcord1x = raw2sym_1[cord1x];
|
|
2399
2257
|
symx = symcord1x & 7;
|
|
2400
2258
|
symcord1x >>= 3;
|
|
2401
|
-
cord2x =
|
|
2402
|
-
getmvrot(this$static.tempe[depth].edge, (m_0 << 3) | symx, 10) % 20160;
|
|
2259
|
+
cord2x = getmvrot(this$static.tempe[depth].edge, m_0 << 3 | symx, 10) % 20160;
|
|
2403
2260
|
prunx = getprun_0(symcord1x * 20160 + cord2x, prun);
|
|
2404
2261
|
if (prunx >= maxl) {
|
|
2405
2262
|
prunx > maxl && m_0 < 14 && (m_0 = skipAxis3[m_0]);
|
|
@@ -2412,7 +2269,6 @@ function $search3(this$static, edge, ct, prun, maxl, lm, depth) {
|
|
|
2412
2269
|
}
|
|
2413
2270
|
return false;
|
|
2414
2271
|
}
|
|
2415
|
-
|
|
2416
2272
|
function Search_4() {
|
|
2417
2273
|
let i_0;
|
|
2418
2274
|
this.p1sols = new PriorityQueue_0(new FullCube$ValueComparator_0());
|
|
@@ -2430,7 +2286,6 @@ function Search_4() {
|
|
|
2430
2286
|
this.tempe[i_0] = new Edge3_0();
|
|
2431
2287
|
}
|
|
2432
2288
|
}
|
|
2433
|
-
|
|
2434
2289
|
function init_5() {
|
|
2435
2290
|
if (inited_2) {
|
|
2436
2291
|
return;
|
|
@@ -2448,7 +2303,6 @@ function init_5() {
|
|
|
2448
2303
|
createPrun_0();
|
|
2449
2304
|
inited_2 = true;
|
|
2450
2305
|
}
|
|
2451
|
-
|
|
2452
2306
|
defineSeed(163, 1, makeCastMap([Q$Search_0]), Search_4);
|
|
2453
2307
|
_.add1 = false;
|
|
2454
2308
|
_.arr2idx = 0;
|
|
@@ -2457,16 +2311,14 @@ _.length1 = 0;
|
|
|
2457
2311
|
_.length2 = 0;
|
|
2458
2312
|
_.p1SolsCnt = 0;
|
|
2459
2313
|
_.solution = "";
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
let ran$clinit_Util_0 = false;
|
|
2314
|
+
var inited_2 = false;
|
|
2315
|
+
var ran$clinit_Util_0 = false;
|
|
2463
2316
|
function $clinit_Util_0() {
|
|
2464
2317
|
if (ran$clinit_Util_0) {
|
|
2465
2318
|
return;
|
|
2466
2319
|
}
|
|
2467
2320
|
ran$clinit_Util_0 = true;
|
|
2468
2321
|
}
|
|
2469
|
-
|
|
2470
2322
|
function parity_0(arr) {
|
|
2471
2323
|
let i_0, j, len, parity;
|
|
2472
2324
|
parity = 0;
|
|
@@ -2477,7 +2329,6 @@ function parity_0(arr) {
|
|
|
2477
2329
|
}
|
|
2478
2330
|
return parity;
|
|
2479
2331
|
}
|
|
2480
|
-
|
|
2481
2332
|
function swap(arr, a, b, c, d, key) {
|
|
2482
2333
|
let temp;
|
|
2483
2334
|
switch (key) {
|
|
@@ -2505,20 +2356,17 @@ function swap(arr, a, b, c, d, key) {
|
|
|
2505
2356
|
return;
|
|
2506
2357
|
}
|
|
2507
2358
|
}
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2359
|
+
function Class_0() {
|
|
2360
|
+
}
|
|
2511
2361
|
function createForArray(packageName, className, seedId, componentType) {
|
|
2512
2362
|
const clazz = new Class_0();
|
|
2513
2363
|
clazz.typeName = packageName + className;
|
|
2514
|
-
isInstantiable(seedId !== 0 ? -seedId : 0) &&
|
|
2515
|
-
setClassLiteral(seedId !== 0 ? -seedId : 0, clazz);
|
|
2364
|
+
isInstantiable(seedId !== 0 ? -seedId : 0) && setClassLiteral(seedId !== 0 ? -seedId : 0, clazz);
|
|
2516
2365
|
clazz.modifiers = 4;
|
|
2517
2366
|
clazz.superclass = Ljava_lang_Object_2_classLit;
|
|
2518
2367
|
clazz.componentType = componentType;
|
|
2519
2368
|
return clazz;
|
|
2520
2369
|
}
|
|
2521
|
-
|
|
2522
2370
|
function createForClass(packageName, className, seedId, superclass) {
|
|
2523
2371
|
const clazz = new Class_0();
|
|
2524
2372
|
clazz.typeName = packageName + className;
|
|
@@ -2526,17 +2374,14 @@ function createForClass(packageName, className, seedId, superclass) {
|
|
|
2526
2374
|
clazz.superclass = superclass;
|
|
2527
2375
|
return clazz;
|
|
2528
2376
|
}
|
|
2529
|
-
|
|
2530
2377
|
function getSeedFunction(clazz) {
|
|
2531
2378
|
const func = seedTable[clazz.seedId];
|
|
2532
2379
|
clazz = null;
|
|
2533
2380
|
return func;
|
|
2534
2381
|
}
|
|
2535
|
-
|
|
2536
2382
|
function isInstantiable(seedId) {
|
|
2537
2383
|
return typeof seedId === "number" && seedId > 0;
|
|
2538
2384
|
}
|
|
2539
|
-
|
|
2540
2385
|
function setClassLiteral(seedId, clazz) {
|
|
2541
2386
|
let proto;
|
|
2542
2387
|
clazz.seedId = seedId;
|
|
@@ -2548,7 +2393,8 @@ function setClassLiteral(seedId, clazz) {
|
|
|
2548
2393
|
if (seed) {
|
|
2549
2394
|
proto = seed.prototype;
|
|
2550
2395
|
} else {
|
|
2551
|
-
seed = seedTable[seedId] = function
|
|
2396
|
+
seed = seedTable[seedId] = function() {
|
|
2397
|
+
};
|
|
2552
2398
|
seed.___clazz$ = clazz;
|
|
2553
2399
|
return;
|
|
2554
2400
|
}
|
|
@@ -2558,58 +2404,37 @@ function setClassLiteral(seedId, clazz) {
|
|
|
2558
2404
|
}
|
|
2559
2405
|
proto.___clazz$ = clazz;
|
|
2560
2406
|
}
|
|
2561
|
-
|
|
2562
2407
|
_.val$outerIter = null;
|
|
2563
|
-
|
|
2564
2408
|
function $add(this$static, o) {
|
|
2565
2409
|
if ($offer(this$static, o)) {
|
|
2566
2410
|
return true;
|
|
2567
2411
|
}
|
|
2568
2412
|
}
|
|
2569
|
-
|
|
2570
2413
|
function $$init_6(this$static) {
|
|
2571
|
-
this$static.array = initDim(
|
|
2572
|
-
_3Ljava_lang_Object_2_classLit,
|
|
2573
|
-
makeCastMap([Q$Serializable, Q$Object_$1]),
|
|
2574
|
-
Q$Object,
|
|
2575
|
-
0,
|
|
2576
|
-
0,
|
|
2577
|
-
);
|
|
2414
|
+
this$static.array = initDim(_3Ljava_lang_Object_2_classLit, makeCastMap([Q$Serializable, Q$Object_$1]), Q$Object, 0, 0);
|
|
2578
2415
|
}
|
|
2579
|
-
|
|
2580
2416
|
function $add_0(this$static, o) {
|
|
2581
2417
|
setCheck(this$static.array, this$static.size++, o);
|
|
2582
2418
|
return true;
|
|
2583
2419
|
}
|
|
2584
|
-
|
|
2585
2420
|
function $clear(this$static) {
|
|
2586
|
-
this$static.array = initDim(
|
|
2587
|
-
_3Ljava_lang_Object_2_classLit,
|
|
2588
|
-
makeCastMap([Q$Serializable, Q$Object_$1]),
|
|
2589
|
-
Q$Object,
|
|
2590
|
-
0,
|
|
2591
|
-
0,
|
|
2592
|
-
);
|
|
2421
|
+
this$static.array = initDim(_3Ljava_lang_Object_2_classLit, makeCastMap([Q$Serializable, Q$Object_$1]), Q$Object, 0, 0);
|
|
2593
2422
|
this$static.size = 0;
|
|
2594
2423
|
}
|
|
2595
|
-
|
|
2596
2424
|
function $get_4(this$static, index) {
|
|
2597
2425
|
return this$static.array[index];
|
|
2598
2426
|
}
|
|
2599
|
-
|
|
2600
2427
|
function $remove_0(this$static, index) {
|
|
2601
2428
|
const previous = this$static.array[index];
|
|
2602
2429
|
splice_0(this$static.array, index, 1);
|
|
2603
2430
|
--this$static.size;
|
|
2604
2431
|
return previous;
|
|
2605
2432
|
}
|
|
2606
|
-
|
|
2607
2433
|
function $set_7(this$static, index, o) {
|
|
2608
2434
|
const previous = this$static.array[index];
|
|
2609
2435
|
setCheck(this$static.array, index, o);
|
|
2610
2436
|
return previous;
|
|
2611
2437
|
}
|
|
2612
|
-
|
|
2613
2438
|
function $toArray_0(this$static, out) {
|
|
2614
2439
|
let i_0;
|
|
2615
2440
|
out.length < this$static.size && (out = createFrom(out, this$static.size));
|
|
@@ -2619,17 +2444,14 @@ function $toArray_0(this$static, out) {
|
|
|
2619
2444
|
out.length > this$static.size && setCheck(out, this$static.size, null);
|
|
2620
2445
|
return out;
|
|
2621
2446
|
}
|
|
2622
|
-
|
|
2623
2447
|
function ArrayList_1() {
|
|
2624
2448
|
$$init_6(this);
|
|
2625
2449
|
this.array.length = 500;
|
|
2626
2450
|
}
|
|
2627
|
-
|
|
2628
2451
|
function splice_0(array, index, deleteCount) {
|
|
2629
2452
|
array.splice(index, deleteCount);
|
|
2630
2453
|
}
|
|
2631
2454
|
_.size = 0;
|
|
2632
|
-
|
|
2633
2455
|
function binarySearch_0(sortedArray, key) {
|
|
2634
2456
|
let high, low, mid, midVal;
|
|
2635
2457
|
low = 0;
|
|
@@ -2647,34 +2469,21 @@ function binarySearch_0(sortedArray, key) {
|
|
|
2647
2469
|
}
|
|
2648
2470
|
return -low - 1;
|
|
2649
2471
|
}
|
|
2650
|
-
|
|
2651
2472
|
function fill_0(a) {
|
|
2652
2473
|
fill_1(a, a.length);
|
|
2653
2474
|
}
|
|
2654
|
-
|
|
2655
2475
|
function fill_1(a, toIndex) {
|
|
2656
2476
|
let i_0;
|
|
2657
2477
|
for (i_0 = 0; i_0 < toIndex; ++i_0) {
|
|
2658
2478
|
a[i_0] = -1;
|
|
2659
2479
|
}
|
|
2660
2480
|
}
|
|
2661
|
-
|
|
2662
2481
|
function $mergeHeaps(this$static, node) {
|
|
2663
2482
|
let smallestChild, leftChild, rightChild, smallestChild_0;
|
|
2664
2483
|
const heapSize = this$static.heap.size;
|
|
2665
2484
|
const value = $get_4(this$static.heap, node);
|
|
2666
2485
|
while (node * 2 + 1 < heapSize) {
|
|
2667
|
-
smallestChild =
|
|
2668
|
-
((leftChild = 2 * node + 1),
|
|
2669
|
-
(rightChild = leftChild + 1),
|
|
2670
|
-
(smallestChild_0 = leftChild),
|
|
2671
|
-
rightChild < heapSize &&
|
|
2672
|
-
$compare_0(
|
|
2673
|
-
$get_4(this$static.heap, rightChild),
|
|
2674
|
-
$get_4(this$static.heap, leftChild),
|
|
2675
|
-
) < 0 &&
|
|
2676
|
-
(smallestChild_0 = rightChild),
|
|
2677
|
-
smallestChild_0);
|
|
2486
|
+
smallestChild = (leftChild = 2 * node + 1, rightChild = leftChild + 1, smallestChild_0 = leftChild, rightChild < heapSize && $compare_0($get_4(this$static.heap, rightChild), $get_4(this$static.heap, leftChild)) < 0 && (smallestChild_0 = rightChild), smallestChild_0);
|
|
2678
2487
|
if ($compare_0(value, $get_4(this$static.heap, smallestChild)) < 0) {
|
|
2679
2488
|
break;
|
|
2680
2489
|
}
|
|
@@ -2683,7 +2492,6 @@ function $mergeHeaps(this$static, node) {
|
|
|
2683
2492
|
}
|
|
2684
2493
|
$set_7(this$static.heap, node, value);
|
|
2685
2494
|
}
|
|
2686
|
-
|
|
2687
2495
|
function $offer(this$static, e) {
|
|
2688
2496
|
let childNode, node;
|
|
2689
2497
|
node = this$static.heap.size;
|
|
@@ -2700,7 +2508,6 @@ function $offer(this$static, e) {
|
|
|
2700
2508
|
$set_7(this$static.heap, node, e);
|
|
2701
2509
|
return true;
|
|
2702
2510
|
}
|
|
2703
|
-
|
|
2704
2511
|
function $poll(this$static) {
|
|
2705
2512
|
if (this$static.heap.size === 0) {
|
|
2706
2513
|
return null;
|
|
@@ -2709,7 +2516,6 @@ function $poll(this$static) {
|
|
|
2709
2516
|
$removeAtIndex(this$static);
|
|
2710
2517
|
return value;
|
|
2711
2518
|
}
|
|
2712
|
-
|
|
2713
2519
|
function $removeAtIndex(this$static) {
|
|
2714
2520
|
const lastValue = $remove_0(this$static.heap, this$static.heap.size - 1);
|
|
2715
2521
|
if (0 < this$static.heap.size) {
|
|
@@ -2717,48 +2523,22 @@ function $removeAtIndex(this$static) {
|
|
|
2717
2523
|
$mergeHeaps(this$static, 0);
|
|
2718
2524
|
}
|
|
2719
2525
|
}
|
|
2720
|
-
|
|
2721
2526
|
function $toArray_1(this$static, a) {
|
|
2722
2527
|
return $toArray_0(this$static.heap, a);
|
|
2723
2528
|
}
|
|
2724
|
-
|
|
2725
2529
|
function PriorityQueue_0(cmp) {
|
|
2726
2530
|
this.heap = new ArrayList_1();
|
|
2727
2531
|
this.cmp = cmp;
|
|
2728
2532
|
}
|
|
2729
|
-
|
|
2730
2533
|
defineSeed(239, 1, {}, PriorityQueue_0);
|
|
2731
2534
|
_.cmp = null;
|
|
2732
2535
|
_.heap = null;
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
),
|
|
2740
|
-
_3Ljava_lang_Object_2_classLit = createForArray(
|
|
2741
|
-
"[Ljava.lang.",
|
|
2742
|
-
"Object;",
|
|
2743
|
-
356,
|
|
2744
|
-
Ljava_lang_Object_2_classLit,
|
|
2745
|
-
),
|
|
2746
|
-
Lcs_threephase_FullCube_2_classLit = createForClass(
|
|
2747
|
-
"cs.threephase.",
|
|
2748
|
-
"FullCube",
|
|
2749
|
-
160,
|
|
2750
|
-
Ljava_lang_Object_2_classLit,
|
|
2751
|
-
),
|
|
2752
|
-
_3Lcs_threephase_FullCube_2_classLit = createForArray(
|
|
2753
|
-
"[Lcs.threephase.",
|
|
2754
|
-
"FullCube;",
|
|
2755
|
-
381,
|
|
2756
|
-
Lcs_threephase_FullCube_2_classLit,
|
|
2757
|
-
);
|
|
2758
|
-
|
|
2759
|
-
let searcher;
|
|
2760
|
-
|
|
2761
|
-
let raninit = false;
|
|
2536
|
+
var Ljava_lang_Object_2_classLit = createForClass("java.lang.", "Object", 1, null);
|
|
2537
|
+
var _3Ljava_lang_Object_2_classLit = createForArray("[Ljava.lang.", "Object;", 356, Ljava_lang_Object_2_classLit);
|
|
2538
|
+
var Lcs_threephase_FullCube_2_classLit = createForClass("cs.threephase.", "FullCube", 160, Ljava_lang_Object_2_classLit);
|
|
2539
|
+
var _3Lcs_threephase_FullCube_2_classLit = createForArray("[Lcs.threephase.", "FullCube;", 381, Lcs_threephase_FullCube_2_classLit);
|
|
2540
|
+
var searcher;
|
|
2541
|
+
var raninit = false;
|
|
2762
2542
|
function init() {
|
|
2763
2543
|
if (raninit) {
|
|
2764
2544
|
return;
|
|
@@ -2775,17 +2555,18 @@ function init() {
|
|
|
2775
2555
|
$clinit_FullCube_0();
|
|
2776
2556
|
searcher = new Search_4();
|
|
2777
2557
|
}
|
|
2778
|
-
|
|
2779
|
-
export function initialize(): void {
|
|
2558
|
+
function initialize() {
|
|
2780
2559
|
init();
|
|
2781
2560
|
init_5();
|
|
2782
2561
|
}
|
|
2783
|
-
|
|
2784
|
-
export async function random444Scramble(): Promise<Alg> {
|
|
2562
|
+
async function random444Scramble() {
|
|
2785
2563
|
mustBeInsideWorker();
|
|
2786
2564
|
init();
|
|
2787
|
-
const suffix = Alg.fromString(
|
|
2788
|
-
|
|
2789
|
-
);
|
|
2790
|
-
return (await getRandomScramble333()).concat(suffix);
|
|
2565
|
+
const suffix = Alg.fromString($randomState(searcher, await randomUIntBelowFactory()));
|
|
2566
|
+
return (await random333Scramble()).concat(suffix);
|
|
2791
2567
|
}
|
|
2568
|
+
export {
|
|
2569
|
+
initialize,
|
|
2570
|
+
random444Scramble
|
|
2571
|
+
};
|
|
2572
|
+
//# sourceMappingURL=scramble_444-F3YANDPO.js.map
|