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.
Files changed (1061) hide show
  1. package/README.md +5 -8
  2. package/alg/package.json +1 -3
  3. package/bluetooth/package.json +1 -3
  4. package/dist/esm/{2x2x2.kpuzzle.json-JOGUSQ4N.js → 2x2x2.kpuzzle.json-U5KOZCMU.js} +11 -11
  5. package/dist/esm/2x2x2.kpuzzle.json-U5KOZCMU.js.map +7 -0
  6. package/{src/cubing/search/inside/solve/puzzles/2x2x2.sgs.json.ts → dist/esm/2x2x2.sgs.json-UAYPCQVL.js} +21 -13
  7. package/dist/esm/2x2x2.sgs.json-UAYPCQVL.js.map +7 -0
  8. package/dist/esm/{3d-3WQVOHX5.js → 3d-NFF7OGTI.js} +4 -4
  9. package/dist/esm/{3d-3WQVOHX5.js.map → 3d-NFF7OGTI.js.map} +0 -0
  10. package/dist/esm/bluetooth/index.d.ts +1 -1
  11. package/dist/esm/bluetooth/index.js +46 -38
  12. package/dist/esm/bluetooth/index.js.map +3 -3
  13. package/dist/esm/chunk-27KJGD3S.js +84 -0
  14. package/dist/esm/chunk-27KJGD3S.js.map +7 -0
  15. package/dist/esm/chunk-37EHU3GZ.js +66 -0
  16. package/dist/esm/chunk-37EHU3GZ.js.map +7 -0
  17. package/dist/esm/chunk-7OPCF2OL.js +274 -0
  18. package/dist/esm/chunk-7OPCF2OL.js.map +7 -0
  19. package/dist/esm/chunk-BJIOROQC.js +18 -0
  20. package/dist/esm/chunk-BJIOROQC.js.map +7 -0
  21. package/dist/{bin/puzzle-geometry-bin.js → esm/chunk-J2U2GRS4.js} +104 -1488
  22. package/dist/esm/chunk-J2U2GRS4.js.map +7 -0
  23. package/dist/esm/chunk-KCRFOAR4.js +122 -0
  24. package/dist/esm/chunk-KCRFOAR4.js.map +7 -0
  25. package/{src/cubing/search/inside/solve/puzzles/pyraminx.sgs.json.ts → dist/esm/chunk-NPK6Z4AU.js} +22 -17
  26. package/dist/esm/chunk-NPK6Z4AU.js.map +7 -0
  27. package/dist/esm/chunk-NV5ESXTN.js +505 -0
  28. package/dist/esm/chunk-NV5ESXTN.js.map +7 -0
  29. package/dist/esm/{chunk-DLN5QS4V.js → chunk-REMJV2GO.js} +38 -51
  30. package/dist/esm/chunk-REMJV2GO.js.map +7 -0
  31. package/dist/esm/chunk-TB4D4E2W.js +226 -0
  32. package/dist/esm/chunk-TB4D4E2W.js.map +7 -0
  33. package/dist/esm/chunk-TNRZDNGH.js +822 -0
  34. package/dist/esm/chunk-TNRZDNGH.js.map +7 -0
  35. package/{src/cubing/search/inside/solve/puzzles/megaminx.sgs.json.ts → dist/esm/chunk-YN7E5RGM.js} +36 -24
  36. package/dist/esm/chunk-YN7E5RGM.js.map +7 -0
  37. package/dist/esm/{chunk-HXKINJ7U.js → chunk-ZLIK3DZT.js} +79 -57
  38. package/dist/esm/chunk-ZLIK3DZT.js.map +7 -0
  39. package/dist/esm/{clock.kpuzzle.json-EKWRMHJM.js → clock.kpuzzle.json-J3YBOI3G.js} +7 -45
  40. package/dist/esm/clock.kpuzzle.json-J3YBOI3G.js.map +7 -0
  41. package/dist/esm/entry-PHAJAE4E.js +536 -0
  42. package/dist/esm/entry-PHAJAE4E.js.map +7 -0
  43. package/dist/esm/esm-test-worker.js +3 -14
  44. package/dist/esm/esm-test-worker.js.map +3 -3
  45. package/dist/esm/fto.sgs.json-VO6HST2V.js +641 -0
  46. package/dist/esm/fto.sgs.json-VO6HST2V.js.map +7 -0
  47. package/{src/cubing/search/inside/solve/vendor/min2phase/gwt.js → dist/esm/gwt-B7CBESZR.js} +350 -1380
  48. package/dist/esm/gwt-B7CBESZR.js.map +7 -0
  49. package/dist/esm/kpuzzle/index.js +5 -35
  50. package/dist/esm/megaminx.sgs.json-R3MK4HXM.js +16 -0
  51. package/dist/esm/megaminx.sgs.json-R3MK4HXM.js.map +7 -0
  52. package/dist/esm/module-entry-UYTOFYBC.js +18 -0
  53. package/dist/esm/module-entry-UYTOFYBC.js.map +7 -0
  54. package/dist/esm/{node-BSAQKO3G.js → node-SP4L2AKI.js} +2 -2
  55. package/dist/esm/{node-BSAQKO3G.js.map → node-SP4L2AKI.js.map} +1 -1
  56. package/dist/esm/{node-WEHVBEKP.js → node-W3AD4HBK.js} +3 -2
  57. package/dist/esm/node-W3AD4HBK.js.map +7 -0
  58. package/dist/esm/protocol/index.js +2 -1
  59. package/dist/esm/puzzle-geometry/index.js +15 -4053
  60. package/dist/esm/puzzle-geometry/index.js.map +3 -3
  61. package/dist/esm/puzzles/index.js +4 -4
  62. package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js +14 -0
  63. package/dist/esm/pyraminx.sgs.json-R3J3JHMV.js.map +7 -0
  64. package/dist/esm/scramble/index.js +5 -3
  65. package/{src/cubing/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.ts → dist/esm/scramble_444-F3YANDPO.js} +367 -586
  66. package/dist/esm/scramble_444-F3YANDPO.js.map +7 -0
  67. package/{src/cubing/search/inside/solve/vendor/sq12phase/scramble_sq1.js → dist/esm/scramble_sq1-PQ2AYBFW.js} +143 -290
  68. package/dist/esm/scramble_sq1-PQ2AYBFW.js.map +7 -0
  69. package/dist/esm/search/index.js +7 -4
  70. package/dist/esm/skewb.sgs.json-T6CO36WU.js +16 -0
  71. package/dist/esm/skewb.sgs.json-T6CO36WU.js.map +7 -0
  72. package/dist/esm/{sq1-hyperorbit.kpuzzle.json-N3FGCPML.js → sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js} +6 -6
  73. package/dist/esm/sq1-hyperorbit.kpuzzle.json-AWDGN4ZW.js.map +7 -0
  74. package/dist/esm/twisty/index.js +342 -231
  75. package/dist/esm/twisty/index.js.map +3 -3
  76. package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js +3447 -0
  77. package/dist/esm/worker-inside-generated-string-6YDSDSRJ.js.map +7 -0
  78. package/dist/{esm → types}/.DS_Store +0 -0
  79. package/dist/types/alg/Alg.d.ts +0 -1
  80. package/dist/types/alg/Alg.spec.d.ts +0 -1
  81. package/dist/types/alg/AlgBuilder.d.ts +0 -1
  82. package/dist/types/alg/Serializable.d.ts +0 -1
  83. package/dist/types/alg/common.d.ts +0 -1
  84. package/dist/types/alg/debug.d.ts +0 -1
  85. package/dist/types/alg/example.d.ts +0 -1
  86. package/dist/types/alg/index.d.ts +0 -1
  87. package/dist/types/alg/is.d.ts +0 -1
  88. package/dist/types/alg/iteration.d.ts +0 -1
  89. package/dist/types/alg/keyboard.d.ts +0 -1
  90. package/dist/types/alg/limits.d.ts +0 -1
  91. package/dist/types/alg/operation.d.ts +0 -1
  92. package/dist/types/alg/operation.spec.d.ts +0 -1
  93. package/dist/types/alg/parse.d.ts +0 -1
  94. package/dist/types/alg/parse.spec.d.ts +0 -1
  95. package/dist/types/alg/test/alg-comparison.d.ts +0 -1
  96. package/dist/types/alg/test/alg.spec.d.ts +0 -1
  97. package/dist/types/alg/traversal.d.ts +0 -1
  98. package/dist/types/alg/units/QuantumWithAmount.d.ts +0 -1
  99. package/dist/types/alg/units/Unit.d.ts +0 -1
  100. package/dist/types/alg/units/containers/Commutator.d.ts +0 -1
  101. package/dist/types/alg/units/containers/Conjugate.d.ts +0 -1
  102. package/dist/types/alg/units/containers/Grouping.d.ts +0 -1
  103. package/dist/types/alg/units/index.d.ts +0 -1
  104. package/dist/types/alg/units/leaves/LineComment.d.ts +0 -1
  105. package/dist/types/alg/units/leaves/LineComment.spec.d.ts +0 -1
  106. package/dist/types/alg/units/leaves/Move.d.ts +0 -1
  107. package/dist/types/alg/units/leaves/Move.spec.d.ts +0 -1
  108. package/dist/types/alg/units/leaves/Newline.d.ts +0 -1
  109. package/dist/types/alg/units/leaves/Pause.d.ts +0 -1
  110. package/dist/types/alg/url.d.ts +0 -1
  111. package/dist/types/alg/url.spec.d.ts +0 -1
  112. package/dist/types/alg/validation.d.ts +0 -1
  113. package/dist/types/alg/warnOnce.d.ts +0 -1
  114. package/dist/types/bluetooth/connect/index.d.ts +0 -1
  115. package/dist/types/bluetooth/debug.d.ts +0 -1
  116. package/dist/types/bluetooth/index.d.ts +0 -1
  117. package/dist/types/bluetooth/keyboard.d.ts +5 -5
  118. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts +3 -3
  119. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts +3 -5
  120. package/dist/types/bluetooth/smart-puzzle/connect.d.ts +0 -1
  121. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts +0 -1
  122. package/dist/types/bluetooth/smart-puzzle/gan.d.ts +5 -4
  123. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts +3 -3
  124. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts +0 -1
  125. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts +0 -1
  126. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts +0 -1
  127. package/dist/types/bluetooth/smart-robot/index.d.ts +0 -1
  128. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts +0 -1
  129. package/dist/types/bluetooth/smart-timer/index.d.ts +0 -1
  130. package/dist/types/bluetooth/transformer.d.ts +0 -1
  131. package/dist/types/cubing.bundle-global.d.ts +0 -1
  132. package/{src/cubing/cubing.bundle-global.ts → dist/types/cubing.bundle-global.exports.d.ts} +12 -19
  133. package/dist/types/esm-test-worker.d.ts +0 -1
  134. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts +2 -3
  135. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts +0 -1
  136. package/dist/types/kpuzzle/3x3x3/puzzle-orientation.d.ts +4 -0
  137. package/dist/types/kpuzzle/KPuzzle.d.ts +25 -0
  138. package/dist/types/kpuzzle/KPuzzleDefinition.d.ts +20 -0
  139. package/dist/types/kpuzzle/KState.d.ts +16 -0
  140. package/dist/types/kpuzzle/KTransformation.d.ts +20 -0
  141. package/dist/types/kpuzzle/calculate.d.ts +16 -0
  142. package/dist/types/kpuzzle/combine.d.ts +3 -0
  143. package/dist/types/kpuzzle/construct.d.ts +5 -0
  144. package/dist/types/kpuzzle/index.d.ts +6 -10
  145. package/dist/types/notation/CountAnimatedLeaves.d.ts +0 -1
  146. package/dist/types/notation/CountMoves.d.ts +0 -1
  147. package/dist/types/notation/index.d.ts +0 -1
  148. package/dist/types/protocol/binary/binary3x3x3.d.ts +5 -6
  149. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts +0 -1
  150. package/dist/types/protocol/binary/hex.d.ts +0 -1
  151. package/dist/types/protocol/binary/hex.spec.d.ts +0 -1
  152. package/dist/types/protocol/binary/orbit-indexing.d.ts +0 -1
  153. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts +0 -1
  154. package/dist/types/protocol/binary/puzzle-orientation.d.ts +4 -5
  155. package/dist/types/protocol/index.d.ts +0 -1
  156. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +0 -1
  157. package/dist/types/puzzle-geometry/Options.d.ts +0 -1
  158. package/dist/types/puzzle-geometry/PGPuzzles.d.ts +0 -1
  159. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts +0 -1
  160. package/dist/types/puzzle-geometry/Perm.d.ts +0 -1
  161. package/dist/types/puzzle-geometry/PermOriSet.d.ts +4 -5
  162. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts +0 -1
  163. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +11 -5
  164. package/dist/types/puzzle-geometry/Quat.d.ts +0 -1
  165. package/dist/types/puzzle-geometry/Quat.spec.d.ts +0 -1
  166. package/dist/types/puzzle-geometry/SchreierSims.d.ts +0 -1
  167. package/dist/types/puzzle-geometry/index.d.ts +2 -2
  168. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts +0 -1
  169. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts +0 -1
  170. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts +0 -1
  171. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts +3 -2
  172. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts +0 -1
  173. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts +0 -1
  174. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts +0 -1
  175. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts +0 -1
  176. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts +0 -1
  177. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts +0 -1
  178. package/dist/types/puzzles/PuzzleLoader.d.ts +3 -3
  179. package/dist/types/puzzles/async/async-pg3d.d.ts +3 -3
  180. package/dist/types/puzzles/async/lazy-cached-kpuzzle.d.ts +2 -0
  181. package/dist/types/puzzles/customPGPuzzleLoader.d.ts +2 -3
  182. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts +1 -2
  183. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts +0 -1
  184. package/dist/types/puzzles/implementations/2x2x2/index.d.ts +0 -1
  185. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts +0 -1
  186. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts +0 -1
  187. package/dist/types/puzzles/implementations/3x3x3/index.d.ts +0 -1
  188. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts +1 -2
  189. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts +0 -1
  190. package/dist/types/puzzles/implementations/clock/index.d.ts +0 -1
  191. package/dist/types/puzzles/implementations/fto/index.d.ts +0 -1
  192. package/dist/types/puzzles/implementations/megaminx/index.d.ts +0 -1
  193. package/dist/types/puzzles/implementations/pyraminx/index.d.ts +0 -1
  194. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts +0 -1
  195. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts +0 -1
  196. package/dist/types/puzzles/implementations/square1/index.d.ts +0 -1
  197. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts +1 -2
  198. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts +0 -1
  199. package/dist/types/puzzles/index.d.ts +1 -2
  200. package/dist/types/puzzles/stickerings/appearance.d.ts +6 -7
  201. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts +0 -1
  202. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts +0 -1
  203. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts +0 -1
  204. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts +0 -1
  205. package/dist/types/scramble/index.d.ts +0 -1
  206. package/dist/types/search/esm-test-worker.d.ts +0 -1
  207. package/dist/types/search/index.d.ts +0 -1
  208. package/dist/types/search/inside/api.d.ts +6 -7
  209. package/dist/types/search/inside/api.spec.d.ts +0 -1
  210. package/dist/types/search/inside/entry.d.ts +0 -1
  211. package/dist/types/search/inside/inside-worker.d.ts +0 -1
  212. package/dist/types/search/inside/module-entry-path-getter.d.ts +1 -0
  213. package/dist/types/search/inside/module-entry.d.ts +1 -0
  214. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts +0 -1
  215. package/dist/types/search/inside/solve/parseSGS.d.ts +3 -4
  216. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts +3 -4
  217. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts +0 -1
  218. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts +2 -3
  219. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts +4 -4
  220. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts +3 -4
  221. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts +0 -1
  222. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts +0 -1
  223. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts +2 -2
  224. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts +0 -1
  225. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts +0 -1
  226. package/dist/types/search/inside/solve/puzzles/clock.d.ts +0 -1
  227. package/dist/types/search/inside/solve/puzzles/fto.d.ts +5 -0
  228. package/dist/types/search/inside/solve/puzzles/fto.sgs.json.d.ts +2 -0
  229. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts +2 -3
  230. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts +2 -3
  231. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts +3 -4
  232. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts +0 -1
  233. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts +0 -1
  234. package/dist/types/search/inside/solve/puzzles/skewb.d.ts +3 -4
  235. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts +2 -3
  236. package/dist/types/search/inside/solve/puzzles/sq1.d.ts +0 -1
  237. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts +0 -1
  238. package/dist/types/search/inside/solve/tremble.d.ts +6 -6
  239. package/dist/types/search/instantiator.d.ts +1 -3
  240. package/dist/types/search/outside.d.ts +6 -7
  241. package/dist/types/search/worker-inside-generated-string.d.ts +1 -2
  242. package/dist/types/stream/index.d.ts +0 -1
  243. package/dist/types/stream/process/ReorientedStream.d.ts +1 -3
  244. package/dist/types/stream/proxy-event.d.ts +0 -1
  245. package/dist/types/stream/twizzle/TwizzleStream.d.ts +0 -1
  246. package/dist/types/stream/twizzle/stream-types.d.ts +0 -1
  247. package/dist/types/stream/websocket-proxy.d.ts +0 -1
  248. package/dist/types/twisty/controllers/AnimationTypes.d.ts +2 -3
  249. package/dist/types/twisty/controllers/RenderScheduler.d.ts +0 -1
  250. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts +0 -1
  251. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts +0 -1
  252. package/dist/types/twisty/controllers/easing.d.ts +0 -1
  253. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts +0 -1
  254. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts +6 -6
  255. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts +7 -7
  256. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +8 -8
  257. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts +9 -9
  258. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts +0 -1
  259. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts +36 -37
  260. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts +7 -7
  261. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts +0 -1
  262. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts +0 -1
  263. package/dist/types/twisty/heavy-code-imports/3d.d.ts +0 -1
  264. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts +0 -1
  265. package/dist/types/twisty/index.d.ts +1 -2
  266. package/dist/types/twisty/model/PromiseFreshener.d.ts +0 -1
  267. package/dist/types/twisty/model/TwistyPlayerModel.d.ts +6 -7
  268. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts +0 -1
  269. package/dist/types/twisty/model/helpers.d.ts +0 -1
  270. package/dist/types/twisty/model/props/TwistyProp.d.ts +0 -1
  271. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts +0 -1
  272. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts +0 -1
  273. package/dist/types/twisty/model/props/general/URLProp.d.ts +0 -1
  274. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts +0 -1
  275. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts +0 -1
  276. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts +0 -1
  277. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts +2 -1
  278. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts +0 -1
  279. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +5 -8
  280. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts +5 -7
  281. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts +0 -1
  282. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts +0 -1
  283. package/dist/types/twisty/model/props/puzzle/state/{CurrentLeavesProp.d.ts → CurrentMoveInfoProp.d.ts} +2 -3
  284. package/dist/types/twisty/model/props/puzzle/state/CurrentStateProp.d.ts +14 -0
  285. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts +7 -8
  286. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts +0 -1
  287. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts +5 -6
  288. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts +2 -3
  289. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts +6 -2
  290. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts +0 -1
  291. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts +4 -5
  292. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts +0 -1
  293. package/dist/types/twisty/model/props/puzzle/structure/KPuzzleProp.d.ts +10 -0
  294. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts +0 -1
  295. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts +0 -1
  296. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts +0 -1
  297. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts +0 -1
  298. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +0 -1
  299. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts +0 -1
  300. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts +0 -1
  301. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts +0 -1
  302. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts +0 -1
  303. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts +0 -1
  304. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts +0 -1
  305. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +0 -1
  306. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts +0 -1
  307. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts +0 -1
  308. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts +0 -1
  309. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts +0 -1
  310. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts +2 -3
  311. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +0 -1
  312. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts +0 -1
  313. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts +0 -1
  314. package/dist/types/twisty/views/2D/KPuzzleSVGWrapper.d.ts +17 -0
  315. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts +0 -1
  316. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts +4 -4
  317. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts +0 -1
  318. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts +0 -1
  319. package/dist/types/twisty/views/3D/DragTracker.d.ts +0 -1
  320. package/dist/types/twisty/views/3D/RendererPool.d.ts +0 -1
  321. package/dist/types/twisty/views/3D/TAU.d.ts +0 -1
  322. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts +0 -1
  323. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts +0 -1
  324. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts +0 -1
  325. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts +0 -1
  326. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts +0 -1
  327. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +0 -1
  328. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts +0 -1
  329. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts +0 -1
  330. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts +4 -5
  331. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts +5 -6
  332. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts +0 -1
  333. package/dist/types/twisty/views/ClassListManager.d.ts +0 -1
  334. package/dist/types/twisty/views/ManagedCustomElement.d.ts +0 -1
  335. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts +0 -1
  336. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts +0 -1
  337. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +0 -1
  338. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts +0 -1
  339. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts +0 -1
  340. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts +0 -1
  341. package/dist/types/twisty/views/TwistyAlgViewer.d.ts +0 -1
  342. package/dist/types/twisty/views/TwistyPlayer.css.d.ts +0 -1
  343. package/dist/types/twisty/views/TwistyPlayer.d.ts +0 -1
  344. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts +0 -1
  345. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts +0 -1
  346. package/dist/types/twisty/views/canvas.d.ts +0 -1
  347. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts +0 -1
  348. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts +0 -1
  349. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts +0 -1
  350. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts +0 -1
  351. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts +0 -1
  352. package/dist/types/twisty/views/document.d.ts +0 -1
  353. package/dist/types/twisty/views/node-custom-element-shims.d.ts +0 -1
  354. package/dist/types/twisty/views/screenshot.d.ts +0 -1
  355. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts +0 -1
  356. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts +0 -1
  357. package/{src/cubing/search → dist/types}/vendor/comlink-everywhere/inside/index.d.ts +0 -0
  358. package/dist/types/{search/vendor → vendor}/comlink-everywhere/inside/node.d.ts +0 -1
  359. package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/index.d.ts +0 -1
  360. package/dist/types/{search/vendor → vendor}/comlink-everywhere/outside/node.d.ts +0 -1
  361. package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/lib/mathlib.d.ts +0 -1
  362. package/dist/types/{search/inside/solve/vendor → vendor}/cstimer/src/js/scramble/scramble_444.d.ts +1 -2
  363. package/dist/types/{search/inside/solve/vendor → vendor}/min2phase/gwt.d.ts +0 -1
  364. package/dist/types/vendor/p-lazy/p-lazy.d.ts +0 -1
  365. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/get-random-values.d.ts +0 -1
  366. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/index.d.ts +1 -2
  367. package/dist/types/{search/inside/solve/vendor → vendor}/random-uint-below/random-choice.d.ts +0 -1
  368. package/dist/types/{search/inside/solve/vendor/random-uint-below/random-int.d.ts → vendor/random-uint-below/random53BitValue.d.ts} +0 -1
  369. package/dist/types/{search/inside/solve/vendor → vendor}/sq12phase/scramble_sq1.d.ts +0 -1
  370. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts +0 -1
  371. package/dist/types/{bluetooth/smart-puzzle → vendor/unsafe-raw-aes}/unsafe-raw-aes.d.ts +0 -1
  372. package/kpuzzle/package.json +1 -3
  373. package/notation/package.json +1 -3
  374. package/package.json +11 -17
  375. package/protocol/package.json +1 -3
  376. package/puzzle-geometry/package.json +1 -3
  377. package/puzzles/package.json +1 -3
  378. package/scramble/package.json +1 -3
  379. package/search/package.json +1 -3
  380. package/stream/package.json +1 -3
  381. package/twisty/package.json +1 -3
  382. package/alg/index.d.ts +0 -1
  383. package/bluetooth/index.d.ts +0 -1
  384. package/dist/.DS_Store +0 -0
  385. package/dist/bin/puzzle-geometry-bin.js.map +0 -7
  386. package/dist/bundle-global/cubing.bundle-global.js +0 -7419
  387. package/dist/esm/2x2x2.kpuzzle.json-JOGUSQ4N.js.map +0 -7
  388. package/dist/esm/chunk-7KI3I3Y7.js +0 -1379
  389. package/dist/esm/chunk-7KI3I3Y7.js.map +0 -7
  390. package/dist/esm/chunk-DLN5QS4V.js.map +0 -7
  391. package/dist/esm/chunk-HXKINJ7U.js.map +0 -7
  392. package/dist/esm/chunk-X6JHXPDX.js +0 -2359
  393. package/dist/esm/chunk-X6JHXPDX.js.map +0 -7
  394. package/dist/esm/clock.kpuzzle.json-EKWRMHJM.js.map +0 -7
  395. package/dist/esm/index.d.ts +0 -1
  396. package/dist/esm/node-WEHVBEKP.js.map +0 -7
  397. package/dist/esm/sq1-hyperorbit.kpuzzle.json-N3FGCPML.js.map +0 -7
  398. package/dist/esm/worker-inside-generated-string-ZA6E6672.js +0 -2831
  399. package/dist/esm/worker-inside-generated-string-ZA6E6672.js.map +0 -7
  400. package/dist/types/alg/Alg.d.ts.map +0 -1
  401. package/dist/types/alg/Alg.spec.d.ts.map +0 -1
  402. package/dist/types/alg/AlgBuilder.d.ts.map +0 -1
  403. package/dist/types/alg/Serializable.d.ts.map +0 -1
  404. package/dist/types/alg/common.d.ts.map +0 -1
  405. package/dist/types/alg/debug.d.ts.map +0 -1
  406. package/dist/types/alg/example.d.ts.map +0 -1
  407. package/dist/types/alg/index.d.ts.map +0 -1
  408. package/dist/types/alg/is.d.ts.map +0 -1
  409. package/dist/types/alg/iteration.d.ts.map +0 -1
  410. package/dist/types/alg/keyboard.d.ts.map +0 -1
  411. package/dist/types/alg/limits.d.ts.map +0 -1
  412. package/dist/types/alg/operation.d.ts.map +0 -1
  413. package/dist/types/alg/operation.spec.d.ts.map +0 -1
  414. package/dist/types/alg/parse.d.ts.map +0 -1
  415. package/dist/types/alg/parse.spec.d.ts.map +0 -1
  416. package/dist/types/alg/test/alg-comparison.d.ts.map +0 -1
  417. package/dist/types/alg/test/alg.spec.d.ts.map +0 -1
  418. package/dist/types/alg/traversal.d.ts.map +0 -1
  419. package/dist/types/alg/units/QuantumWithAmount.d.ts.map +0 -1
  420. package/dist/types/alg/units/Unit.d.ts.map +0 -1
  421. package/dist/types/alg/units/containers/Commutator.d.ts.map +0 -1
  422. package/dist/types/alg/units/containers/Conjugate.d.ts.map +0 -1
  423. package/dist/types/alg/units/containers/Grouping.d.ts.map +0 -1
  424. package/dist/types/alg/units/index.d.ts.map +0 -1
  425. package/dist/types/alg/units/leaves/LineComment.d.ts.map +0 -1
  426. package/dist/types/alg/units/leaves/LineComment.spec.d.ts.map +0 -1
  427. package/dist/types/alg/units/leaves/Move.d.ts.map +0 -1
  428. package/dist/types/alg/units/leaves/Move.spec.d.ts.map +0 -1
  429. package/dist/types/alg/units/leaves/Newline.d.ts.map +0 -1
  430. package/dist/types/alg/units/leaves/Pause.d.ts.map +0 -1
  431. package/dist/types/alg/url.d.ts.map +0 -1
  432. package/dist/types/alg/url.spec.d.ts.map +0 -1
  433. package/dist/types/alg/validation.d.ts.map +0 -1
  434. package/dist/types/alg/warnOnce.d.ts.map +0 -1
  435. package/dist/types/bluetooth/connect/index.d.ts.map +0 -1
  436. package/dist/types/bluetooth/debug.d.ts.map +0 -1
  437. package/dist/types/bluetooth/index.d.ts.map +0 -1
  438. package/dist/types/bluetooth/keyboard.d.ts.map +0 -1
  439. package/dist/types/bluetooth/smart-puzzle/Heykube.d.ts.map +0 -1
  440. package/dist/types/bluetooth/smart-puzzle/bluetooth-puzzle.d.ts.map +0 -1
  441. package/dist/types/bluetooth/smart-puzzle/connect.d.ts.map +0 -1
  442. package/dist/types/bluetooth/smart-puzzle/endianness.d.ts.map +0 -1
  443. package/dist/types/bluetooth/smart-puzzle/gan.d.ts.map +0 -1
  444. package/dist/types/bluetooth/smart-puzzle/giiker.d.ts.map +0 -1
  445. package/dist/types/bluetooth/smart-puzzle/giiker.spec.d.ts.map +0 -1
  446. package/dist/types/bluetooth/smart-puzzle/gocube.d.ts.map +0 -1
  447. package/dist/types/bluetooth/smart-puzzle/unsafe-raw-aes.d.ts.map +0 -1
  448. package/dist/types/bluetooth/smart-robot/GanRobot.d.ts.map +0 -1
  449. package/dist/types/bluetooth/smart-robot/index.d.ts.map +0 -1
  450. package/dist/types/bluetooth/smart-timer/GanTimer.d.ts.map +0 -1
  451. package/dist/types/bluetooth/smart-timer/index.d.ts.map +0 -1
  452. package/dist/types/bluetooth/transformer.d.ts.map +0 -1
  453. package/dist/types/cubing.bundle-global.d.ts.map +0 -1
  454. package/dist/types/esm-test-worker.d.ts.map +0 -1
  455. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.d.ts.map +0 -1
  456. package/dist/types/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.d.ts.map +0 -1
  457. package/dist/types/kpuzzle/canon.spec.d.ts +0 -2
  458. package/dist/types/kpuzzle/canon.spec.d.ts.map +0 -1
  459. package/dist/types/kpuzzle/canonicalize.d.ts +0 -55
  460. package/dist/types/kpuzzle/canonicalize.d.ts.map +0 -1
  461. package/dist/types/kpuzzle/definition_types.d.ts +0 -19
  462. package/dist/types/kpuzzle/definition_types.d.ts.map +0 -1
  463. package/dist/types/kpuzzle/index.d.ts.map +0 -1
  464. package/dist/types/kpuzzle/kpuzzle.d.ts +0 -17
  465. package/dist/types/kpuzzle/kpuzzle.d.ts.map +0 -1
  466. package/dist/types/kpuzzle/kpuzzle.spec.d.ts +0 -2
  467. package/dist/types/kpuzzle/kpuzzle.spec.d.ts.map +0 -1
  468. package/dist/types/kpuzzle/move_notation.d.ts +0 -6
  469. package/dist/types/kpuzzle/move_notation.d.ts.map +0 -1
  470. package/dist/types/kpuzzle/parser/index.d.ts +0 -2
  471. package/dist/types/kpuzzle/parser/index.d.ts.map +0 -1
  472. package/dist/types/kpuzzle/parser/parser-peggy.d.ts +0 -15
  473. package/dist/types/kpuzzle/parser/parser-peggy.d.ts.map +0 -1
  474. package/dist/types/kpuzzle/parser/parser-shim.d.ts +0 -4
  475. package/dist/types/kpuzzle/parser/parser-shim.d.ts.map +0 -1
  476. package/dist/types/kpuzzle/parser/parser.d.ts +0 -1
  477. package/dist/types/kpuzzle/parser/parser.d.ts.map +0 -1
  478. package/dist/types/kpuzzle/prunetable.spec.d.ts +0 -2
  479. package/dist/types/kpuzzle/prunetable.spec.d.ts.map +0 -1
  480. package/dist/types/kpuzzle/pruningtable.d.ts +0 -16
  481. package/dist/types/kpuzzle/pruningtable.d.ts.map +0 -1
  482. package/dist/types/kpuzzle/puzzle-orientation.d.ts +0 -5
  483. package/dist/types/kpuzzle/puzzle-orientation.d.ts.map +0 -1
  484. package/dist/types/kpuzzle/svg.d.ts +0 -18
  485. package/dist/types/kpuzzle/svg.d.ts.map +0 -1
  486. package/dist/types/kpuzzle/transformations.d.ts +0 -13
  487. package/dist/types/kpuzzle/transformations.d.ts.map +0 -1
  488. package/dist/types/kpuzzle/transformations.spec.d.ts +0 -2
  489. package/dist/types/kpuzzle/transformations.spec.d.ts.map +0 -1
  490. package/dist/types/notation/CountAnimatedLeaves.d.ts.map +0 -1
  491. package/dist/types/notation/CountMoves.d.ts.map +0 -1
  492. package/dist/types/notation/index.d.ts.map +0 -1
  493. package/dist/types/protocol/binary/binary3x3x3.d.ts.map +0 -1
  494. package/dist/types/protocol/binary/binary3x3x3.spec.d.ts.map +0 -1
  495. package/dist/types/protocol/binary/hex.d.ts.map +0 -1
  496. package/dist/types/protocol/binary/hex.spec.d.ts.map +0 -1
  497. package/dist/types/protocol/binary/orbit-indexing.d.ts.map +0 -1
  498. package/dist/types/protocol/binary/orbit-indexing.spec.d.ts.map +0 -1
  499. package/dist/types/protocol/binary/puzzle-orientation.d.ts.map +0 -1
  500. package/dist/types/protocol/index.d.ts.map +0 -1
  501. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts.map +0 -1
  502. package/dist/types/puzzle-geometry/Options.d.ts.map +0 -1
  503. package/dist/types/puzzle-geometry/PGPuzzles.d.ts.map +0 -1
  504. package/dist/types/puzzle-geometry/PGPuzzles.spec.d.ts.map +0 -1
  505. package/dist/types/puzzle-geometry/Perm.d.ts.map +0 -1
  506. package/dist/types/puzzle-geometry/PermOriSet.d.ts.map +0 -1
  507. package/dist/types/puzzle-geometry/PlatonicGenerator.d.ts.map +0 -1
  508. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts.map +0 -1
  509. package/dist/types/puzzle-geometry/Quat.d.ts.map +0 -1
  510. package/dist/types/puzzle-geometry/Quat.spec.d.ts.map +0 -1
  511. package/dist/types/puzzle-geometry/SchreierSims.d.ts.map +0 -1
  512. package/dist/types/puzzle-geometry/index.d.ts.map +0 -1
  513. package/dist/types/puzzle-geometry/interfaces.d.ts +0 -6
  514. package/dist/types/puzzle-geometry/interfaces.d.ts.map +0 -1
  515. package/dist/types/puzzle-geometry/notation-mapping/FTONotationMapper.d.ts.map +0 -1
  516. package/dist/types/puzzle-geometry/notation-mapping/FaceRenamingMapper.d.ts.map +0 -1
  517. package/dist/types/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.d.ts.map +0 -1
  518. package/dist/types/puzzle-geometry/notation-mapping/NotationMapper.d.ts.map +0 -1
  519. package/dist/types/puzzle-geometry/notation-mapping/NullMapper.d.ts.map +0 -1
  520. package/dist/types/puzzle-geometry/notation-mapping/NxNxNCubeMapper.d.ts.map +0 -1
  521. package/dist/types/puzzle-geometry/notation-mapping/PyraminxNotationMapper.d.ts.map +0 -1
  522. package/dist/types/puzzle-geometry/notation-mapping/SkewbNotationMapper.d.ts.map +0 -1
  523. package/dist/types/puzzle-geometry/notation-mapping/index.d.ts.map +0 -1
  524. package/dist/types/puzzle-geometry/orientcenters.spec.d.ts.map +0 -1
  525. package/dist/types/puzzles/PuzzleLoader.d.ts.map +0 -1
  526. package/dist/types/puzzles/async/async-pg3d.d.ts.map +0 -1
  527. package/dist/types/puzzles/customPGPuzzleLoader.d.ts.map +0 -1
  528. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.d.ts.map +0 -1
  529. package/dist/types/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.d.ts.map +0 -1
  530. package/dist/types/puzzles/implementations/2x2x2/index.d.ts.map +0 -1
  531. package/dist/types/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.d.ts.map +0 -1
  532. package/dist/types/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.d.ts.map +0 -1
  533. package/dist/types/puzzles/implementations/3x3x3/index.d.ts.map +0 -1
  534. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.json.d.ts.map +0 -1
  535. package/dist/types/puzzles/implementations/clock/clock.kpuzzle.svg.d.ts.map +0 -1
  536. package/dist/types/puzzles/implementations/clock/index.d.ts.map +0 -1
  537. package/dist/types/puzzles/implementations/fto/index.d.ts.map +0 -1
  538. package/dist/types/puzzles/implementations/megaminx/index.d.ts.map +0 -1
  539. package/dist/types/puzzles/implementations/pyraminx/index.d.ts.map +0 -1
  540. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.d.ts.map +0 -1
  541. package/dist/types/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.d.ts.map +0 -1
  542. package/dist/types/puzzles/implementations/square1/index.d.ts.map +0 -1
  543. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.d.ts.map +0 -1
  544. package/dist/types/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.d.ts.map +0 -1
  545. package/dist/types/puzzles/index.d.ts.map +0 -1
  546. package/dist/types/puzzles/stickerings/appearance.d.ts.map +0 -1
  547. package/dist/types/puzzles/stickerings/cube-stickerings.d.ts.map +0 -1
  548. package/dist/types/puzzles/stickerings/fto-stickerings.d.ts.map +0 -1
  549. package/dist/types/puzzles/stickerings/global-custom-stickering-hack.d.ts.map +0 -1
  550. package/dist/types/puzzles/stickerings/megaminx-stickerings.d.ts.map +0 -1
  551. package/dist/types/scramble/index.d.ts.map +0 -1
  552. package/dist/types/search/esm-test-worker.d.ts.map +0 -1
  553. package/dist/types/search/index.d.ts.map +0 -1
  554. package/dist/types/search/inside/api.d.ts.map +0 -1
  555. package/dist/types/search/inside/api.spec.d.ts.map +0 -1
  556. package/dist/types/search/inside/entry.d.ts.map +0 -1
  557. package/dist/types/search/inside/inside-worker.d.ts.map +0 -1
  558. package/dist/types/search/inside/solve/addOrientationSuffix.d.ts.map +0 -1
  559. package/dist/types/search/inside/solve/parseSGS.d.ts.map +0 -1
  560. package/dist/types/search/inside/solve/puzzles/2x2x2.d.ts.map +0 -1
  561. package/dist/types/search/inside/solve/puzzles/2x2x2.sgs.json.d.ts.map +0 -1
  562. package/dist/types/search/inside/solve/puzzles/3x3x3/convert.d.ts.map +0 -1
  563. package/dist/types/search/inside/solve/puzzles/3x3x3/filter.d.ts.map +0 -1
  564. package/dist/types/search/inside/solve/puzzles/3x3x3/index.d.ts.map +0 -1
  565. package/dist/types/search/inside/solve/puzzles/3x3x3/legacy-sgs.d.ts.map +0 -1
  566. package/dist/types/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.d.ts.map +0 -1
  567. package/dist/types/search/inside/solve/puzzles/4x4x4.d.ts.map +0 -1
  568. package/dist/types/search/inside/solve/puzzles/5x5x5.d.ts.map +0 -1
  569. package/dist/types/search/inside/solve/puzzles/big-cubes.d.ts.map +0 -1
  570. package/dist/types/search/inside/solve/puzzles/clock.d.ts.map +0 -1
  571. package/dist/types/search/inside/solve/puzzles/megaminx.d.ts.map +0 -1
  572. package/dist/types/search/inside/solve/puzzles/megaminx.sgs.json.d.ts.map +0 -1
  573. package/dist/types/search/inside/solve/puzzles/pyraminx.d.ts.map +0 -1
  574. package/dist/types/search/inside/solve/puzzles/pyraminx.sgs.json.d.ts.map +0 -1
  575. package/dist/types/search/inside/solve/puzzles/sgs-defs.spec.d.ts.map +0 -1
  576. package/dist/types/search/inside/solve/puzzles/skewb.d.ts.map +0 -1
  577. package/dist/types/search/inside/solve/puzzles/skewb.sgs.json.d.ts.map +0 -1
  578. package/dist/types/search/inside/solve/puzzles/sq1.d.ts.map +0 -1
  579. package/dist/types/search/inside/solve/puzzles/wca-minx.d.ts.map +0 -1
  580. package/dist/types/search/inside/solve/tremble.d.ts.map +0 -1
  581. package/dist/types/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.d.ts.map +0 -1
  582. package/dist/types/search/inside/solve/vendor/cstimer/src/js/scramble/scramble_444.d.ts.map +0 -1
  583. package/dist/types/search/inside/solve/vendor/min2phase/gwt.d.ts.map +0 -1
  584. package/dist/types/search/inside/solve/vendor/random-uint-below/get-random-values.d.ts.map +0 -1
  585. package/dist/types/search/inside/solve/vendor/random-uint-below/index.d.ts.map +0 -1
  586. package/dist/types/search/inside/solve/vendor/random-uint-below/random-choice.d.ts.map +0 -1
  587. package/dist/types/search/inside/solve/vendor/random-uint-below/random-int.d.ts.map +0 -1
  588. package/dist/types/search/inside/solve/vendor/sq12phase/scramble_sq1.d.ts.map +0 -1
  589. package/dist/types/search/instantiator.d.ts.map +0 -1
  590. package/dist/types/search/outside.d.ts.map +0 -1
  591. package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts +0 -2
  592. package/dist/types/search/vendor/comlink-everywhere/inside/index.d.ts.map +0 -1
  593. package/dist/types/search/vendor/comlink-everywhere/inside/node.d.ts.map +0 -1
  594. package/dist/types/search/vendor/comlink-everywhere/outside/index.d.ts.map +0 -1
  595. package/dist/types/search/vendor/comlink-everywhere/outside/node.d.ts.map +0 -1
  596. package/dist/types/search/worker-inside-generated-string.d.ts.map +0 -1
  597. package/dist/types/stream/index.d.ts.map +0 -1
  598. package/dist/types/stream/process/ReorientedStream.d.ts.map +0 -1
  599. package/dist/types/stream/proxy-event.d.ts.map +0 -1
  600. package/dist/types/stream/twizzle/TwizzleStream.d.ts.map +0 -1
  601. package/dist/types/stream/twizzle/stream-types.d.ts.map +0 -1
  602. package/dist/types/stream/websocket-proxy.d.ts.map +0 -1
  603. package/dist/types/twisty/controllers/AnimationTypes.d.ts.map +0 -1
  604. package/dist/types/twisty/controllers/RenderScheduler.d.ts.map +0 -1
  605. package/dist/types/twisty/controllers/TwistyAnimationController.d.ts.map +0 -1
  606. package/dist/types/twisty/controllers/TwistyPlayerController.d.ts.map +0 -1
  607. package/dist/types/twisty/controllers/easing.d.ts.map +0 -1
  608. package/dist/types/twisty/controllers/indexer/AlgDuration.d.ts.map +0 -1
  609. package/dist/types/twisty/controllers/indexer/AlgIndexer.d.ts.map +0 -1
  610. package/dist/types/twisty/controllers/indexer/SimpleAlgIndexer.d.ts.map +0 -1
  611. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts.map +0 -1
  612. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts.map +0 -1
  613. package/dist/types/twisty/controllers/indexer/simultaneous-moves/simul-moves.d.ts.map +0 -1
  614. package/dist/types/twisty/controllers/indexer/tree/AlgWalker.d.ts.map +0 -1
  615. package/dist/types/twisty/controllers/indexer/tree/TreeAlgIndexer.d.ts.map +0 -1
  616. package/dist/types/twisty/controllers/indexer/tree/chunkAlgs.d.ts.map +0 -1
  617. package/dist/types/twisty/controllers/stream/timeline-move-calculation-draft.d.ts.map +0 -1
  618. package/dist/types/twisty/heavy-code-imports/3d.d.ts.map +0 -1
  619. package/dist/types/twisty/heavy-code-imports/dynamic-entries/3d.d.ts.map +0 -1
  620. package/dist/types/twisty/index.d.ts.map +0 -1
  621. package/dist/types/twisty/model/PromiseFreshener.d.ts.map +0 -1
  622. package/dist/types/twisty/model/TwistyPlayerModel.d.ts.map +0 -1
  623. package/dist/types/twisty/model/UserVisibleErrorTracker.d.ts.map +0 -1
  624. package/dist/types/twisty/model/helpers.d.ts.map +0 -1
  625. package/dist/types/twisty/model/props/TwistyProp.d.ts.map +0 -1
  626. package/dist/types/twisty/model/props/TwistyProp.spec.d.ts.map +0 -1
  627. package/dist/types/twisty/model/props/TwistyPropDebugger.d.ts.map +0 -1
  628. package/dist/types/twisty/model/props/general/URLProp.d.ts.map +0 -1
  629. package/dist/types/twisty/model/props/puzzle/display/FoundationDisplayProp.d.ts.map +0 -1
  630. package/dist/types/twisty/model/props/puzzle/display/HintFaceletProp.d.ts.map +0 -1
  631. package/dist/types/twisty/model/props/puzzle/display/SpriteProp.d.ts.map +0 -1
  632. package/dist/types/twisty/model/props/puzzle/display/StickeringProp.d.ts.map +0 -1
  633. package/dist/types/twisty/model/props/puzzle/state/AlgProp.d.ts.map +0 -1
  634. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts.map +0 -1
  635. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts.map +0 -1
  636. package/dist/types/twisty/model/props/puzzle/state/CatchUpMoveProp.d.ts.map +0 -1
  637. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesProp.d.ts.map +0 -1
  638. package/dist/types/twisty/model/props/puzzle/state/CurrentLeavesSimplified.d.ts.map +0 -1
  639. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts +0 -15
  640. package/dist/types/twisty/model/props/puzzle/state/CurrentTransformationProp.d.ts.map +0 -1
  641. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorProp.d.ts.map +0 -1
  642. package/dist/types/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.d.ts.map +0 -1
  643. package/dist/types/twisty/model/props/puzzle/state/IndexerProp.d.ts.map +0 -1
  644. package/dist/types/twisty/model/props/puzzle/state/LegacyPositionProp.d.ts.map +0 -1
  645. package/dist/types/twisty/model/props/puzzle/state/MovePressInputProp.d.ts.map +0 -1
  646. package/dist/types/twisty/model/props/puzzle/state/NaiveMoveCountProp.d.ts.map +0 -1
  647. package/dist/types/twisty/model/props/puzzle/state/PuzzleAlgProp.d.ts.map +0 -1
  648. package/dist/types/twisty/model/props/puzzle/state/SetupAnchorProp.d.ts.map +0 -1
  649. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts +0 -11
  650. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDefProp.d.ts.map +0 -1
  651. package/dist/types/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.d.ts.map +0 -1
  652. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDProp.d.ts.map +0 -1
  653. package/dist/types/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.d.ts.map +0 -1
  654. package/dist/types/twisty/model/props/puzzle/structure/PuzzleLoaderProp.d.ts.map +0 -1
  655. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts.map +0 -1
  656. package/dist/types/twisty/model/props/timeline/DetailedTimelineInfoProp.d.ts.map +0 -1
  657. package/dist/types/twisty/model/props/timeline/PlayingInfoProp.d.ts.map +0 -1
  658. package/dist/types/twisty/model/props/timeline/TempoScaleProp.d.ts.map +0 -1
  659. package/dist/types/twisty/model/props/timeline/TimestampRequestProp.d.ts.map +0 -1
  660. package/dist/types/twisty/model/props/viewer/BackViewProp.d.ts.map +0 -1
  661. package/dist/types/twisty/model/props/viewer/BackgroundProp.d.ts.map +0 -1
  662. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts.map +0 -1
  663. package/dist/types/twisty/model/props/viewer/ControlPanelProp.d.ts.map +0 -1
  664. package/dist/types/twisty/model/props/viewer/LatitudeLimit.d.ts.map +0 -1
  665. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesProp.d.ts.map +0 -1
  666. package/dist/types/twisty/model/props/viewer/OrbitCoordinatesRequestProp.d.ts.map +0 -1
  667. package/dist/types/twisty/model/props/viewer/TimeRangeProp.d.ts.map +0 -1
  668. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts.map +0 -1
  669. package/dist/types/twisty/model/props/viewer/VisualizationProp.d.ts.map +0 -1
  670. package/dist/types/twisty/model/props/viewer/VisualizationStrategyProp.d.ts.map +0 -1
  671. package/dist/types/twisty/views/2D/Twisty2DPuzzle.css.d.ts.map +0 -1
  672. package/dist/types/twisty/views/2D/Twisty2DPuzzle.d.ts.map +0 -1
  673. package/dist/types/twisty/views/2D/Twisty2DPuzzleWrapper.d.ts.map +0 -1
  674. package/dist/types/twisty/views/2D/Twisty2DSceneWrapper.d.ts.map +0 -1
  675. package/dist/types/twisty/views/3D/DragTracker.d.ts.map +0 -1
  676. package/dist/types/twisty/views/3D/RendererPool.d.ts.map +0 -1
  677. package/dist/types/twisty/views/3D/TAU.d.ts.map +0 -1
  678. package/dist/types/twisty/views/3D/Twisty3DPuzzleWrapper.d.ts.map +0 -1
  679. package/dist/types/twisty/views/3D/Twisty3DRenderTarget.d.ts.map +0 -1
  680. package/dist/types/twisty/views/3D/Twisty3DScene.d.ts.map +0 -1
  681. package/dist/types/twisty/views/3D/Twisty3DSceneWrapper.d.ts.map +0 -1
  682. package/dist/types/twisty/views/3D/Twisty3DVantage.css.d.ts.map +0 -1
  683. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts.map +0 -1
  684. package/dist/types/twisty/views/3D/TwistyOrbitControls.d.ts.map +0 -1
  685. package/dist/types/twisty/views/3D/TwistyOrbitControls.spec.d.ts.map +0 -1
  686. package/dist/types/twisty/views/3D/puzzles/Cube3D.d.ts.map +0 -1
  687. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts +0 -48
  688. package/dist/types/twisty/views/3D/puzzles/KPuzzleWrapper.d.ts.map +0 -1
  689. package/dist/types/twisty/views/3D/puzzles/PG3D.d.ts.map +0 -1
  690. package/dist/types/twisty/views/3D/puzzles/Twisty3DPuzzle.d.ts.map +0 -1
  691. package/dist/types/twisty/views/ClassListManager.d.ts.map +0 -1
  692. package/dist/types/twisty/views/ManagedCustomElement.d.ts.map +0 -1
  693. package/dist/types/twisty/views/TwistyAlgEditor/LeafTokens.d.ts.map +0 -1
  694. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.d.ts.map +0 -1
  695. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts.map +0 -1
  696. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.d.ts.map +0 -1
  697. package/dist/types/twisty/views/TwistyAlgEditor/model.d.ts.map +0 -1
  698. package/dist/types/twisty/views/TwistyAlgViewer.css.d.ts.map +0 -1
  699. package/dist/types/twisty/views/TwistyAlgViewer.d.ts.map +0 -1
  700. package/dist/types/twisty/views/TwistyPlayer.css.d.ts.map +0 -1
  701. package/dist/types/twisty/views/TwistyPlayer.d.ts.map +0 -1
  702. package/dist/types/twisty/views/TwistyPlayerSettable.d.ts.map +0 -1
  703. package/dist/types/twisty/views/TwistyViewerWrapper.css.d.ts.map +0 -1
  704. package/dist/types/twisty/views/canvas.d.ts.map +0 -1
  705. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.css.d.ts.map +0 -1
  706. package/dist/types/twisty/views/control-panel/TwistyButtonsV2.d.ts.map +0 -1
  707. package/dist/types/twisty/views/control-panel/TwistyScrubber.css.d.ts.map +0 -1
  708. package/dist/types/twisty/views/control-panel/TwistyScrubberV2.d.ts.map +0 -1
  709. package/dist/types/twisty/views/control-panel/webkit-fullscreen.d.ts.map +0 -1
  710. package/dist/types/twisty/views/document.d.ts.map +0 -1
  711. package/dist/types/twisty/views/node-custom-element-shims.d.ts.map +0 -1
  712. package/dist/types/twisty/views/screenshot.d.ts.map +0 -1
  713. package/dist/types/twisty/views/stream/TwistyStreamSource.css.d.ts.map +0 -1
  714. package/dist/types/twisty/views/stream/TwistyStreamSource.d.ts.map +0 -1
  715. package/dist/types/vendor/p-lazy/p-lazy.d.ts.map +0 -1
  716. package/dist/types/vendor/three/examples/jsm/libs/stats.modified.module.d.ts.map +0 -1
  717. package/docs/.DS_Store +0 -0
  718. package/docs/CNAME +0 -1
  719. package/docs/cubing/.DS_Store +0 -0
  720. package/docs/cubing/alg/index.html +0 -174
  721. package/docs/cubing/api/index.html +0 -158
  722. package/docs/cubing/index.html +0 -151
  723. package/docs/cubing/scramble/index.html +0 -138
  724. package/docs/cubing/twisty/index.html +0 -329
  725. package/docs/favicon.ico +0 -0
  726. package/docs/index.html +0 -20
  727. package/docs/main.css +0 -192
  728. package/kpuzzle/index.d.ts +0 -1
  729. package/notation/index.d.ts +0 -1
  730. package/protocol/index.d.ts +0 -1
  731. package/puzzle-geometry/index.d.ts +0 -1
  732. package/puzzles/index.d.ts +0 -1
  733. package/scramble/index.d.ts +0 -1
  734. package/search/index.d.ts +0 -1
  735. package/src/cubing/.DS_Store +0 -0
  736. package/src/cubing/alg/Alg.spec.ts +0 -10
  737. package/src/cubing/alg/Alg.ts +0 -290
  738. package/src/cubing/alg/AlgBuilder.ts +0 -33
  739. package/src/cubing/alg/Serializable.ts +0 -29
  740. package/src/cubing/alg/common.ts +0 -59
  741. package/src/cubing/alg/debug.ts +0 -27
  742. package/src/cubing/alg/example.ts +0 -152
  743. package/src/cubing/alg/index.ts +0 -21
  744. package/src/cubing/alg/is.ts +0 -38
  745. package/src/cubing/alg/iteration.ts +0 -45
  746. package/src/cubing/alg/keyboard.ts +0 -48
  747. package/src/cubing/alg/limits.ts +0 -4
  748. package/src/cubing/alg/operation.spec.ts +0 -48
  749. package/src/cubing/alg/operation.ts +0 -36
  750. package/src/cubing/alg/parse.spec.ts +0 -75
  751. package/src/cubing/alg/parse.ts +0 -408
  752. package/src/cubing/alg/test/alg-comparison.ts +0 -23
  753. package/src/cubing/alg/test/alg.spec.ts +0 -348
  754. package/src/cubing/alg/traversal.ts +0 -284
  755. package/src/cubing/alg/units/QuantumWithAmount.ts +0 -55
  756. package/src/cubing/alg/units/Unit.ts +0 -11
  757. package/src/cubing/alg/units/containers/Commutator.ts +0 -85
  758. package/src/cubing/alg/units/containers/Conjugate.ts +0 -53
  759. package/src/cubing/alg/units/containers/Grouping.ts +0 -116
  760. package/src/cubing/alg/units/index.ts +0 -8
  761. package/src/cubing/alg/units/leaves/LineComment.spec.ts +0 -35
  762. package/src/cubing/alg/units/leaves/LineComment.ts +0 -48
  763. package/src/cubing/alg/units/leaves/Move.spec.ts +0 -15
  764. package/src/cubing/alg/units/leaves/Move.ts +0 -265
  765. package/src/cubing/alg/units/leaves/Newline.ts +0 -24
  766. package/src/cubing/alg/units/leaves/Pause.ts +0 -24
  767. package/src/cubing/alg/url.spec.ts +0 -10
  768. package/src/cubing/alg/url.ts +0 -133
  769. package/src/cubing/alg/validation.ts +0 -62
  770. package/src/cubing/alg/warnOnce.ts +0 -7
  771. package/src/cubing/bluetooth/connect/index.ts +0 -93
  772. package/src/cubing/bluetooth/debug.ts +0 -18
  773. package/src/cubing/bluetooth/docs/gan-robot.md +0 -60
  774. package/src/cubing/bluetooth/docs/gan356i.md +0 -309
  775. package/src/cubing/bluetooth/index.ts +0 -19
  776. package/src/cubing/bluetooth/keyboard.ts +0 -55
  777. package/src/cubing/bluetooth/smart-puzzle/Heykube.ts +0 -165
  778. package/src/cubing/bluetooth/smart-puzzle/bluetooth-puzzle.ts +0 -95
  779. package/src/cubing/bluetooth/smart-puzzle/connect.ts +0 -19
  780. package/src/cubing/bluetooth/smart-puzzle/endianness.ts +0 -15
  781. package/src/cubing/bluetooth/smart-puzzle/gan.ts +0 -481
  782. package/src/cubing/bluetooth/smart-puzzle/giiker.spec.ts +0 -28
  783. package/src/cubing/bluetooth/smart-puzzle/giiker.ts +0 -277
  784. package/src/cubing/bluetooth/smart-puzzle/gocube.ts +0 -167
  785. package/src/cubing/bluetooth/smart-puzzle/unsafe-raw-aes.ts +0 -66
  786. package/src/cubing/bluetooth/smart-robot/GanRobot.ts +0 -311
  787. package/src/cubing/bluetooth/smart-robot/index.ts +0 -13
  788. package/src/cubing/bluetooth/smart-timer/GanTimer.ts +0 -141
  789. package/src/cubing/bluetooth/smart-timer/index.ts +0 -13
  790. package/src/cubing/bluetooth/transformer.ts +0 -74
  791. package/src/cubing/esm-test-worker.js +0 -5
  792. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.spec.ts +0 -40
  793. package/src/cubing/kpuzzle/3x3x3/3x3x3.kpuzzle.json.ts +0 -339
  794. package/src/cubing/kpuzzle/canon.spec.ts +0 -48
  795. package/src/cubing/kpuzzle/canonicalize.ts +0 -325
  796. package/src/cubing/kpuzzle/definition_types.ts +0 -23
  797. package/src/cubing/kpuzzle/index.ts +0 -33
  798. package/src/cubing/kpuzzle/kpuzzle.spec.ts +0 -12
  799. package/src/cubing/kpuzzle/kpuzzle.ts +0 -124
  800. package/src/cubing/kpuzzle/move_notation.ts +0 -9
  801. package/src/cubing/kpuzzle/parser/index.ts +0 -1
  802. package/src/cubing/kpuzzle/parser/parser-peggy.js +0 -1221
  803. package/src/cubing/kpuzzle/parser/parser-peggy.peggy +0 -72
  804. package/src/cubing/kpuzzle/parser/parser-shim.ts +0 -11
  805. package/src/cubing/kpuzzle/parser/parser.js +0 -0
  806. package/src/cubing/kpuzzle/prunetable.spec.ts +0 -19
  807. package/src/cubing/kpuzzle/pruningtable.ts +0 -99
  808. package/src/cubing/kpuzzle/puzzle-orientation.ts +0 -34
  809. package/src/cubing/kpuzzle/svg.ts +0 -290
  810. package/src/cubing/kpuzzle/transformations.spec.ts +0 -75
  811. package/src/cubing/kpuzzle/transformations.ts +0 -258
  812. package/src/cubing/notation/CountAnimatedLeaves.ts +0 -56
  813. package/src/cubing/notation/CountMoves.ts +0 -89
  814. package/src/cubing/notation/index.ts +0 -4
  815. package/src/cubing/protocol/binary/binary3x3x3.spec.ts +0 -143
  816. package/src/cubing/protocol/binary/binary3x3x3.ts +0 -226
  817. package/src/cubing/protocol/binary/hex.spec.ts +0 -17
  818. package/src/cubing/protocol/binary/hex.ts +0 -12
  819. package/src/cubing/protocol/binary/orbit-indexing.spec.ts +0 -49
  820. package/src/cubing/protocol/binary/orbit-indexing.ts +0 -68
  821. package/src/cubing/protocol/binary/puzzle-orientation.ts +0 -69
  822. package/src/cubing/protocol/index.ts +0 -12
  823. package/src/cubing/puzzle-geometry/FaceNameSwizzler.ts +0 -148
  824. package/src/cubing/puzzle-geometry/Options.ts +0 -179
  825. package/src/cubing/puzzle-geometry/PGPuzzles.spec.ts +0 -127
  826. package/src/cubing/puzzle-geometry/PGPuzzles.ts +0 -80
  827. package/src/cubing/puzzle-geometry/Perm.ts +0 -154
  828. package/src/cubing/puzzle-geometry/PermOriSet.ts +0 -765
  829. package/src/cubing/puzzle-geometry/PlatonicGenerator.ts +0 -146
  830. package/src/cubing/puzzle-geometry/PuzzleGeometry.ts +0 -3009
  831. package/src/cubing/puzzle-geometry/Quat.spec.ts +0 -10
  832. package/src/cubing/puzzle-geometry/Quat.ts +0 -325
  833. package/src/cubing/puzzle-geometry/SchreierSims.ts +0 -144
  834. package/src/cubing/puzzle-geometry/index.ts +0 -17
  835. package/src/cubing/puzzle-geometry/interfaces.ts +0 -6
  836. package/src/cubing/puzzle-geometry/notation-mapping/FTONotationMapper.ts +0 -38
  837. package/src/cubing/puzzle-geometry/notation-mapping/FaceRenamingMapper.ts +0 -59
  838. package/src/cubing/puzzle-geometry/notation-mapping/MegaminxScramblingNotationMapper.ts +0 -50
  839. package/src/cubing/puzzle-geometry/notation-mapping/NotationMapper.ts +0 -6
  840. package/src/cubing/puzzle-geometry/notation-mapping/NullMapper.ts +0 -12
  841. package/src/cubing/puzzle-geometry/notation-mapping/NxNxNCubeMapper.ts +0 -77
  842. package/src/cubing/puzzle-geometry/notation-mapping/PyraminxNotationMapper.ts +0 -121
  843. package/src/cubing/puzzle-geometry/notation-mapping/SkewbNotationMapper.ts +0 -103
  844. package/src/cubing/puzzle-geometry/notation-mapping/index.ts +0 -13
  845. package/src/cubing/puzzle-geometry/orientcenters.spec.ts +0 -55
  846. package/src/cubing/puzzles/PuzzleLoader.ts +0 -20
  847. package/src/cubing/puzzles/async/async-pg3d.ts +0 -73
  848. package/src/cubing/puzzles/customPGPuzzleLoader.ts +0 -60
  849. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.json.ts +0 -92
  850. package/src/cubing/puzzles/implementations/2x2x2/2x2x2.kpuzzle.svg.ts +0 -45
  851. package/src/cubing/puzzles/implementations/2x2x2/index.ts +0 -25
  852. package/src/cubing/puzzles/implementations/2x2x2/svg/2x2x2.kpuzzle.svg +0 -45
  853. package/src/cubing/puzzles/implementations/3x3x3/3x3x3-ll.kpuzzle.svg.ts +0 -108
  854. package/src/cubing/puzzles/implementations/3x3x3/3x3x3.kpuzzle.svg.ts +0 -128
  855. package/src/cubing/puzzles/implementations/3x3x3/index.ts +0 -33
  856. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3-ll.kpuzzle.svg +0 -108
  857. package/src/cubing/puzzles/implementations/3x3x3/src/3x3x3.kpuzzle.svg +0 -128
  858. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.original.svg +0 -128
  859. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.outlined.svg +0 -486
  860. package/src/cubing/puzzles/implementations/TODO/svg/alg/3x3x3.kpuzzle.spaced.svg +0 -128
  861. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.json.ts +0 -241
  862. package/src/cubing/puzzles/implementations/clock/clock.kpuzzle.svg.ts +0 -369
  863. package/src/cubing/puzzles/implementations/clock/index.ts +0 -14
  864. package/src/cubing/puzzles/implementations/clock/src/clock.kpuzzle.svg +0 -369
  865. package/src/cubing/puzzles/implementations/fto/index.ts +0 -28
  866. package/src/cubing/puzzles/implementations/megaminx/index.ts +0 -20
  867. package/src/cubing/puzzles/implementations/pyraminx/index.ts +0 -18
  868. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.json.ts +0 -84
  869. package/src/cubing/puzzles/implementations/pyraminx/pyraminx.kpuzzle.svg.ts +0 -88
  870. package/src/cubing/puzzles/implementations/pyraminx/src/pyraminx.kpuzzle.svg +0 -87
  871. package/src/cubing/puzzles/implementations/square1/index.ts +0 -14
  872. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.json.ts +0 -62
  873. package/src/cubing/puzzles/implementations/square1/sq1-hyperorbit.kpuzzle.svg.ts +0 -295
  874. package/src/cubing/puzzles/implementations/square1/src/sq1-hyperorbit.kpuzzle.svg +0 -295
  875. package/src/cubing/puzzles/implementations/square1/src/sq1-simple.svg +0 -60
  876. package/src/cubing/puzzles/index.ts +0 -92
  877. package/src/cubing/puzzles/stickerings/appearance.ts +0 -292
  878. package/src/cubing/puzzles/stickerings/cube-stickerings.ts +0 -286
  879. package/src/cubing/puzzles/stickerings/fto-stickerings.ts +0 -105
  880. package/src/cubing/puzzles/stickerings/global-custom-stickering-hack.ts +0 -61
  881. package/src/cubing/puzzles/stickerings/megaminx-stickerings.ts +0 -26
  882. package/src/cubing/scramble/index.ts +0 -1
  883. package/src/cubing/search/.gitignore +0 -1
  884. package/src/cubing/search/esm-test-worker.js +0 -14
  885. package/src/cubing/search/index.ts +0 -12
  886. package/src/cubing/search/inside/api.spec.ts +0 -37
  887. package/src/cubing/search/inside/api.ts +0 -171
  888. package/src/cubing/search/inside/entry.js +0 -4
  889. package/src/cubing/search/inside/inside-worker.ts +0 -13
  890. package/src/cubing/search/inside/solve/addOrientationSuffix.ts +0 -17
  891. package/src/cubing/search/inside/solve/parseSGS.ts +0 -119
  892. package/src/cubing/search/inside/solve/puzzles/2x2x2.ts +0 -92
  893. package/src/cubing/search/inside/solve/puzzles/3x3x3/convert.ts +0 -137
  894. package/src/cubing/search/inside/solve/puzzles/3x3x3/filter.ts +0 -60
  895. package/src/cubing/search/inside/solve/puzzles/3x3x3/index.ts +0 -57
  896. package/src/cubing/search/inside/solve/puzzles/3x3x3/legacy-sgs.ts +0 -291
  897. package/src/cubing/search/inside/solve/puzzles/3x3x3-inefficient.sgs.json.ts +0 -272
  898. package/src/cubing/search/inside/solve/puzzles/4x4x4.ts +0 -16
  899. package/src/cubing/search/inside/solve/puzzles/5x5x5.ts +0 -12
  900. package/src/cubing/search/inside/solve/puzzles/FTO.sgs +0 -264
  901. package/src/cubing/search/inside/solve/puzzles/big-cubes.ts +0 -78
  902. package/src/cubing/search/inside/solve/puzzles/clock.ts +0 -48
  903. package/src/cubing/search/inside/solve/puzzles/megaminx.ts +0 -51
  904. package/src/cubing/search/inside/solve/puzzles/pyraminx.ts +0 -48
  905. package/src/cubing/search/inside/solve/puzzles/sgs-defs.spec.ts +0 -27
  906. package/src/cubing/search/inside/solve/puzzles/skewb.sgs.json.ts +0 -113
  907. package/src/cubing/search/inside/solve/puzzles/skewb.ts +0 -65
  908. package/src/cubing/search/inside/solve/puzzles/sq1.ts +0 -6
  909. package/src/cubing/search/inside/solve/puzzles/wca-minx.ts +0 -32
  910. package/src/cubing/search/inside/solve/tremble.ts +0 -212
  911. package/src/cubing/search/inside/solve/vendor/cstimer/LICENSE +0 -674
  912. package/src/cubing/search/inside/solve/vendor/cstimer/src/js/lib/mathlib.ts +0 -54
  913. package/src/cubing/search/inside/solve/vendor/min2phase/gwt.d.ts +0 -2
  914. package/src/cubing/search/inside/solve/vendor/random-uint-below/get-random-values.ts +0 -38
  915. package/src/cubing/search/inside/solve/vendor/random-uint-below/index.ts +0 -12
  916. package/src/cubing/search/inside/solve/vendor/random-uint-below/random-choice.ts +0 -9
  917. package/src/cubing/search/inside/solve/vendor/random-uint-below/random-int.ts +0 -64
  918. package/src/cubing/search/instantiator.ts +0 -60
  919. package/src/cubing/search/outside.ts +0 -110
  920. package/src/cubing/search/vendor/comlink-everywhere/comlink-everywhere.webloc +0 -8
  921. package/src/cubing/search/vendor/comlink-everywhere/inside/index.js +0 -16
  922. package/src/cubing/search/vendor/comlink-everywhere/inside/node.js +0 -6
  923. package/src/cubing/search/vendor/comlink-everywhere/outside/index.d.ts +0 -6
  924. package/src/cubing/search/vendor/comlink-everywhere/outside/index.js +0 -31
  925. package/src/cubing/search/vendor/comlink-everywhere/outside/node.js +0 -41
  926. package/src/cubing/search/worker-inside-generated-string.js +0 -1
  927. package/src/cubing/stream/index.ts +0 -12
  928. package/src/cubing/stream/process/ReorientedStream.ts +0 -93
  929. package/src/cubing/stream/proxy-event.ts +0 -16
  930. package/src/cubing/stream/twizzle/TwizzleStream.ts +0 -53
  931. package/src/cubing/stream/twizzle/stream-types.ts +0 -45
  932. package/src/cubing/stream/websocket-proxy.ts +0 -73
  933. package/src/cubing/twisty/.DS_Store +0 -0
  934. package/src/cubing/twisty/controllers/.DS_Store +0 -0
  935. package/src/cubing/twisty/controllers/AnimationTypes.ts +0 -50
  936. package/src/cubing/twisty/controllers/RenderScheduler.ts +0 -28
  937. package/src/cubing/twisty/controllers/TwistyAnimationController.ts +0 -325
  938. package/src/cubing/twisty/controllers/TwistyPlayerController.ts +0 -38
  939. package/src/cubing/twisty/controllers/animation/.DS_Store +0 -0
  940. package/src/cubing/twisty/controllers/easing.ts +0 -3
  941. package/src/cubing/twisty/controllers/indexer/.DS_Store +0 -0
  942. package/src/cubing/twisty/controllers/indexer/AlgDuration.ts +0 -94
  943. package/src/cubing/twisty/controllers/indexer/AlgIndexer.ts +0 -87
  944. package/src/cubing/twisty/controllers/indexer/SimpleAlgIndexer.ts +0 -76
  945. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.ts +0 -181
  946. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.ts +0 -243
  947. package/src/cubing/twisty/controllers/indexer/simultaneous-moves/simul-moves.ts +0 -193
  948. package/src/cubing/twisty/controllers/indexer/tree/AlgWalker.ts +0 -439
  949. package/src/cubing/twisty/controllers/indexer/tree/TreeAlgIndexer.ts +0 -97
  950. package/src/cubing/twisty/controllers/indexer/tree/chunkAlgs.ts +0 -81
  951. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.spec.ts.TODO +0 -59
  952. package/src/cubing/twisty/controllers/stream/timeline-move-calculation-draft.ts +0 -162
  953. package/src/cubing/twisty/heavy-code-imports/.DS_Store +0 -0
  954. package/src/cubing/twisty/heavy-code-imports/3d.ts +0 -18
  955. package/src/cubing/twisty/heavy-code-imports/dynamic-entries/3d.ts +0 -31
  956. package/src/cubing/twisty/index.ts +0 -24
  957. package/src/cubing/twisty/model/.DS_Store +0 -0
  958. package/src/cubing/twisty/model/PromiseFreshener.ts +0 -49
  959. package/src/cubing/twisty/model/TwistyPlayerModel.ts +0 -254
  960. package/src/cubing/twisty/model/UserVisibleErrorTracker.ts +0 -22
  961. package/src/cubing/twisty/model/helpers.ts +0 -47
  962. package/src/cubing/twisty/model/props/.DS_Store +0 -0
  963. package/src/cubing/twisty/model/props/TwistyProp.spec.ts +0 -38
  964. package/src/cubing/twisty/model/props/TwistyProp.ts +0 -366
  965. package/src/cubing/twisty/model/props/TwistyPropDebugger.ts +0 -370
  966. package/src/cubing/twisty/model/props/general/URLProp.ts +0 -14
  967. package/src/cubing/twisty/model/props/puzzle/.DS_Store +0 -0
  968. package/src/cubing/twisty/model/props/puzzle/display/FoundationDisplayProp.ts +0 -9
  969. package/src/cubing/twisty/model/props/puzzle/display/HintFaceletProp.ts +0 -15
  970. package/src/cubing/twisty/model/props/puzzle/display/SpriteProp.ts +0 -43
  971. package/src/cubing/twisty/model/props/puzzle/display/StickeringProp.ts +0 -54
  972. package/src/cubing/twisty/model/props/puzzle/state/AlgProp.ts +0 -91
  973. package/src/cubing/twisty/model/props/puzzle/state/AlgTransformationProp.ts +0 -28
  974. package/src/cubing/twisty/model/props/puzzle/state/AnchoredStartProp.ts +0 -44
  975. package/src/cubing/twisty/model/props/puzzle/state/CatchUpMoveProp.ts +0 -17
  976. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesProp.ts +0 -109
  977. package/src/cubing/twisty/model/props/puzzle/state/CurrentLeavesSimplified.ts +0 -48
  978. package/src/cubing/twisty/model/props/puzzle/state/CurrentTransformationProp.ts +0 -46
  979. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorProp.ts +0 -53
  980. package/src/cubing/twisty/model/props/puzzle/state/IndexerConstructorRequestProp.ts +0 -15
  981. package/src/cubing/twisty/model/props/puzzle/state/IndexerProp.ts +0 -24
  982. package/src/cubing/twisty/model/props/puzzle/state/LegacyPositionProp.ts +0 -22
  983. package/src/cubing/twisty/model/props/puzzle/state/MovePressInputProp.ts +0 -9
  984. package/src/cubing/twisty/model/props/puzzle/state/NaiveMoveCountProp.ts +0 -20
  985. package/src/cubing/twisty/model/props/puzzle/state/PuzzleAlgProp.ts +0 -28
  986. package/src/cubing/twisty/model/props/puzzle/state/SetupAnchorProp.ts +0 -14
  987. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDefProp.ts +0 -14
  988. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleDescriptionProp.ts +0 -14
  989. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDProp.ts +0 -12
  990. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleIDRequestProp.ts +0 -36
  991. package/src/cubing/twisty/model/props/puzzle/structure/PuzzleLoaderProp.ts +0 -38
  992. package/src/cubing/twisty/model/props/timeline/CoarseTimelineInfoProp.ts +0 -45
  993. package/src/cubing/twisty/model/props/timeline/DetailedTimelineInfoProp.ts +0 -78
  994. package/src/cubing/twisty/model/props/timeline/PlayingInfoProp.ts +0 -48
  995. package/src/cubing/twisty/model/props/timeline/TempoScaleProp.ts +0 -13
  996. package/src/cubing/twisty/model/props/timeline/TimestampRequestProp.ts +0 -38
  997. package/src/cubing/twisty/model/props/viewer/BackViewProp.ts +0 -16
  998. package/src/cubing/twisty/model/props/viewer/BackgroundProp.ts +0 -15
  999. package/src/cubing/twisty/model/props/viewer/ButtonAppearanceProp.ts +0 -86
  1000. package/src/cubing/twisty/model/props/viewer/ControlPanelProp.ts +0 -14
  1001. package/src/cubing/twisty/model/props/viewer/LatitudeLimit.ts +0 -11
  1002. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesProp.ts +0 -127
  1003. package/src/cubing/twisty/model/props/viewer/OrbitCoordinatesRequestProp.ts +0 -69
  1004. package/src/cubing/twisty/model/props/viewer/TimeRangeProp.ts +0 -15
  1005. package/src/cubing/twisty/model/props/viewer/ViewerLinkProp.ts +0 -14
  1006. package/src/cubing/twisty/model/props/viewer/VisualizationProp.ts +0 -17
  1007. package/src/cubing/twisty/model/props/viewer/VisualizationStrategyProp.ts +0 -45
  1008. package/src/cubing/twisty/old/.DS_Store +0 -0
  1009. package/src/cubing/twisty/old/animation/.DS_Store +0 -0
  1010. package/src/cubing/twisty/old/dom/.DS_Store +0 -0
  1011. package/src/cubing/twisty/views/.DS_Store +0 -0
  1012. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.css.ts +0 -26
  1013. package/src/cubing/twisty/views/2D/Twisty2DPuzzle.ts +0 -146
  1014. package/src/cubing/twisty/views/2D/Twisty2DPuzzleWrapper.ts +0 -52
  1015. package/src/cubing/twisty/views/2D/Twisty2DSceneWrapper.ts +0 -77
  1016. package/src/cubing/twisty/views/3D/.DS_Store +0 -0
  1017. package/src/cubing/twisty/views/3D/DragTracker.ts +0 -184
  1018. package/src/cubing/twisty/views/3D/RendererPool.ts +0 -54
  1019. package/src/cubing/twisty/views/3D/TAU.ts +0 -2
  1020. package/src/cubing/twisty/views/3D/Twisty3DPuzzleWrapper.ts +0 -214
  1021. package/src/cubing/twisty/views/3D/Twisty3DRenderTarget.ts +0 -5
  1022. package/src/cubing/twisty/views/3D/Twisty3DScene.ts +0 -42
  1023. package/src/cubing/twisty/views/3D/Twisty3DSceneWrapper.ts +0 -189
  1024. package/src/cubing/twisty/views/3D/Twisty3DVantage.css.ts +0 -32
  1025. package/src/cubing/twisty/views/3D/Twisty3DVantage.ts +0 -312
  1026. package/src/cubing/twisty/views/3D/TwistyOrbitControls.spec.ts +0 -213
  1027. package/src/cubing/twisty/views/3D/TwistyOrbitControls.ts +0 -176
  1028. package/src/cubing/twisty/views/3D/puzzles/Cube3D.ts +0 -966
  1029. package/src/cubing/twisty/views/3D/puzzles/KPuzzleWrapper.ts +0 -142
  1030. package/src/cubing/twisty/views/3D/puzzles/PG3D.ts +0 -1078
  1031. package/src/cubing/twisty/views/3D/puzzles/Twisty3DPuzzle.ts +0 -6
  1032. package/src/cubing/twisty/views/ClassListManager.ts +0 -34
  1033. package/src/cubing/twisty/views/ManagedCustomElement.ts +0 -76
  1034. package/src/cubing/twisty/views/TwistyAlgEditor/LeafTokens.ts +0 -116
  1035. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.css.ts +0 -72
  1036. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.spec.ts +0 -57
  1037. package/src/cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor.ts +0 -368
  1038. package/src/cubing/twisty/views/TwistyAlgEditor/model.ts +0 -179
  1039. package/src/cubing/twisty/views/TwistyAlgViewer.css.ts +0 -25
  1040. package/src/cubing/twisty/views/TwistyAlgViewer.ts +0 -502
  1041. package/src/cubing/twisty/views/TwistyPlayer.css.ts +0 -73
  1042. package/src/cubing/twisty/views/TwistyPlayer.ts +0 -362
  1043. package/src/cubing/twisty/views/TwistyPlayerSettable.ts +0 -115
  1044. package/src/cubing/twisty/views/TwistyViewerWrapper.css.ts +0 -41
  1045. package/src/cubing/twisty/views/canvas.ts +0 -9
  1046. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.css.ts +0 -127
  1047. package/src/cubing/twisty/views/control-panel/TwistyButtonsV2.ts +0 -156
  1048. package/src/cubing/twisty/views/control-panel/TwistyScrubber.css.ts +0 -48
  1049. package/src/cubing/twisty/views/control-panel/TwistyScrubberV2.ts +0 -145
  1050. package/src/cubing/twisty/views/control-panel/webkit-fullscreen.ts +0 -44
  1051. package/src/cubing/twisty/views/document.ts +0 -4
  1052. package/src/cubing/twisty/views/node-custom-element-shims.ts +0 -30
  1053. package/src/cubing/twisty/views/screenshot.ts +0 -90
  1054. package/src/cubing/twisty/views/stream/TwistyStreamSource.css.ts +0 -17
  1055. package/src/cubing/twisty/views/stream/TwistyStreamSource.ts +0 -155
  1056. package/src/cubing/vendor/p-lazy/license +0 -9
  1057. package/src/cubing/vendor/p-lazy/p-lazy.ts +0 -52
  1058. package/src/cubing/vendor/p-lazy/readme.md +0 -54
  1059. package/src/cubing/vendor/three/examples/jsm/libs/stats.modified.module.ts +0 -179
  1060. package/stream/index.d.ts +0 -1
  1061. package/twisty/index.d.ts +0 -1
