mkA~(@^_^@)~PNG  IHDR Ÿ f Õ†C1 sRGB ®Îé gAMA ± üa pHYs à ÃÇo¨d GIDATx^íÜL”÷ð÷Yçªö("Bh_ò«®¸¢§q5kÖ*:þ0A­ºšÖ¥]VkJ¢M»¶f¸±8\k2íll£1]q®ÙÔ‚ÆT p0 import{_ as i,f as S,e as k,b as c,j as x,D as R}from"./index-DoU2MHKd.js";import{i as C}from"./isHostComponent-BHK9_qiJ.js";import{a as N,u as g,s as h}from"./Typography-CcGLjhMP.js";function H(t,s,e){return t===void 0||C(t)?s:i({},s,{ownerState:i({},s.ownerState,e)})}function j(t,s=[]){if(t===void 0)return{};const e={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&typeof t[n]=="function"&&!s.includes(n)).forEach(n=>{e[n]=t[n]}),e}function w(t,s,e){return typeof t=="function"?t(s,e):t}function E(t){if(t===void 0)return{};const s={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&typeof t[e]=="function")).forEach(e=>{s[e]=t[e]}),s}function O(t){const{getSlotProps:s,additionalProps:e,externalSlotProps:n,externalForwardedProps:o,className:l}=t;if(!s){const y=S(e==null?void 0:e.className,l,o==null?void 0:o.className,n==null?void 0:n.className),P=i({},e==null?void 0:e.style,o==null?void 0:o.style,n==null?void 0:n.style),v=i({},e,o,n);return y.length>0&&(v.className=y),Object.keys(P).length>0&&(v.style=P),{props:v,internalRef:void 0}}const r=j(i({},o,n)),u=E(n),d=E(o),a=s(r),f=S(a==null?void 0:a.className,e==null?void 0:e.className,l,o==null?void 0:o.className,n==null?void 0:n.className),m=i({},a==null?void 0:a.style,e==null?void 0:e.style,o==null?void 0:o.style,n==null?void 0:n.style),p=i({},a,e,d,u);return f.length>0&&(p.className=f),Object.keys(m).length>0&&(p.style=m),{props:p,internalRef:a.ref}}const _=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function D(t){var s;const{elementType:e,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:l=!1}=t,r=k(t,_),u=l?{}:w(n,o),{props:d,internalRef:a}=O(i({},r,{externalSlotProps:u})),f=N(a,u==null?void 0:u.ref,(s=t.additionalProps)==null?void 0:s.ref);return H(e,i({},d,{ref:f}),o)}function F(t){return typeof t=="function"?t():t}const V=c.forwardRef(function(s,e){const{children:n,container:o,disablePortal:l=!1}=s,[r,u]=c.useState(null),d=N(c.isValidElement(n)?n.ref:null,e);if(g(()=>{l||u(F(o)||document.body)},[o,l]),g(()=>{if(r&&!l)return h(e,r),()=>{h(e,null)}},[e,r,l]),l){if(c.isValidElement(n)){const a={ref:d};return c.cloneElement(n,a)}return x.jsx(c.Fragment,{children:n})}return x.jsx(c.Fragment,{children:r&&R.createPortal(n,r)})});export{V as P,H as a,j as e,O as m,w as r,D as u};