/* main.tsx generated by @compiled/babel-plugin v0.39.1 */
"use strict";

var _typeof = require("@babel/runtime/helpers/typeof");
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Skeleton = void 0;
require("./main.compiled.css");
var React = _interopRequireWildcard(require("react"));
var _runtime = require("@compiled/react/runtime");
var _colors = require("@atlaskit/theme/colors");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
var AutomationSkeletonContainer = null;
var SkeletonContainer = null;
var SkeletonIcon = null;
var MenuIcon = null;
var shimmer = null;
var SkeletonText = null;
var SkeletonLine = function SkeletonLine() {
  return /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)(["_1mouu2gc _195gv47k _1e0c1txw"])
  }, /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)(["_1bsb1tcg _4t3i1tcg _1e0c1txw _1bah1h6o _4cvr1h6o"])
  }, /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)(["_2rkov77o _19it5u6v _1bsbpxbi _4t3ipxbi _1e0c1o8l _bfhk1r31 _tzy4nh7s"])
  })), /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)(["_1bsb13sl _4t3ipxbi _19pk1b66 _18u0utpp _5sag9cwz _1o51q7pw _tip812c5 _j7hq1nls _1pglp3kn _bfhk1uqo _1itk8aai _12vemgnk"]),
    style: {
      "--_1vab7it": (0, _runtime.ix)("var(--ds-skeleton, ".concat(_colors.N30, ")")),
      "--_w76hiz": (0, _runtime.ix)("linear-gradient(to right, ".concat("var(--ds-skeleton, ".concat(_colors.N30, ")"), " 10%, ", "var(--ds-skeleton-subtle, ".concat(_colors.N20, ")"), " 30%, ", "var(--ds-skeleton, ".concat(_colors.N30, ")"), " 50%)"))
    }
  }));
};
var getSkeletonLines = function getSkeletonLines(lineCount) {
  var skeletonLines = [];
  for (var i = 0; i < lineCount; i++) {
    skeletonLines.push( /*#__PURE__*/React.createElement(SkeletonLine, {
      key: "skeleton-line-".concat(i)
    }));
  }
  return skeletonLines;
};
var Skeleton = exports.Skeleton = function Skeleton(props) {
  var _props$lineCount = props.lineCount,
    lineCount = _props$lineCount === void 0 ? 5 : _props$lineCount;
  return /*#__PURE__*/React.createElement("div", {
    className: (0, _runtime.ax)(["_1rjcv77o"])
  }, getSkeletonLines(lineCount));
};