@@ -1,41 +1,39 @@
1
- var $intern_3 = { 3: 1 },
2
- $intern_9 = 4194303,
3
- $intern_10 = 1048575,
4
- $intern_11 = 524288,
5
- $intern_20 = 65535,
6
- $intern_26 = { 11: 1, 3: 1 },
7
- $intern_27 = { 17: 1, 3: 1 },
8
- $intern_28 = 14540032,
9
- $intern_29 = 286331153,
10
- $intern_30 = { 10: 1, 3: 1 };
1
+ import "./chunk-WO2AXYFE.js";
2
+
3
+ // src/cubing/vendor/min2phase/gwt.js
4
+ var $intern_3 = { 3: 1 };
5
+ var $intern_9 = 4194303;
6
+ var $intern_10 = 1048575;
7
+ var $intern_11 = 524288;
8
+ var $intern_20 = 65535;
9
+ var $intern_26 = { 11: 1, 3: 1 };
10
+ var $intern_27 = { 17: 1, 3: 1 };
11
+ var $intern_28 = 14540032;
12
+ var $intern_29 = 286331153;
13
+ var $intern_30 = { 10: 1, 3: 1 };
11
14
  var _;
12
15
  var prototypesByTypeId_0 = {};
13
- function typeMarkerFn() {}
14
-
16
+ function typeMarkerFn() {
17
+ }
15
18
  function portableObjCreate(obj) {
16
- function F() {}
17
-
19
+ function F() {
20
+ }
18
21
  F.prototype = obj || {};
19
22
  return new F();
20
23
  }
