cubing 0.24.0 → 0.24.4

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 (71) hide show
  1. package/README.md +37 -7
  2. package/dist/esm/{2x2x2.sgs.json-TASFAQNY.js → 2x2x2.sgs.json-FGJMEY7L.js} +2 -2
  3. package/dist/esm/{2x2x2.sgs.json-TASFAQNY.js.map → 2x2x2.sgs.json-FGJMEY7L.js.map} +0 -0
  4. package/dist/esm/{3d-dynamic-inside-RSDMFS4G.js → 3d-dynamic-inside-OI3KFE53.js} +3 -4
  5. package/dist/esm/{3d-dynamic-inside-RSDMFS4G.js.map → 3d-dynamic-inside-OI3KFE53.js.map} +2 -2
  6. package/dist/esm/bluetooth/index.js +1 -1
  7. package/dist/esm/{chunk-SPTKCRT5.js → chunk-2DZQQRAX.js} +2 -2
  8. package/dist/esm/{chunk-SPTKCRT5.js.map → chunk-2DZQQRAX.js.map} +0 -0
  9. package/dist/esm/{chunk-BBEJTW6Z.js → chunk-63M53ZZ5.js} +2 -2
  10. package/dist/esm/{chunk-BBEJTW6Z.js.map → chunk-63M53ZZ5.js.map} +0 -0
  11. package/dist/esm/{chunk-EA4KWT7Z.js → chunk-ARBPSZE4.js} +3 -3
  12. package/dist/esm/{chunk-EA4KWT7Z.js.map → chunk-ARBPSZE4.js.map} +0 -0
  13. package/dist/esm/{chunk-54HT7B4M.js → chunk-IS5V7Y6I.js} +5 -7
  14. package/dist/esm/chunk-IS5V7Y6I.js.map +7 -0
  15. package/dist/esm/{chunk-ZDALYMGF.js → chunk-KRL5KQQK.js} +32 -3
  16. package/dist/esm/chunk-KRL5KQQK.js.map +7 -0
  17. package/dist/esm/{chunk-3SURT6S2.js → chunk-PJXFSZFG.js} +2 -2
  18. package/dist/esm/{chunk-3SURT6S2.js.map → chunk-PJXFSZFG.js.map} +0 -0
  19. package/dist/esm/{chunk-LR6VCMD2.js → chunk-V5DHYMZ7.js} +2 -2
  20. package/dist/esm/{chunk-LR6VCMD2.js.map → chunk-V5DHYMZ7.js.map} +0 -0
  21. package/dist/esm/{chunk-27MCV5LC.js → chunk-ZA7DHVIG.js} +2 -2
  22. package/dist/esm/{chunk-27MCV5LC.js.map → chunk-ZA7DHVIG.js.map} +0 -0
  23. package/dist/esm/{entry-VNBE3GIX.js → entry-35P24GUC.js} +14 -14
  24. package/dist/esm/{entry-VNBE3GIX.js.map → entry-35P24GUC.js.map} +0 -0
  25. package/dist/esm/{fto.sgs.json-RZ2BQGRG.js → fto.sgs.json-5DLOFNGP.js} +2 -2
  26. package/dist/esm/{fto.sgs.json-RZ2BQGRG.js.map → fto.sgs.json-5DLOFNGP.js.map} +0 -0
  27. package/dist/esm/{megaminx.sgs.json-3UELYHNZ.js → megaminx.sgs.json-6QTJOWQY.js} +3 -3
  28. package/dist/esm/{megaminx.sgs.json-3UELYHNZ.js.map → megaminx.sgs.json-6QTJOWQY.js.map} +0 -0
  29. package/dist/esm/{module-entry-MKJ6SWPL.js → module-entry-EAI3JQ2N.js} +2 -2
  30. package/dist/esm/{module-entry-MKJ6SWPL.js.map → module-entry-EAI3JQ2N.js.map} +0 -0
  31. package/dist/esm/puzzle-geometry/index.js +1 -1
  32. package/dist/esm/puzzles/index.js +1 -1
  33. package/dist/esm/{pyraminx.sgs.json-6KZV2YF7.js → pyraminx.sgs.json-P7ND22JU.js} +3 -3
  34. package/dist/esm/{pyraminx.sgs.json-6KZV2YF7.js.map → pyraminx.sgs.json-P7ND22JU.js.map} +0 -0
  35. package/dist/esm/scramble/index.js +3 -3
  36. package/dist/esm/{scramble_444-WHAZBEON.js → scramble_444-Q22ZMCV5.js} +3 -3
  37. package/dist/esm/{scramble_444-WHAZBEON.js.map → scramble_444-Q22ZMCV5.js.map} +0 -0
  38. package/dist/esm/search/index.js +3 -3
  39. package/dist/esm/{skewb.sgs.json-QVGBEYZV.js → skewb.sgs.json-PE7DQP2D.js} +3 -3
  40. package/dist/esm/{skewb.sgs.json-QVGBEYZV.js.map → skewb.sgs.json-PE7DQP2D.js.map} +0 -0
  41. package/dist/esm/twisty/index.js +339 -258
  42. package/dist/esm/twisty/index.js.map +3 -3
  43. package/dist/esm/{worker-inside-generated-string-K4NE6VX5.js → worker-inside-generated-string-4JQKOQND.js} +21 -21
  44. package/dist/esm/worker-inside-generated-string-4JQKOQND.js.map +7 -0
  45. package/dist/types/puzzle-geometry/FaceNameSwizzler.d.ts +1 -0
  46. package/dist/types/puzzle-geometry/PermOriSet.d.ts +2 -1
  47. package/dist/types/puzzle-geometry/PuzzleGeometry.d.ts +1 -0
  48. package/dist/types/search/worker-inside-generated-string.d.ts +1 -1
  49. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexer.d.ts +5 -4
  50. package/dist/types/twisty/index.d.ts +1 -1
  51. package/dist/types/twisty/model/TwistyPlayerModel.d.ts +46 -42
  52. package/dist/types/twisty/model/props/puzzle/state/AlgTransformationProp.d.ts +1 -1
  53. package/dist/types/twisty/model/props/puzzle/state/AnchorTransformationProp.d.ts +14 -0
  54. package/dist/types/twisty/model/props/puzzle/state/SetupTransformationProp.d.ts +5 -0
  55. package/dist/types/twisty/model/props/timeline/CoarseTimelineInfoProp.d.ts +1 -1
  56. package/dist/types/twisty/model/props/viewer/ButtonAppearanceProp.d.ts +1 -1
  57. package/dist/types/twisty/model/props/viewer/ViewerLinkProp.d.ts +1 -0
  58. package/dist/types/twisty/views/3D/Twisty3DVantage.d.ts +1 -0
  59. package/dist/types/twisty/views/ManagedCustomElement.d.ts +1 -1
  60. package/dist/types/twisty/views/TwistyAlgEditor/TwistyAlgEditor.d.ts +1 -1
  61. package/dist/types/twisty/views/TwistyPlayer.d.ts +2 -2
  62. package/dist/types/twisty/views/control-panel/{TwistyButtonsV2.css.d.ts → TwistyButtons.css.d.ts} +0 -0
  63. package/dist/types/twisty/views/control-panel/{TwistyButtonsV2.d.ts → TwistyButtons.d.ts} +3 -3
  64. package/dist/types/twisty/views/control-panel/{TwistyScrubberV2.d.ts → TwistyScrubber.d.ts} +1 -1
  65. package/dist/types/twisty/views/twizzle/TwizzleLink.d.ts +3 -1
  66. package/package.json +2 -2
  67. package/dist/esm/chunk-54HT7B4M.js.map +0 -7
  68. package/dist/esm/chunk-ZDALYMGF.js.map +0 -7
  69. package/dist/esm/worker-inside-generated-string-K4NE6VX5.js.map +0 -7
  70. package/dist/types/twisty/controllers/indexer/simultaneous-moves/SimultaneousMoveIndexerV2.d.ts +0 -22
  71. package/dist/types/twisty/model/props/puzzle/state/AnchoredStartProp.d.ts +0 -13
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-27KJGD3S.js";
4
4
  import {
5
5
  puzzles
6
- } from "./chunk-54HT7B4M.js";
6
+ } from "./chunk-IS5V7Y6I.js";
7
7
 
