cubing 0.34.0 → 0.34.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 (63) hide show
  1. package/dist/esm/bluetooth/index.js +3 -3
  2. package/dist/esm/{chunk-TZBXJIXA.js → chunk-7EYNJNAV.js} +2 -2
  3. package/dist/esm/{chunk-TZBXJIXA.js.map → chunk-7EYNJNAV.js.map} +0 -0
  4. package/dist/esm/{chunk-E4YUB7FM.js → chunk-FIIRPE7H.js} +3 -3
  5. package/dist/esm/{chunk-E4YUB7FM.js.map → chunk-FIIRPE7H.js.map} +0 -0
  6. package/dist/esm/{chunk-WWOZNWEN.js → chunk-KKUITPYJ.js} +8 -9
  7. package/dist/esm/{chunk-WWOZNWEN.js.map → chunk-KKUITPYJ.js.map} +2 -2
  8. package/dist/esm/{chunk-CQII4VKQ.js → chunk-UTE3C6WH.js} +2 -2
  9. package/dist/esm/{chunk-CQII4VKQ.js.map → chunk-UTE3C6WH.js.map} +0 -0
  10. package/dist/esm/{chunk-W6D5GKZQ.js → chunk-WPIG35IN.js} +46 -6
  11. package/dist/esm/{chunk-W6D5GKZQ.js.map → chunk-WPIG35IN.js.map} +4 -4
  12. package/dist/esm/{chunk-44FWGBTT.js → chunk-XPTBX62N.js} +116 -34
  13. package/dist/esm/chunk-XPTBX62N.js.map +7 -0
  14. package/dist/esm/{chunk-IZE3KZK2.js → chunk-ZKWJMVKP.js} +3 -3
  15. package/dist/esm/{chunk-IZE3KZK2.js.map → chunk-ZKWJMVKP.js.map} +0 -0
  16. package/dist/esm/protocol/index.js +2 -2
  17. package/dist/esm/puzzles/index.js +2 -2
  18. package/dist/esm/scramble/index.js +5 -5
  19. package/dist/esm/search/index.js +5 -5
  20. package/dist/esm/{search-dynamic-sgs-side-events-64MZL2M4.js → search-dynamic-sgs-side-events-3UF3O3DR.js} +3 -3
  21. package/dist/esm/{search-dynamic-sgs-side-events-64MZL2M4.js.map → search-dynamic-sgs-side-events-3UF3O3DR.js.map} +0 -0
  22. package/dist/esm/{search-dynamic-sgs-unofficial-A6QDH2RQ.js → search-dynamic-sgs-unofficial-S6ZZ6UTD.js} +3 -3
  23. package/dist/esm/{search-dynamic-sgs-unofficial-A6QDH2RQ.js.map → search-dynamic-sgs-unofficial-S6ZZ6UTD.js.map} +0 -0
  24. package/dist/esm/{search-dynamic-solve-4x4x4-Q2RNVUYI.js → search-dynamic-solve-4x4x4-XPVSHXKH.js} +4 -4
  25. package/dist/esm/{search-dynamic-solve-4x4x4-Q2RNVUYI.js.map → search-dynamic-solve-4x4x4-XPVSHXKH.js.map} +0 -0
  26. package/dist/esm/search-worker-inside-generated-string-XVNVY5AU.js +4068 -0
  27. package/dist/esm/search-worker-inside-generated-string-XVNVY5AU.js.map +7 -0
  28. package/dist/esm/{search-worker-js-entry-FCQUXOMO.js → search-worker-js-entry-GXNLBGZX.js} +5 -5
  29. package/dist/esm/{search-worker-js-entry-FCQUXOMO.js.map → search-worker-js-entry-GXNLBGZX.js.map} +0 -0
  30. package/dist/esm/{search-worker-ts-entry-XKX3J4JU.js → search-worker-ts-entry-VGYPJOUR.js} +2 -2
  31. package/dist/esm/{search-worker-ts-entry-XKX3J4JU.js.map → search-worker-ts-entry-VGYPJOUR.js.map} +0 -0
  32. package/dist/esm/twisty/index.js +3 -3
  33. package/dist/esm/{twisty-dynamic-3d-E2JPZNJV.js → twisty-dynamic-3d-NJLODGN2.js} +4 -4
  34. package/dist/esm/{twisty-dynamic-3d-E2JPZNJV.js.map → twisty-dynamic-3d-NJLODGN2.js.map} +0 -0
  35. package/dist/esm/twsearch-372DHE7A-76M4JP4D.js +3163 -0
  36. package/dist/esm/twsearch-372DHE7A-76M4JP4D.js.map +7 -0
  37. package/dist/esm/{twsearch-OTFFWWVK.js → twsearch-U62ROVYU.js} +17 -8
  38. package/dist/esm/twsearch-U62ROVYU.js.map +7 -0
  39. package/dist/types/{Alg-3c1c16f6.d.ts → Alg-8b4e9255.d.ts} +6 -6
  40. package/dist/types/{KState-82c7bd49.d.ts → KState-0da22515.d.ts} +17 -17
  41. package/dist/types/{TwizzleLink-adf00931.d.ts → TwizzleLink-f790571d.d.ts} +59 -59
  42. package/dist/types/alg/index.d.ts +4 -4
  43. package/dist/types/bluetooth/index.d.ts +6 -6
  44. package/dist/types/{bluetooth-puzzle-084aff86.d.ts → bluetooth-puzzle-62e2b423.d.ts} +2 -2
  45. package/dist/types/kpuzzle/index.d.ts +2 -2
  46. package/dist/types/notation/index.d.ts +1 -1
  47. package/dist/types/{outside-86684116.d.ts → outside-074a0f79.d.ts} +3 -2
  48. package/dist/types/parseAlg-2dd4194b.d.ts +9 -0
  49. package/dist/types/protocol/index.d.ts +3 -3
  50. package/dist/types/puzzle-geometry/index.d.ts +3 -3
  51. package/dist/types/puzzles/index.d.ts +5 -5
  52. package/dist/types/scramble/index.d.ts +3 -3
  53. package/dist/types/search/index.d.ts +3 -3
  54. package/dist/types/stream/index.d.ts +5 -5
  55. package/dist/types/twisty/index.d.ts +5 -5
  56. package/package.json +3 -2
  57. package/dist/esm/chunk-44FWGBTT.js.map +0 -7
  58. package/dist/esm/search-worker-inside-generated-string-L45M56BO.js +0 -4068
  59. package/dist/esm/search-worker-inside-generated-string-L45M56BO.js.map +0 -7
  60. package/dist/esm/twsearch-3VIDM5NB-TXNG4RLV.js +0 -3173
  61. package/dist/esm/twsearch-3VIDM5NB-TXNG4RLV.js.map +0 -7
  62. package/dist/esm/twsearch-OTFFWWVK.js.map +0 -7
  63. package/dist/types/parseAlg-e1af1cb1.d.ts +0 -9