21
-
22
24
  function maybeGetClassLiteralFromPlaceHolder_0(entry) {
23
25
  return entry instanceof Array ? entry[0] : null;
24
26
  }
25
-
26
27
  function defineClass(typeId, superTypeId, castableTypeMap) {
27
28
  var prototypesByTypeId = prototypesByTypeId_0;
28
29
  var createSubclassPrototype = createSubclassPrototype_0;
29
- var maybeGetClassLiteralFromPlaceHolder =
30
- maybeGetClassLiteralFromPlaceHolder_0;
30
+ var maybeGetClassLiteralFromPlaceHolder = maybeGetClassLiteralFromPlaceHolder_0;
31
31
  var prototype_0 = prototypesByTypeId[typeId];
32
32
  var clazz = maybeGetClassLiteralFromPlaceHolder(prototype_0);
33
33
  if (prototype_0 && !clazz) {
34
34
  _ = prototype_0;
35
35
  } else {
36
- _ = prototypesByTypeId[typeId] = !superTypeId
37
- ? {}
38
- : createSubclassPrototype(superTypeId);
36
+ _ = prototypesByTypeId[typeId] = !superTypeId ? {} : createSubclassPrototype(superTypeId);
39
37
  _.castableTypeMap$ = castableTypeMap;
40
38
  _.constructor = _;
41
39
  !superTypeId && (_.typeMarker$ = typeMarkerFn);
@@ -45,20 +43,16 @@ function defineClass(typeId, superTypeId, castableTypeMap) {
45
43
  }
46
44
  clazz && (_.___clazz$ = clazz);
47
45
  }
48
-
49
46
  function createSubclassPrototype_0(superTypeId) {
50
47
  var prototypesByTypeId = prototypesByTypeId_0;
51
48
  return portableObjCreate(prototypesByTypeId[superTypeId]);
52
49
  }
53
-
54
- function Object_0() {}
55
-
50
+ function Object_0() {
51
+ }
56
52
  defineClass(1, null, {}, Object_0);
57
-
58
53
  function narrow_byte(x_0) {
59
- return (x_0 << 24) >> 24;
54
+ return x_0 << 24 >> 24;
60
55
  }
61
-
62
56
  function Class() {
63
57
  this.typeName = null;
64
58
  this.simpleName = null;
@@ -68,7 +62,6 @@ function Class() {
68
62
  this.typeId = null;
69
63
  this.arrayLiterals = null;
70
64
  }
71
-
72
65
  function createClassObject(packageName, compoundClassName) {
73
66
  var clazz;
74
67
  clazz = new Class();
@@ -76,21 +69,18 @@ function createClassObject(packageName, compoundClassName) {
76
69
  clazz.compoundName = compoundClassName;
77
70
  return clazz;
78
71
  }
79
-
80
72
  function createForClass(packageName, compoundClassName, typeId) {
81
73
  var clazz;
82
74
  clazz = createClassObject(packageName, compoundClassName);
83
75
  maybeSetClassLiteral(typeId, clazz);
84
76
  return clazz;
85
77
  }
86
-
87
78
  function createForInterface(packageName, compoundClassName) {
88
79
  var clazz;
89
80
  clazz = createClassObject(packageName, compoundClassName);
90
81
  clazz.modifiers = 2;
91
82
  return clazz;
92
83
  }
93
-
94
84
  function createForPrimitive(className, primitiveTypeId) {
95
85
  var clazz;
96
86
  clazz = createClassObject("", className);
@@ -98,16 +88,10 @@ function createForPrimitive(className, primitiveTypeId) {
98
88
  clazz.modifiers = 1;
99
89
  return clazz;
100
90
  }
101
-
102
91
  function getClassLiteralForArray_0(leafClass, dimensions) {
103
- var arrayLiterals = (leafClass.arrayLiterals = leafClass.arrayLiterals || []);
104
- return (
105
- arrayLiterals[dimensions] ||
106
- (arrayLiterals[dimensions] =
107
- leafClass.createClassLiteralForArray(dimensions))
108
- );
92
+ var arrayLiterals = leafClass.arrayLiterals = leafClass.arrayLiterals || [];
93
+ return arrayLiterals[dimensions] || (arrayLiterals[dimensions] = leafClass.createClassLiteralForArray(dimensions));
109
94
  }
110
-
111
95
  function getPrototypeForClass(clazz) {
112
96
  if (clazz.isPrimitive()) {
113
97
  return null;
@@ -116,7 +100,6 @@ function getPrototypeForClass(clazz) {
116
100
  var prototype_0 = prototypesByTypeId_0[typeId];
117
101
  return prototype_0;
118
102
  }
119
-
120
103
  function maybeSetClassLiteral(typeId, clazz) {
121
104
  if (!typeId) {
122
105
  return;
@@ -129,109 +112,45 @@ function maybeSetClassLiteral(typeId, clazz) {
129
112
  }
130
113
  prototype_0.___clazz$ = clazz;
131
114
  }
132
-
133
115
  defineClass(79, 1, {}, Class);
134
116
  _.createClassLiteralForArray = function createClassLiteralForArray(dimensions) {
135
117
  var clazz;
136
118
  clazz = new Class();
137
119
  clazz.modifiers = 4;
138
- dimensions > 1
139
- ? (clazz.componentType = getClassLiteralForArray_0(this, dimensions - 1))
140
- : (clazz.componentType = this);
120
+ dimensions > 1 ? clazz.componentType = getClassLiteralForArray_0(this, dimensions - 1) : clazz.componentType = this;
141
121
  return clazz;
142
122
  };
143
123
  _.isPrimitive = function isPrimitive() {
144
124
  return (this.modifiers & 1) != 0;
145
125
  };
146
-
147
126
  function getClassLiteralForArray(clazz, dimensions) {
148
127
  return getClassLiteralForArray_0(clazz, dimensions);
149
128
  }
150
-
151
- function initDim(
152
- leafClassLiteral,
153
- castableTypeMap,
154
- elementTypeId,
155
- length_0,
156
- elementTypeCategory,
157
- dimensions,
158
- ) {
129
+ function initDim(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions) {
159
130
  var result;
160
131
  result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
161
- initValues(
162
- getClassLiteralForArray(leafClassLiteral, dimensions),
163
- castableTypeMap,
164
- elementTypeId,
165
- elementTypeCategory,
166
- result,
167
- );
132
+ initValues(getClassLiteralForArray(leafClassLiteral, dimensions), castableTypeMap, elementTypeId, elementTypeCategory, result);
168
133
  return result;
169
134
  }
170
-
171
- function initDims(
172
- leafClassLiteral,
173
- castableTypeMapExprs,
174
- elementTypeIds,
175
- leafElementTypeCategory,
176
- dimExprs,
177
- count,
178
- ) {
179
- return initDims_0(
180
- leafClassLiteral,
181
- castableTypeMapExprs,
182
- elementTypeIds,
183
- leafElementTypeCategory,
184
- dimExprs,
185
- 0,
186
- count,
187
- );
135
+ function initDims(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, count) {
136
+ return initDims_0(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, 0, count);
188
137
  }
189
-
190
- function initDims_0(
191
- leafClassLiteral,
192
- castableTypeMapExprs,
193
- elementTypeIds,
194
- leafElementTypeCategory,
195
- dimExprs,
196
- index_0,
197
- count,
198
- ) {
138
+ function initDims_0(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, index_0, count) {
199
139
  var elementTypeCategory, i, isLastDim, length_0, result;
200
140
  length_0 = dimExprs[index_0];
201
141
  isLastDim = index_0 == count - 1;
202
142
  elementTypeCategory = isLastDim ? leafElementTypeCategory : 0;
203
143
  result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
204
- initValues(
205
- getClassLiteralForArray(leafClassLiteral, count - index_0),
206
- castableTypeMapExprs[index_0],
207
- elementTypeIds[index_0],
208
- elementTypeCategory,
209
- result,
210
- );
144
+ initValues(getClassLiteralForArray(leafClassLiteral, count - index_0), castableTypeMapExprs[index_0], elementTypeIds[index_0], elementTypeCategory, result);
211
145
  if (!isLastDim) {
212
146
  ++index_0;
213
147
  for (i = 0; i < length_0; ++i) {
214
- result[i] = initDims_0(
215
- leafClassLiteral,
216
- castableTypeMapExprs,
217
- elementTypeIds,
218
- leafElementTypeCategory,
219
- dimExprs,
220
- index_0,
221
- count,
222
- );
148
+ result[i] = initDims_0(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, index_0, count);
223
149
  }
224
150
  }
225
151
  return result;
226
152
  }
227
-
228
- function initValues(
229
- arrayClass,
230
- castableTypeMap,
231
- elementTypeId,
232
- elementTypeCategory,
233
- array,
234
- ) {
153
+ function initValues(arrayClass, castableTypeMap, elementTypeId, elementTypeCategory, array) {
235
154
  array.___clazz$ = arrayClass;
236
155
  array.castableTypeMap$ = castableTypeMap;
237
156
  array.typeMarker$ = typeMarkerFn;
@@ -239,7 +158,6 @@ function initValues(
239
158
  array.__elementTypeCategory$ = elementTypeCategory;
240
159
  return array;
241
160
  }
242
-
243
161
  function initializeArrayElementsWithDefaults(elementTypeCategory, length_0) {
244
162
  var array = new Array(length_0);
245
163
  var initValue;
@@ -261,19 +179,16 @@ function initializeArrayElementsWithDefaults(elementTypeCategory, length_0) {
261
179
  }
262
180
  return array;
263
181
  }
264
-
265
182
  function create(value_0) {
266
183
  var a0, a1, a2;
267
184
  a0 = value_0 & $intern_9;
268
- a1 = (value_0 >> 22) & $intern_9;
185
+ a1 = value_0 >> 22 & $intern_9;
269
186
  a2 = value_0 < 0 ? $intern_10 : 0;
270
187
  return create0(a0, a1, a2);
271
188
  }
272
-
273
189
  function create0(l, m, h) {
274
- return { l: l, m: m, h: h };
190
+ return { l, m, h };
275
191
  }
276
-
277
192
  function add_1(a, b) {
278
193
  var sum0, sum1, sum2;
279
194
  sum0 = a.l + b.l;
@@ -281,75 +196,50 @@ function add_1(a, b) {
281
196
  sum2 = a.h + b.h + (sum1 >> 22);
282
197
  return { l: sum0 & $intern_9, m: sum1 & $intern_9, h: sum2 & $intern_10 };
283
198
  }
284
-
285
199
  function and(a, b) {
286
200
  return { l: a.l & b.l, m: a.m & b.m, h: a.h & b.h };
287
201
  }
288
-
289
202
  function fromInt(value_0) {
290
203
  var rebase, result;
291
204
  if (value_0 > -129 && value_0 < 128) {
292
205
  rebase = value_0 + 128;
293
- boxedValues == null &&
294
- (boxedValues = initDim(
295
- Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit,
296
- $intern_3,
297
- 293,
298
- 256,
299
- 0,
300
- 1,
301
- ));
206
+ boxedValues == null && (boxedValues = initDim(Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit, $intern_3, 293, 256, 0, 1));
302
207
  result = boxedValues[rebase];
303
208
  !result && (result = boxedValues[rebase] = create(value_0));
304
209
  return result;
305
210
  }
306
211
  return create(value_0);
307
212
  }
308
-
309
213
  function gte(a, b) {
310
214
  var signa, signb;
311
215
  signa = a.h >> 19;
312
216
  signb = b.h >> 19;
313
- return signa == 0
314
- ? signb != 0 ||
315
- a.h > b.h ||
316
- (a.h == b.h && a.m > b.m) ||
317
- (a.h == b.h && a.m == b.m && a.l >= b.l)
318
- : !(
319
- signb == 0 ||
320
- a.h < b.h ||
321
- (a.h == b.h && a.m < b.m) ||
322
- (a.h == b.h && a.m == b.m && a.l < b.l)
323
- );
217
+ return signa == 0 ? signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l >= b.l : !(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l < b.l);
324
218
  }
325
-
326
219
  function neq(a, b) {
327
220
  return a.l != b.l || a.m != b.m || a.h != b.h;
328
221
  }
329
-
330
222
  function or(a, b) {
331
223
  return { l: a.l | b.l, m: a.m | b.m, h: a.h | b.h };
332
224
  }
333
-
334
225
  function shl(a, n) {
335
226
  var res0, res1, res2;
336
227
  n &= 63;
337
228
  if (n < 22) {
338
229
  res0 = a.l << n;
339
- res1 = (a.m << n) | (a.l >> (22 - n));
340
- res2 = (a.h << n) | (a.m >> (22 - n));
230
+ res1 = a.m << n | a.l >> 22 - n;
231
+ res2 = a.h << n | a.m >> 22 - n;
341
232
  } else if (n < 44) {
342
233
  res0 = 0;
343
- res1 = a.l << (n - 22);
344
- res2 = (a.m << (n - 22)) | (a.l >> (44 - n));
234
+ res1 = a.l << n - 22;
235
+ res2 = a.m << n - 22 | a.l >> 44 - n;
345
236
  } else {
346
237
  res0 = 0;
347
238
  res1 = 0;
348
- res2 = a.l << (n - 44);
239
+ res2 = a.l << n - 44;
349
240
  }
350
241
  return { l: res0 & $intern_9, m: res1 & $intern_9, h: res2 & $intern_10 };
351
242
  }
352
-
353
243
  function shr(a, n) {
354
244
  var a2, negative, res0, res1, res2;
355
245
  n &= 63;
@@ -358,20 +248,19 @@ function shr(a, n) {
358
248
  negative && (a2 |= -1048576);
359
249
  if (n < 22) {
360
250
  res2 = a2 >> n;
361
- res1 = (a.m >> n) | (a2 << (22 - n));
362
- res0 = (a.l >> n) | (a.m << (22 - n));
251
+ res1 = a.m >> n | a2 << 22 - n;
252
+ res0 = a.l >> n | a.m << 22 - n;
363
253
  } else if (n < 44) {
364
254
  res2 = negative ? $intern_10 : 0;
365
- res1 = a2 >> (n - 22);
366
- res0 = (a.m >> (n - 22)) | (a2 << (44 - n));
255
+ res1 = a2 >> n - 22;
256
+ res0 = a.m >> n - 22 | a2 << 44 - n;
367
257
  } else {
368
258
  res2 = negative ? $intern_10 : 0;
369
259
  res1 = negative ? $intern_9 : 0;
370
- res0 = a2 >> (n - 44);
260
+ res0 = a2 >> n - 44;
371
261
  }
372
262
  return { l: res0 & $intern_9, m: res1 & $intern_9, h: res2 & $intern_10 };
373
263
  }
374
-
375
264
  function sub_0(a, b) {
376
265
  var sum0, sum1, sum2;
377
266
  sum0 = a.l - b.l;
@@ -379,63 +268,49 @@ function sub_0(a, b) {
379
268
  sum2 = a.h - b.h + (sum1 >> 22);
380
269
  return { l: sum0 & $intern_9, m: sum1 & $intern_9, h: sum2 & $intern_10 };
381
270
  }
382
-
383
271
  function toInt(a) {
384
- return a.l | (a.m << 22);
272
+ return a.l | a.m << 22;
385
273
  }
386
-
387
274
  var boxedValues;
388
-
389
275
  function AbstractStringBuilder(string) {
390
276
  this.string = string;
391
277
  }
392
-
393
278
  function max_0(x_0, y_0) {
394
279
  return x_0 > y_0 ? x_0 : y_0;
395
280
  }
396
-
397
281
  function min_0(x_0, y_0) {
398
282
  return x_0 < y_0 ? x_0 : y_0;
399
283
  }
400
-
401
284
  function $indexOf_0(this$static, str) {
402
285
  return this$static.indexOf(str);
403
286
  }
404
-
405
287
  function _String(value_0) {
406
288
  return __valueOf(value_0, 0, value_0.length);
407
289
  }
408
-
409
290
  function __valueOf(x_0, start_0, end) {
410
291
  var s = "";
411
292
  for (var batchStart = start_0; batchStart < end; ) {
412
- var batchEnd = Math.min(batchStart + 10000, end);
293
+ var batchEnd = Math.min(batchStart + 1e4, end);
413
294
  s += String.fromCharCode.apply(null, x_0.slice(batchStart, batchEnd));
414
295
  batchStart = batchEnd;
415
296
  }
416
297
  return s;
417
298
  }
418
-
419
299
  function fromCodePoint(codePoint) {
420
300
  return String.fromCharCode(codePoint & $intern_20);
421
301
  }
422
-
423
302
  var Ljava_lang_String_2_classLit = createForClass("java.lang", "String", 2);
424
-
425
303
  function $append(this$static) {
426
304
  this$static.string += " ";
427
305
  return this$static;
428
306
  }
429
-
430
307
  function $append_1(this$static, x_0) {
431
308
  this$static.string += x_0;
432
309
  return this$static;
433
310
  }
434
-
435
311
  function StringBuffer() {
436
312
  AbstractStringBuilder.call(this, "");
437
313
  }
438
-
439
314
  function equals_7(array1, array2) {
440
315
  var i;
441
316
  if (array1 === array2) {
@@ -451,171 +326,58 @@ function equals_7(array1, array2) {
451
326
  }
452
327
  return true;
453
328
  }
454
-
455
- let $clinit_CoordCube_ran = false;
329
+ var $clinit_CoordCube_ran = false;
456
330
  function $clinit_CoordCube() {
457
331
  if ($clinit_CoordCube_ran) {
458
332
  return;
459
333
  }
460
334
  $clinit_CoordCube_ran = true;
461
- UDSliceMove = initDims(
462
- C_classLit,
463
- [$intern_3, $intern_26],
464
- [11, 0],
465
- 7,
466
- [495, 18],
467
- 2,
468
- );
469
- TwistMove = initDims(
470
- C_classLit,
471
- [$intern_3, $intern_26],
472
- [11, 0],
473
- 7,
474
- [324, 18],
475
- 2,
476
- );
477
- FlipMove = initDims(
478
- C_classLit,
479
- [$intern_3, $intern_26],
480
- [11, 0],
481
- 7,
482
- [336, 18],
483
- 2,
484
- );
485
- UDSliceConj = initDims(
486
- C_classLit,
487
- [$intern_3, $intern_26],
488
- [11, 0],
489
- 7,
490
- [495, 8],
491
- 2,
492
- );
335
+ UDSliceMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [495, 18], 2);
336
+ TwistMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [324, 18], 2);
337
+ FlipMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [336, 18], 2);
338
+ UDSliceConj = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [495, 8], 2);
493
339
  UDSliceTwistPrun = initDim(I_classLit, $intern_27, 0, 20048, 7, 1);
494
340
  UDSliceFlipPrun = initDim(I_classLit, $intern_27, 0, 20791, 7, 1);
495
341
  TwistFlipPrun = initDim(I_classLit, $intern_27, 0, 82945, 7, 1);
496
- CPermMove = initDims(
497
- C_classLit,
498
- [$intern_3, $intern_26],
499
- [11, 0],
500
- 7,
501
- [2768, 10],
502
- 2,
503
- );
504
- EPermMove = initDims(
505
- C_classLit,
506
- [$intern_3, $intern_26],
507
- [11, 0],
508
- 7,
509
- [2768, 10],
510
- 2,
511
- );
512
- MPermMove = initDims(
513
- C_classLit,
514
- [$intern_3, $intern_26],
515
- [11, 0],
516
- 7,
517
- [24, 10],
518
- 2,
519
- );
520
- MPermConj = initDims(
521
- C_classLit,
522
- [$intern_3, $intern_26],
523
- [11, 0],
524
- 7,
525
- [24, 16],
526
- 2,
527
- );
528
- CCombPConj = initDims(
529
- C_classLit,
530
- [$intern_3, $intern_26],
531
- [11, 0],
532
- 7,
533
- [140, 16],
534
- 2,
535
- );
342
+ CPermMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [2768, 10], 2);
343
+ EPermMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [2768, 10], 2);
344
+ MPermMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [24, 10], 2);
345
+ MPermConj = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [24, 16], 2);
346
+ CCombPConj = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [140, 16], 2);
536
347
  MCPermPrun = initDim(I_classLit, $intern_27, 0, 8305, 7, 1);
537
348
  EPermCCombPPrun = initDim(I_classLit, $intern_27, 0, 48441, 7, 1);
538
349
  }
539
-
540
350
  function $doMovePrun(this$static, cc, m) {
541
351
  this$static.slice_0 = UDSliceMove[cc.slice_0][m];
542
- this$static.flip =
543
- FlipMove[cc.flip][($clinit_CubieCube(), Sym8Move)[(m << 3) | cc.fsym]];
544
- this$static.fsym = (this$static.flip & 7) ^ cc.fsym;
352
+ this$static.flip = FlipMove[cc.flip][($clinit_CubieCube(), Sym8Move)[m << 3 | cc.fsym]];
353
+ this$static.fsym = this$static.flip & 7 ^ cc.fsym;
545
354
  this$static.flip >>= 3;
546
- this$static.twist = TwistMove[cc.twist][Sym8Move[(m << 3) | cc.tsym]];
547
- this$static.tsym = (this$static.twist & 7) ^ cc.tsym;
355
+ this$static.twist = TwistMove[cc.twist][Sym8Move[m << 3 | cc.tsym]];
356
+ this$static.tsym = this$static.twist & 7 ^ cc.tsym;
548
357
  this$static.twist >>= 3;
549
- this$static.prun = max_0(
550
- max_0(
551
- getPruning(
552
- UDSliceTwistPrun,
553
- this$static.twist * 495 +
554
- UDSliceConj[this$static.slice_0][this$static.tsym],
555
- ),
556
- getPruning(
557
- UDSliceFlipPrun,
558
- this$static.flip * 495 +
559
- UDSliceConj[this$static.slice_0][this$static.fsym],
560
- ),
561
- ),
562
- getPruning(
563
- TwistFlipPrun,
564
- (this$static.twist << 11) |
565
- FlipS2RF[
566
- (this$static.flip << 3) | (this$static.fsym ^ this$static.tsym)
567
- ],
568
- ),
569
- );
358
+ this$static.prun = max_0(max_0(getPruning(UDSliceTwistPrun, this$static.twist * 495 + UDSliceConj[this$static.slice_0][this$static.tsym]), getPruning(UDSliceFlipPrun, this$static.flip * 495 + UDSliceConj[this$static.slice_0][this$static.fsym])), getPruning(TwistFlipPrun, this$static.twist << 11 | FlipS2RF[this$static.flip << 3 | this$static.fsym ^ this$static.tsym]));
570
359
  return this$static.prun;
571
360
  }
572
-
573
361
  function $doMovePrunConj(this$static, cc, m) {
574
362
  m = ($clinit_CubieCube(), SymMove_0)[3][m];
575
- this$static.flipc =
576
- FlipMove[cc.flipc >> 3][Sym8Move[(m << 3) | (cc.flipc & 7)]] ^
577
- (cc.flipc & 7);
578
- this$static.twistc =
579
- TwistMove[cc.twistc >> 3][Sym8Move[(m << 3) | (cc.twistc & 7)]] ^
580
- (cc.twistc & 7);
581
- return getPruning(
582
- TwistFlipPrun,
583
- ((this$static.twistc >> 3) << 11) |
584
- FlipS2RF[this$static.flipc ^ (this$static.twistc & 7)],
585
- );
363
+ this$static.flipc = FlipMove[cc.flipc >> 3][Sym8Move[m << 3 | cc.flipc & 7]] ^ cc.flipc & 7;
364
+ this$static.twistc = TwistMove[cc.twistc >> 3][Sym8Move[m << 3 | cc.twistc & 7]] ^ cc.twistc & 7;
365
+ return getPruning(TwistFlipPrun, this$static.twistc >> 3 << 11 | FlipS2RF[this$static.flipc ^ this$static.twistc & 7]);
586
366
  }
587
-
588
367
  function $setWithPrun(this$static, cc, depth) {
589
368
  var pc;
590
369
  this$static.twist = ($clinit_CubieCube(), TwistR2S)[$getTwist(cc)];
591
370
  this$static.flip = FlipR2S[$getFlip(cc)];
592
371
  this$static.tsym = this$static.twist & 7;
593
372
  this$static.twist = this$static.twist >> 3;
594
- this$static.prun = getPruning(
595
- TwistFlipPrun,
596
- (this$static.twist << 11) | FlipS2RF[this$static.flip ^ this$static.tsym],
597
- );
373
+ this$static.prun = getPruning(TwistFlipPrun, this$static.twist << 11 | FlipS2RF[this$static.flip ^ this$static.tsym]);
598
374
  if (this$static.prun > depth) {
599
375
  return false;
600
376
  }
601
377
  this$static.fsym = this$static.flip & 7;
602
378
  this$static.flip = this$static.flip >> 3;
603
379
  this$static.slice_0 = 494 - getComb(cc.ea, 8, true);
604
- this$static.prun = max_0(
605
- this$static.prun,
606
- max_0(
607
- getPruning(
608
- UDSliceTwistPrun,
609
- this$static.twist * 495 +
610
- UDSliceConj[this$static.slice_0][this$static.tsym],
611
- ),
612
- getPruning(
613
- UDSliceFlipPrun,
614
- this$static.flip * 495 +
615
- UDSliceConj[this$static.slice_0][this$static.fsym],
616
- ),
617
- ),
618
- );
380
+ this$static.prun = max_0(this$static.prun, max_0(getPruning(UDSliceTwistPrun, this$static.twist * 495 + UDSliceConj[this$static.slice_0][this$static.tsym]), getPruning(UDSliceFlipPrun, this$static.flip * 495 + UDSliceConj[this$static.slice_0][this$static.fsym])));
619
381
  if (this$static.prun > depth) {
620
382
  return false;
621
383
  }
@@ -624,29 +386,19 @@ function $setWithPrun(this$static, cc, depth) {
624
386
  EdgeConjugate(cc, 1, pc);
625
387
  this$static.twistc = TwistR2S[$getTwist(pc)];
626
388
  this$static.flipc = FlipR2S[$getFlip(pc)];
627
- this$static.prun = max_0(
628
- this$static.prun,
629
- getPruning(
630
- TwistFlipPrun,
631
- ((this$static.twistc >> 3) << 11) |
632
- FlipS2RF[this$static.flipc ^ (this$static.twistc & 7)],
633
- ),
634
- );
389
+ this$static.prun = max_0(this$static.prun, getPruning(TwistFlipPrun, this$static.twistc >> 3 << 11 | FlipS2RF[this$static.flipc ^ this$static.twistc & 7]));
635
390
  return this$static.prun <= depth;
636
391
  }
637
-
638
392
  function CoordCube() {
639
393
  $clinit_CoordCube();
640
394
  }
641
-
642
395
  function getPruning(table, index_0) {
643
396
  $clinit_CoordCube();
644
- return (table[index_0 >> 3] >> (index_0 << 2)) & 15;
397
+ return table[index_0 >> 3] >> (index_0 << 2) & 15;
645
398
  }
646
-
647
399
  function init_0(fullInit) {
648
400
  $clinit_CoordCube();
649
- if (initLevel == 2 || (initLevel == 1 && !fullInit)) {
401
+ if (initLevel == 2 || initLevel == 1 && !fullInit) {
650
402
  return;
651
403
  }
652
404
  if (initLevel == 0) {
@@ -656,72 +408,19 @@ function init_0(fullInit) {
656
408
  initMPermMoveConj();
657
409
  initCombPMoveConj();
658
410
  $clinit_CubieCube();
659
- initSym2Raw(
660
- 2048,
661
- FlipS2R,
662
- FlipR2S,
663
- (SymStateFlip = initDim(C_classLit, $intern_26, 0, 336, 7, 1)),
664
- 0,
665
- );
666
- initSym2Raw(
667
- 2187,
668
- TwistS2R,
669
- TwistR2S,
670
- (SymStateTwist = initDim(C_classLit, $intern_26, 0, 324, 7, 1)),
671
- 1,
672
- );
411
+ initSym2Raw(2048, FlipS2R, FlipR2S, SymStateFlip = initDim(C_classLit, $intern_26, 0, 336, 7, 1), 0);
412
+ initSym2Raw(2187, TwistS2R, TwistR2S, SymStateTwist = initDim(C_classLit, $intern_26, 0, 324, 7, 1), 1);
673
413
  initFlipMove();
674
414
  initTwistMove();
675
415
  initUDSliceMoveConj();
676
416
  }
677
- initRawSymPrun(
678
- MCPermPrun,
679
- MPermMove,
680
- MPermConj,
681
- CPermMove,
682
- ($clinit_CubieCube(), SymStatePerm),
683
- 584244,
684
- fullInit,
685
- );
686
- initRawSymPrun(
687
- EPermCCombPPrun,
688
- CCombPMove,
689
- CCombPConj,
690
- EPermMove,
691
- SymStatePerm,
692
- 514084,
693
- fullInit,
694
- );
695
- initRawSymPrun(
696
- UDSliceTwistPrun,
697
- UDSliceMove,
698
- UDSliceConj,
699
- TwistMove,
700
- SymStateTwist,
701
- 431619,
702
- fullInit,
703
- );
704
- initRawSymPrun(
705
- UDSliceFlipPrun,
706
- UDSliceMove,
707
- UDSliceConj,
708
- FlipMove,
709
- SymStateFlip,
710
- 431619,
711
- fullInit,
712
- );
713
- initRawSymPrun(
714
- TwistFlipPrun,
715
- null,
716
- null,
717
- TwistMove,
718
- SymStateTwist,
719
- 103939,
720
- fullInit,
721
- );
417
+ initRawSymPrun(MCPermPrun, MPermMove, MPermConj, CPermMove, ($clinit_CubieCube(), SymStatePerm), 584244, fullInit);
418
+ initRawSymPrun(EPermCCombPPrun, CCombPMove, CCombPConj, EPermMove, SymStatePerm, 514084, fullInit);
419
+ initRawSymPrun(UDSliceTwistPrun, UDSliceMove, UDSliceConj, TwistMove, SymStateTwist, 431619, fullInit);
420
+ initRawSymPrun(UDSliceFlipPrun, UDSliceMove, UDSliceConj, FlipMove, SymStateFlip, 431619, fullInit);
421
+ initRawSymPrun(TwistFlipPrun, null, null, TwistMove, SymStateTwist, 103939, fullInit);
722
422
  initLevel = fullInit ? 2 : 1;
723
423
  }
724
-
725
424
  function initCPermMove() {
726
425
  var c, d, i, j;
727
426
  c = new CubieCube();
@@ -730,44 +429,27 @@ function initCPermMove() {
730
429
  $setCPerm(c, ($clinit_CubieCube(), EPermS2R)[i]);
731
430
  for (j = 0; j < 10; j++) {
732
431
  CornMult(c, moveCube[($clinit_Util(), ud2std)[j]], d);
733
- CPermMove[i][j] =
734
- ESym2CSym(EPermR2S[getNPerm(d.ca, 8, false)]) & $intern_20;
432
+ CPermMove[i][j] = ESym2CSym(EPermR2S[getNPerm(d.ca, 8, false)]) & $intern_20;
735
433
  }
736
434
  }
737
435
  }
738
-
739
436
  function initCombPMoveConj() {
740
437
  var c, d, i, j, j0;
741
438
  c = new CubieCube();
742
439
  d = new CubieCube();
743
- CCombPMove = initDims(
744
- C_classLit,
745
- [$intern_3, $intern_26],
746
- [11, 0],
747
- 7,
748
- [140, 10],
749
- 2,
750
- );
440
+ CCombPMove = initDims(C_classLit, [$intern_3, $intern_26], [11, 0], 7, [140, 10], 2);
751
441
  for (i = 0; i < 140; i++) {
752
442
  setComb(c.ca, i % 70, 0, false);
753
443
  for (j0 = 0; j0 < 10; j0++) {
754
- CornMult(
755
- c,
756
- ($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]],
757
- d,
758
- );
759
- CCombPMove[i][j0] =
760
- (getComb(d.ca, 0, false) + 70 * (((165 >> j0) & 1) ^ ~~(i / 70))) &
761
- $intern_20;
444
+ CornMult(c, ($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]], d);
445
+ CCombPMove[i][j0] = getComb(d.ca, 0, false) + 70 * (165 >> j0 & 1 ^ ~~(i / 70)) & $intern_20;
762
446
  }
763
447
  for (j = 0; j < 16; j++) {
764
448
  CornConjugate(c, ($clinit_CubieCube(), SymMultInv)[0][j], d);
765
- CCombPConj[i][j] =
766
- (getComb(d.ca, 0, false) + 70 * ~~(i / 70)) & $intern_20;
449
+ CCombPConj[i][j] = getComb(d.ca, 0, false) + 70 * ~~(i / 70) & $intern_20;
767
450
  }
768
451
  }
769
452
  }
770
-
771
453
  function initEPermMove() {
772
454
  var c, d, i, j;
773
455
  c = new CubieCube();
@@ -780,7 +462,6 @@ function initEPermMove() {
780
462
  }
781
463
  }
782
464
  }
783
-
784
465
  function initFlipMove() {
785
466
  var c, d, i, j;
786
467
  c = new CubieCube();
@@ -793,7 +474,6 @@ function initFlipMove() {
793
474
  }
794
475
  }
795
476
  }
796
-
797
477
  function initMPermMoveConj() {
798
478
  var c, d, i, j, j0;
799
479
  c = new CubieCube();
@@ -801,11 +481,7 @@ function initMPermMoveConj() {
801
481
  for (i = 0; i < 24; i++) {
802
482
  setNPerm(c.ea, i, 12, true);
803
483
  for (j0 = 0; j0 < 10; j0++) {
804
- EdgeMult(
805
- c,
806
- ($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]],
807
- d,
808
- );
484
+ EdgeMult(c, ($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]], d);
809
485
  MPermMove[i][j0] = getNPerm(d.ea, 12, true) % 24 & $intern_20;
810
486
  }
811
487
  for (j = 0; j < 16; j++) {
@@ -814,58 +490,14 @@ function initMPermMoveConj() {
814
490
  }
815
491
  }
816
492
  }
817
-
818
- function initRawSymPrun(
819
- PrunTable,
820
- RawMove,
821
- RawConj,
822
- SymMove,
823
- SymState,
824
- PrunFlag,
825
- fullInit,
826
- ) {
827
- var INV_DEPTH,
828
- ISTFP,
829
- IS_PHASE2,
830
- MAX_DEPTH,
831
- MIN_DEPTH,
832
- NEXT_AXIS_MAGIC,
833
- N_MOVES,
834
- N_RAW,
835
- N_SIZE,
836
- SEARCH_DEPTH,
837
- SYM_E2C_MAGIC,
838
- SYM_MASK,
839
- SYM_SHIFT,
840
- check,
841
- depth,
842
- flip,
843
- fsym,
844
- i,
845
- i0,
846
- idx,
847
- idxx,
848
- inv,
849
- j,
850
- m,
851
- mask,
852
- prun,
853
- raw,
854
- rawx,
855
- selArrMask,
856
- select,
857
- sym,
858
- symState,
859
- symx,
860
- val,
861
- val0,
862
- xorVal;
493
+ function initRawSymPrun(PrunTable, RawMove, RawConj, SymMove, SymState, PrunFlag, fullInit) {
494
+ var INV_DEPTH, ISTFP, IS_PHASE2, MAX_DEPTH, MIN_DEPTH, NEXT_AXIS_MAGIC, N_MOVES, N_RAW, N_SIZE, SEARCH_DEPTH, SYM_E2C_MAGIC, SYM_MASK, SYM_SHIFT, check, depth, flip, fsym, i, i0, idx, idxx, inv, j, m, mask, prun, raw, rawx, selArrMask, select, sym, symState, symx, val, val0, xorVal;
863
495
  SYM_SHIFT = PrunFlag & 15;
864
- SYM_E2C_MAGIC = ((PrunFlag >> 4) & 1) == 1 ? $intern_28 : 0;
865
- IS_PHASE2 = ((PrunFlag >> 5) & 1) == 1;
866
- INV_DEPTH = (PrunFlag >> 8) & 15;
867
- MAX_DEPTH = (PrunFlag >> 12) & 15;
868
- MIN_DEPTH = (PrunFlag >> 16) & 15;
496
+ SYM_E2C_MAGIC = (PrunFlag >> 4 & 1) == 1 ? $intern_28 : 0;
497
+ IS_PHASE2 = (PrunFlag >> 5 & 1) == 1;
498
+ INV_DEPTH = PrunFlag >> 8 & 15;
499
+ MAX_DEPTH = PrunFlag >> 12 & 15;
500
+ MIN_DEPTH = PrunFlag >> 16 & 15;
869
501
  SEARCH_DEPTH = fullInit ? MAX_DEPTH : MIN_DEPTH;
870
502
  SYM_MASK = (1 << SYM_SHIFT) - 1;
871
503
  ISTFP = RawMove == null;
@@ -873,8 +505,7 @@ function initRawSymPrun(
873
505
  N_SIZE = N_RAW * SymMove.length;
874
506
  N_MOVES = IS_PHASE2 ? 10 : 18;
875
507
  NEXT_AXIS_MAGIC = N_MOVES == 10 ? 66 : 599186;
876
- depth = ((PrunTable[N_SIZE >> 3] >> (N_SIZE << 2)) & 15) - 1;
877
-
508
+ depth = (PrunTable[N_SIZE >> 3] >> (N_SIZE << 2) & 15) - 1;
878
509
  if (depth == -1) {
879
510
  for (i = 0; i < ~~(N_SIZE / 8) + 1; i++) {
880
511
  PrunTable[i] = $intern_29;
@@ -883,28 +514,23 @@ function initRawSymPrun(
883
514
  depth = 0;
884
515
  }
885
516
  while (depth < SEARCH_DEPTH) {
886
- mask = ((depth + 1) * $intern_29) ^ -1;
517
+ mask = (depth + 1) * $intern_29 ^ -1;
887
518
  for (i0 = 0; i0 < PrunTable.length; i0++) {
888
519
  val0 = PrunTable[i0] ^ mask;
889
520
  val0 &= val0 >> 1;
890
- PrunTable[i0] += val0 & (val0 >> 2) & $intern_29;
521
+ PrunTable[i0] += val0 & val0 >> 2 & $intern_29;
891
522
  }
892
523
  inv = depth > INV_DEPTH;
893
524
  select = inv ? depth + 2 : depth;
894
525
  selArrMask = select * $intern_29;
895
526
  check = inv ? depth : depth + 2;
896
527
  ++depth;
897
- xorVal = depth ^ (depth + 1);
528
+ xorVal = depth ^ depth + 1;
898
529
  val = 0;
899
530
  for (i = 0; i < N_SIZE; ++i, val >>= 4) {
900
531
  if ((i & 7) == 0) {
901
532
  val = PrunTable[i >> 3];
902
- if (
903
- (((val ^ selArrMask) - $intern_29) &
904
- ~(val ^ selArrMask) &
905
- -2004318072) ==
906
- 0
907
- ) {
533
+ if (((val ^ selArrMask) - $intern_29 & ~(val ^ selArrMask) & -2004318072) == 0) {
908
534
  i += 7;
909
535
  continue;
910
536
  }
@@ -923,18 +549,12 @@ function initRawSymPrun(
923
549
  }
924
550
  for (m = 0; m < N_MOVES; m++) {
925
551
  symx = SymMove[sym][m];
926
- ISTFP
927
- ? (rawx = ($clinit_CubieCube(), FlipS2RF)[
928
- FlipMove[flip][Sym8Move[(m << 3) | fsym]] ^
929
- fsym ^
930
- (symx & SYM_MASK)
931
- ])
932
- : (rawx = RawConj[RawMove[raw][m]][symx & SYM_MASK]);
552
+ ISTFP ? rawx = ($clinit_CubieCube(), FlipS2RF)[FlipMove[flip][Sym8Move[m << 3 | fsym]] ^ fsym ^ symx & SYM_MASK] : rawx = RawConj[RawMove[raw][m]][symx & SYM_MASK];
933
553
  symx >>= SYM_SHIFT;
934
554
  idx = symx * N_RAW + rawx;
935
- prun = (PrunTable[idx >> 3] >> (idx << 2)) & 15;
555
+ prun = PrunTable[idx >> 3] >> (idx << 2) & 15;
936
556
  if (prun != check) {
937
- prun < depth - 1 && (m += (NEXT_AXIS_MAGIC >> m) & 3);
557
+ prun < depth - 1 && (m += NEXT_AXIS_MAGIC >> m & 3);
938
558
  continue;
939
559
  }
940
560
  if (inv) {
@@ -947,10 +567,8 @@ function initRawSymPrun(
947
567
  continue;
948
568
  }
949
569
  idxx = symx * N_RAW;
950
- ISTFP
951
- ? (idxx += ($clinit_CubieCube(), FlipS2RF)[FlipR2S[rawx] ^ j])
952
- : (idxx += RawConj[rawx][j ^ ((SYM_E2C_MAGIC >> (j << 1)) & 3)]);
953
- if (((PrunTable[idxx >> 3] >> (idxx << 2)) & 15) == check) {
570
+ ISTFP ? idxx += ($clinit_CubieCube(), FlipS2RF)[FlipR2S[rawx] ^ j] : idxx += RawConj[rawx][j ^ SYM_E2C_MAGIC >> (j << 1) & 3];
571
+ if ((PrunTable[idxx >> 3] >> (idxx << 2) & 15) == check) {
954
572
  PrunTable[idxx >> 3] ^= xorVal << (idxx << 2);
955
573
  }
956
574
  }
@@ -958,7 +576,6 @@ function initRawSymPrun(
958
576
  }
959
577
  }
960
578
  }
961
-
962
579
  function initTwistMove() {
963
580
  var c, d, i, j;
964
581
  c = new CubieCube();
@@ -971,7 +588,6 @@ function initTwistMove() {
971
588
  }
972
589
  }
973
590
  }
974
-
975
591
  function initUDSliceMoveConj() {
976
592
  var c, d, i, i0, j, j0, k, udslice;
977
593
  c = new CubieCube();
@@ -980,11 +596,11 @@ function initUDSliceMoveConj() {
980
596
  setComb(c.ea, 494 - i0, 8, true);
981
597
  for (j0 = 0; j0 < 18; j0 += 3) {
982
598
  EdgeMult(c, ($clinit_CubieCube(), moveCube)[j0], d);
983
- UDSliceMove[i0][j0] = (494 - getComb(d.ea, 8, true)) & $intern_20;
599
+ UDSliceMove[i0][j0] = 494 - getComb(d.ea, 8, true) & $intern_20;
984
600
  }
985
601
  for (j = 0; j < 16; j += 2) {
986
602
  EdgeConjugate(c, ($clinit_CubieCube(), SymMultInv)[0][j], d);
987
- UDSliceConj[i0][j >> 1] = (494 - getComb(d.ea, 8, true)) & $intern_20;
603
+ UDSliceConj[i0][j >> 1] = 494 - getComb(d.ea, 8, true) & $intern_20;
988
604
  }
989
605
  }
990
606
  for (i = 0; i < 495; i++) {
@@ -997,7 +613,6 @@ function initUDSliceMoveConj() {
997
613
  }
998
614
  }
999
615
  }
1000
-
1001
616
  defineClass(31, 1, { 31: 1 }, CoordCube);
1002
617
  _.flip = 0;
1003
618
  _.flipc = 0;
@@ -1007,84 +622,38 @@ _.slice_0 = 0;
1007
622
  _.tsym = 0;
1008
623
  _.twist = 0;
1009
624
  _.twistc = 0;
1010
- var CCombPConj,
1011
- CCombPMove,
1012
- CPermMove,
1013
- EPermCCombPPrun,
1014
- EPermMove,
1015
- FlipMove,
1016
- MCPermPrun,
1017
- MPermConj,
1018
- MPermMove,
1019
- TwistFlipPrun,
1020
- TwistMove,
1021
- UDSliceConj,
1022
- UDSliceFlipPrun,
1023
- UDSliceMove,
1024
- UDSliceTwistPrun,
1025
- initLevel = 0;
1026
- var Lorg_cubing_min2phase_client_CoordCube_2_classLit = createForClass(
1027
- "org.cubing.min2phase.client",
1028
- "CoordCube",
1029
- 31,
1030
- );
1031
- let $clinit_CubieCube_ran = false;
625
+ var CCombPConj;
626
+ var CCombPMove;
627
+ var CPermMove;
628
+ var EPermCCombPPrun;
629
+ var EPermMove;
630
+ var FlipMove;
631
+ var MCPermPrun;
632
+ var MPermConj;
633
+ var MPermMove;
634
+ var TwistFlipPrun;
635
+ var TwistMove;
636
+ var UDSliceConj;
637
+ var UDSliceFlipPrun;
638
+ var UDSliceMove;
639
+ var UDSliceTwistPrun;
640
+ var initLevel = 0;
641
+ var Lorg_cubing_min2phase_client_CoordCube_2_classLit = createForClass("org.cubing.min2phase.client", "CoordCube", 31);
642
+ var $clinit_CubieCube_ran = false;
1032
643
  function $clinit_CubieCube() {
1033
644
  if ($clinit_CubieCube_ran) {
1034
645
  return;
1035
646
  }
1036
647
  $clinit_CubieCube_ran = true;
1037
- CubeSym = initDim(
1038
- Lorg_cubing_min2phase_client_CubieCube_2_classLit,
1039
- $intern_3,
1040
- 7,
1041
- 16,
1042
- 0,
1043
- 1,
1044
- );
1045
- moveCube = initDim(
1046
- Lorg_cubing_min2phase_client_CubieCube_2_classLit,
1047
- $intern_3,
1048
- 7,
1049
- 18,
1050
- 0,
1051
- 1,
1052
- );
648
+ CubeSym = initDim(Lorg_cubing_min2phase_client_CubieCube_2_classLit, $intern_3, 7, 16, 0, 1);
649
+ moveCube = initDim(Lorg_cubing_min2phase_client_CubieCube_2_classLit, $intern_3, 7, 18, 0, 1);
1053
650
  moveCubeSym = initDim(J_classLit, $intern_3, 0, 18, 6, 1);
1054
651
  firstMoveSym = initDim(I_classLit, $intern_27, 0, 48, 7, 1);
1055
- SymMult = initDims(
1056
- I_classLit,
1057
- [$intern_3, $intern_27],
1058
- [17, 0],
1059
- 7,
1060
- [16, 16],
1061
- 2,
1062
- );
1063
- SymMultInv = initDims(
1064
- I_classLit,
1065
- [$intern_3, $intern_27],
1066
- [17, 0],
1067
- 7,
1068
- [16, 16],
1069
- 2,
1070
- );
1071
- SymMove_0 = initDims(
1072
- I_classLit,
1073
- [$intern_3, $intern_27],
1074
- [17, 0],
1075
- 7,
1076
- [16, 18],
1077
- 2,
1078
- );
652
+ SymMult = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [16, 16], 2);
653
+ SymMultInv = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [16, 16], 2);
654
+ SymMove_0 = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [16, 18], 2);
1079
655
  Sym8Move = initDim(I_classLit, $intern_27, 0, 144, 7, 1);
1080
- SymMoveUD = initDims(
1081
- I_classLit,
1082
- [$intern_3, $intern_27],
1083
- [17, 0],
1084
- 7,
1085
- [16, 18],
1086
- 2,
1087
- );
656
+ SymMoveUD = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [16, 18], 2);
1088
657
  FlipS2R = initDim(C_classLit, $intern_26, 0, 336, 7, 1);
1089
658
  TwistS2R = initDim(C_classLit, $intern_26, 0, 324, 7, 1);
1090
659
  EPermS2R = initDim(C_classLit, $intern_26, 0, 2768, 7, 1);
@@ -1097,77 +666,21 @@ function $clinit_CubieCube() {
1097
666
  FlipS2RF = initDim(C_classLit, $intern_26, 0, 2688, 7, 1);
1098
667
  urf1 = new CubieCube_0(2531, 1373, 67026819, 1367);
1099
668
  urf2 = new CubieCube_0(2089, 1906, 322752913, 2040);
1100
- urfMove = initValues(
1101
- getClassLiteralForArray(B_classLit, 2),
1102
- $intern_3,
1103
- 10,
1104
- 0,
1105
- [
1106
- initValues(
1107
- getClassLiteralForArray(B_classLit, 1),
1108
- $intern_30,
1109
- 0,
1110
- 7,
1111
- [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17],
1112
- ),
1113
- initValues(
1114
- getClassLiteralForArray(B_classLit, 1),
1115
- $intern_30,
1116
- 0,
1117
- 7,
1118
- [6, 7, 8, 0, 1, 2, 3, 4, 5, 15, 16, 17, 9, 10, 11, 12, 13, 14],
1119
- ),
1120
- initValues(
1121
- getClassLiteralForArray(B_classLit, 1),
1122
- $intern_30,
1123
- 0,
1124
- 7,
1125
- [3, 4, 5, 6, 7, 8, 0, 1, 2, 12, 13, 14, 15, 16, 17, 9, 10, 11],
1126
- ),
1127
- initValues(
1128
- getClassLiteralForArray(B_classLit, 1),
1129
- $intern_30,
1130
- 0,
1131
- 7,
1132
- [2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9, 14, 13, 12, 17, 16, 15],
1133
- ),
1134
- initValues(
1135
- getClassLiteralForArray(B_classLit, 1),
1136
- $intern_30,
1137
- 0,
1138
- 7,
1139
- [8, 7, 6, 2, 1, 0, 5, 4, 3, 17, 16, 15, 11, 10, 9, 14, 13, 12],
1140
- ),
1141
- initValues(
1142
- getClassLiteralForArray(B_classLit, 1),
1143
- $intern_30,
1144
- 0,
1145
- 7,
1146
- [5, 4, 3, 8, 7, 6, 2, 1, 0, 14, 13, 12, 17, 16, 15, 11, 10, 9],
1147
- ),
1148
- ],
1149
- );
669
+ urfMove = initValues(getClassLiteralForArray(B_classLit, 2), $intern_3, 10, 0, [
670
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]),
671
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [6, 7, 8, 0, 1, 2, 3, 4, 5, 15, 16, 17, 9, 10, 11, 12, 13, 14]),
672
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [3, 4, 5, 6, 7, 8, 0, 1, 2, 12, 13, 14, 15, 16, 17, 9, 10, 11]),
673
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9, 14, 13, 12, 17, 16, 15]),
674
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [8, 7, 6, 2, 1, 0, 5, 4, 3, 17, 16, 15, 11, 10, 9, 14, 13, 12]),
675
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [5, 4, 3, 8, 7, 6, 2, 1, 0, 14, 13, 12, 17, 16, 15, 11, 10, 9])
676
+ ]);
1150
677
  initMove();
1151
678
  initSym();
1152
679
  }
1153
-
1154
680
  function $$init(this$static) {
1155
- this$static.ca = initValues(
1156
- getClassLiteralForArray(B_classLit, 1),
1157
- $intern_30,
1158
- 0,
1159
- 7,
1160
- [0, 1, 2, 3, 4, 5, 6, 7],
1161
- );
1162
- this$static.ea = initValues(
1163
- getClassLiteralForArray(B_classLit, 1),
1164
- $intern_30,
1165
- 0,
1166
- 7,
1167
- [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22],
1168
- );
681
+ this$static.ca = initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [0, 1, 2, 3, 4, 5, 6, 7]);
682
+ this$static.ea = initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]);
1169
683
  }
