11import { Alg , AlgBuilder , LineComment , Newline } from "../../../cubing/alg" ;
22import { experimentalEnsureAlg } from "../../../cubing/alg/Alg" ;
3+ import { experimentalCountMovesETM } from "../../../cubing/notation" ;
34import { puzzles } from "../../../cubing/puzzles" ;
45import { randomScrambleForEvent } from "../../../cubing/scramble" ;
56import {
@@ -17,20 +18,19 @@ import {
1718 TwistyPlayer ,
1819 TwistyPlayerConfig ,
1920} from "../../../cubing/twisty" ;
21+ import { getStickeringGroup } from "../../../cubing/twisty/model/props/puzzle/display/StickeringProp" ;
22+ import type { AlgWithIssues } from "../../../cubing/twisty/model/props/puzzle/state/AlgProp" ;
23+ import type { SetupToLocation } from "../../../cubing/twisty/model/props/puzzle/state/SetupAnchorProp" ;
24+ import { FreshListenerManager } from "../../../cubing/twisty/model/props/TwistyProp" ;
2025import { customElementsShim } from "../../../cubing/twisty/views/node-custom-element-shims" ;
2126import "../../../cubing/twisty/views/stream/TwistyStreamSource" ;
2227import type { TwistyStreamSource } from "../../../cubing/twisty/views/stream/TwistyStreamSource" ;
2328import type { TwistyAlgEditor } from "../../../cubing/twisty/views/TwistyAlgEditor/TwistyAlgEditor" ;
29+ import { URLParamUpdater } from "../../../cubing/twisty/views/twizzle/url-params" ;
2430import { findOrCreateChild , findOrCreateChildWithClass } from "./dom" ;
2531import { examples } from "./examples" ;
2632import { APP_TITLE } from "./strings" ;
2733import { puzzleGroups , supportedPuzzles } from "./supported-puzzles" ;
28- import type { SetupToLocation } from "../../../cubing/twisty/model/props/puzzle/state/SetupAnchorProp" ;
29- import { URLParamUpdater } from "../../../cubing/twisty/views/twizzle/url-params" ;
30- import type { AlgWithIssues } from "../../../cubing/twisty/model/props/puzzle/state/AlgProp" ;
31- import { experimentalCountMoves } from "../../../cubing/notation" ;
32- import { getStickeringGroup } from "../../../cubing/twisty/model/props/puzzle/display/StickeringProp" ;
33- import { FreshListenerManager } from "../../../cubing/twisty/model/props/TwistyProp" ;
3434// import { setURLParams } from "./url-params";
3535
3636// TODO: introduce concepts in `cubing/twisty` for "this is a valid twisty-player value, but not for the current puzzle".
@@ -266,7 +266,7 @@ class ControlPane {
266266 this . twistyPlayer . experimentalModel . puzzleAlg . addFreshListener (
267267 ( algWithIssues : AlgWithIssues ) => {
268268 if ( algWithIssues . issues . errors . length == 0 ) {
269- this . moveCountDisplay . textContent = ` (${ experimentalCountMoves (
269+ this . moveCountDisplay . textContent = ` (${ experimentalCountMovesETM (
270270 algWithIssues . alg ,
271271 ) } ETM)`;
272272 } else {
0 commit comments