' +
_0x53d879(_0x47b2ba[_0xa6a896(0x3c6)] || 'Special') +
(_0x47b2ba[_0xa6a896(0x17c)]
? _0xa6a896(0x10e) + _0x53d879(_0x47b2ba[_0xa6a896(0x17c)])
: '') +
(_0x47b2ba[_0xa6a896(0x1e5)]
? _0xa6a896(0x46a)
: _0xa6a896(0x100)) +
(_0x47b2ba['duplicate'] ? '\x20·\x20duplicate' : '') +
_0xa6a896(0x44c)),
_0x4f1092['appendChild'](_0xbaf102),
_0x4d8b68[_0xa6a896(0x40a)](_0x4f1092)
}
_0x1459ef[_0xa6a896(0x40a)](_0x4d8b68)
}
const _0x56c15b = document[_0xa6a896(0x39d)](_0xa6a896(0x1bf))
_0x56c15b['className'] = 'fc26-lab-modal-actions'
const _0x2e6abb = document[_0xa6a896(0x39d)](_0xa6a896(0x18f))
;(_0x2e6abb[_0xa6a896(0x11e)] = _0xa6a896(0x46e)),
(_0x2e6abb['textContent'] = _0x5cee0b ? 'Back' : _0xa6a896(0x22b)),
_0x56c15b[_0xa6a896(0x40a)](_0x2e6abb),
_0x1459ef['appendChild'](_0x56c15b)
const _0x1dd24e = () => {
_0x96a199['remove'](), _0x56950f()
}
;(_0x2e6abb[_0xa6a896(0x3ba)] = _0x1dd24e),
_0x96a199['addEventListener'](_0xa6a896(0x1c5), _0x17e9e3 => {
if (_0x17e9e3['target'] === _0x96a199) _0x1dd24e()
})
})
}
async function _0x4b34c8 (_0x3d8ca7 = {}) {
const _0x4f3396 = _0x1406c6,
_0x4eb7f1 = !!_0x3d8ca7[_0x4f3396(0x224)],
_0x4aec08 = _0x6e8fbe()
if (!_0x4aec08)
throw new Error(
'Open\x20Store\x20→\x20Packs\x20first,\x20then\x20use\x20pack\x20opening.'
)
const _0x3d65aa = (_0x4aec08[_0x4f3396(0x1d3)](_0x4f3396(0x251)) || [])[
_0x4f3396(0x3b8)
](
_0x35afac =>
_0x35afac && typeof _0x35afac[_0x4f3396(0x13b)] === _0x4f3396(0x22a)
)
let _0x47ca7c = _0x4eb7f1 ? _0x4a56d3['packSession'] : null
if (!_0x47ca7c) {
if (!_0x3d65aa['length']) throw new Error(_0x4f3396(0x107))
if (!(await _0x267c76(_0x3d65aa[_0x4f3396(0x2eb)]))) {
_0x1c2266(_0x4f3396(0x1b9))
return
}
;(_0x47ca7c = {
expectedTotal: _0x3d65aa[_0x4f3396(0x2eb)],
opened: 0x0,
club: 0x0,
storage: 0x0,
transfer: 0x0,
routed: 0x0,
specials: []
}),
(_0x4a56d3[_0x4f3396(0x1b4)] = _0x47ca7c)
} else
_0x47ca7c[_0x4f3396(0x3b4)] = Math[_0x4f3396(0x388)](
Number(_0x47ca7c[_0x4f3396(0x3b4)] || 0x0),
Number(_0x47ca7c[_0x4f3396(0x296)] || 0x0) +
_0x3d65aa[_0x4f3396(0x2eb)]
)
let _0x534005 = Number(
_0x47ca7c[_0x4f3396(0x3b4)] || _0x3d65aa[_0x4f3396(0x2eb)]
),
_0x2f5ef7 = Number(_0x47ca7c[_0x4f3396(0x296)] || 0x0),
_0x278ee4 = Number(_0x47ca7c['club'] || 0x0),
_0x4e2a3e = Number(_0x47ca7c[_0x4f3396(0x335)] || 0x0),
_0x39957f = Number(_0x47ca7c[_0x4f3396(0x2b5)] || 0x0),
_0x2eaa5a = Number(_0x47ca7c['routed'] || 0x0),
_0x14dea8 = null,
_0x3d4f0b = null
const _0x2bff10 = Array[_0x4f3396(0x108)](_0x47ca7c[_0x4f3396(0x368)])
? _0x47ca7c['specials']
: [],
_0x14fb5a = new Set(
_0x2bff10[_0x4f3396(0x130)](_0x47b3fd =>
_0x47b3fd['id'] > 0x0
? _0x4f3396(0xf3) + _0x47b3fd['id']
: _0x47b3fd[_0x4f3396(0x2fa)] +
':' +
_0x47b3fd[_0x4f3396(0x126)] +
':' +
_0x47b3fd[_0x4f3396(0x101)]
)
),
_0x2946d9 = new WeakSet(),
_0x1e009e = () =>
Object['assign'](_0x47ca7c, {
expectedTotal: _0x534005,
opened: _0x2f5ef7,
club: _0x278ee4,
storage: _0x4e2a3e,
transfer: _0x39957f,
routed: _0x2eaa5a,
specials: _0x2bff10
}),
_0x18fa64 = (_0x4de473, _0x190dff) => {
const _0x3b48b9 = _0x4f3396
for (const _0x1e13e4 of _0x4de473 || []) {
if (!_0xd4df57(_0x1e13e4)) continue
const _0x3730ea = Number(_0x1e13e4?.['id'] ?? 0x0),
_0x277b0a =
_0x3730ea > 0x0
? _0x3b48b9(0xf3) + _0x3730ea
: _0x34c64f(_0x1e13e4) +
':' +
_0x122a17(_0x1e13e4) +
':' +
_0x5c210c(_0x1e13e4)
if (_0x14fb5a[_0x3b48b9(0x144)](_0x277b0a)) continue
_0x14fb5a['add'](_0x277b0a),
_0x2bff10['push'](_0x5a63c7(_0x1e13e4, _0x190dff))
}
},
_0x1789d1 = async (_0x396f42, _0x1bf5a3) => {
const _0x1cd50f = _0x4f3396
_0x18fa64(_0x396f42, _0x1bf5a3)
const _0x28d232 = await _0x5a4202(_0x396f42)
return (
(_0x278ee4 += _0x28d232[_0x1cd50f(0x340)]),
(_0x4e2a3e += _0x28d232[_0x1cd50f(0x335)]),
(_0x39957f += _0x28d232['transfer']),
(_0x2eaa5a +=
_0x28d232[_0x1cd50f(0x340)] +
_0x28d232['storage'] +
_0x28d232[_0x1cd50f(0x2b5)] +
_0x28d232[_0x1cd50f(0x270)]),
_0x1e009e(),
_0x28d232
)
},
_0x19405c = async (_0x4757f6 = null) => {
const _0x49ba0d = _0x4f3396
for (let _0x441a22 = 0x0; _0x441a22 < 0x5; _0x441a22++) {
const _0x4ea22b = await _0x2c509c()
if (!_0x4ea22b[_0x49ba0d(0x2eb)])
return { ok: !![], blocked: 0x0, reason: null }
_0x1c2266(
_0x49ba0d(0x266) +
_0x4ea22b[_0x49ba0d(0x2eb)] +
_0x49ba0d(0x3c7) +
(_0x4ea22b[_0x49ba0d(0x2eb)] === 0x1 ? '' : 's') +
'\x20before\x20continuing…'
)
const _0x4f99bd = await _0x1789d1(_0x4ea22b, _0x4757f6)
if (_0x4f99bd[_0x49ba0d(0x3de)])
return {
ok: ![],
blocked: _0x4f99bd[_0x49ba0d(0x3de)],
reason: _0x4f99bd[_0x49ba0d(0x3b5)] || _0x49ba0d(0xf7)
}
await _0x37b11b(0x12c)
}
const _0xb63f30 = await _0x2c509c()
return _0xb63f30['length']
? {
ok: ![],
blocked: _0xb63f30[_0x49ba0d(0x2eb)],
reason:
'unassigned\x20items\x20did\x20not\x20clear\x20after\x20routing'
}
: { ok: !![], blocked: 0x0, reason: null }
},
_0x2d36f8 = await _0x19405c(null)
if (!_0x2d36f8['ok']) {
;(_0x14dea8 = _0x2d36f8[_0x4f3396(0x3b5)]),
_0x1e009e(),
_0x1c2266(
_0x4f3396(0x36a) +
_0x14dea8 +
'.\x20' +
_0x2d36f8['blocked'] +
'\x20item(s)\x20remain\x20unassigned.'
),
await _0x2f591a(_0x2bff10, _0x2f5ef7, _0x534005, _0x14dea8, _0x47ca7c)
return
}
let _0x5ca288 = 0x0
while (
!_0x14dea8 &&
_0x5ca288++ < Math[_0x4f3396(0x388)](0x14, _0x534005 * 0x5 + 0xa)
) {
const _0x9a9f26 = await _0x19405c(_0x3d4f0b)
if (!_0x9a9f26['ok']) {
_0x14dea8 = _0x9a9f26['reason']
break
}
if (_0x2f5ef7 >= _0x534005) break
let _0x497576 = (_0x4aec08[_0x4f3396(0x1d3)](_0x4f3396(0x251)) || [])[
_0x4f3396(0x3b8)
](
_0x2dc499 =>
_0x2dc499 &&
typeof _0x2dc499[_0x4f3396(0x13b)] === _0x4f3396(0x22a) &&
!_0x2946d9[_0x4f3396(0x144)](_0x2dc499)
)
if (!_0x497576[_0x4f3396(0x2eb)]) {
for (
let _0x1c4e1e = 0x0;
_0x1c4e1e < 0x6 && !_0x497576[_0x4f3396(0x2eb)];
_0x1c4e1e++
) {
await _0x37b11b(0x12c)
const _0x7e1f2c = await _0x2c509c()
if (_0x7e1f2c[_0x4f3396(0x2eb)]) {
const _0x4aaaa4 = await _0x1789d1(_0x7e1f2c, _0x3d4f0b)
if (_0x4aaaa4[_0x4f3396(0x3de)]) {
_0x14dea8 = _0x4aaaa4[_0x4f3396(0x3b5)]
break
}
}
_0x497576 = (_0x4aec08[_0x4f3396(0x1d3)](_0x4f3396(0x251)) || [])[
_0x4f3396(0x3b8)
](
_0x28a833 =>
_0x28a833 &&
typeof _0x28a833[_0x4f3396(0x13b)] === _0x4f3396(0x22a) &&
!_0x2946d9['has'](_0x28a833)
)
}
if (_0x14dea8 || !_0x497576['length']) break
}
const _0x3858bc = _0x497576[0x0],
_0x988938 = _0x2fa679(_0x3858bc)
;(_0x3d4f0b = _0x3858bc),
_0x1c2266(
_0x4f3396(0x297) +
(_0x2f5ef7 + 0x1) +
'/' +
_0x534005 +
':\x20' +
_0x988938 +
'…'
)
let _0x3da4ca = null,
_0x3d46f9 = ![]
try {
_0x3da4ca = await _0x45e69b(_0x3858bc[_0x4f3396(0x13b)](), 0x55f0)
} catch (_0xd61cf9) {
const _0x244664 = Number(_0x3b723b(_0xd61cf9))
if (_0x244664 === 0x1d7 || _0x244664 === 0x194) {
const _0x3d7b6f = await _0x3df5f7(0x10, 0x190)
if (_0x3d7b6f[_0x4f3396(0x2eb)]) {
;(_0x3d46f9 = !![]),
_0x2f5ef7++,
_0x2946d9['add'](_0x3858bc),
_0x1e009e()
const _0x47f43c = await _0x1789d1(_0x3d7b6f, _0x3858bc)
if (_0x47f43c[_0x4f3396(0x3de)]) {
_0x14dea8 =
_0x47f43c[_0x4f3396(0x3b5)] ||
'unassigned\x20items\x20could\x20not\x20be\x20routed'
break
}
const _0x193120 = await _0x19405c(_0x3858bc)
if (!_0x193120['ok']) {
_0x14dea8 = _0x193120[_0x4f3396(0x3b5)]
break
}
} else {
if (_0x244664 === 0x1d7)
try {
_0x3da4ca = await _0x45e69b(
_0x3858bc[_0x4f3396(0x13b)](),
0x55f0
)
} catch (_0x599fdc) {
throw new Error(
_0x4f3396(0x2a1) +
_0x988938 +
':\x20' +
(_0x599fdc?.[_0x4f3396(0x33c)] || _0x599fdc)
)
}
else {
_0x2946d9[_0x4f3396(0x1aa)](_0x3858bc),
(_0x534005 = Math[_0x4f3396(0x388)](
_0x2f5ef7,
_0x534005 - 0x1
)),
_0x1e009e(),
_0x1c2266(
_0x4f3396(0x3e3) +
_0x2f5ef7 +
'/' +
_0x534005 +
_0x4f3396(0x3f4)
)
continue
}
}
} else {
if (_0x56ed52(_0xd61cf9)) {
_0x14dea8 = _0x4f3396(0x28a) + _0x3b723b(_0xd61cf9) + ')'
break
} else
throw new Error(
_0x4f3396(0x2a1) +
_0x988938 +
':\x20' +
(_0xd61cf9?.['message'] || _0xd61cf9)
)
}
}
if (_0x14dea8) break
if (_0x3d46f9) {
_0x1c2266(
_0x4f3396(0x210) +
_0x2f5ef7 +
'/' +
_0x534005 +
'\x20·\x20routed\x20' +
_0x2eaa5a +
'\x20items\x20·\x20' +
_0x278ee4 +
_0x4f3396(0x263) +
_0x4e2a3e +
_0x4f3396(0x1ea) +
_0x39957f +
_0x4f3396(0x245)
)
if (_0x2f5ef7 >= _0x534005) break
await _0x37b11b(0x28a)
continue
}
if (_0x3da4ca?.[_0x4f3396(0x1b8)] === ![])
throw new Error(_0x4f3396(0x258) + _0x988938 + '.')
_0x2f5ef7++, _0x2946d9['add'](_0x3858bc), _0x1e009e()
const _0x3d11ab = await _0x3df5f7(0x10, 0x190)
if (!_0x3d11ab['length']) {
_0x14dea8 =
'EA\x20returned\x20no\x20unassigned\x20items\x20for\x20' + _0x988938
break
}
const _0x5dca3c = await _0x1789d1(_0x3d11ab, _0x3858bc)
if (_0x5dca3c['blocked']) {
_0x14dea8 = _0x5dca3c[_0x4f3396(0x3b5)] || _0x4f3396(0xf7)
break
}
const _0x492999 = await _0x19405c(_0x3858bc)
if (!_0x492999['ok']) {
_0x14dea8 = _0x492999[_0x4f3396(0x3b5)]
break
}
_0x1c2266(
_0x4f3396(0x210) +
_0x2f5ef7 +
'/' +
_0x534005 +
_0x4f3396(0x36c) +
_0x2eaa5a +
'\x20items\x20·\x20' +
_0x278ee4 +
_0x4f3396(0x263) +
_0x4e2a3e +
_0x4f3396(0x1ea) +
_0x39957f +
_0x4f3396(0x245)
)
if (_0x2f5ef7 >= _0x534005) break
await _0x37b11b(0x28a)
}
if (
!_0x14dea8 &&
_0x5ca288 >= Math[_0x4f3396(0x388)](0x14, _0x534005 * 0x5 + 0xa)
)
_0x14dea8 = 'pack\x20loop\x20safety\x20limit\x20reached'
const _0x1de3fa = await _0x19405c(_0x3d4f0b)
if (!_0x1de3fa['ok'] && !_0x14dea8) _0x14dea8 = _0x1de3fa['reason']
_0x1e009e(),
_0x143294(),
_0x14dea8
? ((_0x4a56d3[_0x4f3396(0x1b4)] = _0x47ca7c),
_0x1c2266(
'Pack\x20cycle\x20paused\x20after\x20' +
_0x2f5ef7 +
'/' +
_0x534005 +
_0x4f3396(0x36c) +
_0x2eaa5a +
_0x4f3396(0x1ab) +
_0x14dea8 +
_0x4f3396(0x255)
))
: ((_0x4a56d3[_0x4f3396(0x1b4)] = null),
_0x1c2266(
_0x4f3396(0xf5) +
_0x2f5ef7 +
'/' +
_0x534005 +
_0x4f3396(0x291) +
_0x2eaa5a +
_0x4f3396(0x1ab) +
_0x2bff10['length'] +
'\x20special\x20card' +
(_0x2bff10[_0x4f3396(0x2eb)] === 0x1 ? '' : 's') +
'.'
)),
await _0x2f591a(_0x2bff10, _0x2f5ef7, _0x534005, _0x14dea8, _0x47ca7c)
}
function _0x295f48 (_0x2738dd) {
const _0x405315 = _0x1406c6,
_0xde7139 = document['getElementById'](_0x405315(0x19f))
if (_0xde7139) _0xde7139[_0x405315(0x1e1)] = String(_0x2738dd || '')
if (_0x2738dd) _0x1c2266(_0x2738dd)
}
function _0x51d815 (_0x57c514) {
const _0x18f0e2 = _0x1406c6,
_0x2361fc = [
_0x57c514?.['id'],
_0x57c514?.[_0x18f0e2(0x2b9)],
_0x57c514?.['definitionId'],
_0x57c514?.[_0x18f0e2(0x1c7)],
_0x57c514?.['packDefinitionId']
]
[_0x18f0e2(0x130)](Number)
[_0x18f0e2(0xff)](
_0x1b23b4 => Number[_0x18f0e2(0x13d)](_0x1b23b4) && _0x1b23b4 > 0x0
)
if (_0x2361fc) return _0x18f0e2(0xf3) + _0x2361fc
let _0x59a12e = ''
try {
_0x59a12e = String(
_0x57c514?.[_0x18f0e2(0x2fa)] ||
_0x57c514?.['packName'] ||
_0x57c514?.[_0x18f0e2(0x25b)] ||
_0x57c514?.[_0x18f0e2(0x160)]?.() ||
''
)[_0x18f0e2(0x451)]()
} catch {}
if (!_0x59a12e) _0x59a12e = _0x2fa679(_0x57c514)
return _0x18f0e2(0x1e8) + (_0x59a12e || 'unknown')
}
function _0x43f428 (_0x409fce = _0x6e8fbe()) {
const _0x38fc13 = _0x1406c6,
_0x230f1d = {},
_0x39c44a = {},
_0x12f2d0 = _0x409fce?.[_0x38fc13(0x1d3)]?.(_0x38fc13(0x251)) || []
let _0x27497c = 0x0
for (const _0x9186a6 of _0x12f2d0) {
if (
!_0x9186a6 ||
typeof _0x9186a6[_0x38fc13(0x13b)] !== _0x38fc13(0x22a)
)
continue
const _0x266aab = _0x51d815(_0x9186a6)
;(_0x230f1d[_0x266aab] = (_0x230f1d[_0x266aab] || 0x0) + 0x1),
(_0x39c44a[_0x266aab] = _0x2fa679(_0x9186a6)),
_0x27497c++
}
return {
total: _0x27497c,
counts: _0x230f1d,
names: _0x39c44a,
at: Date[_0x38fc13(0x325)]()
}
}
function _0x5b04bf (_0x29d32b, _0x2c26d7 = _0x6e8fbe()) {
const _0x304a28 = _0x1406c6
if (!_0x29d32b || !_0x2c26d7) return null
const _0x33a3a9 = _0x43f428(_0x2c26d7),
_0x297680 = {}
let _0x1d9926 = 0x0
for (const [_0x434b12, _0x4c6e4b] of Object[_0x304a28(0x393)](
_0x33a3a9['counts'] || {}
)) {
const _0x527143 =
Number(_0x4c6e4b || 0x0) -
Number(_0x29d32b[_0x304a28(0x3b2)]?.[_0x434b12] || 0x0)
_0x527143 > 0x0 &&
((_0x297680[_0x434b12] = _0x527143), (_0x1d9926 += _0x527143))
}
return _0x1d9926 > 0x0
? {
targets: _0x297680,
total: _0x1d9926,
names: _0x33a3a9[_0x304a28(0x2ed)],
snapshot: _0x33a3a9
}
: null
}
async function _0x4e08b6 (_0x5c87d2, _0x3c382d = 0x3a98) {
const _0x34d006 = _0x1406c6,
_0x11c354 = Date[_0x34d006(0x325)]()
while (Date['now']() - _0x11c354 < _0x3c382d) {
const _0x456b19 = _0x6e8fbe(),
_0x437e64 = _0x5b04bf(_0x5c87d2, _0x456b19)
if (_0x437e64?.[_0x34d006(0x20a)]) return _0x437e64
await _0x37b11b(0x15e)
}
return null
}
function _0x4514a8 (_0x371aa9) {
const _0x72bf23 = _0x1406c6
return (
(!_0x371aa9['packStats'] ||
typeof _0x371aa9['packStats'] !== _0x72bf23(0x2ef)) &&
(_0x371aa9[_0x72bf23(0x14d)] = {
packs: 0x0,
routed: 0x0,
club: 0x0,
storage: 0x0,
transfer: 0x0,
redeemed: 0x0
}),
_0x371aa9[_0x72bf23(0x14d)]
)
}
function _0x51f6d7 (_0x24ef99) {
const _0x1bf879 = _0x1406c6
if (!Array['isArray'](_0x24ef99[_0x1bf879(0x368)]))
_0x24ef99[_0x1bf879(0x368)] = []
return _0x24ef99[_0x1bf879(0x368)]
}
function _0x20584a (_0x12311c, _0x147300, _0x272c5b) {
const _0x5821c8 = _0x1406c6,
_0x523755 = _0x51f6d7(_0x12311c),
_0x511444 = new Set(
_0x523755['map'](_0x1196ec =>
_0x1196ec['id'] > 0x0
? _0x5821c8(0xf3) + _0x1196ec['id']
: _0x1196ec['name'] +
':' +
_0x1196ec[_0x5821c8(0x126)] +
':' +
_0x1196ec[_0x5821c8(0x101)]
)
)
for (const _0xba9d22 of _0x147300 || []) {
if (!_0xd4df57(_0xba9d22)) continue
const _0x1e8b9d = _0x5a63c7(_0xba9d22, _0x272c5b),
_0x1bcbee =
_0x1e8b9d['id'] > 0x0
? _0x5821c8(0xf3) + _0x1e8b9d['id']
: _0x1e8b9d[_0x5821c8(0x2fa)] +
':' +
_0x1e8b9d['rating'] +
':' +
_0x1e8b9d[_0x5821c8(0x101)]
if (_0x511444[_0x5821c8(0x144)](_0x1bcbee)) continue
_0x511444[_0x5821c8(0x1aa)](_0x1bcbee),
_0x523755[_0x5821c8(0x232)](_0x1e8b9d)
}
}
function _0x13068c (_0x2b0d4a, _0x3ff721) {
const _0x5d9859 = _0x1406c6,
_0x57e7f5 = _0x4514a8(_0x2b0d4a)
;(_0x57e7f5[_0x5d9859(0x340)] += Number(
_0x3ff721?.[_0x5d9859(0x340)] || 0x0
)),
(_0x57e7f5[_0x5d9859(0x335)] += Number(_0x3ff721?.['storage'] || 0x0)),
(_0x57e7f5[_0x5d9859(0x2b5)] += Number(
_0x3ff721?.[_0x5d9859(0x2b5)] || 0x0
)),
(_0x57e7f5[_0x5d9859(0x270)] += Number(
_0x3ff721?.[_0x5d9859(0x270)] || 0x0
)),
(_0x57e7f5['routed'] +=
Number(_0x3ff721?.['club'] || 0x0) +
Number(_0x3ff721?.[_0x5d9859(0x335)] || 0x0) +
Number(_0x3ff721?.['transfer'] || 0x0) +
Number(_0x3ff721?.[_0x5d9859(0x270)] || 0x0))
}
async function _0x8f033c (_0x4b26cb, _0x22c715 = null) {
const _0x1ed13c = _0x1406c6
for (let _0x24813a = 0x0; _0x24813a < 0x6; _0x24813a++) {
const _0x5d30ba = await _0x2c509c()
if (!_0x5d30ba[_0x1ed13c(0x2eb)])
return { ok: !![], reason: null, blocked: 0x0 }
_0x295f48(
_0x1ed13c(0x2f9) +
_0x4b26cb[_0x1ed13c(0x14c)] +
'/' +
_0x4b26cb[_0x1ed13c(0x20a)] +
':\x20routing\x20' +
_0x5d30ba[_0x1ed13c(0x2eb)] +
_0x1ed13c(0x3c7) +
(_0x5d30ba[_0x1ed13c(0x2eb)] === 0x1 ? '' : 's') +
'…'
),
_0x20584a(_0x4b26cb, _0x5d30ba, _0x22c715)
const _0x9ad849 = await _0x5a4202(_0x5d30ba)
_0x13068c(_0x4b26cb, _0x9ad849)
if (_0x9ad849[_0x1ed13c(0x3de)])
return {
ok: ![],
reason: _0x9ad849[_0x1ed13c(0x3b5)] || _0x1ed13c(0xf7),
blocked: _0x9ad849[_0x1ed13c(0x3de)]
}
await _0x37b11b(0x12c)
}
const _0x3e170b = await _0x2c509c()
return _0x3e170b[_0x1ed13c(0x2eb)]
? {
ok: ![],
reason:
'unassigned\x20items\x20did\x20not\x20clear\x20after\x20routing',
blocked: _0x3e170b[_0x1ed13c(0x2eb)]
}
: { ok: !![], reason: null, blocked: 0x0 }
}
function _0x56106d (_0x30cd64) {
const _0x304168 = _0x1406c6
return Object['values'](_0x30cd64['rewardTargets'] || {})['reduce'](
(_0x54eb8c, _0x50e78e) =>
_0x54eb8c + Math[_0x304168(0x388)](0x0, Number(_0x50e78e || 0x0)),
0x0
)
}
async function _0x4a6c4f (_0x955b63) {
const _0x2a0773 = _0x1406c6,
_0x3c925b = _0x955b63[_0x2a0773(0x3f7)]
if (!_0x3c925b) return { ok: !![], reason: null, blocked: 0x0 }
const _0x5b505f = await _0x3df5f7(0x14, 0x190)
if (!_0x5b505f[_0x2a0773(0x2eb)])
return {
ok: ![],
reason:
_0x2a0773(0x235) +
(_0x955b63[_0x2a0773(0x3da)] || 'pack') +
_0x2a0773(0x3ee),
blocked: 0x0
}
_0x20584a(_0x955b63, _0x5b505f, {
name: _0x955b63[_0x2a0773(0x3da)] || 'Reward\x20pack'
})
const _0x46f003 = await _0x5a4202(_0x5b505f)
_0x13068c(_0x955b63, _0x46f003)
if (_0x46f003[_0x2a0773(0x3de)])
return {
ok: ![],
reason: _0x46f003['reason'] || _0x2a0773(0x410),
blocked: _0x46f003[_0x2a0773(0x3de)]
}
const _0x3c4fe6 = await _0x8f033c(_0x955b63, {
name: _0x955b63['openedRewardPendingName'] || 'Reward\x20pack'
})
if (!_0x3c4fe6['ok']) return _0x3c4fe6
return (
_0x955b63[_0x2a0773(0x14f)] &&
_0x3c925b in _0x955b63['rewardTargets'] &&
(_0x955b63[_0x2a0773(0x14f)][_0x3c925b] = Math[_0x2a0773(0x388)](
0x0,
Number(_0x955b63[_0x2a0773(0x14f)][_0x3c925b] || 0x0) - 0x1
)),
_0x4514a8(_0x955b63)['packs']++,
(_0x955b63[_0x2a0773(0x3f7)] = null),
(_0x955b63[_0x2a0773(0x3da)] = null),
{ ok: !![], reason: null, blocked: 0x0 }
)
}
async function _0x20ed9f (_0x585312) {
const _0xb83c6e = _0x1406c6,
_0x46fedf = await _0x4a6c4f(_0x585312)
if (!_0x46fedf['ok']) return _0x46fedf
const _0x1f6aed = await _0x8f033c(_0x585312, null)
if (!_0x1f6aed['ok']) return _0x1f6aed
let _0x132681 = 0x0
while (_0x56106d(_0x585312) > 0x0 && _0x132681++ < 0x14) {
const _0x3b003e = _0x6e8fbe()
if (!_0x3b003e)
return { ok: ![], reason: _0xb83c6e(0x151), blocked: 0x0 }
const _0x443278 = (_0x3b003e['getPacks'](_0xb83c6e(0x251)) || [])[
_0xb83c6e(0x3b8)
](
_0x19db6c =>
_0x19db6c && typeof _0x19db6c[_0xb83c6e(0x13b)] === _0xb83c6e(0x22a)
)
let _0x10035a = null,
_0x17882f = null
for (const _0x4ec58d of _0x443278) {
const _0x24d866 = _0x51d815(_0x4ec58d)
if (Number(_0x585312[_0xb83c6e(0x14f)]?.[_0x24d866] || 0x0) > 0x0) {
;(_0x10035a = _0x4ec58d), (_0x17882f = _0x24d866)
break
}
}
if (!_0x10035a)
for (
let _0x5ac96d = 0x0;
_0x5ac96d < 0x8 && !_0x10035a;
_0x5ac96d++
) {
await _0x37b11b(0x12c)
const _0x51248d = _0x6e8fbe(),
_0x402732 = (_0x51248d?.[_0xb83c6e(0x1d3)]?.(_0xb83c6e(0x251)) ||
[])[_0xb83c6e(0x3b8)](
_0x550b29 =>
_0x550b29 &&
typeof _0x550b29[_0xb83c6e(0x13b)] === _0xb83c6e(0x22a)
)
for (const _0x1fa425 of _0x402732) {
const _0x3a8a10 = _0x51d815(_0x1fa425)
if (
Number(_0x585312['rewardTargets']?.[_0x3a8a10] || 0x0) > 0x0
) {
;(_0x10035a = _0x1fa425), (_0x17882f = _0x3a8a10)
break
}
}
}
if (!_0x10035a || !_0x17882f)
return {
ok: ![],
reason:
'a\x20newly\x20awarded\x20reward\x20pack\x20is\x20not\x20visible\x20yet',
blocked: 0x0
}
const _0x3f5d2f = _0x2fa679(_0x10035a)
_0x295f48(
_0xb83c6e(0x2f9) +
_0x585312['completed'] +
'/' +
_0x585312['total'] +
_0xb83c6e(0x3e4) +
_0x3f5d2f +
'…'
)
let _0x128854 = null
try {
const _0x58ab64 = await _0x45e69b(
_0x10035a[_0xb83c6e(0x13b)](),
0x55f0
)
if (_0x58ab64?.['success'] === ![])
throw new Error('EA\x20did\x20not\x20open\x20' + _0x3f5d2f)
} catch (_0x130cbb) {
const _0x209c69 = Number(_0x3b723b(_0x130cbb))
if (_0x56ed52(_0x130cbb))
return {
ok: ![],
reason: _0xb83c6e(0x28a) + _0x3b723b(_0x130cbb) + ')',
blocked: 0x0
}
if (_0x209c69 === 0x1d7 || _0x209c69 === 0x194) {
_0x128854 = await _0x3df5f7(0x10, 0x190)
if (!_0x128854[_0xb83c6e(0x2eb)])
return {
ok: ![],
reason:
_0xb83c6e(0x45c) +
_0x3f5d2f +
'\x20became\x20stale\x20before\x20its\x20items\x20appeared',
blocked: 0x0
}
} else
return {
ok: ![],
reason:
_0xb83c6e(0x112) +
_0x3f5d2f +
':\x20' +
(_0x130cbb?.['message'] || _0x130cbb),
blocked: 0x0
}
}
;(_0x585312[_0xb83c6e(0x3f7)] = _0x17882f),
(_0x585312[_0xb83c6e(0x3da)] = _0x3f5d2f)
if (_0x128854?.[_0xb83c6e(0x2eb)]) {
_0x20584a(_0x585312, _0x128854, _0x10035a)
const _0x1e4549 = await _0x5a4202(_0x128854)
_0x13068c(_0x585312, _0x1e4549)
if (_0x1e4549['blocked'])
return {
ok: ![],
reason: _0x1e4549[_0xb83c6e(0x3b5)] || _0xb83c6e(0x410),
blocked: _0x1e4549[_0xb83c6e(0x3de)]
}
const _0x44ad4e = await _0x8f033c(_0x585312, _0x10035a)
if (!_0x44ad4e['ok']) return _0x44ad4e
;(_0x585312[_0xb83c6e(0x14f)][_0x17882f] = Math[_0xb83c6e(0x388)](
0x0,
Number(_0x585312[_0xb83c6e(0x14f)][_0x17882f] || 0x0) - 0x1
)),
_0x4514a8(_0x585312)['packs']++,
(_0x585312[_0xb83c6e(0x3f7)] = null),
(_0x585312['openedRewardPendingName'] = null)
} else {
const _0x44cd1a = await _0x4a6c4f(_0x585312)
if (!_0x44cd1a['ok']) return _0x44cd1a
}
await _0x37b11b(0x226)
}
return _0x56106d(_0x585312) === 0x0 && !_0x585312[_0xb83c6e(0x3f7)]
? { ok: !![], reason: null, blocked: 0x0 }
: { ok: ![], reason: _0xb83c6e(0x19e), blocked: 0x0 }
}
async function _0x5753d2 (_0x2cfaaa) {
const _0xd8a400 = _0x1406c6,
_0x27699e = window[_0xd8a400(0xdb)]?.[_0xd8a400(0x3ec)]
if (!_0x27699e) throw new Error(_0xd8a400(0x1c0))
const _0x23e7f4 = await _0x29b68e(
_0x2cfaaa[_0xd8a400(0x30f)],
_0x2cfaaa['challengeId'],
_0x2cfaaa[_0xd8a400(0x2a0)]
)
if (!_0x23e7f4[_0xd8a400(0xf1)]) throw new Error(_0xd8a400(0x3a0))
await _0x45e69b(
_0x27699e['loadChallenge'](_0x23e7f4[_0xd8a400(0xf1)]),
0x3a98
)
if (!(await _0x417d24(_0x23e7f4[_0xd8a400(0xf1)])))
throw new Error(
'EA\x20did\x20not\x20load\x20the\x20current\x20grind\x20challenge.'
)
return (
(_0x4a56d3[_0xd8a400(0xf1)] = _0x23e7f4[_0xd8a400(0xf1)]),
(_0x2cfaaa[_0xd8a400(0x3e2)] =
_0x41edac(_0x23e7f4[_0xd8a400(0xf1)]) || _0x2cfaaa[_0xd8a400(0x3e2)]),
_0x44a7ed(),
await _0x2458d3(0x1)
)
}
function _0x382265 (_0x170dd3, _0x25ebad) {
return new Promise(_0x30f898 => {
const _0x3b635d = _0x45a6,
_0x214458 = _0x25ebad[_0x3b635d(0x2e0)]?.[0x0],
{ overlay: _0x103ecd, modal: _0x30a736 } = _0x17e004(
_0x3b635d(0x365),
_0x3b635d(0x415) + _0x170dd3[_0x3b635d(0x20a)] + '×'
),
_0x5a7255 = document[_0x3b635d(0x39d)]('div')
_0x5a7255[_0x3b635d(0x11e)] = _0x3b635d(0x1ba)
const _0x18edbe =
_0x214458?.['market'] || _0x58e79e(_0x214458?.['squad'] || [])
;(_0x5a7255[_0x3b635d(0x113)] =
_0x3b635d(0x440) +
_0x53d879(_0x170dd3['challengeName']) +
'
' +
(_0x3b635d(0x315) + _0x170dd3['total'] + _0x3b635d(0x122)) +
(_0x3b635d(0x41f) +
(_0x170dd3[_0x3b635d(0x13e)]
? _0x3b635d(0x372)
: _0x3b635d(0x1f6)) +
_0x3b635d(0x122)) +
(_0x3b635d(0x45d) +
(_0x214458?.[_0x3b635d(0xf6)] || '—') +
_0x3b635d(0x2b6) +
(_0x214458?.[_0x3b635d(0x26f)] ?? '—') +
'\x20·\x20known\x20BIN\x20' +
_0x53d879(_0x2123d5(_0x18edbe[_0x3b635d(0x20a)])) +
_0x3b635d(0x391)) +
(_0x3b635d(0x169) + _0x170dd3[_0x3b635d(0x20a)] + _0x3b635d(0x3e8))),
_0x30a736[_0x3b635d(0x40a)](_0x5a7255)
if (_0x214458?.[_0x3b635d(0x187)]?.[_0x3b635d(0x2eb)]) {
const _0x375f90 = document[_0x3b635d(0x39d)](_0x3b635d(0x1bf))
_0x375f90['className'] = _0x3b635d(0x277)
for (const _0x380b4c of _0x214458[_0x3b635d(0x187)]
[_0x3b635d(0x354)]()
[_0x3b635d(0x27e)](
(_0x541a10, _0x2fb131) =>
_0x2fb131['rating'] - _0x541a10[_0x3b635d(0x126)]
)) {
const _0x10e579 = document[_0x3b635d(0x39d)](_0x3b635d(0x1bf))
;(_0x10e579[_0x3b635d(0x11e)] =
_0x3b635d(0x1f3) +
(_0x1aff07(_0x380b4c) ? _0x3b635d(0x213) : '')),
(_0x10e579[_0x3b635d(0x113)] =
_0x3b635d(0x438) +
_0x380b4c[_0x3b635d(0x126)] +
'\x20' +
_0x53d879(_0x380b4c[_0x3b635d(0x2fa)]) +
'' +
_0x53d879(_0x4586d4(_0x380b4c)) +
_0x3b635d(0x10e) +
_0x53d879(_0x380b4c['source']) +
(_0x380b4c[_0x3b635d(0x1e5)]
? _0x3b635d(0x46a)
: _0x3b635d(0x100)) +
_0x3b635d(0x3ca)),
_0x375f90[_0x3b635d(0x40a)](_0x10e579)
}
_0x30a736['appendChild'](_0x375f90)
}
const _0x11bae4 = document['createElement'](_0x3b635d(0x1bf))
_0x11bae4['className'] = _0x3b635d(0x3bd)
const _0x3e661c = document['createElement'](_0x3b635d(0x18f))
_0x3e661c[_0x3b635d(0x1e1)] = _0x3b635d(0x2c6)
const _0x431aa9 = document[_0x3b635d(0x39d)](_0x3b635d(0x18f))
;(_0x431aa9[_0x3b635d(0x11e)] = _0x3b635d(0x46e)),
(_0x431aa9[_0x3b635d(0x1e1)] =
_0x3b635d(0x1d0) + _0x170dd3[_0x3b635d(0x20a)] + _0x3b635d(0x18d)),
_0x11bae4[_0x3b635d(0x466)](_0x3e661c, _0x431aa9),
_0x30a736[_0x3b635d(0x40a)](_0x11bae4)
const _0x3df846 = _0x54789d => {
const _0x2c5ea2 = _0x3b635d
_0x103ecd[_0x2c5ea2(0x36e)](), _0x30f898(_0x54789d)
}
;(_0x3e661c[_0x3b635d(0x3ba)] = () => _0x3df846(![])),
(_0x431aa9[_0x3b635d(0x3ba)] = () => _0x3df846(!![])),
_0x103ecd['addEventListener'](_0x3b635d(0x1c5), _0x50a612 => {
const _0x549958 = _0x3b635d
if (_0x50a612[_0x549958(0xe6)] === _0x103ecd) _0x3df846(![])
})
})
}
function _0x259e17 (_0xf8e192, _0x38807e = 'Grind\x20results') {
return new Promise(_0x451a98 => {
const _0x425b59 = _0x45a6,
{ overlay: _0x4dfc3d, modal: _0x53998d } = _0x17e004(
'fc26-lab-grind-results',
_0x38807e
),
_0xfaa8a3 = _0x4514a8(_0xf8e192),
_0x5a2878 = document[_0x425b59(0x39d)](_0x425b59(0x1bf))
;(_0x5a2878['className'] = _0x425b59(0x1ba)),
(_0x5a2878[_0x425b59(0x113)] =
_0x425b59(0x20d) +
_0xf8e192[_0x425b59(0x14c)] +
'/' +
_0xf8e192[_0x425b59(0x20a)] +
'\x20SBCs
' +
(_0x425b59(0x439) +
_0xfaa8a3[_0x425b59(0x207)] +
'\x20·\x20routed\x20' +
_0xfaa8a3[_0x425b59(0x218)] +
'\x20items
') +
(_0xfaa8a3[_0x425b59(0x340)] +
_0x425b59(0x263) +
_0xfaa8a3['storage'] +
_0x425b59(0x1ea) +
_0xfaa8a3[_0x425b59(0x2b5)] +
'→transfer') +
(_0xf8e192[_0x425b59(0x118)]
? '
Stopped:\x20' +
_0x53d879(_0xf8e192[_0x425b59(0x118)])
: '')),
_0x53998d['appendChild'](_0x5a2878)
if (
Array[_0x425b59(0x108)](_0xf8e192[_0x425b59(0x212)]) &&
_0xf8e192['history'][_0x425b59(0x2eb)]
) {
const _0x5c1852 = document['createElement'](_0x425b59(0x1bf))
_0x5c1852[_0x425b59(0x11e)] = 'fc26-lab-preview-list'
for (const _0x1ac5d0 of _0xf8e192[_0x425b59(0x212)][_0x425b59(0x354)](
-0x14
)) {
const _0x25f232 = document['createElement'](_0x425b59(0x1bf))
;(_0x25f232[_0x425b59(0x11e)] = _0x425b59(0x1f3)),
(_0x25f232['innerHTML'] =
_0x425b59(0x26a) +
_0x1ac5d0['cycle'] +
'\x20·\x20EA\x20' +
(_0x1ac5d0[_0x425b59(0x26f)] ?? '—') +
_0x425b59(0x355) +
(_0x1ac5d0['targetRating'] || '—') +
_0x425b59(0x398) +
_0x53d879(_0x2123d5(_0x1ac5d0['marketValue'] || 0x0)) +
_0x425b59(0x3ca)),
_0x5c1852[_0x425b59(0x40a)](_0x25f232)
}
_0x53998d[_0x425b59(0x40a)](_0x5c1852)
}
const _0x279ef2 = _0x51f6d7(_0xf8e192)
if (_0x279ef2[_0x425b59(0x2eb)]) {
const _0x55dd3e = document['createElement'](_0x425b59(0x1bf))
;(_0x55dd3e['className'] = _0x425b59(0x1ba)),
(_0x55dd3e[_0x425b59(0x1e1)] =
_0x279ef2[_0x425b59(0x2eb)] +
_0x425b59(0x143) +
(_0x279ef2[_0x425b59(0x2eb)] === 0x1 ? '' : 's') +
_0x425b59(0x110)),
_0x53998d[_0x425b59(0x40a)](_0x55dd3e)
}
const _0x41fccd = document[_0x425b59(0x39d)](_0x425b59(0x1bf))
_0x41fccd[_0x425b59(0x11e)] = _0x425b59(0x3bd)
const _0x26ea2c = document[_0x425b59(0x39d)](_0x425b59(0x18f))
;(_0x26ea2c['className'] = 'primary'),
(_0x26ea2c[_0x425b59(0x1e1)] = _0x425b59(0x22b)),
_0x41fccd[_0x425b59(0x40a)](_0x26ea2c),
_0x53998d['appendChild'](_0x41fccd)
const _0x57d6e2 = () => {
_0x4dfc3d['remove'](), _0x451a98()
}
;(_0x26ea2c['onclick'] = _0x57d6e2),
_0x4dfc3d[_0x425b59(0x316)](_0x425b59(0x1c5), _0x4cd83f => {
const _0x293754 = _0x425b59
if (_0x4cd83f[_0x293754(0xe6)] === _0x4dfc3d) _0x57d6e2()
})
})
}
async function _0xeadc71 (_0x40e2f8) {
const _0xfbf3d6 = _0x1406c6
if (!_0x40e2f8['openRewards'] || !_0x40e2f8['awaitingReward'])
return { ok: !![] }
if (_0x40e2f8['openedRewardPendingKey']) {
const _0xbe80a4 = await _0x4a6c4f(_0x40e2f8)
if (!_0xbe80a4['ok']) return _0xbe80a4
}
if (_0x40e2f8['rewardTargets'] && _0x56106d(_0x40e2f8) <= 0x0)
return (
(_0x40e2f8[_0xfbf3d6(0x1c6)] = ![]),
(_0x40e2f8['rewardBefore'] = null),
(_0x40e2f8['rewardTargets'] = null),
(_0x40e2f8[_0xfbf3d6(0x1cc)] = null),
{ ok: !![] }
)
if (!_0x40e2f8['rewardTargets']) {
const _0x3aa84b = await _0x4e08b6(_0x40e2f8[_0xfbf3d6(0x42e)], 0x3a98)
if (!_0x3aa84b) return { ok: ![], reason: _0xfbf3d6(0x1dc) }
;(_0x40e2f8['rewardTargets'] = _0x3aa84b['targets']),
(_0x40e2f8[_0xfbf3d6(0x1cc)] = _0x3aa84b[_0xfbf3d6(0x2ed)])
}
const _0x6be734 = await _0x20ed9f(_0x40e2f8)
if (!_0x6be734['ok']) return _0x6be734
return (
(_0x40e2f8[_0xfbf3d6(0x1c6)] = ![]),
(_0x40e2f8[_0xfbf3d6(0x42e)] = null),
(_0x40e2f8[_0xfbf3d6(0x14f)] = null),
(_0x40e2f8[_0xfbf3d6(0x1cc)] = null),
{ ok: !![] }
)
}
async function _0xefd6fd (_0x1ac7eb = {}) {
const _0xa85fb7 = _0x1406c6,
_0x2ca950 = !!_0x1ac7eb[_0xa85fb7(0x224)]
let _0x27b180 = _0x2ca950 ? _0x4a56d3[_0xa85fb7(0x42c)] : null,
_0x2986fe = null
_0x4a56d3[_0xa85fb7(0x27a)] = ![]
if (!_0x27b180) {
_0x44a7ed()
const _0x4eedd4 = _0x30e58f()
if (!_0x4eedd4?.[_0xa85fb7(0x187)]) throw new Error(_0xa85fb7(0x208))
if (_0x4eedd4['setId'] == null) throw new Error(_0xa85fb7(0x421))
const _0x35ebd6 = Math['max'](
0x1,
Math['min'](
0x14,
Math['floor'](
Number(_0x4a56d3[_0xa85fb7(0x336)][_0xa85fb7(0x26b)] || 0x1)
)
)
),
_0x3649a2 = _0x4a56d3['settings'][_0xa85fb7(0x2a5)] !== ![]
if (_0x3649a2 && !_0x6e8fbe())
throw new Error(
'Open\x20Store\x20→\x20Packs\x20once\x20first\x20so\x20reward\x20packs\x20can\x20be\x20detected,\x20then\x20return\x20to\x20this\x20SBC.'
)
;(_0x27b180 = {
setId: Number(_0x4eedd4[_0xa85fb7(0x30f)]),
challengeId: _0x41edac(_0x4eedd4),
challengeName: _0x4eedd4[_0xa85fb7(0x2fa)] || _0xa85fb7(0x3ec),
total: _0x35ebd6,
completed: 0x0,
openRewards: _0x3649a2,
startedAt: Date[_0xa85fb7(0x325)](),
pausedReason: null,
awaitingReward: ![],
rewardBefore: null,
rewardTargets: null,
openedRewardPendingKey: null,
openedRewardPendingName: null,
history: [],
packStats: {
packs: 0x0,
routed: 0x0,
club: 0x0,
storage: 0x0,
transfer: 0x0,
redeemed: 0x0
},
specials: []
}),
(_0x2986fe = await _0x5753d2(_0x27b180))
if (!(await _0x382265(_0x27b180, _0x2986fe))) {
_0x295f48('SBC\x20Grind\x20cancelled.')
return
}
_0x4a56d3[_0xa85fb7(0x42c)] = _0x27b180
} else {
_0x27b180[_0xa85fb7(0x118)] = null
if (_0x27b180[_0xa85fb7(0x13e)] && !_0x6e8fbe())
throw new Error(_0xa85fb7(0x279))
_0x295f48(
_0xa85fb7(0x2d3) +
_0x27b180[_0xa85fb7(0x2a0)] +
':\x20' +
_0x27b180[_0xa85fb7(0x14c)] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
_0xa85fb7(0x300)
)
}
try {
if (_0x27b180[_0xa85fb7(0x1c6)]) {
const _0x4fcdfe = await _0xeadc71(_0x27b180)
if (!_0x4fcdfe['ok']) {
;(_0x27b180[_0xa85fb7(0x118)] = _0x4fcdfe[_0xa85fb7(0x3b5)]),
(_0x4a56d3[_0xa85fb7(0x42c)] = _0x27b180),
_0x295f48(
'Grind\x20paused\x20after\x20' +
_0x27b180['completed'] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
':\x20' +
_0x4fcdfe[_0xa85fb7(0x3b5)] +
'.\x20Use\x20Resume\x20Grind\x20when\x20ready.'
)
return
}
await _0x5df245(!![])
}
while (_0x27b180[_0xa85fb7(0x14c)] < _0x27b180[_0xa85fb7(0x20a)]) {
if (_0x4a56d3['grindStopRequested']) {
;(_0x27b180['pausedReason'] = _0xa85fb7(0x18a)),
(_0x4a56d3['grindSession'] = _0x27b180),
_0x295f48(
_0xa85fb7(0x2ad) +
_0x27b180['completed'] +
'/' +
_0x27b180['total'] +
'.'
),
await _0x259e17(_0x27b180, 'Grind\x20paused')
return
}
const _0x27adb2 = _0x2986fe || (await _0x5753d2(_0x27b180))
_0x2986fe = null
const _0x43ae85 = _0x27adb2[_0xa85fb7(0x2e0)]?.[0x0]
let _0x2bd78d = null
if (_0x27b180['openRewards']) {
const _0x30992e = _0x6e8fbe()
if (!_0x30992e) throw new Error(_0xa85fb7(0x238))
;(_0x2bd78d = _0x43f428(_0x30992e)),
(_0x27b180[_0xa85fb7(0x42e)] = _0x2bd78d),
(_0x27b180['awaitingReward'] = !![])
}
_0x295f48(
'Grind\x20' +
(_0x27b180[_0xa85fb7(0x14c)] + 0x1) +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
_0xa85fb7(0x1f2) +
_0x27b180[_0xa85fb7(0x2a0)] +
'…'
)
const _0x19c534 = await _0x35ec20(_0x27adb2)
if (_0x19c534 !== 0x1)
throw new Error(
'The\x20grind\x20step\x20did\x20not\x20submit\x20exactly\x20one\x20SBC.'
)
_0x27b180[_0xa85fb7(0x14c)]++,
_0x27b180[_0xa85fb7(0x212)]['push']({
cycle: _0x27b180[_0xa85fb7(0x14c)],
targetRating: _0x43ae85?.[_0xa85fb7(0xf6)] || 0x0,
eaRating: _0x43ae85?.[_0xa85fb7(0x26f)] ?? null,
ratingMargin: _0x43ae85?.[_0xa85fb7(0x308)] ?? null,
marketValue: _0x43ae85?.[_0xa85fb7(0xea)]?.['total'] || 0x0,
at: Date[_0xa85fb7(0x325)]()
})
if (_0x27b180['openRewards']) {
const _0x4e049c = await _0xeadc71(_0x27b180)
if (!_0x4e049c['ok']) {
;(_0x27b180[_0xa85fb7(0x118)] = _0x4e049c[_0xa85fb7(0x3b5)]),
(_0x4a56d3[_0xa85fb7(0x42c)] = _0x27b180),
_0x295f48(
'Grind\x20paused\x20after\x20' +
_0x27b180[_0xa85fb7(0x14c)] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
':\x20' +
_0x4e049c[_0xa85fb7(0x3b5)] +
'.\x20Clear\x20the\x20issue\x20and\x20use\x20Resume\x20Grind.'
),
await _0x259e17(_0x27b180, _0xa85fb7(0x360))
return
}
}
await _0x5df245(!![]),
_0x295f48(
'Grind\x20' +
_0x27b180[_0xa85fb7(0x14c)] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
_0xa85fb7(0x1b5) +
_0x4a56d3[_0xa85fb7(0x369)][_0xa85fb7(0x166)] +
_0xa85fb7(0x366) +
(_0x27b180['openRewards']
? _0xa85fb7(0x10e) +
_0x4514a8(_0x27b180)[_0xa85fb7(0x207)] +
_0xa85fb7(0x174)
: '') +
'.'
)
if (
_0x4a56d3[_0xa85fb7(0x27a)] &&
_0x27b180[_0xa85fb7(0x14c)] < _0x27b180['total']
) {
;(_0x27b180[_0xa85fb7(0x118)] = _0xa85fb7(0x1b2)),
(_0x4a56d3[_0xa85fb7(0x42c)] = _0x27b180),
await _0x259e17(_0x27b180, 'Grind\x20paused')
return
}
if (_0x27b180['completed'] < _0x27b180['total'])
await _0x37b11b(0x4b0)
}
;(_0x27b180[_0xa85fb7(0x118)] = null),
(_0x4a56d3[_0xa85fb7(0x42c)] = null),
_0x295f48(
'Grind\x20complete:\x20' +
_0x27b180['completed'] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
_0xa85fb7(0x1f4) +
(_0x27b180[_0xa85fb7(0x13e)]
? _0xa85fb7(0x10e) +
_0x4514a8(_0x27b180)[_0xa85fb7(0x207)] +
_0xa85fb7(0x42d) +
_0x4514a8(_0x27b180)[_0xa85fb7(0x218)] +
'\x20items\x20routed'
: '') +
'.'
),
await _0x259e17(_0x27b180, _0xa85fb7(0x1d8))
} catch (_0x5471b9) {
;(_0x27b180[_0xa85fb7(0x118)] =
_0x5471b9?.['message'] || String(_0x5471b9)),
(_0x4a56d3['grindSession'] = _0x27b180),
_0x295f48(
_0xa85fb7(0x34b) +
_0x27b180[_0xa85fb7(0x14c)] +
'/' +
_0x27b180[_0xa85fb7(0x20a)] +
':\x20' +
_0x27b180[_0xa85fb7(0x118)] +
_0xa85fb7(0x40f)
),
await _0x259e17(_0x27b180, _0xa85fb7(0x360))
}
}
function _0x45aacf () {
const _0x514e22 = _0x1406c6
if (!_0x4a56d3[_0x514e22(0x42c)]) {
_0x295f48(_0x514e22(0x310))
return
}
;(_0x4a56d3[_0x514e22(0x27a)] = !![]), _0x295f48(_0x514e22(0x3bf))
}
async function _0xe8dfbe () {
const _0x196b59 = _0x1406c6
_0x44a7ed()
const _0x54ebe6 = _0x30e58f()
if (!_0x54ebe6?.[_0x196b59(0x187)]) throw new Error(_0x196b59(0x1be))
const _0x54085e = _0xfbb6a(_0x54ebe6)
if (_0x54085e[_0x196b59(0x45e)][_0x196b59(0x2eb)]) {
const _0x680bb9 = _0x54085e['unsupported']
[_0x196b59(0x130)](
_0xc83757 =>
_0xc83757[_0x196b59(0x176)] ||
_0x196b59(0x200) + _0xc83757[_0x196b59(0x111)]
)
[_0x196b59(0x3f9)](';\x20')
throw new Error(_0x196b59(0xe3) + _0x680bb9)
}
const _0x40a4ce = _0x3884d5(_0x54ebe6[_0x196b59(0x187)])['length']
if (!_0x40a4ce) throw new Error(_0x196b59(0x301))
await _0x3fa313()
let _0x1a4e1b = await _0x552bc4()
_0x1a4e1b = _0xedf2e0(_0x1a4e1b, _0x54085e[_0x196b59(0x202)])
if (_0x1a4e1b[_0x196b59(0x2eb)] < _0x40a4ce)
throw new Error(
_0x196b59(0x38c) +
_0x1a4e1b[_0x196b59(0x2eb)] +
_0x196b59(0x139) +
_0x40a4ce +
_0x196b59(0x271)
)
const _0x446d73 =
_0x54085e['requirements'][_0x196b59(0xff)](
_0x214831 => _0x214831[_0x196b59(0x13c)] === 'teamRating'
)?.['rating'] ?? 0x0,
_0x3ce9f0 = await _0x4d9ca5(
_0x1a4e1b,
_0x40a4ce,
_0x54085e[_0x196b59(0x348)],
_0x446d73
)
if (!_0x3ce9f0?.[_0x196b59(0x187)]) throw new Error(_0x196b59(0x12f))
let _0x36b09a = _0x3ce9f0['squad']
const _0x2156de = _0x357f05(_0x36b09a)
if (_0x2156de[_0x196b59(0x2eb)]) {
const _0x2c9f58 = [
...new Set(
_0x2156de['flat']()[_0x196b59(0x130)](
_0x2fb4be => _0x2fb4be[_0x196b59(0x2fa)]
)
)
][_0x196b59(0x3f9)](',\x20')
throw new Error(_0x196b59(0x412) + _0x2c9f58 + '.')
}
_0x5f1c39(_0x54ebe6, _0x36b09a)
const _0x560c89 = _0x524ce3(_0x54ebe6),
_0x3381f5 = _0x5ad862(_0x54ebe6),
_0x19d267 = _0x27cb76(_0x36b09a),
_0x5ac51a = _0x19d267[_0x196b59(0x2c0)],
_0x183aa4 = Math[_0x196b59(0x388)](
..._0x36b09a[_0x196b59(0x130)](
_0x21bcbd => _0x21bcbd[_0x196b59(0x126)]
)
),
_0x3101e5 = Math[_0x196b59(0x41d)](
..._0x36b09a[_0x196b59(0x130)](
_0x1d4ad1 => _0x1d4ad1[_0x196b59(0x126)]
)
),
_0x1aa4b9 = _0x3ce9f0[_0x196b59(0x3ed)]
? _0x196b59(0x2ea) +
_0x3ce9f0[_0x196b59(0x3ed)][0x0] +
'–' +
_0x3ce9f0['band'][0x1]
: '',
_0x211a7e = _0x36b09a[_0x196b59(0x3b8)](
_0xa38f57 => _0xa38f57[_0x196b59(0x423)] === _0x196b59(0x335)
)[_0x196b59(0x2eb)],
_0x27b422 = _0x36b09a[_0x196b59(0x3b8)](_0x1aff07)[_0x196b59(0x2eb)],
_0x20ce07 = _0x36b09a[_0x196b59(0x3b8)](
_0x49bb54 => _0x49bb54['tradeable']
)[_0x196b59(0x2eb)],
_0x2ea17c = _0x58e79e(_0x36b09a),
_0x44c3e8 = _0x446d73
? Math[_0x196b59(0x388)](0x0, _0x2f06d4(_0x36b09a, _0x446d73))
: 0x0
_0x1c2266(
_0x196b59(0x32f) +
_0x36b09a[_0x196b59(0x2eb)] +
_0x196b59(0x3a8) +
(_0x446d73 || '—') +
_0x196b59(0x2b2) +
_0x19d267[_0x196b59(0x26f)] +
'\x20·\x20overshoot\x20+' +
_0x44c3e8[_0x196b59(0x448)](0x3) +
'\x20·\x20pre-round\x20' +
_0x5ac51a['toFixed'](0x2) +
'\x20·\x20known\x20BIN\x20' +
_0x2123d5(_0x2ea17c[_0x196b59(0x20a)]) +
'\x20(' +
_0x2ea17c[_0x196b59(0x220)] +
'/' +
_0x36b09a[_0x196b59(0x2eb)] +
')\x20·\x20cards\x20' +
_0x3101e5 +
'–' +
_0x183aa4 +
_0x1aa4b9 +
_0x196b59(0x334) +
_0x211a7e +
_0x196b59(0x44a) +
_0x27b422 +
_0x196b59(0x24c) +
_0x20ce07 +
(_0x3381f5 === !![]
? _0x196b59(0x3db)
: '\x20·\x20live\x20EA\x20rating\x20' +
_0x560c89 +
'\x20·\x20check\x20remaining\x20requirements') +
_0x196b59(0x1cf)
),
_0x540548(_0x36b09a)
}
function _0x15cecb () {
const _0x28a0f7 = _0x1406c6,
_0x1efabc = _0x30e58f()
if (!_0x1efabc) throw new Error(_0x28a0f7(0x2d0))
const _0x194fdb = _0xfbb6a(_0x1efabc),
_0x545537 = [
'Challenge:\x20' +
(_0x1efabc[_0x28a0f7(0x2fa)] ||
_0x1efabc['id'] ||
_0x1efabc[_0x28a0f7(0x3e2)] ||
_0x28a0f7(0x272)),
_0x28a0f7(0x399) +
(_0x1efabc[_0x28a0f7(0x187)]
? _0x3884d5(_0x1efabc[_0x28a0f7(0x187)])['length']
: _0x28a0f7(0x3d8)),
'Cache:\x20' +
_0x4a56d3[_0x28a0f7(0x369)][_0x28a0f7(0x166)] +
_0x28a0f7(0x366),
..._0x194fdb[_0x28a0f7(0x268)][_0x28a0f7(0x130)](
_0x3f1aaf => '•\x20' + _0x3f1aaf
)
]
if (_0x194fdb[_0x28a0f7(0x45e)][_0x28a0f7(0x2eb)])
_0x545537['push'](
_0x28a0f7(0x45b) +
_0x41f651 +
':\x20' +
_0x194fdb[_0x28a0f7(0x45e)]
[_0x28a0f7(0x130)](
_0x326bf6 => _0x326bf6['label'] || _0x326bf6[_0x28a0f7(0x111)]
)
[_0x28a0f7(0x3f9)](';\x20')
)
_0x1c2266(_0x545537[_0x28a0f7(0x3f9)]('\x0a'))
}
function _0x50e15e () {
const _0x4cb77f = _0x1406c6
document['getElementById'](_0x4cb77f(0x383))?.[_0x4cb77f(0x36e)](),
document[_0x4cb77f(0x389)]('fc26-sbc-lab-panel')?.[_0x4cb77f(0x36e)]()
}
function _0x229281 () {
const _0x4e65d2 = _0x1406c6
_0x50e15e()
const _0x4afb4e = document[_0x4e65d2(0x389)]('fc26-sbc-lab-style-v030')
if (_0x4afb4e) _0x4afb4e[_0x4e65d2(0x36e)]()
const _0x108b3f = document[_0x4e65d2(0x39d)]('style')
;(_0x108b3f['id'] = _0x4e65d2(0x3a9)),
(_0x108b3f[_0x4e65d2(0x1e1)] = _0x4e65d2(0x2f1)),
document[_0x4e65d2(0x1e6)][_0x4e65d2(0x40a)](_0x108b3f)
const _0x184c15 = document[_0x4e65d2(0x39d)](_0x4e65d2(0x18f))
;(_0x184c15['id'] = 'fc26-sbc-lab-toggle'),
(_0x184c15[_0x4e65d2(0x1e1)] = _0x4e65d2(0x2d1))
const _0x2de935 = document[_0x4e65d2(0x39d)](_0x4e65d2(0x1bf))
;(_0x2de935['id'] = _0x4e65d2(0x1ae)),
(_0x2de935[_0x4e65d2(0x113)] =
_0x4e65d2(0x1d4) +
_0x41f651 +
'\x0a\x20\x20\x20\x20\x20\x20Per-SBC\x20presets,\x20value-aware\x20solving,\x20locks,\x20batch\x20planning,\x20guarded\x20pack\x20routing,\x20and\x20experimental\x20EA-native\x20PlayStyle\x20tools.
\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Card\x20market\x20prices
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Shows\x20the\x20lowest\x20Buy\x20Now\x20in\x20the\x20bottom-left\x20of\x20visible\x20player\x20cards.\x20EA\x20market\x20lookups\x20are\x20serialized\x20and\x20cached\x20for\x205\x20minutes\x20to\x20reduce\x20throttling.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
The\x20solver\x20only\x20prices\x20a\x20few\x20cards\x20it\x20is\x20about\x20to\x20spend;\x20cached\x20card-overlay\x20prices\x20are\x20reused.\x20If\x20avoiding\x20a\x20high-value\x20card\x20makes\x20the\x20SBC\x20impossible,\x20it\x20falls\x20back\x20to\x20the\x20valid\x20solution.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Per-SBC\x20preset
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Save\x20these\x20solver\x20settings\x20for\x20the\x20currently\x20open\x20SBC.\x20With\x20auto-apply\x20on,\x20the\x20preset\x20loads\x20automatically\x20before\x20Auto\x20Fill\x20or\x20batch\x20planning.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Custom\x20PlayStyles
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
EA-native\x20PlayStyle\x20evolutions.\x20Untouched\x20eligible\x20cards\x20are\x20shown\x20first;\x20one\x20grouped\x20grid\x20cycles\x20Off\x20→\x201\x20PS\x20→\x202\x20PS+.\x20Max\x204\x20PlayStyle+\x20normally;\x20FUTTIES\x20can\x20use\x20an\x20EA-eligible\x205th-PS+\x20reward\x20slot.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Batch\x20SBCs
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Plans\x20every\x20squad\x20first\x20with\x20unique\x20cards,\x20shows\x20the\x20complete\x20list,\x20then\x20asks\x20once\x20before\x20any\x20submission.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
SBC\x20Grind\x20Routine
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Runs\x20one\x20completion\x20at\x20a\x20time\x20so\x20newly\x20packed\x20fodder\x20can\x20be\x20reused:\x20solve\x20→\x20submit\x20→\x20detect\x20only\x20the\x20newly\x20awarded\x20pack(s)\x20→\x20open\x20→\x20route\x20→\x20refresh\x20club\x20→\x20repeat.\x20One\x20confirmation\x20authorizes\x20the\x20selected\x20number\x20of\x20submissions.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
No\x20grind\x20session.
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Packs
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
Open\x20Store\x20→\x20Packs\x20first.\x20Non-duplicates\x20go\x20to\x20club;\x20tradeable\x20duplicates\x20go\x20to\x20transfer;\x20untradeable\x20duplicate\x20players\x20go\x20to\x20SBC\x20storage.\x20Final\x20results\x20show\x20specials\x20only.
\x0a\x20\x20\x20\x20\x20\x20\x20\x20
\x0a\x20\x20\x20\x20\x20\x20
\x0a\x0a\x20\x20\x20\x20\x20\x20Ready.\x20Open\x20an\x20SBC\x20challenge.
\x0a\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20'),
document[_0x4e65d2(0x16d)][_0x4e65d2(0x466)](_0x184c15, _0x2de935),
(_0x184c15[_0x4e65d2(0x3ba)] = () => {
const _0x20e547 = _0x4e65d2
_0x2de935[_0x20e547(0x402)]['display'] =
_0x2de935[_0x20e547(0x402)][_0x20e547(0x162)] === 'block'
? _0x20e547(0x196)
: _0x20e547(0x3b3)
})
const _0x5d0ce1 = _0x2de935[_0x4e65d2(0x428)]('#fc26-lab-active'),
_0x1a03df = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x10b)),
_0x3c799b = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x1cb)),
_0x25ee37 = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x34d)),
_0x5732d4 = _0x2de935['querySelector'](_0x4e65d2(0x290)),
_0x47cf9a = _0x2de935['querySelector'](_0x4e65d2(0x1b3)),
_0x5ef977 = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x204)),
_0x44b61d = _0x2de935[_0x4e65d2(0x428)]('#fc26-lab-grind-rewards'),
_0x3d386e = _0x2de935[_0x4e65d2(0x428)]('#fc26-lab-prefer-storage'),
_0x4ae13a = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x1c3)),
_0x2f4a37 = _0x2de935[_0x4e65d2(0x428)]('#fc26-lab-protect-specials'),
_0x46bc98 = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0xf8)),
_0x25b40f = _0x2de935['querySelector'](_0x4e65d2(0x32e)),
_0x3e840a = _0x2de935['querySelector'](_0x4e65d2(0x274)),
_0x34f156 = _0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0xfb)),
_0x1994fb = _0x2de935[_0x4e65d2(0x428)]('#fc26-lab-protect-coins')
;(_0x5d0ce1[_0x4e65d2(0x453)] =
!!_0x4a56d3[_0x4e65d2(0x336)]['avoidActiveSquad']),
(_0x1a03df[_0x4e65d2(0x453)] =
!!_0x4a56d3[_0x4e65d2(0x336)]['avoidEvolutions']),
(_0x3c799b[_0x4e65d2(0x453)] =
!!_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x24e)]),
(_0x25ee37[_0x4e65d2(0x453)] =
!!_0x4a56d3[_0x4e65d2(0x336)]['storageOnly']),
(_0x5732d4[_0x4e65d2(0x302)] = Number(
_0x4a56d3['settings'][_0x4e65d2(0x442)] || 0x63
)),
(_0x47cf9a[_0x4e65d2(0x302)] = Math[_0x4e65d2(0x388)](
0x1,
Math[_0x4e65d2(0x41d)](
0x14,
Number(_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x3dc)] || 0x1)
)
)),
(_0x5ef977[_0x4e65d2(0x302)] = Math[_0x4e65d2(0x388)](
0x1,
Math[_0x4e65d2(0x41d)](
0x14,
Number(_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x26b)] || 0x5)
)
)),
(_0x44b61d[_0x4e65d2(0x453)] =
_0x4a56d3['settings'][_0x4e65d2(0x2a5)] !== ![]),
(_0x3d386e['checked'] =
_0x4a56d3[_0x4e65d2(0x336)]['preferStorage'] !== ![]),
(_0x4ae13a[_0x4e65d2(0x453)] =
_0x4a56d3[_0x4e65d2(0x336)]['protectTradeable'] !== ![]),
(_0x2f4a37[_0x4e65d2(0x453)] =
_0x4a56d3[_0x4e65d2(0x336)]['protectSpecials'] !== ![]),
(_0x46bc98[_0x4e65d2(0x302)] = Math[_0x4e65d2(0x388)](
0x1,
Math[_0x4e65d2(0x41d)](
0x63,
Number(_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x1c2)] || 0x5a)
)
)),
(_0x25b40f[_0x4e65d2(0x453)] =
_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x156)] !== ![]),
(_0x3e840a[_0x4e65d2(0x453)] =
_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x21d)] !== ![]),
(_0x34f156[_0x4e65d2(0x453)] =
_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x188)] !== ![]),
(_0x1994fb['value'] = Math[_0x4e65d2(0x388)](
0x0,
Number(_0x4a56d3[_0x4e65d2(0x336)][_0x4e65d2(0x18e)] || 0x0)
)),
_0x2b4565()
const _0x1bf321 = () => {
const _0x5dd096 = _0x4e65d2
;(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x194)] = _0x5d0ce1['checked']),
(_0x4a56d3[_0x5dd096(0x336)]['avoidEvolutions'] =
_0x1a03df['checked']),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x24e)] =
_0x3c799b[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x219)] =
_0x25ee37['checked']),
(_0x4a56d3['settings']['maxRating'] = Math['max'](
0x1,
Math['min'](0x63, Number(_0x5732d4['value']) || 0x63)
)),
(_0x4a56d3[_0x5dd096(0x336)]['batchCount'] = Math['max'](
0x1,
Math[_0x5dd096(0x41d)](
0x14,
Math['floor'](Number(_0x47cf9a[_0x5dd096(0x302)]) || 0x1)
)
)),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x26b)] = Math[
_0x5dd096(0x388)
](
0x1,
Math[_0x5dd096(0x41d)](
0x14,
Math['floor'](Number(_0x5ef977[_0x5dd096(0x302)]) || 0x5)
)
)),
(_0x4a56d3[_0x5dd096(0x336)]['grindOpenRewards'] =
_0x44b61d[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x462)] =
_0x3d386e['checked']),
(_0x4a56d3['settings'][_0x5dd096(0x401)] =
_0x4ae13a[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x3c1)] =
_0x2f4a37[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)]['protectAboveRating'] = Math['max'](
0x1,
Math['min'](0x63, Number(_0x46bc98[_0x5dd096(0x302)]) || 0x5a)
)),
(_0x4a56d3[_0x5dd096(0x336)]['autoApplyPresets'] =
_0x25b40f[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x21d)] =
_0x3e840a[_0x5dd096(0x453)]),
(_0x4a56d3[_0x5dd096(0x336)][_0x5dd096(0x188)] =
_0x34f156[_0x5dd096(0x453)]),
(_0x4a56d3['settings'][_0x5dd096(0x18e)] = Math['max'](
0x0,
Number(_0x1994fb['value'] || 0x0)
)),
_0x3db682(),
_0x2b4565()
if (_0x3e840a[_0x5dd096(0x453)]) _0x3f188a()
}
;(_0x5d0ce1[_0x4e65d2(0x2e7)] =
_0x1a03df['onchange'] =
_0x3c799b[_0x4e65d2(0x2e7)] =
_0x25ee37[_0x4e65d2(0x2e7)] =
_0x5732d4[_0x4e65d2(0x2e7)] =
_0x47cf9a[_0x4e65d2(0x2e7)] =
_0x5ef977[_0x4e65d2(0x2e7)] =
_0x44b61d[_0x4e65d2(0x2e7)] =
_0x3d386e['onchange'] =
_0x4ae13a[_0x4e65d2(0x2e7)] =
_0x2f4a37[_0x4e65d2(0x2e7)] =
_0x46bc98['onchange'] =
_0x25b40f[_0x4e65d2(0x2e7)] =
_0x3e840a['onchange'] =
_0x34f156[_0x4e65d2(0x2e7)] =
_0x1994fb['onchange'] =
_0x1bf321),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x2b8))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(_0x15cecb)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x23d))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(async () => {
await _0x5df245(!![]), _0x143294()
})),
(_0x2de935['querySelector'](_0x4e65d2(0x1bb))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(_0x5468d6)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x3ff))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(_0xe8dfbe)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x286))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(_0x44b3eb)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x2a6))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(() => _0xefd6fd({ resume: ![] }))),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x328))['onclick'] = () =>
_0x4076db(() => _0xefd6fd({ resume: !![] }))),
(_0x2de935[_0x4e65d2(0x428)]('#fc26-lab-grind-stop')[_0x4e65d2(0x3ba)] =
_0x45aacf),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x17d))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(() => _0x4b34c8({ resume: ![] }))),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x15d))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(() => _0x4b34c8({ resume: !![] }))),
(_0x2de935['querySelector'](_0x4e65d2(0x215))[_0x4e65d2(0x3ba)] = () =>
_0x4076db(_0x204589)),
(_0x2de935[_0x4e65d2(0x428)]('#fc26-lab-preset-apply')[
_0x4e65d2(0x3ba)
] = () => _0x4076db(_0x441c8c)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x25c))['onclick'] = () =>
_0x4076db(_0xa4b5ae)),
(_0x2de935['querySelector'](_0x4e65d2(0x19a))['onclick'] = () =>
_0x4076db(_0x4f096d)),
(_0x2de935[_0x4e65d2(0x428)](_0x4e65d2(0x1d2))[_0x4e65d2(0x3ba)] =
() => {
const _0x164509 = _0x4e65d2
_0x111608(), _0x1c2266(_0x164509(0x252))
})
if (_0x4a56d3[_0x4e65d2(0x42c)])
_0x295f48(
'Paused\x20grind:\x20' +
_0x4a56d3[_0x4e65d2(0x42c)]['completed'] +
'/' +
_0x4a56d3[_0x4e65d2(0x42c)]['total'] +
_0x4e65d2(0x400) +
(_0x4a56d3[_0x4e65d2(0x42c)][_0x4e65d2(0x118)]
? '\x20·\x20' + _0x4a56d3[_0x4e65d2(0x42c)][_0x4e65d2(0x118)]
: '') +
'.'
)
_0x143294()
}
function _0x558260 () {
const _0x4fcb17 = _0x1406c6,
_0x3179de = document[_0x4fcb17(0x389)](_0x4fcb17(0x1ae))
if (!_0x3179de) return
const _0xaeb11f = {
'#fc26-lab-active': [
'checked',
!!_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x194)]
],
'#fc26-lab-evo': [
_0x4fcb17(0x453),
!!_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x435)]
],
'#fc26-lab-untradeable': [
_0x4fcb17(0x453),
!!_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x24e)]
],
'#fc26-lab-storage': [
_0x4fcb17(0x453),
!!_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x219)]
],
'#fc26-lab-max-rating': [
_0x4fcb17(0x302),
Number(_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x442)] || 0x63)
],
'#fc26-lab-batch-count': [
'value',
Number(_0x4a56d3[_0x4fcb17(0x336)]['batchCount'] || 0x1)
],
'#fc26-lab-grind-count': [
_0x4fcb17(0x302),
Number(_0x4a56d3[_0x4fcb17(0x336)]['grindCount'] || 0x5)
],
'#fc26-lab-grind-rewards': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x2a5)] !== ![]
],
'#fc26-lab-prefer-storage': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x462)] !== ![]
],
'#fc26-lab-protect-tradeable': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x401)] !== ![]
],
'#fc26-lab-protect-specials': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x3c1)] !== ![]
],
'#fc26-lab-protect-rating': [
_0x4fcb17(0x302),
Number(_0x4a56d3[_0x4fcb17(0x336)]['protectAboveRating'] || 0x5a)
],
'#fc26-lab-auto-preset': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x156)] !== ![]
],
'#fc26-lab-show-market-prices': [
_0x4fcb17(0x453),
_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x21d)] !== ![]
],
'#fc26-lab-market-aware': [
_0x4fcb17(0x453),
_0x4a56d3['settings'][_0x4fcb17(0x188)] !== ![]
],
'#fc26-lab-protect-coins': [
_0x4fcb17(0x302),
Number(_0x4a56d3[_0x4fcb17(0x336)][_0x4fcb17(0x18e)] || 0x0)
]
}
for (const [_0x5aa67f, [_0x173192, _0x43858b]] of Object[
_0x4fcb17(0x393)
](_0xaeb11f)) {
const _0x556789 = _0x3179de['querySelector'](_0x5aa67f)
if (_0x556789) _0x556789[_0x173192] = _0x43858b
}
}
function _0x1c2266 (_0x2cd0c3) {
const _0x3c05f4 = _0x1406c6,
_0x3dc4f8 = document[_0x3c05f4(0x389)](_0x3c05f4(0x305))
if (_0x3dc4f8) _0x3dc4f8[_0x3c05f4(0x1e1)] = String(_0x2cd0c3)
_0x1c8dde(_0x2cd0c3)
}
function _0x540548 (_0x40f358) {
const _0x3ccae6 = _0x1406c6,
_0x4b91d7 = document['getElementById']('fc26-sbc-lab-players')
if (!_0x4b91d7) return
_0x4b91d7[_0x3ccae6(0x113)] = ''
for (const _0x34fbd4 of _0x40f358[_0x3ccae6(0x354)]()[_0x3ccae6(0x27e)](
(_0x3d835b, _0x41801d) =>
_0x41801d[_0x3ccae6(0x126)] - _0x3d835b[_0x3ccae6(0x126)]
)) {
const _0xad4205 = document['createElement'](_0x3ccae6(0x1bf)),
_0x919e3a = _0x34fbd4[_0x3ccae6(0x2fa)] || _0x34c64f(_0x34fbd4['raw'])
;(_0xad4205[_0x3ccae6(0x113)] =
_0x3ccae6(0x172) +
_0x53d879(String(_0x919e3a)) +
'' +
_0x34fbd4[_0x3ccae6(0x126)] +
_0x3ccae6(0x397)),
_0x4b91d7[_0x3ccae6(0x40a)](_0xad4205)
}
}
function _0x53d879 (_0x33c90b) {
const _0x3715b0 = _0x1406c6
return _0x33c90b['replace'](
/[&<>"']/g,
_0x5da7b7 =>
({
'&': _0x3715b0(0x3e6),
'<': _0x3715b0(0x42a),
'>': _0x3715b0(0x20e),
'\x22': _0x3715b0(0x434),
'\x27': '''
}[_0x5da7b7])
)
}
async function _0x4076db (_0x1c6e77) {
const _0x407171 = _0x1406c6
if (_0x4a56d3[_0x407171(0x1ee)]) return
_0x4a56d3[_0x407171(0x1ee)] = !![]
const _0x45c23d = [...document['querySelectorAll'](_0x407171(0x30a))],
_0x7a5769 = _0x45c23d['filter'](
_0x18665c => !_0x18665c['dataset'][_0x407171(0x123)]
)
_0x7a5769[_0x407171(0x3ef)](
_0x1a5d14 => (_0x1a5d14[_0x407171(0x374)] = !![])
)
try {
await _0x1c6e77()
} catch (_0x54e7b7) {
_0xf273d5(_0x54e7b7),
_0x1c2266(_0x54e7b7?.[_0x407171(0x33c)] || String(_0x54e7b7))
} finally {
;(_0x4a56d3['busy'] = ![]),
_0x7a5769[_0x407171(0x3ef)](
_0x1a2fce => (_0x1a2fce[_0x407171(0x374)] = ![])
)
}
}
async function _0x393696 () {
const _0x1c9106 = _0x1406c6
if (!(await _0x3eb585())) return
_0x3abdd9(),
_0x3f188a(),
_0x229281(),
_0x26333d(),
_0x5df245()
[_0x1c9106(0x165)](_0x143294)
[_0x1c9106(0x211)](_0xdba9f6 => {
const _0x5f3cfb = _0x1c9106
_0xf273d5(_0x5f3cfb(0x2cb), _0xdba9f6),
_0x1c2266(
_0x5f3cfb(0x244) + (_0xdba9f6?.['message'] || _0xdba9f6)
)
}),
setInterval(() => {
_0x3abdd9(), _0x3f188a()
}, 0x9c4),
_0x1c8dde(_0x1c9106(0x190) + _0x41f651)
}
_0x393696()['catch'](_0xbd5a28 => _0xf273d5(_0x1406c6(0x394), _0xbd5a28))
})()
function _0x588f () {
const _0x16a89f = [
'FOF\x20Showdown',
'
',
'desc',
'entries',
'startup\x20failed',
'Far\x20Reach',
'loadChallenge',
'',
'\x20·\x20known\x20BIN\x20',
'Slots:\x20',
'4zfHCnT',
'No\x20preset\x20saved\x20for\x20SBC\x20set\x20',
'localeCompare',
'createElement',
'FOF\x20Path\x20to\x20Glory',
'FOF\x20Icon',
'No\x20unfinished\x20challenge\x20is\x20currently\x20available\x20for\x20this\x20SBC.',
'replaceChildren',
'requiresHubCall',
'Only\x20enough\x20eligible\x20fodder\x20to\x20plan\x20',
'Joga\x20Bonito\x20Hero',
'\x20PS\x20/\x20',
'