1170
-
1171
684
  function $URFConjugate(this$static) {
1172
685
  !this$static.temps && (this$static.temps = new CubieCube());
1173
686
  CornMult(urf2, this$static, this$static.temps);
@@ -1175,7 +688,6 @@ function $URFConjugate(this$static) {
1175
688
  EdgeMult(urf2, this$static, this$static.temps);
1176
689
  EdgeMult(this$static.temps, urf1, this$static);
1177
690
  }
1178
-
1179
691
  function $copy(this$static, c) {
1180
692
  var i, i0;
1181
693
  for (i0 = 0; i0 < 8; i0++) {
@@ -1185,24 +697,20 @@ function $copy(this$static, c) {
1185
697
  this$static.ea[i] = c.ea[i];
1186
698
  }
1187
699
  }
1188
-
1189
700
  function $getCPermSym(this$static) {
1190
701
  return ESym2CSym(EPermR2S[getNPerm(this$static.ca, 8, false)]);
1191
702
  }
1192
-
1193
703
  function $getEPermSym(this$static) {
1194
704
  return EPermR2S[getNPerm(this$static.ea, 8, true)];
1195
705
  }
1196
-
1197
706
  function $getFlip(this$static) {
1198
707
  var i, idx;
1199
708
  idx = 0;
1200
709
  for (i = 0; i < 11; i++) {
1201
- idx = (idx << 1) | (this$static.ea[i] & 1);
710
+ idx = idx << 1 | this$static.ea[i] & 1;
1202
711
  }
1203
712
  return idx;
1204
713
  }
1205
-
1206
714
  function $getTwist(this$static) {
1207
715
  var i, idx;
1208
716
  idx = 0;
@@ -1211,21 +719,17 @@ function $getTwist(this$static) {
1211
719
  }
1212
720
  return idx;
1213
721
  }
1214
-
1215
722
  function $invCubieCube(this$static) {
1216
723
  var corn, edge;
1217
724
  !this$static.temps && (this$static.temps = new CubieCube());
1218
725
  for (edge = 0; edge < 12; edge++) {
1219
- this$static.temps.ea[this$static.ea[edge] >> 1] =
1220
- (((edge << 1) | (this$static.ea[edge] & 1)) << 24) >> 24;
726
+ this$static.temps.ea[this$static.ea[edge] >> 1] = (edge << 1 | this$static.ea[edge] & 1) << 24 >> 24;
1221
727
  }
1222
728
  for (corn = 0; corn < 8; corn++) {
1223
- this$static.temps.ca[this$static.ca[corn] & 7] =
1224
- ((corn | ((32 >> (this$static.ca[corn] >> 3)) & 24)) << 24) >> 24;
729
+ this$static.temps.ca[this$static.ca[corn] & 7] = (corn | 32 >> (this$static.ca[corn] >> 3) & 24) << 24 >> 24;
1225
730
  }
1226
731
  $copy(this$static, this$static.temps);
1227
732
  }
1228
-
1229
733
  function $selfSymmetry(this$static) {
1230
734
  var c, cperm, cpermx, d, i, sym, urfInv;
1231
735
  c = new CubieCube_1(this$static);
@@ -1239,14 +743,7 @@ function $selfSymmetry(this$static) {
1239
743
  CornConjugate(c, SymMultInv[0][i], d);
1240
744
  if (equals_7(d.ca, this$static.ca)) {
1241
745
  EdgeConjugate(c, SymMultInv[0][i], d);
1242
- equals_7(d.ea, this$static.ea) &&
1243
- (sym = or(
1244
- sym,
1245
- shl(
1246
- { l: 1, m: 0, h: 0 },
1247
- ((urfInv << 4) | i) < 48 ? (urfInv << 4) | i : 48,
1248
- ),
1249
- ));
746
+ equals_7(d.ea, this$static.ea) && (sym = or(sym, shl({ l: 1, m: 0, h: 0 }, (urfInv << 4 | i) < 48 ? urfInv << 4 | i : 48)));
1250
747
  }
1251
748
  }
1252
749
  }
@@ -1255,35 +752,30 @@ function $selfSymmetry(this$static) {
1255
752
  }
1256
753
  return sym;
1257
754
  }
1258
-
1259
755
  function $setCPerm(this$static, idx) {
1260
756
  setNPerm(this$static.ca, idx, 8, false);
1261
757
  }
1262
-
1263
758
  function $setEPerm(this$static, idx) {
1264
759
  setNPerm(this$static.ea, idx, 8, true);
1265
760
  }
1266
-
1267
761
  function $setFlip(this$static, idx) {
1268
762
  var i, parity, val;
1269
763
  parity = 0;
1270
764
  for (i = 10; i >= 0; --i, idx >>= 1) {
1271
765
  parity ^= val = idx & 1;
1272
- this$static.ea[i] = (((this$static.ea[i] & -2) | val) << 24) >> 24;
766
+ this$static.ea[i] = (this$static.ea[i] & -2 | val) << 24 >> 24;
1273
767
  }
1274
- this$static.ea[11] = (((this$static.ea[11] & -2) | parity) << 24) >> 24;
768
+ this$static.ea[11] = (this$static.ea[11] & -2 | parity) << 24 >> 24;
1275
769
  }
1276
-
1277
770
  function $setTwist(this$static, idx) {
1278
771
  var i, twst, val;
1279
772
  twst = 15;
1280
773
  for (i = 6; i >= 0; --i, idx = ~~(idx / 3)) {
1281
774
  twst -= val = idx % 3;
1282
- this$static.ca[i] = (((this$static.ca[i] & 7) | (val << 3)) << 24) >> 24;
775
+ this$static.ca[i] = (this$static.ca[i] & 7 | val << 3) << 24 >> 24;
1283
776
  }
1284
- this$static.ca[7] = (((this$static.ca[7] & 7) | (twst % 3 << 3)) << 24) >> 24;
777
+ this$static.ca[7] = (this$static.ca[7] & 7 | twst % 3 << 3) << 24 >> 24;
1285
778
  }
1286
-
1287
779
  function $verify(this$static) {
1288
780
  var c, cornMask, e, edgeMask, sum;
1289
781
  sum = 0;
@@ -1310,16 +802,11 @@ function $verify(this$static) {
1310
802
  if (sum % 3 != 0) {
1311
803
  return -5;
1312
804
  }
1313
- if (
1314
- (getNParity(getNPerm(this$static.ea, 12, true), 12) ^
1315
- getNParity(getNPerm(this$static.ca, 8, false), 8)) !=
1316
- 0
1317
- ) {
805
+ if ((getNParity(getNPerm(this$static.ea, 12, true), 12) ^ getNParity(getNPerm(this$static.ca, 8, false), 8)) != 0) {
1318
806
  return -6;
1319
807
  }
1320
808
  return 0;
1321
809
  }
1322
-
1323
810
  function CornConjugate(a, idx, b) {
1324
811
  $clinit_CubieCube();
1325
812
  var corn, ori, oriA, oriB, s, sinv;
@@ -1329,38 +816,32 @@ function CornConjugate(a, idx, b) {
1329
816
  oriA = sinv.ca[a.ca[s.ca[corn] & 7] & 7] >> 3;
1330
817
  oriB = a.ca[s.ca[corn] & 7] >> 3;
1331
818
  ori = oriA < 3 ? oriB : (3 - oriB) % 3;
1332
- b.ca[corn] =
1333
- (((sinv.ca[a.ca[s.ca[corn] & 7] & 7] & 7) | (ori << 3)) << 24) >> 24;
819
+ b.ca[corn] = (sinv.ca[a.ca[s.ca[corn] & 7] & 7] & 7 | ori << 3) << 24 >> 24;
1334
820
  }
1335
821
  }
1336
-
1337
822
  function CornMult(a, b, prod) {
1338
823
  $clinit_CubieCube();
1339
824
  var corn, oriA, oriB;
1340
825
  for (corn = 0; corn < 8; corn++) {
1341
826
  oriA = a.ca[b.ca[corn] & 7] >> 3;
1342
827
  oriB = b.ca[corn] >> 3;
1343
- prod.ca[corn] =
1344
- (((a.ca[b.ca[corn] & 7] & 7) | ((oriA + oriB) % 3 << 3)) << 24) >> 24;
828
+ prod.ca[corn] = (a.ca[b.ca[corn] & 7] & 7 | (oriA + oriB) % 3 << 3) << 24 >> 24;
1345
829
  }
1346
830
  }
1347
-
1348
831
  function CornMultFull(a, b, prod) {
1349
832
  var corn, ori, oriA, oriB;
1350
833
  for (corn = 0; corn < 8; corn++) {
1351
834
  oriA = a.ca[b.ca[corn] & 7] >> 3;
1352
835
  oriB = b.ca[corn] >> 3;
1353
836
  ori = oriA + (oriA < 3 ? oriB : 6 - oriB);
1354
- ori = (ori % 3) + (oriA < 3 == oriB < 3 ? 0 : 3);
1355
- prod.ca[corn] = (((a.ca[b.ca[corn] & 7] & 7) | (ori << 3)) << 24) >> 24;
837
+ ori = ori % 3 + (oriA < 3 == oriB < 3 ? 0 : 3);
838
+ prod.ca[corn] = (a.ca[b.ca[corn] & 7] & 7 | ori << 3) << 24 >> 24;
1356
839
  }
1357
840
  }
1358
-
1359
841
  function CubieCube() {
1360
842
  $clinit_CubieCube();
1361
843
  $$init(this);
1362
844
  }
1363
-
1364
845
  function CubieCube_0(cperm, twist, eperm, flip) {
1365
846
  $$init(this);
1366
847
  setNPerm(this.ca, cperm, 8, false);
@@ -1368,59 +849,41 @@ function CubieCube_0(cperm, twist, eperm, flip) {
1368
849
  setNPerm(this.ea, eperm, 12, true);
1369
850
  $setFlip(this, flip);
1370
851
  }
1371
-
1372
852
  function CubieCube_1(c) {
1373
853
  $$init(this);
1374
854
  $copy(this, c);
1375
855
  }
1376
-
1377
856
  function ESym2CSym(idx) {
1378
857
  $clinit_CubieCube();
1379
- return idx ^ (($intern_28 >> ((idx & 15) << 1)) & 3);
858
+ return idx ^ $intern_28 >> ((idx & 15) << 1) & 3;
1380
859
  }
1381
-
1382
860
  function EdgeConjugate(a, idx, b) {
1383
861
  $clinit_CubieCube();
1384
862
  var ed, s, sinv;
1385
863
  sinv = CubeSym[SymMultInv[0][idx]];
1386
864
  s = CubeSym[idx];
1387
865
  for (ed = 0; ed < 12; ed++) {
1388
- b.ea[ed] =
1389
- ((sinv.ea[a.ea[s.ea[ed] >> 1] >> 1] ^
1390
- (a.ea[s.ea[ed] >> 1] & 1) ^
1391
- (s.ea[ed] & 1)) <<
1392
- 24) >>
1393
- 24;
866
+ b.ea[ed] = (sinv.ea[a.ea[s.ea[ed] >> 1] >> 1] ^ a.ea[s.ea[ed] >> 1] & 1 ^ s.ea[ed] & 1) << 24 >> 24;
1394
867
  }
1395
868
  }
1396
-
1397
869
  function EdgeMult(a, b, prod) {
1398
870
  $clinit_CubieCube();
1399
871
  var ed;
1400
872
  for (ed = 0; ed < 12; ed++) {
1401
- prod.ea[ed] = ((a.ea[b.ea[ed] >> 1] ^ (b.ea[ed] & 1)) << 24) >> 24;
873
+ prod.ea[ed] = (a.ea[b.ea[ed] >> 1] ^ b.ea[ed] & 1) << 24 >> 24;
1402
874
  }
1403
875
  }
1404
-
1405
876
  function getPermSymInv(idx, sym, isCorner) {
1406
877
  $clinit_CubieCube();
1407
878
  var idxi;
1408
879
  idxi = PermInvEdgeSym[idx];
1409
- isCorner && (idxi = idxi ^ (($intern_28 >> ((idxi & 15) << 1)) & 3));
1410
- return (idxi & 65520) | SymMult[idxi & 15][sym];
880
+ isCorner && (idxi = idxi ^ $intern_28 >> ((idxi & 15) << 1) & 3);
881
+ return idxi & 65520 | SymMult[idxi & 15][sym];
1411
882
  }
1412
-
1413
883
  function getSkipMoves() {
1414
884
  $clinit_CubieCube();
1415
- // var i, ret;
1416
- // ret = 0;
1417
- // for (i = 1; neq((ssym = shr(ssym, 1)), { l: 0, m: 0, h: 0 }); i++) {
1418
- // eq(and(ssym, { l: 1, m: 0, h: 0 }), { l: 1, m: 0, h: 0 }) &&
1419
- // (ret |= firstMoveSym[i]);
1420
- // }
1421
885
  return 0;
1422
886
  }
1423
-
1424
887
  function initMove() {
1425
888
  var a, p;
1426
889
  moveCube[0] = new CubieCube_0(15120, 0, 119750400, 0);
@@ -1437,33 +900,23 @@ function initMove() {
1437
900
  }
1438
901
  }
1439
902
  }
1440
-
1441
903
  function initPermSym2Raw() {
1442
904
  $clinit_CubieCube();
1443
905
  var cc, i, i0;
1444
- initSym2Raw(
1445
- 40320,
1446
- EPermS2R,
1447
- EPermR2S,
1448
- (SymStatePerm = initDim(C_classLit, $intern_26, 0, 2768, 7, 1)),
1449
- 2,
1450
- );
906
+ initSym2Raw(40320, EPermS2R, EPermR2S, SymStatePerm = initDim(C_classLit, $intern_26, 0, 2768, 7, 1), 2);
1451
907
  cc = new CubieCube();
1452
908
  for (i0 = 0; i0 < 2768; i0++) {
1453
909
  $setEPerm(cc, EPermS2R[i0]);
1454
- Perm2CombP[i0] =
1455
- ((getComb(cc.ea, 0, true) + getNParity(EPermS2R[i0], 8) * 70) << 24) >>
1456
- 24;
910
+ Perm2CombP[i0] = getComb(cc.ea, 0, true) + getNParity(EPermS2R[i0], 8) * 70 << 24 >> 24;
1457
911
  $invCubieCube(cc);
1458
912
  PermInvEdgeSym[i0] = EPermR2S[getNPerm(cc.ea, 8, true)];
1459
913
  }
1460
914
  for (i = 0; i < 24; i++) {
1461
915
  setNPerm(cc.ea, i, 12, true);
1462
916
  $invCubieCube(cc);
1463
- MPermInv[i] = (getNPerm(cc.ea, 12, true) % 24 << 24) >> 24;
917
+ MPermInv[i] = getNPerm(cc.ea, 12, true) % 24 << 24 >> 24;
1464
918
  }
1465
919
  }
1466
-
1467
920
  function initSym() {
1468
921
  var c, d, f2, i, i0, i1, i2, j, j0, j1, k, lr2, m, s, t, u4;
1469
922
  c = new CubieCube();
@@ -1518,7 +971,7 @@ function initSym() {
1518
971
  break;
1519
972
  }
1520
973
  }
1521
- s % 2 == 0 && (Sym8Move[(j1 << 3) | (s >> 1)] = SymMove_0[s][j1]);
974
+ s % 2 == 0 && (Sym8Move[j1 << 3 | s >> 1] = SymMove_0[s][j1]);
1522
975
  }
1523
976
  }
1524
977
  for (i = 0; i < 18; i++) {
@@ -1530,7 +983,6 @@ function initSym() {
1530
983
  }
1531
984
  }
1532
985
  }
