"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _List = require("./List");
var _skeleton = _interopRequireDefault(require("../skeleton"));
var _card = _interopRequireDefault(require("../card"));
var _space = _interopRequireDefault(require("../space"));
var _jsxRuntime = require("react/jsx-runtime");
const ResultPageSkeleton = ({
  active = true,
  pageHeader
}) => /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
  style: {
    width: '100%'
  },
  children: [pageHeader !== false && /*#__PURE__*/(0, _jsxRuntime.jsx)(_List.PageHeaderSkeleton, {
    active: active
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_card.default, {
    children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
      style: {
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        flexDirection: 'column',
        padding: 128
      },
      children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_skeleton.default.Avatar, {
        size: 64,
        style: {
          marginBottom: 32
        }
      }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_skeleton.default.Button, {
        active: active,
        style: {
          width: 214,
          marginBottom: 8
        }
      }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_skeleton.default.Button, {
        active: active,
        style: {
          width: 328
        },
        size: "small"
      }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_space.default, {
        style: {
          marginTop: 24
        },
        children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_skeleton.default.Button, {
          active: active,
          style: {
            width: 116
          }
        }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_skeleton.default.Button, {
          active: active,
          style: {
            width: 116
          }
        })]
      })]
    })
  })]
});
var _default = ResultPageSkeleton;
exports.default = _default;