function hr (t, e) {
    var r, n, i = ge(), o = e.mtoken, a = e.mhash, s = t.chash, u = t.parameters, f = t.data_upload,
        c = Fe.O6(16).toString('hex'),

        h = (r = c, n = i, Fe.r0({
            key: n,
            padding: Fe._G.RSA_PKCS1_PADDING,
        }, Ue.from(r)).toString('base64')),

        d = (new Date).getTime(), l = function(t, e) {
            for (var r = {}, n = 0, i = e; n < i.length; n++) {
                var o = i[n]
                t.hasOwnProperty(o) && (r[o] = t[o])
            }
            return r
        }(e, 1 === f ? u : ['mtoken'])
    return {
        p0: ze(JSON.stringify(l), c),
        k0: h,
        chash: s,
        mtoken: o,
        ts: d,
        mhash: a,
    }
}

h = (1, 2, 3, 4)
console.info(h)

function hr (t, e) {
    var r, n, i = ge(), o = e.mtoken, a = e.mhash, s = t.chash, u = t.parameters, f = t.data_upload,
        c = Fe.O6(16).toString('hex'),

        h = (r = c, n = i, Fe.r0({
            key: n,
            padding: Fe._G.RSA_PKCS1_PADDING,
        }, Ue.from(r)).toString('base64')),

        d = (new Date).getTime(),

        l = function(t, e) {
            for (var r = {}, n = 0, i = e; n < i.length; n++) {
                var o = i[n]
                t.hasOwnProperty(o) && (r[o] = t[o])
            }
            return r
        }(e, 1 === f ? u : ['mtoken'])
    return {
        p0: ze(JSON.stringify(l), c),
        k0: h,
        chash: s,
        mtoken: o,
        ts: d,
        mhash: a,
    }
}

a = {
    'success': true,
    'code': 0,
    'data': [{
        'positionId': 705700818,
        'symbol': 'AIXBT_USDT',
        'positionType': 2,
        'openType': 2,
        'state': 1,
        'holdVol': 3,
        'frozenVol': 0,
        'closeVol': 0,
        'holdAvgPrice': 0.2088,
        'holdAvgPriceFullyScale': '0.208866666666666666',
        'openAvgPrice': 0.2088,
        'openAvgPriceFullyScale': '0.208866666666666666',
        'closeAvgPrice': 0,
        'liquidatePrice': 2.6141,
        'oim': 0.286122045269528,
        'im': 0.286122045269528,
        'holdFee': 0.0003,
        'realised': -0.0009,
        'leverage': 22,
        'marginRatio': 0.0009,
        'createTime': 1740223213990,
        'updateTime': 1740225600601,
        'autoAddIm': false,
        'version': 4,
        'profitRatio': 0,
        'newOpenAvgPrice': 0.2088,
        'newCloseAvgPrice': 0,
        'closeProfitLoss': 0,
        'fee': -0.0012,
        'deductFeeList': [],
    }, {
        'positionId': 705842918,
        'symbol': 'AIXBT_USDT',
        'positionType': 1,
        'openType': 2,
        'state': 1,
        'holdVol': 1,
        'frozenVol': 0,
        'closeVol': 0,
        'holdAvgPrice': 0.2181,
        'holdAvgPriceFullyScale': '0.2181',
        'openAvgPrice': 0.2181,
        'openAvgPriceFullyScale': '0.2181',
        'closeAvgPrice': 0,
        'liquidatePrice': 2.6141,
        'oim': 0.09957255174,
        'im': 0.09957255174,
        'holdFee': 0,
        'realised': -0.0004,
        'leverage': 22,
        'marginRatio': 0.0009,
        'createTime': 1740229635501,
        'updateTime': 1740229635501,
        'autoAddIm': false,
        'version': 1,
        'profitRatio': 0,
        'newOpenAvgPrice': 0.2181,
        'newCloseAvgPrice': 0,
        'closeProfitLoss': 0,
        'fee': -0.0004,
        'deductFeeList': [],
    }],
}