1533
-
1534
986
  function initSym2Raw(N_RAW, Sym2Raw, Raw2Sym, SymState, coord) {
1535
987
  $clinit_CubieCube();
1536
988
  var c, count, d, i, idx, isEdge, s, symIdx, sym_inc;
@@ -1566,104 +1018,56 @@ function initSym2Raw(N_RAW, Sym2Raw, Raw2Sym, SymState, coord) {
1566
1018
  case 2:
1567
1019
  idx = getNPerm(d.ea, 8, true);
1568
1020
  }
1569
- coord == 0 && (FlipS2RF[(count << 3) | (s >> 1)] = idx & $intern_20);
1570
- idx == i &&
1571
- (SymState[count] =
1572
- (SymState[count] | (1 << ~~(s / sym_inc))) & $intern_20);
1573
- symIdx = ~~(((count << 4) | s) / sym_inc);
1021
+ coord == 0 && (FlipS2RF[count << 3 | s >> 1] = idx & $intern_20);
1022
+ idx == i && (SymState[count] = (SymState[count] | 1 << ~~(s / sym_inc)) & $intern_20);
1023
+ symIdx = ~~((count << 4 | s) / sym_inc);
1574
1024
  Raw2Sym[idx] = symIdx & $intern_20;
1575
1025
  }
