cubing 0.65.1 → 0.65.2

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 (77) hide show
  1. package/dist/bin/chunks/{chunk-PDPPBQ4O.js → chunk-Z5QOJAME.js} +2 -2
  2. package/dist/bin/order.js +1 -1
  3. package/dist/bin/puzzle-geometry-bin.js +1 -1
  4. package/dist/bin/scramble.js +1 -1
  5. package/dist/bin/svg.js +1 -1
  6. package/dist/lib/cubing/alg/index.d.ts +2 -2
  7. package/dist/lib/cubing/alg/index.js +1 -1
  8. package/dist/lib/cubing/bluetooth/index.d.ts +12 -13
  9. package/dist/lib/cubing/bluetooth/index.js +5 -5
  10. package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js → big-puzzle-orientation-7WHPJCCO.js} +2 -2
  11. package/dist/lib/cubing/chunks/{chunk-4ADGSRLK.js → chunk-2BVL5OQE.js} +5 -5
  12. package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js → chunk-2IA2R7XV.js} +4 -4
  13. package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js → chunk-5FXQPBXH.js} +4 -4
  14. package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js → chunk-6K433TB5.js} +3 -3
  15. package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js → chunk-BQPY6252.js} +2 -2
  16. package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js → chunk-IRY6MBI2.js} +3 -3
  17. package/dist/lib/cubing/chunks/{chunk-DT3GVMDI.js → chunk-MFKLAFPQ.js} +3 -3
  18. package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js → chunk-MIHF623Z.js} +3 -3
  19. package/dist/lib/cubing/chunks/{chunk-YFNXHRNE.js → chunk-UP5VP7GL.js} +60 -7
  20. package/dist/lib/cubing/chunks/chunk-UP5VP7GL.js.map +7 -0
  21. package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js → chunk-YSAQ6DRT.js} +2 -2
  22. package/dist/lib/cubing/chunks/{inside-IHWUJJ56.js → inside-N5WSMI7I.js} +14 -14
  23. package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js → search-dynamic-sgs-side-events-5EIXNDVI.js} +6 -6
  24. package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-OLK64DE6.js → search-dynamic-sgs-unofficial-Y7SIOVIX.js} +6 -6
  25. package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-Y7SIOVIX.js.map +7 -0
  26. package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-2A2XBBWI.js → search-dynamic-solve-4x4x4-FRAX3IPQ.js} +7 -7
  27. package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-FRAX3IPQ.js.map +7 -0
  28. package/dist/lib/cubing/chunks/{search-dynamic-solve-fto-ZZKLTONP.js → search-dynamic-solve-fto-TI4TFL6X.js} +2 -2
  29. package/dist/lib/cubing/chunks/search-dynamic-solve-fto-TI4TFL6X.js.map +7 -0
  30. package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-PUF4PRHS.js → search-dynamic-solve-kilominx-UKFT6I42.js} +2 -2
  31. package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-UKFT6I42.js.map +7 -0
  32. package/dist/lib/cubing/chunks/search-worker-entry.js +1 -1
  33. package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js → twips-UCWWA2WI.js} +2 -2
  34. package/dist/lib/cubing/chunks/{twisty-dynamic-3d-A2G22YLA.js → twisty-dynamic-3d-O5TGOSAO.js} +105 -90
  35. package/dist/lib/cubing/chunks/twisty-dynamic-3d-O5TGOSAO.js.map +7 -0
  36. package/dist/lib/cubing/{index-DVoQwgPC.d.ts → index-BQdS3h4z.d.ts} +42 -38
  37. package/dist/lib/cubing/{index-DO__MgsX.d.ts → index-COSxNAgV.d.ts} +1 -2
  38. package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
  39. package/dist/lib/cubing/kpuzzle/index.js +2 -2
  40. package/dist/lib/cubing/notation/index.d.ts +1 -2
  41. package/dist/lib/cubing/notation/index.js +4 -4
  42. package/dist/lib/cubing/{outside-D6O0WicV.d.ts → outside-BRtF0DA2.d.ts} +2 -1
  43. package/dist/lib/cubing/protocol/index.d.ts +1 -2
  44. package/dist/lib/cubing/protocol/index.js +4 -4
  45. package/dist/lib/cubing/puzzle-geometry/index.d.ts +2 -2
  46. package/dist/lib/cubing/puzzle-geometry/index.js +1 -1
  47. package/dist/lib/cubing/puzzles/index.d.ts +2 -2
  48. package/dist/lib/cubing/puzzles/index.js +4 -4
  49. package/dist/lib/cubing/scramble/index.d.ts +1 -1
  50. package/dist/lib/cubing/scramble/index.js +6 -6
  51. package/dist/lib/cubing/search/index.d.ts +3 -4
  52. package/dist/lib/cubing/search/index.js +6 -6
  53. package/dist/lib/cubing/stream/index.d.ts +2 -2
  54. package/dist/lib/cubing/stream/index.js +1 -1
  55. package/dist/lib/cubing/twisty/index.d.ts +2 -2
  56. package/dist/lib/cubing/twisty/index.js +6 -6
  57. package/package.json +10 -9
  58. package/dist/lib/cubing/chunks/chunk-YFNXHRNE.js.map +0 -7
  59. package/dist/lib/cubing/chunks/search-dynamic-sgs-unofficial-OLK64DE6.js.map +0 -7
  60. package/dist/lib/cubing/chunks/search-dynamic-solve-4x4x4-2A2XBBWI.js.map +0 -7
  61. package/dist/lib/cubing/chunks/search-dynamic-solve-fto-ZZKLTONP.js.map +0 -7
  62. package/dist/lib/cubing/chunks/search-dynamic-solve-kilominx-PUF4PRHS.js.map +0 -7
  63. package/dist/lib/cubing/chunks/twisty-dynamic-3d-A2G22YLA.js.map +0 -7
  64. /package/dist/bin/chunks/{chunk-PDPPBQ4O.js.map → chunk-Z5QOJAME.js.map} +0 -0
  65. /package/dist/lib/cubing/chunks/{big-puzzle-orientation-G75BXW2W.js.map → big-puzzle-orientation-7WHPJCCO.js.map} +0 -0
  66. /package/dist/lib/cubing/chunks/{chunk-4ADGSRLK.js.map → chunk-2BVL5OQE.js.map} +0 -0
  67. /package/dist/lib/cubing/chunks/{chunk-KHUP3BPA.js.map → chunk-2IA2R7XV.js.map} +0 -0
  68. /package/dist/lib/cubing/chunks/{chunk-5LBACZOM.js.map → chunk-5FXQPBXH.js.map} +0 -0
  69. /package/dist/lib/cubing/chunks/{chunk-GO2SL6SC.js.map → chunk-6K433TB5.js.map} +0 -0
  70. /package/dist/lib/cubing/chunks/{chunk-THRYJMRP.js.map → chunk-BQPY6252.js.map} +0 -0
  71. /package/dist/lib/cubing/chunks/{chunk-O2QJENHE.js.map → chunk-IRY6MBI2.js.map} +0 -0
  72. /package/dist/lib/cubing/chunks/{chunk-DT3GVMDI.js.map → chunk-MFKLAFPQ.js.map} +0 -0
  73. /package/dist/lib/cubing/chunks/{chunk-UWJ575HH.js.map → chunk-MIHF623Z.js.map} +0 -0
  74. /package/dist/lib/cubing/chunks/{chunk-ALR6ZQFC.js.map → chunk-YSAQ6DRT.js.map} +0 -0
  75. /package/dist/lib/cubing/chunks/{inside-IHWUJJ56.js.map → inside-N5WSMI7I.js.map} +0 -0
  76. /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-YSB3MWLK.js.map → search-dynamic-sgs-side-events-5EIXNDVI.js.map} +0 -0
  77. /package/dist/lib/cubing/chunks/{twips-LHO3IYJC.js.map → twips-UCWWA2WI.js.map} +0 -0
