import './Loader.styles_xzuvzj.css';
import { styled } from '@linaria/react';
import { component, mergeConfig } from '../../engines/common.js';
import { spinnerConfig } from '../Spinner/Spinner.js';
import { progressBarCircularConfig } from '../ProgressBarCircular/ProgressBarCircular.js';

var mergedSpinnerConfig = /*#__PURE__*/mergeConfig(spinnerConfig);
var Spinner = /*#__PURE__*/component(mergedSpinnerConfig);
var mergedProgressBarCircularConfig = /*#__PURE__*/mergeConfig(progressBarCircularConfig);
var ProgressBarCircular = /*#__PURE__*/component(mergedProgressBarCircularConfig);
var base = "b1pysjlh";
var _exp3 = function _exp3() {
  return Spinner;
};
var StyledSpinner = /*#__PURE__*/styled(_exp3())({
  name: "StyledSpinner",
  "class": "s14s1lcu",
  propsAsIs: true
});
var _exp8 = function _exp8() {
  return ProgressBarCircular;
};
var StyledProgressBarCircular = /*#__PURE__*/styled(_exp8())({
  name: "StyledProgressBarCircular",
  "class": "s14gpc11",
  propsAsIs: true
});
var _exp37 = function _exp37() {
  return function (_ref) {
    var zIndex = _ref.zIndex;
    return zIndex || 9000;
  };
};
var LoaderWrapper = /*#__PURE__*/styled('div')({
  name: "LoaderWrapper",
  "class": "l17iuurt",
  propsAsIs: false,
  vars: {
    "l17iuurt-0": [/*#__PURE__*/_exp37()]
  }
});
var _exp38 = function _exp38() {
  return function (_ref2) {
    var withBlur = _ref2.withBlur;
    return withBlur ? 'blur(1rem)' : 'none';
  };
};
var _exp39 = function _exp39() {
  return function (_ref3) {
    var onClick = _ref3.onClick;
    return onClick ? 'pointer' : 'default';
  };
};
var _exp40 = function _exp40() {
  return function (_ref4) {
    var backgroundColorToken = _ref4.backgroundColorToken;
    return backgroundColorToken;
  };
};
var StyledOverlay = /*#__PURE__*/styled('div')({
  name: "StyledOverlay",
  "class": "spt1qmx",
  propsAsIs: false,
  vars: {
    "spt1qmx-0": [/*#__PURE__*/_exp38()],
    "spt1qmx-1": [/*#__PURE__*/_exp39()],
    "spt1qmx-2": [/*#__PURE__*/_exp40()]
  }
});
var LoaderContentWrapper = /*#__PURE__*/styled('div')({
  name: "LoaderContentWrapper",
  "class": "lh3ju30",
  propsAsIs: false
});

export { LoaderContentWrapper, LoaderWrapper, StyledOverlay, StyledProgressBarCircular, StyledSpinner, base };
//# sourceMappingURL=Loader.styles.js.map
