"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _ui = require("@mirai/ui");
var _react = _interopRequireDefault(require("react"));
var _shared__ = require("../../../__shared__");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
const SPACE = 'var(--mirai-ui-space-M)';
var _default = () => {
  const inputProps = {
    wide: true,
    style: {
      height: 'var(--mirai-ui-input-min-height)'
    }
  };
  const {
    isMobile
  } = (0, _ui.useDevice)();
  return /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: !isMobile,
    style: {
      alignItems: 'flex-start',
      gap: SPACE
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    base: true,
    wide: true,
    style: {
      width: isMobile ? undefined : 'var(--mirai-ui-breakpoint-S)'
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    button: true,
    large: true,
    wide: true,
    words: 2
  }), /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    button: true,
    large: true,
    wide: true,
    words: 1
  })), /*#__PURE__*/_react.default.createElement(_ui.View, {
    wide: true,
    style: {
      gap: SPACE
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    headline: true,
    level: 2,
    words: 2,
    style: {
      marginBottom: SPACE
    }
  }), /*#__PURE__*/_react.default.createElement(_ui.View, null, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    words: 9
  }), /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    small: true,
    words: 4
  })), Array.from({
    length: 5
  }).map((_, index) => /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, _extends({
    key: index
  }, inputProps))), /*#__PURE__*/_react.default.createElement(_ui.View, {
    row: true,
    style: {
      gap: SPACE
    }
  }, /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    icon: true
  }), /*#__PURE__*/_react.default.createElement(_shared__.Skeleton, {
    small: true,
    words: 11
  }))));
};
exports.default = _default;
//# sourceMappingURL=Settings.Skeleton.js.map