b = {
    'symbol': 'AIXBT_USDT',
    'side': 2,
    'openType': 5,
    'type': '1',
    'vol': null,
    'leverage': 22,
    'marketCeiling': false,
    'priceProtect': '0',
    'p0': 'zeaJccBqNK3fZDMH+nXk0PlXWIw/LwqdB2KAregadjBZmjzcik6Xd6pCwyDAZpH2A1u7uLnIf6j5AoO6hvYvHJuqlBfs0SiWNcnbE63CypgzrY+LAQqpoOSKYg8949T9ybyXSmAK7oA1Tump902ti17mnaJLVO3h1sLHbZuSMkWW4quZum61WiwoaoGqLBzV/tlWLDvY9MSoxSGsrUEhZTj3jUozdPimVYuK66XdXkHxgJTyI8Hnuhxs5owRfKNN07D3wWGj/qvZlRUwhrTFxgfYMg==',
    'k0': 'oOiY6kwO8X79BMXeeYU4/3GEhGopBt/KA+yaqcP00mhVd3yrNNgy+a2XUYtaUwaVUk8vtrJAh1QHUhSZrxedB/YuuHdR2uoD174QDjsiYH3gjSVXdjf4M6aShSE/FhF713QKddyJeSidgBoYxVEReRXJPG2Y10hB9mnKhXNQzh71oM+Q0QbO7t9vphQe7mw7oyYcLIccSideNnYUTdZZeTTqxVOxSsNSkEd+vEP7Sj0oLZqzjxp6fn+yp840zY1Ofb3c13TNqEALnSPvSVx6bVXEBQyOgQrOMBN5sQQCU4TyOCB8PfAGMljWyVzdMmU8y+t3/C77UP5FtIxyd/495g==',
    'chash': 'd6c64d28e362f314071b3f9d78ff7494d9cd7177ae0465e772d1840e9f7905d8',
    'mtoken': 'NpgBY7iwIh0k7LV0NTXm',
    'ts': 1740229770157,
    'mhash': '89687e61e05218fa7ad042cc865f90c1',
    'positionId': '705700818',
    'flashClose': true,
}

d = {
    'symbol': 'AIXBT_USDT',
    'openType': 2,
    'positionId': 705823689,
    'leverage': 22,
    'type': 5,
    'vol': 1,
    'side': 4,
    'flashClose': true,
    'priceProtect': '0',
    'p0': 'kgM9REgnUTuDtDIqqI9HVhePE17nABM02n27W7H3G1bzsCYsnkxRbT6Zs9P9y3A+D8zIkij28qMLD7dcOp6XpBAt/RB8hvl4884F0Jk+x1u//KCRWPwHY2R7y740jtMGp9N4bOjLCYBX36s6BcmQXcOkjP5kXhPz80A4k9FK+MXBvr5xSpb/oTJyKz9H8DgIbVaqMN5bwZLu6iFS6HO8R2yNSdDg8zwlhXPxZrY+V2hczRVrdY9V3XedkWgTUc9RzySQqx0ZZgRqK48n9O4H8xJ1mQw4SjersVwQF6RszZ0CMbPgzJf3zd0t1KYNjZgwPEqI',
    'k0': 'XA/+ZUOp+Sg6lKE6wPM55qrfvpzo5T29lgaAROvkTsqsnduLoBG0LP/2jIzHQwpbzpCEZ7AQ2YVTcwBz2uCaoMNl/VHs0JwP969bRZcUqjdo3yaeJpkkKzHe0LT6x6ROj5FC3sIf9kj1t63l1TBvv71BGHaZ60jaE39uuIl+7HZteLwGp6+B4f3i23YEwICdWiGi03/r9l2+V5lAQLigOcDhKIpEYFGYB3WaE1bp6WKxdelWPcKm8Mw7BoFH/oRRMjK26z6zitcUen3lpI5E2zRd3FjqeL+sIn7d8sfCjbG2ZrHDg0frtBQAWfcyBOHt7yoorms389MrUwepZHIm2Q==',
    'chash': 'd6c64d28e362f314071b3f9d78ff7494d9cd7177ae0465e772d1840e9f7905d8',
    'mtoken': 'NpgBY7iwIh0k7LV0NTXm',
    'ts': 1740229168646,
    'mhash': '89687e61e05218fa7ad042cc865f90c1',
}
