cubing 0.27.0 → 0.28.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.
- package/README.md +3 -1
- package/dist/esm/.DS_Store +0 -0
- package/dist/esm/alg/index.js +4 -4
- package/dist/esm/bluetooth/index.js +228 -92
- package/dist/esm/bluetooth/index.js.map +3 -3
- package/dist/esm/{chunk-WQK6XWML.js → chunk-2IZUSAXQ.js} +2 -2
- package/dist/esm/{chunk-WQK6XWML.js.map → chunk-2IZUSAXQ.js.map} +1 -1
- package/dist/esm/{chunk-VY7VF4MA.js → chunk-5744RHHG.js} +145 -58
- package/dist/esm/chunk-5744RHHG.js.map +7 -0
- package/dist/esm/{chunk-KJYODR27.js → chunk-76H7SSCY.js} +28 -12
- package/dist/esm/{chunk-KJYODR27.js.map → chunk-76H7SSCY.js.map} +1 -1
- package/dist/esm/chunk-76UZ2QTB.js +1137 -0
- package/dist/esm/chunk-76UZ2QTB.js.map +7 -0
- package/dist/esm/{chunk-LNUPGLIU.js → chunk-D4YYXJDB.js} +175 -72
- package/dist/esm/{chunk-LNUPGLIU.js.map → chunk-D4YYXJDB.js.map} +3 -3
- package/dist/esm/{chunk-3Y4PK4XI.js → chunk-FEIKQ7FV.js} +6 -6
- package/dist/esm/chunk-FEIKQ7FV.js.map +7 -0
- package/dist/esm/{chunk-HIMSRIID.js → chunk-LOTZ7ZO7.js} +8 -4
- package/dist/esm/{chunk-HIMSRIID.js.map → chunk-LOTZ7ZO7.js.map} +1 -1
- package/dist/esm/{chunk-YBDBUTYE.js → chunk-OX6O2ZO5.js} +1 -1
- package/dist/esm/{chunk-YBDBUTYE.js.map → chunk-OX6O2ZO5.js.map} +1 -1
- package/dist/esm/{chunk-NQORDEXF.js → chunk-PCR6JT2W.js} +466 -322
- package/dist/esm/chunk-PCR6JT2W.js.map +7 -0
- package/dist/esm/{chunk-AU3UW5N4.js → chunk-PTUPP5AW.js} +22 -8
- package/dist/esm/{chunk-AU3UW5N4.js.map → chunk-PTUPP5AW.js.map} +1 -1
- package/dist/esm/{chunk-BEXHMXCT.js → chunk-RHC3DIN3.js} +1 -1
- package/dist/esm/{chunk-BEXHMXCT.js.map → chunk-RHC3DIN3.js.map} +1 -1
- package/dist/esm/{chunk-DSAZCGT2.js → chunk-RTFKKZPH.js} +22 -13
- package/dist/esm/{chunk-DSAZCGT2.js.map → chunk-RTFKKZPH.js.map} +2 -2
- package/dist/esm/{chunk-MGJA5U5O.js → chunk-SBZRVSPK.js} +1 -12
- package/dist/esm/{chunk-MGJA5U5O.js.map → chunk-SBZRVSPK.js.map} +0 -0
- package/dist/esm/{chunk-VYMKSHDI.js → chunk-TX2AQ4XW.js} +35 -13
- package/dist/esm/{chunk-VYMKSHDI.js.map → chunk-TX2AQ4XW.js.map} +2 -2
- package/dist/esm/{chunk-NYAPGKCW.js → chunk-WXCNEGW3.js} +10 -4
- package/dist/esm/{chunk-NYAPGKCW.js.map → chunk-WXCNEGW3.js.map} +1 -1
- package/dist/esm/{chunk-GBMX6FHY.js → chunk-ZB3P5AZN.js} +1 -1
- package/dist/esm/{chunk-GBMX6FHY.js.map → chunk-ZB3P5AZN.js.map} +1 -1
- package/dist/esm/kpuzzle/index.js +3 -3
- package/dist/esm/notation/index.js +3 -3
- package/dist/esm/protocol/index.js +5 -5
- package/dist/esm/puzzle-geometry/index.js +4570 -15
- package/dist/esm/puzzle-geometry/index.js.map +4 -4
- package/dist/esm/puzzles/index.js +5 -5
- package/dist/esm/{puzzles-dynamic-3x3x3-NB2PEZTV.js → puzzles-dynamic-3x3x3-KIG5A6QR.js} +2 -2
- package/dist/esm/{puzzles-dynamic-3x3x3-NB2PEZTV.js.map → puzzles-dynamic-3x3x3-KIG5A6QR.js.map} +0 -0
- package/dist/esm/puzzles-dynamic-4x4x4-PEDAPUZK.js +126 -0
- package/dist/esm/puzzles-dynamic-4x4x4-PEDAPUZK.js.map +7 -0
- package/dist/esm/{puzzles-dynamic-side-events-HOXBZYWI.js → puzzles-dynamic-side-events-5C7LMBWX.js} +2 -2
- package/dist/esm/{puzzles-dynamic-side-events-HOXBZYWI.js.map → puzzles-dynamic-side-events-5C7LMBWX.js.map} +1 -1
- package/dist/esm/{puzzles-dynamic-unofficial-MGVOFUDR.js → puzzles-dynamic-unofficial-WWJ4NJMX.js} +2 -2
- package/dist/esm/{puzzles-dynamic-unofficial-MGVOFUDR.js.map → puzzles-dynamic-unofficial-WWJ4NJMX.js.map} +1 -1
- package/dist/esm/scramble/index.js +6 -6
- package/dist/esm/search/index.js +11 -11
- package/dist/esm/{search-dynamic-sgs-side-events-4UF3XJRB.js → search-dynamic-sgs-side-events-X62KI7ZV.js} +37 -21
- package/dist/esm/search-dynamic-sgs-side-events-X62KI7ZV.js.map +7 -0
- package/dist/esm/{search-dynamic-sgs-unofficial-ZEUVDMBT.js → search-dynamic-sgs-unofficial-YAPJYTMF.js} +35 -14
- package/dist/esm/{search-dynamic-sgs-unofficial-ZEUVDMBT.js.map → search-dynamic-sgs-unofficial-YAPJYTMF.js.map} +2 -2
- package/dist/esm/{search-dynamic-solve-3x3x3-K4TG7P3X.js → search-dynamic-solve-3x3x3-7XZTYQMO.js} +795 -142
- package/dist/esm/{search-dynamic-solve-3x3x3-K4TG7P3X.js.map → search-dynamic-solve-3x3x3-7XZTYQMO.js.map} +1 -1
- package/dist/esm/{search-dynamic-solve-4x4x4-FKEWH5MW.js → search-dynamic-solve-4x4x4-5HST67LZ.js} +135 -29
- package/dist/esm/{search-dynamic-solve-4x4x4-FKEWH5MW.js.map → search-dynamic-solve-4x4x4-5HST67LZ.js.map} +1 -1
- package/dist/esm/{search-dynamic-solve-fto-WROONLZS.js → search-dynamic-solve-fto-4LI23P6K.js} +253 -69
- package/dist/esm/{search-dynamic-solve-fto-WROONLZS.js.map → search-dynamic-solve-fto-4LI23P6K.js.map} +2 -2
- package/dist/esm/{search-dynamic-solve-kilominx-JVBOIWI2.js → search-dynamic-solve-kilominx-PIS3T2P4.js} +32 -8
- package/dist/esm/{search-dynamic-solve-kilominx-JVBOIWI2.js.map → search-dynamic-solve-kilominx-PIS3T2P4.js.map} +2 -2
- package/dist/esm/{search-dynamic-solve-master_tetraminx-3R2CJUKW.js → search-dynamic-solve-master_tetraminx-UB32C7MM.js} +111 -42
- package/dist/esm/{search-dynamic-solve-master_tetraminx-3R2CJUKW.js.map → search-dynamic-solve-master_tetraminx-UB32C7MM.js.map} +2 -2
- package/dist/esm/{search-dynamic-solve-sq1-RS5HN6AH.js → search-dynamic-solve-sq1-HA72TYF2.js} +54 -9
- package/dist/esm/{search-dynamic-solve-sq1-RS5HN6AH.js.map → search-dynamic-solve-sq1-HA72TYF2.js.map} +2 -2
- package/dist/esm/search-worker-inside-generated-string-HMA547DJ.js +3886 -0
- package/dist/esm/search-worker-inside-generated-string-HMA547DJ.js.map +7 -0
- package/dist/esm/{search-worker-js-entry-NTV7KFZ5.js → search-worker-js-entry-3QMPUE4B.js} +149 -55
- package/dist/esm/search-worker-js-entry-3QMPUE4B.js.map +7 -0
- package/dist/esm/{search-worker-ts-entry-EUKJTYA6.js → search-worker-ts-entry-3RHWJNVQ.js} +6 -6
- package/dist/esm/{search-worker-ts-entry-EUKJTYA6.js.map → search-worker-ts-entry-3RHWJNVQ.js.map} +1 -1
- package/dist/esm/stream/index.js +12 -8
- package/dist/esm/stream/index.js.map +1 -1
- package/dist/esm/twisty/index.js +1186 -1533
- package/dist/esm/twisty/index.js.map +4 -4
- package/dist/esm/{twisty-dynamic-3d-UJR5FP6R.js → twisty-dynamic-3d-2KRJEHAN.js} +358 -146
- package/dist/esm/twisty-dynamic-3d-2KRJEHAN.js.map +7 -0
- package/dist/types/{Alg-1b229e63.d.ts → Alg-137fb0d5.d.ts} +53 -46
- package/dist/types/{KState-7a536c23.d.ts → KState-d5f04c9a.d.ts} +1 -1
- package/dist/types/{TwizzleLink-0fbaf9bd.d.ts → TwizzleLink-43d94aca.d.ts} +57 -21
- package/dist/types/alg/index.d.ts +12 -8
- package/dist/types/bluetooth/index.d.ts +4 -4
- package/dist/types/{bluetooth-puzzle-7065b808.d.ts → bluetooth-puzzle-7e1a2576.d.ts} +9 -9
- package/dist/types/kpuzzle/index.d.ts +2 -2
- package/dist/types/notation/index.d.ts +1 -1
- package/dist/types/{outside-f12ca41a.d.ts → outside-f83e819a.d.ts} +2 -2
- package/dist/types/parseAlg-a28f7568.d.ts +9 -0
- package/dist/types/protocol/index.d.ts +2 -2
- package/dist/types/puzzle-geometry/index.d.ts +3 -3
- package/dist/types/puzzles/index.d.ts +5 -5
- package/dist/types/scramble/index.d.ts +3 -3
- package/dist/types/search/index.d.ts +3 -3
- package/dist/types/stream/index.d.ts +5 -5
- package/dist/types/twisty/index.d.ts +13 -6
- package/package.json +32 -28
- package/dist/esm/chunk-3Y4PK4XI.js.map +0 -7
- package/dist/esm/chunk-NQORDEXF.js.map +0 -7
- package/dist/esm/chunk-NS5XT5ZV.js +0 -4386
- package/dist/esm/chunk-NS5XT5ZV.js.map +0 -7
- package/dist/esm/chunk-RECTK3R2.js +0 -342
- package/dist/esm/chunk-RECTK3R2.js.map +0 -7
- package/dist/esm/chunk-VY7VF4MA.js.map +0 -7
- package/dist/esm/search-dynamic-sgs-side-events-4UF3XJRB.js.map +0 -7
- package/dist/esm/search-worker-inside-generated-string-KTF5N656.js +0 -3768
- package/dist/esm/search-worker-inside-generated-string-KTF5N656.js.map +0 -7
- package/dist/esm/search-worker-js-entry-NTV7KFZ5.js.map +0 -7
- package/dist/esm/twisty-dynamic-3d-UJR5FP6R.js.map +0 -7
- package/dist/types/parse-7cf1a92b.d.ts +0 -9
package/dist/esm/{search-dynamic-solve-3x3x3-K4TG7P3X.js → search-dynamic-solve-3x3x3-7XZTYQMO.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-SBZRVSPK.js";
|
|
2
2
|
|
|
3
3
|
// src/cubing/vendor/min2phase/3x3x3-min2phase.js
|
|
4
4
|
var $intern_3 = { 3: 1 };
|
|
@@ -129,11 +129,25 @@ function getClassLiteralForArray(clazz, dimensions) {
|
|
|
129
129
|
function initDim(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions) {
|
|
130
130
|
var result;
|
|
131
131
|
result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
|
|
132
|
-
initValues(
|
|
132
|
+
initValues(
|
|
133
|
+
getClassLiteralForArray(leafClassLiteral, dimensions),
|
|
134
|
+
castableTypeMap,
|
|
135
|
+
elementTypeId,
|
|
136
|
+
elementTypeCategory,
|
|
137
|
+
result
|
|
138
|
+
);
|
|
133
139
|
return result;
|
|
134
140
|
}
|
|
135
141
|
function initDims(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, count) {
|
|
136
|
-
return initDims_0(
|
|
142
|
+
return initDims_0(
|
|
143
|
+
leafClassLiteral,
|
|
144
|
+
castableTypeMapExprs,
|
|
145
|
+
elementTypeIds,
|
|
146
|
+
leafElementTypeCategory,
|
|
147
|
+
dimExprs,
|
|
148
|
+
0,
|
|
149
|
+
count
|
|
150
|
+
);
|
|
137
151
|
}
|
|
138
152
|
function initDims_0(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leafElementTypeCategory, dimExprs, index_0, count) {
|
|
139
153
|
var elementTypeCategory, i, isLastDim, length_0, result;
|
|
@@ -141,11 +155,25 @@ function initDims_0(leafClassLiteral, castableTypeMapExprs, elementTypeIds, leaf
|
|
|
141
155
|
isLastDim = index_0 == count - 1;
|
|
142
156
|
elementTypeCategory = isLastDim ? leafElementTypeCategory : 0;
|
|
143
157
|
result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
|
|
144
|
-
initValues(
|
|
158
|
+
initValues(
|
|
159
|
+
getClassLiteralForArray(leafClassLiteral, count - index_0),
|
|
160
|
+
castableTypeMapExprs[index_0],
|
|
161
|
+
elementTypeIds[index_0],
|
|
162
|
+
elementTypeCategory,
|
|
163
|
+
result
|
|
164
|
+
);
|
|
145
165
|
if (!isLastDim) {
|
|
146
166
|
++index_0;
|
|
147
167
|
for (i = 0; i < length_0; ++i) {
|
|
148
|
-
result[i] = initDims_0(
|
|
168
|
+
result[i] = initDims_0(
|
|
169
|
+
leafClassLiteral,
|
|
170
|
+
castableTypeMapExprs,
|
|
171
|
+
elementTypeIds,
|
|
172
|
+
leafElementTypeCategory,
|
|
173
|
+
dimExprs,
|
|
174
|
+
index_0,
|
|
175
|
+
count
|
|
176
|
+
);
|
|
149
177
|
}
|
|
150
178
|
}
|
|
151
179
|
return result;
|
|
@@ -203,7 +231,14 @@ function fromInt(value_0) {
|
|
|
203
231
|
var rebase, result;
|
|
204
232
|
if (value_0 > -129 && value_0 < 128) {
|
|
205
233
|
rebase = value_0 + 128;
|
|
206
|
-
boxedValues == null && (boxedValues = initDim(
|
|
234
|
+
boxedValues == null && (boxedValues = initDim(
|
|
235
|
+
Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit,
|
|
236
|
+
$intern_3,
|
|
237
|
+
293,
|
|
238
|
+
256,
|
|
239
|
+
0,
|
|
240
|
+
1
|
|
241
|
+
));
|
|
207
242
|
result = boxedValues[rebase];
|
|
208
243
|
!result && (result = boxedValues[rebase] = create(value_0));
|
|
209
244
|
return result;
|
|
@@ -332,18 +367,81 @@ function $clinit_CoordCube() {
|
|
|
332
367
|
return;
|
|
333
368
|
}
|
|
334
369
|
$clinit_CoordCube_ran = true;
|
|
335
|
-
UDSliceMove = initDims(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
370
|
+
UDSliceMove = initDims(
|
|
371
|
+
C_classLit,
|
|
372
|
+
[$intern_3, $intern_26],
|
|
373
|
+
[11, 0],
|
|
374
|
+
7,
|
|
375
|
+
[495, 18],
|
|
376
|
+
2
|
|
377
|
+
);
|
|
378
|
+
TwistMove = initDims(
|
|
379
|
+
C_classLit,
|
|
380
|
+
[$intern_3, $intern_26],
|
|
381
|
+
[11, 0],
|
|
382
|
+
7,
|
|
383
|
+
[324, 18],
|
|
384
|
+
2
|
|
385
|
+
);
|
|
386
|
+
FlipMove = initDims(
|
|
387
|
+
C_classLit,
|
|
388
|
+
[$intern_3, $intern_26],
|
|
389
|
+
[11, 0],
|
|
390
|
+
7,
|
|
391
|
+
[336, 18],
|
|
392
|
+
2
|
|
393
|
+
);
|
|
394
|
+
UDSliceConj = initDims(
|
|
395
|
+
C_classLit,
|
|
396
|
+
[$intern_3, $intern_26],
|
|
397
|
+
[11, 0],
|
|
398
|
+
7,
|
|
399
|
+
[495, 8],
|
|
400
|
+
2
|
|
401
|
+
);
|
|
339
402
|
UDSliceTwistPrun = initDim(I_classLit, $intern_27, 0, 20048, 7, 1);
|
|
340
403
|
UDSliceFlipPrun = initDim(I_classLit, $intern_27, 0, 20791, 7, 1);
|
|
341
404
|
TwistFlipPrun = initDim(I_classLit, $intern_27, 0, 82945, 7, 1);
|
|
342
|
-
CPermMove = initDims(
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
405
|
+
CPermMove = initDims(
|
|
406
|
+
C_classLit,
|
|
407
|
+
[$intern_3, $intern_26],
|
|
408
|
+
[11, 0],
|
|
409
|
+
7,
|
|
410
|
+
[2768, 10],
|
|
411
|
+
2
|
|
412
|
+
);
|
|
413
|
+
EPermMove = initDims(
|
|
414
|
+
C_classLit,
|
|
415
|
+
[$intern_3, $intern_26],
|
|
416
|
+
[11, 0],
|
|
417
|
+
7,
|
|
418
|
+
[2768, 10],
|
|
419
|
+
2
|
|
420
|
+
);
|
|
421
|
+
MPermMove = initDims(
|
|
422
|
+
C_classLit,
|
|
423
|
+
[$intern_3, $intern_26],
|
|
424
|
+
[11, 0],
|
|
425
|
+
7,
|
|
426
|
+
[24, 10],
|
|
427
|
+
2
|
|
428
|
+
);
|
|
429
|
+
MPermConj = initDims(
|
|
430
|
+
C_classLit,
|
|
431
|
+
[$intern_3, $intern_26],
|
|
432
|
+
[11, 0],
|
|
433
|
+
7,
|
|
434
|
+
[24, 16],
|
|
435
|
+
2
|
|
436
|
+
);
|
|
437
|
+
CCombPConj = initDims(
|
|
438
|
+
C_classLit,
|
|
439
|
+
[$intern_3, $intern_26],
|
|
440
|
+
[11, 0],
|
|
441
|
+
7,
|
|
442
|
+
[140, 16],
|
|
443
|
+
2
|
|
444
|
+
);
|
|
347
445
|
MCPermPrun = initDim(I_classLit, $intern_27, 0, 8305, 7, 1);
|
|
348
446
|
EPermCCombPPrun = initDim(I_classLit, $intern_27, 0, 48441, 7, 1);
|
|
349
447
|
}
|
|
@@ -355,14 +453,32 @@ function $doMovePrun(this$static, cc, m) {
|
|
|
355
453
|
this$static.twist = TwistMove[cc.twist][Sym8Move[m << 3 | cc.tsym]];
|
|
356
454
|
this$static.tsym = this$static.twist & 7 ^ cc.tsym;
|
|
357
455
|
this$static.twist >>= 3;
|
|
358
|
-
this$static.prun = max_0(
|
|
456
|
+
this$static.prun = max_0(
|
|
457
|
+
max_0(
|
|
458
|
+
getPruning(
|
|
459
|
+
UDSliceTwistPrun,
|
|
460
|
+
this$static.twist * 495 + UDSliceConj[this$static.slice_0][this$static.tsym]
|
|
461
|
+
),
|
|
462
|
+
getPruning(
|
|
463
|
+
UDSliceFlipPrun,
|
|
464
|
+
this$static.flip * 495 + UDSliceConj[this$static.slice_0][this$static.fsym]
|
|
465
|
+
)
|
|
466
|
+
),
|
|
467
|
+
getPruning(
|
|
468
|
+
TwistFlipPrun,
|
|
469
|
+
this$static.twist << 11 | FlipS2RF[this$static.flip << 3 | this$static.fsym ^ this$static.tsym]
|
|
470
|
+
)
|
|
471
|
+
);
|
|
359
472
|
return this$static.prun;
|
|
360
473
|
}
|
|
361
474
|
function $doMovePrunConj(this$static, cc, m) {
|
|
362
475
|
m = ($clinit_CubieCube(), SymMove_0)[3][m];
|
|
363
476
|
this$static.flipc = FlipMove[cc.flipc >> 3][Sym8Move[m << 3 | cc.flipc & 7]] ^ cc.flipc & 7;
|
|
364
477
|
this$static.twistc = TwistMove[cc.twistc >> 3][Sym8Move[m << 3 | cc.twistc & 7]] ^ cc.twistc & 7;
|
|
365
|
-
return getPruning(
|
|
478
|
+
return getPruning(
|
|
479
|
+
TwistFlipPrun,
|
|
480
|
+
this$static.twistc >> 3 << 11 | FlipS2RF[this$static.flipc ^ this$static.twistc & 7]
|
|
481
|
+
);
|
|
366
482
|
}
|
|
367
483
|
function $setWithPrun(this$static, cc, depth) {
|
|
368
484
|
var pc;
|
|
@@ -370,14 +486,29 @@ function $setWithPrun(this$static, cc, depth) {
|
|
|
370
486
|
this$static.flip = FlipR2S[$getFlip(cc)];
|
|
371
487
|
this$static.tsym = this$static.twist & 7;
|
|
372
488
|
this$static.twist = this$static.twist >> 3;
|
|
373
|
-
this$static.prun = getPruning(
|
|
489
|
+
this$static.prun = getPruning(
|
|
490
|
+
TwistFlipPrun,
|
|
491
|
+
this$static.twist << 11 | FlipS2RF[this$static.flip ^ this$static.tsym]
|
|
492
|
+
);
|
|
374
493
|
if (this$static.prun > depth) {
|
|
375
494
|
return false;
|
|
376
495
|
}
|
|
377
496
|
this$static.fsym = this$static.flip & 7;
|
|
378
497
|
this$static.flip = this$static.flip >> 3;
|
|
379
498
|
this$static.slice_0 = 494 - getComb(cc.ea, 8, true);
|
|
380
|
-
this$static.prun = max_0(
|
|
499
|
+
this$static.prun = max_0(
|
|
500
|
+
this$static.prun,
|
|
501
|
+
max_0(
|
|
502
|
+
getPruning(
|
|
503
|
+
UDSliceTwistPrun,
|
|
504
|
+
this$static.twist * 495 + UDSliceConj[this$static.slice_0][this$static.tsym]
|
|
505
|
+
),
|
|
506
|
+
getPruning(
|
|
507
|
+
UDSliceFlipPrun,
|
|
508
|
+
this$static.flip * 495 + UDSliceConj[this$static.slice_0][this$static.fsym]
|
|
509
|
+
)
|
|
510
|
+
)
|
|
511
|
+
);
|
|
381
512
|
if (this$static.prun > depth) {
|
|
382
513
|
return false;
|
|
383
514
|
}
|
|
@@ -386,7 +517,13 @@ function $setWithPrun(this$static, cc, depth) {
|
|
|
386
517
|
EdgeConjugate(cc, 1, pc);
|
|
387
518
|
this$static.twistc = TwistR2S[$getTwist(pc)];
|
|
388
519
|
this$static.flipc = FlipR2S[$getFlip(pc)];
|
|
389
|
-
this$static.prun = max_0(
|
|
520
|
+
this$static.prun = max_0(
|
|
521
|
+
this$static.prun,
|
|
522
|
+
getPruning(
|
|
523
|
+
TwistFlipPrun,
|
|
524
|
+
this$static.twistc >> 3 << 11 | FlipS2RF[this$static.flipc ^ this$static.twistc & 7]
|
|
525
|
+
)
|
|
526
|
+
);
|
|
390
527
|
return this$static.prun <= depth;
|
|
391
528
|
}
|
|
392
529
|
function CoordCube() {
|
|
@@ -408,17 +545,69 @@ function init_0(fullInit) {
|
|
|
408
545
|
initMPermMoveConj();
|
|
409
546
|
initCombPMoveConj();
|
|
410
547
|
$clinit_CubieCube();
|
|
411
|
-
initSym2Raw(
|
|
412
|
-
|
|
548
|
+
initSym2Raw(
|
|
549
|
+
2048,
|
|
550
|
+
FlipS2R,
|
|
551
|
+
FlipR2S,
|
|
552
|
+
SymStateFlip = initDim(C_classLit, $intern_26, 0, 336, 7, 1),
|
|
553
|
+
0
|
|
554
|
+
);
|
|
555
|
+
initSym2Raw(
|
|
556
|
+
2187,
|
|
557
|
+
TwistS2R,
|
|
558
|
+
TwistR2S,
|
|
559
|
+
SymStateTwist = initDim(C_classLit, $intern_26, 0, 324, 7, 1),
|
|
560
|
+
1
|
|
561
|
+
);
|
|
413
562
|
initFlipMove();
|
|
414
563
|
initTwistMove();
|
|
415
564
|
initUDSliceMoveConj();
|
|
416
565
|
}
|
|
417
|
-
initRawSymPrun(
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
566
|
+
initRawSymPrun(
|
|
567
|
+
MCPermPrun,
|
|
568
|
+
MPermMove,
|
|
569
|
+
MPermConj,
|
|
570
|
+
CPermMove,
|
|
571
|
+
($clinit_CubieCube(), SymStatePerm),
|
|
572
|
+
584244,
|
|
573
|
+
fullInit
|
|
574
|
+
);
|
|
575
|
+
initRawSymPrun(
|
|
576
|
+
EPermCCombPPrun,
|
|
577
|
+
CCombPMove,
|
|
578
|
+
CCombPConj,
|
|
579
|
+
EPermMove,
|
|
580
|
+
SymStatePerm,
|
|
581
|
+
514084,
|
|
582
|
+
fullInit
|
|
583
|
+
);
|
|
584
|
+
initRawSymPrun(
|
|
585
|
+
UDSliceTwistPrun,
|
|
586
|
+
UDSliceMove,
|
|
587
|
+
UDSliceConj,
|
|
588
|
+
TwistMove,
|
|
589
|
+
SymStateTwist,
|
|
590
|
+
431619,
|
|
591
|
+
fullInit
|
|
592
|
+
);
|
|
593
|
+
initRawSymPrun(
|
|
594
|
+
UDSliceFlipPrun,
|
|
595
|
+
UDSliceMove,
|
|
596
|
+
UDSliceConj,
|
|
597
|
+
FlipMove,
|
|
598
|
+
SymStateFlip,
|
|
599
|
+
431619,
|
|
600
|
+
fullInit
|
|
601
|
+
);
|
|
602
|
+
initRawSymPrun(
|
|
603
|
+
TwistFlipPrun,
|
|
604
|
+
null,
|
|
605
|
+
null,
|
|
606
|
+
TwistMove,
|
|
607
|
+
SymStateTwist,
|
|
608
|
+
103939,
|
|
609
|
+
fullInit
|
|
610
|
+
);
|
|
422
611
|
initLevel = fullInit ? 2 : 1;
|
|
423
612
|
}
|
|
424
613
|
function initCPermMove() {
|
|
@@ -437,11 +626,22 @@ function initCombPMoveConj() {
|
|
|
437
626
|
var c, d, i, j, j0;
|
|
438
627
|
c = new CubieCube();
|
|
439
628
|
d = new CubieCube();
|
|
440
|
-
CCombPMove = initDims(
|
|
629
|
+
CCombPMove = initDims(
|
|
630
|
+
C_classLit,
|
|
631
|
+
[$intern_3, $intern_26],
|
|
632
|
+
[11, 0],
|
|
633
|
+
7,
|
|
634
|
+
[140, 10],
|
|
635
|
+
2
|
|
636
|
+
);
|
|
441
637
|
for (i = 0; i < 140; i++) {
|
|
442
638
|
setComb(c.ca, i % 70, 0, false);
|
|
443
639
|
for (j0 = 0; j0 < 10; j0++) {
|
|
444
|
-
CornMult(
|
|
640
|
+
CornMult(
|
|
641
|
+
c,
|
|
642
|
+
($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]],
|
|
643
|
+
d
|
|
644
|
+
);
|
|
445
645
|
CCombPMove[i][j0] = getComb(d.ca, 0, false) + 70 * (165 >> j0 & 1 ^ ~~(i / 70)) & $intern_20;
|
|
446
646
|
}
|
|
447
647
|
for (j = 0; j < 16; j++) {
|
|
@@ -481,7 +681,11 @@ function initMPermMoveConj() {
|
|
|
481
681
|
for (i = 0; i < 24; i++) {
|
|
482
682
|
setNPerm(c.ea, i, 12, true);
|
|
483
683
|
for (j0 = 0; j0 < 10; j0++) {
|
|
484
|
-
EdgeMult(
|
|
684
|
+
EdgeMult(
|
|
685
|
+
c,
|
|
686
|
+
($clinit_CubieCube(), moveCube)[($clinit_Util(), ud2std)[j0]],
|
|
687
|
+
d
|
|
688
|
+
);
|
|
485
689
|
MPermMove[i][j0] = getNPerm(d.ea, 12, true) % 24 & $intern_20;
|
|
486
690
|
}
|
|
487
691
|
for (j = 0; j < 16; j++) {
|
|
@@ -638,22 +842,68 @@ var UDSliceFlipPrun;
|
|
|
638
842
|
var UDSliceMove;
|
|
639
843
|
var UDSliceTwistPrun;
|
|
640
844
|
var initLevel = 0;
|
|
641
|
-
var Lorg_cubing_min2phase_client_CoordCube_2_classLit = createForClass(
|
|
845
|
+
var Lorg_cubing_min2phase_client_CoordCube_2_classLit = createForClass(
|
|
846
|
+
"org.cubing.min2phase.client",
|
|
847
|
+
"CoordCube",
|
|
848
|
+
31
|
|
849
|
+
);
|
|
642
850
|
var $clinit_CubieCube_ran = false;
|
|
643
851
|
function $clinit_CubieCube() {
|
|
644
852
|
if ($clinit_CubieCube_ran) {
|
|
645
853
|
return;
|
|
646
854
|
}
|
|
647
855
|
$clinit_CubieCube_ran = true;
|
|
648
|
-
CubeSym = initDim(
|
|
649
|
-
|
|
856
|
+
CubeSym = initDim(
|
|
857
|
+
Lorg_cubing_min2phase_client_CubieCube_2_classLit,
|
|
858
|
+
$intern_3,
|
|
859
|
+
7,
|
|
860
|
+
16,
|
|
861
|
+
0,
|
|
862
|
+
1
|
|
863
|
+
);
|
|
864
|
+
moveCube = initDim(
|
|
865
|
+
Lorg_cubing_min2phase_client_CubieCube_2_classLit,
|
|
866
|
+
$intern_3,
|
|
867
|
+
7,
|
|
868
|
+
18,
|
|
869
|
+
0,
|
|
870
|
+
1
|
|
871
|
+
);
|
|
650
872
|
moveCubeSym = initDim(J_classLit, $intern_3, 0, 18, 6, 1);
|
|
651
873
|
firstMoveSym = initDim(I_classLit, $intern_27, 0, 48, 7, 1);
|
|
652
|
-
SymMult = initDims(
|
|
653
|
-
|
|
654
|
-
|
|
874
|
+
SymMult = initDims(
|
|
875
|
+
I_classLit,
|
|
876
|
+
[$intern_3, $intern_27],
|
|
877
|
+
[17, 0],
|
|
878
|
+
7,
|
|
879
|
+
[16, 16],
|
|
880
|
+
2
|
|
881
|
+
);
|
|
882
|
+
SymMultInv = initDims(
|
|
883
|
+
I_classLit,
|
|
884
|
+
[$intern_3, $intern_27],
|
|
885
|
+
[17, 0],
|
|
886
|
+
7,
|
|
887
|
+
[16, 16],
|
|
888
|
+
2
|
|
889
|
+
);
|
|
890
|
+
SymMove_0 = initDims(
|
|
891
|
+
I_classLit,
|
|
892
|
+
[$intern_3, $intern_27],
|
|
893
|
+
[17, 0],
|
|
894
|
+
7,
|
|
895
|
+
[16, 18],
|
|
896
|
+
2
|
|
897
|
+
);
|
|
655
898
|
Sym8Move = initDim(I_classLit, $intern_27, 0, 144, 7, 1);
|
|
656
|
-
SymMoveUD = initDims(
|
|
899
|
+
SymMoveUD = initDims(
|
|
900
|
+
I_classLit,
|
|
901
|
+
[$intern_3, $intern_27],
|
|
902
|
+
[17, 0],
|
|
903
|
+
7,
|
|
904
|
+
[16, 18],
|
|
905
|
+
2
|
|
906
|
+
);
|
|
657
907
|
FlipS2R = initDim(C_classLit, $intern_26, 0, 336, 7, 1);
|
|
658
908
|
TwistS2R = initDim(C_classLit, $intern_26, 0, 324, 7, 1);
|
|
659
909
|
EPermS2R = initDim(C_classLit, $intern_26, 0, 2768, 7, 1);
|
|
@@ -666,20 +916,74 @@ function $clinit_CubieCube() {
|
|
|
666
916
|
FlipS2RF = initDim(C_classLit, $intern_26, 0, 2688, 7, 1);
|
|
667
917
|
urf1 = new CubieCube_0(2531, 1373, 67026819, 1367);
|
|
668
918
|
urf2 = new CubieCube_0(2089, 1906, 322752913, 2040);
|
|
669
|
-
urfMove = initValues(
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
919
|
+
urfMove = initValues(
|
|
920
|
+
getClassLiteralForArray(B_classLit, 2),
|
|
921
|
+
$intern_3,
|
|
922
|
+
10,
|
|
923
|
+
0,
|
|
924
|
+
[
|
|
925
|
+
initValues(
|
|
926
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
927
|
+
$intern_30,
|
|
928
|
+
0,
|
|
929
|
+
7,
|
|
930
|
+
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
|
|
931
|
+
),
|
|
932
|
+
initValues(
|
|
933
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
934
|
+
$intern_30,
|
|
935
|
+
0,
|
|
936
|
+
7,
|
|
937
|
+
[6, 7, 8, 0, 1, 2, 3, 4, 5, 15, 16, 17, 9, 10, 11, 12, 13, 14]
|
|
938
|
+
),
|
|
939
|
+
initValues(
|
|
940
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
941
|
+
$intern_30,
|
|
942
|
+
0,
|
|
943
|
+
7,
|
|
944
|
+
[3, 4, 5, 6, 7, 8, 0, 1, 2, 12, 13, 14, 15, 16, 17, 9, 10, 11]
|
|
945
|
+
),
|
|
946
|
+
initValues(
|
|
947
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
948
|
+
$intern_30,
|
|
949
|
+
0,
|
|
950
|
+
7,
|
|
951
|
+
[2, 1, 0, 5, 4, 3, 8, 7, 6, 11, 10, 9, 14, 13, 12, 17, 16, 15]
|
|
952
|
+
),
|
|
953
|
+
initValues(
|
|
954
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
955
|
+
$intern_30,
|
|
956
|
+
0,
|
|
957
|
+
7,
|
|
958
|
+
[8, 7, 6, 2, 1, 0, 5, 4, 3, 17, 16, 15, 11, 10, 9, 14, 13, 12]
|
|
959
|
+
),
|
|
960
|
+
initValues(
|
|
961
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
962
|
+
$intern_30,
|
|
963
|
+
0,
|
|
964
|
+
7,
|
|
965
|
+
[5, 4, 3, 8, 7, 6, 2, 1, 0, 14, 13, 12, 17, 16, 15, 11, 10, 9]
|
|
966
|
+
)
|
|
967
|
+
]
|
|
968
|
+
);
|
|
677
969
|
initMove();
|
|
678
970
|
initSym();
|
|
679
971
|
}
|
|
680
972
|
function $$init(this$static) {
|
|
681
|
-
this$static.ca = initValues(
|
|
682
|
-
|
|
973
|
+
this$static.ca = initValues(
|
|
974
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
975
|
+
$intern_30,
|
|
976
|
+
0,
|
|
977
|
+
7,
|
|
978
|
+
[0, 1, 2, 3, 4, 5, 6, 7]
|
|
979
|
+
);
|
|
980
|
+
this$static.ea = initValues(
|
|
981
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
982
|
+
$intern_30,
|
|
983
|
+
0,
|
|
984
|
+
7,
|
|
985
|
+
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22]
|
|
986
|
+
);
|
|
683
987
|
}
|
|
684
988
|
function $URFConjugate(this$static) {
|
|
685
989
|
!this$static.temps && (this$static.temps = new CubieCube());
|
|
@@ -743,7 +1047,13 @@ function $selfSymmetry(this$static) {
|
|
|
743
1047
|
CornConjugate(c, SymMultInv[0][i], d);
|
|
744
1048
|
if (equals_7(d.ca, this$static.ca)) {
|
|
745
1049
|
EdgeConjugate(c, SymMultInv[0][i], d);
|
|
746
|
-
equals_7(d.ea, this$static.ea) && (sym = or(
|
|
1050
|
+
equals_7(d.ea, this$static.ea) && (sym = or(
|
|
1051
|
+
sym,
|
|
1052
|
+
shl(
|
|
1053
|
+
{ l: 1, m: 0, h: 0 },
|
|
1054
|
+
(urfInv << 4 | i) < 48 ? urfInv << 4 | i : 48
|
|
1055
|
+
)
|
|
1056
|
+
));
|
|
747
1057
|
}
|
|
748
1058
|
}
|
|
749
1059
|
}
|
|
@@ -903,7 +1213,13 @@ function initMove() {
|
|
|
903
1213
|
function initPermSym2Raw() {
|
|
904
1214
|
$clinit_CubieCube();
|
|
905
1215
|
var cc, i, i0;
|
|
906
|
-
initSym2Raw(
|
|
1216
|
+
initSym2Raw(
|
|
1217
|
+
40320,
|
|
1218
|
+
EPermS2R,
|
|
1219
|
+
EPermR2S,
|
|
1220
|
+
SymStatePerm = initDim(C_classLit, $intern_26, 0, 2768, 7, 1),
|
|
1221
|
+
2
|
|
1222
|
+
);
|
|
907
1223
|
cc = new CubieCube();
|
|
908
1224
|
for (i0 = 0; i0 < 2768; i0++) {
|
|
909
1225
|
$setEPerm(cc, EPermS2R[i0]);
|
|
@@ -1052,22 +1368,53 @@ var moveCubeSym;
|
|
|
1052
1368
|
var urf1;
|
|
1053
1369
|
var urf2;
|
|
1054
1370
|
var urfMove;
|
|
1055
|
-
var Lorg_cubing_min2phase_client_CubieCube_2_classLit = createForClass(
|
|
1371
|
+
var Lorg_cubing_min2phase_client_CubieCube_2_classLit = createForClass(
|
|
1372
|
+
"org.cubing.min2phase.client",
|
|
1373
|
+
"CubieCube",
|
|
1374
|
+
7
|
|
1375
|
+
);
|
|
1056
1376
|
function $initPhase2(this$static, p2corn, p2csym, p2edge, p2esym, p2mid, edgei, corni) {
|
|
1057
1377
|
var depth2, i, i0, prun, ret;
|
|
1058
|
-
prun = max_0(
|
|
1378
|
+
prun = max_0(
|
|
1379
|
+
getPruning(
|
|
1380
|
+
($clinit_CoordCube(), EPermCCombPPrun),
|
|
1381
|
+
(edgei >> 4) * 140 + CCombPConj[($clinit_CubieCube(), Perm2CombP)[corni >> 4] & 255][SymMultInv[edgei & 15][corni & 15]]
|
|
1382
|
+
),
|
|
1383
|
+
max_0(
|
|
1384
|
+
getPruning(
|
|
1385
|
+
EPermCCombPPrun,
|
|
1386
|
+
p2edge * 140 + CCombPConj[Perm2CombP[p2corn] & 255][SymMultInv[p2esym][p2csym]]
|
|
1387
|
+
),
|
|
1388
|
+
getPruning(MCPermPrun, p2corn * 24 + MPermConj[p2mid][p2csym])
|
|
1389
|
+
)
|
|
1390
|
+
);
|
|
1059
1391
|
if (prun > this$static.maxDep2) {
|
|
1060
1392
|
return prun - this$static.maxDep2;
|
|
1061
1393
|
}
|
|
1062
1394
|
for (depth2 = this$static.maxDep2; depth2 >= prun; depth2--) {
|
|
1063
|
-
ret = $phase2(
|
|
1395
|
+
ret = $phase2(
|
|
1396
|
+
this$static,
|
|
1397
|
+
p2edge,
|
|
1398
|
+
p2esym,
|
|
1399
|
+
p2corn,
|
|
1400
|
+
p2csym,
|
|
1401
|
+
p2mid,
|
|
1402
|
+
depth2,
|
|
1403
|
+
this$static.depth1,
|
|
1404
|
+
10
|
|
1405
|
+
);
|
|
1064
1406
|
if (ret < 0) {
|
|
1065
1407
|
break;
|
|
1066
1408
|
}
|
|
1067
1409
|
depth2 -= ret;
|
|
1068
1410
|
this$static.solLen = 0;
|
|
1069
1411
|
this$static.solution = new Util$Solution();
|
|
1070
|
-
$setArgs(
|
|
1412
|
+
$setArgs(
|
|
1413
|
+
this$static.solution,
|
|
1414
|
+
this$static.verbose,
|
|
1415
|
+
this$static.urfIdx,
|
|
1416
|
+
this$static.depth1
|
|
1417
|
+
);
|
|
1071
1418
|
for (i0 = 0; i0 < this$static.depth1 + depth2; i0++) {
|
|
1072
1419
|
$appendSolMove(this$static.solution, this$static.move[i0]);
|
|
1073
1420
|
}
|
|
@@ -1077,7 +1424,10 @@ function $initPhase2(this$static, p2corn, p2csym, p2edge, p2esym, p2mid, edgei,
|
|
|
1077
1424
|
this$static.solLen = this$static.solution.length_0;
|
|
1078
1425
|
}
|
|
1079
1426
|
if (depth2 != this$static.maxDep2) {
|
|
1080
|
-
this$static.maxDep2 = min_0(
|
|
1427
|
+
this$static.maxDep2 = min_0(
|
|
1428
|
+
MAX_DEPTH2,
|
|
1429
|
+
this$static.solLen - this$static.length1 - 1
|
|
1430
|
+
);
|
|
1081
1431
|
return gte(this$static.probe, this$static.probeMin) ? 0 : 1;
|
|
1082
1432
|
}
|
|
1083
1433
|
return 1;
|
|
@@ -1085,13 +1435,24 @@ function $initPhase2(this$static, p2corn, p2csym, p2edge, p2esym, p2mid, edgei,
|
|
|
1085
1435
|
function $initPhase2Pre(this$static) {
|
|
1086
1436
|
var corni, edgei, i, lastMove, lastPre, m, p2corn, p2csym, p2edge, p2esym, p2mid, p2switch, p2switchMask, p2switchMax, ret;
|
|
1087
1437
|
this$static.isRec = false;
|
|
1088
|
-
if (gte(
|
|
1438
|
+
if (gte(
|
|
1439
|
+
this$static.probe,
|
|
1440
|
+
!this$static.solution ? this$static.probeMax : this$static.probeMin
|
|
1441
|
+
)) {
|
|
1089
1442
|
return 0;
|
|
1090
1443
|
}
|
|
1091
1444
|
this$static.probe = add_1(this$static.probe, { l: 1, m: 0, h: 0 });
|
|
1092
1445
|
for (i = this$static.valid1; i < this$static.depth1; i++) {
|
|
1093
|
-
CornMult(
|
|
1094
|
-
|
|
1446
|
+
CornMult(
|
|
1447
|
+
this$static.phase1Cubie[i],
|
|
1448
|
+
($clinit_CubieCube(), moveCube)[this$static.move[i]],
|
|
1449
|
+
this$static.phase1Cubie[i + 1]
|
|
1450
|
+
);
|
|
1451
|
+
EdgeMult(
|
|
1452
|
+
this$static.phase1Cubie[i],
|
|
1453
|
+
moveCube[this$static.move[i]],
|
|
1454
|
+
this$static.phase1Cubie[i + 1]
|
|
1455
|
+
);
|
|
1095
1456
|
}
|
|
1096
1457
|
this$static.valid1 = this$static.depth1;
|
|
1097
1458
|
p2corn = $getCPermSym(this$static.phase1Cubie[this$static.depth1]);
|
|
@@ -1110,7 +1471,16 @@ function $initPhase2Pre(this$static) {
|
|
|
1110
1471
|
for (p2switch = 0, p2switchMask = (1 << p2switchMax) - 1; p2switch < p2switchMax; p2switch++) {
|
|
1111
1472
|
if ((p2switchMask >> p2switch & 1) != 0) {
|
|
1112
1473
|
p2switchMask &= ~(1 << p2switch);
|
|
1113
|
-
ret = $initPhase2(
|
|
1474
|
+
ret = $initPhase2(
|
|
1475
|
+
this$static,
|
|
1476
|
+
p2corn,
|
|
1477
|
+
p2csym,
|
|
1478
|
+
p2edge,
|
|
1479
|
+
p2esym,
|
|
1480
|
+
p2mid,
|
|
1481
|
+
edgei,
|
|
1482
|
+
corni
|
|
1483
|
+
);
|
|
1114
1484
|
if (ret == 0 || ret > 2) {
|
|
1115
1485
|
break;
|
|
1116
1486
|
} else
|
|
@@ -1155,9 +1525,18 @@ function $initSearch(this$static) {
|
|
|
1155
1525
|
var i;
|
|
1156
1526
|
this$static.conjMask = 0;
|
|
1157
1527
|
this$static.selfSym = $selfSymmetry(this$static.cc);
|
|
1158
|
-
this$static.conjMask |= neq(
|
|
1159
|
-
|
|
1160
|
-
|
|
1528
|
+
this$static.conjMask |= neq(
|
|
1529
|
+
and(shr(this$static.selfSym, 16), { l: $intern_20, m: 0, h: 0 }),
|
|
1530
|
+
{ l: 0, m: 0, h: 0 }
|
|
1531
|
+
) ? 18 : 0;
|
|
1532
|
+
this$static.conjMask |= neq(
|
|
1533
|
+
and(shr(this$static.selfSym, 32), { l: $intern_20, m: 0, h: 0 }),
|
|
1534
|
+
{ l: 0, m: 0, h: 0 }
|
|
1535
|
+
) ? 36 : 0;
|
|
1536
|
+
this$static.conjMask |= neq(
|
|
1537
|
+
and(shr(this$static.selfSym, 48), { l: $intern_20, m: 0, h: 0 }),
|
|
1538
|
+
{ l: 0, m: 0, h: 0 }
|
|
1539
|
+
) ? 56 : 0;
|
|
1161
1540
|
this$static.selfSym = and(this$static.selfSym, {
|
|
1162
1541
|
l: $intern_9,
|
|
1163
1542
|
m: $intern_9,
|
|
@@ -1207,7 +1586,13 @@ function $phase1(this$static, node, ssym, maxl, lm) {
|
|
|
1207
1586
|
}
|
|
1208
1587
|
this$static.move[this$static.depth1 - maxl] = m;
|
|
1209
1588
|
this$static.valid1 = min_0(this$static.valid1, this$static.depth1 - maxl);
|
|
1210
|
-
ret = $phase1(
|
|
1589
|
+
ret = $phase1(
|
|
1590
|
+
this$static,
|
|
1591
|
+
this$static.nodeUD[maxl],
|
|
1592
|
+
ssym & toInt(($clinit_CubieCube(), moveCubeSym)[m]),
|
|
1593
|
+
maxl - 1,
|
|
1594
|
+
axis_0
|
|
1595
|
+
);
|
|
1211
1596
|
if (ret == 0) {
|
|
1212
1597
|
return 0;
|
|
1213
1598
|
} else if (ret >= 2) {
|
|
@@ -1224,7 +1609,17 @@ function $phase1PreMoves(this$static, maxl, lm, cc, ssym) {
|
|
|
1224
1609
|
this$static.depth1 = this$static.length1 - this$static.preMoveLen;
|
|
1225
1610
|
this$static.phase1Cubie[0] = cc;
|
|
1226
1611
|
this$static.allowShorter = this$static.depth1 == MIN_P1LENGTH_PRE && this$static.preMoveLen != 0;
|
|
1227
|
-
if ($setWithPrun(
|
|
1612
|
+
if ($setWithPrun(
|
|
1613
|
+
this$static.nodeUD[this$static.depth1 + 1],
|
|
1614
|
+
cc,
|
|
1615
|
+
this$static.depth1
|
|
1616
|
+
) && $phase1(
|
|
1617
|
+
this$static,
|
|
1618
|
+
this$static.nodeUD[this$static.depth1 + 1],
|
|
1619
|
+
ssym,
|
|
1620
|
+
this$static.depth1,
|
|
1621
|
+
-1
|
|
1622
|
+
) == 0) {
|
|
1228
1623
|
return 0;
|
|
1229
1624
|
}
|
|
1230
1625
|
}
|
|
@@ -1242,10 +1637,20 @@ function $phase1PreMoves(this$static, maxl, lm, cc, ssym) {
|
|
|
1242
1637
|
if (this$static.isRec && m != this$static.preMoves[this$static.maxPreMoves - maxl] || (skipMoves & 1 << m) != 0) {
|
|
1243
1638
|
continue;
|
|
1244
1639
|
}
|
|
1245
|
-
CornMult(
|
|
1640
|
+
CornMult(
|
|
1641
|
+
($clinit_CubieCube(), moveCube)[m],
|
|
1642
|
+
cc,
|
|
1643
|
+
this$static.preMoveCubes[maxl]
|
|
1644
|
+
);
|
|
1246
1645
|
EdgeMult(moveCube[m], cc, this$static.preMoveCubes[maxl]);
|
|
1247
1646
|
this$static.preMoves[this$static.maxPreMoves - maxl] = m;
|
|
1248
|
-
ret = $phase1PreMoves(
|
|
1647
|
+
ret = $phase1PreMoves(
|
|
1648
|
+
this$static,
|
|
1649
|
+
maxl - 1,
|
|
1650
|
+
m,
|
|
1651
|
+
this$static.preMoveCubes[maxl],
|
|
1652
|
+
ssym & toInt(moveCubeSym[m])
|
|
1653
|
+
);
|
|
1249
1654
|
if (ret == 0) {
|
|
1250
1655
|
return 0;
|
|
1251
1656
|
}
|
|
@@ -1272,19 +1677,38 @@ function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
|
|
|
1272
1677
|
edgex >>= 4;
|
|
1273
1678
|
edgei = getPermSymInv(edgex, esymx, false);
|
|
1274
1679
|
corni = getPermSymInv(cornx, csymx, true);
|
|
1275
|
-
prun = getPruning(
|
|
1680
|
+
prun = getPruning(
|
|
1681
|
+
EPermCCombPPrun,
|
|
1682
|
+
(edgei >> 4) * 140 + CCombPConj[Perm2CombP[corni >> 4] & 255][SymMultInv[edgei & 15][corni & 15]]
|
|
1683
|
+
);
|
|
1276
1684
|
if (prun > maxl + 1) {
|
|
1277
1685
|
return maxl - prun + 1;
|
|
1278
1686
|
} else if (prun >= maxl) {
|
|
1279
1687
|
m += 66 >> m & 3 & maxl - prun;
|
|
1280
1688
|
continue;
|
|
1281
1689
|
}
|
|
1282
|
-
prun = max_0(
|
|
1690
|
+
prun = max_0(
|
|
1691
|
+
getPruning(MCPermPrun, cornx * 24 + MPermConj[midx][csymx]),
|
|
1692
|
+
getPruning(
|
|
1693
|
+
EPermCCombPPrun,
|
|
1694
|
+
edgex * 140 + CCombPConj[Perm2CombP[cornx] & 255][SymMultInv[esymx][csymx]]
|
|
1695
|
+
)
|
|
1696
|
+
);
|
|
1283
1697
|
if (prun >= maxl) {
|
|
1284
1698
|
m += 66 >> m & 3 & maxl - prun;
|
|
1285
1699
|
continue;
|
|
1286
1700
|
}
|
|
1287
|
-
ret = $phase2(
|
|
1701
|
+
ret = $phase2(
|
|
1702
|
+
this$static,
|
|
1703
|
+
edgex,
|
|
1704
|
+
esymx,
|
|
1705
|
+
cornx,
|
|
1706
|
+
csymx,
|
|
1707
|
+
midx,
|
|
1708
|
+
maxl - 1,
|
|
1709
|
+
depth + 1,
|
|
1710
|
+
m
|
|
1711
|
+
);
|
|
1288
1712
|
if (ret >= 0) {
|
|
1289
1713
|
this$static.move[depth] = ud2std[m];
|
|
1290
1714
|
return ret;
|
|
@@ -1298,12 +1722,21 @@ function $phase2(this$static, edge, esym, corn, csym, mid, maxl, depth, lm) {
|
|
|
1298
1722
|
}
|
|
1299
1723
|
function $search(this$static) {
|
|
1300
1724
|
for (this$static.length1 = this$static.isRec ? this$static.length1 : 0; this$static.length1 < this$static.solLen; this$static.length1++) {
|
|
1301
|
-
this$static.maxDep2 = min_0(
|
|
1725
|
+
this$static.maxDep2 = min_0(
|
|
1726
|
+
MAX_DEPTH2,
|
|
1727
|
+
this$static.solLen - this$static.length1 - 1
|
|
1728
|
+
);
|
|
1302
1729
|
for (this$static.urfIdx = this$static.isRec ? this$static.urfIdx : 0; this$static.urfIdx < 6; this$static.urfIdx++) {
|
|
1303
1730
|
if ((this$static.conjMask & 1 << this$static.urfIdx) != 0) {
|
|
1304
1731
|
continue;
|
|
1305
1732
|
}
|
|
1306
|
-
if ($phase1PreMoves(
|
|
1733
|
+
if ($phase1PreMoves(
|
|
1734
|
+
this$static,
|
|
1735
|
+
this$static.maxPreMoves,
|
|
1736
|
+
-30,
|
|
1737
|
+
this$static.urfCubieCube[this$static.urfIdx],
|
|
1738
|
+
toInt(and(this$static.selfSym, { l: $intern_20, m: 0, h: 0 }))
|
|
1739
|
+
) == 0) {
|
|
1307
1740
|
return !this$static.solution ? "Error 8" : $toString_2(this$static.solution);
|
|
1308
1741
|
}
|
|
1309
1742
|
}
|
|
@@ -1331,14 +1764,16 @@ function $verify_0(this$static, facelets) {
|
|
|
1331
1764
|
var center, count, f, i;
|
|
1332
1765
|
count = 0;
|
|
1333
1766
|
f = initDim(B_classLit, $intern_30, 0, 54, 7, 1);
|
|
1334
|
-
center = _String(
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1767
|
+
center = _String(
|
|
1768
|
+
initValues(getClassLiteralForArray(C_classLit, 1), $intern_26, 0, 7, [
|
|
1769
|
+
facelets.charCodeAt(4),
|
|
1770
|
+
facelets.charCodeAt(13),
|
|
1771
|
+
facelets.charCodeAt(22),
|
|
1772
|
+
facelets.charCodeAt(31),
|
|
1773
|
+
facelets.charCodeAt(40),
|
|
1774
|
+
facelets.charCodeAt(49)
|
|
1775
|
+
])
|
|
1776
|
+
);
|
|
1342
1777
|
for (i = 0; i < 54; i++) {
|
|
1343
1778
|
f[i] = $indexOf_0(center, fromCodePoint(facelets.charCodeAt(i))) << 24 >> 24;
|
|
1344
1779
|
if (f[i] == -1) {
|
|
@@ -1355,14 +1790,63 @@ function $verify_0(this$static, facelets) {
|
|
|
1355
1790
|
function Search() {
|
|
1356
1791
|
var i, i0, i1;
|
|
1357
1792
|
this.move = initDim(I_classLit, $intern_27, 0, 31, 7, 1);
|
|
1358
|
-
this.nodeUD = initDim(
|
|
1359
|
-
|
|
1360
|
-
|
|
1793
|
+
this.nodeUD = initDim(
|
|
1794
|
+
Lorg_cubing_min2phase_client_CoordCube_2_classLit,
|
|
1795
|
+
$intern_3,
|
|
1796
|
+
31,
|
|
1797
|
+
21,
|
|
1798
|
+
0,
|
|
1799
|
+
1
|
|
1800
|
+
);
|
|
1801
|
+
this.nodeRL = initDim(
|
|
1802
|
+
Lorg_cubing_min2phase_client_CoordCube_2_classLit,
|
|
1803
|
+
$intern_3,
|
|
1804
|
+
31,
|
|
1805
|
+
21,
|
|
1806
|
+
0,
|
|
1807
|
+
1
|
|
1808
|
+
);
|
|
1809
|
+
this.nodeFB = initDim(
|
|
1810
|
+
Lorg_cubing_min2phase_client_CoordCube_2_classLit,
|
|
1811
|
+
$intern_3,
|
|
1812
|
+
31,
|
|
1813
|
+
21,
|
|
1814
|
+
0,
|
|
1815
|
+
1
|
|
1816
|
+
);
|
|
1361
1817
|
this.cc = new CubieCube();
|
|
1362
|
-
this.urfCubieCube = initDim(
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1818
|
+
this.urfCubieCube = initDim(
|
|
1819
|
+
Lorg_cubing_min2phase_client_CubieCube_2_classLit,
|
|
1820
|
+
$intern_3,
|
|
1821
|
+
7,
|
|
1822
|
+
6,
|
|
1823
|
+
0,
|
|
1824
|
+
1
|
|
1825
|
+
);
|
|
1826
|
+
this.urfCoordCube = initDim(
|
|
1827
|
+
Lorg_cubing_min2phase_client_CoordCube_2_classLit,
|
|
1828
|
+
$intern_3,
|
|
1829
|
+
31,
|
|
1830
|
+
6,
|
|
1831
|
+
0,
|
|
1832
|
+
1
|
|
1833
|
+
);
|
|
1834
|
+
this.phase1Cubie = initDim(
|
|
1835
|
+
Lorg_cubing_min2phase_client_CubieCube_2_classLit,
|
|
1836
|
+
$intern_3,
|
|
1837
|
+
7,
|
|
1838
|
+
21,
|
|
1839
|
+
0,
|
|
1840
|
+
1
|
|
1841
|
+
);
|
|
1842
|
+
this.preMoveCubes = initDim(
|
|
1843
|
+
Lorg_cubing_min2phase_client_CubieCube_2_classLit,
|
|
1844
|
+
$intern_3,
|
|
1845
|
+
7,
|
|
1846
|
+
21,
|
|
1847
|
+
0,
|
|
1848
|
+
1
|
|
1849
|
+
);
|
|
1366
1850
|
this.preMoves = initDim(I_classLit, $intern_27, 0, 20, 7, 1);
|
|
1367
1851
|
for (i0 = 0; i0 < 21; i0++) {
|
|
1368
1852
|
this.nodeUD[i0] = new CoordCube();
|
|
@@ -1404,52 +1888,196 @@ function $clinit_Util() {
|
|
|
1404
1888
|
}
|
|
1405
1889
|
$clinit_Util_ran = true;
|
|
1406
1890
|
var i, i0, i1, ix, j, jx;
|
|
1407
|
-
cornerFacelet = initValues(
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1891
|
+
cornerFacelet = initValues(
|
|
1892
|
+
getClassLiteralForArray(B_classLit, 2),
|
|
1893
|
+
$intern_3,
|
|
1894
|
+
10,
|
|
1895
|
+
0,
|
|
1896
|
+
[
|
|
1897
|
+
initValues(
|
|
1898
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1899
|
+
$intern_30,
|
|
1900
|
+
0,
|
|
1901
|
+
7,
|
|
1902
|
+
[8, 9, 20]
|
|
1903
|
+
),
|
|
1904
|
+
initValues(
|
|
1905
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1906
|
+
$intern_30,
|
|
1907
|
+
0,
|
|
1908
|
+
7,
|
|
1909
|
+
[6, 18, 38]
|
|
1910
|
+
),
|
|
1911
|
+
initValues(
|
|
1912
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1913
|
+
$intern_30,
|
|
1914
|
+
0,
|
|
1915
|
+
7,
|
|
1916
|
+
[0, 36, 47]
|
|
1917
|
+
),
|
|
1918
|
+
initValues(
|
|
1919
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1920
|
+
$intern_30,
|
|
1921
|
+
0,
|
|
1922
|
+
7,
|
|
1923
|
+
[2, 45, 11]
|
|
1924
|
+
),
|
|
1925
|
+
initValues(
|
|
1926
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1927
|
+
$intern_30,
|
|
1928
|
+
0,
|
|
1929
|
+
7,
|
|
1930
|
+
[29, 26, 15]
|
|
1931
|
+
),
|
|
1932
|
+
initValues(
|
|
1933
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1934
|
+
$intern_30,
|
|
1935
|
+
0,
|
|
1936
|
+
7,
|
|
1937
|
+
[27, 44, 24]
|
|
1938
|
+
),
|
|
1939
|
+
initValues(
|
|
1940
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1941
|
+
$intern_30,
|
|
1942
|
+
0,
|
|
1943
|
+
7,
|
|
1944
|
+
[33, 53, 42]
|
|
1945
|
+
),
|
|
1946
|
+
initValues(
|
|
1947
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1948
|
+
$intern_30,
|
|
1949
|
+
0,
|
|
1950
|
+
7,
|
|
1951
|
+
[35, 17, 51]
|
|
1952
|
+
)
|
|
1953
|
+
]
|
|
1954
|
+
);
|
|
1955
|
+
edgeFacelet = initValues(
|
|
1956
|
+
getClassLiteralForArray(B_classLit, 2),
|
|
1957
|
+
$intern_3,
|
|
1958
|
+
10,
|
|
1959
|
+
0,
|
|
1960
|
+
[
|
|
1961
|
+
initValues(
|
|
1962
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1963
|
+
$intern_30,
|
|
1964
|
+
0,
|
|
1965
|
+
7,
|
|
1966
|
+
[5, 10]
|
|
1967
|
+
),
|
|
1968
|
+
initValues(
|
|
1969
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1970
|
+
$intern_30,
|
|
1971
|
+
0,
|
|
1972
|
+
7,
|
|
1973
|
+
[7, 19]
|
|
1974
|
+
),
|
|
1975
|
+
initValues(
|
|
1976
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1977
|
+
$intern_30,
|
|
1978
|
+
0,
|
|
1979
|
+
7,
|
|
1980
|
+
[3, 37]
|
|
1981
|
+
),
|
|
1982
|
+
initValues(
|
|
1983
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1984
|
+
$intern_30,
|
|
1985
|
+
0,
|
|
1986
|
+
7,
|
|
1987
|
+
[1, 46]
|
|
1988
|
+
),
|
|
1989
|
+
initValues(
|
|
1990
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1991
|
+
$intern_30,
|
|
1992
|
+
0,
|
|
1993
|
+
7,
|
|
1994
|
+
[32, 16]
|
|
1995
|
+
),
|
|
1996
|
+
initValues(
|
|
1997
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
1998
|
+
$intern_30,
|
|
1999
|
+
0,
|
|
2000
|
+
7,
|
|
2001
|
+
[28, 25]
|
|
2002
|
+
),
|
|
2003
|
+
initValues(
|
|
2004
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2005
|
+
$intern_30,
|
|
2006
|
+
0,
|
|
2007
|
+
7,
|
|
2008
|
+
[30, 43]
|
|
2009
|
+
),
|
|
2010
|
+
initValues(
|
|
2011
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2012
|
+
$intern_30,
|
|
2013
|
+
0,
|
|
2014
|
+
7,
|
|
2015
|
+
[34, 52]
|
|
2016
|
+
),
|
|
2017
|
+
initValues(
|
|
2018
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2019
|
+
$intern_30,
|
|
2020
|
+
0,
|
|
2021
|
+
7,
|
|
2022
|
+
[23, 12]
|
|
2023
|
+
),
|
|
2024
|
+
initValues(
|
|
2025
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2026
|
+
$intern_30,
|
|
2027
|
+
0,
|
|
2028
|
+
7,
|
|
2029
|
+
[21, 41]
|
|
2030
|
+
),
|
|
2031
|
+
initValues(
|
|
2032
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2033
|
+
$intern_30,
|
|
2034
|
+
0,
|
|
2035
|
+
7,
|
|
2036
|
+
[50, 39]
|
|
2037
|
+
),
|
|
2038
|
+
initValues(
|
|
2039
|
+
getClassLiteralForArray(B_classLit, 1),
|
|
2040
|
+
$intern_30,
|
|
2041
|
+
0,
|
|
2042
|
+
7,
|
|
2043
|
+
[48, 14]
|
|
2044
|
+
)
|
|
2045
|
+
]
|
|
2046
|
+
);
|
|
1431
2047
|
Cnk = initDims(I_classLit, [$intern_3, $intern_27], [17, 0], 7, [13, 13], 2);
|
|
1432
|
-
move2str = initValues(
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
2048
|
+
move2str = initValues(
|
|
2049
|
+
getClassLiteralForArray(Ljava_lang_String_2_classLit, 1),
|
|
2050
|
+
$intern_3,
|
|
2051
|
+
2,
|
|
2052
|
+
4,
|
|
2053
|
+
[
|
|
2054
|
+
"U ",
|
|
2055
|
+
"U2",
|
|
2056
|
+
"U'",
|
|
2057
|
+
"R ",
|
|
2058
|
+
"R2",
|
|
2059
|
+
"R'",
|
|
2060
|
+
"F ",
|
|
2061
|
+
"F2",
|
|
2062
|
+
"F'",
|
|
2063
|
+
"D ",
|
|
2064
|
+
"D2",
|
|
2065
|
+
"D'",
|
|
2066
|
+
"L ",
|
|
2067
|
+
"L2",
|
|
2068
|
+
"L'",
|
|
2069
|
+
"B ",
|
|
2070
|
+
"B2",
|
|
2071
|
+
"B'"
|
|
2072
|
+
]
|
|
2073
|
+
);
|
|
2074
|
+
ud2std = initValues(
|
|
2075
|
+
getClassLiteralForArray(I_classLit, 1),
|
|
2076
|
+
$intern_27,
|
|
2077
|
+
0,
|
|
2078
|
+
7,
|
|
2079
|
+
[0, 1, 2, 4, 7, 9, 10, 11, 13, 16, 3, 5, 6, 8, 12, 14, 15, 17]
|
|
2080
|
+
);
|
|
1453
2081
|
std2ud = initDim(I_classLit, $intern_27, 0, 18, 7, 1);
|
|
1454
2082
|
ckmv2bit = initDim(I_classLit, $intern_27, 0, 11, 7, 1);
|
|
1455
2083
|
for (i0 = 0; i0 < 18; i0++) {
|
|
@@ -1536,15 +2164,26 @@ function setNPerm(arr, idx, n, isEdge) {
|
|
|
1536
2164
|
for (i = 0; i < n - 1; i++) {
|
|
1537
2165
|
v = (toInt(extract) & 15) << 2;
|
|
1538
2166
|
extract = shr(extract, 4);
|
|
1539
|
-
arr[i] = setVal(
|
|
2167
|
+
arr[i] = setVal(
|
|
2168
|
+
arr[i],
|
|
2169
|
+
toInt(and(shr(val, v), { l: 15, m: 0, h: 0 })),
|
|
2170
|
+
isEdge
|
|
2171
|
+
);
|
|
1540
2172
|
m = sub_0(shl({ l: 1, m: 0, h: 0 }, v), { l: 1, m: 0, h: 0 });
|
|
1541
|
-
val = or(
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
2173
|
+
val = or(
|
|
2174
|
+
and(val, m),
|
|
2175
|
+
and(shr(val, 4), {
|
|
2176
|
+
l: ~m.l & $intern_9,
|
|
2177
|
+
m: ~m.m & $intern_9,
|
|
2178
|
+
h: ~m.h & $intern_10
|
|
2179
|
+
})
|
|
2180
|
+
);
|
|
2181
|
+
}
|
|
2182
|
+
arr[n - 1] = setVal(
|
|
2183
|
+
arr[n - 1],
|
|
2184
|
+
toInt(and(val, { l: 15, m: 0, h: 0 })),
|
|
2185
|
+
isEdge
|
|
2186
|
+
);
|
|
1548
2187
|
}
|
|
1549
2188
|
function setVal(val0, val, isEdge) {
|
|
1550
2189
|
return (isEdge ? val << 1 | val0 & 1 : val | val0 & -8) << 24 >> 24;
|
|
@@ -1629,11 +2268,21 @@ function $toString_2(this$static) {
|
|
|
1629
2268
|
if (urf < 3) {
|
|
1630
2269
|
for (s = 0; s < this$static.length_0; s++) {
|
|
1631
2270
|
(this$static.verbose & 1) != 0 && s == this$static.depth1 && (sb.string += ". ", sb);
|
|
1632
|
-
$append(
|
|
2271
|
+
$append(
|
|
2272
|
+
$append_1(
|
|
2273
|
+
sb,
|
|
2274
|
+
($clinit_Util(), move2str)[($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]]
|
|
2275
|
+
)
|
|
2276
|
+
);
|
|
1633
2277
|
}
|
|
1634
2278
|
} else {
|
|
1635
2279
|
for (s = this$static.length_0 - 1; s >= 0; s--) {
|
|
1636
|
-
$append(
|
|
2280
|
+
$append(
|
|
2281
|
+
$append_1(
|
|
2282
|
+
sb,
|
|
2283
|
+
($clinit_Util(), move2str)[($clinit_CubieCube(), urfMove)[urf][this$static.moves[s]]]
|
|
2284
|
+
)
|
|
2285
|
+
);
|
|
1637
2286
|
(this$static.verbose & 1) != 0 && s == this$static.depth1 && (sb.string += ". ", sb);
|
|
1638
2287
|
}
|
|
1639
2288
|
}
|
|
@@ -1650,7 +2299,11 @@ _.verbose = 0;
|
|
|
1650
2299
|
var I_classLit = createForPrimitive("int", "I");
|
|
1651
2300
|
createForClass("com.google.gwt.lang", "CollapsedPropertyHolder", 252);
|
|
1652
2301
|
createForClass("com.google.gwt.lang", "JavaClassHierarchySetupUtil", 254);
|
|
1653
|
-
var Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass(
|
|
2302
|
+
var Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass(
|
|
2303
|
+
"com.google.gwt.lang",
|
|
2304
|
+
"LongLibBase/LongEmul",
|
|
2305
|
+
null
|
|
2306
|
+
);
|
|
1654
2307
|
createForClass("com.google.gwt.lang", "ModuleUtils", 257);
|
|
1655
2308
|
var B_classLit = createForPrimitive("byte", "B");
|
|
1656
2309
|
var J_classLit = createForPrimitive("long", "J");
|
|
@@ -1666,4 +2319,4 @@ export {
|
|
|
1666
2319
|
initialize,
|
|
1667
2320
|
solveState
|
|
1668
2321
|
};
|
|
1669
|
-
//# sourceMappingURL=search-dynamic-solve-3x3x3-
|
|
2322
|
+
//# sourceMappingURL=search-dynamic-solve-3x3x3-7XZTYQMO.js.map
|