@@ -4,10 +4,10 @@
4
4
  var packageVersion = (
5
5
  // biome-ignore lint/suspicious/noTsIgnore: This comment is still present in the compiled file, where an error is *not* expected.
6
6
  /** @ts-ignore Populated by `esbuild` at compile time. */
7
- "0.65.1"
7
+ "0.65.2"
8
8
  );
9
9
 
10
10
  export {
11
11
  packageVersion
12
12
  };
13
- //# sourceMappingURL=chunk-PDPPBQ4O.js.map
13
+ //# sourceMappingURL=chunk-Z5QOJAME.js.map
package/dist/bin/order.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env -S node --
2
2
  import {
3
3
  packageVersion
4
- } from "./chunks/chunk-PDPPBQ4O.js";
4
+ } from "./chunks/chunk-Z5QOJAME.js";
5
5
 
6
6
  // src/bin/order.ts
7
7
  import { basename } from "node:path";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env -S node --
2
2
  import {
3
3
  packageVersion
4
- } from "./chunks/chunk-PDPPBQ4O.js";
4
+ } from "./chunks/chunk-Z5QOJAME.js";
5
5
 
6
6
  // src/bin/puzzle-geometry-bin.ts
7
7
  import { basename } from "node:path";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env -S node --
2
2
  import {
3
3
  packageVersion
4
- } from "./chunks/chunk-PDPPBQ4O.js";
4
+ } from "./chunks/chunk-Z5QOJAME.js";
5
5
 