1576
1026
  Sym2Raw[count++] = i & $intern_20;
1577
1027
  }
1578
1028
  return count;
1579
1029
  }
1580
-
1581
- var CubeSym,
1582
- EPermR2S,
1583
- EPermS2R,
1584
- FlipR2S,
1585
- FlipS2R,
1586
- FlipS2RF,
1587
- MPermInv,
1588
- Perm2CombP,
1589
- PermInvEdgeSym,
1590
- Sym8Move,
1591
- SymMove_0,
1592
- SymMoveUD,
1593
- SymMult,
1594
- SymMultInv,
1595
- SymStateFlip,
1596
- SymStatePerm,
1597
- SymStateTwist,
1598
- TwistR2S,
1599
- TwistS2R,
1600
- firstMoveSym,
1601
- moveCube,
1602
- moveCubeSym,
1603
- urf1,
1604
- urf2,
1605
- urfMove;
1606
- var Lorg_cubing_min2phase_client_CubieCube_2_classLit = createForClass(
1607
- "org.cubing.min2phase.client",
1608
- "CubieCube",
1609
- 7,
1610
- );
1611
-
1612
- function $initPhase2(
1613
- this$static,
1614
- p2corn,
1615
- p2csym,
1616
- p2edge,
1617
- p2esym,
1618
- p2mid,
1619
- edgei,
1620
- corni,
1621
- ) {
1030
+ var CubeSym;
1031
+ var EPermR2S;
1032
+ var EPermS2R;
1033
+ var FlipR2S;
1034
+ var FlipS2R;
1035
+ var FlipS2RF;
1036
+ var MPermInv;
1037
+ var Perm2CombP;
1038
+ var PermInvEdgeSym;
1039
+ var Sym8Move;
1040
+ var SymMove_0;
1041
+ var SymMoveUD;
1042
+ var SymMult;
1043
+ var SymMultInv;
1044
+ var SymStateFlip;
1045
+ var SymStatePerm;
1046
+ var SymStateTwist;
1047
+ var TwistR2S;
1048
+ var TwistS2R;
1049
+ var firstMoveSym;
1050
+ var moveCube;
1051
+ var moveCubeSym;
1052
+ var urf1;
1053
+ var urf2;
1054
+ var urfMove;
1055
+ var Lorg_cubing_min2phase_client_CubieCube_2_classLit = createForClass("org.cubing.min2phase.client", "CubieCube", 7);
1056
+ function $initPhase2(this$static, p2corn, p2csym, p2edge, p2esym, p2mid, edgei, corni) {
1622
1057
  var depth2, i, i0, prun, ret;
1623
- prun = max_0(
1624
- getPruning(
1625
- ($clinit_CoordCube(), EPermCCombPPrun),
1626
- (edgei >> 4) * 140 +
1627
- CCombPConj[($clinit_CubieCube(), Perm2CombP)[corni >> 4] & 255][
1628
- SymMultInv[edgei & 15][corni & 15]
1629
- ],
1630
- ),
1631
- max_0(
1632
- getPruning(
1633
- EPermCCombPPrun,
1634
- p2edge * 140 +
1635
- CCombPConj[Perm2CombP[p2corn] & 255][SymMultInv[p2esym][p2csym]],
1636
- ),
1637
- getPruning(MCPermPrun, p2corn * 24 + MPermConj[p2mid][p2csym]),
1638
- ),
1639
- );
1058
+ prun = max_0(getPruning(($clinit_CoordCube(), EPermCCombPPrun), (edgei >> 4) * 140 + CCombPConj[($clinit_CubieCube(), Perm2CombP)[corni >> 4] & 255][SymMultInv[edgei & 15][corni & 15]]), max_0(getPruning(EPermCCombPPrun, p2edge * 140 + CCombPConj[Perm2CombP[p2corn] & 255][SymMultInv[p2esym][p2csym]]), getPruning(MCPermPrun, p2corn * 24 + MPermConj[p2mid][p2csym])));
1640
1059
  if (prun > this$static.maxDep2) {
1641
1060
  return prun - this$static.maxDep2;
1642
1061
  }
1643
1062
  for (depth2 = this$static.maxDep2; depth2 >= prun; depth2--) {
1644
- ret = $phase2(
1645
- this$static,
1646
- p2edge,
1647
- p2esym,
1648
- p2corn,
1649
- p2csym,
1650
- p2mid,
1651
- depth2,
1652
- this$static.depth1,
1653
- 10,
1654
- );
1063
+ ret = $phase2(this$static, p2edge, p2esym, p2corn, p2csym, p2mid, depth2, this$static.depth1, 10);
1655
1064
  if (ret < 0) {
1656
1065
  break;
1657
1066
  }
1658
1067
  depth2 -= ret;
1659
1068
  this$static.solLen = 0;
1660
1069
  this$static.solution = new Util$Solution();
1661
- $setArgs(
1662
- this$static.solution,
1663
- this$static.verbose,
1664
- this$static.urfIdx,
1665
- this$static.depth1,
1666
- );
1070
+ $setArgs(this$static.solution, this$static.verbose, this$static.urfIdx, this$static.depth1);
1667
1071
  for (i0 = 0; i0 < this$static.depth1 + depth2; i0++) {
1668
1072
  $appendSolMove(this$static.solution, this$static.move[i0]);
1669
1073
  }
@@ -1673,52 +1077,21 @@ function $initPhase2(
1673
1077
  this$static.solLen = this$static.solution.length_0;
1674
1078
  }
1675
1079
  if (depth2 != this$static.maxDep2) {
1676
- this$static.maxDep2 = min_0(
1677
- MAX_DEPTH2,
1678
- this$static.solLen - this$static.length1 - 1,
1679
- );
1080
+ this$static.maxDep2 = min_0(MAX_DEPTH2, this$static.solLen - this$static.length1 - 1);
1680
1081
  return gte(this$static.probe, this$static.probeMin) ? 0 : 1;
1681
1082
  }
1682
1083
  return 1;
1683
1084
  }
1684
-
1685
1085
  function $initPhase2Pre(this$static) {
1686
- var corni,
1687
- edgei,
1688
- i,
1689
- lastMove,
1690
- lastPre,
1691
- m,
1692
- p2corn,
1693
- p2csym,
1694
- p2edge,
1695
- p2esym,
1696
- p2mid,
1697
- p2switch,
1698
- p2switchMask,
1699
- p2switchMax,
1700
- ret;
1086
+ var corni, edgei, i, lastMove, lastPre, m, p2corn, p2csym, p2edge, p2esym, p2mid, p2switch, p2switchMask, p2switchMax, ret;
1701
1087
  this$static.isRec = false;
1702
- if (
1703
- gte(
1704
- this$static.probe,
1705
- !this$static.solution ? this$static.probeMax : this$static.probeMin,
1706
- )
1707
- ) {
1088
+ if (gte(this$static.probe, !this$static.solution ? this$static.probeMax : this$static.probeMin)) {
1708
1089
  return 0;
1709
1090
  }
1710
1091
  this$static.probe = add_1(this$static.probe, { l: 1, m: 0, h: 0 });
1711
1092
  for (i = this$static.valid1; i < this$static.depth1; i++) {
1712
- CornMult(
1713
- this$static.phase1Cubie[i],
1714
- ($clinit_CubieCube(), moveCube)[this$static.move[i]],
1715
- this$static.phase1Cubie[i + 1],
1716
- );
1717
- EdgeMult(
1718
- this$static.phase1Cubie[i],
1719
- moveCube[this$static.move[i]],
1720
- this$static.phase1Cubie[i + 1],
1721
- );
1093
+ CornMult(this$static.phase1Cubie[i], ($clinit_CubieCube(), moveCube)[this$static.move[i]], this$static.phase1Cubie[i + 1]);
1094
+ EdgeMult(this$static.phase1Cubie[i], moveCube[this$static.move[i]], this$static.phase1Cubie[i + 1]);
1722
1095
  }
1723
1096
  this$static.valid1 = this$static.depth1;
1724
1097
  p2corn = $getCPermSym(this$static.phase1Cubie[this$static.depth1]);
@@ -1727,47 +1100,28 @@ function $initPhase2Pre(this$static) {
1727
1100
  p2edge = $getEPermSym(this$static.phase1Cubie[this$static.depth1]);
1728
1101
  p2esym = p2edge & 15;
1729
1102
  p2edge >>= 4;
1730
- p2mid =
1731
- getNPerm(this$static.phase1Cubie[this$static.depth1].ea, 12, true) % 24;
1103
+ p2mid = getNPerm(this$static.phase1Cubie[this$static.depth1].ea, 12, true) % 24;
1732
1104
  edgei = getPermSymInv(p2edge, p2esym, false);
1733
1105
  corni = getPermSymInv(p2corn, p2csym, true);
1734
- lastMove =
1735
- this$static.depth1 == 0 ? -1 : this$static.move[this$static.depth1 - 1];
1736
- lastPre =
1737
- this$static.preMoveLen == 0
1738
- ? -1
1739
- : this$static.preMoves[this$static.preMoveLen - 1];
1106
+ lastMove = this$static.depth1 == 0 ? -1 : this$static.move[this$static.depth1 - 1];
1107
+ lastPre = this$static.preMoveLen == 0 ? -1 : this$static.preMoves[this$static.preMoveLen - 1];
1740
1108
  ret = 0;
1741
- p2switchMax =
1742
- (this$static.preMoveLen == 0 ? 1 : 2) * (this$static.depth1 == 0 ? 1 : 2);
1743
- for (
1744
- p2switch = 0, p2switchMask = (1 << p2switchMax) - 1;
1745
- p2switch < p2switchMax;
1746
- p2switch++
1747
- ) {
1748
- if (((p2switchMask >> p2switch) & 1) != 0) {
1109
+ p2switchMax = (this$static.preMoveLen == 0 ? 1 : 2) * (this$static.depth1 == 0 ? 1 : 2);
1110
+ for (p2switch = 0, p2switchMask = (1 << p2switchMax) - 1; p2switch < p2switchMax; p2switch++) {
1111
+ if ((p2switchMask >> p2switch & 1) != 0) {
1749
1112
  p2switchMask &= ~(1 << p2switch);
1750
- ret = $initPhase2(
1751
- this$static,
1752
- p2corn,
1753
- p2csym,
1754
- p2edge,
1755
- p2esym,
1756
- p2mid,
1757
- edgei,
1758
- corni,
1759
- );
1113
+ ret = $initPhase2(this$static, p2corn, p2csym, p2edge, p2esym, p2mid, edgei, corni);
1760
1114
  if (ret == 0 || ret > 2) {
1761
1115
  break;
1762
- } else ret == 2 && (p2switchMask &= 4 << p2switch);
1116
+ } else
1117
+ ret == 2 && (p2switchMask &= 4 << p2switch);
1763
1118
  }
1764
1119
  if (p2switchMask == 0) {
1765
1120
  break;
1766
1121
  }
1767
1122
  if ((p2switch & 1) == 0 && this$static.depth1 > 0) {
1768
1123
  m = ($clinit_Util(), std2ud)[~~(lastMove / 3) * 3 + 1];
1769
- this$static.move[this$static.depth1 - 1] =
1770
- ud2std[m] * 2 - this$static.move[this$static.depth1 - 1];
1124
+ this$static.move[this$static.depth1 - 1] = ud2std[m] * 2 - this$static.move[this$static.depth1 - 1];
1771
1125
  p2mid = ($clinit_CoordCube(), MPermMove)[p2mid][m];
1772
1126
  p2corn = CPermMove[p2corn][($clinit_CubieCube(), SymMoveUD)[p2csym][m]];
1773
1127
  p2csym = SymMult[p2corn & 15][p2csym];
@@ -1779,56 +1133,35 @@ function $initPhase2Pre(this$static) {
1779
1133
  edgei = getPermSymInv(p2edge, p2esym, false);
1780
1134
  } else if (this$static.preMoveLen > 0) {
1781
1135
  m = ($clinit_Util(), std2ud)[~~(lastPre / 3) * 3 + 1];
1782
- this$static.preMoves[this$static.preMoveLen - 1] =
1783
- ud2std[m] * 2 - this$static.preMoves[this$static.preMoveLen - 1];
1784
- p2mid = ($clinit_CubieCube(), MPermInv)[
1785
- ($clinit_CoordCube(), MPermMove)[MPermInv[p2mid]][m]
1786
- ];
1136
+ this$static.preMoves[this$static.preMoveLen - 1] = ud2std[m] * 2 - this$static.preMoves[this$static.preMoveLen - 1];
1137
+ p2mid = ($clinit_CubieCube(), MPermInv)[($clinit_CoordCube(), MPermMove)[MPermInv[p2mid]][m]];
1787
1138
  p2corn = CPermMove[corni >> 4][SymMoveUD[corni & 15][m]];
1788
- corni = (p2corn & -16) | SymMult[p2corn & 15][corni & 15];
1139
+ corni = p2corn & -16 | SymMult[p2corn & 15][corni & 15];
1789
1140
  p2corn = getPermSymInv(corni >> 4, corni & 15, true);
1790
1141
  p2csym = p2corn & 15;
1791
1142
  p2corn >>= 4;
1792
1143
  p2edge = EPermMove[edgei >> 4][SymMoveUD[edgei & 15][m]];
1793
- edgei = (p2edge & -16) | SymMult[p2edge & 15][edgei & 15];
1144
+ edgei = p2edge & -16 | SymMult[p2edge & 15][edgei & 15];
1794
1145
  p2edge = getPermSymInv(edgei >> 4, edgei & 15, false);
1795
1146
  p2esym = p2edge & 15;
1796
1147
  p2edge >>= 4;
1797
1148
  }
1798
1149
  }
1799
- this$static.depth1 > 0 &&
1800
- (this$static.move[this$static.depth1 - 1] = lastMove);
1801
- this$static.preMoveLen > 0 &&
1802
- (this$static.preMoves[this$static.preMoveLen - 1] = lastPre);
1150
+ this$static.depth1 > 0 && (this$static.move[this$static.depth1 - 1] = lastMove);
1151
+ this$static.preMoveLen > 0 && (this$static.preMoves[this$static.preMoveLen - 1] = lastPre);
1803
1152
  return ret == 0 ? 0 : 2;
1804
1153
  }
1805
-
1806
1154
  function $initSearch(this$static) {
1807
1155
  var i;
1808
1156
  this$static.conjMask = 0;
1809
1157
  this$static.selfSym = $selfSymmetry(this$static.cc);
1810
- this$static.conjMask |= neq(
1811
- and(shr(this$static.selfSym, 16), { l: $intern_20, m: 0, h: 0 }),
1812
- { l: 0, m: 0, h: 0 },
1813
- )
1814
- ? 18
1815
- : 0;
1816
- this$static.conjMask |= neq(
1817
- and(shr(this$static.selfSym, 32), { l: $intern_20, m: 0, h: 0 }),
1818
- { l: 0, m: 0, h: 0 },
1819
- )
1820
- ? 36
1821
- : 0;
1822
- this$static.conjMask |= neq(
1823
- and(shr(this$static.selfSym, 48), { l: $intern_20, m: 0, h: 0 }),
1824
- { l: 0, m: 0, h: 0 },
1825
- )
1826
- ? 56
1827
- : 0;
1158
+ this$static.conjMask |= neq(and(shr(this$static.selfSym, 16), { l: $intern_20, m: 0, h: 0 }), { l: 0, m: 0, h: 0 }) ? 18 : 0;
1159
+ this$static.conjMask |= neq(and(shr(this$static.selfSym, 32), { l: $intern_20, m: 0, h: 0 }), { l: 0, m: 0, h: 0 }) ? 36 : 0;
1160
+ this$static.conjMask |= neq(and(shr(this$static.selfSym, 48), { l: $intern_20, m: 0, h: 0 }), { l: 0, m: 0, h: 0 }) ? 56 : 0;
1828
1161
  this$static.selfSym = and(this$static.selfSym, {
1829
1162
  l: $intern_9,
1830
1163
  m: $intern_9,
1831
- h: 15,
1164
+ h: 15
1832
1165
  });
1833
1166
  this$static.maxPreMoves = this$static.conjMask > 7 ? 0 : 20;
1834
1167
  for (i = 0; i < 6; i++) {
@@ -1838,7 +1171,6 @@ function $initSearch(this$static) {
1838
1171
  i % 3 == 2 && $invCubieCube(this$static.cc);
1839
1172
  }
1840
1173
  }
1841
-
1842
1174
  function $phase1(this$static, node, ssym, maxl, lm) {
1843
1175
  var axis_0, m, power, prun, ret, skipMoves;
1844
1176
  if (node.prun == 0 && maxl < 5) {
@@ -1858,11 +1190,7 @@ function $phase1(this$static, node, ssym, maxl, lm) {
1858
1190
  }
1859
1191
  for (power = 0; power < 3; power++) {
1860
1192
  m = axis_0 + power;
1861
- if (
1862
- (this$static.isRec &&
1863
- m != this$static.move[this$static.depth1 - maxl]) ||
1864
- (skipMoves != 0 && (skipMoves & (1 << m)) != 0)
1865
- ) {
1193
+ if (this$static.isRec && m != this$static.move[this$static.depth1 - maxl] || skipMoves != 0 && (skipMoves & 1 << m) != 0) {
1866
1194
  continue;
1867
1195
  }
1868
1196
  prun = $doMovePrun(this$static.nodeUD[maxl], node, m);
@@ -1879,13 +1207,7 @@ function $phase1(this$static, node, ssym, maxl, lm) {
1879
1207
  }
1880
1208
  this$static.move[this$static.depth1 - maxl] = m;
1881
1209
  this$static.valid1 = min_0(this$static.valid1, this$static.depth1 - maxl);
1882
- ret = $phase1(
1883
- this$static,
1884
- this$static.nodeUD[maxl],
1885
- ssym & toInt(($clinit_CubieCube(), moveCubeSym)[m]),
1886
- maxl - 1,
1887
- axis_0,
1888
- );
1210
+ ret = $phase1(this$static, this$static.nodeUD[maxl], ssym & toInt(($clinit_CubieCube(), moveCubeSym)[m]), maxl - 1, axis_0);
1889
1211
  if (ret == 0) {
1890
1212
  return 0;
1891
1213
  } else if (ret >= 2) {
@@ -1895,80 +1217,41 @@ function $phase1(this$static, node, ssym, maxl, lm) {
1895
1217
  }
1896
1218
  return 1;
1897
1219
  }
1898
-
1899
1220
  function $phase1PreMoves(this$static, maxl, lm, cc, ssym) {
1900
1221
  var m, ret, skipMoves;
1901
1222
  this$static.preMoveLen = this$static.maxPreMoves - maxl;
1902
- if (
1903
- this$static.isRec
1904
- ? this$static.depth1 == this$static.length1 - this$static.preMoveLen
1905
- : this$static.preMoveLen == 0 || ((225207 >> lm) & 1) == 0
1906
- ) {
1223
+ if (this$static.isRec ? this$static.depth1 == this$static.length1 - this$static.preMoveLen : this$static.preMoveLen == 0 || (225207 >> lm & 1) == 0) {
1907
1224
  this$static.depth1 = this$static.length1 - this$static.preMoveLen;
1908
1225
  this$static.phase1Cubie[0] = cc;
1909
- this$static.allowShorter =
1910
- this$static.depth1 == MIN_P1LENGTH_PRE && this$static.preMoveLen != 0;
1911
- if (
1912
- $setWithPrun(
1913
- this$static.nodeUD[this$static.depth1 + 1],
1914
- cc,
1915
- this$static.depth1,
1916
- ) &&
1917
- $phase1(
1918
- this$static,
1919
- this$static.nodeUD[this$static.depth1 + 1],
1920
- ssym,
1921
- this$static.depth1,
1922
- -1,
1923
- ) == 0
1924
- ) {
1226
+ this$static.allowShorter = this$static.depth1 == MIN_P1LENGTH_PRE && this$static.preMoveLen != 0;
1227
+ if ($setWithPrun(this$static.nodeUD[this$static.depth1 + 1], cc, this$static.depth1) && $phase1(this$static, this$static.nodeUD[this$static.depth1 + 1], ssym, this$static.depth1, -1) == 0) {
1925
1228
  return 0;
1926
1229
  }
1927
1230
  }
1928
- if (
1929
- maxl == 0 ||
1930
- this$static.preMoveLen + MIN_P1LENGTH_PRE >= this$static.length1
1931
- ) {
1231
+ if (maxl == 0 || this$static.preMoveLen + MIN_P1LENGTH_PRE >= this$static.length1) {
1932
1232
  return 1;
1933
1233
  }
1934
1234
  skipMoves = getSkipMoves(fromInt(ssym));
1935
- (maxl == 1 ||
1936
- this$static.preMoveLen + 1 + MIN_P1LENGTH_PRE >= this$static.length1) &&
1937
- (skipMoves |= 225207);
1235
+ (maxl == 1 || this$static.preMoveLen + 1 + MIN_P1LENGTH_PRE >= this$static.length1) && (skipMoves |= 225207);
1938
1236
  lm = ~~(lm / 3) * 3;
1939
1237
  for (m = 0; m < 18; m++) {
1940
1238
  if (m == lm || m == lm - 9 || m == lm + 9) {
1941
1239
  m += 2;
1942
1240
  continue;
1943
1241
  }
1944
- if (
1945
- (this$static.isRec &&
1946
- m != this$static.preMoves[this$static.maxPreMoves - maxl]) ||
1947
- (skipMoves & (1 << m)) != 0
1948
- ) {
1242
+ if (this$static.isRec && m != this$static.preMoves[this$static.maxPreMoves - maxl] || (skipMoves & 1 << m) != 0) {
1949
1243
  continue;
1950
1244
  }
1951
- CornMult(
1952
- ($clinit_CubieCube(), moveCube)[m],
1953
- cc,
1954
- this$static.preMoveCubes[maxl],
1955
- );
1245
+ CornMult(($clinit_CubieCube(), moveCube)[m], cc, this$static.preMoveCubes[maxl]);
1956
1246
  EdgeMult(moveCube[m], cc, this$static.preMoveCubes[maxl]);
1957
1247
  this$static.preMoves[this$static.maxPreMoves - maxl] = m;
1958
- ret = $phase1PreMoves(
1959
- this$static,
1960
- maxl - 1,
1961
- m,
1962
- this$static.preMoveCubes[maxl],
1963
- ssym & toInt(moveCubeSym[m]),
1964
- );
1248
+ ret = $phase1PreMoves(this$static, maxl - 1, m, this$static.preMoveCubes[maxl], ssym & toInt(moveCubeSym[m]));
1965
1249
  if (ret == 0) {
1966
1250
  return 0;
1967
1251
  }
1968
1252
  }
1969
1253
  return 1;
1970
1254
  }
1971
-
1972
1255
  function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
1973
1256
  var corni, cornx, csymx, edgei, edgex, esymx, m, midx, moveMask, prun, ret;
1974
1257
  if (edge == 0 && corn == 0 && mid == 0) {
@@ -1976,8 +1259,8 @@ function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
1976
1259
  }
1977
1260
  moveMask = ($clinit_Util(), ckmv2bit)[lm];
1978
1261
  for (m = 0; m < 10; m++) {
1979
- if (((moveMask >> m) & 1) != 0) {
1980
- m += (66 >> m) & 3;
1262
+ if ((moveMask >> m & 1) != 0) {
1263
+ m += 66 >> m & 3;
1981
1264
  continue;
1982
1265
  }
1983
1266
  midx = ($clinit_CoordCube(), MPermMove)[mid][m];
@@ -1989,42 +1272,19 @@ function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
1989
1272
  edgex >>= 4;
1990
1273
  edgei = getPermSymInv(edgex, esymx, false);
1991
1274
  corni = getPermSymInv(cornx, csymx, true);
1992
- prun = getPruning(
1993
- EPermCCombPPrun,
1994
- (edgei >> 4) * 140 +
1995
- CCombPConj[Perm2CombP[corni >> 4] & 255][
1996
- SymMultInv[edgei & 15][corni & 15]
1997
- ],
1998
- );
1275
+ prun = getPruning(EPermCCombPPrun, (edgei >> 4) * 140 + CCombPConj[Perm2CombP[corni >> 4] & 255][SymMultInv[edgei & 15][corni & 15]]);
1999
1276
  if (prun > maxl + 1) {
2000
1277
  return maxl - prun + 1;
2001
1278
  } else if (prun >= maxl) {
2002
- m += (66 >> m) & 3 & (maxl - prun);
1279
+ m += 66 >> m & 3 & maxl - prun;
2003
1280
  continue;
2004
1281
  }
2005
- prun = max_0(
2006
- getPruning(MCPermPrun, cornx * 24 + MPermConj[midx][csymx]),
2007
- getPruning(
2008
- EPermCCombPPrun,
2009
- edgex * 140 +
2010
- CCombPConj[Perm2CombP[cornx] & 255][SymMultInv[esymx][csymx]],
2011
- ),
2012
- );
1282
+ prun = max_0(getPruning(MCPermPrun, cornx * 24 + MPermConj[midx][csymx]), getPruning(EPermCCombPPrun, edgex * 140 + CCombPConj[Perm2CombP[cornx] & 255][SymMultInv[esymx][csymx]]));
2013
1283
  if (prun >= maxl) {
2014
- m += (66 >> m) & 3 & (maxl - prun);
1284
+ m += 66 >> m & 3 & maxl - prun;
2015
1285
  continue;
2016
1286
  }
2017
- ret = $phase2(
2018
- this$static,
2019
- edgex,
2020
- esymx,
2021
- cornx,
2022
- csymx,
2023
- midx,
2024
- maxl - 1,
2025
- depth + 1,
2026
- m,
2027
- );
1287
+ ret = $phase2(this$static, edgex, esymx, cornx, csymx, midx, maxl - 1, depth + 1, m);
2028
1288
  if (ret >= 0) {
2029
1289
  this$static.move[depth] = ud2std[m];
2030
1290
  return ret;
@@ -2032,47 +1292,24 @@ function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
2032
1292
  if (ret < -2) {
2033
1293
  break;
2034
1294
  }
2035
- ret < -1 && (m += (66 >> m) & 3);
1295
+ ret < -1 && (m += 66 >> m & 3);
2036
1296
  }
2037
1297
  return -1;
2038
1298
  }
2039
-
2040
1299
  function $search(this$static) {
2041
- for (
2042
- this$static.length1 = this$static.isRec ? this$static.length1 : 0;
2043
- this$static.length1 < this$static.solLen;
2044
- this$static.length1++
2045
- ) {
2046
- this$static.maxDep2 = min_0(
2047
- MAX_DEPTH2,
2048
- this$static.solLen - this$static.length1 - 1,
2049
- );
2050
- for (
2051
- this$static.urfIdx = this$static.isRec ? this$static.urfIdx : 0;
2052
- this$static.urfIdx < 6;
2053
- this$static.urfIdx++
2054
- ) {
2055
- if ((this$static.conjMask & (1 << this$static.urfIdx)) != 0) {
1300
+ for (this$static.length1 = this$static.isRec ? this$static.length1 : 0; this$static.length1 < this$static.solLen; this$static.length1++) {
1301
+ this$static.maxDep2 = min_0(MAX_DEPTH2, this$static.solLen - this$static.length1 - 1);
1302
+ for (this$static.urfIdx = this$static.isRec ? this$static.urfIdx : 0; this$static.urfIdx < 6; this$static.urfIdx++) {
1303
+ if ((this$static.conjMask & 1 << this$static.urfIdx) != 0) {
2056
1304
  continue;
2057
1305
  }
2058
- if (
2059
- $phase1PreMoves(
2060
- this$static,
2061
- this$static.maxPreMoves,
2062
- -30,
2063
- this$static.urfCubieCube[this$static.urfIdx],
2064
- toInt(and(this$static.selfSym, { l: $intern_20, m: 0, h: 0 })),
2065
- ) == 0
2066
- ) {
2067
- return !this$static.solution
2068
- ? "Error 8"
2069
- : $toString_2(this$static.solution);
1306
+ if ($phase1PreMoves(this$static, this$static.maxPreMoves, -30, this$static.urfCubieCube[this$static.urfIdx], toInt(and(this$static.selfSym, { l: $intern_20, m: 0, h: 0 }))) == 0) {
1307
+ return !this$static.solution ? "Error 8" : $toString_2(this$static.solution);
2070
1308
  }
2071
1309
  }
2072
1310
  }
2073
1311
  return !this$static.solution ? "Error 7" : $toString_2(this$static.solution);
2074
1312
  }
2075
-
2076
1313
  function $solution(this$static, facelets) {
2077
1314
  var check;
2078
1315
  check = $verify_0(this$static, facelets);
@@ -2090,103 +1327,42 @@ function $solution(this$static, facelets) {
2090
1327
  $initSearch(this$static);
2091
1328
  return $search(this$static);
2092
1329
  }
2093
-
2094
1330
  function $verify_0(this$static, facelets) {
2095
1331
  var center, count, f, i;
2096
1332
  count = 0;
2097
1333
  f = initDim(B_classLit, $intern_30, 0, 54, 7, 1);
2098
- // try {
2099
- center = _String(
2100
- initValues(getClassLiteralForArray(C_classLit, 1), $intern_26, 0, 7, [
2101
- facelets.charCodeAt(4),
2102
- facelets.charCodeAt(13),
2103
- facelets.charCodeAt(22),
2104
- facelets.charCodeAt(31),
2105
- facelets.charCodeAt(40),
2106
- facelets.charCodeAt(49),
2107
- ]),
2108
- );
1334
+ center = _String(initValues(getClassLiteralForArray(C_classLit, 1), $intern_26, 0, 7, [
1335
+ facelets.charCodeAt(4),
1336
+ facelets.charCodeAt(13),
1337
+ facelets.charCodeAt(22),
1338
+ facelets.charCodeAt(31),
1339
+ facelets.charCodeAt(40),
1340
+ facelets.charCodeAt(49)
1341
+ ]));
2109
1342
  for (i = 0; i < 54; i++) {
2110
- f[i] =
2111
- ($indexOf_0(center, fromCodePoint(facelets.charCodeAt(i))) << 24) >> 24;
1343
+ f[i] = $indexOf_0(center, fromCodePoint(facelets.charCodeAt(i))) << 24 >> 24;
2112
1344
  if (f[i] == -1) {
2113
1345
  return -1;
2114
1346
  }
2115
1347
  count += 1 << (f[i] << 2);
2116
1348
  }
2117
- // } catch ($e0) {
2118
- // $e0 = wrap($e0);
2119
- // if (instanceOf($e0, 9)) {
2120
- // return -1;
2121
- // } else throw unwrap($e0);
2122
- // }
2123
1349
  if (count != 10066329) {
2124
1350
  return -1;
2125
1351
  }
2126
1352
  toCubieCube(f, this$static.cc);
2127
1353
  return $verify(this$static.cc);
2128
1354
  }
2129
-
2130
1355
  function Search() {
2131
1356
  var i, i0, i1;
2132
1357
  this.move = initDim(I_classLit, $intern_27, 0, 31, 7, 1);
2133
- this.nodeUD = initDim(
2134
- Lorg_cubing_min2phase_client_CoordCube_2_classLit,
2135
- $intern_3,
2136
- 31,
2137
- 21,
2138
- 0,
2139
- 1,
2140
- );
2141
- this.nodeRL = initDim(
2142
- Lorg_cubing_min2phase_client_CoordCube_2_classLit,
2143
- $intern_3,
2144
- 31,
2145
- 21,
2146
- 0,
2147
- 1,
2148
- );
2149
- this.nodeFB = initDim(
2150
- Lorg_cubing_min2phase_client_CoordCube_2_classLit,
2151
- $intern_3,
2152
- 31,
2153
- 21,
2154
- 0,
2155
- 1,
2156
- );
1358
+ this.nodeUD = initDim(Lorg_cubing_min2phase_client_CoordCube_2_classLit, $intern_3, 31, 21, 0, 1);
1359
+ this.nodeRL = initDim(Lorg_cubing_min2phase_client_CoordCube_2_classLit, $intern_3, 31, 21, 0, 1);
1360
+ this.nodeFB = initDim(Lorg_cubing_min2phase_client_CoordCube_2_classLit, $intern_3, 31, 21, 0, 1);
2157
1361
  this.cc = new CubieCube();
2158
- this.urfCubieCube = initDim(
2159
- Lorg_cubing_min2phase_client_CubieCube_2_classLit,
2160
- $intern_3,
2161
- 7,
2162
- 6,
2163
- 0,
2164
- 1,
2165
- );
2166
- this.urfCoordCube = initDim(
2167
- Lorg_cubing_min2phase_client_CoordCube_2_classLit,
2168
- $intern_3,
2169
- 31,
2170
- 6,
2171
- 0,
2172
- 1,
2173
- );
2174
- this.phase1Cubie = initDim(
2175
- Lorg_cubing_min2phase_client_CubieCube_2_classLit,
2176
- $intern_3,
2177
- 7,
2178
- 21,
2179
- 0,
2180
- 1,
2181
- );
2182
- this.preMoveCubes = initDim(
2183
- Lorg_cubing_min2phase_client_CubieCube_2_classLit,
2184
- $intern_3,
2185
- 7,
2186
- 21,
2187
- 0,
2188
- 1,
2189
- );
1362
+ this.urfCubieCube = initDim(Lorg_cubing_min2phase_client_CubieCube_2_classLit, $intern_3, 7, 6, 0, 1);
1363
+ this.urfCoordCube = initDim(Lorg_cubing_min2phase_client_CoordCube_2_classLit, $intern_3, 31, 6, 0, 1);
1364
+ this.phase1Cubie = initDim(Lorg_cubing_min2phase_client_CubieCube_2_classLit, $intern_3, 7, 21, 0, 1);
1365
+ this.preMoveCubes = initDim(Lorg_cubing_min2phase_client_CubieCube_2_classLit, $intern_3, 7, 21, 0, 1);
2190
1366
  this.preMoves = initDim(I_classLit, $intern_27, 0, 20, 7, 1);
2191
1367
  for (i0 = 0; i0 < 21; i0++) {
2192
1368
  this.nodeUD[i0] = new CoordCube();
@@ -2202,7 +1378,6 @@ function Search() {
2202
1378
  this.preMoveCubes[i + 1] = new CubieCube();
2203
1379
  }
2204
1380
  }
2205
-
2206
1381
  defineClass(72, 1, {}, Search);
2207
1382
  _.allowShorter = false;
2208
1383
  _.conjMask = 0;
@@ -2220,205 +1395,61 @@ _.solLen = 0;
2220
1395
  _.urfIdx = 0;
2221
1396
  _.valid1 = 0;
2222
1397
  _.verbose = 0;
2223
- var MAX_DEPTH2 = 12,
2224
- MIN_P1LENGTH_PRE = 7;
2225
- let $clinit_Util_ran = false;
1398
+ var MAX_DEPTH2 = 12;
1399
+ var MIN_P1LENGTH_PRE = 7;
1400
+ var $clinit_Util_ran = false;
2226
1401
  function $clinit_Util() {
2227
1402
  if ($clinit_Util_ran) {
2228
1403
  return;
2229
1404
  }
2230
1405
  $clinit_Util_ran = true;
2231
1406
  var i, i0, i1, ix, j, jx;
2232
- cornerFacelet = initValues(
2233
- getClassLiteralForArray(B_classLit, 2),
2234
- $intern_3,
2235
- 10,
2236
- 0,
2237
- [
2238
- initValues(
2239
- getClassLiteralForArray(B_classLit, 1),
2240
- $intern_30,
2241
- 0,
2242
- 7,
2243
- [8, 9, 20],
2244
- ),
2245
- initValues(
2246
- getClassLiteralForArray(B_classLit, 1),
2247
- $intern_30,
2248
- 0,
2249
- 7,
2250
- [6, 18, 38],
2251
- ),
2252
- initValues(
2253
- getClassLiteralForArray(B_classLit, 1),
2254
- $intern_30,
2255
- 0,
2256
- 7,
2257
- [0, 36, 47],
2258
- ),
2259
- initValues(
2260
- getClassLiteralForArray(B_classLit, 1),
2261
- $intern_30,
2262
- 0,
2263
- 7,
2264
- [2, 45, 11],
2265
- ),
2266
- initValues(
2267
- getClassLiteralForArray(B_classLit, 1),
2268
- $intern_30,
2269
- 0,
2270
- 7,
2271
- [29, 26, 15],
2272
- ),
2273
- initValues(
2274
- getClassLiteralForArray(B_classLit, 1),
2275
- $intern_30,
2276
- 0,
2277
- 7,
2278
- [27, 44, 24],
2279
- ),
2280
- initValues(
2281
- getClassLiteralForArray(B_classLit, 1),
2282
- $intern_30,
2283
- 0,
2284
- 7,
2285
- [33, 53, 42],
2286
- ),
2287
- initValues(
2288
- getClassLiteralForArray(B_classLit, 1),
2289
- $intern_30,
2290
- 0,
2291
- 7,
2292
- [35, 17, 51],
2293
- ),
2294
- ],
2295
- );
2296
- edgeFacelet = initValues(
2297
- getClassLiteralForArray(B_classLit, 2),
2298
- $intern_3,
2299
- 10,
2300
- 0,
2301
- [
2302
- initValues(
2303
- getClassLiteralForArray(B_classLit, 1),
2304
- $intern_30,
2305
- 0,
2306
- 7,
2307
- [5, 10],
2308
- ),
2309
- initValues(
2310
- getClassLiteralForArray(B_classLit, 1),
2311
- $intern_30,
2312
- 0,
2313
- 7,
2314
- [7, 19],
2315
- ),
2316
- initValues(
2317
- getClassLiteralForArray(B_classLit, 1),
2318
- $intern_30,
2319
- 0,
2320
- 7,
2321
- [3, 37],
2322
- ),
2323
- initValues(
2324
- getClassLiteralForArray(B_classLit, 1),
2325
- $intern_30,
2326
- 0,
2327
- 7,
2328
- [1, 46],
2329
- ),
2330
- initValues(
2331
- getClassLiteralForArray(B_classLit, 1),
2332
- $intern_30,
2333
- 0,
2334
- 7,
2335
- [32, 16],
2336
- ),
2337
- initValues(
2338
- getClassLiteralForArray(B_classLit, 1),
2339
- $intern_30,
2340
- 0,
2341
- 7,
2342
- [28, 25],
2343
- ),
2344
- initValues(
2345
- getClassLiteralForArray(B_classLit, 1),
2346
- $intern_30,
2347
- 0,
2348
- 7,
2349
- [30, 43],
2350
- ),
2351
- initValues(
2352
- getClassLiteralForArray(B_classLit, 1),
2353
- $intern_30,
2354
- 0,
2355
- 7,
2356
- [34, 52],
2357
- ),
2358
- initValues(
2359
- getClassLiteralForArray(B_classLit, 1),
2360
- $intern_30,
2361
- 0,
2362
- 7,
2363
- [23, 12],
2364
- ),
2365
- initValues(
2366
- getClassLiteralForArray(B_classLit, 1),
2367
- $intern_30,
2368
- 0,
2369
- 7,
2370
- [21, 41],
2371
- ),
2372
- initValues(
2373
- getClassLiteralForArray(B_classLit, 1),
2374
- $intern_30,
2375
- 0,
2376
- 7,
2377
- [50, 39],
2378
- ),
2379
- initValues(
2380
- getClassLiteralForArray(B_classLit, 1),
2381
- $intern_30,
2382
- 0,
2383
- 7,
2384
- [48, 14],
2385
- ),
2386
- ],
2387
- );
1407
+ cornerFacelet = initValues(getClassLiteralForArray(B_classLit, 2), $intern_3, 10, 0, [
1408
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [8, 9, 20]),
1409
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [6, 18, 38]),
1410
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [0, 36, 47]),
1411
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [2, 45, 11]),
1412
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [29, 26, 15]),
1413
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [27, 44, 24]),
1414
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [33, 53, 42]),
1415
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [35, 17, 51])
1416
+ ]);
1417
+ edgeFacelet = initValues(getClassLiteralForArray(B_classLit, 2), $intern_3, 10, 0, [
1418
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [5, 10]),
1419
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [7, 19]),
1420
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [3, 37]),
1421
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [1, 46]),
1422
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [32, 16]),
1423
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [28, 25]),
1424
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [30, 43]),
1425
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [34, 52]),
1426
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [23, 12]),
1427
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [21, 41]),
1428
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [50, 39]),
1429
+ initValues(getClassLiteralForArray(B_classLit, 1), $intern_30, 0, 7, [48, 14])
1430
+ ]);
2388
1431
  Cnk = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [13, 13], 2);
2389
- move2str = initValues(
2390
- getClassLiteralForArray(Ljava_lang_String_2_classLit, 1),
2391
- $intern_3,
2392
- 2,
2393
- 4,
2394
- [
2395
- "U ",
2396
- "U2",
2397
- "U'",
2398
- "R ",
2399
- "R2",
2400
- "R'",
2401
- "F ",
2402
- "F2",
2403
- "F'",
2404
- "D ",
2405
- "D2",
2406
- "D'",
2407
- "L ",
2408
- "L2",
2409
- "L'",
2410
- "B ",
2411
- "B2",
2412
- "B'",
2413
- ],
2414
- );
2415
- ud2std = initValues(
2416
- getClassLiteralForArray(I_classLit, 1),
2417
- $intern_27,
2418
- 0,
2419
- 7,
2420
- [0, 1, 2, 4, 7, 9, 10, 11, 13, 16, 3, 5, 6, 8, 12, 14, 15, 17],
2421
- );
1432
+ move2str = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_3, 2, 4, [
1433
+ "U ",
1434
+ "U2",
1435
+ "U'",
1436
+ "R ",
1437
+ "R2",
1438
+ "R'",
1439
+ "F ",
1440
+ "F2",
1441
+ "F'",
1442
+ "D ",
1443
+ "D2",
1444
+ "D'",
1445
+ "L ",
1446
+ "L2",
1447
+ "L'",
1448
+ "B ",
1449
+ "B2",
1450
+ "B'"
1451
+ ]);
1452
+ ud2std = initValues(getClassLiteralForArray(I_classLit, 1), $intern_27, 0, 7, [0, 1, 2, 4, 7, 9, 10, 11, 13, 16, 3, 5, 6, 8, 12, 14, 15, 17]);
2422
1453
  std2ud = initDim(I_classLit, $intern_27, 0, 18, 7, 1);
2423
1454
  ckmv2bit = initDim(I_classLit, $intern_27, 0, 11, 7, 1);
2424
1455
  for (i0 = 0; i0 < 18; i0++) {
@@ -2429,7 +1460,7 @@ function $clinit_Util() {
2429
1460
  ckmv2bit[i1] = 0;
2430
1461
  for (j = 0; j < 10; j++) {
2431
1462
  jx = ~~(ud2std[j] / 3);
2432
- ckmv2bit[i1] |= (ix == jx || (ix % 3 == jx % 3 && ix >= jx) ? 1 : 0) << j;
1463
+ ckmv2bit[i1] |= (ix == jx || ix % 3 == jx % 3 && ix >= jx ? 1 : 0) << j;
2433
1464
  }
2434
1465
  }
2435
1466
  ckmv2bit[10] = 0;
@@ -2440,7 +1471,6 @@ function $clinit_Util() {
2440
1471
  }
2441
1472
  }
2442
1473
  }
2443
-
2444
1474
  function getComb(arr, mask, isEdge) {
2445
1475
  $clinit_Util();
2446
1476
  var end, i, idxC, perm, r;
@@ -2453,7 +1483,6 @@ function getComb(arr, mask, isEdge) {
2453
1483
  }
2454
1484
  return idxC;
2455
1485
  }
2456
-
2457
1486
  function getNParity(idx, n) {
2458
1487
  $clinit_Util();
2459
1488
  var i, p;
@@ -2464,7 +1493,6 @@ function getNParity(idx, n) {
2464
1493
  }
2465
1494
  return p & 1;
2466
1495
  }
2467
-
2468
1496
  function getNPerm(arr, n, isEdge) {
2469
1497
  $clinit_Util();
2470
1498
  var i, idx, v, val;
@@ -2477,11 +1505,9 @@ function getNPerm(arr, n, isEdge) {
2477
1505
  }
2478
1506
  return idx;
2479
1507
  }
2480
-
2481
1508
  function getVal(val0, isEdge) {
2482
1509
  return isEdge ? val0 >> 1 : val0 & 7;
2483
1510
  }
2484
-
2485
1511
  function setComb(arr, idxC, mask, isEdge) {
2486
1512
  $clinit_Util();
2487
1513
  var end, fill, i, r;
@@ -2498,7 +1524,6 @@ function setComb(arr, idxC, mask, isEdge) {
2498
1524
  }
2499
1525
  }
2500
1526
  }
