"use strict";var P=Object.create;var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var j=Object.getPrototypeOf;var x=Object.prototype.hasOwnProperty;var p=(e,t)=>l(e,"name",{value:t,configurable:true});var z=(e,t)=>{for(var s in t)l(e,s,{get:t[s],enumerable:true})};var d=(e,t,s,o)=>{if(t&&typeof t==="object"||typeof t==="function"){for(let r of b(t))if(!x.call(e,r)&&r!==s)l(e,r,{get:()=>t[r],enumerable:!(o=m(t,r))||o.enumerable})}return e};var f=(e,t,s)=>(s=e!=null?P(j(e)):{},d(t||!e||!e.__esModule?l(s,"default",{value:e,enumerable:true}):s,e));var F=e=>d(l({},"__esModule",{value:true}),e);var y=(e,t,s,o)=>{var r=o>1?void 0:o?m(t,s):t;for(var n=e.length-1,i;n>=0;n--)if(i=e[n])r=(o?i(t,s,r):i(r))||r;if(o&&r)l(t,s,r);return r};var W={};z(W,{default:()=>N});module.exports=F(W);var c=require("react/jsx-runtime");var h=f(require("classnames"));var u=require("mobx-react");var g=require("react");var v=f(require("react-jss"));var S=require("react-loader-spinner");var O=require("../../../config");const I=p(()=>({container:{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",height:"inherit"}}),"styles");let a=class extends g.Component{render(){const{classes:t,className:s,size:o=100,color:r=this.props.stores?.settings.app.accentColor,loaded:n=false}=this.props;const i=r??O.DEFAULT_LOADER_COLOR;return(0,c.jsx)("div",{className:(0,h.default)({[t.container]:true,[`${s}`]:s}),"data-type":"franz-loader",children:(0,c.jsx)(S.Oval,{strokeWidth:5,color:i,secondaryColor:i,height:o,width:o,visible:!n})})}};p(a,"LoaderComponent");a=y([(0,u.inject)("stores")],a);var N=(0,v.default)(I,{injectTheme:true})(a);