6
6
  // src/bin/scramble.ts
7
7
  import { basename } from "node:path";
package/dist/bin/svg.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env -S node --
2
2
  import {
3
3
  packageVersion
4
- } from "./chunks/chunk-PDPPBQ4O.js";
4
+ } from "./chunks/chunk-Z5QOJAME.js";
5
5
 
6
6
  // src/bin/svg.ts
7
7
  import { basename } from "node:path";
@@ -1,2 +1,2 @@
1
- import { At as Move, Ct as AlgLeaf, Dt as Grouping, Et as LineComment, Ft as ExperimentalNotationType, It as ExperimentalSerializationOptions, Mt as QuantumMove, Nt as Conjugate, Ot as GroupingModifications, Pt as Commutator, St as AlgBranch, Tt as Newline, _t as experimentalAppendMove, a as functionFromTraversal, bt as SimplifyOptions, f as Parsed, ft as experimentalIs, gt as Alg, ht as AlgBuilder, i as TraversalUp, jt as MoveModifications, kt as Pause, mt as setAlgDebug, n as experimentalAlgCubingNetLink, o as keyToMove, pt as Example, r as TraversalDownUp, t as AlgCubingNetOptions, vt as AppendCancelOptions, wt as AlgNode, xt as Unit, yt as PuzzleSpecificSimplifyOptions } from "../index-DVoQwgPC.js";
2
- export { Alg, AlgBranch, AlgBuilder, AlgCubingNetOptions, AlgLeaf, AlgNode, AppendCancelOptions, Commutator, Conjugate, Example, ExperimentalNotationType, Parsed as ExperimentalParsed, ExperimentalSerializationOptions, Grouping, GroupingModifications, LineComment, Move, MoveModifications, Newline, Pause, PuzzleSpecificSimplifyOptions, QuantumMove, SimplifyOptions, TraversalDownUp, TraversalUp, Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
1
+ import { At as Pause, Ct as AlgNode, Dt as MoveModifications, Et as Move, Ft as ExperimentalNotationType, It as ExperimentalSerializationOptions, Mt as LineComment, Nt as Conjugate, Ot as QuantumMove, Pt as Commutator, St as AlgLeaf, Tt as GroupingModifications, _t as experimentalAppendMove, a as functionFromTraversal, bt as SimplifyOptions, f as Parsed, ft as experimentalIs, gt as Alg, ht as AlgBuilder, i as TraversalUp, jt as Newline, kt as Unit, mt as setAlgDebug, n as experimentalAlgCubingNetLink, o as keyToMove, pt as Example, r as TraversalDownUp, t as AlgCubingNetOptions, vt as AppendCancelOptions, wt as Grouping, xt as AlgBranch, yt as PuzzleSpecificSimplifyOptions } from "../index-BQdS3h4z.js";
2
+ export { Alg, type AlgBranch, AlgBuilder, type AlgCubingNetOptions, type AlgLeaf, type AlgNode, type AppendCancelOptions, Commutator, Conjugate, Example, type ExperimentalNotationType, type Parsed as ExperimentalParsed, type ExperimentalSerializationOptions, Grouping, type GroupingModifications, LineComment, Move, type MoveModifications, Newline, Pause, type PuzzleSpecificSimplifyOptions, QuantumMove, type SimplifyOptions, TraversalDownUp, TraversalUp, Unit, experimentalAlgCubingNetLink, experimentalAppendMove, experimentalIs, functionFromTraversal, keyToMove, setAlgDebug };
@@ -18,7 +18,7 @@ import {
18
18
  functionFromTraversal,
19
19
  keyToMove,
20
20
  setAlgDebug
21
- } from "../chunks/chunk-YFNXHRNE.js";
21
+ } from "../chunks/chunk-UP5VP7GL.js";
22
22
  export {
23
23
  Alg,
24
24
  AlgBuilder,
@@ -1,10 +1,9 @@
1
1
  /// <reference types="web-bluetooth" />
2
2
 
3
- import { At as Move, D as PuzzleID, I as MillisecondTimestamp, R as KPattern, c as PuzzleLoader, gt as Alg, s as KeyMapping } from "../index-DVoQwgPC.js";
4
- import { a as OrientationEvent, i as AlgLeafEvent } from "../index-DO__MgsX.js";
5
-
3
+ import { D as PuzzleID, Et as Move, I as MillisecondTimestamp, R as KPattern, c as PuzzleLoader, gt as Alg, s as KeyMapping } from "../index-BQdS3h4z.js";
4
+ import { a as OrientationEvent, i as AlgLeafEvent } from "../index-COSxNAgV.js";
6
5
  //#region ../src/cubing/bluetooth/debug.d.ts
7
- declare function enableDebugLogging(enable: boolean): void;
6
+ export declare function enableDebugLogging(enable: boolean): void;
8
7
  //#endregion
9
8
  //#region ../src/cubing/bluetooth/transformer.d.ts
10
9
  interface StreamTransformer {
@@ -30,7 +29,7 @@ declare abstract class BluetoothPuzzle extends EventTarget {
30
29
  //#endregion
31
30
  //#region ../src/cubing/bluetooth/keyboard.d.ts
32
31
  /** @category Keyboard Puzzles */
33
- declare class KeyboardPuzzle extends BluetoothPuzzle {
32
+ export declare class KeyboardPuzzle extends BluetoothPuzzle {
34
33
  private keyMappingAndPatternPromise;
35
34
  listener: EventListener;
36
35
  private target;
@@ -42,7 +41,7 @@ declare class KeyboardPuzzle extends BluetoothPuzzle {
42
41
  private onKeyDown;
43
42
  }
44
43
  /** @category Keyboard Puzzles */
45
- declare function debugKeyboardConnect(target?: any, puzzle?: PuzzleID | PuzzleLoader): Promise<KeyboardPuzzle>;
44
+ export declare function debugKeyboardConnect(target?: any, puzzle?: PuzzleID | PuzzleLoader): Promise<KeyboardPuzzle>;
46
45
  //#endregion
47
46
  //#region ../src/cubing/bluetooth/connect/index.d.ts
48
47
  /******** connect() ********/
@@ -52,11 +51,11 @@ interface BluetoothConnectOptions {
52
51
  //#endregion
53
52
  //#region ../src/cubing/bluetooth/smart-puzzle/connect.d.ts
54
53
  /** @category Smart Puzzles */
55
- declare function connectSmartPuzzle(options?: BluetoothConnectOptions): Promise<BluetoothPuzzle>;
54
+ export declare function connectSmartPuzzle(options?: BluetoothConnectOptions): Promise<BluetoothPuzzle>;
56
55
  //#endregion
57
56
  //#region ../src/cubing/bluetooth/smart-puzzle/gan.d.ts
58
57
  /** @category Smart Puzzles */
59
- declare class GanCube extends BluetoothPuzzle {
58
+ export declare class GanCube extends BluetoothPuzzle {
60
59
  static connect(server: BluetoothRemoteGATTServer): Promise<GanCube>;
61
60
  INTERVAL_MS: number;
62
61
  private intervalHandle;
@@ -89,7 +88,7 @@ declare class GanCube extends BluetoothPuzzle {
89
88
  //#endregion
90
89
  //#region ../src/cubing/bluetooth/smart-puzzle/giiker.d.ts
91
90
  /** @category Smart Puzzles */
92
- declare class GiiKERCube extends BluetoothPuzzle {
91
+ export declare class GiiKERCube extends BluetoothPuzzle {
93
92
  static connect(server: BluetoothRemoteGATTServer): Promise<GiiKERCube>;
94
93
  private server;
95
94
  private cubeCharacteristic;
@@ -106,7 +105,7 @@ declare class GiiKERCube extends BluetoothPuzzle {
106
105
  //#endregion
107
106
  //#region ../src/cubing/bluetooth/smart-puzzle/gocube.d.ts
108
107
  /** @category Smart Puzzles */
109
- declare class GoCube extends BluetoothPuzzle {
108
+ export declare class GoCube extends BluetoothPuzzle {
110
109
  static connect(server: BluetoothRemoteGATTServer): Promise<GoCube>;
111
110
  private recorded;
112
111
  private homeQuatInverse;
@@ -159,7 +158,7 @@ declare class GanRobot extends EventTarget {
159
158
  /** @category Robots */
160
159
  type BluetoothRobot = GanRobot;
161
160
  /** @category Robots */
162
- declare function connectSmartRobot(options?: BluetoothConnectOptions): Promise<BluetoothRobot>;
161
+ export declare function connectSmartRobot(options?: BluetoothConnectOptions): Promise<BluetoothRobot>;
163
162
  //#endregion
164
163
  //#region ../src/cubing/bluetooth/smart-timer/GanTimer.d.ts
165
164
  /** @category Timers */
@@ -184,6 +183,6 @@ declare class GanTimer extends EventTarget {
184
183
  /** @category Timers */
185
184
  type BluetoothTimer = GanTimer;
186
185
  /** @category Timers */
187
- declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
186
+ export declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
188
187
  //#endregion
189
- export { type BluetoothPuzzle, type BluetoothRobot, type BluetoothTimer, GanCube, GiiKERCube, GoCube, KeyboardPuzzle, type AlgLeafEvent as MoveEvent, type OrientationEvent, connectSmartPuzzle, connectSmartRobot, connectSmartTimer, debugKeyboardConnect, enableDebugLogging };
188
+ export type { BluetoothPuzzle, BluetoothRobot, BluetoothTimer, AlgLeafEvent as MoveEvent, OrientationEvent };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  binaryComponentsToReid3x3x3,
3
3
  twizzleBinaryToBinaryComponents
4
- } from "../chunks/chunk-O2QJENHE.js";
4
+ } from "../chunks/chunk-IRY6MBI2.js";
5
5
  import {
6
6
  puzzles
7
- } from "../chunks/chunk-KHUP3BPA.js";
7
+ } from "../chunks/chunk-2IA2R7XV.js";
8
8
  import {
9
9
  cube3x3x3,
10
10
  experimental3x3x3KPuzzle
11
- } from "../chunks/chunk-5LBACZOM.js";
11
+ } from "../chunks/chunk-5FXQPBXH.js";
12
12
  import {
13
13
  KPattern
14
- } from "../chunks/chunk-THRYJMRP.js";
14
+ } from "../chunks/chunk-BQPY6252.js";
15
15
  import {
16
16
  Alg,
17
17
  Move,
18
18
  experimentalAppendMove,
19
19
  keyToMove
20
- } from "../chunks/chunk-YFNXHRNE.js";
20
+ } from "../chunks/chunk-UP5VP7GL.js";
21
21
 
22
22
  // src/cubing/bluetooth/debug.ts
23
23
  var DEBUG_LOGGING_ENABLED = false;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Alg,
3
3
  Grouping
4
- } from "./chunk-YFNXHRNE.js";
4
+ } from "./chunk-UP5VP7GL.js";
5
5
 
6
6
  // src/cubing/puzzles/implementations/dynamic/big-cubes/big-puzzle-orientation.ts
7
7
  function puzzleOrientationBigCubeIdx(pattern) {
@@ -65,4 +65,4 @@ export {
65
65
  puzzleOrientationBigCubeCache,
66
66
  puzzleOrientationBigCubeIdx
67
67
  };
68
- //# sourceMappingURL=big-puzzle-orientation-G75BXW2W.js.map
68
+ //# sourceMappingURL=big-puzzle-orientation-7WHPJCCO.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  puzzles
3
- } from "./chunk-KHUP3BPA.js";
3
+ } from "./chunk-2IA2R7XV.js";
4
4
  import {
5
5
  LazyPromise
6
- } from "./chunk-5LBACZOM.js";
6
+ } from "./chunk-5FXQPBXH.js";
7
7
  import {
8
8
  KPattern
9
- } from "./chunk-THRYJMRP.js";
9
+ } from "./chunk-BQPY6252.js";
10
10
  import {
11
11
  Alg,
12
12
  AlgBuilder,
13
13
  Move
14
- } from "./chunk-YFNXHRNE.js";
14
+ } from "./chunk-UP5VP7GL.js";
15
15
 
16
16
  // src/cubing/search/inside/solve/puzzles/3x3x3/index.ts
17
17
  import { randomChoice as randomChoice2 } from "random-uint-below";
@@ -1068,4 +1068,4 @@ export {
1068
1068
  * SPDX-License-Identifier: Apache-2.0
1069
1069
  *)
1070
1070
  */
1071
- //# sourceMappingURL=chunk-4ADGSRLK.js.map
1071
+ //# sourceMappingURL=chunk-2BVL5OQE.js.map
@@ -16,14 +16,14 @@ import {
16
16
  descAsyncGetPuzzleGeometry,
17
17
  experimentalIs2x2x2Solved,
18
18
  getCached
19
- } from "./chunk-5LBACZOM.js";
19
+ } from "./chunk-5FXQPBXH.js";
20
20
  import {
21
21
  KPuzzle
22
- } from "./chunk-THRYJMRP.js";
22
+ } from "./chunk-BQPY6252.js";
23
23
  import {
24
24
  Move,
25
25
  Pause
26
- } from "./chunk-YFNXHRNE.js";
26
+ } from "./chunk-UP5VP7GL.js";
27
27
 
28
28
  // src/cubing/puzzles/events.ts
29
29
  var wcaEvents = {
@@ -769,4 +769,4 @@ export {
769
769
  cube2x2x2,
770
770
  puzzles
771
771
  };
772
- //# sourceMappingURL=chunk-KHUP3BPA.js.map
772
+ //# sourceMappingURL=chunk-2IA2R7XV.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  KPattern,
3
3
  KPuzzle
4
- } from "./chunk-THRYJMRP.js";
4
+ } from "./chunk-BQPY6252.js";
5
5
  import {
6
6
  Alg,
7
7
  Commutator,
@@ -11,7 +11,7 @@ import {
11
11
  QuantumMove,
12
12
  TraversalDownUp,
13
13
  functionFromTraversal
14
- } from "./chunk-YFNXHRNE.js";
14
+ } from "./chunk-UP5VP7GL.js";
15
15
 