@@ -3,9 +3,9 @@ import {
3
3
  } from "./chunk-IJP4IAGZ.js";
4
4
 
5
5
  // src/cubing/vendor/twsearch/index.js
6
- console.info("Loading twsearch v0.3.1-1-gfe6934f5");
6
+ console.info("Loading twsearch v0.3.2-2-g04b92578");
7
7
  async function importOnce() {
8
- const fn = (await import("./twsearch-3VIDM5NB-TXNG4RLV.js")).default;
8
+ const fn = (await import("./twsearch-372DHE7A-76M4JP4D.js")).default;
9
9
  return await fn();
10
10
  }
11
11
  var cachedEmscriptenModule = null;
@@ -18,9 +18,17 @@ function cwrap(fn, returnType, argTypes, processReturnValue = (v) => v) {
18
18
  return processReturnValue((await wrapped)(...args));
19
19
  };
20
20
  }
21
+ var NoSolutionError = class extends Error {
22
+ };
23
+ function parseResult(s) {
24
+ if (s === "--no solution--") {
25
+ throw new NoSolutionError("");
26
+ }
27
+ return Alg.fromString(s);
28
+ }
21
29
  var stringArg = ["string"];
22
- var setArgs = cwrap(
23
- "w_args",
30
+ var setArg = cwrap(
31
+ "w_arg",
24
32
  "void",
25
33
  stringArg
26
34
  );
@@ -33,13 +41,13 @@ var solveScramble = cwrap(
33
41
  "w_solvescramble",
34
42
  "string",
35
43
  stringArg,
36
- Alg.fromString
44
+ parseResult
37
45
  );
38
46
  var solveState = cwrap(
39
47
  "w_solveposition",
40
48
  "string",
41
49
  stringArg,
42
- Alg.fromString
50
+ parseResult
43
51
  );
44
52
  var BLANK_LINE = "";
45
53
  var END = "End";
@@ -111,11 +119,12 @@ function serializeDefToTws(kpuzzle, options) {
111
119
  return outputLines.join("\n");
112
120
  }
113
121
  export {
122
+ NoSolutionError,
114
123
  serializeDefToTws,
115
124
  serializeKTransformationDataToTws,
116
- setArgs,
125
+ setArg,
117
126
  setKPuzzleDefString,
118
127
  solveScramble,
119
128
  solveState
120
129
  };
121
- //# sourceMappingURL=twsearch-OTFFWWVK.js.map
130
+ //# sourceMappingURL=twsearch-U62ROVYU.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/cubing/vendor/twsearch/index.js"],
4
+ "sourcesContent": ["console.info(\"Loading twsearch v0.3.2-2-g04b92578\");\n// src/js/api.ts\nimport { Alg } from \"../../alg\";\nasync function importOnce() {\n const fn = (await import(\"./twsearch-372DHE7A.js\")).default;\n return await fn();\n}\nvar cachedEmscriptenModule = null;\nasync function emscriptenModule() {\n return cachedEmscriptenModule ?? (cachedEmscriptenModule = importOnce());\n}\nfunction cwrap(fn, returnType, argTypes, processReturnValue = (v) => v) {\n const wrapped = (async () => (await emscriptenModule()).cwrap(fn, returnType, argTypes))();\n return async (...args) => {\n return processReturnValue((await wrapped)(...args));\n };\n}\nvar NoSolutionError = class extends Error {\n};\nfunction parseResult(s) {\n if (s === \"--no solution--\") {\n throw new NoSolutionError(\"\");\n }\n return Alg.fromString(s);\n}\nvar stringArg = [\"string\"];\nvar setArg = cwrap(\n \"w_arg\",\n \"void\",\n stringArg\n);\nvar setKPuzzleDefString = cwrap(\n \"w_setksolve\",\n \"void\",\n stringArg\n);\nvar solveScramble = cwrap(\n \"w_solvescramble\",\n \"string\",\n stringArg,\n parseResult\n);\nvar solveState = cwrap(\n \"w_solveposition\",\n \"string\",\n stringArg,\n parseResult\n);\n\n// src/js/serialize.ts\nvar BLANK_LINE = \"\";\nvar END = \"End\";\nfunction sanitize(s) {\n return s.replaceAll(/[^A-Za-z0-9]/g, \"_\");\n}\nfunction serializeKTransformationDataToTws(name, t, forScramble = false) {\n const outputLines = [];\n outputLines.push(\n `${forScramble ? \"ScrambleState\" : \"MoveTransformation\"} ${sanitize(name)}`\n );\n for (const [orbitName, orbitData] of Object.entries(t)) {\n outputLines.push(sanitize(orbitName));\n outputLines.push(orbitData.permutation.join(\" \"));\n outputLines.push(orbitData.orientation.join(\" \"));\n }\n outputLines.push(END);\n outputLines.push(BLANK_LINE);\n return outputLines.join(\"\\n\");\n}\nfunction serializeDefToTws(kpuzzle, options) {\n let outputLines = [];\n const def = kpuzzle.definition;\n outputLines.push(`Name ${sanitize(def.name ?? \"CustomPuzzle\")}`);\n outputLines.push(BLANK_LINE);\n for (const [orbitName, orbitInfo] of Object.entries(def.orbits)) {\n outputLines.push(\n `Set ${sanitize(orbitName)} ${orbitInfo.numPieces} ${orbitInfo.numOrientations}`\n );\n }\n outputLines.push(BLANK_LINE);\n outputLines.push(\"StartState\");\n if (options?.startState) {\n outputLines.push(options?.startState);\n } else {\n for (const [orbitName, orbitDef] of Object.entries(def.startStateData)) {\n outputLines.push(sanitize(orbitName));\n outputLines.push(orbitDef.pieces.join(\" \"));\n outputLines.push(orbitDef.orientation.join(\" \"));\n }\n }\n outputLines.push(END);\n outputLines.push(BLANK_LINE);\n function include(moveName) {\n if (options?.moveSubset) {\n return options.moveSubset.includes(moveName);\n } else {\n return true;\n }\n }\n for (const [moveName, moveDef] of Object.entries(def.moves)) {\n if (include(moveName)) {\n outputLines.push(serializeKTransformationDataToTws(moveName, moveDef));\n }\n }\n for (const [moveName, moveAlgDef] of Object.entries(\n def.experimentalDerivedMoves ?? {}\n )) {\n if (include(moveName)) {\n const transformation = kpuzzle.algToTransformation(moveAlgDef);\n outputLines.push(\n serializeKTransformationDataToTws(\n moveName,\n transformation.transformationData\n )\n );\n }\n }\n return outputLines.join(\"\\n\");\n}\nexport {\n NoSolutionError,\n serializeDefToTws,\n serializeKTransformationDataToTws,\n setArg,\n setKPuzzleDefString,\n solveScramble,\n solveState\n};\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -121,11 +121,11 @@ declare class Grouping extends AlgCommon<Grouping> {
121
121
  }
122
122
 
123
123
  /** @category Alg Nodes */
124
- type AlgLeaf = Move | LineComment | Newline | Pause;
124
+ declare type AlgLeaf = Move | LineComment | Newline | Pause;
125
125
  /** @category Alg Nodes */
126
- type AlgBranch = Grouping | Conjugate | Commutator;
126
+ declare type AlgBranch = Grouping | Conjugate | Commutator;
127
127
  /** @category Alg Nodes */
128
- type AlgNode = AlgLeaf | AlgBranch;
128
+ declare type AlgNode = AlgLeaf | AlgBranch;
129
129
 
130
130
  declare abstract class Comparable {
131
131
  is(c: any): boolean;
@@ -144,8 +144,8 @@ declare abstract class AlgCommon<T extends Alg | AlgNode> extends Comparable imp
144
144
  }
145
145
 
146
146
  declare const DEFAULT_DIRECTIONAL = "any-direction";
147
- type QuantumDirectionalCancellation = typeof DEFAULT_DIRECTIONAL | "same-direction" | "none";
148
- type ModWrap = "none" | "gravity" | "canonical-centered" | "canonical-positive" | "preserve-sign";
147
+ declare type QuantumDirectionalCancellation = typeof DEFAULT_DIRECTIONAL | "same-direction" | "none";
148
+ declare type ModWrap = "none" | "gravity" | "canonical-centered" | "canonical-positive" | "preserve-sign";
149
149
  interface AppendCancelOptions {
150
150
  directional?: QuantumDirectionalCancellation;
151
151
  puzzleSpecificModWrap?: ModWrap;
@@ -169,7 +169,7 @@ interface PuzzleSpecificSimplifyOptions {
169
169
  axis?: PuzzleSpecificAxisSimplifyInfo;
170
170
  }
171
171
 
172
- type FlexibleAlgSource = string | Iterable<AlgNode> | Alg;
172
+ declare type FlexibleAlgSource = string | Iterable<AlgNode> | Alg;
173
173
  /**
174
174
  * `Alg` is a class that encapsulates a structured alg. To create an `Alg` from a string, use:
175
175
  *
@@ -1,11 +1,11 @@
1
- import { M as Move, a as Alg } from './Alg-3c1c16f6.js';
1
+ import { M as Move, a as Alg } from './Alg-8b4e9255.js';
2
2
 
3
- type KTransformationData = Record<string, KTransformationOrbitData>;
3
+ declare type KTransformationData = Record<string, KTransformationOrbitData>;
4
4
  interface KTransformationOrbitData {
5
5
  permutation: number[];
6
6
  orientation: number[];
7
7
  }
8
- type KStateData = Record<string, KStateOrbitData>;
8
+ declare type KStateData = Record<string, KStateOrbitData>;
9
9
  interface KStateOrbitData {
10
10
  pieces: number[];
11
11
  orientation: number[];
@@ -56,9 +56,9 @@ declare function parseOptions(argv: string[]): {
56
56
  puzzleDescription: PuzzleDescription | null;
57
57
  options: PuzzleGeometryOptions;
58
58
  };
59
- type FaceName = string;
60
- type OrientationDirection = [number, number, number];
61
- type FaceBasedOrientationDescription = [
59
+ declare type FaceName = string;
60
+ declare type OrientationDirection = [number, number, number];
61
+ declare type FaceBasedOrientationDescription = [
62
62
  [
63
63
  FaceName,
64
64
  OrientationDirection
@@ -68,8 +68,8 @@ type FaceBasedOrientationDescription = [
68
68
  OrientationDirection
69
69
  ]
70
70
  ];
71
- type BaseFaceCount = 4 | 6 | 8 | 12 | 20;
72
- type FaceBasedOrientationDescriptionLookup = Record<BaseFaceCount, FaceBasedOrientationDescription>;
71
+ declare type BaseFaceCount = 4 | 6 | 8 | 12 | 20;
72
+ declare type FaceBasedOrientationDescriptionLookup = Record<BaseFaceCount, FaceBasedOrientationDescription>;
73
73
  declare class PuzzleGeometryFullOptions {
74
74
  verbosity: number;
75
75
  allMoves: boolean;
@@ -93,7 +93,7 @@ declare class PuzzleGeometryFullOptions {
93
93
  scrambleAmount: number;
94
94
  constructor(options?: PuzzleGeometryOptions);
95
95
  }
96
- type PuzzleGeometryOptions = Partial<PuzzleGeometryFullOptions>;
96
+ declare type PuzzleGeometryOptions = Partial<PuzzleGeometryFullOptions>;
97
97
 
98
98
  declare class Perm {
99
99
  n: number;
@@ -177,11 +177,11 @@ declare class VisibleState extends PGTransformBase {
177
177
  mul(b: PGTransform): VisibleState;
178
178
  }
179
179
 
180
- type PuzzleDescriptionString = string;
180
+ declare type PuzzleDescriptionString = string;
181
181
  declare const PGPuzzles: {
182
182
  [name: string]: PuzzleDescriptionString;
183
183
  };
184
- type PuzzleName = keyof typeof PGPuzzles;
184
+ declare type PuzzleName = keyof typeof PGPuzzles;
185
185
 
186
186
  declare class Quat {
187
187
  a: number;
@@ -240,7 +240,7 @@ interface StickerDatFace {
240
240
  coords: number[];
241
241
  name: string;
242
242
  }
243
- type StickerDatAxis = {
243
+ declare type StickerDatAxis = {
244
244
  coordinates: number[];
245
245
  quantumMove: Move;
246
246
  order: number;
@@ -258,14 +258,14 @@ declare function getPG3DNamedPuzzles(): {
258
258
  };
259
259
  declare function getPuzzleDescriptionString(puzzleName: PuzzleName): PuzzleDescriptionString;
260
260
  declare const PUZZLE_BASE_SHAPES: readonly ["c", "t", "o", "d", "i"];
261
- type PuzzleBaseShape = typeof PUZZLE_BASE_SHAPES[number];
261
+ declare type PuzzleBaseShape = typeof PUZZLE_BASE_SHAPES[number];
262
262
  declare const PUZZLE_CUT_TYPES: readonly ["f", "v", "e"];
263
- type PuzzleCutType = typeof PUZZLE_CUT_TYPES[number];
264
- type PuzzleCutDescription = {
263
+ declare type PuzzleCutType = typeof PUZZLE_CUT_TYPES[number];
264
+ declare type PuzzleCutDescription = {
265
265
  cutType: PuzzleCutType;
266
266
  distance: number;
267
267
  };
268
- type PuzzleDescription = {
268
+ declare type PuzzleDescription = {
269
269
  shape: PuzzleBaseShape;
270
270
  cuts: PuzzleCutDescription[];
271
271
  };
@@ -378,7 +378,7 @@ declare class PGNotation {
378
378
  lookupMove(move: Move): KTransformationData | null;
379
379
  }
380
380
 
381
- type KTransformationSource = Alg | Move | string | KTransformation;
381
+ declare type KTransformationSource = Alg | Move | string | KTransformation;
382
382
  declare class KPuzzle {
383
383
  #private;
384
384
  readonly definition: KPuzzleDefinition;
@@ -1,20 +1,20 @@
1
1
  import { Texture, Object3D, Raycaster, PerspectiveCamera, Scene, WebGLRenderer } from 'three';
2
- import { g as PuzzleSpecificSimplifyOptions, M as Move, a as Alg, P as Pause, h as AppendCancelOptions, d as AlgLeaf, b as AppendOptions, A as AlgNode, I as IterationDirection } from './Alg-3c1c16f6.js';
3
- import { P as Parsed } from './parseAlg-e1af1cb1.js';
4
- import { a as KPuzzle, j as PuzzleGeometry, K as KState, e as KTransformation, w as PuzzleDescriptionString } from './KState-82c7bd49.js';
2
+ import { g as PuzzleSpecificSimplifyOptions, M as Move, a as Alg, P as Pause, h as AppendCancelOptions, d as AlgLeaf, b as AppendOptions, A as AlgNode, I as IterationDirection } from './Alg-8b4e9255.js';
3
+ import { P as Parsed } from './parseAlg-2dd4194b.js';
4
+ import { a as KPuzzle, j as PuzzleGeometry, K as KState, e as KTransformation, w as PuzzleDescriptionString } from './KState-0da22515.js';
5
5
 
6
- type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "ignored" | "invisible";
7
- type FaceletStickeringMask = {
6
+ declare type FaceletMeshStickeringMask = "regular" | "dim" | "oriented" | "ignored" | "invisible";
7
+ declare type FaceletStickeringMask = {
8
8
  mask: FaceletMeshStickeringMask;
9
9
  hintMask?: FaceletMeshStickeringMask;
10
10
  };
11
- type PieceStickeringMask = {
11
+ declare type PieceStickeringMask = {
12
12
  facelets: (FaceletMeshStickeringMask | FaceletStickeringMask | null)[];
13
13
  };
14
- type OrbitStickeringMask = {
14
+ declare type OrbitStickeringMask = {
15
15
  pieces: (PieceStickeringMask | null)[];
16
16
  };
17
- type StickeringMask = {
17
+ declare type StickeringMask = {
18
18
  specialBehaviour?: "picture";
19
19
  name?: string;
20
20
  orbits: Record<string, OrbitStickeringMask>;
@@ -41,9 +41,9 @@ declare const experimentalStickerings: Record<string, {
41
41
  groups?: Partial<Record<PuzzleID, string>>;
42
42
  }>;
43
43
 
44
- type MillisecondTimestamp = number;
45
- type Duration = MillisecondTimestamp;
46
- type Timestamp = MillisecondTimestamp;
44
+ declare type MillisecondTimestamp = number;
45
+ declare type Duration = MillisecondTimestamp;
46
+ declare type Timestamp = MillisecondTimestamp;
47
47
  declare enum Direction {
48
48
  Forwards = 1,
49
49
  Paused = 0,
@@ -54,7 +54,7 @@ interface MoveInProgress {
54
54
  direction: Direction;
55
55
  fraction: number;
56
56
  }
57
- type PuzzlePosition = {
57
+ declare type PuzzlePosition = {
58
58
  state: KState;
59
59
  movesInProgress: MoveInProgress[];
60
60
  };
@@ -76,8 +76,8 @@ declare class UserVisibleErrorTracker extends SimpleTwistyPropSource<UserVisible
76
76
  protected canReuseValue(_v1: UserVisibleError, _v2: UserVisibleError): boolean;
77
77
  }
78
78
 
79
- type InputRecord = {};
80
- type InputProps<T extends InputRecord> = {
79
+ declare type InputRecord = {};
80
+ declare type InputProps<T extends InputRecord> = {
81
81
  [s in keyof T]: TwistyPropParent<T[s]>;
82
82
  };
83
83
  interface SourceEventDetail<OutputType> {
@@ -85,8 +85,8 @@ interface SourceEventDetail<OutputType> {
85
85
  value: Promise<OutputType>;
86
86
  generation: number;
87
87
  }
88
- type SourceEvent<T> = CustomEvent<SourceEventDetail<T>>;
89
- type PromiseOrValue<T> = T | Promise<T>;
88
+ declare type SourceEvent<T> = CustomEvent<SourceEventDetail<T>>;
89
+ declare type PromiseOrValue<T> = T | Promise<T>;
90
90
  declare abstract class TwistyPropParent<T> {
91
91
  #private;
92
92
  abstract get(): Promise<T>;
@@ -119,7 +119,7 @@ declare abstract class SimpleTwistyPropSource<SimpleType> extends TwistyPropSour
119
119
  protected derive(input: SimpleType): PromiseOrValue<SimpleType>;
120
120
  }
121
121
  declare const NO_VALUE: unique symbol;
122
- type NoValueType = typeof NO_VALUE;
122
+ declare type NoValueType = typeof NO_VALUE;
123
123
  declare abstract class TwistyPropDerived<InputTypes extends InputRecord, OutputType> extends TwistyPropParent<OutputType> {
124
124
  #private;
125
125
  protected userVisibleErrorTracker?: UserVisibleErrorTracker | undefined;
@@ -128,7 +128,7 @@ declare abstract class TwistyPropDerived<InputTypes extends InputRecord, OutputT
128
128
  protected abstract derive(input: InputTypes): PromiseOrValue<OutputType>;
129
129
  }
130
130
 
131
- type SimpleDirection = Direction.Forwards | Direction.Backwards;
131
+ declare type SimpleDirection = Direction.Forwards | Direction.Backwards;
132
132
  interface PlayingInfo {
133
133
  playing: boolean;
134
134
  direction: SimpleDirection;
@@ -174,7 +174,7 @@ declare class AlgProp extends TwistyPropSource<AlgWithIssues, Alg | string> {
174
174
  protected derive(newAlg: Alg | string): Promise<AlgWithIssues>;
175
175
  }
176
176
 
177
- type AlgTransformationPropInputs = {
177
+ declare type AlgTransformationPropInputs = {
178
178
  setupAlg: AlgWithIssues;
179
179
  kpuzzle: KPuzzle;
180
180
  };
@@ -182,7 +182,7 @@ declare class AlgTransformationProp extends TwistyPropDerived<AlgTransformationP
182
182
  derive(input: AlgTransformationPropInputs): KTransformation;
183
183
  }
184
184
 
185
- type AnimatedLeafAlgNode = Move | Pause;
185
+ declare type AnimatedLeafAlgNode = Move | Pause;
186
186
 
187
187
  interface CurrentMove {
188
188
  move: Move;
@@ -217,7 +217,7 @@ declare const setupToLocations: {
217
217
  start: boolean;
218
218
  end: boolean;
219
219
  };
220
- type SetupToLocation = keyof typeof setupToLocations;
220
+ declare type SetupToLocation = keyof typeof setupToLocations;
221
221
  declare class SetupAnchorProp extends SimpleTwistyPropSource<SetupToLocation> {
222
222
  getDefaultValue(): SetupToLocation;
223
223
  }
@@ -261,7 +261,7 @@ declare const smartTimestamps: {
261
261
  anchor: boolean;
262
262
  "opposite-anchor": boolean;
263
263
  };
264
- type TimestampRequest = MillisecondTimestamp | keyof typeof smartTimestamps;
264
+ declare type TimestampRequest = MillisecondTimestamp | keyof typeof smartTimestamps;
265
265
  declare class TimestampRequestProp extends SimpleTwistyPropSource<TimestampRequest> {
266
266
  getDefaultValue(): TimestampRequest;
267
267
  set(v: TimestampRequest): void;
@@ -310,17 +310,17 @@ declare const visualizationFormats: {
310
310
  "experimental-2D-LL": boolean;
311
311
  PG3D: boolean;
312
312
  };
313
- type VisualizationFormat = keyof typeof visualizationFormats;
314
- type VisualizationFormatWithAuto = VisualizationFormat | "auto";
313
+ declare type VisualizationFormat = keyof typeof visualizationFormats;
314
+ declare type VisualizationFormatWithAuto = VisualizationFormat | "auto";
315
315
  declare class VisualizationFormatProp extends SimpleTwistyPropSource<VisualizationFormatWithAuto> {
316
316
  getDefaultValue(): VisualizationFormatWithAuto;
317
317
  }
318
318
 
319
- type VisualizationStrategyPropInputs = {
319
+ declare type VisualizationStrategyPropInputs = {
320
320
  visualizationRequest: VisualizationFormatWithAuto;
321
321
  puzzleID: PuzzleID;
322
322
  };
323
- type VisualizationStrategy = "Cube3D" | "2D" | "experimental-2D-LL" | "PG3D";
323
+ declare type VisualizationStrategy = "Cube3D" | "2D" | "experimental-2D-LL" | "PG3D";
324
324
  declare class VisualizationStrategyProp extends TwistyPropDerived<VisualizationStrategyPropInputs, VisualizationStrategy> {
325
325
  derive(inputs: VisualizationStrategyPropInputs): VisualizationStrategy;
326
326
  }
@@ -346,7 +346,7 @@ declare const puzzleIDs: {
346
346
  redi_cube: boolean;
347
347
  melindas2x2x2x2: boolean;
348
348
  };
349
- type PuzzleID = keyof typeof puzzleIDs;
349
+ declare type PuzzleID = keyof typeof puzzleIDs;
350
350
  declare class PuzzleIDRequestProp extends SimpleTwistyPropSource<PuzzleID | NoValueType> {
351
351
  getDefaultValue(): PuzzleID | NoValueType;
352
352
  }
@@ -357,12 +357,12 @@ declare const indexerStrategyNames: {
357
357
  tree: boolean;
358
358
  simultaneous: boolean;
359
359
  };
360
- type IndexerStrategyName = keyof typeof indexerStrategyNames;
360
+ declare type IndexerStrategyName = keyof typeof indexerStrategyNames;
361
361
  declare class IndexerConstructorRequestProp extends SimpleTwistyPropSource<IndexerStrategyName> {
362
362
  getDefaultValue(): IndexerStrategyName;
363
363
  }
364
364
 
365
- type IndexerConstructor = new (kpuzzle: KPuzzle, alg: Alg) => AlgIndexer;
365
+ declare type IndexerConstructor = new (kpuzzle: KPuzzle, alg: Alg) => AlgIndexer;
366
366
  interface IndexerConstructorPropInputs {
367
367
  puzzle: PuzzleID;
368
368
  alg: AlgWithIssues;
@@ -373,7 +373,7 @@ declare class IndexerConstructorProp extends TwistyPropDerived<IndexerConstructo
373
373
  derive(inputs: IndexerConstructorPropInputs): IndexerConstructor;
374
374
  }
375
375
 
376
- type IndexerPropInputs = {
376
+ declare type IndexerPropInputs = {
377
377
  indexerConstructor: IndexerConstructor;
378
378
  algWithIssues: AlgWithIssues;
379
379
  kpuzzle: KPuzzle;
@@ -465,21 +465,21 @@ declare const viewerLinkPages: {
465
465
  "experimental-twizzle-explorer": boolean;
466
466
  none: boolean;
467
467
  };
468
- type ViewerLinkPage = keyof typeof viewerLinkPages;
469
- type ViewerLinkPageWithAuto = ViewerLinkPage | "auto";
468
+ declare type ViewerLinkPage = keyof typeof viewerLinkPages;
469
+ declare type ViewerLinkPageWithAuto = ViewerLinkPage | "auto";
470
470
  declare class ViewerLinkProp extends SimpleTwistyPropSource<ViewerLinkPageWithAuto> {
471
471
  getDefaultValue(): ViewerLinkPageWithAuto;
472
472
  }
473
473
 
474
474
  declare const buttonIcons: string[];
475
- type ButtonIcon = typeof buttonIcons[number];
475
+ declare type ButtonIcon = typeof buttonIcons[number];
476
476
  interface ButtonAppearance {
477
477
  enabled: boolean;
478
478
  icon: ButtonIcon;
479
479
  title: string;
480
480
  hidden?: boolean;
481
481
  }
482
- type ButtonAppearances = Record<ButtonCommand, ButtonAppearance>;
482
+ declare type ButtonAppearances = Record<ButtonCommand, ButtonAppearance>;
483
483
  interface ButtonAppearancePropInputs {
484
484
  coarseTimelineInfo: CoarseTimelineInfo;
485
485
  viewerLink: ViewerLinkPageWithAuto;
@@ -506,8 +506,8 @@ declare const darkModeThemes: {
506
506
  light: boolean;
507
507
  dark: boolean;
508
508
  };
509
- type DarkModeTheme = keyof typeof darkModeThemes;
510
- type DarkModeThemeWithAuto = DarkModeTheme | "auto";
509
+ declare type DarkModeTheme = keyof typeof darkModeThemes;
510
+ declare type DarkModeThemeWithAuto = DarkModeTheme | "auto";
511
511
  declare class DarkModeRequstProp extends SimpleTwistyPropSource<DarkModeThemeWithAuto> {
512
512
  getDefaultValue(): DarkModeThemeWithAuto;
513
513
  }
@@ -521,7 +521,7 @@ declare const buttonCommands: {
521
521
  "jump-to-end": boolean;
522
522
  "twizzle-link": boolean;
523
523
  };
524
- type ButtonCommand = keyof typeof buttonCommands;
524
+ declare type ButtonCommand = keyof typeof buttonCommands;
525
525
  declare class TwistyButtons extends ManagedCustomElement {
526
526
  #private;
527
527
  model?: TwistyPlayerModel | undefined;
@@ -566,8 +566,8 @@ declare const backViewLayouts: {
566
566
  "side-by-side": boolean;
567
567
  "top-right": boolean;
568
568
  };
569
- type BackViewLayout = keyof typeof backViewLayouts;
570
- type BackViewLayoutWithAuto = BackViewLayout | "auto";
569
+ declare type BackViewLayout = keyof typeof backViewLayouts;
570
+ declare type BackViewLayoutWithAuto = BackViewLayout | "auto";
571
571
  declare class BackViewProp extends SimpleTwistyPropSource<BackViewLayoutWithAuto> {
572
572
  getDefaultValue(): BackViewLayoutWithAuto;
573
573
  }
@@ -576,8 +576,8 @@ declare const controlsLocations: {
576
576
  "bottom-row": boolean;
577
577
  none: boolean;
578
578
  };
579
- type ControlsLocation = keyof typeof controlsLocations;
580
- type ControlPanelThemeWithAuto = ControlsLocation | "auto";
579
+ declare type ControlsLocation = keyof typeof controlsLocations;
580
+ declare type ControlPanelThemeWithAuto = ControlsLocation | "auto";
581
581
  declare class ControlPanelProp extends SimpleTwistyPropSource<ControlPanelThemeWithAuto> {
582
582
  getDefaultValue(): ControlPanelThemeWithAuto;
583
583
  }
@@ -590,12 +590,12 @@ declare class TimeRangeProp extends TwistyPropDerived<{
590
590
  }): TimeRange;
591
591
  }
592
592
 
593
- type FaceletScale = "auto" | number;
593
+ declare type FaceletScale = "auto" | number;
594
594
  declare class FaceletScaleProp extends SimpleTwistyPropSource<FaceletScale> {
595
595
  getDefaultValue(): FaceletScale;
596
596
  }
597
597
 
598
- type FoundationDisplay = "auto" | "opaque" | "none";
598
+ declare type FoundationDisplay = "auto" | "opaque" | "none";
599
599
  declare class FoundationDisplayProp extends SimpleTwistyPropSource<FoundationDisplay> {
600
600
  getDefaultValue(): FoundationDisplay;
601
601
  }
@@ -604,25 +604,25 @@ declare const hintFaceletStyles: {
604
604
  floating: boolean;
605
605
  none: boolean;
606
606
  };
607
- type HintFaceletStyle = keyof typeof hintFaceletStyles;
608
- type HintFaceletStyleWithAuto = HintFaceletStyle | "auto";
607
+ declare type HintFaceletStyle = keyof typeof hintFaceletStyles;
608
+ declare type HintFaceletStyleWithAuto = HintFaceletStyle | "auto";
609
609
  declare class HintFaceletProp extends SimpleTwistyPropSource<HintFaceletStyleWithAuto> {
610
610
  getDefaultValue(): HintFaceletStyleWithAuto;
611
611
  }
612
612
 
613
- type InitialHintFaceletsAnimation = "auto" | "always" | "none";
613
+ declare type InitialHintFaceletsAnimation = "auto" | "always" | "none";
614
614
  declare class InitialHintFaceletsAnimationProp extends SimpleTwistyPropSource<InitialHintFaceletsAnimation> {
615
615
  getDefaultValue(): InitialHintFaceletsAnimation;
616
616
  }
617
617
 
618
- type SpritePropInputs = {
618
+ declare type SpritePropInputs = {
619
619
  spriteURL: URL | null;
620
620
  };
621
621
  declare class SpriteProp extends TwistyPropDerived<SpritePropInputs, Texture | null> {
622
622
  derive(inputs: SpritePropInputs): Promise<Texture | null>;
623
623
  }
624
624
 
625
- type ExperimentalStickering = keyof typeof experimentalStickerings;
625
+ declare type ExperimentalStickering = keyof typeof experimentalStickerings;
626
626
  declare class StickeringRequestProp extends SimpleTwistyPropSource<ExperimentalStickering | null> {
627
627
  getDefaultValue(): ExperimentalStickering | null;
628
628
  }
@@ -646,7 +646,7 @@ declare const dragInputModes: {
646
646
  auto: boolean;
647
647
  none: boolean;
648
648
  };
649
- type DragInputMode = keyof typeof dragInputModes;
649
+ declare type DragInputMode = keyof typeof dragInputModes;
650
650
  declare class DragInputProp extends SimpleTwistyPropSource<DragInputMode> {
651
651
  getDefaultValue(): DragInputMode;
652
652
  }
@@ -660,7 +660,7 @@ declare const movePressInputNames: {
660
660
  none: boolean;
661
661
  basic: boolean;
662
662
  };
663
- type MovePressInput = keyof typeof movePressInputNames;
663
+ declare type MovePressInput = keyof typeof movePressInputNames;
664
664
  declare class MovePressInputProp extends SimpleTwistyPropSource<MovePressInput> {
665
665
  getDefaultValue(): MovePressInput;
666
666
  }
@@ -670,8 +670,8 @@ declare const backgroundThemes: {
670
670
  "checkered-transparent": boolean;
671
671
  none: boolean;
672
672
  };
673
- type BackgroundTheme = keyof typeof backgroundThemes;
674
- type BackgroundThemeWithAuto = BackgroundTheme | "auto";
673
+ declare type BackgroundTheme = keyof typeof backgroundThemes;
674
+ declare type BackgroundThemeWithAuto = BackgroundTheme | "auto";
675
675
  declare class BackgroundProp extends SimpleTwistyPropSource<BackgroundThemeWithAuto> {
676
676
  getDefaultValue(): BackgroundThemeWithAuto;
677
677
  }
@@ -687,13 +687,13 @@ declare class DOMElementReferenceProp extends SimpleTwistyPropSource<Element | n
687
687
  getDefaultValue(): Element | null;
688
688
  }
689
689
 
690
- type CoordinateDegrees = number;
690
+ declare type CoordinateDegrees = number;
691
691
  interface OrbitCoordinates {
692
692
  latitude: CoordinateDegrees;
693
693
  longitude: CoordinateDegrees;
694
694
  distance: number;
695
695
  }
696
- type OrbitCoordinatesRequest = Partial<OrbitCoordinates> | "auto";
696
+ declare type OrbitCoordinatesRequest = Partial<OrbitCoordinates> | "auto";
697
697
  declare class OrbitCoordinatesRequestProp extends TwistyPropSource<OrbitCoordinatesRequest, Partial<OrbitCoordinates> | "auto"> {
698
698
  getDefaultValue(): OrbitCoordinatesRequest;
699
699
  protected canReuseValue(v1: OrbitCoordinates, v2: OrbitCoordinates): boolean;
@@ -741,7 +741,7 @@ declare class TwistySceneModel {
741
741
  constructor(twistyPlayerModel: TwistyPlayerModel);
742
742
  }
743
743
 
744
- type Without<T, K extends string[]> = Pick<T, Exclude<keyof T, K[number]>>;
744
+ declare type Without<T, K extends string[]> = Pick<T, Exclude<keyof T, K[number]>>;
745
745
  declare class TwistyPlayerModel {
746
746
  userVisibleErrorTracker: UserVisibleErrorTracker;
747
747
  alg: AlgProp;
@@ -1230,11 +1230,11 @@ declare global {
1230
1230
  }
1231
1231
  }
1232
1232
 
1233
- type AnimatedLeafAlgNodeInfo = {
1233
+ declare type AnimatedLeafAlgNodeInfo = {
1234
1234
  leaf: Parsed<AnimatedLeafAlgNode>;
1235
1235
  idx: number;
1236
1236
  };
1237
- type OrderedLeafTokens = AnimatedLeafAlgNodeInfo[];
1237
+ declare type OrderedLeafTokens = AnimatedLeafAlgNodeInfo[];
1238
1238
 
1239
1239
  declare class TwistyAlgEditorValueProp extends SimpleTwistyPropSource<string> {
1240
1240
  getDefaultValue(): string;
@@ -1276,7 +1276,7 @@ interface LeafToHighlightPropInputs {
1276
1276
  targetChar: number;
1277
1277
  leafTokens: OrderedLeafTokens;
1278
1278
  }
1279
- type HighlightWhere = "before" | "start" | "inside" | "end" | "after";
1279
+ declare type HighlightWhere = "before" | "start" | "inside" | "end" | "after";
1280
1280
  interface HighlightInfo {
1281
1281
  leafInfo: AnimatedLeafAlgNodeInfo;
1282
1282
  where: HighlightWhere;
@@ -1306,7 +1306,7 @@ declare class TwistyAlgEditorModel {
1306
1306
  * proper rewrite with a better model would be very welcome.
1307
1307
  */
1308
1308
 
1309
- type TwistyPlayerAlgProp = "alg" | "setupAlg";
1309
+ declare type TwistyPlayerAlgProp = "alg" | "setupAlg";
1310
1310
  /** @category Other Custom Elements */
1311
1311
  declare class TwistyAlgEditor extends ManagedCustomElement {
1312
1312
  #private;
@@ -1,9 +1,9 @@
1
- import { A as AlgNode, a as Alg, M as Move, b as AppendOptions, G as Grouping, C as Commutator, c as Conjugate, P as Pause, N as Newline, L as LineComment, d as AlgLeaf } from '../Alg-3c1c16f6.js';
2
- export { a as Alg, f as AlgBranch, d as AlgLeaf, A as AlgNode, h as AppendCancelOptions, C as Commutator, c as Conjugate, G as Grouping, L as LineComment, M as Move, e as MoveModifications, N as Newline, P as Pause, g as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg-3c1c16f6.js';
3
- export { P as ExperimentalParsed } from '../parseAlg-e1af1cb1.js';
1
+ import { A as AlgNode, a as Alg, M as Move, b as AppendOptions, G as Grouping, C as Commutator, c as Conjugate, P as Pause, N as Newline, L as LineComment, d as AlgLeaf } from '../Alg-8b4e9255.js';
2
+ export { a as Alg, f as AlgBranch, d as AlgLeaf, A as AlgNode, h as AppendCancelOptions, C as Commutator, c as Conjugate, G as Grouping, L as LineComment, M as Move, e as MoveModifications, N as Newline, P as Pause, g as PuzzleSpecificSimplifyOptions, Q as QuantumMove, S as SimplifyOptions } from '../Alg-8b4e9255.js';
3
+ export { P as ExperimentalParsed } from '../parseAlg-2dd4194b.js';
4
4
 
5
5
  /** @deprecated */
6
- type Unit = AlgNode;
6
+ declare type Unit = AlgNode;
7
7
 
8
8
  declare function experimentalAppendMove(alg: Alg, addedMove: Move, options?: AppendOptions): Alg;
9
9
 
@@ -1,7 +1,7 @@
1
- import { K as KState } from '../KState-82c7bd49.js';
2
- import { B as BluetoothPuzzle } from '../bluetooth-puzzle-084aff86.js';
3
- export { B as BluetoothPuzzle, A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle-084aff86.js';
4
- import { a as Alg, M as Move } from '../Alg-3c1c16f6.js';
1
+ import { K as KState } from '../KState-0da22515.js';
2
+ import { B as BluetoothPuzzle } from '../bluetooth-puzzle-62e2b423.js';
3
+ export { B as BluetoothPuzzle, A as MoveEvent, O as OrientationEvent } from '../bluetooth-puzzle-62e2b423.js';
4
+ import { a as Alg, M as Move } from '../Alg-8b4e9255.js';
5
5
 
6
6
  declare function enableDebugLogging(enable: boolean): void;
7
7
 
@@ -126,7 +126,7 @@ declare class GanRobot extends EventTarget {
126
126
  }
127
127
 
128
128
  /** @category Robots */
129
- type BluetoothRobot = GanRobot;
129
+ declare type BluetoothRobot = GanRobot;
130
130
  /** @category Robots */
131
131
  declare function connectSmartRobot(options?: BluetoothConnectOptions): Promise<BluetoothRobot>;
132
132
 
@@ -149,7 +149,7 @@ declare class GanTimer extends EventTarget {
149
149
  }
150
150
 
151
151
  /** @category Timers */
152
- type BluetoothTimer = GanTimer;
152
+ declare type BluetoothTimer = GanTimer;
153
153
  /** @category Timers */
154
154
  declare function connectSmartTimer(options?: BluetoothConnectOptions): Promise<BluetoothTimer>;
155
155
 
@@ -1,5 +1,5 @@
1
- import { d as AlgLeaf } from './Alg-3c1c16f6.js';
2
- import { K as KState } from './KState-82c7bd49.js';
1
+ import { d as AlgLeaf } from './Alg-8b4e9255.js';
2
+ import { K as KState } from './KState-0da22515.js';
3
3
 
4
4
  interface StreamTransformer {
5
5
  transformAlgLeaf(algLeafEvent: AlgLeafEvent): void;
@@ -1,2 +1,2 @@
1
- export { a as KPuzzle, b as KPuzzleDefinition, K as KState, c as KStateData, e as KTransformation, d as KTransformationData } from '../KState-82c7bd49.js';
2
- import '../Alg-3c1c16f6.js';
1
+ export { a as KPuzzle, b as KPuzzleDefinition, K as KState, c as KStateData, e as KTransformation, d as KTransformationData } from '../KState-0da22515.js';
2
+ import '../Alg-8b4e9255.js';
@@ -1,4 +1,4 @@
1
- import { a as Alg } from '../Alg-3c1c16f6.js';
1
+ import { a as Alg } from '../Alg-8b4e9255.js';
2
2
 
3
3
  declare const countMoves: (alg: Alg) => number;
4
4
  declare const countMovesETM: (alg: Alg) => number;