text: define(["require","exports","tslib","react","modules/core/i18n","modules/clean/teams/admin/modals/action_utility_modal","modules/clean/teams/admin/modals/modal_ajax","modules/clean/components/modals/show_modal","modules/clean/viewer","modules/clean/loggers/join_flow_logger"],(function(e,t,n,o,i,a,s,d,l,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o=n.__importDefault(o),t.ResendInviteModal=function(e){e.userId;var t=e.email,n=e.onRequestClose,s=void 0===n?function(){}:n,d=e.onPrimaryAction,l=void 0===d?function(){}:d,r=e.onSecondaryAction,u=void 0===r?function(){}:r,c=i.intl.formatMessage({id:"ytXwAd",defaultMessage:"Resend invite to {email}"},{email:t}),m=i.intl.formatMessage({id:"RRq+Xt",defaultMessage:"Resend invite"});return o.default.createElement(a.ActionUtilityModal,{title:c,id:"resend-invite-modal",primaryAction:m,onPrimaryAction:l,onSecondaryAction:u,onRequestClose:s})},t.RESEND_INVITE_URL="/account/team/reinvite_user",t.SUCCESS_NOTIFY=i.intl.formatMessage({id:"K87LId",defaultMessage:"Invite sent."}),t.ResendInviteModalAction=function(e){var o=e.userId,i=e.email,a=n.__rest(e,["userId","email"]);return s.modalAjax({modal:t.ResendInviteModal,ajax:{url:t.RESEND_INVITE_URL,data:{user_id:o,source:r.Source.RESEND_INVITE_MODAL},subject_user:l.Viewer.get_viewer().work_user},notify:{successNotify:t.SUCCESS_NOTIFY}})(n.__assign({userId:o,email:i},a))},t.showResendInviteModal=function(e){return d.showModal(o.default.createElement(t.ResendInviteModalAction,n.__assign({},e)))}}));
  //# sourceMappingURL=resend_invite_modal.min.js-vfllNLpix.map