2501
-
2502
1527
  function setNPerm(arr, idx, n, isEdge) {
2503
1528
  $clinit_Util();
2504
1529
  var extract, i, m, p, v, val;
@@ -2511,32 +1536,19 @@ function setNPerm(arr, idx, n, isEdge) {
2511
1536
  for (i = 0; i < n - 1; i++) {
2512
1537
  v = (toInt(extract) & 15) << 2;
2513
1538
  extract = shr(extract, 4);
2514
- arr[i] = setVal(
2515
- arr[i],
2516
- toInt(and(shr(val, v), { l: 15, m: 0, h: 0 })),
2517
- isEdge,
2518
- );
1539
+ arr[i] = setVal(arr[i], toInt(and(shr(val, v), { l: 15, m: 0, h: 0 })), isEdge);
2519
1540
  m = sub_0(shl({ l: 1, m: 0, h: 0 }, v), { l: 1, m: 0, h: 0 });
2520
- val = or(
2521
- and(val, m),
2522
- and(shr(val, 4), {
2523
- l: ~m.l & $intern_9,
2524
- m: ~m.m & $intern_9,
2525
- h: ~m.h & $intern_10,
2526
- }),
2527
- );
2528
- }
2529
- arr[n - 1] = setVal(
2530
- arr[n - 1],
2531
- toInt(and(val, { l: 15, m: 0, h: 0 })),
2532
- isEdge,
2533
- );
1541
+ val = or(and(val, m), and(shr(val, 4), {
1542
+ l: ~m.l & $intern_9,
1543
+ m: ~m.m & $intern_9,
1544
+ h: ~m.h & $intern_10
1545
+ }));
1546
+ }
1547
+ arr[n - 1] = setVal(arr[n - 1], toInt(and(val, { l: 15, m: 0, h: 0 })), isEdge);
2534
1548
  }