16
16
  // ../../../../../.cache/.bun/install/cache/links/@cubing+lazy-promise@0.1.3-c407e8e01ee82605/node_modules/@cubing/lazy-promise/dist/lib/@cubing/lazy-promise/index.js
17
17
  var LazyPromise = class {
@@ -1402,7 +1402,7 @@ var experimental3x3x3KPuzzle = new KPuzzle(
1402
1402
  );
1403
1403
  cube3x3x3KPuzzleDefinition.experimentalIsPatternSolved = experimentalIs3x3x3Solved;
1404
1404
  var bigCubePuzzleOrientation = getCached(
1405
- () => import("./big-puzzle-orientation-G75BXW2W.js")
1405
+ () => import("./big-puzzle-orientation-7WHPJCCO.js")
1406
1406
  );
1407
1407
 
1408
1408
  // src/cubing/puzzles/implementations/3x3x3/cube3x3x3KeyMapping.ts
@@ -1777,4 +1777,4 @@ export {
1777
1777
  PGPuzzleLoader,
1778
1778
  CubePGPuzzleLoader
1779
1779
  };
1780
- //# sourceMappingURL=chunk-5LBACZOM.js.map
1780
+ //# sourceMappingURL=chunk-5FXQPBXH.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LazyPromise
3
- } from "./chunk-5LBACZOM.js";
3
+ } from "./chunk-5FXQPBXH.js";
4
4
 
