cubing 0.53.8 → 0.53.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/cubing/{PuzzleLoader-DIRtjF9X.d.ts → PuzzleLoader-BN2CTwbG.d.ts} +1 -0
- package/dist/lib/cubing/{TwizzleLink.d-DjvNu9pZ.d.ts → TwizzleLink.d-Dl_V74VW.d.ts} +4 -3
- package/dist/lib/cubing/alg/index.d.ts +3 -3
- package/dist/lib/cubing/bluetooth/index.d.ts +6 -6
- package/dist/lib/cubing/bluetooth/index.js +3 -3
- package/dist/lib/cubing/{bluetooth-puzzle.d-DOmkUdep.d.ts → bluetooth-puzzle.d-9F8pLnkE.d.ts} +2 -2
- package/dist/lib/cubing/chunks/{chunk-Y3IDQC5A.js → chunk-2DFT7OFB.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-SPVYKTCP.js → chunk-IMO4YKJO.js} +10 -1
- package/dist/lib/cubing/chunks/chunk-IMO4YKJO.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-576MXDEF.js → chunk-IPUTXJEJ.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-QEQT4IRI.js → chunk-IUGWUN3A.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-QEQT4IRI.js.map → chunk-IUGWUN3A.js.map} +2 -2
- package/dist/lib/cubing/chunks/{chunk-NMKKPUZW.js → chunk-KZE4TK74.js} +81 -21
- package/dist/lib/cubing/chunks/chunk-KZE4TK74.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-MTXM5RS4.js → chunk-MNGQLIZL.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-L2MEEU4Q.js → chunk-QKXGO73I.js} +3 -3
- package/dist/lib/cubing/chunks/{inside-T3O22WWD.js → inside-J4WWIDHX.js} +16 -10
- package/dist/lib/cubing/chunks/inside-J4WWIDHX.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-GSDLVL2Z.js → search-dynamic-sgs-side-events-CR5RLWPU.js} +3 -3
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-KOQT6CII.js → search-dynamic-sgs-unofficial-BR77UWSI.js} +3 -3
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-M2VFH2JJ.js → search-dynamic-solve-4x4x4-IZCDQQE7.js} +5 -5
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/chunks/{twisty-dynamic-3d-Q6UZ4CCL.js → twisty-dynamic-3d-UD3G3HVY.js} +4 -4
- package/dist/lib/cubing/chunks/{twsearch-DACM53TI.js → twsearch-LSIWNQVN.js} +55 -55
- package/dist/lib/cubing/chunks/{twsearch-DACM53TI.js.map → twsearch-LSIWNQVN.js.map} +2 -2
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-QXJPXLXJ-UZQ2OJYN.js +15 -0
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-QXJPXLXJ-UZQ2OJYN.js.map +7 -0
- package/dist/lib/cubing/{index-CNCqtUrz.d.ts → index-BKODmlbd.d.ts} +4 -3
- package/dist/lib/cubing/{index-B9ExLTgf.d.ts → index-DR8lwjeP.d.ts} +7 -7
- package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
- package/dist/lib/cubing/notation/index.d.ts +4 -4
- package/dist/lib/cubing/notation/index.js +2 -2
- package/dist/lib/cubing/{parseAlg.d-DYKpQgll.d.ts → parseAlg.d-DewXU-Sn.d.ts} +1 -1
- package/dist/lib/cubing/protocol/index.d.ts +2 -2
- package/dist/lib/cubing/protocol/index.js +2 -2
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +3 -3
- package/dist/lib/cubing/puzzles/index.d.ts +4 -4
- package/dist/lib/cubing/puzzles/index.js +2 -2
- package/dist/lib/cubing/scramble/index.d.ts +3 -3
- package/dist/lib/cubing/scramble/index.js +4 -4
- package/dist/lib/cubing/search/index.d.ts +3 -3
- package/dist/lib/cubing/search/index.js +4 -4
- package/dist/lib/cubing/stream/index.d.ts +5 -5
- package/dist/lib/cubing/twisty/index.d.ts +5 -5
- package/dist/lib/cubing/twisty/index.js +12 -6
- package/dist/lib/cubing/twisty/index.js.map +2 -2
- package/package.json +10 -10
- package/dist/lib/cubing/chunks/chunk-NMKKPUZW.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-SPVYKTCP.js.map +0 -7
- package/dist/lib/cubing/chunks/inside-T3O22WWD.js.map +0 -7
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-EDFRIWUK-BXQ7VHRF.js +0 -15
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-EDFRIWUK-BXQ7VHRF.js.map +0 -7
- /package/dist/lib/cubing/chunks/{chunk-Y3IDQC5A.js.map → chunk-2DFT7OFB.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-576MXDEF.js.map → chunk-IPUTXJEJ.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-MTXM5RS4.js.map → chunk-MNGQLIZL.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-L2MEEU4Q.js.map → chunk-QKXGO73I.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-GSDLVL2Z.js.map → search-dynamic-sgs-side-events-CR5RLWPU.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-KOQT6CII.js.map → search-dynamic-sgs-unofficial-BR77UWSI.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-M2VFH2JJ.js.map → search-dynamic-solve-4x4x4-IZCDQQE7.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{twisty-dynamic-3d-Q6UZ4CCL.js.map → twisty-dynamic-3d-UD3G3HVY.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Alg } from './PuzzleLoader-
|
|
2
|
-
import { K as KPattern, s as KPuzzle } from './index-
|
|
1
|
+
import { A as Alg } from './PuzzleLoader-BN2CTwbG.js';
|
|
2
|
+
import { K as KPattern, s as KPuzzle } from './index-DR8lwjeP.js';
|
|
3
3
|
|
|
4
4
|
declare enum PrefetchLevel {
|
|
5
5
|
Auto = "auto",
|
|
@@ -15,8 +15,9 @@ declare function solvePyraminx(pattern: KPattern): Promise<Alg>;
|
|
|
15
15
|
declare function solveMegaminx(pattern: KPattern): Promise<Alg>;
|
|
16
16
|
interface SolveTwsearchOptions {
|
|
17
17
|
generatorMoves?: string[];
|
|
18
|
-
|
|
18
|
+
targetPattern?: KPattern;
|
|
19
19
|
minDepth?: number;
|
|
20
|
+
maxDepth?: number;
|
|
20
21
|
}
|
|
21
22
|
declare function solveTwsearch(kpuzzle: KPuzzle, pattern: KPattern, options?: SolveTwsearchOptions): Promise<Alg>;
|
|
22
23
|
interface SearchOutsideDebugGlobals {
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { M as Move, A as Alg } from './PuzzleLoader-
|
|
2
|
-
|
|
3
|
-
type PuzzleDescriptionString = string;
|
|
4
|
-
declare const PGPuzzles: {
|
|
5
|
-
[name: string]: PuzzleDescriptionString;
|
|
6
|
-
};
|
|
7
|
-
type PuzzleName = keyof typeof PGPuzzles;
|
|
1
|
+
import { M as Move, A as Alg } from './PuzzleLoader-BN2CTwbG.js';
|
|
8
2
|
|
|
9
3
|
interface NotationMapper {
|
|
10
4
|
notationToInternal(move: Move): Move | null;
|
|
@@ -329,6 +323,12 @@ declare class VisibleState extends PGTransformBase {
|
|
|
329
323
|
mul(b: PGTransform): VisibleState;
|
|
330
324
|
}
|
|
331
325
|
|
|
326
|
+
type PuzzleDescriptionString = string;
|
|
327
|
+
declare const PGPuzzles: {
|
|
328
|
+
[name: string]: PuzzleDescriptionString;
|
|
329
|
+
};
|
|
330
|
+
type PuzzleName = keyof typeof PGPuzzles;
|
|
331
|
+
|
|
332
332
|
declare class Quat {
|
|
333
333
|
a: number;
|
|
334
334
|
b: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { K as KPattern, w as KPatternData, x as KPatternOrbitData, s as KPuzzle, v as KPuzzleDefinition, t as KTransformation, y as KTransformationData, z as KTransformationOrbitData } from '../index-
|
|
2
|
-
import '../PuzzleLoader-
|
|
1
|
+
export { K as KPattern, w as KPatternData, x as KPatternOrbitData, s as KPuzzle, v as KPuzzleDefinition, t as KTransformation, y as KTransformationData, z as KTransformationOrbitData } from '../index-DR8lwjeP.js';
|
|
2
|
+
import '../PuzzleLoader-BN2CTwbG.js';
|
|
3
3
|
import 'three';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { A as Alg } from '../PuzzleLoader-
|
|
2
|
-
import { P as PuzzleLoader } from '../TwizzleLink.d-
|
|
1
|
+
import { A as Alg } from '../PuzzleLoader-BN2CTwbG.js';
|
|
2
|
+
import { P as PuzzleLoader } from '../TwizzleLink.d-Dl_V74VW.js';
|
|
3
3
|
import 'three';
|
|
4
|
-
import '../parseAlg.d-
|
|
5
|
-
import '../index-
|
|
4
|
+
import '../parseAlg.d-DewXU-Sn.js';
|
|
5
|
+
import '../index-DR8lwjeP.js';
|
|
6
6
|
|
|
7
7
|
declare enum CommonMetric {
|
|
8
8
|
OuterBlockTurnMetric = "OBTM",
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
countMetricMoves,
|
|
6
6
|
countMoves,
|
|
7
7
|
countMovesETM
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-IPUTXJEJ.js";
|
|
9
|
+
import "../chunks/chunk-IMO4YKJO.js";
|
|
10
10
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
11
11
|
import "../chunks/chunk-2SBMIHZV.js";
|
|
12
12
|
export {
|
|
@@ -5,8 +5,8 @@ import {
|
|
|
5
5
|
spacedHexToBuffer,
|
|
6
6
|
twizzleBinaryToBinaryComponents,
|
|
7
7
|
twizzleBinaryToReid3x3x3
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-2DFT7OFB.js";
|
|
9
|
+
import "../chunks/chunk-IMO4YKJO.js";
|
|
10
10
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
11
11
|
import "../chunks/chunk-2SBMIHZV.js";
|
|
12
12
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { P as Perm } from '../index-
|
|
2
|
-
export { q as EXPERIMENTAL_PUZZLE_BASE_SHAPES, n as EXPERIMENTAL_PUZZLE_CUT_TYPES, k as ExperimentalPGNotation, r as ExperimentalPuzzleBaseShape, l as ExperimentalPuzzleCutDescription, o as ExperimentalPuzzleCutType, m as ExperimentalPuzzleDescription, j as ExperimentalPuzzleGeometryOptions, d as PuzzleGeometry, Q as Quat, S as StickerDat, e as StickerDatAxis, f as StickerDatFace, h as StickerDatSticker, c as getPG3DNamedPuzzles, g as getPuzzleDescriptionString, a as getPuzzleGeometryByDesc, b as getPuzzleGeometryByName, i as parseOptions, p as parsePuzzleDescription } from '../index-
|
|
3
|
-
import '../PuzzleLoader-
|
|
1
|
+
import { P as Perm } from '../index-DR8lwjeP.js';
|
|
2
|
+
export { q as EXPERIMENTAL_PUZZLE_BASE_SHAPES, n as EXPERIMENTAL_PUZZLE_CUT_TYPES, k as ExperimentalPGNotation, r as ExperimentalPuzzleBaseShape, l as ExperimentalPuzzleCutDescription, o as ExperimentalPuzzleCutType, m as ExperimentalPuzzleDescription, j as ExperimentalPuzzleGeometryOptions, d as PuzzleGeometry, Q as Quat, S as StickerDat, e as StickerDatAxis, f as StickerDatFace, h as StickerDatSticker, c as getPG3DNamedPuzzles, g as getPuzzleDescriptionString, a as getPuzzleGeometryByDesc, b as getPuzzleGeometryByName, i as parseOptions, p as parsePuzzleDescription } from '../index-DR8lwjeP.js';
|
|
3
|
+
import '../PuzzleLoader-BN2CTwbG.js';
|
|
4
4
|
import 'three';
|
|
5
5
|
|
|
6
6
|
declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as PuzzleID, P as PuzzleLoader, E as ExperimentalStickering, S as StickeringMask } from '../TwizzleLink.d-
|
|
2
|
-
import { P as PuzzleSpecificSimplifyOptions, b as AlgLeaf } from '../PuzzleLoader-
|
|
3
|
-
import { s as KPuzzle, d as PuzzleGeometry } from '../index-
|
|
1
|
+
import { a as PuzzleID, P as PuzzleLoader, E as ExperimentalStickering, S as StickeringMask } from '../TwizzleLink.d-Dl_V74VW.js';
|
|
2
|
+
import { P as PuzzleSpecificSimplifyOptions, b as AlgLeaf } from '../PuzzleLoader-BN2CTwbG.js';
|
|
3
|
+
import { s as KPuzzle, d as PuzzleGeometry } from '../index-DR8lwjeP.js';
|
|
4
4
|
import 'three';
|
|
5
|
-
import '../parseAlg.d-
|
|
5
|
+
import '../parseAlg.d-DewXU-Sn.js';
|
|
6
6
|
|
|
7
7
|
interface EventInfo {
|
|
8
8
|
puzzleID: PuzzleID;
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
twizzleEvents,
|
|
7
7
|
wcaEventInfo,
|
|
8
8
|
wcaEvents
|
|
9
|
-
} from "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-KZE4TK74.js";
|
|
10
|
+
import "../chunks/chunk-IMO4YKJO.js";
|
|
11
11
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
12
12
|
import "../chunks/chunk-2SBMIHZV.js";
|
|
13
13
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { r as randomScrambleForEvent } from '../index-
|
|
2
|
-
import '../PuzzleLoader-
|
|
3
|
-
import '../index-
|
|
1
|
+
export { r as randomScrambleForEvent } from '../index-BKODmlbd.js';
|
|
2
|
+
import '../PuzzleLoader-BN2CTwbG.js';
|
|
3
|
+
import '../index-DR8lwjeP.js';
|
|
4
4
|
import 'three';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../chunks/chunk-NAPITA3L.js";
|
|
2
2
|
import {
|
|
3
3
|
randomScrambleForEvent
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
4
|
+
} from "../chunks/chunk-IUGWUN3A.js";
|
|
5
|
+
import "../chunks/chunk-MNGQLIZL.js";
|
|
6
6
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
7
7
|
import "../chunks/chunk-RDSQRW3G.js";
|
|
8
8
|
import "../chunks/chunk-YLS2ZYML.js";
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-KZE4TK74.js";
|
|
10
|
+
import "../chunks/chunk-IMO4YKJO.js";
|
|
11
11
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
12
12
|
import "../chunks/chunk-2SBMIHZV.js";
|
|
13
13
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setSearchDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../index-
|
|
2
|
-
import '../PuzzleLoader-
|
|
3
|
-
import { K as KPattern } from '../index-
|
|
1
|
+
export { a as experimentalSolve2x2x2, e as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, d as setSearchDebug, c as solveMegaminx, b as solvePyraminx, s as solveSkewb } from '../index-BKODmlbd.js';
|
|
2
|
+
import '../PuzzleLoader-BN2CTwbG.js';
|
|
3
|
+
import { K as KPattern } from '../index-DR8lwjeP.js';
|
|
4
4
|
import 'three';
|
|
5
5
|
|
|
6
6
|
declare function random333Pattern(): Promise<KPattern>;
|
|
@@ -6,15 +6,15 @@ import {
|
|
|
6
6
|
solvePyraminx,
|
|
7
7
|
solveSkewb,
|
|
8
8
|
solveTwsearch
|
|
9
|
-
} from "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-IUGWUN3A.js";
|
|
10
10
|
import {
|
|
11
11
|
random333Pattern
|
|
12
|
-
} from "../chunks/chunk-
|
|
12
|
+
} from "../chunks/chunk-MNGQLIZL.js";
|
|
13
13
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
14
14
|
import "../chunks/chunk-RDSQRW3G.js";
|
|
15
15
|
import "../chunks/chunk-YLS2ZYML.js";
|
|
16
|
-
import "../chunks/chunk-
|
|
17
|
-
import "../chunks/chunk-
|
|
16
|
+
import "../chunks/chunk-KZE4TK74.js";
|
|
17
|
+
import "../chunks/chunk-IMO4YKJO.js";
|
|
18
18
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
19
19
|
import "../chunks/chunk-2SBMIHZV.js";
|
|
20
20
|
export {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import '../PuzzleLoader-
|
|
2
|
-
import '../TwizzleLink.d-
|
|
3
|
-
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle.d-
|
|
1
|
+
import '../PuzzleLoader-BN2CTwbG.js';
|
|
2
|
+
import '../TwizzleLink.d-Dl_V74VW.js';
|
|
3
|
+
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle.d-9F8pLnkE.js';
|
|
4
4
|
import 'three';
|
|
5
|
-
import '../parseAlg.d-
|
|
6
|
-
import '../index-
|
|
5
|
+
import '../parseAlg.d-DewXU-Sn.js';
|
|
6
|
+
import '../index-DR8lwjeP.js';
|
|
7
7
|
|
|
8
8
|
interface ProxyMoveEvent {
|
|
9
9
|
event: "move";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink.d-
|
|
2
|
-
export { B as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, M as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, a as PuzzleID, d as TwistyAlgEditor, c as TwistyAlgViewer, b as TwistyPlayer, e as TwistyPlayerConfig, g as TwizzleLink, V as VisualizationFormat, f as backViewLayouts } from '../TwizzleLink.d-
|
|
3
|
-
import { A as Alg, M as Move } from '../PuzzleLoader-
|
|
4
|
-
import { s as KPuzzle, K as KPattern, t as KTransformation } from '../index-
|
|
1
|
+
import { A as AlgIndexer, T as Timestamp, D as Duration, S as StickeringMask } from '../TwizzleLink.d-Dl_V74VW.js';
|
|
2
|
+
export { B as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, M as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, a as PuzzleID, d as TwistyAlgEditor, c as TwistyAlgViewer, b as TwistyPlayer, e as TwistyPlayerConfig, g as TwizzleLink, V as VisualizationFormat, f as backViewLayouts } from '../TwizzleLink.d-Dl_V74VW.js';
|
|
3
|
+
import { A as Alg, M as Move } from '../PuzzleLoader-BN2CTwbG.js';
|
|
4
|
+
import { s as KPuzzle, K as KPattern, t as KTransformation } from '../index-DR8lwjeP.js';
|
|
5
5
|
import 'three';
|
|
6
|
-
import '../parseAlg.d-
|
|
6
|
+
import '../parseAlg.d-DewXU-Sn.js';
|
|
7
7
|
|
|
8
8
|
declare const twistyDebugGlobals: {
|
|
9
9
|
shareAllNewRenderers: "auto" | "always" | "never";
|
|
@@ -18,28 +18,30 @@ import {
|
|
|
18
18
|
rawRenderPooled,
|
|
19
19
|
setCameraFromOrbitCoordinates,
|
|
20
20
|
setTwistyDebug
|
|
21
|
-
} from "../chunks/chunk-
|
|
21
|
+
} from "../chunks/chunk-QKXGO73I.js";
|
|
22
22
|
import {
|
|
23
23
|
countAnimatedLeaves,
|
|
24
24
|
countLeavesInExpansionForSimultaneousMoveIndexer,
|
|
25
25
|
countMetricMoves
|
|
26
|
-
} from "../chunks/chunk-
|
|
26
|
+
} from "../chunks/chunk-IPUTXJEJ.js";
|
|
27
27
|
import {
|
|
28
28
|
cube3x3x3,
|
|
29
29
|
puzzles
|
|
30
|
-
} from "../chunks/chunk-
|
|
30
|
+
} from "../chunks/chunk-KZE4TK74.js";
|
|
31
31
|
import {
|
|
32
32
|
customPGPuzzleLoader,
|
|
33
33
|
getPartialAppendOptionsForPuzzleSpecificSimplifyOptions,
|
|
34
34
|
getPieceStickeringMask
|
|
35
|
-
} from "../chunks/chunk-
|
|
35
|
+
} from "../chunks/chunk-IMO4YKJO.js";
|
|
36
36
|
import "../chunks/chunk-TA6HSIQ6.js";
|
|
37
37
|
import {
|
|
38
38
|
Alg,
|
|
39
39
|
AlgBuilder,
|
|
40
40
|
Conjugate,
|
|
41
41
|
Grouping,
|
|
42
|
+
LineComment,
|
|
42
43
|
Move,
|
|
44
|
+
Newline,
|
|
43
45
|
Pause,
|
|
44
46
|
TraversalDownUp,
|
|
45
47
|
TraversalUp,
|
|
@@ -2259,12 +2261,16 @@ var LocalSimulMoves = class extends TraversalUp {
|
|
|
2259
2261
|
if (alg.experimentalIsEmpty()) {
|
|
2260
2262
|
return [];
|
|
2261
2263
|
}
|
|
2264
|
+
const moves = [];
|
|
2262
2265
|
for (const algNode of alg.childAlgNodes()) {
|
|
2263
|
-
if (!algNode.is(Move)) {
|
|
2266
|
+
if (!(algNode.is(Move) || algNode.is(LineComment) || algNode.is(Newline))) {
|
|
2264
2267
|
return this.traverseAlg(alg);
|
|
2265
2268
|
}
|
|
2269
|
+
const asMove = algNode.as(Move);
|
|
2270
|
+
if (asMove) {
|
|
2271
|
+
moves.push(asMove);
|
|
2272
|
+
}
|
|
2266
2273
|
}
|
|
2267
|
-
const moves = Array.from(alg.childAlgNodes());
|
|
2268
2274
|
let maxSimulDur = defaultDurationForAmount(moves[0].amount);
|
|
2269
2275
|
for (let i = 0; i < moves.length - 1; i++) {
|
|
2270
2276
|
for (let j = 1; j < moves.length; j++) {
|