1"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[5774],{61486(e,t,s){s.d(t,{N5:()=>u,Qp:()=>c,Qq:()=>n,p$:()=>l,rN:()=>d});var a=s(1418),r=s(87988),i=s(40693),o=s(81444);function n(e){return{type:o.Q3.NEEDS_LOGGED_IN_LIMIT_REACHED_CHECK,data:e}}function l(e){return e?{type:o.Q3.SET_ADMIN_CONSOLE_USER_MANAGEMENT_TABLE_PROPERTIES,data:e}:{type:o.Q3.CLEAR_ADMIN_CONSOLE_USER_MANAGEMENT_TABLE_PROPERTIES,data:null}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{let o;try{o=await i.mT.getUsersForReporting(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:o}}}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{let o;try{o=await i.mT.getUserCountForReporting(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:o}}}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{try{await i.mT.startUsersBatchExport(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:!0}
1}}},15774(e,t,s){s.r(t),s.d(t,{default:()=>h});var a=s(36418),r=s(37270),i=s(45955),o=s(7430),n=s(14778),l=s(61486),u=s(79751),c=s(20463),d=s(25695),m=s(19408),_=s(81444),p=s(11039),g=s(47551),E=s(35631),I=s(3569),M=s(77440);function f(){return function(){const e=(0,g.A)(),t=(0,r.useDispatch)(),s=(0,n.useIntl)(),[i,o]=(0,p.A)(),f=(0,r.useSelector)(c.ks),h=i?.messages?.history,[y,C]=function(e,t){const s=(0,r.useDispatch)(),i=(0,r.useSelector)(I.WR),o=(0,r.useSelector)((s=>(0,M.Jt)(s,e,t))),n=(0,a.useCallback)((a=>{const r={category:e,name:t,user_id:i,value:a};return s((0,E.SF)(i,[r]))}),[e,s,t,i]);return(0,a.useMemo)((()=>[o,n]),[o,n])}(_.pm.CATEGORY_CLOUD_LIMITS,_.pm.SHOWN_LIMITS_REACHED_ON_LOGIN),{openPricingModal:S,isAirGapped:L}=(0,m.A)();if(o&&e.messages.historyLoaded&&void 0!==h&&f&&"true"!==y){if(e.messages.history>h){C("true");const e={title:(0,n.defineMessage)({id:"workspace_limits.modals.limits_reached.title",defaultMessage:"{limitName} limit reached",values:{limitName:s.formatMessage({id:"workspace_limits.modals.limits_reached.title.message_history",defaultMessage:"Message history"})}}),description:(0,n.defineMessage)({id:"workspace_limits.modals.limits_reached.description.message_history",defaultMessage:"Your sent message history is no longer available but you can still send messages. Upgrade to a paid plan and get unlimited access to your message history."}),secondaryAction:{message:(0,n.defineMessage)({id:"workspace_limits.modals.close",defaultMessage:"Close"}),onClick:()=>{t((0,u.O)(_.IQ.CLOUD_LIMITS))}},onClose:()=>{t((0,u.O)(_.IQ.CLOUD_LIMITS))}};L||(e.primaryAction={message:(0,n.defineMessage)({id:"workspace_limits.modals.view_plan_options",defaultMessage:"View plan options"}),onClick:()=>{t((0,u.O)(_.IQ.CLOUD_LIMITS)),S()}}),t((0,u.q)({modalId:_.IQ.CLOUD_LIMITS,dialogType:d.A,dialogProps:e}))}t((0,l.Qq)(!1))}}(),null}function h(){const e=(0,r.useSelector)(i.I0),t=(0,r.useSelector)(o.J1);return e&&t?a.createElement(f,null):null}}}]); 2//# sourceMappingURL=5774.edd5a6340ebde7cdfbce.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.