5
5
  // src/cubing/twisty/debug.ts
6
6
  var twistyDebugGlobals = {
@@ -531,7 +531,7 @@ var StatsPanel = class {
531
531
 
532
532
  // src/cubing/twisty/heavy-code-imports/3d.ts
533
533
  var bulk3DCode = new LazyPromise(
534
- () => import("./twisty-dynamic-3d-A2G22YLA.js")
534
+ () => import("./twisty-dynamic-3d-O5TGOSAO.js")
535
535
  );
536
536
 
537
537
  // src/cubing/twisty/views/canvas.ts
@@ -1192,4 +1192,4 @@ export {
1192
1192
  Twisty3DVantage,
1193
1193
  bulk3DCode
1194
1194
  };
1195
- //# sourceMappingURL=chunk-GO2SL6SC.js.map
1195
+ //# sourceMappingURL=chunk-6K433TB5.js.map
@@ -3,7 +3,7 @@ import {
3
3
  Move,
4
4
  TraversalDownUp,
5
5
  functionFromTraversal
6
- } from "./chunk-YFNXHRNE.js";
6
+ } from "./chunk-UP5VP7GL.js";
7
7
 
8
8
  // src/cubing/kpuzzle/combine.ts
9
9
  function combineTransformationData(definition, transformationData1, transformationData2) {
@@ -662,4 +662,4 @@ export {
662
662
  KPattern,
663
663
  KPuzzle
664
664
  };
665
- //# sourceMappingURL=chunk-THRYJMRP.js.map
665
+ //# sourceMappingURL=chunk-BQPY6252.js.map
@@ -3,10 +3,10 @@ import {
3
3
  normalize3x3x3Orientation,
4
4
  puzzleOrientation3x3x3Cache,
5
5
  puzzleOrientation3x3x3Idx
6
- } from "./chunk-5LBACZOM.js";
6
+ } from "./chunk-5FXQPBXH.js";
7
7
  import {
8
8
  KPattern
9
- } from "./chunk-THRYJMRP.js";
9
+ } from "./chunk-BQPY6252.js";
10
10
 