2535
-
2536
1549
  function setVal(val0, val, isEdge) {
2537
- return ((isEdge ? (val << 1) | (val0 & 1) : val | (val0 & -8)) << 24) >> 24;
1550
+ return (isEdge ? val << 1 | val0 & 1 : val | val0 & -8) << 24 >> 24;
2538
1551
  }
2539
-
2540
1552
  function toCubieCube(f, ccRet) {
2541
1553
  $clinit_Util();
2542
1554
  var col1, col2, i, i0, i1, i2, j, ori;
@@ -2554,36 +1566,32 @@ function toCubieCube(f, ccRet) {
2554
1566
  col1 = f[cornerFacelet[i2][(ori + 1) % 3]];
2555
1567
  col2 = f[cornerFacelet[i2][(ori + 2) % 3]];
2556
1568
  for (j = 0; j < 8; j++) {
2557
- if (
2558
- col1 == ~~(cornerFacelet[j][1] / 9) &&
2559
- col2 == ~~(cornerFacelet[j][2] / 9)
2560
- ) {
2561
- ccRet.ca[i2] = narrow_byte((ori % 3 << 3) | j);
1569
+ if (col1 == ~~(cornerFacelet[j][1] / 9) && col2 == ~~(cornerFacelet[j][2] / 9)) {
1570
+ ccRet.ca[i2] = narrow_byte(ori % 3 << 3 | j);
2562
1571
  break;
2563
1572
  }
2564
1573
  }
2565
1574
  }
2566
1575
  for (i = 0; i < 12; i++) {
2567
1576
  for (j = 0; j < 12; j++) {
2568
- if (
2569
- f[edgeFacelet[i][0]] == ~~(edgeFacelet[j][0] / 9) &&
2570
- f[edgeFacelet[i][1]] == ~~(edgeFacelet[j][1] / 9)
2571
- ) {
1577
+ if (f[edgeFacelet[i][0]] == ~~(edgeFacelet[j][0] / 9) && f[edgeFacelet[i][1]] == ~~(edgeFacelet[j][1] / 9)) {
2572
1578
  ccRet.ea[i] = narrow_byte(j << 1);
2573
1579
  break;
2574
1580
  }
2575
- if (
2576
- f[edgeFacelet[i][0]] == ~~(edgeFacelet[j][1] / 9) &&
2577
- f[edgeFacelet[i][1]] == ~~(edgeFacelet[j][0] / 9)
2578
- ) {
2579
- ccRet.ea[i] = narrow_byte((j << 1) | 1);
1581
+ if (f[edgeFacelet[i][0]] == ~~(edgeFacelet[j][1] / 9) && f[edgeFacelet[i][1]] == ~~(edgeFacelet[j][0] / 9)) {
1582
+ ccRet.ea[i] = narrow_byte(j << 1 | 1);
2580
1583
  break;
2581
1584
  }
2582
1585
  }
2583
1586
  }
2584
1587
  }
2585
-
2586
- var Cnk, ckmv2bit, cornerFacelet, edgeFacelet, move2str, std2ud, ud2std;
1588
+ var Cnk;
1589
+ var ckmv2bit;
1590
+ var cornerFacelet;
1591
+ var edgeFacelet;
1592
+ var move2str;
1593
+ var std2ud;
1594
+ var ud2std;
2587
1595
  function $appendSolMove(this$static, curMove) {
2588
1596
  var axisCur, axisLast, pow_0;
2589
1597
  if (this$static.length_0 == 0) {
@@ -2593,25 +1601,14 @@ function $appendSolMove(this$static, curMove) {
2593
1601
  axisCur = ~~(curMove / 3);
2594
1602
  axisLast = ~~(this$static.moves[this$static.length_0 - 1] / 3);
2595
1603
  if (axisCur == axisLast) {
2596
- pow_0 =
2597
- ((curMove % 3) + (this$static.moves[this$static.length_0 - 1] % 3) + 1) %
2598
- 4;
2599
- pow_0 == 3
2600
- ? --this$static.length_0
2601
- : (this$static.moves[this$static.length_0 - 1] = axisCur * 3 + pow_0);
1604
+ pow_0 = (curMove % 3 + this$static.moves[this$static.length_0 - 1] % 3 + 1) % 4;
1605
+ pow_0 == 3 ? --this$static.length_0 : this$static.moves[this$static.length_0 - 1] = axisCur * 3 + pow_0;
2602
1606
  return;
2603
1607
  }
2604
- if (
2605
- this$static.length_0 > 1 &&
2606
- axisCur % 3 == axisLast % 3 &&
2607
- axisCur == ~~(this$static.moves[this$static.length_0 - 2] / 3)
2608
- ) {
2609
- pow_0 =
2610
- ((curMove % 3) + (this$static.moves[this$static.length_0 - 2] % 3) + 1) %
2611
- 4;
1608
+ if (this$static.length_0 > 1 && axisCur % 3 == axisLast % 3 && axisCur == ~~(this$static.moves[this$static.length_0 - 2] / 3)) {
1609
+ pow_0 = (curMove % 3 + this$static.moves[this$static.length_0 - 2] % 3 + 1) % 4;
2612
1610
  if (pow_0 == 3) {
2613
- this$static.moves[this$static.length_0 - 2] =
2614
- this$static.moves[this$static.length_0 - 1];
1611
+ this$static.moves[this$static.length_0 - 2] = this$static.moves[this$static.length_0 - 1];
2615
1612
  --this$static.length_0;
2616
1613
  } else {
2617
1614
  this$static.moves[this$static.length_0 - 2] = axisCur * 3 + pow_0;
@@ -2620,56 +1617,31 @@ function $appendSolMove(this$static, curMove) {
2620
1617
  }
2621
1618
  this$static.moves[this$static.length_0++] = curMove;
2622
1619
  }
2623
-
2624
1620
  function $setArgs(this$static, verbose, urfIdx, depth1) {
2625
1621
  this$static.verbose = verbose;
2626
1622
  this$static.urfIdx = urfIdx;
2627
1623
  this$static.depth1 = depth1;
2628
1624
  }
2629
-
2630
1625
  function $toString_2(this$static) {
2631
1626
  var s, sb, urf;
2632
1627
  sb = new StringBuffer();
2633
- urf =
2634
- (this$static.verbose & 2) != 0
2635
- ? (this$static.urfIdx + 3) % 6
2636
- : this$static.urfIdx;
1628
+ urf = (this$static.verbose & 2) != 0 ? (this$static.urfIdx + 3) % 6 : this$static.urfIdx;
2637
1629
  if (urf < 3) {
2638
1630
  for (s = 0; s < this$static.length_0; s++) {
2639
- (this$static.verbose & 1) != 0 &&
2640
- s == this$static.depth1 &&
2641
- ((sb.string += ". "), sb);
2642
- $append(
2643
- $append_1(
2644
- sb,
2645
- ($clinit_Util(), move2str)[
2646
- ($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]
2647
- ],
2648
- ),
2649
- );
1631
+ (this$static.verbose & 1) != 0 && s == this$static.depth1 && (sb.string += ". ", sb);
1632
+ $append($append_1(sb, ($clinit_Util(), move2str)[($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]]));
2650
1633
  }
2651
1634
  } else {
2652
1635
  for (s = this$static.length_0 - 1; s >= 0; s--) {
2653
- $append(
2654
- $append_1(
2655
- sb,
2656
- ($clinit_Util(), move2str)[
2657
- ($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]
2658
- ],
2659
- ),
2660
- );
2661
- (this$static.verbose & 1) != 0 &&
2662
- s == this$static.depth1 &&
2663
- ((sb.string += ". "), sb);
1636
+ $append($append_1(sb, ($clinit_Util(), move2str)[($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]]));
1637
+ (this$static.verbose & 1) != 0 && s == this$static.depth1 && (sb.string += ". ", sb);
2664
1638
  }
2665
1639
  }
2666
1640
  return sb.string;
2667
1641
  }
2668
-
2669
1642
  function Util$Solution() {
2670
1643
  this.moves = initDim(I_classLit, $intern_27, 0, 31, 7, 1);
2671
1644
  }
2672
-
2673
1645
  defineClass(150, 1, {}, Util$Solution);
2674
1646
  _.depth1 = 0;
2675
1647
  _.length_0 = 0;
@@ -2677,23 +1649,21 @@ _.urfIdx = 0;
2677
1649
  _.verbose = 0;
2678
1650
  var I_classLit = createForPrimitive("int", "I");
2679
1651
  createForClass("com.google.gwt.lang", "CollapsedPropertyHolder", 252);
2680
-
2681
1652
  createForClass("com.google.gwt.lang", "JavaClassHierarchySetupUtil", 254);
2682
- const Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass(
2683
- "com.google.gwt.lang",
2684
- "LongLibBase/LongEmul",
2685
- null,
2686
- );
1653
+ var Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass("com.google.gwt.lang", "LongLibBase/LongEmul", null);
2687
1654
  createForClass("com.google.gwt.lang", "ModuleUtils", 257);
2688
- var B_classLit = createForPrimitive("byte", "B"),
2689
- J_classLit = createForPrimitive("long", "J"),
2690
- C_classLit = createForPrimitive("char", "C");
2691
- createForClass("com.google.gwt.user.client.rpc", "XsrfToken", null),
2692
- createForInterface("java.util", "Map/Entry");
2693
-
2694
- export const initialize = function () {
1655
+ var B_classLit = createForPrimitive("byte", "B");
1656
+ var J_classLit = createForPrimitive("long", "J");
1657
+ var C_classLit = createForPrimitive("char", "C");
1658
+ createForClass("com.google.gwt.user.client.rpc", "XsrfToken", null), createForInterface("java.util", "Map/Entry");
1659
+ var initialize = function() {
2695
1660
  init_0(false);
2696
1661
  };
2697
- export const solveState = function (s) {
1662
+ var solveState = function(s) {
2698
1663
  return $solution(new Search(), s);
2699
1664
  };
1665
+ export {
1666
+ initialize,
1667
+ solveState
1668
+ };
1669
+ //# sourceMappingURL=gwt-B7CBESZR.js.map