"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "AccountInfoElement", {
    enumerable: true,
    get: function() {
        return AccountInfoElement;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _desktop = require("../../../../block/accountStatus/desktop");
const _react = require("react");
const _tradingPageContext = require("../../context/tradingPageContext");
const _features = require("../../features");
const _divider = require("../../../../divider");
const AccountInfoElement = /*#__PURE__*/ (0, _react.memo)(()=>{
    const { disableFeatures } = (0, _tradingPageContext.useTradingPageContext)();
    if (disableFeatures?.includes(_features.TradingFeatures.AssetAndMarginInfo)) return null;
    return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
        children: [
            /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
                className: "orderly-px-4",
                children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_desktop.AccountInfo, {})
            }),
            /*#__PURE__*/ (0, _jsxruntime.jsx)(_divider.Divider, {
                className: "orderly-my-3"
            })
        ]
    });
});

//# sourceMappingURL=accountInfo.js.map