cubing 0.58.2 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/scramble.js +1 -1
- package/dist/bin/scramble.js.map +2 -2
- package/dist/lib/cubing/alg/index.d.ts +2 -2
- package/dist/lib/cubing/alg/index.js +1 -1
- package/dist/lib/cubing/bluetooth/index.d.ts +3 -3
- package/dist/lib/cubing/bluetooth/index.js +12 -9
- package/dist/lib/cubing/bluetooth/index.js.map +2 -2
- package/dist/lib/cubing/{bluetooth-puzzle-BIDZuWiS.d.ts → bluetooth-puzzle-CweI5h6j.d.ts} +1 -1
- package/dist/lib/cubing/chunks/{big-puzzle-orientation-CQUVRARW.js → big-puzzle-orientation-3GQ3L26S.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-3MMNI5O2.js → chunk-7D7ZUWUK.js} +8 -5
- package/dist/lib/cubing/chunks/{chunk-3MMNI5O2.js.map → chunk-7D7ZUWUK.js.map} +2 -2
- package/dist/lib/cubing/chunks/{chunk-BDJ57WFX.js → chunk-ABQAUY7H.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-7M7ZAS5G.js → chunk-AVOUJS6N.js} +3 -3
- package/dist/lib/cubing/chunks/chunk-AVOUJS6N.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-KRRCGESD.js → chunk-I4OWC23M.js} +68 -84
- package/dist/lib/cubing/chunks/chunk-I4OWC23M.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-LLQHQ7KT.js → chunk-OJI4YUWF.js} +6 -6
- package/dist/lib/cubing/chunks/{chunk-CZGLT7LF.js → chunk-PSQEELP4.js} +2 -2
- package/dist/lib/cubing/chunks/{chunk-SR66SYE2.js → chunk-QDEGPHPS.js} +2 -2
- package/dist/lib/cubing/chunks/chunk-QDEGPHPS.js.map +7 -0
- package/dist/lib/cubing/chunks/{chunk-GTMMBSYI.js → chunk-RUSWM2KK.js} +4 -4
- package/dist/lib/cubing/chunks/{chunk-C6NCOBGN.js → chunk-UD4LT3FY.js} +3 -3
- package/dist/lib/cubing/chunks/{chunk-DOOLIV56.js → chunk-V7MAXDP4.js} +5 -5
- package/dist/lib/cubing/chunks/{chunk-DOOLIV56.js.map → chunk-V7MAXDP4.js.map} +1 -1
- package/dist/lib/cubing/chunks/{chunk-XWYOASV3.js → chunk-WIZJQ7QS.js} +4 -4
- package/dist/lib/cubing/chunks/{inside-Q4UKUE5C.js → inside-4ARWPJBB.js} +35 -16
- package/dist/lib/cubing/chunks/inside-4ARWPJBB.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-KFGZMHFE.js → search-dynamic-sgs-side-events-SYC27DSG.js} +6 -6
- package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-MWWB3OYG.js → search-dynamic-sgs-unofficial-QGGV4PCJ.js} +6 -6
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-QGGV4PCJ.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-3x3x3-QHRLSVAC.js → search-dynamic-solve-3x3x3-B2L4IN34.js} +1 -1
- package/dist/lib/cubing/chunks/search-dynamic-solve-3x3x3-B2L4IN34.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-AOHNELZ2.js → search-dynamic-solve-4x4x4-AS5AIKBC.js} +7 -7
- package/dist/lib/cubing/chunks/{search-dynamic-solve-fto-BHX3R6ZT.js → search-dynamic-solve-fto-HZREG6ZH.js} +8 -8
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-HZREG6ZH.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-SAJCQILQ.js → search-dynamic-solve-kilominx-GCNVEBDJ.js} +2 -2
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-GCNVEBDJ.js.map +7 -0
- package/dist/lib/cubing/chunks/{search-dynamic-solve-master_tetraminx-3D4MBF3V.js → search-dynamic-solve-master_tetraminx-GIS7T5B7.js} +1 -1
- package/dist/lib/cubing/chunks/search-dynamic-solve-master_tetraminx-GIS7T5B7.js.map +7 -0
- package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
- package/dist/lib/cubing/chunks/search-worker-entry.js.map +2 -2
- package/dist/lib/cubing/chunks/{twisty-dynamic-3d-OY64TJYU.js → twisty-dynamic-3d-SIRF3JVR.js} +6 -6
- package/dist/lib/cubing/chunks/twsearch-SXB7BAMF.js +433 -0
- package/dist/lib/cubing/chunks/twsearch-SXB7BAMF.js.map +7 -0
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-2J7XXRGI-WOU3FVAE.js +10 -0
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-2J7XXRGI-WOU3FVAE.js.map +7 -0
- package/dist/lib/cubing/{index-1uDGfzzz.d.ts → index-DsFKu-dM.d.ts} +5 -2
- package/dist/lib/cubing/kpuzzle/index.d.ts +1 -1
- package/dist/lib/cubing/kpuzzle/index.js +2 -2
- package/dist/lib/cubing/notation/index.d.ts +1 -1
- package/dist/lib/cubing/notation/index.js +4 -4
- package/dist/lib/cubing/protocol/index.d.ts +1 -1
- package/dist/lib/cubing/protocol/index.js +4 -4
- package/dist/lib/cubing/puzzle-geometry/index.d.ts +2 -2
- package/dist/lib/cubing/puzzle-geometry/index.js +1 -1
- package/dist/lib/cubing/puzzles/index.d.ts +1 -1
- package/dist/lib/cubing/puzzles/index.js +4 -4
- package/dist/lib/cubing/scramble/index.d.ts +2 -2
- package/dist/lib/cubing/scramble/index.js +8 -6
- package/dist/lib/cubing/search/index.d.ts +2 -2
- package/dist/lib/cubing/search/index.js +6 -6
- package/dist/lib/cubing/stream/index.d.ts +2 -2
- package/dist/lib/cubing/stream/index.js +1 -1
- package/dist/lib/cubing/twisty/index.d.ts +2 -2
- package/dist/lib/cubing/twisty/index.js +10 -10
- package/dist/lib/cubing/twisty/index.js.map +2 -2
- package/experimental-json-schema/kpuzzle/KPatternData.schema.json +1 -1
- package/experimental-json-schema/kpuzzle/KPuzzleDefinition.schema.json +1 -1
- package/experimental-json-schema/kpuzzle/KTransformationData.schema.json +1 -1
- package/package.json +9 -10
- package/dist/lib/cubing/chunks/chunk-7M7ZAS5G.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-KRRCGESD.js.map +0 -7
- package/dist/lib/cubing/chunks/chunk-SR66SYE2.js.map +0 -7
- package/dist/lib/cubing/chunks/inside-Q4UKUE5C.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-MWWB3OYG.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-3x3x3-QHRLSVAC.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-fto-BHX3R6ZT.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-SAJCQILQ.js.map +0 -7
- package/dist/lib/cubing/chunks/search-dynamic-solve-master_tetraminx-3D4MBF3V.js.map +0 -7
- package/dist/lib/cubing/chunks/twsearch-T3W5T5WE.js +0 -481
- package/dist/lib/cubing/chunks/twsearch-T3W5T5WE.js.map +0 -7
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-Q5AYUFKA-AHAAY6HU.js +0 -10
- package/dist/lib/cubing/chunks/twsearch_wasm_bg-Q5AYUFKA-AHAAY6HU.js.map +0 -7
- package/dist/lib/cubing/{PuzzleLoader-BskBhUgu.d.ts → KPattern-DEaZMwD9.d.ts} +20 -20
- /package/dist/lib/cubing/chunks/{big-puzzle-orientation-CQUVRARW.js.map → big-puzzle-orientation-3GQ3L26S.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-BDJ57WFX.js.map → chunk-ABQAUY7H.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-LLQHQ7KT.js.map → chunk-OJI4YUWF.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-CZGLT7LF.js.map → chunk-PSQEELP4.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-GTMMBSYI.js.map → chunk-RUSWM2KK.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-C6NCOBGN.js.map → chunk-UD4LT3FY.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{chunk-XWYOASV3.js.map → chunk-WIZJQ7QS.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-KFGZMHFE.js.map → search-dynamic-sgs-side-events-SYC27DSG.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-AOHNELZ2.js.map → search-dynamic-solve-4x4x4-AS5AIKBC.js.map} +0 -0
- /package/dist/lib/cubing/chunks/{twisty-dynamic-3d-OY64TJYU.js.map → twisty-dynamic-3d-SIRF3JVR.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as Alg, K as KPattern, v as KPuzzle } from './
|
|
1
|
+
import { s as Alg, K as KPattern, v as KPuzzle } from './KPattern-DEaZMwD9.js';
|
|
2
2
|
|
|
3
3
|
declare enum PrefetchLevel {
|
|
4
4
|
Auto = "auto",
|
|
@@ -7,6 +7,7 @@ declare enum PrefetchLevel {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
declare function randomScrambleForEvent(eventID: string): Promise<Alg>;
|
|
10
|
+
declare function deriveScrambleForEvent(derivationSeedHex: string, derivationSaltHierarchy: string[], eventID: string): Promise<Alg>;
|
|
10
11
|
declare function experimentalSolve3x3x3IgnoringCenters(pattern: KPattern): Promise<Alg>;
|
|
11
12
|
declare function experimentalSolve2x2x2(pattern: KPattern): Promise<Alg>;
|
|
12
13
|
declare function solveSkewb(pattern: KPattern): Promise<Alg>;
|
|
@@ -25,7 +26,9 @@ interface SearchOutsideDebugGlobals {
|
|
|
25
26
|
disableStringWorker: boolean;
|
|
26
27
|
forceNewWorkerForEveryScramble: boolean;
|
|
27
28
|
showWorkerInstantiationWarnings: boolean;
|
|
29
|
+
prioritizeEsbuildWorkaroundForWorkerInstantiation: boolean;
|
|
30
|
+
allowDerivedScrambles: boolean;
|
|
28
31
|
}
|
|
29
32
|
declare function setSearchDebug(options: Partial<SearchOutsideDebugGlobals>): void;
|
|
30
33
|
|
|
31
|
-
export { experimentalSolve3x3x3IgnoringCenters as a, solveMegaminx as b, solvePyraminx as c, solveSkewb as d, experimentalSolve2x2x2 as e, solveTwsearch as f, randomScrambleForEvent as r, setSearchDebug as s };
|
|
34
|
+
export { experimentalSolve3x3x3IgnoringCenters as a, solveMegaminx as b, solvePyraminx as c, solveSkewb as d, experimentalSolve2x2x2 as e, solveTwsearch as f, deriveScrambleForEvent as g, randomScrambleForEvent as r, setSearchDebug as s };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { K as KPattern, aa as KPatternData, ab as KPatternOrbitData, v as KPuzzle, ac as KPuzzleDefinition, B as KTransformation, ad as KTransformationData, ae as KTransformationOrbitData } from '../
|
|
1
|
+
export { K as KPattern, aa as KPatternData, ab as KPatternOrbitData, v as KPuzzle, ac as KPuzzleDefinition, B as KTransformation, ad as KTransformationData, ae as KTransformationOrbitData } from '../KPattern-DEaZMwD9.js';
|
|
2
2
|
import 'three/src/Three.js';
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
countMetricMoves,
|
|
6
6
|
countMoves,
|
|
7
7
|
countMovesETM
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-UD4LT3FY.js";
|
|
9
|
+
import "../chunks/chunk-RUSWM2KK.js";
|
|
10
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
11
|
+
import "../chunks/chunk-7D7ZUWUK.js";
|
|
12
12
|
export {
|
|
13
13
|
CommonMetric as ExperimentalCommonMetric,
|
|
14
14
|
CommonMetricAlias as ExperimentalCommonMetricAlias,
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
spacedHexToBuffer,
|
|
6
6
|
twizzleBinaryToBinaryComponents,
|
|
7
7
|
twizzleBinaryToReid3x3x3
|
|
8
|
-
} from "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-ABQAUY7H.js";
|
|
9
|
+
import "../chunks/chunk-RUSWM2KK.js";
|
|
10
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
11
|
+
import "../chunks/chunk-7D7ZUWUK.js";
|
|
12
12
|
export {
|
|
13
13
|
binaryComponentsToReid3x3x3 as experimentalBinaryComponentsToReid3x3x3,
|
|
14
14
|
bufferToSpacedHex as experimentalBufferToSpacedHex,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { P as Perm } from '../
|
|
2
|
-
export { j as EXPERIMENTAL_PUZZLE_BASE_SHAPES, k as EXPERIMENTAL_PUZZLE_CUT_TYPES, i as ExperimentalPGNotation, l as ExperimentalPuzzleBaseShape, m as ExperimentalPuzzleCutDescription, n as ExperimentalPuzzleCutType, o as ExperimentalPuzzleDescription, a as ExperimentalPuzzleGeometryOptions, q as PuzzleGeometry, Q as Quat, S as StickerDat, b as StickerDatAxis, c as StickerDatFace, d as StickerDatSticker, g as getPG3DNamedPuzzles, e as getPuzzleDescriptionString, f as getPuzzleGeometryByDesc, h as getPuzzleGeometryByName, p as parseOptions, r as parsePuzzleDescription } from '../
|
|
1
|
+
import { P as Perm } from '../KPattern-DEaZMwD9.js';
|
|
2
|
+
export { j as EXPERIMENTAL_PUZZLE_BASE_SHAPES, k as EXPERIMENTAL_PUZZLE_CUT_TYPES, i as ExperimentalPGNotation, l as ExperimentalPuzzleBaseShape, m as ExperimentalPuzzleCutDescription, n as ExperimentalPuzzleCutType, o as ExperimentalPuzzleDescription, a as ExperimentalPuzzleGeometryOptions, q as PuzzleGeometry, Q as Quat, S as StickerDat, b as StickerDatAxis, c as StickerDatFace, d as StickerDatSticker, g as getPG3DNamedPuzzles, e as getPuzzleDescriptionString, f as getPuzzleGeometryByDesc, h as getPuzzleGeometryByName, p as parseOptions, r as parsePuzzleDescription } from '../KPattern-DEaZMwD9.js';
|
|
3
3
|
import 'three/src/Three.js';
|
|
4
4
|
|
|
5
5
|
declare function schreierSims(g: Perm[], disp: (s: string) => void): bigint;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as PuzzleID, t as PuzzleLoader, v as KPuzzle, q as PuzzleGeometry, E as ExperimentalStickering, w as StickeringMask, x as PuzzleSpecificSimplifyOptions, A as AlgLeaf, y as AlgTransformData } from '../
|
|
1
|
+
import { u as PuzzleID, t as PuzzleLoader, v as KPuzzle, q as PuzzleGeometry, E as ExperimentalStickering, w as StickeringMask, x as PuzzleSpecificSimplifyOptions, A as AlgLeaf, y as AlgTransformData } from '../KPattern-DEaZMwD9.js';
|
|
2
2
|
import 'three/src/Three.js';
|
|
3
3
|
|
|
4
4
|
interface EventInfo {
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
twizzleEvents,
|
|
6
6
|
wcaEventInfo,
|
|
7
7
|
wcaEvents
|
|
8
|
-
} from "../chunks/chunk-
|
|
8
|
+
} from "../chunks/chunk-WIZJQ7QS.js";
|
|
9
9
|
import {
|
|
10
10
|
cube3x3x3
|
|
11
|
-
} from "../chunks/chunk-
|
|
12
|
-
import "../chunks/chunk-
|
|
13
|
-
import "../chunks/chunk-
|
|
11
|
+
} from "../chunks/chunk-RUSWM2KK.js";
|
|
12
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
13
|
+
import "../chunks/chunk-7D7ZUWUK.js";
|
|
14
14
|
export {
|
|
15
15
|
cube2x2x2,
|
|
16
16
|
cube3x3x3,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
export { r as randomScrambleForEvent } from '../index-
|
|
1
|
+
import '../KPattern-DEaZMwD9.js';
|
|
2
|
+
export { g as experimentalDeriveScrambleForEvent, r as randomScrambleForEvent } from '../index-DsFKu-dM.js';
|
|
3
3
|
import 'three/src/Three.js';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import "../chunks/chunk-NAPITA3L.js";
|
|
2
2
|
import {
|
|
3
|
+
deriveScrambleForEvent,
|
|
3
4
|
randomScrambleForEvent
|
|
4
|
-
} from "../chunks/chunk-
|
|
5
|
-
import "../chunks/chunk-
|
|
5
|
+
} from "../chunks/chunk-I4OWC23M.js";
|
|
6
|
+
import "../chunks/chunk-OJI4YUWF.js";
|
|
6
7
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
7
8
|
import "../chunks/chunk-RDSQRW3G.js";
|
|
8
|
-
import "../chunks/chunk-
|
|
9
|
-
import "../chunks/chunk-
|
|
10
|
-
import "../chunks/chunk-
|
|
11
|
-
import "../chunks/chunk-
|
|
9
|
+
import "../chunks/chunk-WIZJQ7QS.js";
|
|
10
|
+
import "../chunks/chunk-RUSWM2KK.js";
|
|
11
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
12
|
+
import "../chunks/chunk-7D7ZUWUK.js";
|
|
12
13
|
export {
|
|
14
|
+
deriveScrambleForEvent as experimentalDeriveScrambleForEvent,
|
|
13
15
|
randomScrambleForEvent
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as KPattern } from '../
|
|
2
|
-
export { e as experimentalSolve2x2x2, a as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, s as setSearchDebug, b as solveMegaminx, c as solvePyraminx, d as solveSkewb } from '../index-
|
|
1
|
+
import { K as KPattern } from '../KPattern-DEaZMwD9.js';
|
|
2
|
+
export { e as experimentalSolve2x2x2, a as experimentalSolve3x3x3IgnoringCenters, f as experimentalSolveTwsearch, s as setSearchDebug, b as solveMegaminx, c as solvePyraminx, d as solveSkewb } from '../index-DsFKu-dM.js';
|
|
3
3
|
import 'three/src/Three.js';
|
|
4
4
|
|
|
5
5
|
declare function random333Pattern(): Promise<KPattern>;
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
solvePyraminx,
|
|
7
7
|
solveSkewb,
|
|
8
8
|
solveTwsearch
|
|
9
|
-
} from "../chunks/chunk-
|
|
9
|
+
} from "../chunks/chunk-I4OWC23M.js";
|
|
10
10
|
import {
|
|
11
11
|
random333Pattern
|
|
12
|
-
} from "../chunks/chunk-
|
|
12
|
+
} from "../chunks/chunk-OJI4YUWF.js";
|
|
13
13
|
import "../chunks/chunk-7GUL3OBQ.js";
|
|
14
14
|
import "../chunks/chunk-RDSQRW3G.js";
|
|
15
|
-
import "../chunks/chunk-
|
|
16
|
-
import "../chunks/chunk-
|
|
17
|
-
import "../chunks/chunk-
|
|
18
|
-
import "../chunks/chunk-
|
|
15
|
+
import "../chunks/chunk-WIZJQ7QS.js";
|
|
16
|
+
import "../chunks/chunk-RUSWM2KK.js";
|
|
17
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
18
|
+
import "../chunks/chunk-7D7ZUWUK.js";
|
|
19
19
|
export {
|
|
20
20
|
experimentalSolve2x2x2,
|
|
21
21
|
experimentalSolve3x3x3IgnoringCenters,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-
|
|
1
|
+
import '../KPattern-DEaZMwD9.js';
|
|
2
|
+
import { A as AlgLeafEvent, O as OrientationEvent } from '../bluetooth-puzzle-CweI5h6j.js';
|
|
3
3
|
import 'three/src/Three.js';
|
|
4
4
|
|
|
5
5
|
interface ProxyMoveEvent {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as AlgIndexer, v as KPuzzle, s as Alg, M as Move, T as Timestamp, K as KPattern, B as KTransformation, D as Duration, w as StickeringMask } from '../
|
|
2
|
-
export { F as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, C as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, u as PuzzleID, H as TwistyAlgEditor, I as TwistyAlgViewer, L as TwistyPlayer, J as TwistyPlayerConfig, O as TwizzleLink, V as VisualizationFormat, G as backViewLayouts } from '../
|
|
1
|
+
import { z as AlgIndexer, v as KPuzzle, s as Alg, M as Move, T as Timestamp, K as KPattern, B as KTransformation, D as Duration, w as StickeringMask } from '../KPattern-DEaZMwD9.js';
|
|
2
|
+
export { F as BackViewLayout, N as EXPERIMENTAL_PROP_NO_VALUE, C as ExperimentalMillisecondTimestamp, E as ExperimentalStickering, u as PuzzleID, H as TwistyAlgEditor, I as TwistyAlgViewer, L as TwistyPlayer, J as TwistyPlayerConfig, O as TwizzleLink, V as VisualizationFormat, G as backViewLayouts } from '../KPattern-DEaZMwD9.js';
|
|
3
3
|
import 'three/src/Three.js';
|
|
4
4
|
|
|
5
5
|
declare class SimpleAlgIndexer implements AlgIndexer {
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
rawRenderPooled,
|
|
18
18
|
setCameraFromOrbitCoordinates,
|
|
19
19
|
setTwistyDebug
|
|
20
|
-
} from "../chunks/chunk-
|
|
20
|
+
} from "../chunks/chunk-V7MAXDP4.js";
|
|
21
21
|
import {
|
|
22
22
|
countAnimatedLeaves,
|
|
23
23
|
countLeavesInExpansionForSimultaneousMoveIndexer,
|
|
24
24
|
countMetricMoves
|
|
25
|
-
} from "../chunks/chunk-
|
|
25
|
+
} from "../chunks/chunk-UD4LT3FY.js";
|
|
26
26
|
import {
|
|
27
27
|
puzzles
|
|
28
|
-
} from "../chunks/chunk-
|
|
28
|
+
} from "../chunks/chunk-WIZJQ7QS.js";
|
|
29
29
|
import {
|
|
30
30
|
cube3x3x3,
|
|
31
31
|
customPGPuzzleLoader,
|
|
32
32
|
getPartialAppendOptionsForPuzzleSpecificSimplifyOptions,
|
|
33
33
|
getPieceStickeringMask
|
|
34
|
-
} from "../chunks/chunk-
|
|
35
|
-
import "../chunks/chunk-
|
|
34
|
+
} from "../chunks/chunk-RUSWM2KK.js";
|
|
35
|
+
import "../chunks/chunk-PSQEELP4.js";
|
|
36
36
|
import {
|
|
37
37
|
Alg,
|
|
38
38
|
AlgBuilder,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
functionFromTraversal,
|
|
52
52
|
offsetMod,
|
|
53
53
|
startCharIndexKey
|
|
54
|
-
} from "../chunks/chunk-
|
|
54
|
+
} from "../chunks/chunk-7D7ZUWUK.js";
|
|
55
55
|
|
|
56
56
|
// src/cubing/twisty/controllers/indexer/AlgDuration.ts
|
|
57
57
|
function defaultDurationForAmount(amount) {
|
|
@@ -1650,7 +1650,7 @@ var Twisty3DSceneWrapper = class extends ManagedCustomElement {
|
|
|
1650
1650
|
super();
|
|
1651
1651
|
this.model = model;
|
|
1652
1652
|
}
|
|
1653
|
-
// @ts-
|
|
1653
|
+
// @ts-expect-error TypeScript type inference appears to be borked: ts(2322)
|
|
1654
1654
|
#backViewClassListManager = new ClassListManager(this, "back-view-", [
|
|
1655
1655
|
"auto",
|
|
1656
1656
|
"none",
|
|
@@ -1672,7 +1672,7 @@ var Twisty3DSceneWrapper = class extends ManagedCustomElement {
|
|
|
1672
1672
|
);
|
|
1673
1673
|
this.#freshListenerManager.addListener(
|
|
1674
1674
|
this.model.backView,
|
|
1675
|
-
// @ts-
|
|
1675
|
+
// @ts-expect-error TypeScript type inference appears to be borked: ts(2322)
|
|
1676
1676
|
this.setBackView.bind(this)
|
|
1677
1677
|
);
|
|
1678
1678
|
}
|
|
@@ -2264,7 +2264,7 @@ var TwistyScrubber = class extends ManagedCustomElement {
|
|
|
2264
2264
|
}
|
|
2265
2265
|
const inputElem = await this.inputElem();
|
|
2266
2266
|
await this.slowDown(e, inputElem);
|
|
2267
|
-
const value = parseInt(inputElem.value);
|
|
2267
|
+
const value = parseInt(inputElem.value, 10);
|
|
2268
2268
|
this.model?.playingInfo.set({ playing: false });
|
|
2269
2269
|
this.model?.timestampRequest.set(value);
|
|
2270
2270
|
}
|
|
@@ -2300,7 +2300,7 @@ var TwistyScrubber = class extends ManagedCustomElement {
|
|
|
2300
2300
|
if (yDist > 64) {
|
|
2301
2301
|
scale = Math.max(2 ** (-(yDist - 64) / 64), 1 / 32);
|
|
2302
2302
|
}
|
|
2303
|
-
const preVal = parseInt(inputElem.value);
|
|
2303
|
+
const preVal = parseInt(inputElem.value, 10);
|
|
2304
2304
|
console.log("cl", currentClickNum, clickNum, preVal);
|
|
2305
2305
|
if (currentClickNum === clickNum) {
|
|
2306
2306
|
const delta = (preVal - lastPreval) * scale;
|