11
11
  // src/cubing/protocol/binary/orbit-indexing.ts
12
12
  function identityPermutation(numElems) {
@@ -262,4 +262,4 @@ export {
262
262
  bufferToSpacedHex,
263
263
  spacedHexToBuffer
264
264
  };
265
- //# sourceMappingURL=chunk-O2QJENHE.js.map
265
+ //# sourceMappingURL=chunk-IRY6MBI2.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  PortableWorker,
3
3
  wrap
4
- } from "./chunk-4ADGSRLK.js";
4
+ } from "./chunk-2BVL5OQE.js";
5
5
  import {
6
6
  exposeAPI
7
7
  } from "./chunk-7GUL3OBQ.js";
8
8
  import {
9
9
  Alg
10
- } from "./chunk-YFNXHRNE.js";
10
+ } from "./chunk-UP5VP7GL.js";
11
11
 
12
12
  // src/cubing/search/worker-workarounds/index.ts
13
13
  function searchWorkerURLImportMetaResolve() {
@@ -267,4 +267,4 @@ export {
267
267
  solveTwips,
268
268
  setSearchDebug
269
269
  };
270
- //# sourceMappingURL=chunk-DT3GVMDI.js.map
270
+ //# sourceMappingURL=chunk-MFKLAFPQ.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  cube3x3x3KPuzzleDefinition
3
- } from "./chunk-5LBACZOM.js";
3
+ } from "./chunk-5FXQPBXH.js";
4
4
  import {
5
5
  TraversalUp,
6
6
  functionFromTraversal
7
- } from "./chunk-YFNXHRNE.js";
7
+ } from "./chunk-UP5VP7GL.js";
8
8
 
