"use strict";(self.webpackChunkreact_typescript_webpack=self.webpackChunkreact_typescript_webpack||[]).push([[3491],{73491:(e,t,r)=>{r.d(t,{A:()=>d,a:()=>c});var l=r(39248),i=r(49587),a=r(17437),o=r(2445),n=function(e){return(0,a.AH)("width:100%;border-radius:",l.Vq[6],";background-color:",l.nm.basic.white,";box-shadow:",l.r7.card,";",e&&(0,a.AH)("box-shadow:none;border:1px solid ",l.nm.border.neutral,";;label:wrapper;"),";;label:wrapper;")};const d=function(e){var t=e.children,r=e.hasBorder,l=void 0!==r&&r,i=e.cardStyle;return(0,o.Y)("div",{css:[n(l),i,";label:Card;"],children:t})};var p={wrapper:function(e,t){return(0,a.AH)("padding:",l.YK[16]," ",l.YK[24],";","small"===t&&(0,a.AH)("padding:",l.YK[16],";;label:wrapper;")," display:flex;flex-direction:column;justify-content:center;gap:",l.YK[4],";",!e&&(0,a.AH)("border-bottom:1px solid ",l.nm.surface.neutral.hover,";;label:wrapper;"),";;label:wrapper;")},titleAndAction:{name:"17s6585-titleAndAction",styles:"display:flex;justify-content:space-between;align-items:center;label:titleAndAction;"},subtitle:(0,a.AH)(i.I.body(),";color:",l.nm.text.neutral,";;label:subtitle;"),title:(0,a.AH)(i.I.heading5("medium"),";display:flex;align-items:center;;label:title;")},c=function(e){var t=e.title,r=e.subtitle,l=e.actionTray,i=e.collapsed,a=void 0!==i&&i,n=e.noSeparator,d=void 0!==n&&n,c=e.size,s=void 0===c?"regular":c;return(0,o.FD)("div",{css:p.wrapper(a||d,s),children:[(0,o.FD)("div",{css:p.titleAndAction,children:[(0,o.Y)("h5",{css:p.title,children:t}),l&&(0,o.Y)("div",{children:l})]}),r&&(0,o.Y)("div",{css:p.subtitle,children:r})]})}}}]);