"use strict";(self.webpackChunkreact_typescript_webpack=self.webpackChunkreact_typescript_webpack||[]).push([[9091],{9091:(e,t,a)=>{a.d(t,{A:()=>l});var x=a(50394),W=a(5714),n=a(39248),r=a(49587),i=a(17437),v=a(2445);const l=function(e){var t=e.emptyStateImage,a=e.imageAltText,r=e.imageMaxWidth,n=void 0===r?"272px":r,i=e.imageMaxHeight,l=void 0===i?"272px":i,p=e.title,c=e.content,o=e.buttonText,s=e.action,d=e.messageWrapper,m=e.orientation,h=void 0===m?"horizontal":m,g=e.isDisabledButton,u=void 0!==g&&g,b=e.actionTray;return(0,v.FD)("div",{css:y.bannerWrapper({orientation:h,imageMaxWidth:n,imageMaxHeight:l}),children:[(0,v.Y)("img",{src:t,alt:a}),(0,v.FD)("div",{css:[y.messageWrapper({orientation:h}),d,";label:EmptyState;"],children:[(0,v.Y)(W.A,{when:p,children:function(e){return(0,v.Y)("h5",{css:y.title,children:e})}}),(0,v.Y)(W.A,{when:c,children:function(e){return(0,v.Y)("div",{css:y.content,children:e})}}),b||(0,v.Y)(W.A,{when:o,children:function(e){return(0,v.Y)("div",{css:y.buttonWrapper,children:(0,v.Y)(x.Ay,{variant:x.Ak.primary,onClick:s,disabled:u,children:e})})}})]})]})};var p={name:"1dk76ft-messageWrapper",styles:"text-align:center;label:messageWrapper;"},c={name:"ce9pem-messageWrapper",styles:"max-width:364px;label:messageWrapper;"},y={bannerWrapper:function(e){var t=e.orientation,a=e.imageMaxWidth,r=e.imageMaxHeight;return(0,i.AH)("display:grid;place-items:center;justify-content:center;","horizontal"===t&&(0,i.AH)("grid-template-columns:278px auto;gap:",n.YK[56],";justify-content:start;;label:bannerWrapper;")," & img{max-width:",a,";max-height:",r,";width:100%;};label:bannerWrapper;")},messageWrapper:function(e){var t=e.orientation;return(0,i.AH)("display:flex;flex-direction:column;max-width:432px;gap:",n.YK[8],";","horizontal"===t&&c," ","vertical"===t&&p,";;label:messageWrapper;")},title:(0,i.AH)(r.I.heading5(),";;label:title;"),content:(0,i.AH)(r.I.body(),";color:",n.nm.text.neutral,";;label:content;"),buttonWrapper:(0,i.AH)("margin-top:",n.YK[32],";;label:buttonWrapper;")}}}]);