9
9
  // src/cubing/notation/CountAnimatedLeaves.ts
10
10
  var CountAnimatedLeaves = class extends TraversalUp {
@@ -283,4 +283,4 @@ export {
283
283
  countLeavesInExpansionForSimultaneousMoveIndexer,
284
284
  countMetricMoves
285
285
  };
286
- //# sourceMappingURL=chunk-UWJ575HH.js.map
286
+ //# sourceMappingURL=chunk-MIHF623Z.js.map
@@ -20,7 +20,7 @@ var AlgCommon = class extends Comparable {
20
20
  }
21
21
  }
22
22
  get log() {
23
- return console.log.bind(console, this, this.toString());
23
+ return console.log.bind(console, this);
24
24
  }
25
25
  };
26
26
 
@@ -162,11 +162,6 @@ var Conjugate = class _Conjugate extends AlgCommon {
162
162
  }
163
163
  };
164
164
 
165
- // src/cubing/alg/limits.ts
166
- var MAX_INT = 2147483647;
167
- var MAX_INT_DESCRIPTION = "2^31 - 1";
168
- var MIN_INT = -2147483648;
169
-
170
165
  // src/cubing/alg/AlgBuilder.ts
171
166
  var AlgBuilder = class {
172
167
  #algNodes = [];
@@ -662,6 +657,46 @@ var AlgParser = class {
662
657
  }
663
658
  };
