"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get LoaderContentWrapper () {
        return LoaderContentWrapper;
    },
    get LoaderWrapper () {
        return LoaderWrapper;
    },
    get StyledOverlay () {
        return StyledOverlay;
    },
    get StyledProgressBarCircular () {
        return StyledProgressBarCircular;
    },
    get StyledSpinner () {
        return StyledSpinner;
    },
    get base () {
        return base;
    }
});
const _styled = /*#__PURE__*/ _interop_require_default(require("@emotion/styled"));
const _react = require("@emotion/react");
const _Spinner = require("../Spinner");
const _ProgressBarCircular = require("../ProgressBarCircular");
const _engines = require("../../engines");
const _Loadertokens = require("./Loader.tokens");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedSpinnerConfig = (0, _engines.mergeConfig)(_Spinner.spinnerConfig);
const Spinner = (0, _engines.component)(mergedSpinnerConfig);
const mergedProgressBarCircularConfig = (0, _engines.mergeConfig)(_ProgressBarCircular.progressBarCircularConfig);
const ProgressBarCircular = (0, _engines.component)(mergedProgressBarCircularConfig);
const base = (0, /*#__PURE__*/ _react.css)("display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:var(", _Loadertokens.tokens.width, ");height:var(", _Loadertokens.tokens.height, ");", "base");
const StyledSpinner = /*#__PURE__*/ (0, _styled.default)(Spinner, {
    target: "etkiet80",
    label: "StyledSpinner"
})(_Spinner.spinnerTokens.size, ":var(", _Loadertokens.tokens.spinnerSize, ");", _Spinner.spinnerTokens.color, ":var(", _Loadertokens.tokens.spinnerColor, ");");
const StyledProgressBarCircular = /*#__PURE__*/ (0, _styled.default)(ProgressBarCircular, {
    target: "etkiet81",
    label: "StyledProgressBarCircular"
})(_ProgressBarCircular.progressBarCircularTokens.size, ":var(", _Loadertokens.tokens.progressBarCircularSize, ");", _ProgressBarCircular.progressBarCircularTokens.width, ":var(", _Loadertokens.tokens.progressBarCircularWidth, ");", _ProgressBarCircular.progressBarCircularTokens.height, ":var(", _Loadertokens.tokens.progressBarCircularHeight, ");", _ProgressBarCircular.progressBarCircularTokens.strokeWidth, ":var(", _Loadertokens.tokens.progressBarCircularStrokeWidth, ");", _ProgressBarCircular.progressBarCircularTokens.strokeSize, ":var(", _Loadertokens.tokens.progressBarCircularStrokeSize, ");", _ProgressBarCircular.progressBarCircularTokens.backgroundStroke, ":var(", _Loadertokens.tokens.progressBarCircularBackgroundStroke, ");", _ProgressBarCircular.progressBarCircularTokens.progressStroke, ":var(", _Loadertokens.tokens.progressBarCircularStroke, ");", _ProgressBarCircular.progressBarCircularTokens.contentColor, ":var(", _Loadertokens.tokens.progressBarCircularContentColor, ");", _ProgressBarCircular.progressBarCircularTokens.contentFontFamily, ":var(", _Loadertokens.tokens.progressBarCircularContentFontFamily, ");", _ProgressBarCircular.progressBarCircularTokens.contentFontSize, ":var(", _Loadertokens.tokens.progressBarCircularContentFontSize, ");", _ProgressBarCircular.progressBarCircularTokens.contentFontStyle, ":var(", _Loadertokens.tokens.progressBarCircularContentFontStyle, ");", _ProgressBarCircular.progressBarCircularTokens.contentFontWeight, ":var(", _Loadertokens.tokens.progressBarCircularContentFontWeight, ");", _ProgressBarCircular.progressBarCircularTokens.contentLetterSpacing, ":var(", _Loadertokens.tokens.progressBarCircularContentLetterSpacing, ");", _ProgressBarCircular.progressBarCircularTokens.contentLineHeight, ":var(", _Loadertokens.tokens.progressBarCircularContentLineHeight, ");");
const LoaderWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "etkiet82",
    label: "LoaderWrapper"
})("position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;z-index:", ({ zIndex })=>zIndex || 9000, ";");
const StyledOverlay = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "etkiet83",
    label: "StyledOverlay"
})("position:absolute;inset:0;background:var(--plasma_private-overlay-background-color);backdrop-filter:", ({ withBlur })=>withBlur ? 'blur(1rem)' : 'none', ";cursor:", ({ onClick })=>onClick ? 'pointer' : 'default', ";--plasma_private-overlay-background-color:", ({ backgroundColorToken })=>backgroundColorToken, ";");
const LoaderContentWrapper = (0, /*#__PURE__*/ _styled.default)("div", {
    target: "etkiet84",
    label: "LoaderContentWrapper"
})("position:relative;z-index:1;");
