cubing 0.48.2 → 0.48.3

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 (79) hide show
  1. package/dist/lib/cubing/{Alg.d-Qi_gM3ue.d.ts → Alg.d-T-vs-GDG.d.ts} +17 -17
  2. package/dist/lib/cubing/{KPattern.d-1RSDwKrh.d.ts → KPattern.d-eWxoJtl0.d.ts} +1 -1
  3. package/dist/lib/cubing/{TwizzleLink.d-97ef04xr.d.ts → TwizzleLink.d-S18moNia.d.ts} +5 -5
  4. package/dist/lib/cubing/alg/index.d.ts +3 -3
  5. package/dist/lib/cubing/alg/index.js +1 -1
  6. package/dist/lib/cubing/bluetooth/index.d.ts +4 -4
  7. package/dist/lib/cubing/bluetooth/index.js +7 -6
  8. package/dist/lib/cubing/bluetooth/index.js.map +2 -2
  9. package/dist/lib/cubing/{bluetooth-puzzle.d-myIXFws0.d.ts → bluetooth-puzzle.d-NEYj0B8F.d.ts} +2 -2
  10. package/dist/lib/cubing/chunks/{chunk-JISTVUPJ.js → chunk-3V53MPRZ.js} +3 -3
  11. package/dist/lib/cubing/chunks/{chunk-JISTVUPJ.js.map → chunk-3V53MPRZ.js.map} +2 -2
  12. package/dist/lib/cubing/chunks/{chunk-S3SMCJ2Q.js → chunk-4MAJE4KF.js} +3 -3
  13. package/dist/lib/cubing/chunks/{chunk-S3SMCJ2Q.js.map → chunk-4MAJE4KF.js.map} +1 -1
  14. package/dist/lib/cubing/chunks/chunk-5KNIZ2YB.js +605 -0
  15. package/dist/lib/cubing/chunks/chunk-5KNIZ2YB.js.map +7 -0
  16. package/dist/lib/cubing/chunks/{chunk-U4JLWFNS.js → chunk-6OQS3O7Y.js} +43 -42
  17. package/dist/lib/cubing/chunks/chunk-6OQS3O7Y.js.map +7 -0
  18. package/dist/lib/cubing/chunks/{chunk-YB6VZREV.js → chunk-GEMIB7TF.js} +2 -2
  19. package/dist/lib/cubing/chunks/{chunk-YB6VZREV.js.map → chunk-GEMIB7TF.js.map} +1 -1
  20. package/dist/lib/cubing/chunks/{chunk-GQ6KD2XI.js → chunk-H5G52ETP.js} +1 -1
  21. package/dist/lib/cubing/chunks/chunk-H5G52ETP.js.map +7 -0
  22. package/dist/lib/cubing/chunks/{chunk-K7335MAG.js → chunk-I4WNYLYZ.js} +3 -3
  23. package/dist/lib/cubing/chunks/{chunk-M52K5JNF.js → chunk-OOFPCAGO.js} +4 -4
  24. package/dist/lib/cubing/chunks/{chunk-NEAVVKH5.js → chunk-PP44P6WK.js} +2 -2
  25. package/dist/lib/cubing/chunks/{chunk-GZV6D4HL.js → chunk-PX2L23L2.js} +40 -3
  26. package/dist/lib/cubing/chunks/chunk-PX2L23L2.js.map +7 -0
  27. package/dist/lib/cubing/chunks/{chunk-VL22SFND.js → chunk-RDSQRW3G.js} +1 -1
  28. package/dist/lib/cubing/chunks/chunk-RDSQRW3G.js.map +7 -0
  29. package/dist/lib/cubing/chunks/{chunk-U6FOYW3P.js → chunk-VQIVSUL2.js} +2 -2
  30. package/dist/lib/cubing/chunks/{chunk-6P7J74PX.js → inside-CH2IHSQT.js} +52 -615
  31. package/dist/lib/cubing/chunks/inside-CH2IHSQT.js.map +7 -0
  32. package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-TV6HT26E.js → search-dynamic-sgs-side-events-EG3CKCS4.js} +6 -6
  33. package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-HAXSGKV7.js → search-dynamic-sgs-unofficial-XHAYSQO3.js} +6 -6
  34. package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-4HG4AFW2.js → search-dynamic-solve-4x4x4-IYN4OTDM.js} +8 -9
  35. package/dist/lib/cubing/chunks/{search-dynamic-solve-4x4x4-4HG4AFW2.js.map → search-dynamic-solve-4x4x4-IYN4OTDM.js.map} +1 -1
  36. package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-F7OMJSDE.js → search-dynamic-solve-kilominx-BN4POKYF.js} +2 -2
  37. package/dist/lib/cubing/chunks/search-worker-entry.js +3 -3
  38. package/dist/lib/cubing/chunks/{twisty-dynamic-3d-A23ABL4R.js → twisty-dynamic-3d-2IJDXFSH.js} +6 -6
  39. package/dist/lib/cubing/chunks/twisty-dynamic-3d-2IJDXFSH.js.map +7 -0
  40. package/dist/lib/cubing/chunks/{twsearch-QLSDT3QA.js → twsearch-6KUSKPX2.js} +2 -2
  41. package/dist/lib/cubing/{index-WrxLz0RY.d.ts → index-t97giMqB.d.ts} +2 -2
  42. package/dist/lib/cubing/kpuzzle/index.d.ts +2 -2
  43. package/dist/lib/cubing/kpuzzle/index.js +2 -2
  44. package/dist/lib/cubing/notation/index.d.ts +4 -4
  45. package/dist/lib/cubing/notation/index.js +4 -4
  46. package/dist/lib/cubing/{parseAlg.d-LTqyeghV.d.ts → parseAlg.d-tIlAma60.d.ts} +1 -1
  47. package/dist/lib/cubing/protocol/index.d.ts +2 -2
  48. package/dist/lib/cubing/protocol/index.js +4 -4
  49. package/dist/lib/cubing/puzzle-geometry/index.d.ts +3 -3
  50. package/dist/lib/cubing/puzzle-geometry/index.js +3 -3
  51. package/dist/lib/cubing/puzzle-geometry/index.js.map +1 -1
  52. package/dist/lib/cubing/puzzles/index.d.ts +875 -4
  53. package/dist/lib/cubing/puzzles/index.js +4 -4
  54. package/dist/lib/cubing/scramble/index.d.ts +3 -3
  55. package/dist/lib/cubing/scramble/index.js +7 -8
  56. package/dist/lib/cubing/search/index.d.ts +3 -3
  57. package/dist/lib/cubing/search/index.js +7 -8
  58. package/dist/lib/cubing/stream/index.d.ts +3 -3
  59. package/dist/lib/cubing/stream/index.js +1 -1
  60. package/dist/lib/cubing/twisty/index.d.ts +5 -5
  61. package/dist/lib/cubing/twisty/index.js +10 -9
  62. package/dist/lib/cubing/twisty/index.js.map +2 -2
  63. package/package.json +15 -15
  64. package/dist/lib/cubing/chunks/chunk-6P7J74PX.js.map +0 -7
  65. package/dist/lib/cubing/chunks/chunk-GQ6KD2XI.js.map +0 -7
  66. package/dist/lib/cubing/chunks/chunk-GZV6D4HL.js.map +0 -7
  67. package/dist/lib/cubing/chunks/chunk-U4JLWFNS.js.map +0 -7
  68. package/dist/lib/cubing/chunks/chunk-VL22SFND.js.map +0 -7
  69. package/dist/lib/cubing/chunks/inside-EKCXLHV5.js +0 -16
  70. package/dist/lib/cubing/chunks/inside-EKCXLHV5.js.map +0 -7
  71. package/dist/lib/cubing/chunks/twisty-dynamic-3d-A23ABL4R.js.map +0 -7
  72. /package/dist/lib/cubing/chunks/{chunk-K7335MAG.js.map → chunk-I4WNYLYZ.js.map} +0 -0
  73. /package/dist/lib/cubing/chunks/{chunk-M52K5JNF.js.map → chunk-OOFPCAGO.js.map} +0 -0
  74. /package/dist/lib/cubing/chunks/{chunk-NEAVVKH5.js.map → chunk-PP44P6WK.js.map} +0 -0
  75. /package/dist/lib/cubing/chunks/{chunk-U6FOYW3P.js.map → chunk-VQIVSUL2.js.map} +0 -0
  76. /package/dist/lib/cubing/chunks/{search-dynamic-sgs-side-events-TV6HT26E.js.map → search-dynamic-sgs-side-events-EG3CKCS4.js.map} +0 -0
  77. /package/dist/lib/cubing/chunks/{search-dynamic-sgs-unofficial-HAXSGKV7.js.map → search-dynamic-sgs-unofficial-XHAYSQO3.js.map} +0 -0
  78. /package/dist/lib/cubing/chunks/{search-dynamic-solve-kilominx-F7OMJSDE.js.map → search-dynamic-solve-kilominx-BN4POKYF.js.map} +0 -0
  79. /package/dist/lib/cubing/chunks/{twsearch-QLSDT3QA.js.map → twsearch-6KUSKPX2.js.map} +0 -0
