"use strict";(self.webpackChunk_streamlit_app=self.webpackChunk_streamlit_app||[]).push([[7809],{97809:(e,t,r)=>{r.r(t),r.d(t,{default:()=>x});var n=r(58878),o=r(9887),s=r.n(o),a=r(58144),i=r(34914),l=r(84152),c=r(89653),d=r(74829),h=r(37888);const p=(0,c.A)(h.x,{shouldForwardProp:d.A,target:"e1se5lgy2"})((e=>{let{theme:t,usingCustomTheme:r}=e;return{fontSize:t.fontSizes.sm,width:"1.375rem",height:"1.375rem",borderWidth:"3px",radius:"4px",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}}),""),m=(0,c.A)("div",{target:"e1se5lgy1"})((e=>{let{theme:t,width:r,cache:n}=e;return{width:r,...n?{paddingBottom:"1rem",background:`linear-gradient(to bottom, ${t.colors.bgColor} 0%, ${t.colors.bgColor} 80%, transparent 100%)`}:null}}),""),u=(0,c.A)("div",{target:"e1se5lgy0"})((e=>{let{theme:t}=e;return{display:"flex",gap:t.spacing.sm,alignItems:"center",width:"100%"}}),"");var g=r(90782);const x=function(e){let{width:t,element:r}=e;const{activeTheme:o}=n.useContext(l.n),c=!(0,a.tl)(o),{cache:d}=r;return(0,g.jsx)(m,{className:s()({stSpinner:!0,stCacheSpinner:d}),"data-testid":"stSpinner",width:t,cache:d,children:(0,g.jsxs)(u,{children:[(0,g.jsx)(p,{usingCustomTheme:c}),(0,g.jsx)(i.Ay,{source:r.text,allowHTML:!1})]})})}}}]);