8
8
  // src/cubing/search/inside/solve/puzzles/pyraminx.sgs.json.ts
9
9
  var cachedData = null;
@@ -100,4 +100,4 @@ export {
100
100
  sgsDataPyraminx,
101
101
  sgsDataPyraminxFixedOrientation
102
102
  };
103
- //# sourceMappingURL=chunk-3SURT6S2.js.map
103
+ //# sourceMappingURL=chunk-PJXFSZFG.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  PGNotation,
6
6
  getPuzzleGeometryByName
7
- } from "./chunk-ZDALYMGF.js";
7
+ } from "./chunk-KRL5KQQK.js";
8
8
  import {
9
9
  KPuzzle
10
10
  } from "./chunk-B27E6KTE.js";
@@ -1558,4 +1558,4 @@ export {
1558
1558
  cachedSGSDataMegaminx,
1559
1559
  sgsDataMegaminx
1560
1560
  };
1561
- //# sourceMappingURL=chunk-LR6VCMD2.js.map
1561
+ //# sourceMappingURL=chunk-V5DHYMZ7.js.map
@@ -400,7 +400,7 @@ var DEGREES_PER_RADIAN = 360 / TAU;
400
400
  // src/cubing/twisty/heavy-code-imports/3d.ts
401
401
  var cachedConstructorProxy = null;
