"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactNative = require("react-native");
var _styles = require("./styles");
var _native = _interopRequireWildcard(require("react-content-loader/native"));
var _reactNativePaper = require("react-native-paper");
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (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 (const 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); }
const NewsFeedLoadingComponent = () => {
  const styles = (0, _styles.useStyles)();
  const theme = (0, _reactNativePaper.useTheme)();
  const {
    width
  } = (0, _reactNative.useWindowDimensions)();
  return /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.container
  }, /*#__PURE__*/React.createElement(_reactNative.View, {
    style: styles.storiesContainer
  }, Array.from({
    length: 6
  }, (_, i) => /*#__PURE__*/React.createElement(_native.default, {
    key: i,
    height: 70,
    speed: 1,
    width: 70,
    backgroundColor: theme.colors.baseShade4,
    foregroundColor: theme.colors.baseShade2,
    viewBox: "0 0 70 70"
  }, /*#__PURE__*/React.createElement(_native.Circle, {
    cx: "25",
    cy: "25",
    r: "25"
  }), /*#__PURE__*/React.createElement(_native.Rect, {
    x: "0",
    y: "60",
    rx: "4",
    ry: "4",
    width: 50,
    height: 8
  })))), /*#__PURE__*/React.createElement(_native.default, {
    height: 70,
    speed: 1,
    width: width,
    backgroundColor: theme.colors.baseShade4,
    foregroundColor: theme.colors.baseShade2,
    viewBox: `0 0 ${width} 70`
  }, /*#__PURE__*/React.createElement(_native.Rect, {
    x: "0",
    y: "34",
    rx: "4",
    ry: "4",
    width: "300",
    height: "13"
  })), Array.from({
    length: 5
  }, (_, i) => /*#__PURE__*/React.createElement(_reactNative.View, {
    key: i
  }, /*#__PURE__*/React.createElement(_native.Facebook, {
    width: width,
    backgroundColor: theme.colors.baseShade4,
    foregroundColor: theme.colors.baseShade2,
    speed: 0.5
  }), /*#__PURE__*/React.createElement(_reactNativePaper.Divider, {
    style: {
      backgroundColor: theme.colors.baseShade2
    }
  }))));
};
var _default = exports.default = NewsFeedLoadingComponent;
//# sourceMappingURL=NewsFeedLoadingComponent.js.map