664
659
 
660
+ // src/cubing/alg/inspect.ts
661
+ var NODEJS_UTIL_INSPECT_CUSTOM = /* @__PURE__ */ Symbol.for(
662
+ "nodejs.util.inspect.custom"
663
+ );
664
+ var NODE_DEFAULT_STRING_COLOR = "green";
665
+ var DE_EMPHASIZED = "gray";
666
+ function formatForCustomInspect(className, soleParameterQuotedString, annotation) {
667
+ const { styleText } = globalThis.process.getBuiltinModule("node:util");
668
+ const annotationPart = (() => {
669
+ if (annotation) {
670
+ return ` ${styleText(DE_EMPHASIZED, "/* with parse data */")}`;
671
+ }
672
+ return "";
673
+ })();
674
+ return `${className}(${styleText(NODE_DEFAULT_STRING_COLOR, soleParameterQuotedString)}${annotationPart})`;
675
+ }
676
+ function formatForCustomInspectWithParseDataAnnotation(className, soleParameterQuotedString, value) {
677
+ const annotation = (() => {
678
+ if (startCharIndexKey in value || endCharIndexKey in value) {
679
+ if (startCharIndexKey in value !== endCharIndexKey in value) {
680
+ console.warn(
681
+ "Encountered an alg with start char info but no end char info. `cubing.js` should never produce this by itself."
682
+ );
683
+ }
684
+ return "with parse data";
685
+ }
686
+ return "";
687
+ })();
688
+ return formatForCustomInspect(
689
+ className,
690
+ soleParameterQuotedString,
691
+ annotation
692
+ );
693
+ }
694
+
695
+ // src/cubing/alg/limits.ts
696
+ var MAX_INT = 2147483647;
697
+ var MAX_INT_DESCRIPTION = "2^31 - 1";
698
+ var MIN_INT = -2147483648;
699
+
665
700
  // src/cubing/alg/warnOnce.ts
666
701
  var warned = /* @__PURE__ */ new Set();
667
702
  function warnOnce(s) {
@@ -892,6 +927,13 @@ var Move = class _Move extends AlgCommon {
892
927
  // outerLayer: this.outerLayer,
893
928
  // };
894
929
  // }
930
+ [NODEJS_UTIL_INSPECT_CUSTOM]() {
931
+ return formatForCustomInspectWithParseDataAnnotation(
932
+ "Move",
933
+ JSON.stringify(this.toString()),
934
+ this
935
+ );
936
+ }
895
937
  };
896
938
 
897
939
  // src/cubing/alg/alg-nodes/containers/Grouping.ts
@@ -1613,6 +1655,17 @@ var Alg = class _Alg extends AlgCommon {
1613
1655
  simplify(options) {
1614
1656
  return this.experimentalSimplify(options);
1615
1657
  }
1658
+ [NODEJS_UTIL_INSPECT_CUSTOM]() {
1659
+ const string = (() => {
1660
+ const asString = this.toString();
1661
+ if (asString.includes("\n")) {
1662
+ return `\`${asString.replaceAll(/(`\$)/g, "\\$1")}\``;
1663
+ } else {
1664
+ return JSON.stringify(asString);
1665
+ }
1666
+ })();
1667
+ return formatForCustomInspectWithParseDataAnnotation("Alg", string, this);
1668
+ }
1616
1669
  };
1617
1670
  function spaceBetween(u1, u2) {
1618
1671
  if (u1.is(Newline) || u2.is(Newline)) {
@@ -1879,4 +1932,4 @@ export {
1879
1932
  keyToMove,
1880
1933
  experimentalAlgCubingNetLink
1881
1934
  };
1882
- //# sourceMappingURL=chunk-YFNXHRNE.js.map
1935
+ //# sourceMappingURL=chunk-UP5VP7GL.js.map