402
402
  async function proxy3D() {
403
- return cachedConstructorProxy ?? (cachedConstructorProxy = import("./3d-dynamic-inside-RSDMFS4G.js"));
403
+ return cachedConstructorProxy ?? (cachedConstructorProxy = import("./3d-dynamic-inside-OI3KFE53.js"));
404
404
  }
405
405
  var THREEJS = from(async () => (await proxy3D()).T3I);
406
406
 
@@ -420,4 +420,4 @@ export {
420
420
  proxy3D,
421
421
  THREEJS
422
422
  };
423
- //# sourceMappingURL=chunk-27MCV5LC.js.map
423
+ //# sourceMappingURL=chunk-ZA7DHVIG.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  cachedMegaminxKPuzzleWithoutMO
3
- } from "./chunk-LR6VCMD2.js";
3
+ } from "./chunk-V5DHYMZ7.js";
4
4
  import {
5
5
  sgsDataPyraminxFixedOrientation
6
- } from "./chunk-3SURT6S2.js";
6
+ } from "./chunk-PJXFSZFG.js";
7
7
  import {
8
8
  sgsDataSkewbFixedCorner,
9
9
  skewbKPuzzleWithoutMOCached
10
- } from "./chunk-BBEJTW6Z.js";
10
+ } from "./chunk-63M53ZZ5.js";
11
11
  import "./chunk-27KJGD3S.js";
12
12
  import {
13
13
  expose
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  countMoves
17
17
  } from "./chunk-U2TSTTDG.js";
18
- import "./chunk-ZDALYMGF.js";
18
+ import "./chunk-KRL5KQQK.js";
19
19
  import {
20
20
  addOrientationSuffix,
21
21
  initialize333,
@@ -25,7 +25,7 @@ import {
25
25
  random333Scramble,
26
26
  setIsInsideWorker,
27
27
  solve333
28
- } from "./chunk-SPTKCRT5.js";
28
+ } from "./chunk-2DZQQRAX.js";
29
29
  import {
30
30
  randomChoiceFactory,
31
31
  randomPermute,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-37EHU3GZ.js";
34
34
  import {
35
35
  puzzles
36
- } from "./chunk-54HT7B4M.js";
36
+ } from "./chunk-IS5V7Y6I.js";
37
37
  import {
38
38
  KState
39
39
  } from "./chunk-B27E6KTE.js";
@@ -164,7 +164,7 @@ var TREMBLE_DEPTH = 3;
164
164
  var cachedTrembleSolver = null;