@@ -3,6 +3,22 @@ declare enum IterationDirection {
3
3
  Backwards = -1
4
4
  }
5
5
 
6
+ declare abstract class Comparable {
7
+ is(c: any): boolean;
8
+ as<T>(c: new (...args: any) => T): T | null;
9
+ abstract isIdentical(other: Comparable): boolean;
10
+ }
11
+ interface Repeatable extends Comparable {
12
+ experimentalExpand(iterDir?: IterationDirection, depth?: number): Generator<AlgLeaf>;
13
+ }
14
+ declare abstract class AlgCommon<T extends Alg | AlgNode> extends Comparable implements Repeatable {
15
+ constructor();
16
+ get log(): (message?: any) => void;
17
+ abstract toString(): string;
18
+ abstract invert(): T;
19
+ abstract experimentalExpand(iterDir: IterationDirection): Generator<AlgLeaf>;
20
+ }
21
+
6
22
  interface QuantumMoveModifications {
7
23
  outerLayer?: number;
8
24
  innerLayer?: number;
@@ -127,22 +143,6 @@ type AlgBranch = Grouping | Conjugate | Commutator;
127
143
  /** @category Alg Nodes */
128
144
  type AlgNode = AlgLeaf | AlgBranch;
129
145
 
130
- declare abstract class Comparable {
131
- is(c: any): boolean;
132
- as<T>(c: new (...args: any) => T): T | null;
133
- abstract isIdentical(other: Comparable): boolean;
134
- }
135
- interface Repeatable extends Comparable {
136
- experimentalExpand(iterDir?: IterationDirection, depth?: number): Generator<AlgLeaf>;
137
- }
138
- declare abstract class AlgCommon<T extends Alg | AlgNode> extends Comparable implements Repeatable {
139
- constructor();
140
- get log(): (message?: any) => void;
141
- abstract toString(): string;
142
- abstract invert(): T;
143
- abstract experimentalExpand(iterDir: IterationDirection): Generator<AlgLeaf>;
144
- }
145
-
146
146
  declare const DEFAULT_DIRECTIONAL = "any-direction";
147
147
  type QuantumDirectionalCancellation = typeof DEFAULT_DIRECTIONAL | "same-direction" | "none";
148
148
  type ModWrap = "none" | "gravity" | "canonical-centered" | "canonical-positive" | "preserve-sign";
@@ -339,4 +339,4 @@ declare class Alg extends AlgCommon<Alg> {
339
339
  simplify(options?: SimplifyOptions): Alg;
340
340
  }
341
341
 
342
- export { Alg as A, Commutator as C, Grouping as G, IterationDirection as I, LineComment as L, Move as M, Newline as N, type PuzzleSpecificSimplifyOptions as P, QuantumMove as Q, type SimplifyOptions as S, type AlgNode as a, type AlgLeaf as b, type AppendOptions as c, Conjugate as d, Pause as e, type MoveModifications as f, type AlgBranch as g, type AppendCancelOptions as h };
342
+ export { Alg as A, Commutator as C, Grouping as G, IterationDirection as I, LineComment as L, Move as M, Newline as N, Pause as P, QuantumMove as Q, type SimplifyOptions as S, type AlgNode as a, type AlgLeaf as b, type AppendOptions as c, Conjugate as d, type MoveModifications as e, type AlgBranch as f, type PuzzleSpecificSimplifyOptions as g, type AppendCancelOptions as h };
@@ -1,4 +1,4 @@
1
- import { M as Move, A as Alg } from './Alg.d-Qi_gM3ue.js';
1
+ import { M as Move, A as Alg } from './Alg.d-T-vs-GDG.js';
2
2
 
3
3
  type KPatternData = Record<string, KPatternOrbitData>;
4
4
  interface KPatternOrbitData {
@@ -1,7 +1,7 @@
1
1
  import { Texture, Object3D, Raycaster, PerspectiveCamera, Scene, WebGLRenderer } from 'three';
2
- import { P as PuzzleSpecificSimplifyOptions, M as Move, A as Alg, e as Pause, h as AppendCancelOptions, b as AlgLeaf, c as AppendOptions, a as AlgNode, I as IterationDirection } from './Alg.d-Qi_gM3ue.js';
3
- import { P as Parsed } from './parseAlg.d-LTqyeghV.js';
4
- import { s as KPuzzle, d as PuzzleGeometry, K as KPattern, t as KTransformation, u as PuzzleDescriptionString } from './KPattern.d-1RSDwKrh.js';
2
+ import { g as PuzzleSpecificSimplifyOptions, M as Move, A as Alg, P as Pause, h as AppendCancelOptions, b as AlgLeaf, c as AppendOptions, a as AlgNode, I as IterationDirection } from './Alg.d-T-vs-GDG.js';
3
+ import { P as Parsed } from './parseAlg.d-tIlAma60.js';
4
+ import { s as KPuzzle, d as PuzzleGeometry, K as KPattern, t as KTransformation, u as PuzzleDescriptionString } from './KPattern.d-eWxoJtl0.js';
5
5
 
6
6
  type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "experimentalOriented2" | "ignored" | "invisible";
7
7
  type FaceletStickeringMask = {
@@ -442,7 +442,7 @@ declare class ManagedCustomElement extends HTMLElementShim {
442
442
  readonly shadow: ShadowRoot;
443
443
  readonly contentWrapper: HTMLDivElement;
444
444
  constructor(options?: {
445
- mode: "open" | "closed";
445
+ mode?: "open" | "closed";
446
446
  });
447
447
  protected addCSS(cssSource: CSSStyleSheet): void;
448
448
  protected removeCSS(cssSource: CSSStyleSheet): void;
@@ -1364,4 +1364,4 @@ declare global {
1364
1364
  }
1365
1365
  }
1366
1366
 
1367
- export { type AlgIndexer as A, type BackViewLayout as B, type Duration as D, type ExperimentalStickering as E, type MillisecondTimestamp as M, NO_VALUE as N, type PuzzleLoader as P, type StickeringMask as S, type Timestamp as T, type VisualizationFormat as V, type PuzzleID as a, TwistyPlayer as b, TwistyAlgViewer as c, TwistyAlgEditor as d, type TwistyPlayerConfig as e, backViewLayouts as f, TwizzleLink as g };
1367
+ export { type AlgIndexer as A, type BackViewLayout as B, type Duration as D, type ExperimentalStickering as E, type MillisecondTimestamp as M, NO_VALUE as N, type PuzzleLoader as P, type StickeringMask as S, type Timestamp as T, type VisualizationFormat as V, TwistyPlayer as a, TwistyAlgViewer as b, TwistyAlgEditor as c, type TwistyPlayerConfig as d, backViewLayouts as e, type PuzzleID as f, TwizzleLink as g };
@@ -1,6 +1,6 @@
1
- import { a as AlgNode, A as Alg, M as Move, c as AppendOptions, G as Grouping, C as Commutator, d as Conjugate, e as Pause, N as Newline, L as LineComment, b as AlgLeaf } from '../Alg.d-Qi_gM3ue.js';
2
- export { g as AlgBranch, h as AppendCancelOptions, f as MoveModifications, P as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg.d-Qi_gM3ue.js';
3
- export { P as ExperimentalParsed } from '../parseAlg.d-LTqyeghV.js';
1
+ import { a as AlgNode, A as Alg, M as Move, c as AppendOptions, G as Grouping, C as Commutator, d as Conjugate, P as Pause, N as Newline, L as LineComment, b as AlgLeaf } from '../Alg.d-T-vs-GDG.js';
2
+ export { f as AlgBranch, h as AppendCancelOptions, e as MoveModifications, g as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg.d-T-vs-GDG.js';
3
+ export { P as ExperimentalParsed } from '../parseAlg.d-tIlAma60.js';
4
4
 
5
5
  /** @deprecated */
6
6
  type Unit = AlgNode;
@@ -18,7 +18,7 @@ import {
18
18
  functionFromTraversal,
19
19
  keyToMove,
20
20
  setAlgDebug
21
- } from "../chunks/chunk-GQ6KD2XI.js";
21
+ } from "../chunks/chunk-H5G52ETP.js";
22
22
  export {
23
23
  Alg,
24
24
  AlgBuilder,
@@ -1,8 +1,8 @@
1
1
  /// <reference types="web-bluetooth" />
2
- import { K as KPattern } from '../KPattern.d-1RSDwKrh.js';
3
- import { B as BluetoothPuzzle } from '../bluetooth-puzzle.d-myIXFws0.js';
4
- export { A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle.d-myIXFws0.js';
5
- import { A as Alg, M as Move } from '../Alg.d-Qi_gM3ue.js';
2
+ import { K as KPattern } from '../KPattern.d-eWxoJtl0.js';
3
+ import { B as BluetoothPuzzle } from '../bluetooth-puzzle.d-NEYj0B8F.js';
4
+ export { A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle.d-NEYj0B8F.js';
5
+ import { A as Alg, M as Move } from '../Alg.d-T-vs-GDG.js';
6
6
 
7
7
  declare function enableDebugLogging(enable: boolean): void;
8
8
 
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  binaryComponentsToReid3x3x3,
3
3
  twizzleBinaryToBinaryComponents
4
- } from "../chunks/chunk-K7335MAG.js";
4
+ } from "../chunks/chunk-I4WNYLYZ.js";
5
5
  import {
6
6
  cube3x3x3,
7
7
  puzzles
8
- } from "../chunks/chunk-M52K5JNF.js";
8
+ } from "../chunks/chunk-OOFPCAGO.js";
9
9
  import {
10
10
  experimental3x3x3KPuzzle
11
- } from "../chunks/chunk-U4JLWFNS.js";
11
+ } from "../chunks/chunk-6OQS3O7Y.js";
12
12
  import {
13
13
  KPattern
14
- } from "../chunks/chunk-YB6VZREV.js";
14
+ } from "../chunks/chunk-GEMIB7TF.js";
15
15
  import {
16
16
  Alg,
17
17
  Move,
18
18
  experimentalAppendMove,
19
19
  keyToMove
20
- } from "../chunks/chunk-GQ6KD2XI.js";
20
+ } from "../chunks/chunk-H5G52ETP.js";
21
21
 
22
22
  // src/cubing/bluetooth/debug.ts
23
23
  var DEBUG_LOGGING_ENABLED = false;
@@ -905,12 +905,13 @@ var GiiKERCube = class _GiiKERCube extends BluetoothPuzzle {
905
905
  };
906
906
  var giiKERConfig = {
907
907
  connect: GiiKERCube.connect.bind(GiiKERCube),
908
- prefixes: ["Gi", ""],
908
+ prefixes: ["Gi", "", "Mi"],
909
909
  // Hack
910
910
  filters: [
911
911
  // Known prefixes: GiC, GiS (3x3x3), Gi2 (2x2x2)
912
912
  // Suspected prefixes GiY, Gi3
913
913
  { namePrefix: "Gi" },
914
+ { namePrefix: "Mi" },
914
915
  { services: ["0000aadb-0000-1000-8000-00805f9b34fb"] },
915
916
  { services: ["0000aaaa-0000-1000-8000-00805f9b34fb"] },
916
917
  { services: ["0000fe95-0000-1000-8000-00805f9b34fb"] }