text: "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _react=_interopRequireDefault(require("react")),_LoaderBusyWrapper=_interopRequireDefault(require("../_common/LoaderBusyWrapper"));function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}const LoaderBusy=a=>{const b=()=>a.isLoading?" animate":"",c=()=>"medium"===a.size?" medium":"small"===a.size?" small":"",d=()=>/*#__PURE__*/_react.default.createElement("div",{className:"light"===a.setTheme?"app-loader-busy light"+c()+b():"app-loader-busy"+c()+b()},/*#__PURE__*/_react.default.createElement(_LoaderBusyWrapper.default,null));return/*#__PURE__*/_react.default.createElement(_react.default.Fragment,null,"fullscreen"===a.display?(()=>/*#__PURE__*/_react.default.createElement(_react.default.Fragment,null,/*#__PURE__*/_react.default.createElement("div",{className:a.isLoading?"app-dim-overlay show":"app-dim-overlay",style:{backgroundColor:a.backgroundColor}}),/*#__PURE__*/_react.default.createElement("div",{onClick:a.onBackdropPress,className:a.isLoading?"app-loader-busy-fullscreen show":"app-loader-busy-fullscreen"},d(),/*#__PURE__*/_react.default.createElement("span",{className:"light"===a.setTheme?"title text-light":"title"},a.title))))():d())};LoaderBusy.defaultProps={backgroundColor:"var(--color_grey_light_alpha)",isLoading:!0};var _default=LoaderBusy;exports.default=_default;