165
165
  async function getCachedTrembleSolver() {
166
166
  return cachedTrembleSolver || (cachedTrembleSolver = (async () => {
167
- const sgsCachedData = await (await import("./2x2x2.sgs.json-TASFAQNY.js")).cachedData222();
167
+ const sgsCachedData = await (await import("./2x2x2.sgs.json-FGJMEY7L.js")).cachedData222();
168
168
  return new TrembleSolver(await puzzles["2x2x2"].kpuzzle(), sgsCachedData, "URFLBD".split(""));
169
169
  })());
170
170
  }
@@ -211,7 +211,7 @@ var randomSuffixes = [
211
211
  ];
212
212
  var cachedImport = null;
213
213
  function dynamicScramble444() {
214
- return cachedImport ?? (cachedImport = import("./scramble_444-WHAZBEON.js"));
214
+ return cachedImport ?? (cachedImport = import("./scramble_444-Q22ZMCV5.js"));
215
215
  }
216
216
  async function initialize444() {
217
217
  return (await dynamicScramble444()).initialize();
@@ -302,7 +302,7 @@ var TREMBLE_DEPTH2 = 3;
302
302
  var cachedTrembleSolver2 = null;
303
303
  async function getCachedTrembleSolver2() {
304
304
  return cachedTrembleSolver2 || (cachedTrembleSolver2 = (async () => {
305
- const sgs = await import("./fto.sgs.json-RZ2BQGRG.js");
305
+ const sgs = await import("./fto.sgs.json-5DLOFNGP.js");
306
306
  const json = await sgs.sgsDataFTO();
307
307
  return new TrembleSolver(await puzzles["fto"].kpuzzle(), json, [
308
308
  "U",
@@ -328,7 +328,7 @@ async function randomFTOScramble() {
328
328
  console.warn("FTO scrambles are not yet optimized. They may be much too long (\u224890 moves).");
329
329
  warned = true;
330
330
  }
331
- const sgs = await import("./fto.sgs.json-RZ2BQGRG.js");
331
+ const sgs = await import("./fto.sgs.json-5DLOFNGP.js");
332
332
  return solveFTO(await randomStateFromSGS(await puzzles["fto"].kpuzzle(), await sgs.sgsDataFTO()));
333
333
  }
334
334
 
@@ -337,7 +337,7 @@ var TREMBLE_DEPTH3 = 2;
337
337
  var cachedTrembleSolver3 = null;
338
338
  async function getCachedTrembleSolver3() {
339
339
  return cachedTrembleSolver3 || (cachedTrembleSolver3 = (async () => {
340
- const sgs = await import("./megaminx.sgs.json-3UELYHNZ.js");
340
+ const sgs = await import("./megaminx.sgs.json-6QTJOWQY.js");
341
341
  const json = await sgs.cachedSGSDataMegaminx();
342
342
  return new TrembleSolver(await cachedMegaminxKPuzzleWithoutMO(), json, [
343
343
  "U",
@@ -370,7 +370,7 @@ var TREMBLE_DEPTH4 = 3;
370
370
  var cachedTrembleSolver4 = null;
371
371
  async function getCachedTrembleSolver4() {
372
372
  return cachedTrembleSolver4 || (cachedTrembleSolver4 = (async () => {
373
- const sgs = await import("./pyraminx.sgs.json-6KZV2YF7.js");
373
+ const sgs = await import("./pyraminx.sgs.json-P7ND22JU.js");
374
374
  const json = await sgs.sgsDataPyraminx();
375
375
  return new TrembleSolver(await puzzles.pyraminx.kpuzzle(), json, "RLUB".split(""));
376
376
  })());
@@ -393,7 +393,7 @@ var TREMBLE_DEPTH5 = 3;
393
393
  var cachedTrembleSolver5 = null;
394
394
  async function getCachedTrembleSolver5() {
395
395
  return cachedTrembleSolver5 || (cachedTrembleSolver5 = (async () => {
396
- const sgs = await import("./skewb.sgs.json-QVGBEYZV.js");
396
+ const sgs = await import("./skewb.sgs.json-PE7DQP2D.js");
397
397
  const json = await sgs.sgsDataSkewb();
398
398
  return new TrembleSolver(await sgs.skewbKPuzzleWithoutMOCached(), json, "RLUB".split(""));
399
399
  })());
@@ -533,4 +533,4 @@ var insideAPI = {
533
533
 
534
534
  // src/cubing/search/inside/entry.js
535
535
  expose(insideAPI);
536
- //# sourceMappingURL=entry-VNBE3GIX.js.map
536
+ //# sourceMappingURL=entry-35P24GUC.js.map
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-27KJGD3S.js";
4
4
  import {
5
5
  puzzles
6
- } from "./chunk-54HT7B4M.js";
6
+ } from "./chunk-IS5V7Y6I.js";
7
7
  import "./chunk-B27E6KTE.js";
8
8
  import "./chunk-EWRBHQFX.js";
9
9
  import "./chunk-WO2AXYFE.js";
@@ -638,4 +638,4 @@ Alg U BR' U' BR BL' BR BL BR'
638
638
  export {
639
639
  sgsDataFTO
640
640
  };
641
- //# sourceMappingURL=fto.sgs.json-RZ2BQGRG.js.map
641
+ //# sourceMappingURL=fto.sgs.json-5DLOFNGP.js.map
@@ -2,9 +2,9 @@ import {
2
2
  cachedMegaminxKPuzzleWithoutMO,
3
3
  cachedSGSDataMegaminx,
4
4
  sgsDataMegaminx
5
- } from "./chunk-LR6VCMD2.js";
5
+ } from "./chunk-V5DHYMZ7.js";
6
6
  import "./chunk-27KJGD3S.js";
7
- import "./chunk-ZDALYMGF.js";
7
+ import "./chunk-KRL5KQQK.js";
8
8
  import "./chunk-B27E6KTE.js";
9
9
  import "./chunk-EWRBHQFX.js";
10
10
  import "./chunk-WO2AXYFE.js";
@@ -13,4 +13,4 @@ export {
13
13
  cachedSGSDataMegaminx,
14
14
  sgsDataMegaminx
15
15
  };
16
- //# sourceMappingURL=megaminx.sgs.json-3UELYHNZ.js.map
16
+ //# sourceMappingURL=megaminx.sgs.json-6QTJOWQY.js.map
@@ -6,7 +6,7 @@ async function getNodeMessagePort() {
6
6
  }
7
7
  if (!globalThis.DO_NOT_EXPOSE_API) {
8
8
  (async () => {
9
- await import("./entry-VNBE3GIX.js");
9
+ await import("./entry-35P24GUC.js");
10
10
  const messagePort = globalThis.postMessage ? globalThis : await getNodeMessagePort();
11
11
  messagePort.postMessage("comlink-exposed");
12
12
  })();
@@ -15,4 +15,4 @@ var WORKER_ENTRY_FILE_URL = import.meta.url;
15
15
  export {
16
16
  WORKER_ENTRY_FILE_URL
17
17
  };
18
- //# sourceMappingURL=module-entry-MKJ6SWPL.js.map
18
+ //# sourceMappingURL=module-entry-EAI3JQ2N.js.map
@@ -9,7 +9,7 @@ import {
9
9
  parseOptions,
10
10
  parsePuzzleDescription,
11
11
  schreierSims
12
- } from "../chunk-ZDALYMGF.js";
12
+ } from "../chunk-KRL5KQQK.js";
13
13
  import "../chunk-EWRBHQFX.js";
14
14
  import "../chunk-WO2AXYFE.js";
15
15
  export {
@@ -6,7 +6,7 @@ import {
6
6
  getFaceletAppearance,
7
7
  puzzles,
8
8
  wcaEventInfo
9
- } from "../chunk-54HT7B4M.js";
9
+ } from "../chunk-IS5V7Y6I.js";
10
10
  import {
11
11
  experimental3x3x3KPuzzle
12
12
  } from "../chunk-B27E6KTE.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sgsDataPyraminx,
3
3
  sgsDataPyraminxFixedOrientation
4
- } from "./chunk-3SURT6S2.js";
4
+ } from "./chunk-PJXFSZFG.js";
5
5
  import "./chunk-27KJGD3S.js";
6
- import "./chunk-54HT7B4M.js";
6
+ import "./chunk-IS5V7Y6I.js";
7
7
  import "./chunk-B27E6KTE.js";
8
8
  import "./chunk-EWRBHQFX.js";
9
9
  import "./chunk-WO2AXYFE.js";
@@ -11,4 +11,4 @@ export {
11
11
  sgsDataPyraminx,
12
12
  sgsDataPyraminxFixedOrientation
13
13
  };
14
- //# sourceMappingURL=pyraminx.sgs.json-6KZV2YF7.js.map
14
+ //# sourceMappingURL=pyraminx.sgs.json-P7ND22JU.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  randomScrambleForEvent
3
- } from "../chunk-EA4KWT7Z.js";
4
- import "../chunk-SPTKCRT5.js";
3
+ } from "../chunk-ARBPSZE4.js";
4
+ import "../chunk-2DZQQRAX.js";
5
5
  import "../chunk-37EHU3GZ.js";
6
- import "../chunk-54HT7B4M.js";
6
+ import "../chunk-IS5V7Y6I.js";
7
7
  import "../chunk-B27E6KTE.js";
8
8
  import "../chunk-EWRBHQFX.js";
9
9
  import "../chunk-WO2AXYFE.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  mustBeInsideWorker,
3
3
  random333Scramble
4
- } from "./chunk-SPTKCRT5.js";
4
+ } from "./chunk-2DZQQRAX.js";
5
5
  import {
6
6
  randomUIntBelowFactory
7
7
  } from "./chunk-37EHU3GZ.js";
8
- import "./chunk-54HT7B4M.js";
8
+ import "./chunk-IS5V7Y6I.js";
9
9
  import "./chunk-B27E6KTE.js";
10
10
  import {
11
11
  Alg
@@ -2570,4 +2570,4 @@ export {
2570
2570
  initialize,
2571
2571
  random444Scramble
2572
2572
  };
2573
- //# sourceMappingURL=scramble_444-WHAZBEON.js.map
2573
+ //# sourceMappingURL=scramble_444-Q22ZMCV5.js.map
@@ -6,12 +6,12 @@ import {
6
6
  solveMegaminx,
7
7
  solvePyraminx,
8
8
  solveSkewb
9
- } from "../chunk-EA4KWT7Z.js";
9
+ } from "../chunk-ARBPSZE4.js";
10
10
  import {
11
11
  random333State
12
- } from "../chunk-SPTKCRT5.js";
12
+ } from "../chunk-2DZQQRAX.js";
13
13
  import "../chunk-37EHU3GZ.js";
14
- import "../chunk-54HT7B4M.js";
14
+ import "../chunk-IS5V7Y6I.js";
15
15
  import "../chunk-B27E6KTE.js";
16
16
  import "../chunk-EWRBHQFX.js";
17
17
  import "../chunk-WO2AXYFE.js";
@@ -2,9 +2,9 @@ import {
2
2
  sgsDataSkewb,
3
3
  sgsDataSkewbFixedCorner,
4
4
  skewbKPuzzleWithoutMOCached
5
- } from "./chunk-BBEJTW6Z.js";
5
+ } from "./chunk-63M53ZZ5.js";
6
6
  import "./chunk-27KJGD3S.js";
7
- import "./chunk-ZDALYMGF.js";
7
+ import "./chunk-KRL5KQQK.js";
8
8
  import "./chunk-B27E6KTE.js";
9
9
  import "./chunk-EWRBHQFX.js";
10
10
  import "./chunk-WO2AXYFE.js";
@@ -13,4 +13,4 @@ export {
13
13
  sgsDataSkewbFixedCorner,
14
14
  skewbKPuzzleWithoutMOCached
15
15
  };
16
- //# sourceMappingURL=skewb.sgs.json-QVGBEYZV.js.map
16
+ //# sourceMappingURL=skewb.sgs.json-PE7DQP2D.js.map