Loading
function(e,t,a){var l=a(477900),n=a(582128),i=a(503698),s=a.n(i),r=a(566345),o=a(195118),c=a(208756),d=a(31188),g=a(916845),h=a(627330),u=a(489387);function p(e){let{title:t,body:a,badge:i,graphic:p,size:x="md",actions:m,textLink:j,gradientColor:k,onRequestClose:C,popoverRef:v,position:b,caretConfig:f,scrollBehavior:R,trackTargetPosition:S,...w}=e,y=n.useCallback((e,t)=>{C?.(t)},[C]),q=n.useCallback(()=>{C?.("user:explicit")},[C]),E={targetElementRef:w.targetElementRef,shouldShow:w.shouldShow,hasVideo:w.hasVideo,position:b,caretConfig:f,onRequestClose:y,gradientColor:k,scrollBehavior:R,trackTargetPosition:S,..."edge"===w.alignmentStrategy?{alignmentStrategy:"edge",align:w.align}:{alignmentStrategy:"trigger-center"}};return(0,l.jsx)(o.x,{...E,children:(0,l.jsxs)("div",{ref:v,"data-mana-component":"popover",children:[(0,l.jsx)(g.q,{onClick:q,variant:null!=k?"color-mix":void 0}),null!=p&&(0,l.jsx)("div",{className:s()(u.graphic,{[u[`graphic--${x}`]]:null!=x}),children:(0,l.jsx)(r.v,{...p,aspectRatio:p.aspectRatio??("sm"===x?"2/1":"16/9")})}),(0,l.jsx)(h.D,{title:t,body:a,badge:i,textLink:j}),null!=m&&m.length>0?(0,l.jsx)(c.Z,{actions:m}):null,(0,l.jsx)(d.F,{})]})})}let x=221552==a.j?p:null;a.d(t,{},{A:p,h:x})}