"use strict";(this.webpackChunk_msteams_react_web_client=this.webpackChunk_msteams_react_web_client||[]).push([[867075],{583842:(e,i,n)=>{n.r(i),n.d(i,{CommunitiesSendPostAsEmailDialog:()=>C});var t=n(957032),o=n(513432),r=n(647780),_=n(907888),m=n(109019),a=n(535312),l=n(854005),s=n(516902),c=n(616037),d=n(251596),u=n(566059),h=n(638105);const p=({open:e,content:i,onConfirmClick:n})=>(0,t.Y)(a.l,{modalType:"alert",open:e,children:(0,t.Y)(l.E,{children:(0,t.Y)(s.R,{children:[(0,t.Y)(c.L,{children:i.titleText}),(0,t.Y)(d.C,{children:(0,t.Y)(_.D,{children:[i.mainContentOne,(0,t.Y)("br",{})," ",(0,t.Y)("br",{}),i.mainContentTwo]})}),(0,t.Y)(u.i,{children:(0,t.Y)(h.z,{children:(0,t.Y)(m.$,{appearance:"primary",onClick:n,children:i.confirmText})})})]})})}),C=()=>{const e=(0,r.PO)(),[i,n]=o.useState(!0),_=e.stringTranslate("communities","communities_send_post_via_email_email_limit_error_dialog_header"),m=e.stringTranslate("communities","communities_send_post_via_email_email_limit_error_dialog_content_1"),a=e.stringTranslate("communities","communities_send_post_via_email_email_limit_error_dialog_content_2"),l=e.stringTranslate("communities","communities_send_post_via_email_email_limit_error_dialog_confirm_button");return(0,t.Y)(p,{open:i,content:{titleText:_,mainContentOne:m,mainContentTwo:a,confirmText:l},onConfirmClick:()=>{n(!1)}})}}}]);
//# sourceMappingURL=https://local.teams.office.com/sourcemaps/hashed-assets/communities-send-post-as-email-dialog-e9ea90928a1956df.js.map