"use strict";(self.webpackChunk_stlite_desktop=self.webpackChunk_stlite_desktop||[]).push([[7579],{97579:(e,t,r)=>{r.r(t),r.d(t,{default:()=>C});var o=r(5057),s=r(7742),n=r.n(s),i=r(17966),l=r(9847),a=r(31808),d=r(82160),c=r(69194),h=r(70765);const u=(0,d.Z)(h.Q,{shouldForwardProp:c.Z,target:"e1se5lgy2"})((e=>{let{theme:t,usingCustomTheme:r}=e;return{fontSize:t.fontSizes.sm,width:"1.375rem",height:"1.375rem",borderWidth:"3px",radius:t.radii.md,justifyContents:"center",padding:t.spacing.none,margin:t.spacing.none,borderColor:t.colors.borderColor,borderTopColor:r?t.colors.primary:t.colors.blue70,flexGrow:0,flexShrink:0}}),""),g=(0,d.Z)("div",{target:"e1se5lgy1"})((e=>{let{theme:t,width:r,cache:o}=e;return{width:r,...o?{paddingBottom:"1rem",background:`linear-gradient(to bottom, ${t.colors.bgColor} 0%, ${t.colors.bgColor} 80%, transparent 100%)`}:null}}),""),m=(0,d.Z)("div",{target:"e1se5lgy0"})((e=>{let{theme:t}=e;return{display:"flex",gap:t.spacing.sm,alignItems:"center",width:"100%"}}),"");var p=r(96266);const C=function(e){let{width:t,element:r}=e;const{activeTheme:s}=o.useContext(a.E),d=!(0,i.MJ)(s),{cache:c}=r;return(0,p.jsx)(g,{className:n()({stSpinner:!0,stCacheSpinner:c}),"data-testid":"stSpinner",width:t,cache:c,children:(0,p.jsxs)(m,{children:[(0,p.jsx)(u,{usingCustomTheme:d}),(0,p.jsx)(l.ZP,{source:r.text,allowHTML:!1})]})})}}}]);