"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _ui = require("@mirai/ui");
var _react = _interopRequireDefault(require("react"));
var _2 = require("../");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
const SPACE = 'var(--mirai-ui-space-M)';
const BORDER_COLOR = 'var(--mirai-ui-content-background)';
const BORDER_WIDTH = 'var(--mirai-ui-border-width)';
var _default = () => {
  const {
    isMobile
  } = (0, _ui.useDevice)();
  return /*#__PURE__*/_react.default.createElement(_ui.View, {
    style: {
      gap: SPACE,
      maxWidth: '720px'
    }
  }, /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: true,
    style: {
      borderBottom: "solid ".concat(BORDER_WIDTH, " ").concat(BORDER_COLOR),
      justifyContent: 'space-between',
      padding: SPACE
    }
  }, /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    bold: true,
    headline: true,
    level: 2,
    words: 3
  }), /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    button: true,
    small: true,
    words: 1
  })), isMobile ? /*#__PURE__*/_react.default.createElement(_ui.View, {
    wide: true,
    style: {
      gap: SPACE,
      padding: "0 ".concat(SPACE)
    }
  }, Array.from({
    length: 3
  }).map((_, index) => /*#__PURE__*/_react.default.createElement(_2.Field, {
    key: index
  })), /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    button: true,
    wide: true,
    words: 1,
    style: {
      marginBottom: SPACE
    }
  })) : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_ui.View, {
    style: {
      padding: "0 ".concat(SPACE)
    }
  }, /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: true,
    style: {
      gap: SPACE,
      marginBottom: SPACE
    }
  }, Array.from({
    length: 2
  }).map((_, index) => /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    key: index,
    wide: true,
    style: {
      height: '20rem'
    }
  }))), /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    words: 4
  }), /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    small: true,
    words: 19
  })), /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: true,
    wide: true,
    style: {
      borderTop: "solid ".concat(BORDER_WIDTH, " ").concat(BORDER_COLOR),
      padding: SPACE,
      gap: SPACE
    }
  }, /*#__PURE__*/_react.default.createElement(_2.Field, null), /*#__PURE__*/_react.default.createElement(_2.Field, null), /*#__PURE__*/_react.default.createElement(_ui.View, {
    style: {
      flex: 1
    }
  }), /*#__PURE__*/_react.default.createElement(_2.Skeleton, {
    button: true,
    words: 1
  }))));
};
exports.default = _default;
//# sourceMappingURL=RatesExplorer.skeleton.js.map